/* ==========================================================================
   Airchain — marketing landing for the FM airchain-emulation plugin
   (VST3 / AU / standalone, macOS; sold on Gumroad). Follows the SubPress
   landing system (subpress.css) re-skinned to the plugin's own black/amber
   broadcast palette, + a STATIC recreation of the hero plugin GUI (SVG knobs,
   no React, no build step). Standalone product page; no platform tokens.
   ========================================================================== */

.ac-lp *, .ac-lp *::before, .ac-lp *::after { box-sizing: border-box; }
.ac-lp {
  --bg: #0c0c0d;
  --bg-2: #101012;
  --panel: #131316;
  --card: #18181b;
  --inset: #09090a;
  --border: #232327;
  --border-lt: #333338;
  --hi: #f2f3f5;
  --mid: #9c9fa6;
  --lo: #63666d;
  --dim: #3b3e44;
  --amber: #dfa63f;
  --amber-deep: #b8842c;
  --tan: #c9a35c;
  --green: #5fbf7a;
  --red: #e85a5a;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --sans: "Inter", -apple-system, system-ui, sans-serif;

  font-family: var(--sans);
  color: var(--hi);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
}
html, body { margin: 0; padding: 0; background: #0c0c0d; }

.ac-lp a { color: inherit; text-decoration: none; }
.ac-lp h1, .ac-lp h2, .ac-lp h3, .ac-lp p { margin: 0; }
.ac-lp section { position: relative; }

.ac-wrap { max-width: 1180px; margin: 0 auto; padding: 0 28px; }

.ac-lp::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.035) 1px, transparent 0);
  background-size: 32px 32px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 40%, transparent 90%);
  mask-image: linear-gradient(180deg, #000 0%, #000 40%, transparent 90%);
}

.ac-eyebrow {
  font-family: var(--mono); font-size: 12px; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--amber); font-weight: 500;
  display: inline-flex; align-items: center; gap: 10px;
}
.ac-eyebrow::before { content: ""; width: 24px; height: 1px; background: var(--amber); opacity: 0.6; }
.ac-eyebrow-center { justify-content: center; }
.ac-eyebrow-center::before { display: none; }
.ac-section-num { font-family: var(--mono); font-size: 13px; letter-spacing: 2px; color: var(--lo); font-weight: 500; }

/* ───────────── HERO ───────────── */
.ac-hero { padding: 90px 0 70px; text-align: center; position: relative; z-index: 1; }
.ac-hero h1 {
  font-size: clamp(40px, 6.4vw, 78px); font-weight: 900; letter-spacing: -2px;
  line-height: 1.05; margin: 26px auto 0; max-width: 18ch; text-wrap: balance;
}
.ac-hero h1 .onair {
  color: var(--amber);
  text-shadow: 0 0 34px rgba(223,166,63,0.45);
}
.ac-hero-sub { font-size: clamp(16px, 1.7vw, 19px); color: var(--mid); line-height: 1.6; max-width: 62ch; margin: 26px auto 0; text-wrap: pretty; }
.ac-hero-sub b { color: var(--amber); font-family: var(--mono); font-weight: 700; letter-spacing: 1px; }
.ac-cta-row { display: flex; gap: 14px; justify-content: center; margin-top: 36px; flex-wrap: wrap; }
.ac-btn {
  display: inline-flex; align-items: center; gap: 10px; white-space: nowrap;
  font-size: 15px; font-weight: 700; padding: 14px 26px; border-radius: 10px;
  cursor: pointer; transition: transform 0.12s, box-shadow 0.16s, background 0.16s; border: 1px solid transparent;
}
.ac-btn-primary { background: var(--amber); color: #1c1305; box-shadow: 0 4px 22px rgba(223,166,63,0.34); }
.ac-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(223,166,63,0.5); }
.ac-btn-primary .price { font-family: var(--mono); font-weight: 600; opacity: 0.78; }
.ac-btn-ghost { background: rgba(255,255,255,0.03); color: var(--hi); border: 1px solid var(--border-lt); }
.ac-btn-ghost:hover { background: rgba(255,255,255,0.07); transform: translateY(-2px); }
.ac-hero-meta { margin-top: 22px; font-family: var(--mono); font-size: 12.5px; color: var(--lo); letter-spacing: 0.5px; display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.ac-hero-meta span { display: inline-flex; align-items: center; gap: 7px; }
.ac-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 8px var(--amber); }
.ac-dot.green { background: var(--green); box-shadow: 0 0 8px var(--green); }
.ac-dot.white { background: var(--hi); box-shadow: 0 0 8px rgba(242,243,245,0.7); }

