/* Production Music Academy homepage. The world: an edit suite at night. Near-black ink lit by a few soft light
   sources (violet from the picture clips, a warm ember from the orange playhead), with every section on frosted
   glass that catches a fine edge of light. The timeline keeps its editor colours; orange is still every action. */
:root {
  color-scheme: dark;
  --bg: #0a0b10;
  --panel: #12131a;
  --panel-2: #181a22;
  --panel-3: #20222c;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --ink: #f3f1ec;
  --ink-2: #aeb2bd;
  --ink-3: #8a8f9c;
  --accent: #ff5b24;
  --accent-hi: #ff7445;
  --accent-ink: #1a0b04;
  --picture: #8085e6;
  --audio: #52b47e;
  --marker: #f2c14e;
  /* Stem lanes in the hero timeline, like a DAW's track colours */
  --s-drums: #ec86a1;
  --s-perc: #d8b277;
  --s-bass: #4fc0d3;
  --s-strings: #5cc08a;
  --s-synths: #c08ce8;
  --c-cinematic: #8b90f0;
  --c-beats: #5cc08a;
  --c-songs: #4fc0d3;
  --c-tv: #ec86a1;
  --c-mix: #d8b277;
  /* glass */
  --glass: linear-gradient(180deg, rgba(255, 255, 255, .062), rgba(255, 255, 255, .022));
  --glass-hi: linear-gradient(180deg, rgba(255, 255, 255, .085), rgba(255, 255, 255, .035));
  --edge: linear-gradient(155deg, rgba(255, 255, 255, .26), rgba(255, 255, 255, .06) 32%, rgba(255, 255, 255, .025) 62%, rgba(255, 255, 255, .12));
  --wrap: 1240px;
  --gut: clamp(16px, 4vw, 40px);
  --r: 22px;
  --r-card: 18px;
  --font: "Archivo", ui-sans-serif, system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --ease: cubic-bezier(.16, 1, .3, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 17px/1.6 var(--font); font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip; position: relative;
}
/* The light in the room: fixed, so the glass always has something to catch. */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60vw 50vh at 12% -8%, rgba(110, 104, 255, .20), transparent 70%),
    radial-gradient(48vw 44vh at 96% 18%, rgba(255, 91, 36, .13), transparent 72%),
    radial-gradient(70vw 60vh at 50% 108%, rgba(64, 160, 190, .10), transparent 70%),
    linear-gradient(180deg, #0c0d13 0%, var(--bg) 40%, #08090d 100%);
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
html { scrollbar-color: #2a2d38 var(--bg); }
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #2a2d38; border: 3px solid var(--bg); border-radius: 8px; }
h1, h2, h3 { margin: 0; font-weight: 650; line-height: 1.04; letter-spacing: -0.032em; text-wrap: balance; font-variation-settings: "wdth" 100; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: max(var(--gut), env(safe-area-inset-left)); padding-right: max(var(--gut), env(safe-area-inset-right)); }
.muted { color: var(--ink-3); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 50; background: var(--accent); color: var(--accent-ink); padding: 8px 14px; border-radius: 999px; font-weight: 700; }
.skip:focus { left: 8px; }

/* Glass: a translucent pane, a light-catching hairline edge, a soft drop. */
.glass { position: relative; background: var(--glass); border-radius: var(--r); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 24px 48px -32px rgba(0, 0, 0, .9); isolation: isolate; }
.glass::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; z-index: 2;
  background: var(--edge);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
/* Cursor spotlight on interactive glass (home.js sets --mx/--my). */
.glass.lit::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: -1; opacity: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, .07), transparent 60%);
  transition: opacity .35s var(--ease);
}
.glass.lit:hover::after { opacity: 1; }

