/* PHENOMSOUND / REESONANCE
   Dark, glassy, precise. The plugin's three resonance colours are the only accents. */
:root {
  --bg:       #1b1c1e;   /* page */
  --bg-2:     #222326;   /* raised */
  --bone:     #eeeae4;   /* text */
  --ash:      #9e988f;   /* secondary text */
  --hair:     rgba(238, 234, 228, .09);   /* 1px borders */
  --hair-2:   rgba(238, 234, 228, .16);
  --glass:    rgba(34, 35, 38, .55);
  --teal:     #2fe0b8;
  --cyan:     #10d2d6;   /* PHENOMSOUND mark */
  --magenta:  #d62bd1;
  --yellow:   #e9c31c;
  --ink-on-teal: #052019;
  --tri: linear-gradient(90deg, var(--teal), var(--magenta) 50%, var(--yellow));

  --display: "Sora", system-ui, sans-serif;
  --body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.3rem;
  --step-2: 1.65rem;
  --step-3: clamp(1.9rem, 3.4vw, 2.6rem);
  --step-4: clamp(2.6rem, 6vw, 3.4rem);

  --gutter: clamp(1.25rem, 4vw, 3rem);
  --max: 74rem;
  --r-lg: 26px;
  --r-md: 18px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 6rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--bone);
  font-family: var(--body);
  font-size: var(--step-0);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* film grain over everything: keeps large dark areas from looking flat */
body::after {
  content: "";
  position: fixed; inset: 0; z-index: 50; pointer-events: none;
  opacity: .05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-underline-offset: .2em; }
a:hover { color: #7ff0d4; }
code { font-size: .9em; background: rgba(238,234,228,.07); padding: .1em .4em; border-radius: 6px; }
:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 1rem; top: 1rem; background: var(--bone); color: var(--bg); padding: .5rem 1rem; z-index: 100; }

h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.1; margin: 0; letter-spacing: -0.02em; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); letter-spacing: -0.01em; }
p { margin: 0; }