.ac-stage-outer { margin-top: 60px; position: relative; }
.ac-stage-glow {
  position: absolute; left: 50%; top: 46%; transform: translate(-50%,-50%);
  width: 70%; height: 76%; pointer-events: none; z-index: 0;
  background: radial-gradient(ellipse at center, rgba(223,166,63,0.16), rgba(95,191,122,0.06) 45%, transparent 70%);
  filter: blur(36px);
}
.ac-plugin-frame {
  position: relative; z-index: 1; display: inline-block;
  padding: 16px; border-radius: 16px;
  background: linear-gradient(180deg, #141417, #0d0d0f);
  border: 1px solid var(--border);
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.8), inset 0 1px 0 rgba(255,255,255,0.04);
}
.ac-stage { width: 100%; max-width: 880px; margin: 0 auto; overflow: hidden; }
.ac-scale { width: 880px; transform-origin: top left; }
.ac-try-hint { font-family: var(--mono); font-size: 12px; color: var(--lo); margin-top: 18px; letter-spacing: 0.5px; display: inline-flex; align-items: center; gap: 8px; }
.ac-try-hint .pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--amber); animation: ac-pulse 1.8s ease-in-out infinite; }
@keyframes ac-pulse { 0%,100%{ opacity: 0.3; transform: scale(0.8);} 50%{ opacity: 1; transform: scale(1.2);} }

/* ───────────── SECTION SHELL ───────────── */
.ac-block { padding: 96px 0; position: relative; z-index: 1; }
.ac-block-head { max-width: 720px; }
.ac-block-head .ac-section-num { display: block; margin-bottom: 18px; }
.ac-block h2 { font-size: clamp(28px, 3.6vw, 44px); font-weight: 800; letter-spacing: -1px; line-height: 1.08; margin-top: 14px; text-wrap: balance; }
.ac-block-head p { color: var(--mid); font-size: 17px; margin-top: 18px; line-height: 1.6; text-wrap: pretty; }
.ac-divider { height: 1px; background: var(--border); opacity: 0.6; }

/* ───────────── THE CHAIN ───────────── */
.ac-chain { margin-top: 56px; display: flex; align-items: stretch; gap: 10px; flex-wrap: wrap; }
.ac-stagecard {
  flex: 1 1 150px; min-width: 150px; background: var(--card);
  border: 1px solid var(--border); border-top: 2px solid var(--border-lt);
  border-radius: 12px; padding: 18px 16px;
}
.ac-stagecard.hot { border-top-color: var(--amber); box-shadow: 0 12px 34px -22px rgba(223,166,63,0.55); }
.ac-stagecard .tag { font-family: var(--mono); font-size: 10.5px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--lo); margin-bottom: 8px; }
.ac-stagecard .name { font-size: 15.5px; font-weight: 700; letter-spacing: -0.2px; }
.ac-stagecard.hot .name { color: var(--amber); }
.ac-stagecard p { font-size: 12.5px; color: var(--mid); margin-top: 7px; line-height: 1.5; }
.ac-chain-arrow { align-self: center; color: var(--amber); opacity: 0.55; font-size: 16px; flex: none; }
.ac-chain-foot { margin-top: 28px; font-family: var(--mono); font-size: 13.5px; color: var(--mid); line-height: 1.6; }
.ac-chain-foot b { color: var(--amber); font-weight: 600; }