/* Buttons: pills */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 26px; border-radius: 999px; border: 0;
  background: linear-gradient(180deg, #ff7a48, var(--accent) 60%); color: var(--accent-ink);
  font: 650 16px/1 var(--font); text-decoration: none; letter-spacing: -0.01em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), inset 0 -1px 0 rgba(0, 0, 0, .15), 0 10px 24px -12px rgba(0, 0, 0, .8);
  transition: filter .2s var(--ease), transform .2s var(--ease);
  cursor: pointer; white-space: nowrap;
}
.btn:hover { filter: brightness(1.08); }
.btn:active { transform: translateY(1px); }
.btn-note { font-family: var(--mono); font-weight: 500; font-size: 13px; opacity: .78; }
.btn-ghost { background: rgba(255, 255, 255, .06); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2), inset 0 1px 0 rgba(255, 255, 255, .08); }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); filter: none; }
.btn-sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn-block { width: 100%; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Nav: a floating glass bar */
.nav { position: sticky; top: 0; z-index: 30; padding-top: 12px; }
.nav-glass {
  background: rgba(16, 17, 24, .62); backdrop-filter: blur(18px) saturate(150%); -webkit-backdrop-filter: blur(18px) saturate(150%);
  border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line), inset 0 1px 0 rgba(255, 255, 255, .07), 0 16px 40px -24px rgba(0, 0, 0, .9);
}
.nav-in { display: flex; align-items: center; gap: 28px; height: 60px; padding: 0 10px 0 22px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 56px; height: auto; }
.brand span { font-weight: 600; font-size: 13px; letter-spacing: .08em; font-variation-settings: "wdth" 85; text-transform: uppercase; color: var(--ink-2); }
.nav nav { display: flex; gap: 26px; margin-left: auto; }
.nav nav a, .signin { text-decoration: none; font-size: 15px; color: var(--ink-2); transition: color .15s; }
.nav nav a:hover, .signin:hover { color: var(--ink); }
.nav-act { display: flex; align-items: center; gap: 18px; }
@media (max-width: 960px) { .nav nav { display: none; } .nav-act { margin-left: auto; } }
@media (max-width: 560px) { .brand span { display: none; } .signin { display: none; } .nav-in { padding-left: 16px; } }

/* Hero */
.hero { position: relative; padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 8vw, 104px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 44px; align-items: center; }
@media (min-width: 1000px) { .hero-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; } }
.hero h1 { font-size: clamp(44px, 6vw, 84px); font-weight: 650; letter-spacing: -0.045em; line-height: .98; }
.lede { margin-top: 24px; font-size: clamp(17px, 1.5vw, 19px); color: var(--ink-2); max-width: 52ch; }
.hero .cta-row { margin-top: 34px; }
.fine { margin-top: 22px; font-family: var(--mono); font-size: 12.5px; color: var(--ink-3); letter-spacing: .01em; }