/* ---------- surfaces ---------- */
.glass {
  background: var(--glass);
  border: 1px solid var(--hair);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
          backdrop-filter: blur(18px) saturate(140%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 20px 50px -30px rgba(0,0,0,.8);
}

/* luminous 1px gradient border in the three resonance colours */
.frame {
  position: relative;
  border-radius: var(--r-lg);
  background: var(--bg-2);
  isolation: isolate;
}
.frame::before {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  border-radius: inherit; padding: 1px;
  background: linear-gradient(135deg, rgba(47,224,184,.9), rgba(214,43,209,.55) 45%, rgba(233,195,28,.8));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.hero-media.frame::after { /* soft glow behind the video/screenshot */
  content: ""; position: absolute; inset: 8% 6% -6%; z-index: -1; border-radius: inherit;
  background: radial-gradient(60% 60% at 25% 50%, rgba(47,224,184,.28), transparent 70%),
              radial-gradient(60% 60% at 75% 50%, rgba(214,43,209,.24), transparent 70%);
  filter: blur(40px);
}

/* cards with a light that follows the cursor (set by main.js) */
.card {
  position: relative;
  border-radius: var(--r-md);
  padding: clamp(1.4rem, 3vw, 2rem);
  /* same frosted glass as the .glass panels ("Hear it with your eyes") */
  background: var(--glass);
  border: 1px solid var(--hair);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
          backdrop-filter: blur(18px) saturate(140%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 20px 50px -30px rgba(0,0,0,.8);
  overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: -1px; pointer-events: none; border-radius: inherit;
  opacity: 0; transition: opacity .3s;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), var(--spot, rgba(47,224,184,.13)), transparent 60%);
}
.card:hover::before { opacity: 1; }
.card > * { position: relative; }
.card h3 { margin-bottom: .55rem; }
.card p { color: var(--ash); max-width: 40ch; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .35em;
  min-height: 3rem; padding: .7rem 1.5rem;
  font: 600 var(--step-0)/1 var(--body);
  border-radius: 999px; border: 1px solid transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s, box-shadow .2s, transform .2s;
}
.btn-buy {
  background: var(--teal); color: var(--ink-on-teal);
  box-shadow: 0 0 0 0 rgba(47,224,184,0), 0 8px 30px -10px rgba(47,224,184,.7);
}
.btn-buy:hover { background: #63f0cf; color: var(--ink-on-teal); box-shadow: 0 0 0 4px rgba(47,224,184,.15), 0 10px 40px -10px rgba(47,224,184,.9); }
.btn-ghost { background: rgba(238,234,228,.04); color: var(--bone); border-color: var(--hair-2); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.btn-ghost:hover { border-color: rgba(238,234,228,.45); background: rgba(238,234,228,.08); color: var(--bone); }
.btn-sm { min-height: 2.4rem; padding: .5rem 1.05rem; font-size: var(--step--1); }
.btn[aria-disabled="true"] { opacity: .4; cursor: not-allowed; }
.btn:active { transform: translateY(1px); }
.cta-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.fineprint { color: var(--ash); font-size: var(--step--1); }

/* ---------- floating nav ---------- */
.nav-wrap {
  position: sticky; top: 0; z-index: 40;
  padding: .9rem var(--gutter) 0;
}
.nav {
  max-width: var(--max); margin: 0 auto;
  display: flex; align-items: center; gap: 1rem;
  padding: .45rem .5rem .45rem 1rem;
  border-radius: 999px;
}
.brand { display: inline-flex; align-items: center; gap: .6rem; color: var(--bone); text-decoration: none; font-family: var(--display); font-weight: 600; font-size: .9rem; letter-spacing: .06em; }
.brand img { width: 28px; height: 28px; }
.nav-links { display: flex; gap: clamp(.9rem, 2vw, 1.75rem); margin-left: auto; margin-right: .75rem; }
.nav-links a { color: var(--ash); text-decoration: none; font-weight: 500; font-size: var(--step--1); }
.nav-links a:hover { color: var(--bone); }

/* ---------- marble (marble.js): fixed behind the whole page, content scrolls over it ---------- */
.marble {
  position: fixed; inset: 0;
  width: 100%; height: 100vh; height: 100lvh;
  z-index: -1; pointer-events: none;
  opacity: 0; transition: opacity 1.4s ease;
}
.marble.is-ready { opacity: .34; }
@media (prefers-reduced-motion: reduce) { .marble { transition: none; } }

/* ---------- hero ---------- */
.hero {
  max-width: var(--max); margin: 0 auto;
  padding: clamp(3rem, 8vw, 6.5rem) var(--gutter) 0;
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
}
.hero-logo { width: min(100%, 980px); margin: 0 auto; }
.hero-logo img { width: 100%; height: auto; filter: drop-shadow(0 10px 40px rgba(0,0,0,.45)); }
.lede { font-size: var(--step-1); line-height: 1.45; max-width: 36ch; margin: clamp(1.5rem, 3vw, 2.25rem) auto 2rem; color: var(--bone); }
.hero .cta-row { justify-content: center; }
.hero .fineprint { margin-top: 1rem; }

.hero-media {
  width: 100%;
  margin-top: clamp(3rem, 7vw, 5rem);
}
.hero-media > img, .hero-media > video, .hero-media > iframe { display: block; width: 100%; height: auto; border: 0; border-radius: var(--r-lg); position: relative; z-index: 1; }
.hero-media > video, .hero-media > iframe { aspect-ratio: 16 / 9; object-fit: cover; }
.media-btn {
  position: absolute; right: 1rem; bottom: 1rem; z-index: 3;
  display: inline-flex; align-items: center; gap: .5rem;
  min-height: 2.75rem; padding: .55rem 1rem;
  background: rgba(21, 20, 19, .7); color: var(--bone);
  border: 1px solid var(--hair-2); border-radius: 999px;
  font: 600 var(--step--1)/1 var(--body); cursor: pointer;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.media-btn:hover { border-color: var(--bone); }
.media-btn svg { width: 1.1rem; height: 1.1rem; }
.play-overlay {
  position: absolute; inset: 0; z-index: 3; display: grid; place-items: center;
  background: linear-gradient(0deg, rgba(21,20,19,.55), rgba(21,20,19,.1));
  border: 0; border-radius: var(--r-lg); cursor: pointer; color: var(--ink-on-teal);
}
.play-overlay span { display: inline-flex; align-items: center; gap: .6rem; background: var(--teal); padding: .9rem 1.4rem; border-radius: 999px; font: 600 var(--step-0)/1 var(--body); }
.play-overlay:hover span { background: #63f0cf; }

/* ---------- section scaffolding ---------- */
.spectrum-panel, .inside, .price, .faq {
  max-width: var(--max);
  margin: clamp(5rem, 10vw, 8rem) auto 0;
}
.inside, .price, .faq { padding: 0 var(--gutter); }
.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head p { color: var(--ash); margin-top: 1rem; }

/* ---------- spectrum panel ---------- */
.spectrum-panel {
  width: calc(100% - 2 * var(--gutter));
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 4vw, 2.75rem);
}
.panel-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 1rem 3rem; align-items: end; }
.panel-head p { color: var(--ash); max-width: 52ch; }
.spectrum { margin: 2rem 0 0; }
#spectrum { width: 100%; height: clamp(170px, 24vw, 300px); display: block; overflow: visible; }
#spectrum .grid line { stroke: var(--hair); stroke-width: 1; vector-effect: non-scaling-stroke; }
#spectrum .grid text { fill: #6f6a64; font: 500 11px var(--body); }
.curve { fill: none; stroke-width: 2.2; vector-effect: non-scaling-stroke; filter: url(#glow); mix-blend-mode: screen; transition: d .45s cubic-bezier(.3,.7,.2,1); }
.curve.c1 { stroke: var(--teal); } .curve.c2 { stroke: var(--magenta); } .curve.c3 { stroke: var(--yellow); }
@media (prefers-reduced-motion: reduce) { .curve { transition: none; } }
.spectrum-controls { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; margin-top: 1.25rem; }
.notes { display: flex; flex-wrap: wrap; gap: .35rem; padding: .3rem; border-radius: 14px; background: rgba(0,0,0,.25); border: 1px solid var(--hair); }
.notes button {
  min-width: 2.6rem; height: 2.3rem; padding: 0 .55rem;
  background: transparent; color: var(--ash);
  border: 0; border-radius: 10px;
  font: 600 var(--step--1)/1 var(--body); cursor: pointer;
  transition: background-color .15s, color .15s;
}
.notes button:hover { color: var(--bone); background: rgba(238,234,228,.06); }
.notes button[aria-checked="true"] { background: var(--bone); color: var(--bg); }
.intervals { color: var(--ash); font-size: var(--step--1); display: inline-flex; align-items: center; gap: .35rem; margin-left: auto; }
.dot { width: .6rem; height: .6rem; border-radius: 50%; display: inline-block; margin-left: .4rem; box-shadow: 0 0 10px currentColor; }
.dot.t { background: var(--teal); color: var(--teal); } .dot.p { background: var(--magenta); color: var(--magenta); } .dot.y { background: var(--yellow); color: var(--yellow); }

/* ---------- bento: a tour of the plugin, one card per section of the UI ---------- */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 1rem; }
.bento .res { grid-column: span 4; }
.bento .fx { grid-column: span 3; }
.bento-label {
  grid-column: 1 / -1;
  margin: 2rem 0 .25rem;
  font: 600 var(--step-0)/1.2 var(--body); color: var(--ash); letter-spacing: 0;
}
.tour { display: flex; flex-direction: column; padding: .75rem .75rem 1.4rem; }
.tour h3, .tour p { padding: 0 .75rem; }
.tour h3 { margin-top: 1.1rem; }
.tour .shot {
  border-radius: 12px;
  background: #1b1c1e;           /* the plugin's own panel colour */
  border: 1px solid var(--hair);
  display: grid; place-items: center;
  overflow: hidden;
}
.tour .shot img { width: auto; max-width: 100%; height: auto; }
.res .shot img { width: 100%; }
.fx .shot { height: 210px; padding: .7rem; }
.fx .shot img { height: 100%; width: auto; max-width: 100%; object-fit: contain; }
.fx .shot { display: flex; align-items: center; justify-content: center; }
.res-t { --spot: rgba(47,224,184,.16); border-top-color: rgba(47,224,184,.45); } .res-t h3 { color: var(--teal); }
.res-p { --spot: rgba(214,43,209,.16); border-top-color: rgba(214,43,209,.45); } .res-p h3 { color: var(--magenta); }
.res-y { --spot: rgba(233,195,28,.14); border-top-color: rgba(233,195,28,.45); } .res-y h3 { color: var(--yellow); }

/* ---------- dry / wet player ---------- */
.ab {
  max-width: var(--max);
  width: calc(100% - 2 * var(--gutter));
  margin: clamp(5rem, 10vw, 8rem) auto 0;
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 4vw, 2.75rem);
}
.ab-body { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: clamp(1.25rem, 3vw, 2.5rem); margin-top: 2rem; align-items: start; }
.ab-now { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.ab-play {
  position: relative; flex: none;
  width: 3.5rem; height: 3.5rem; border-radius: 50%;
  border: 0; cursor: pointer;
  background: var(--teal); color: var(--ink-on-teal);
  display: grid; place-items: center;
  box-shadow: 0 8px 30px -10px rgba(47,224,184,.8);
  transition: background-color .2s, transform .15s;
}
.ab-play:hover { background: #63f0cf; }
.ab-play:active { transform: scale(.96); }
.ab-play svg { width: 1.4rem; height: 1.4rem; fill: currentColor; grid-area: 1 / 1; }
.ab-play .i-pause, .ab-play.is-playing .i-play { display: none; }
.ab-play.is-playing .i-pause { display: block; }
.ab-spinner { display: none; grid-area: 1 / 1; width: 1.4rem; height: 1.4rem; border-radius: 50%; border: 2px solid rgba(5,32,25,.25); border-top-color: var(--ink-on-teal); animation: spin .8s linear infinite; }
.ab-play.is-loading svg { display: none; }
.ab-play.is-loading .ab-spinner { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }
.ab-title { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.ab-title b { font-family: var(--display); font-weight: 600; font-size: var(--step-1); }
.ab-title span { color: var(--ash); font-size: var(--step--1); }

/* Dry | Wet segmented switch with a sliding thumb */
.ab-switch {
  position: relative; display: grid; grid-template-columns: 1fr 1fr;
  padding: .3rem; border-radius: 999px;
  background: rgba(0,0,0,.35); border: 1px solid var(--hair-2);
  isolation: isolate;
}
.ab-opt {
  position: relative; z-index: 1;
  min-width: 5rem; height: 2.6rem; padding: 0 1.1rem;
  background: none; border: 0; border-radius: 999px; cursor: pointer;
  font: 600 var(--step-0)/1 var(--body); color: var(--ash);
  transition: color .2s;
}
.ab-opt[aria-pressed="true"] { color: var(--bg); }
.ab-thumb {
  position: absolute; z-index: 0; top: .3rem; bottom: .3rem; left: .3rem;
  width: calc(50% - .3rem); border-radius: 999px;
  background: var(--bone);
  transition: transform .25s cubic-bezier(.3,.7,.2,1), background .25s;
}
.ab-switch.is-wet .ab-thumb { transform: translateX(100%); background: var(--tri); box-shadow: 0 0 24px -4px rgba(214,43,209,.6); }
@media (prefers-reduced-motion: reduce) { .ab-thumb { transition: none; } }

.ab-wave {
  position: relative; margin-top: 1.5rem; height: 120px;
  border-radius: 14px; background: rgba(0,0,0,.28); border: 1px solid var(--hair);
  cursor: pointer; overflow: hidden;
}
.ab-wave canvas { width: 100%; height: 100%; display: block; }
.ab-time { display: flex; justify-content: space-between; gap: 1rem; margin-top: .6rem; color: var(--ash); font-size: var(--step--1); font-variant-numeric: tabular-nums; }
.ab-hint kbd { font: 600 .8em/1 var(--body); padding: .15em .45em; border-radius: 5px; border: 1px solid var(--hair-2); color: var(--bone); }
.ab-error { margin-top: 1rem; color: #f08bec; }

.ab-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; }
.ab-list button {
  width: 100%; display: flex; align-items: center; gap: .85rem; text-align: left;
  padding: .8rem 1rem; border-radius: 14px; cursor: pointer;
  background: transparent; border: 1px solid transparent; color: var(--bone);
  font: 500 var(--step-0)/1.3 var(--body);
  transition: background-color .15s, border-color .15s;
}
.ab-list button:hover { background: rgba(238,234,228,.05); }
.ab-list button[aria-current="true"] { background: rgba(238,234,228,.07); border-color: var(--hair-2); }
.ab-list .bars { flex: none; width: 1.1rem; height: 1rem; display: flex; align-items: flex-end; gap: 2px; }
.ab-list .bars i { flex: 1; background: var(--ash); border-radius: 1px; height: 30%; }
.ab-list button[aria-current="true"] .bars i { background: var(--teal); }
.ab-list button.is-playing .bars i { animation: eq .9s ease-in-out infinite; }
.ab-list button.is-playing .bars i:nth-child(2) { animation-delay: -.3s; }
.ab-list button.is-playing .bars i:nth-child(3) { animation-delay: -.6s; }
@keyframes eq { 0%, 100% { height: 25%; } 50% { height: 100%; } }
@media (prefers-reduced-motion: reduce) { .ab-list button.is-playing .bars i { animation: none; height: 70%; } }
.ab-list small { display: block; color: var(--ash); font-size: var(--step--1); margin-top: .15rem; }

/* ---------- price ---------- */
.price { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 1rem; align-items: stretch; }
.price-inner { position: relative; z-index: 1; padding: clamp(1.75rem, 4vw, 2.75rem); border-radius: inherit; background: radial-gradient(120% 90% at 0% 0%, rgba(47,224,184,.10), transparent 55%), radial-gradient(90% 90% at 100% 100%, rgba(214,43,209,.08), transparent 60%); }
.price-card h2 { font-size: var(--step-4); font-weight: 700; display: flex; align-items: baseline; gap: .75rem; flex-wrap: wrap; letter-spacing: -0.04em; }
.price-card h2 small { font-family: var(--body); font-size: var(--step-0); font-weight: 500; color: var(--ash); letter-spacing: 0; }
.price-list { margin: 1.5rem 0 2rem; padding: 0; list-style: none; display: grid; gap: .6rem; }
.price-list li { padding-left: 1.7rem; position: relative; }
.price-list li::before { content: ""; position: absolute; left: 0; top: .5em; width: .75rem; height: .42rem; border-left: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: rotate(-45deg); }
.price-card .fineprint { margin-top: 1.25rem; max-width: 46ch; }
.download { display: flex; flex-direction: column; }
.download h3 { font-size: var(--step-2); }
.download p { margin: .9rem 0 1.5rem; }
.download-buttons { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: auto; }
.download .fineprint { margin-top: 1rem; }

/* ---------- faq ---------- */
.faq-list { display: grid; gap: .6rem; max-width: 52rem; }
.faq details { border-radius: var(--r-md); padding: 0 1.4rem; }
.faq summary {
  cursor: pointer; list-style: none;
  padding: 1.15rem 2.25rem 1.15rem 0; position: relative;
  font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font: 400 1.5rem/1 var(--body); color: var(--ash); transition: transform .2s; }
.faq summary::after { transition: transform .3s cubic-bezier(.3,.7,.2,1), color .3s; }
.faq details[open]:not(.is-closing) summary::after { transform: translateY(-50%) rotate(45deg); color: var(--teal); }
.faq details.is-animating { overflow: hidden; }
.faq details p { color: var(--ash); padding: 0 0 1.25rem; max-width: 64ch; }

/* ---------- footer ---------- */
.site-footer {
  width: min(calc(var(--max) - 2 * var(--gutter)), calc(100% - 2 * var(--gutter)));
  margin: clamp(6rem, 12vw, 9rem) auto 0;
  padding: 2.5rem 0 3rem;
  border-top: 1px solid var(--hair);
  display: grid; grid-template-columns: 1fr auto; gap: 1.5rem 3rem;
  color: var(--ash); font-size: var(--step--1);
}
.footer-brand { display: flex; gap: .85rem; align-items: center; }
.footer-name { font-family: var(--display); font-weight: 600; color: var(--bone); letter-spacing: .06em; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; justify-content: flex-end; align-content: center; }
.site-footer nav a { color: var(--ash); text-decoration: none; }
.site-footer nav a:hover { color: var(--bone); }
.copy { grid-column: 1 / -1; }

/* ---------- dialog + toast ---------- */
.thanks { border-radius: var(--r-lg); color: var(--bone); max-width: 34rem; width: calc(100% - 2rem); padding: 2rem; background: rgba(29,27,26,.92); }
.thanks::backdrop { background: rgba(8,8,8,.6); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.thanks h2 { font-size: var(--step-2); margin-bottom: 1rem; }
.thanks p, .thanks ol { color: var(--ash); }
.thanks ol { padding-left: 1.2rem; margin: 1rem 0 1.5rem; }
.thanks strong { color: var(--bone); }
.toast {
  position: fixed; left: 50%; bottom: 1.5rem; transform: translateX(-50%); z-index: 60;
  background: var(--bone); color: var(--bg);
  padding: .8rem 1.2rem; border-radius: 12px; font-weight: 500;
  max-width: calc(100% - 2rem); box-shadow: 0 10px 40px rgba(0,0,0,.5);
}

/* ---------- simple pages (legal, activation, 404) ---------- */
.page { max-width: 46rem; margin: 0 auto; padding: clamp(3rem, 7vw, 5rem) var(--gutter) 0; }
.page h1 { font-size: var(--step-4); font-weight: 700; margin-bottom: 1rem; letter-spacing: -0.03em; }
.page h2 { font-size: var(--step-1); margin: 2.25rem 0 .75rem; }
.page p, .page li { color: #cfcac3; }
.page p + p { margin-top: .9rem; }
.page ul, .page ol { padding-left: 1.2rem; }
.page li + li { margin-top: .4rem; }
.notice { border: 1px solid rgba(233,195,28,.45); background: rgba(233,195,28,.07); padding: 1rem 1.25rem; border-radius: 14px; color: var(--bone); margin: 1.5rem 0; }
.updated { color: var(--ash); font-size: var(--step--1); }

.form-card { border-radius: var(--r-lg); padding: clamp(1.5rem, 4vw, 2.25rem); margin-top: 2rem; }
.form-card h2 { margin-top: 0; }
.form-card p { color: var(--ash); }
.field { display: grid; gap: .4rem; margin-top: 1.25rem; }
.field label { font-weight: 600; font-size: var(--step--1); }
.field input {
  font: 500 var(--step-0)/1.3 var(--body); color: var(--bone);
  background: rgba(0,0,0,.3); border: 1px solid var(--hair-2); border-radius: 12px;
  padding: .8rem .95rem; width: 100%;
}
.field input:focus { border-color: var(--teal); outline: none; box-shadow: 0 0 0 4px rgba(47,224,184,.18); }
.field .hint { color: var(--ash); font-size: var(--step--1); }
.form-card .cta-row { margin-top: 1.5rem; }
.result { margin-top: 1.25rem; padding: .9rem 1.1rem; border-radius: 12px; }
.result.ok { background: rgba(47,224,184,.1); border: 1px solid rgba(47,224,184,.45); color: var(--bone); }
.result.err { background: rgba(214,43,209,.1); border: 1px solid rgba(214,43,209,.5); color: var(--bone); }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .nav-links a:not([data-account-link]) { display: none; }
  .bento .res { grid-column: span 12; }
  .bento .res .shot img { width: auto; max-height: 360px; }
  .bento .fx { grid-column: span 6; }
  .price { grid-template-columns: 1fr; }
  .panel-head { grid-template-columns: 1fr; }
  .ab-body { grid-template-columns: 1fr; }
  .intervals { margin-left: 0; }
}
@media (max-width: 640px) {
  .brand span { display: none; }
  .nav-links { margin-right: .25rem; }
  .bento .fx { grid-column: span 12; }
  .ab-hint { display: none; }
  .site-footer { grid-template-columns: 1fr; }
  .site-footer nav { justify-content: flex-start; }
  #spectrum .grid text { display: none; }
  .hero .btn, .download .btn { width: 100%; }
  .hero .cta-row, .download-buttons { flex-direction: column; width: 100%; }
}