/* ───────────── FEATURES ───────────── */
.ac-feat-grid { margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ac-feat { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 26px 24px; transition: transform 0.18s, border-color 0.18s, box-shadow 0.18s; }
.ac-feat:hover { transform: translateY(-3px); border-color: var(--border-lt); box-shadow: 0 18px 40px -24px rgba(0,0,0,0.8); }
.ac-feat-ico { width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center; background: var(--inset); border: 1px solid var(--border); margin-bottom: 18px; }
.ac-feat h3 { font-size: 17.5px; font-weight: 700; letter-spacing: -0.3px; }
.ac-feat p { font-size: 14px; color: var(--mid); margin-top: 10px; line-height: 1.58; }
.ac-feat .meta { font-family: var(--mono); font-size: 11.5px; color: var(--lo); margin-top: 14px; letter-spacing: 0.5px; }

/* ───────────── PRESETS & USES ───────────── */
.ac-preset-grid { margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ac-preset-col { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 26px 24px; }
.ac-preset-col h3 { font-family: var(--mono); font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--amber); font-weight: 600; }
.ac-preset-col p { font-size: 13.5px; color: var(--mid); margin-top: 12px; line-height: 1.55; }
.ac-preset-col .chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.ac-preset-col .chips span {
  font-family: var(--mono); font-size: 12px; padding: 6px 12px; border-radius: 20px;
  background: var(--inset); border: 1px solid var(--border); color: var(--hi);
}
.ac-uses { margin-top: 20px; background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 26px 24px; }
.ac-uses-hd { font-family: var(--mono); font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--lo); font-weight: 600; margin-bottom: 14px; }
.ac-uses ul { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 28px; }
.ac-uses li { font-size: 14px; color: var(--mid); line-height: 1.55; padding-left: 18px; position: relative; }
.ac-uses li::before { content: "▸"; position: absolute; left: 0; color: var(--amber); }
.ac-uses li b { color: var(--hi); font-weight: 600; }

/* ───────────── PRICING ───────────── */
.ac-price-wrap { margin-top: 52px; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 28px; align-items: stretch; }
.ac-price-card { background: linear-gradient(180deg, #1a1a1e, #131315); border: 1px solid var(--border-lt); border-radius: 18px; padding: 38px 36px; position: relative; overflow: hidden; }
.ac-price-card::after { content: ""; position: absolute; top: -40%; right: -20%; width: 60%; height: 120%; background: radial-gradient(ellipse, rgba(223,166,63,0.13), transparent 70%); pointer-events: none; }
.ac-price-badge { font-family: var(--mono); font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--amber); background: rgba(223,166,63,0.1); border: 1px solid rgba(223,166,63,0.3); padding: 5px 11px; border-radius: 20px; display: inline-block; }
.ac-price-amount { display: flex; align-items: baseline; gap: 10px; margin: 22px 0 6px; }
.ac-price-amount .num { font-size: 64px; font-weight: 900; letter-spacing: -3px; }
.ac-price-amount .cur { font-size: 28px; font-weight: 700; color: var(--mid); }
.ac-price-amount .per { font-family: var(--mono); font-size: 13px; color: var(--lo); margin-left: 4px; }
.ac-price-card .lead { color: var(--mid); font-size: 15px; margin-bottom: 26px; }
.ac-price-card .lead b { color: var(--hi); }
.ac-price-list { display: flex; flex-direction: column; gap: 14px; margin-bottom: 30px; padding: 0; margin-top: 0; }
.ac-price-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; color: var(--hi); list-style: none; }
.ac-check { flex: none; width: 20px; height: 20px; border-radius: 6px; background: rgba(95,191,122,0.14); display: grid; place-items: center; margin-top: 1px; }
.ac-price-aside { display: flex; flex-direction: column; gap: 16px; }
.ac-aside-card { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 24px; flex: 1; display: flex; flex-direction: column; justify-content: center; }
.ac-aside-card .ac-eyebrow { color: var(--mid); font-size: 11px; }
.ac-aside-card .ac-eyebrow::before { background: var(--mid); }
.ac-aside-card p { color: var(--mid); font-size: 14px; margin-top: 12px; line-height: 1.55; }
.ac-aside-card .formats { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.ac-fmt { font-family: var(--mono); font-size: 12px; padding: 6px 12px; border-radius: 7px; background: var(--inset); border: 1px solid var(--border); color: var(--hi); }
.ac-btn-block { width: 100%; justify-content: center; }

/* ───────────── FAQ ───────────── */
.ac-faq { margin-top: 48px; max-width: 820px; }
.ac-faq details { border-bottom: 1px solid var(--border); padding: 4px 0; }
.ac-faq summary { list-style: none; cursor: pointer; padding: 22px 4px; display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 18px; font-weight: 600; letter-spacing: -0.2px; }
.ac-faq summary::-webkit-details-marker { display: none; }
.ac-faq summary .plus { flex: none; width: 24px; height: 24px; position: relative; transition: transform 0.2s; color: var(--amber); }
.ac-faq summary .plus::before, .ac-faq summary .plus::after { content: ""; position: absolute; background: currentColor; border-radius: 2px; }
.ac-faq summary .plus::before { left: 4px; right: 4px; top: 11px; height: 2px; }
.ac-faq summary .plus::after { top: 4px; bottom: 4px; left: 11px; width: 2px; transition: opacity 0.2s; }
.ac-faq details[open] summary .plus::after { opacity: 0; }
.ac-faq details[open] summary .plus { color: var(--mid); }
.ac-faq .answer { padding: 0 4px 24px; color: var(--mid); font-size: 15.5px; line-height: 1.65; max-width: 70ch; }

/* ───────────── FINAL CTA ───────────── */
.ac-final { margin: 40px 0 0; padding: 72px 40px; text-align: center; background: linear-gradient(180deg, #17171a, #101012); border: 1px solid var(--border); border-radius: 22px; position: relative; overflow: hidden; }
.ac-final::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 0%, rgba(223,166,63,0.15), transparent 60%); pointer-events: none; }
.ac-final h2 { font-size: clamp(30px, 4vw, 50px); font-weight: 900; letter-spacing: -1.5px; position: relative; }
.ac-final p { color: var(--mid); font-size: 17px; margin-top: 16px; position: relative; }

/* ───────────── FOOTER ───────────── */
.ac-footer { border-top: 1px solid var(--border); padding: 48px 0 56px; position: relative; z-index: 1; margin-top: 96px; }
.ac-footer-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; flex-wrap: wrap; }
.ac-logo { display: flex; align-items: center; gap: 11px; font-weight: 800; font-size: 18px; letter-spacing: 0.2px; }
.ac-logo-mark {
  width: 30px; height: 30px; border-radius: 7px;
  background: linear-gradient(135deg, var(--amber), var(--amber-deep));
  display: grid; place-items: center; color: #1c1305; font-weight: 900; font-size: 15px;
  box-shadow: 0 4px 16px rgba(223,166,63,0.3);
}
.ac-footer-brand { max-width: 320px; }
.ac-footer-brand p { color: var(--lo); font-size: 13.5px; margin-top: 14px; line-height: 1.6; }
.ac-footer-links { display: flex; gap: 56px; flex-wrap: wrap; }
.ac-footer-col h4 { font-family: var(--mono); font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--lo); margin: 0 0 16px; font-weight: 500; }
.ac-footer-col a { display: block; color: var(--mid); font-size: 14px; margin-bottom: 11px; transition: color 0.15s; }
.ac-footer-col a:hover { color: var(--amber); }
.ac-footer-bottom { margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-family: var(--mono); font-size: 12px; color: var(--dim); letter-spacing: 0.4px; }