.monitor { margin: 0; padding: 8px; background: var(--glass-hi); }
/* a soft bloom behind the program monitor, like light off a screen in a dark room */
.monitor::after { content: ""; position: absolute; inset: 8% -6% -10%; z-index: -2; pointer-events: none; background: radial-gradient(closest-side, rgba(255, 110, 60, .16), rgba(110, 104, 255, .10) 55%, transparent); filter: blur(30px); }
.screen { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: 15px; overflow: hidden; }
.shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.shot.on { opacity: 1; }
.screen::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, .45)); }
.safe { position: absolute; inset: 7% 6%; border: 1px dashed rgba(255, 255, 255, .12); border-radius: 2px; pointer-events: none; z-index: 1; }
.bigplay {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%; z-index: 2;
  display: flex; align-items: center; gap: 12px; height: 60px; padding: 0 26px 0 20px; white-space: nowrap; border-radius: 999px; border: 0;
  background: rgba(14, 15, 20, .55); color: var(--ink); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18), inset 0 1px 0 rgba(255, 255, 255, .14), 0 14px 34px -14px rgba(0, 0, 0, .7);
  font: 650 16px/1 var(--font); cursor: pointer;
  transition: opacity .3s var(--ease), scale .3s var(--ease), background-color .2s;
}
@media (max-width: 600px) { .bigplay { height: 48px; padding: 0 18px 0 14px; font-size: 15px; } .bigplay svg { width: 22px; height: 22px; } }
.bigplay svg { width: 26px; height: 26px; fill: var(--accent); }
.bigplay:hover { background: rgba(14, 15, 20, .72); }
.playing .bigplay { opacity: 0; scale: .9; pointer-events: none; }
.monitor-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 8px 4px; }
.tc { font-family: var(--mono); font-variant-numeric: tabular-nums; font-size: 13px; color: var(--marker); letter-spacing: .02em; }
.monitor-name { font-size: 12px; font-weight: 600; font-variation-settings: "wdth" 80; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Timeline */
.timeline { --len: 34.4; margin-top: clamp(28px, 4vw, 44px); padding: 6px; }
.timeline > * { position: relative; z-index: 1; }
.tl-head { display: flex; align-items: center; gap: 16px; padding: 8px 10px 12px; }
.tl-play { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 999px; border: 0; background: linear-gradient(180deg, #ff7a48, var(--accent)); cursor: pointer; transition: filter .15s; flex: none; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3); }
.tl-play:hover { filter: brightness(1.08); }
.tl-play svg { width: 18px; height: 18px; fill: var(--accent-ink); }
.tl-play .i-pause, .playing .tl-play .i-play { display: none; }
.playing .tl-play .i-pause { display: block; }
.tc-big { font-size: 18px; }
.tl-title { margin-left: auto; font-size: 13px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tl-title a { color: var(--ink-2); }
.tl-title a:hover { color: var(--ink); }
.tl-body { --rows: 26px 26px 64px repeat(5, 46px); display: grid; grid-template-columns: 116px minmax(0, 1fr); border-radius: 16px; overflow: hidden; background: rgba(6, 7, 10, .55); box-shadow: inset 0 0 0 1px var(--line); }
.tl-labels { display: grid; grid-template-rows: var(--rows); border-right: 1px solid var(--line); background: rgba(255, 255, 255, .025); }
.lab { display: grid; place-items: center; font-family: var(--mono); font-size: 11px; color: var(--ink-3); border-top: 1px solid var(--line); }
.lab-ruler { border-top: 0; }
.tl-lanes { position: relative; display: grid; grid-template-rows: var(--rows); cursor: pointer; touch-action: none; outline-offset: -2px; }
.ruler { position: relative; background: rgba(255, 255, 255, .025); }
.ruler i { position: absolute; bottom: 0; width: 1px; height: 6px; background: rgba(255, 255, 255, .18); left: calc(var(--t) / var(--len) * 100%); }
.ruler i.big { height: 12px; background: var(--ink-3); }
.ruler i span { position: absolute; left: 4px; bottom: 7px; font: 500 10px/1 var(--mono); color: var(--ink-3); font-style: normal; }
.lane { position: relative; border-top: 1px solid var(--line); }
.mk { position: absolute; top: 0; bottom: 0; left: calc(var(--t) / var(--len) * 100%); width: 0; }
.mk::before { content: ""; position: absolute; left: -5px; top: 7px; width: 10px; height: 10px; background: var(--marker); clip-path: polygon(0 0, 100% 0, 100% 60%, 50% 100%, 0 60%); }
.mk b { position: absolute; left: 9px; top: 6px; font-size: 11px; font-weight: 700; font-variation-settings: "wdth" 75; text-transform: uppercase; letter-spacing: .08em; color: var(--marker); white-space: nowrap; }
.clip { position: absolute; top: 4px; bottom: 4px; left: calc(var(--a) / var(--len) * 100%); width: calc((var(--b) - var(--a)) / var(--len) * 100% - 2px); border-radius: 7px; overflow: hidden; }
.clip b { position: absolute; left: 7px; top: 5px; right: 6px; font-size: 11px; font-weight: 700; font-variation-settings: "wdth" 75; text-transform: uppercase; letter-spacing: .06em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; z-index: 1; }
.clip-v { background: color-mix(in oklab, var(--picture) 30%, var(--panel)); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--picture) 70%, transparent); }
.clip-v::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 44px; background-image: var(--img); background-size: auto 100%; background-repeat: repeat-x; opacity: .85; }
.clip-v b { color: #e4e5fb; }
.wave { position: absolute; left: 0; right: 0; width: 100%; }
.lab-v, .lab-stem { display: flex; align-items: center; gap: 8px; padding: 0 10px; font-family: var(--font); font-size: 12px; font-weight: 600; color: var(--ink-2); }
.lab-v { font-family: var(--mono); font-weight: 500; font-size: 11px; color: var(--ink-3); }
.lab-v i, .lab-stem i { width: 3px; height: 16px; border-radius: 2px; background: var(--c); flex: none; }
.lab-stem { white-space: nowrap; }
.meter { position: relative; margin-left: auto; width: 4px; height: 20px; border-radius: 2px; background: rgba(255, 255, 255, .07); overflow: hidden; flex: none; }
.meter::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--c), color-mix(in oklab, var(--c) 40%, white)); transform-origin: bottom; transform: scaleY(var(--lv, 0)); transition: transform 90ms linear; }
.clip-s { top: 3px; bottom: 3px; border-radius: 6px; background: color-mix(in oklab, var(--c) 16%, var(--panel)); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--c) 55%, transparent); }
.clip-s b { top: 3px; left: 6px; font: 500 10px/1 var(--mono); text-transform: none; letter-spacing: 0; color: color-mix(in oklab, var(--c) 45%, white); opacity: .9; }
.clip-s .wave { top: 15px; height: calc(100% - 17px); }
.clip-s .wave rect { fill: color-mix(in oklab, var(--c) 80%, white); }
.playhead { position: absolute; top: 0; bottom: 0; left: 0; width: 2px; margin-left: -1px; background: var(--accent); pointer-events: none; transform: translateX(var(--x, 0px)); will-change: transform; }
.playhead::before { content: ""; position: absolute; top: 0; left: -6px; width: 14px; height: 14px; background: var(--accent); clip-path: polygon(0 0, 100% 0, 100% 55%, 50% 100%, 0 55%); }
.tl-cap { margin-top: 18px; max-width: 78ch; font-size: 15px; color: var(--ink-2); }
.tl-cap .muted { display: block; margin-top: 4px; font-size: 13px; }
@media (max-width: 600px) { .mk b { display: none; } .tl-title { display: none; } .tl-body { --rows: 24px 30px 52px repeat(5, 30px); grid-template-columns: 88px minmax(0, 1fr); } .lab-stem, .lab-v { padding: 0 8px; font-size: 11px; gap: 6px; } .clip-v::after { height: 34px; } .clip-s b { display: none; } .clip-s .wave { top: 3px; height: calc(100% - 6px); } }

