/* ============================================================
   Caption Studio - a Left Inverse product
   The product is the demo: a real clip runs through the page,
   captioned live with the app's exact defaults (Bangers, white
   fill, green keyword, black outline, shadow, 60% down).
   Page chrome stays quiet graphite; caption green appears only
   where the app itself would put it - on the video and in the
   chart's keyword.
   Type: Clash Display (display) · Switzer (body) · Fragment Mono
   ============================================================ */

:root {
  --bg:      #0A0B0D;
  --bg-2:    #0F1114;
  --panel:   #14161B;
  --panel-2: #1A1D24;
  --text:    #F4F5F7;
  --muted:   #969CA8;
  --line:    rgba(255, 255, 255, .08);
  --line-2:  rgba(255, 255, 255, .16);
  --accent:  #6E7BFF;
  --accent-soft: rgba(110, 123, 255, .14);
  --good:    #3DDC97;

  --disp: "Clash Display", "Avenir Next", -apple-system, sans-serif;
  --body: "Switzer", -apple-system, "Helvetica Neue", sans-serif;
  --mono: "Fragment Mono", ui-monospace, "SFMono-Regular", monospace;

  --pad: clamp(1.25rem, 5vw, 3rem);
  --max: 1080px;
  --r: 14px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
code { font-family: var(--mono); font-size: .88em; color: var(--text); }
::selection { background: rgba(110, 123, 255, .4); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* quiet ambient: one soft glow up top, one near the hero device */
.bg { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.bg::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(52% 38% at 74% 12%, rgba(110, 123, 255, .10), transparent 70%),
    radial-gradient(40% 30% at 12% 4%, rgba(255, 255, 255, .04), transparent 70%),
    linear-gradient(180deg, #0C0D10, var(--bg) 40%);
}
.bg::after {
  content: ""; position: absolute; inset: 0; opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.skip {
  position: absolute; left: 50%; top: -100px; transform: translateX(-50%);
  background: var(--accent); color: #fff; padding: .6rem 1rem;
  border-radius: 0 0 8px 8px; font: 500 .8rem/1 var(--body); z-index: 100;
  transition: top .2s var(--ease);
}
.skip:focus { top: 0; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; gap: clamp(.9rem, 2.5vw, 1.6rem);
  padding: .85rem clamp(1rem, 3vw, 1.8rem);
  border-bottom: 1px solid transparent;
  transition: background .35s var(--ease), border-color .35s var(--ease);
}
.nav--solid {
  background: rgba(10, 11, 13, .82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}

.nav-studio {
  font: 400 .7rem/1 var(--mono); letter-spacing: .06em;
  color: var(--muted); white-space: nowrap;
  transition: color .25s var(--ease);
}
.nav-studio:hover { color: var(--text); }

.brand { display: inline-flex; align-items: center; gap: .55rem; margin-right: auto; }
.brand-mark { width: 24px; height: 24px; flex: none; }
.brand-mark .bm-frame { fill: none; stroke: var(--text); stroke-width: 1.6; opacity: .9; }
.brand-mark .bm-line { fill: var(--text); opacity: .9; }
.brand-mark .bm-hl { fill: var(--accent); }
.brand-word {
  font: 600 1.02rem/1 var(--disp); letter-spacing: .005em;
}

.nav-links { display: flex; gap: clamp(.8rem, 2vw, 1.5rem); }
.nav-links a {
  font: 500 .82rem/1 var(--body); color: var(--muted);
  padding: .3rem 0;
  transition: color .25s var(--ease);
}
.nav-links a:hover { color: var(--text); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font: 500 .88rem/1 var(--body);
  padding: .8em 1.35em; border-radius: 10px; cursor: pointer;
  border: 1px solid transparent;
  transition: background .25s var(--ease), color .25s var(--ease),
              border-color .25s var(--ease), transform .2s var(--ease),
              box-shadow .25s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-accent {
  background: var(--accent); color: #fff; border-color: var(--accent);
  box-shadow: 0 8px 24px rgba(110, 123, 255, .28);
}
.btn-accent:hover { background: #7E8AFF; border-color: #7E8AFF; box-shadow: 0 10px 28px rgba(110, 123, 255, .38); }
.btn-ghost {
  background: transparent; color: var(--text); border-color: var(--line-2);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-lg { padding: .95em 1.6em; font-size: .95rem; }
.btn-wide { width: 100%; }
.nav-cta { padding: .65em 1.05em; white-space: nowrap; box-shadow: none; }

/* ============================================================
   THE DEVICE - a phone playing the real clip
   ============================================================ */
.device {
  position: relative;
  width: min(100%, 340px); aspect-ratio: 9 / 16;
  border-radius: 26px; overflow: hidden;
  border: 1px solid var(--line-2);
  background: #000;
  box-shadow:
    0 40px 90px rgba(0, 0, 0, .55),
    0 0 0 6px rgba(255, 255, 255, .03);
}
.device-sm { width: min(100%, 250px); border-radius: 20px; }
.cap-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* the caption layer - 1:1 with the app's renderer: one line,
   centered, max 80% width, positioned by centerYRatio.
   Word styling (font, fill, outline, shadow) is applied inline by JS. */
.cap-layer {
  position: absolute; left: 0; right: 0; top: 0; bottom: 0; z-index: 2;
  pointer-events: none;
}
.cap-line {
  position: absolute; left: 50%; transform: translate(-50%, -50%);
  white-space: nowrap; line-height: 1;
}
.cap-line span { display: inline-block; }

.mute-btn {
  position: absolute; right: 10px; top: 10px; z-index: 3;
  width: 34px; height: 34px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(0, 0, 0, .45); color: #fff;
  border: 1px solid rgba(255, 255, 255, .25); cursor: pointer;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: background .2s var(--ease);
}
.mute-btn:hover { background: rgba(0, 0, 0, .65); }
.mute-btn svg { width: 16px; height: 16px; }
.mute-btn .ic-sound { display: none; }
.mute-btn.sound-on .ic-muted { display: none; }
.mute-btn.sound-on .ic-sound { display: block; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; z-index: 2;
  max-width: 1160px; margin: 0 auto;
  min-height: 100svh;
  display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 9fr);
  align-items: center; gap: clamp(2rem, 5vw, 4.5rem);
  padding: clamp(6rem, 12vh, 8rem) var(--pad) clamp(3rem, 8vh, 5rem);
}

.eyebrow {
  font: 400 .72rem/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 1.4rem;
}
.hero-title {
  font: 600 clamp(2.8rem, 6.2vw, 4.8rem)/1.04 var(--disp);
  letter-spacing: -.015em; text-wrap: balance;
}
.hero-title .w { display: inline-block; }
.hero-sub {
  margin-top: 1.4rem; max-width: 46ch;
  font-size: clamp(1rem, 1.4vw, 1.12rem); color: var(--muted);
}
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.1rem; }
.hero-fine {
  margin-top: 1.2rem; font: 400 .7rem/1.7 var(--mono); letter-spacing: .02em;
  color: var(--muted);
}

.hero-stage { display: flex; flex-direction: column; align-items: center; gap: .9rem; justify-self: center; }
.hero-stage .device { width: min(72vw, 320px); }
.hero-note { font: 400 .7rem/1.5 var(--mono); color: var(--muted); letter-spacing: .02em; text-align: center; }

/* ============================================================
   SECTIONS
   ============================================================ */
.section {
  position: relative; z-index: 2;
  max-width: var(--max); margin: 0 auto;
  padding: clamp(4rem, 10vh, 7rem) var(--pad);
}
.section + .section { border-top: 1px solid var(--line); }

.sec-head { margin-bottom: clamp(2rem, 5vh, 3.2rem); max-width: 46rem; }
.sec-kicker {
  font: 400 .7rem/1 var(--mono); letter-spacing: .18em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 1rem;
}
.sec-title {
  font: 600 clamp(1.9rem, 4.2vw, 3rem)/1.08 var(--disp);
  letter-spacing: -.012em; text-wrap: balance;
}
.sec-intro { margin-top: 1.1rem; color: var(--muted); font-size: 1.02rem; max-width: 56ch; }

/* ============================================================
   EDITOR - ghost editor + synced phone
   ============================================================ */
.ed-grid {
  display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  grid-template-areas:
    "head  head"
    "chart side";
  column-gap: clamp(1.4rem, 3.5vw, 3rem);
  row-gap: clamp(1.6rem, 4vh, 2.6rem);
  align-items: start;
}
.editor .sec-head { grid-area: head; margin-bottom: 0; }
.ed-chart { grid-area: chart; }
.ed-side { grid-area: side; }

.ed-chart {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line); border-radius: var(--r);
  overflow: hidden;
}
.ed-chart-head {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: .65rem .95rem; border-bottom: 1px solid var(--line);
  font: 400 .68rem/1 var(--mono); color: var(--muted); letter-spacing: .04em;
}

/* the chart follows the playhead - like the app, it scrolls with the
   active cue instead of showing the whole transcript at once */
.ed-rows {
  padding: .4rem; display: flex; flex-direction: column; gap: 2px;
  max-height: 348px; overflow-y: auto;
  scrollbar-width: none;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 16px, #000 calc(100% - 20px), transparent 100%);
          mask-image: linear-gradient(180deg, transparent 0, #000 16px, #000 calc(100% - 20px), transparent 100%);
}
.ed-rows::-webkit-scrollbar { display: none; }
/* rows mirror the app's chart: start + end timecodes, the cue text with
   its keyword colored, and the too-short warning triangle */
.ed-row {
  position: relative;
  display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto;
  align-items: center; gap: .7rem;
  padding: .5rem .65rem; border-radius: 8px;
  border-left: 2px solid transparent;
  transition: background .25s var(--ease), border-color .25s var(--ease), opacity .25s var(--ease);
}
.ed-row.on { background: var(--accent-soft); border-left-color: var(--accent); }
.ed-tcs { font: 400 .62rem/1 var(--mono); color: var(--muted); white-space: nowrap; }
.ed-warn { width: 12px; height: 12px; color: #E8C542; flex: none; }
.ed-row-text { font-size: .9rem; color: var(--text); min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ed-row-text .wd { padding: .06em .1em; border-radius: 4px; }
.ed-row-text .wd.kw { color: #8AFC37; }
.type-caret {
  display: inline-block; width: 2px; height: 1em;
  margin-left: 1px; vertical-align: -0.12em;
  background: var(--accent);
  animation: caret-blink .9s steps(1) infinite;
}
@keyframes caret-blink { 50% { opacity: 0; } }

/* the row editor - the app's strip under the chart: text field,
   Start/End steppers (0.05s a click), Split/Merge, overlap warning */
.ed-editor {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--panel-2);
  padding: .7rem .95rem .75rem;
}
.ed-editor.show { display: block; }
.ee-field {
  font-size: .88rem; color: var(--text);
  background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 7px;
  padding: .45em .65em;
}
.ee-field .wd.typing {
  background: rgba(110, 123, 255, .18);
  outline: 1px solid var(--accent); outline-offset: 1px;
  border-radius: 3px;
}
.ee-controls {
  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
  margin-top: .6rem;
}
.ee-time {
  display: inline-flex; align-items: center; gap: .4em;
  font-size: .74rem; color: var(--muted);
}
.ee-tc { font: 400 .72rem/1 var(--mono); color: var(--text); font-weight: 400; }
.ee-step {
  display: inline-flex; flex-direction: column;
  border: 1px solid var(--line-2); border-radius: 5px; overflow: hidden;
}
.ee-step i {
  font-style: normal; font-size: .42rem; line-height: 1;
  color: var(--muted); padding: .18em .35em;
  background: var(--panel);
}
.ee-step i:first-child { border-bottom: 1px solid var(--line); }
.ee-step i.tick { background: var(--accent); color: #fff; }
.ee-gap { flex: 1; }
.ee-btn {
  font-size: .72rem; line-height: 1; color: var(--muted);
  border: 1px solid var(--line-2); border-radius: 6px;
  padding: .45em .6em; white-space: nowrap;
}
.ee-warn {
  display: none; align-items: center; gap: .45em;
  margin-top: .6rem;
  font: 400 .7rem/1.4 var(--mono); color: #E8C542;
}
.ee-warn.show { display: flex; }
.ee-warn svg { width: 12px; height: 12px; flex: none; }

.ghost {
  position: absolute; z-index: 6; width: 20px; height: 20px;
  left: 0; top: 0; opacity: 0; pointer-events: none;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .6));
}
.ghost.click { animation: gclick .28s var(--ease); }
@keyframes gclick { 40% { transform: scale(.78); } }

.ed-side { display: flex; flex-direction: column; align-items: center; }
.ed-side .device-sm { width: min(52vw, 230px); }
.ed-fine { margin-top: 1.6rem; font-size: .88rem; color: var(--muted); max-width: 60ch; }

/* ============================================================
   STYLE PLAYGROUND
   ============================================================ */
.play-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}
.play-stage { display: flex; justify-content: center; }
.play-stage .device-sm { width: min(62vw, 260px); }

.inspector {
  background: var(--panel);
  border: 1px solid var(--line); border-radius: var(--r);
  padding: clamp(1.1rem, 2.5vw, 1.6rem);
}
.ins-label {
  font: 400 .64rem/1 var(--mono); letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted); margin-bottom: .55rem;
}
.ins-label ~ .ins-label { margin-top: 1.1rem; }
.ins-chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.fchip {
  font-size: .86rem; line-height: 1; color: var(--text);
  background: transparent; border: 1px solid var(--line-2); border-radius: 8px;
  padding: .5em .7em; cursor: pointer;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.fchip:hover { border-color: var(--accent); }
.fchip.on { border-color: var(--accent); background: var(--accent-soft); }
.f-bangers { font-family: "Bangers", sans-serif; letter-spacing: .04em; }
.f-anton { font-family: "Anton", sans-serif; }
.f-luckiest { font-family: "Luckiest Guy", sans-serif; }
.f-bebas { font-family: "Bebas Neue", sans-serif; letter-spacing: .05em; }
.f-archivo { font-family: "Archivo Black", sans-serif; font-size: .74rem; }
.f-montserrat { font-family: "Montserrat", sans-serif; font-weight: 700; font-size: .78rem; }
.f-poppins { font-family: "Poppins", sans-serif; font-weight: 800; font-size: .78rem; }
.f-oswald { font-family: "Oswald", sans-serif; font-weight: 700; }

.swatch {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--sw); cursor: pointer;
  border: 2px solid transparent;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .5) inset;
  transition: transform .15s var(--ease), border-color .2s var(--ease);
}
.swatch:hover { transform: scale(1.1); }
.swatch.on { border-color: var(--text); }
.swatch-none { background: transparent; border: 1px solid var(--line-2); position: relative; }
.swatch-none::after {
  content: ""; position: absolute; left: 3px; right: 3px; top: 50%;
  height: 1.5px; background: var(--muted); transform: rotate(-45deg);
}

.ins-row { display: flex; align-items: center; gap: 1rem; margin-top: 1rem; }
.ins-row label {
  display: flex; justify-content: space-between; gap: .8rem;
  flex: none; width: 8.2rem;
  font-size: .84rem; color: var(--text);
}
.ins-row output { font: 400 .74rem/1.6 var(--mono); color: var(--muted); }
.ins-row input[type="range"] {
  flex: 1; min-width: 0; height: 26px;
  -webkit-appearance: none; appearance: none; background: transparent; cursor: pointer;
}
.ins-row input[type="range"]::-webkit-slider-runnable-track {
  height: 4px; border-radius: 2px; background: var(--line-2);
}
.ins-row input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 16px; height: 16px; margin-top: -6px;
  border-radius: 50%; background: var(--accent); border: 2px solid #fff;
}
.ins-row input[type="range"]::-moz-range-track {
  height: 4px; border-radius: 2px; background: var(--line-2);
}
.ins-row input[type="range"]::-moz-range-thumb {
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--accent); border: 2px solid #fff;
}
.ins-toggles { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1.1rem; }
.tog {
  font-size: .82rem; line-height: 1; color: var(--muted);
  background: transparent; border: 1px solid var(--line-2); border-radius: 999px;
  padding: .5em .85em; cursor: pointer;
  transition: color .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease);
}
.tog.on { color: var(--text); border-color: var(--accent); background: var(--accent-soft); }
.tog-reset { margin-left: auto; }
.tog-reset:hover { color: var(--text); border-color: var(--text); }
.ins-fine { margin-top: 1.1rem; font-size: .78rem; color: var(--muted); }

/* ============================================================
   PRICING
   ============================================================ */
.price-wrap {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}
.price-card {
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line-2); border-radius: var(--r);
  padding: clamp(1.4rem, 3vw, 2rem);
}
.price-amt {
  font: 600 2.5rem/1 var(--disp); letter-spacing: -.01em;
  display: flex; align-items: baseline; flex-wrap: wrap; gap: .8rem;
}
.price-per { font: 400 .74rem/1.5 var(--mono); color: var(--muted); }
.price-feats { list-style: none; margin: 1.3rem 0 1.5rem; }
.price-feats li {
  position: relative; padding: .5rem 0 .5rem 1.6rem;
  font-size: .92rem; color: var(--muted);
  border-top: 1px solid var(--line);
}
.price-feats li::before {
  content: ""; position: absolute; left: 2px; top: 1.02rem;
  width: 9px; height: 5px;
  border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
.price-fine { margin-top: .9rem; font: 400 .7rem/1.6 var(--mono); color: var(--muted); }
.price-fine a { color: var(--accent); }
.price-fine a:hover { text-decoration: underline; }

.waitlist { scroll-margin-top: 6rem; padding-top: .4rem; }
.waitlist h3 { font: 600 1.35rem/1.2 var(--disp); margin-bottom: .6rem; }
.waitlist p { font-size: .92rem; color: var(--muted); margin-bottom: 1rem; max-width: 44ch; }
.wl-form { display: flex; gap: .6rem; flex-wrap: wrap; }
.wl-form input {
  flex: 1 1 14rem; min-width: 0;
  font: 400 .9rem/1 var(--body); color: var(--text);
  background: var(--panel); border: 1px solid var(--line-2); border-radius: 10px;
  padding: .85em 1em;
}
.wl-form input::placeholder { color: var(--muted); }
.wl-form input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.wl-msg { margin-top: .6rem; font: 400 .78rem/1.5 var(--mono); color: var(--accent); min-height: 1.2em; }

/* ============================================================
   FAQ
   ============================================================ */
.notes-list { max-width: 44rem; }
.note { border-top: 1px solid var(--line); }
.note:last-child { border-bottom: 1px solid var(--line); }
.note summary {
  cursor: pointer; list-style: none;
  display: flex; align-items: baseline; gap: .8rem;
  padding: 1.05rem .2rem;
  font: 500 1rem/1.4 var(--body); color: var(--text);
  transition: color .25s var(--ease);
}
.note summary::-webkit-details-marker { display: none; }
.note summary::before {
  content: "+"; font: 400 1rem/1 var(--mono); color: var(--accent); flex: none;
  transition: transform .25s var(--ease);
}
.note[open] summary::before { transform: rotate(45deg); }
.note summary:hover { color: var(--accent); }
.note p {
  padding: 0 .2rem 1.1rem 1.8rem;
  font-size: .92rem; color: var(--muted); max-width: 58ch;
}
.note a { color: var(--accent); }
.note a:hover { text-decoration: underline; }

/* ============================================================
   FOOTER
   ============================================================ */
.foot {
  position: relative; z-index: 2;
  max-width: var(--max); margin: 0 auto;
  padding: clamp(2.5rem, 6vh, 4rem) var(--pad) clamp(2rem, 5vh, 3rem);
  border-top: 1px solid var(--line);
}
.foot-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.2rem; flex-wrap: wrap;
}
.foot .brand { margin-right: 0; }
.foot-links { display: flex; flex-wrap: wrap; gap: clamp(.9rem, 2.5vw, 1.6rem); }
.foot-links a {
  font-size: .84rem; color: var(--muted);
  transition: color .25s var(--ease);
}
.foot-links a:hover { color: var(--text); }
.foot-line {
  margin-top: 1.6rem;
  font: 400 .72rem/1.7 var(--mono); color: var(--muted); letter-spacing: .02em;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1000px) {
  .hero { grid-template-columns: 1fr; min-height: 0; padding-top: clamp(5.5rem, 12vh, 7rem); text-align: left; }
  .hero-stage { justify-self: start; align-items: flex-start; }
  .ed-grid {
    grid-template-columns: 1fr;
    grid-template-areas: "head" "chart" "side";
    row-gap: clamp(1.2rem, 3vh, 1.8rem);
  }
  .ed-side .device-sm { width: min(52vw, 220px); }
  .play-grid, .price-wrap { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .nav-links { display: none; }
  .ed-side .device-sm { width: min(52vw, 210px); }
}
@media (max-width: 480px) {
  .nav-studio { display: none; }
  .hero-title { font-size: clamp(2.4rem, 10.5vw, 3rem); }
  .hero-stage .device { width: min(78vw, 300px); }
  .ed-tcs { font-size: .56rem; }
  .ed-row { gap: .5rem; }
  .ins-row label { width: 7rem; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important; transition-delay: 0s !important;
  }
}