/* ══════════════════════════════════════════════════════════════
   STATIC HERO PLUGIN PANEL — recreation of the Airchain GUI at the
   "1990s CHR Loudness War" preset. Fixed 880×520 internal layout
   (scaled to fit by airchain.js).
   ══════════════════════════════════════════════════════════════ */
.ac-plugin {
  width: 880px; height: 520px; background: #0e0e10;
  border-radius: 6px; padding: 0; box-shadow: 0 0 0 1px var(--border);
  display: flex; flex-direction: column; text-align: left;
}
.ac-pl-title { display: flex; align-items: center; gap: 16px; height: 54px; padding: 0 18px; border-bottom: 1px solid var(--border); }
.ac-pl-name { font-size: 19px; font-weight: 800; letter-spacing: 3px; color: var(--hi); }
.ac-pl-preset {
  margin: 0 auto; display: inline-flex; align-items: center; gap: 10px;
  background: #17171a; border: 1px solid var(--border-lt); border-radius: 8px;
  padding: 8px 16px; font-size: 13.5px; font-weight: 600; color: var(--hi);
}
.ac-pl-preset i { font-style: normal; color: var(--amber); font-size: 11px; }
.ac-pl-brand { font-size: 12px; color: var(--lo); }
.ac-pl-help { width: 28px; height: 28px; border-radius: 6px; background: #1b1b1e; border: 1px solid var(--border-lt); display: grid; place-items: center; font-size: 13px; font-weight: 700; color: var(--mid); }

.ac-pl-body { flex: 1; display: grid; grid-template-columns: 205px 1fr 225px; gap: 12px; padding: 14px; min-height: 0; }
.ac-panel {
  background: #121214; border: 1px solid var(--border); border-radius: 8px;
  padding: 12px 14px; display: flex; flex-direction: column; align-items: center; gap: 9px;
}
.ac-panel-hd { align-self: flex-start; font-family: var(--mono); font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--lo); font-weight: 600; }
.ac-panel-hd.center { align-self: center; color: var(--mid); }