/* Logos */
.logos { padding: 24px 0 8px; }
.logos p { text-align: center; font-size: 13px; color: var(--ink-3); }
.logos ul { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 22px 48px; }
.logos img { width: auto; opacity: .55; filter: grayscale(1) brightness(1.7); transition: opacity .2s; }
.logos li:hover img { opacity: .85; }

/* Section heads */
section h2 { font-size: clamp(34px, 4.4vw, 58px); }
.sec-head { display: grid; gap: 18px; max-width: 780px; }
.sec-head p { color: var(--ink-2); max-width: 62ch; }

/* Courses: glass cards */
.courses { padding: clamp(80px, 11vw, 140px) 0 clamp(56px, 8vw, 104px); }
.bin-bar { margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; }
.bin-meta { font-size: 13px; color: var(--ink-3); }
.bin { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 272px), 1fr)); }
.card { display: flex; flex-direction: column; height: 100%; padding: 8px; text-decoration: none; border-radius: var(--r-card); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.card:hover { transform: translateY(-3px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 34px 60px -34px rgba(0, 0, 0, .95); }
.thumb { position: relative; border-radius: 12px; overflow: hidden; background: var(--panel); }
.thumb img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: scale .6s var(--ease); }
.card:hover .thumb img { scale: 1.04; }
.tag { position: absolute; left: 8px; bottom: 8px; padding: 4px 9px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: 11px; font-weight: 700; font-variation-settings: "wdth" 85; text-transform: uppercase; letter-spacing: .06em; }
.card-link { color: inherit; text-decoration: none; }
.card-link::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.card-link:focus-visible { outline: none; }
.card-link:focus-visible::after { outline: 2px solid var(--accent); outline-offset: 2px; }
.pv { position: relative; z-index: 2; display: flex; align-items: center; gap: 10px; margin: 10px 2px 0; padding: 5px 12px 5px 5px; border-radius: 999px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--line); }
.pv-none { visibility: hidden; height: 40px; }
.pv-btn { flex: none; width: 30px; height: 30px; display: grid; place-items: center; border: 0; border-radius: 999px; background: linear-gradient(180deg, #ff7a48, var(--accent)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3); cursor: pointer; transition: filter .15s; }
.pv-btn:hover { filter: brightness(1.08); }
.pv-btn svg { width: 14px; height: 14px; fill: var(--accent-ink); }
.pv-btn .i-pause, .pv.on .pv-btn .i-play { display: none; }
.pv.on .pv-btn .i-pause { display: block; }
.pv-name { min-width: 0; font-size: 13px; font-weight: 550; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pv.on .pv-name { color: var(--ink); }
.pv-bar { flex: 1; min-width: 28px; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.pv-bar i { display: block; height: 100%; background: var(--accent); transform-origin: left; transform: scaleX(var(--p, 0)); }
.pv-len { font: 500 11.5px/1 var(--mono); font-variant-numeric: tabular-nums; color: var(--ink-3); }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 16px 10px 8px; }
.card h3 { margin-top: 4px; font-size: 20px; font-weight: 650; letter-spacing: -0.02em; line-height: 1.15; }
.card p { margin-top: 6px; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.card-foot { margin-top: auto; padding-top: 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.price-sm { font-family: var(--mono); font-size: 14px; color: var(--ink); }
.go { font-size: 14px; font-weight: 600; color: var(--accent-hi); white-space: nowrap; }
.go::after { content: " →"; display: inline-block; transition: translate .2s var(--ease); }
.card:hover .go::after { translate: 4px 0; }
.meta { font-family: var(--mono); font-size: 12px; color: var(--ink-3); margin-top: 8px; }

/* All Access */
.aa { position: relative; padding: clamp(80px, 11vw, 140px) 0; }
.aa::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(50% 60% at 80% 40%, rgba(255, 91, 36, .10), transparent 70%), radial-gradient(40% 50% at 10% 70%, rgba(110, 104, 255, .10), transparent 70%); }
.aa-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; }
@media (min-width: 1000px) { .aa-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; align-items: start; } .plans { position: sticky; top: 108px; } }
.aa .lede { max-width: 58ch; }
.incl { margin: 40px 0 0; padding: 8px 26px; display: grid; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .incl { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 36px; } }
.incl div { padding: 20px 0; }
.incl div + div { border-top: 1px solid var(--line); }
@media (min-width: 640px) { .incl div:nth-child(2) { border-top: 0; } }
.incl dt { font-weight: 650; font-size: 18px; letter-spacing: -0.015em; }
.incl dd { margin: 6px 0 0; font-size: 15px; color: var(--ink-2); }
.plans { display: grid; gap: 16px; }
.plan { padding: 28px; }
.plan-best { background: linear-gradient(180deg, rgba(255, 110, 60, .10), rgba(255, 255, 255, .025) 70%); }
.plan-best::before { background: linear-gradient(155deg, rgba(255, 140, 90, .75), rgba(255, 91, 36, .25) 35%, rgba(130, 120, 255, .25) 70%, rgba(255, 255, 255, .14)); }
.seg { display: flex; padding: 4px; border-radius: 999px; background: rgba(0, 0, 0, .28); box-shadow: inset 0 0 0 1px var(--line); }
.seg button { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; border: 0; border-radius: 999px; background: transparent; color: var(--ink-3); font: 600 14px/1 var(--font); cursor: pointer; transition: background .2s var(--ease), color .2s var(--ease); }
.seg button:hover { color: var(--ink); }
.seg button[aria-pressed="true"] { background: rgba(255, 255, 255, .1); color: var(--ink); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 4px 12px -6px rgba(0, 0, 0, .8); }
.seg .save { padding: 4px 8px; font-size: 10px; }
.plan .price { margin-top: 24px; }
.save { padding: 5px 10px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: 11px; font-weight: 700; letter-spacing: .06em; }
.price { margin-top: 16px; display: flex; align-items: baseline; gap: 8px; }
.amt { font-size: 56px; font-weight: 600; letter-spacing: -0.045em; line-height: 1; font-variant-numeric: tabular-nums; }
.per { font-family: var(--mono); font-size: 14px; color: var(--ink-3); }
.plan-note { margin: 10px 0 24px; font-size: 15px; color: var(--ink-2); }
.plans-fine { font-size: 13px; color: var(--ink-3); line-height: 1.55; padding: 0 6px; }

/* Free */
.free { padding: clamp(48px, 7vw, 88px) 0; }
.free-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: center; padding: clamp(20px, 3vw, 36px); }
@media (min-width: 860px) { .free-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 52px; } }
.free img { border-radius: 14px; position: relative; z-index: 1; }
.free-grid > div { position: relative; z-index: 1; }
.free h2 { font-size: clamp(28px, 3.2vw, 42px); }
.free p { margin: 16px 0 26px; color: var(--ink-2); max-width: 56ch; }
.optin { max-width: 520px; }
.optin-fields { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin-bottom: 14px; }
@media (min-width: 560px) { .optin-fields { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); } }
.optin label span { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 550; color: var(--ink-2); }
.optin input {
  width: 100%; height: 48px; padding: 0 16px; border-radius: 14px; border: 0;
  background: rgba(255, 255, 255, .05); color: var(--ink); font: 16px var(--font);
  box-shadow: inset 0 0 0 1px var(--line-2); transition: box-shadow .2s var(--ease), background .2s var(--ease);
}
.optin input:focus { outline: none; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1.5px var(--accent); }
.optin .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.free .optin-fine { margin: 12px 0 0; font-size: 13px; color: var(--ink-3); }
/* The opt-in is part of the deal: the button stays dimmed until it's ticked, and a click on the dimmed button glows the box. */
.optin .consent { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 14px -10px; padding: 8px 10px; border-radius: 12px; cursor: pointer; width: fit-content; }
.optin .consent.nudge { animation: nudge 1.2s var(--ease) 2; }
@keyframes nudge {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 91, 36, 0); background: transparent; }
  35% { box-shadow: 0 0 0 1.5px rgba(255, 91, 36, .9), 0 0 22px 2px rgba(255, 91, 36, .45); background: rgba(255, 91, 36, .08); }
}
@media (prefers-reduced-motion: reduce) { .optin .consent.nudge { animation: none; box-shadow: 0 0 0 1.5px var(--accent); } }
.optin .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; filter: none; transform: none; }
.optin .consent input { flex: none; width: 18px; height: 18px; margin: 1px 0 0; padding: 0; border-radius: 5px; box-shadow: none; accent-color: var(--accent); cursor: pointer; }
.optin .consent input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.optin .consent span { margin: 0; font-size: 14px; font-weight: 450; line-height: 1.4; color: var(--ink-2); }

/* About */
.about { padding: clamp(48px, 7vw, 88px) 0; }
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; align-items: center; padding: clamp(20px, 3vw, 36px); }
@media (min-width: 860px) { .about-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 60px; } }
.about-grid > * { position: relative; z-index: 1; }
.portrait { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 25%; border-radius: 16px; max-height: 560px; }
.about p { margin-top: 18px; color: var(--ink-2); max-width: 62ch; }
.about h2 + p { margin-top: 24px; }
.facts { margin: 32px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.facts div { padding: 18px 0 4px; }
.facts div + div { padding-left: clamp(12px, 2vw, 24px); border-left: 1px solid var(--line); }
.facts dt { font-size: clamp(24px, 2.6vw, 34px); font-weight: 600; letter-spacing: -0.035em; }
.facts dd { margin: 2px 0 0; font-size: 12px; font-weight: 650; font-variation-settings: "wdth" 80; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-3); }

/* Voices */
.voices { padding: clamp(64px, 9vw, 112px) 0; }
.voices h2 { font-size: clamp(28px, 3.2vw, 42px); }
.voices-grid { margin-top: 40px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
@media (min-width: 860px) { .voices-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .v-lead { grid-column: 1 / -1; } }
blockquote { margin: 0; padding: 26px 28px; display: flex; flex-direction: column; }
blockquote > * { position: relative; z-index: 1; }
blockquote p { font-size: 17px; line-height: 1.55; color: var(--ink); }
.v-lead { padding: clamp(28px, 4vw, 48px); background: linear-gradient(135deg, rgba(110, 104, 255, .12), rgba(255, 255, 255, .03) 55%, rgba(255, 91, 36, .07)); }
.v-lead p { font-size: clamp(22px, 2.6vw, 34px); font-weight: 500; line-height: 1.28; letter-spacing: -0.022em; max-width: 36ch; }
blockquote footer { margin-top: auto; padding-top: 18px; font-weight: 650; font-size: 15px; }
blockquote footer { display: grid; grid-template-columns: 42px minmax(0, 1fr); column-gap: 12px; align-items: center; }
blockquote footer span { display: block; font-weight: 400; font-size: 13px; color: var(--ink-3); }
/* Avatar photo (placeholder portraits, home/assets/avatars). */
blockquote footer .av { grid-column: 1; grid-row: 1 / span 2; width: 42px; height: 42px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px var(--line-2); }

/* FAQ */
.faq { padding: clamp(64px, 9vw, 112px) 0; }
.faq-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
@media (min-width: 860px) { .faq-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 64px; } }
.faq h2 { font-size: clamp(28px, 3.2vw, 42px); }
.faq-list { padding: 6px 26px; }
details { position: relative; z-index: 1; }
details + details { border-top: 1px solid var(--line); }
summary { list-style: none; display: flex; justify-content: space-between; gap: 20px; padding: 21px 0; cursor: pointer; font-weight: 600; font-size: 17px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; flex: none; width: 10px; height: 10px; margin-top: 7px; border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3); rotate: 45deg; translate: 0 -3px; transition: rotate .25s var(--ease); }
details[open] summary::after { rotate: 225deg; translate: 0 3px; }
summary:hover { color: var(--accent-hi); }
details p { padding: 0 0 22px; color: var(--ink-2); max-width: 64ch; }