.ac-knob { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.ac-kv { font-family: var(--mono); font-size: 11px; color: var(--hi); border: 1px solid var(--border-lt); border-radius: 3px; padding: 1px 8px; white-space: nowrap; }
.ac-kl { font-size: 9px; letter-spacing: 1.3px; text-transform: uppercase; color: var(--lo); font-weight: 600; }

.ac-pill {
  display: inline-flex; align-items: center; justify-content: center;
  width: 82%; padding: 7px 0; border-radius: 5px; font-size: 11px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  background: #1b1b1e; color: var(--mid); border: 1px solid var(--border-lt);
}
.ac-pill.on { background: var(--tan); color: #171004; border-color: var(--tan); }
.ac-pill.wide { width: 92%; }

.ac-seg { display: flex; gap: 5px; width: 92%; }
.ac-seg span {
  flex: 1; text-align: center; padding: 8px 0; border-radius: 5px;
  font-size: 10.5px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  background: #1b1b1e; color: var(--mid); border: 1px solid var(--border);
}
.ac-seg span.on { background: var(--tan); color: #171004; border-color: var(--tan); }

.ac-squash-val { font-size: 26px; font-weight: 700; color: var(--hi); letter-spacing: 0.5px; margin-top: -4px; }
/* four-band GR meters: green fill drops from the top of a dark track (more
   squash = more gain reduction), band label below — as in the real GUI */
.ac-bands { display: flex; gap: 8px; width: 84%; justify-content: center; }
.ac-band { flex: 1; min-width: 0; }
.ac-band .trk { display: block; height: 52px; background: #0a0a0b; border-radius: 2px; overflow: hidden; }
.ac-band .trk i { display: block; width: 100%; background: linear-gradient(180deg, #6cc584, #4da368); border-radius: 2px 2px 0 0; }
.ac-band > span:last-child { display: block; text-align: center; font-family: var(--mono); font-size: 9.5px; color: var(--lo); letter-spacing: 1px; margin-top: 5px; }

.ac-tx-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px; justify-items: center; }
.ac-outmeters { width: 92%; display: flex; flex-direction: column; gap: 6px; margin-top: 4px; }
.ac-outmeters > span { display: block; height: 9px; background: #0a0a0b; border-radius: 2px; overflow: hidden; }
.ac-outmeters > span i { display: block; height: 100%; background: linear-gradient(90deg, var(--amber-deep), var(--tan)); border-radius: 2px; }

/* ───────────── RESPONSIVE ───────────── */
@media (max-width: 920px) {
  .ac-feat-grid, .ac-preset-grid { grid-template-columns: repeat(2, 1fr); }
  .ac-price-wrap { grid-template-columns: 1fr; }
  .ac-uses ul { grid-template-columns: 1fr; }
  .ac-chain-arrow { display: none; }
}
@media (max-width: 560px) {
  .ac-feat-grid, .ac-preset-grid { grid-template-columns: 1fr; }
  .ac-wrap { padding: 0 18px; }
  .ac-hero { padding: 48px 0 36px; }
  .ac-hero h1 { letter-spacing: -1px; }
  .ac-block { padding: 60px 0; }
  .ac-cta-row { flex-direction: column; align-items: stretch; }
  .ac-cta-row .ac-btn { justify-content: center; }
  .ac-hero-meta { gap: 14px; }
  .ac-plugin-frame { padding: 8px; border-radius: 12px; }
  .ac-stage-outer { margin-top: 44px; }
  .ac-price-card { padding: 28px 22px; }
  .ac-price-amount .num { font-size: 52px; }
  .ac-aside-card { padding: 20px; }
  .ac-faq summary { font-size: 16px; padding: 18px 2px; }
  .ac-final { padding: 48px 22px; border-radius: 16px; }
  .ac-footer { padding: 40px 0 44px; margin-top: 64px; }
  .ac-footer-links { gap: 36px; }
  .ac-footer-bottom { flex-direction: column; gap: 8px; }
  .ac-block-head .ac-section-num { margin-bottom: 12px; }
}
@media (max-width: 380px) { .ac-hero h1 { font-size: 36px; } }