/* Close + footer */
.close { padding: clamp(40px, 6vw, 80px) 0 clamp(72px, 10vw, 120px); }
.close-in { display: grid; gap: 32px; justify-items: start; padding: clamp(36px, 6vw, 80px); overflow: hidden;
  background: radial-gradient(70% 120% at 100% 0%, rgba(255, 91, 36, .22), transparent 60%), radial-gradient(60% 100% at 0% 100%, rgba(110, 104, 255, .18), transparent 60%), var(--glass); }
.close-in > * { position: relative; z-index: 1; }
.close h2 { font-size: clamp(36px, 5.2vw, 72px); font-weight: 650; letter-spacing: -0.045em; max-width: 16ch; }
.foot { padding: 28px 0 calc(32px + env(safe-area-inset-bottom)); }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; padding-top: 28px; border-top: 1px solid var(--line); }
.foot nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.foot nav a { font-size: 14px; color: var(--ink-2); text-decoration: none; }
.foot nav a:hover { color: var(--ink); }
.foot p { margin-left: auto; font-size: 13px; color: var(--ink-3); }
@media (max-width: 640px) { .foot p { margin-left: 0; } }

.foot-note { flex-basis: 100%; font-size: 11.5px; color: var(--ink-3); margin: 4px 0 0; }
