/* Tooition landing page — plain CSS, no build step.
   Sections: tokens · base · layout · header · hero · signup · steps/player · features/mocks · benefits · pricing · faq · footer */

/* ---------- Tokens ---------- */
:root {
  color-scheme: light;
  --paper: #fbf8f3;
  --surface: #ffffff;
  --ink: #17142b;
  --ink-2: #48435e;
  --ink-3: #6b6680;
  --line: #e9e3d8;
  --line-2: #d9d1c3;

  --violet: #5b34e0;
  --violet-700: #4824c4;
  --violet-50: #f4f0ff;
  --violet-100: #e8e0ff;
  --coral: #ff7a45;
  --coral-50: #fff1ea;
  --sun: #ffd166;
  --mint: #12a17a;
  --mint-700: #0b7a5c;
  --mint-50: #e7f7f1;

  /* "Teacher brand" used inside product mocks, to show the site is theirs, not ours */
  --studio: #0f766e;
  --studio-50: #e6f4f2;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgb(23 20 43 / .06), 0 1px 1px rgb(23 20 43 / .04);
  --shadow: 0 10px 30px -12px rgb(23 20 43 / .22), 0 2px 6px rgb(23 20 43 / .06);
  --shadow-lg: 0 30px 60px -24px rgb(40 22 120 / .35), 0 8px 20px -8px rgb(23 20 43 / .12);

  --font-display: "Fraunces", ui-serif, Georgia, "Times New Roman", serif;
  --font-body: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --gutter: 16px;
  --max: 1160px;
}
@media (min-width: 640px) { :root { --gutter: 24px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; display: block; }
a { color: var(--violet-700); text-underline-offset: 3px; }
a:hover { color: var(--violet); }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; letter-spacing: -0.015em; }
h1, h2 { font-family: var(--font-display); font-weight: 600; font-optical-sizing: auto; }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 2px; border-radius: 6px; }
::selection { background: var(--violet-100); }

[hidden] { display: none !important; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 10px; text-decoration: none;
}
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 112px); }
.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(2rem, 4.2vw, 3rem); }
.section-head p { margin-top: 16px; color: var(--ink-2); font-size: 1.125rem; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--violet-700); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.section-head.center .eyebrow::before { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 12px; border: 1.5px solid transparent;
  font-weight: 700; font-size: 1rem; line-height: 1; text-decoration: none; white-space: nowrap;
  transition: background-color .15s, transform .15s, box-shadow .15s, border-color .15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--violet); color: #fff; box-shadow: 0 6px 16px -6px rgb(91 52 224 / .7); }
.btn-primary:hover { background: var(--violet-700); color: #fff; }
.btn-primary[disabled] { opacity: .75; cursor: progress; }
.btn-secondary { background: var(--ink); color: #fff; }
.btn-secondary:hover { background: #2c2748; color: #fff; }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--ink-3); color: var(--ink); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: .9375rem; border-radius: 10px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgb(251 248 243 / .86);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand svg { width: 34px; height: 34px; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.45rem; letter-spacing: -0.02em; }
.nav { display: none; gap: 28px; }
.nav a { color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: .9688rem; }
.nav a:hover { color: var(--ink); }
@media (min-width: 860px) { .nav { display: flex; } }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: clamp(32px, 6vw, 72px); padding-bottom: clamp(56px, 8vw, 96px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 70vw; max-width: 900px; aspect-ratio: 1;
  background: radial-gradient(closest-side, rgb(91 52 224 / .14), transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; left: -15%; bottom: -30%; width: 60vw; max-width: 700px; aspect-ratio: 1;
  background: radial-gradient(closest-side, rgb(255 122 69 / .12), transparent 70%);
  pointer-events: none;
}
.hero-grid { position: relative; z-index: 1; display: grid; gap: 48px; align-items: center; }
@media (min-width: 980px) { .hero-grid { grid-template-columns: 1.02fr 1fr; gap: 56px; } }
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 8px; margin-bottom: 20px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
  font-size: .875rem; font-weight: 600; color: var(--ink-2); box-shadow: var(--shadow-sm);
}
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px var(--mint-50); }
.hero h1 { font-size: clamp(2.3rem, 5.2vw + .4rem, 3.7rem); line-height: 1.04; letter-spacing: -0.025em; }
.hl {
  background: linear-gradient(transparent 62%, var(--sun) 62%, var(--sun) 92%, transparent 92%);
  padding-inline: .06em; -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.hero-sub { margin-top: 20px; font-size: clamp(1.08rem, 1.3vw + .7rem, 1.25rem); color: var(--ink-2); max-width: 36em; }
.hero .signup { margin-top: 28px; max-width: 540px; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 22px; list-style: none; color: var(--ink-2); font-size: .9375rem; }
.trust li { display: inline-flex; align-items: center; gap: 7px; }
.trust svg { width: 18px; height: 18px; color: var(--mint-700); flex: none; }

/* Hero visual */
.hero-visual { position: relative; padding: 8px 0 28px; }
.float-card {
  position: absolute; z-index: 2; background: var(--surface); border-radius: 14px; box-shadow: var(--shadow-lg);
  border: 1px solid var(--line); padding: 10px 14px; display: flex; align-items: center; gap: 10px;
  font-size: .8125rem; line-height: 1.3; color: var(--ink);
}
.float-card b { display: block; font-size: .875rem; }
.float-card small { color: var(--ink-3); }
.float-card .ico { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.float-card .ico svg { width: 18px; height: 18px; }
.float-card.fc-booked { left: -6px; bottom: 6px; }
.float-card.fc-booked .ico { background: var(--violet-50); color: var(--violet); }
.float-card.fc-paid { right: -6px; top: 34%; }
.float-card.fc-paid .ico { background: var(--mint-50); color: var(--mint-700); }
@media (min-width: 980px) {
  .float-card.fc-booked { left: -36px; bottom: 0; }
  .float-card.fc-paid { right: -28px; }
}
@media (prefers-reduced-motion: no-preference) {
  .float-card { animation: floaty 6s ease-in-out infinite; }
  .float-card.fc-paid { animation-delay: -3s; }
}
@keyframes floaty { 50% { transform: translateY(-6px); } }

/* ---------- Audience strip ---------- */
.audience { padding-block: 28px; border-block: 1px solid var(--line); background: var(--surface); }
.audience-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; justify-content: center; }
.audience p { font-weight: 600; color: var(--ink-2); font-size: .9375rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; justify-content: center; }
.chips li {
  padding: 6px 12px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line);
  font-size: .875rem; font-weight: 600; color: var(--ink);
}

/* ---------- Signup ---------- */
.signup-row { display: flex; flex-direction: column; gap: 10px; }
@media (min-width: 520px) {
  .signup-row {
    flex-direction: row; gap: 6px; padding: 6px; background: var(--surface);
    border: 1.5px solid var(--line-2); border-radius: 16px; box-shadow: var(--shadow);
  }
  .signup-row:focus-within { border-color: var(--violet); box-shadow: 0 0 0 4px rgb(91 52 224 / .14), var(--shadow); }
  .signup-row .input { border: 0; box-shadow: none; min-height: 50px; }
  .signup-row .input:focus { outline: none; }
  .signup-row .btn { min-height: 50px; }
}
.input {
  flex: 1; min-width: 0; min-height: 54px; padding: 0 16px; border-radius: 12px;
  border: 1.5px solid var(--line-2); background: var(--surface); font-size: 1.0625rem;
}
.input::placeholder { color: #8a849c; }
.input:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 4px rgb(91 52 224 / .14); }
.input[aria-invalid="true"] { border-color: #c0262d; }
.signup-row .btn { min-height: 54px; padding: 0 26px; font-size: 1.0625rem; }
.free-note {
  display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: .9688rem; color: var(--ink);
}
.free-note svg { width: 20px; height: 20px; color: var(--mint-700); flex: none; }
.free-note strong { font-weight: 700; }
.consent { display: flex; align-items: flex-start; gap: 10px; margin-top: 12px; font-size: .875rem; color: var(--ink-2); cursor: pointer; }
.consent input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--violet); flex: none; }
.form-status { margin-top: 10px; font-size: .9375rem; min-height: 0; }
.form-status:empty { display: none; }
.form-status.is-error { color: #b4232a; font-weight: 600; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.ts-slot:empty { display: none; }
.ts-slot { margin-top: 10px; }

/* Thank-you state */
.signup-done {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 22px; box-shadow: var(--shadow); text-align: left;
}
@media (min-width: 520px) { .signup-done { padding: 28px; } }
.signup-done:focus { outline: none; }
.done-head { display: flex; gap: 14px; align-items: flex-start; }
.done-badge { width: 44px; height: 44px; border-radius: 50%; background: var(--mint-50); color: var(--mint-700); display: grid; place-items: center; flex: none; }
.done-badge svg { width: 24px; height: 24px; }
.signup-done h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; outline: none; }
.signup-done .done-head p { color: var(--ink-2); margin-top: 4px; font-size: .9688rem; overflow-wrap: anywhere; }
.qualify { margin-top: 20px; padding-top: 20px; border-top: 1px dashed var(--line-2); }
.qualify-title { font-weight: 700; }
.qualify-title span { font-weight: 400; color: var(--ink-3); }
.qualify fieldset { border: 0; padding: 0; margin: 16px 0 0; min-width: 0; }
.qualify legend { font-size: .875rem; font-weight: 700; color: var(--ink-2); margin-bottom: 8px; padding: 0; }
.tap-group { display: flex; flex-wrap: wrap; gap: 8px; }
.tap { position: relative; }
.tap input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.tap span {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px;
  border: 1.5px solid var(--line-2); background: var(--surface); font-size: .9375rem; font-weight: 600;
  transition: background-color .12s, border-color .12s, color .12s;
}
.tap input:hover + span { border-color: var(--ink-3); }
.tap input:checked + span { background: var(--violet); border-color: var(--violet); color: #fff; }
.tap input:focus-visible + span { outline: 3px solid var(--violet); outline-offset: 2px; }
.qualify-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 18px; }
.qualify-actions .linkish { background: none; border: 0; padding: 8px 2px; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; font-size: .9375rem; }
.qualify-thanks { margin-top: 18px; padding: 12px 14px; border-radius: 12px; background: var(--mint-50); color: var(--mint-700); font-weight: 600; }
.share { margin-top: 20px; padding: 16px; border-radius: 14px; background: var(--violet-50); }
.share p { font-size: .9688rem; }
.share-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.share-url { flex: 1 1 220px; min-width: 0; min-height: 44px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--violet-100); background: var(--surface); font-size: .9063rem; color: var(--ink-2); }
.share-status { margin-top: 8px; font-size: .875rem; color: var(--mint-700); font-weight: 600; }
.share-status:empty { display: none; }
.already { padding: 18px 20px; border-radius: var(--radius); background: var(--mint-50); color: var(--mint-700); font-weight: 600; }

/* ---------- Steps + walkthrough player ---------- */
.how { background: var(--surface); border-block: 1px solid var(--line); }
.how-grid { display: grid; gap: 32px; align-items: start; }
@media (min-width: 980px) { .how-grid { grid-template-columns: 380px 1fr; gap: 56px; align-items: center; } }
.steps { list-style: none; display: grid; gap: 10px; counter-reset: step; }
.step-btn {
  width: 100%; display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; text-align: left;
  padding: 16px; border-radius: var(--radius); border: 1.5px solid var(--line); background: var(--paper);
  transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.step-btn:hover { border-color: var(--line-2); }
.step-num {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  font-weight: 800; background: var(--surface); border: 1.5px solid var(--line-2); color: var(--ink-2);
  transition: background-color .2s, color .2s, border-color .2s;
}
.step-btn .st { display: block; font-weight: 700; font-size: 1.0625rem; line-height: 1.3; }
.step-btn .sd { display: block; margin-top: 4px; color: var(--ink-2); font-size: .9375rem; line-height: 1.5; }
.step-btn[aria-current="step"] { border-color: var(--violet); background: var(--violet-50); box-shadow: 0 0 0 4px rgb(91 52 224 / .08); }
.step-btn[aria-current="step"] .step-num { background: var(--violet); border-color: var(--violet); color: #fff; }
.how-foot { margin-top: 20px; color: var(--ink-2); font-size: .9375rem; }

.player { position: relative; }
.player-frame {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; background: #1e1a35;
  box-shadow: var(--shadow-lg); border: 1px solid #2c2748;
}
.player-screen { position: relative; aspect-ratio: 16 / 10; container-type: inline-size; background: var(--paper); overflow: hidden; }
.player-bar { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: #1e1a35; color: #e9e6f5; }
.segs { flex: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.seg { height: 4px; border-radius: 4px; background: rgb(255 255 255 / .2); overflow: hidden; --p: 0; }
.seg::after { content: ""; display: block; height: 100%; width: calc(var(--p) * 100%); background: #fff; }
.player-toggle {
  width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgb(255 255 255 / .12); color: #fff;
  display: grid; place-items: center; flex: none;
}
.player-toggle:hover { background: rgb(255 255 255 / .22); }
.player-toggle svg { width: 16px; height: 16px; }
.player-toggle .i-pause { display: none; }
.player.is-playing .player-toggle .i-pause { display: block; }
.player.is-playing .player-toggle .i-play { display: none; }
.player-label { font-size: .75rem; color: #b9b3d6; white-space: nowrap; }
.player-poster {
  position: absolute; inset: 0; z-index: 5; display: grid; place-items: center; border: 0; padding: 0;
  background: linear-gradient(180deg, rgb(23 20 43 / .15), rgb(23 20 43 / .55));
  color: #fff; transition: opacity .3s;
}
.player-poster .play {
  width: 76px; height: 76px; border-radius: 50%; background: #fff; color: var(--violet);
  display: grid; place-items: center; box-shadow: 0 10px 30px rgb(0 0 0 / .3); transition: transform .15s;
}
.player-poster:hover .play { transform: scale(1.06); }
.player-poster .play svg { width: 30px; height: 30px; margin-left: 4px; }
.player-poster .poster-text { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; font-weight: 700; text-shadow: 0 1px 8px rgb(0 0 0 / .4); }
.player.has-started .player-poster { opacity: 0; pointer-events: none; }
.player-caption { margin-top: 12px; font-size: .8125rem; color: var(--ink-3); text-align: center; }

/* Scenes: a mock app UI that animates per step. Base styles = final state, animations go "from" hidden. */
.scene {
  position: absolute; inset: 0; padding: 4.5cqi 5cqi; font-size: clamp(7px, 2.1cqi, 15px); line-height: 1.35;
  opacity: 0; visibility: hidden; transition: opacity .18s, visibility 0s .18s;
  display: flex; flex-direction: column;
}
.scene.is-active { opacity: 1; visibility: visible; transition: opacity .3s .15s; }
.scene-title { font-size: 1.55em; font-weight: 800; letter-spacing: -0.01em; }
.scene-sub { color: var(--ink-3); margin-top: .2em; }
.scene .a { animation: pop .5s cubic-bezier(.2,.8,.2,1) both; }
.scene .d1 { animation-delay: .3s; } .scene .d2 { animation-delay: .7s; } .scene .d3 { animation-delay: 1.1s; }
.scene .d4 { animation-delay: 1.6s; } .scene .d5 { animation-delay: 2.2s; } .scene .d6 { animation-delay: 2.9s; }
.scene .d7 { animation-delay: 3.6s; }
.player:not(.is-playing) .scene * { animation-play-state: paused !important; }
.player.is-static .scene *, .player.is-static .scene *::before, .player.is-static .scene *::after { animation: none !important; }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.98); } }
@keyframes slideIn { from { opacity: 0; transform: translateX(24px); } }
@media (prefers-reduced-motion: reduce) {
  .scene *, .scene *::before, .scene *::after { animation: none !important; }
}

.ui-card { background: var(--surface); border: 1px solid var(--line); border-radius: 1em; box-shadow: var(--shadow-sm); }
.ui-btn { display: inline-flex; align-items: center; gap: .4em; padding: .55em 1em; border-radius: .7em; background: var(--violet); color: #fff; font-weight: 700; }
.ui-field { display: flex; align-items: center; gap: .5em; padding: .65em .9em; border: 1.5px solid var(--line-2); border-radius: .7em; background: var(--surface); }
.ui-label { font-size: .85em; font-weight: 700; color: var(--ink-2); margin-bottom: .35em; }
.caret { display: inline-block; width: 1.5px; height: 1.1em; background: var(--violet); margin-left: 1px; vertical-align: -.15em; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* Scene 1 — templates */
.tpl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3cqi; margin-top: 3cqi; }
.tpl { border-radius: .9em; border: 2px solid var(--line); background: var(--surface); padding: .5em; position: relative; }
.tpl .tpl-top { height: 5.5em; border-radius: .55em; position: relative; overflow: hidden; }
.tpl .tpl-top::after { content: ""; position: absolute; left: .7em; bottom: .7em; width: 45%; height: .7em; background: rgb(255 255 255 / .85); border-radius: 1em; box-shadow: 0 -1.1em 0 -.1em rgb(255 255 255 / .55); }
.tpl .ln { height: .45em; border-radius: 1em; background: var(--line); margin-top: .5em; }
.tpl .ln.s { width: 60%; }
.tpl-name { font-size: .85em; font-weight: 700; margin-top: .5em; }
.tpl.t1 .tpl-top { background: linear-gradient(135deg, #0f766e, #34b3a5); }
.tpl.t2 .tpl-top { background: linear-gradient(135deg, #c2410c, #ff9a62); }
.tpl.t3 .tpl-top { background: linear-gradient(135deg, #312e81, #7c6cf0); }
.tpl.is-picked { border-color: var(--studio); box-shadow: 0 0 0 .3em var(--studio-50); }
.scene .tpl.is-picked { animation: pickTpl .4s ease both; animation-delay: 1.2s; }
@keyframes pickTpl { from { border-color: var(--line); box-shadow: none; } }
.tpl .check { position: absolute; top: -.6em; right: -.6em; width: 1.8em; height: 1.8em; border-radius: 50%; background: var(--studio); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: .85em; }
.name-row { display: grid; grid-template-columns: 1.3fr 1fr; gap: 3cqi; margin-top: 3.5cqi; align-items: end; }
.url-chip { display: inline-flex; gap: .4em; align-items: center; padding: .65em .9em; border-radius: .7em; background: var(--studio-50); color: var(--studio); font-weight: 700; }

/* Scene 2 — lessons */
.lesson-list { display: grid; gap: 1.6cqi; margin-top: 3cqi; }
.lesson { display: grid; grid-template-columns: 2.6em 1fr auto; gap: 1em; align-items: center; padding: .8em 1em; }
.lesson .l-ico { width: 2.6em; height: 2.6em; border-radius: .7em; display: grid; place-items: center; background: var(--studio-50); color: var(--studio); font-weight: 800; }
.lesson b { display: block; }
.lesson small { color: var(--ink-3); font-size: .9em; }
.price { font-weight: 800; font-size: 1.15em; }
.save-tag { display: inline-block; margin-left: .4em; padding: .1em .5em; border-radius: 1em; background: var(--coral-50); color: #a8370a; font-size: .8em; font-weight: 700; }
.add-row { margin-top: 2cqi; display: flex; justify-content: space-between; align-items: center; color: var(--ink-3); }

/* Scene 3 — availability + payments */
.avail { display: grid; grid-template-columns: 1.5fr 1fr; gap: 3cqi; margin-top: 3cqi; flex: 1; min-height: 0; }
.week { padding: 1em; display: grid; grid-template-columns: repeat(5, 1fr); gap: .5em; align-content: start; }
.week .dname { font-size: .8em; font-weight: 700; color: var(--ink-3); text-align: center; }
.slot { height: 1.9em; border-radius: .45em; background: var(--paper); border: 1px dashed var(--line-2); }
.slot.on { background: var(--studio-50); border: 1.5px solid var(--studio); }
.pay-card { padding: 1.1em; display: flex; flex-direction: column; gap: .7em; }
.pay-card .stripe-badge { width: 2.6em; height: 2.6em; border-radius: .7em; background: #635bff; color: #fff; display: grid; place-items: center; font-weight: 800; }
.pay-card small { color: var(--ink-3); }
.swap { position: relative; display: inline-grid; }
.swap > * { grid-area: 1 / 1; }
.swap .s-after { background: var(--mint); }
.scene .swap .s-before { animation: hideLate .2s ease both; animation-delay: 3.2s; }
.scene .swap .s-after { animation: showLate .3s ease both; animation-delay: 3.2s; }
.player.is-static .swap .s-before, .scene:not(.is-active) .swap .s-before { visibility: hidden; }
@keyframes hideLate { to { opacity: 0; visibility: hidden; } }
@keyframes showLate { from { opacity: 0; transform: scale(.9); } }
@media (prefers-reduced-motion: reduce) { .swap .s-before { visibility: hidden; } }

/* Scene 4 — share + booked */
.share-scene { display: grid; grid-template-columns: 1fr 1.15fr; grid-template-rows: minmax(0, 1fr); gap: 4cqi; align-items: center; flex: 1; margin-top: 2cqi; min-height: 0; }
.phone { height: 100%; max-height: 100%; width: auto; max-width: 100%; margin-inline: auto; aspect-ratio: 9 / 16.5; min-height: 0; border-radius: 2em; background: #1e1a35; padding: .55em; box-shadow: var(--shadow); }
.phone-inner { height: 100%; border-radius: 1.5em; background: var(--surface); overflow: hidden; display: flex; flex-direction: column; }
.phone-hero { background: linear-gradient(135deg, #0f766e, #34b3a5); color: #fff; padding: 1.4em .9em .9em; }
.phone-hero b { display: block; font-size: 1.05em; }
.phone-hero small { opacity: .9; font-size: .8em; }
.phone-body { padding: .8em; display: grid; gap: .5em; }
.ptime { display: grid; grid-template-columns: 1fr 1fr; gap: .4em; }
.ptime span { text-align: center; padding: .45em 0; border-radius: .5em; border: 1px solid var(--line-2); font-size: .8em; font-weight: 700; }
.ptime span.sel { background: var(--studio); border-color: var(--studio); color: #fff; }
.phone .ui-btn { justify-content: center; background: var(--studio); font-size: .85em; }
.toasts { display: grid; gap: 1.6cqi; }
.toast { display: flex; gap: .8em; align-items: center; padding: .8em 1em; }
.scene .toast.a { animation-name: slideIn; }
.toast .t-ico { width: 2.4em; height: 2.4em; border-radius: .7em; display: grid; place-items: center; flex: none; font-weight: 800; }
.toast b { display: block; }
.toast small { color: var(--ink-3); }
.t-violet { background: var(--violet-50); color: var(--violet); }
.t-mint { background: var(--mint-50); color: var(--mint-700); }
.t-coral { background: var(--coral-50); color: #a8370a; }
.link-chip { display: flex; align-items: center; justify-content: space-between; gap: .6em; padding: .6em .6em .6em 1em; }
.link-chip span { font-weight: 700; color: var(--studio); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.link-chip i { font-style: normal; font-size: .85em; padding: .35em .8em; border-radius: .5em; background: var(--ink); color: #fff; font-weight: 700; flex: none; }

/* ---------- Feature showcase ---------- */
.features { display: grid; gap: clamp(56px, 8vw, 96px); }
.feature { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) {
  .feature { grid-template-columns: 1fr 1.25fr; gap: 64px; }
  .feature:nth-child(even) .feature-copy { order: 2; }
}
.feature-copy .kicker { font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--violet-700); }
.feature-copy h3 { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-top: 10px; line-height: 1.15; }
.feature-copy > p { margin-top: 14px; color: var(--ink-2); }
.ticks { list-style: none; margin-top: 18px; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; border-radius: 50%;
  background: var(--mint-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%230b7a5c' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.5 10.5l3 3 6-7'/%3E%3C/svg%3E") center / 16px no-repeat;
}

/* A "screenshot". Swap .mock for <img src="/assets/screens/…png"> when real screenshots exist. */
.shot { position: relative; margin: 0; container-type: inline-size; }
.shot > img { width: 100%; height: auto; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.shot-tag {
  position: absolute; top: 12px; right: 12px; z-index: 3; padding: 4px 10px; border-radius: 999px;
  background: rgb(23 20 43 / .72); color: #fff; font-size: .75rem; font-weight: 600; letter-spacing: .02em;
  backdrop-filter: blur(4px);
}
@media (max-width: 519px) { .shot-tag { top: 8px; right: 8px; padding: 2px 8px; font-size: .6875rem; } }
.mock {
  font-size: clamp(7.5px, 2.15cqi, 14px); line-height: 1.4; color: var(--ink);
  background: var(--surface); border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-lg);
}
.mock * { min-width: 0; }
.browser-bar { display: flex; align-items: center; gap: .9em; padding: .8em 1em; background: #f1ede6; border-bottom: 1px solid var(--line); }
.dots { display: flex; gap: .4em; }
.dots i { width: .8em; height: .8em; border-radius: 50%; background: #e0d9cc; }
.dots i:nth-child(1) { background: #ff8a7a; } .dots i:nth-child(2) { background: #ffc85c; } .dots i:nth-child(3) { background: #5fd38a; }
.url { flex: 1; max-width: 28em; margin-inline: auto; padding: .35em .9em; border-radius: .6em; background: var(--surface); color: var(--ink-3); font-size: .9em; text-align: center; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.url b { color: var(--ink); font-weight: 600; }
.app-shell { display: grid; grid-template-columns: 11.5em 1fr; min-height: 26em; }
.side { background: #faf8f4; border-right: 1px solid var(--line); padding: 1.1em .8em; display: flex; flex-direction: column; gap: .25em; }
.side .s-brand { display: flex; align-items: center; gap: .5em; font-weight: 800; padding: 0 .4em .9em; }
.side .s-brand i { width: 1.6em; height: 1.6em; border-radius: .45em; background: var(--studio); flex: none; }
.side a, .side span.nav-i { display: block; padding: .45em .6em; border-radius: .5em; color: var(--ink-2); text-decoration: none; font-weight: 600; }
.side .on { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); }
.main { padding: 1.4em 1.6em; display: flex; flex-direction: column; gap: 1.1em; }
.main-head { display: flex; justify-content: space-between; align-items: center; gap: 1em; }
.main-head h4 { font-size: 1.45em; font-weight: 800; letter-spacing: -0.01em; }
.main-head small { color: var(--ink-3); }
@container (max-width: 480px) {
  .app-shell { grid-template-columns: 1fr; }
  .side { display: none; }
}

/* Mock: teacher website */
.site-nav { display: flex; align-items: center; justify-content: space-between; padding: 1em 1.6em; }
.site-logo { display: flex; align-items: center; gap: .55em; font-weight: 800; color: var(--studio); font-size: 1.1em; }
.site-logo i { width: 1.8em; height: 1.8em; border-radius: 50%; background: var(--studio); display: grid; place-items: center; color: #fff; font-style: normal; font-size: .85em; }
.site-links { display: flex; gap: 1.4em; color: var(--ink-2); font-weight: 600; }
.site-links b { color: #fff; background: var(--studio); padding: .45em .9em; border-radius: .6em; }
@container (max-width: 420px) { .site-links span { display: none; } }
.site-hero { display: grid; grid-template-columns: 1.15fr 1fr; gap: 1.6em; padding: 1.6em 1.6em 2em; background: var(--studio-50); align-items: center; }
.site-hero h5 { font-family: var(--font-display); font-weight: 600; font-size: 2.1em; line-height: 1.08; letter-spacing: -0.02em; margin: 0; }
.site-hero p { color: var(--ink-2); margin-top: .7em; }
.site-hero .cta { display: inline-block; margin-top: 1em; padding: .65em 1.1em; border-radius: .6em; background: var(--studio); color: #fff; font-weight: 700; }
.site-photo { aspect-ratio: 4 / 3.2; border-radius: 1em; position: relative; overflow: hidden; background: linear-gradient(160deg, #134e4a, #0f766e 55%, #5eead4); }
.site-photo::before { /* piano keys */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 42%;
  background:
    repeating-linear-gradient(90deg, transparent 0 6.5%, #111 6.5% 10.5%, transparent 10.5% 14.28%) top / 100% 58% no-repeat,
    repeating-linear-gradient(90deg, #fdfdfd 0 calc(14.28% - 1px), #c9c9c9 calc(14.28% - 1px) 14.28%);
  border-top: 3px solid #0b3b38;
}
.site-photo::after { content: "♪"; position: absolute; top: 14%; right: 16%; color: rgb(255 255 255 / .8); font-size: 3em; line-height: 1; }
.site-photo.guitar { background: radial-gradient(circle at 50% 58%, #2a1408 0 17%, #e9b97a 17.5% 20%, transparent 20.5%), linear-gradient(160deg, #9a3412, #d97706 60%, #fbbf24); }
.site-photo.guitar::before { /* strings */
  left: 36%; right: 36%; top: 0; bottom: 0; height: auto; border: 0;
  background: repeating-linear-gradient(90deg, rgb(255 255 255 / .85) 0 1px, transparent 1px 16.6%);
}
.site-photo.guitar::after { content: ""; top: 84%; left: 30%; right: 30%; height: 6%; border-radius: .2em; background: #2a1408; font-size: 0; }
.site-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1em; padding: 1.4em 1.6em 1.6em; }
.site-card { border: 1px solid var(--line); border-radius: .9em; padding: .9em; }
.site-card b { display: block; }
.site-card small { color: var(--ink-3); display: block; margin-top: .2em; }
.site-card .p { margin-top: .6em; font-weight: 800; color: var(--studio); }

/* Mock: booking */
.booking { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4em; padding: 1.6em; }
.cal-head { display: flex; justify-content: space-between; align-items: center; font-weight: 800; margin-bottom: .8em; }
.cal-head span { color: var(--ink-3); font-weight: 600; letter-spacing: .3em; }
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: .3em; text-align: center; }
.cal .dn { font-size: .8em; color: var(--ink-3); font-weight: 700; padding-bottom: .2em; }
.cal .d { padding: .5em 0; border-radius: .5em; font-weight: 600; color: #b9b3c8; }
.cal .d.av { color: var(--ink); background: var(--studio-50); }
.cal .d.sel { background: var(--studio); color: #fff; }
.times { display: grid; gap: .55em; }
.times .t { padding: .65em; border-radius: .6em; border: 1.5px solid var(--line-2); text-align: center; font-weight: 700; }
.times .t.sel { border-color: var(--studio); background: var(--studio-50); color: var(--studio); }
.times .t.off { color: #b9b3c8; border-style: dashed; text-decoration: line-through; }
.book-summary { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 1em; padding: 1em 1.1em; border-radius: .9em; background: var(--paper); border: 1px solid var(--line); }
.book-summary small { color: var(--ink-3); display: block; }
.book-summary .ui-btn { background: var(--studio); }

/* Mock: student record */
.student-head { display: flex; gap: 1em; align-items: center; }
.avatar { width: 3.4em; height: 3.4em; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; background: linear-gradient(135deg, #f59e0b, #f97316); flex: none; }
.avatar.sm { width: 2.2em; height: 2.2em; font-size: .85em; background: linear-gradient(135deg, #6366f1, #8b5cf6); }
.student-head small { color: var(--ink-3); }
.tag { display: inline-block; padding: .15em .6em; border-radius: 1em; background: var(--studio-50); color: var(--studio); font-weight: 700; font-size: .85em; }
.parent-row { display: flex; align-items: center; gap: .7em; padding: .7em .9em; border-radius: .8em; background: var(--paper); border: 1px solid var(--line); }
.parent-row small { color: var(--ink-3); display: block; }
.tabs { display: flex; gap: 1.4em; border-bottom: 1px solid var(--line); font-weight: 700; color: var(--ink-3); }
.tabs span { padding-bottom: .6em; }
.tabs .on { color: var(--ink); box-shadow: inset 0 -2px 0 var(--violet); }
.rec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1em; }
.note-card { padding: .9em 1em; border-radius: .8em; border: 1px solid var(--line); }
.note-card small { color: var(--ink-3); font-weight: 700; display: block; margin-bottom: .3em; }
.hw { list-style: none; display: grid; gap: .5em; }
.hw li { display: flex; gap: .6em; align-items: flex-start; }
.box { width: 1.25em; height: 1.25em; border-radius: .35em; border: 1.5px solid var(--line-2); flex: none; margin-top: .05em; display: grid; place-items: center; font-size: .8em; font-weight: 900; color: #fff; }
.box.done { background: var(--mint); border-color: var(--mint); }
.hw li.d-done span { color: var(--ink-3); text-decoration: line-through; }
.practice { display: flex; align-items: flex-end; gap: .35em; height: 3em; margin-top: .4em; }
.practice i { flex: 1; background: var(--violet-100); border-radius: .25em .25em 0 0; }
.practice i.hi { background: var(--violet); }

/* Mock: payments dashboard */
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1em; }
.kpi { padding: .9em 1em; border-radius: .9em; border: 1px solid var(--line); }
.kpi small { color: var(--ink-3); font-weight: 700; display: block; }
.kpi b { display: block; font-size: 1.55em; letter-spacing: -0.02em; margin-top: .15em; }
.kpi .up { color: var(--mint-700); font-weight: 700; font-size: .85em; }
.chart { display: grid; grid-template-columns: repeat(12, 1fr); align-items: end; gap: .45em; height: 7.5em; padding: .9em 1em .6em; border-radius: .9em; border: 1px solid var(--line); }
.chart i { background: var(--violet-100); border-radius: .3em .3em 0 0; }
.chart i:last-child { background: var(--violet); }
.pay-list { display: grid; gap: .1em; }
.pay-row { display: grid; grid-template-columns: 1fr auto auto; gap: 1em; align-items: center; padding: .55em .2em; border-bottom: 1px solid var(--line); }
.pay-row:last-child { border-bottom: 0; }
.pay-row small { color: var(--ink-3); display: block; }
.status { padding: .2em .6em; border-radius: 1em; font-size: .8em; font-weight: 700; }
.status.paid { background: var(--mint-50); color: var(--mint-700); }
.status.due { background: var(--coral-50); color: #a8370a; }

/* Mock: digital product */
.product { display: grid; grid-template-columns: 1fr 1.1fr; gap: 1.6em; padding: 1.6em; align-items: start; }
.cover { aspect-ratio: 1; border-radius: 1em; padding: 1.2em; display: flex; flex-direction: column; justify-content: space-between; color: #fff;
  background: radial-gradient(circle at 80% 15%, rgb(255 255 255 / .25), transparent 40%), linear-gradient(150deg, #7c2d12, #c2410c 50%, #fb923c); }
.cover small { font-weight: 700; letter-spacing: .12em; text-transform: uppercase; opacity: .9; font-size: .75em; }
.cover b { font-family: var(--font-display); font-weight: 600; font-size: 1.9em; line-height: 1.05; }
.cover .staff { height: 2.4em; background: repeating-linear-gradient(transparent 0 .42em, rgb(255 255 255 / .55) .42em calc(.42em + 1px)); position: relative; }
.cover .staff::after { content: "♩ ♪ ♫ ♩"; position: absolute; left: 10%; top: -.1em; font-size: 1.6em; letter-spacing: .5em; }
.product h5 { font-size: 1.5em; font-weight: 800; margin: 0; letter-spacing: -0.01em; line-height: 1.2; }
.fmt { display: flex; flex-wrap: wrap; gap: .4em; margin-top: .7em; }
.fmt span { padding: .2em .6em; border-radius: 1em; background: var(--paper); border: 1px solid var(--line); font-size: .85em; font-weight: 600; }
.product p { color: var(--ink-2); margin-top: .8em; }
.buy-row { display: flex; align-items: center; gap: 1em; margin-top: 1.1em; }
.buy-row .big { font-size: 1.8em; font-weight: 800; letter-spacing: -0.02em; }
.buy-row .ui-btn { background: var(--studio); }
.sale-toast { display: flex; gap: .7em; align-items: center; margin-top: 1.1em; padding: .7em .9em; border-radius: .8em; border: 1px solid var(--line); box-shadow: var(--shadow); }
.sale-toast small { color: var(--ink-3); display: block; }

/* ---------- Benefits ---------- */
.benefits { display: grid; gap: 16px; }
@media (min-width: 700px) { .benefits { grid-template-columns: 1fr 1fr; gap: 20px; } }
.benefit { padding: 28px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
.benefit .b-ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px; }
.benefit .b-ico svg { width: 24px; height: 24px; }
.benefit h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; }
.benefit > p { margin-top: 10px; color: var(--ink-2); }
.benefit .ticks { margin-top: 16px; font-size: .9688rem; }
.bi-1 { background: var(--violet-50); color: var(--violet); }
.bi-2 { background: var(--coral-50); color: #c2410c; }
.bi-3 { background: var(--mint-50); color: var(--mint-700); }
.bi-4 { background: #fff7db; color: #9a6700; }

/* ---------- Not-a-marketplace band ---------- */
.band { background: var(--ink); color: #fff; border-radius: var(--radius-lg); padding: clamp(28px, 5vw, 56px); display: grid; gap: 28px; position: relative; overflow: hidden; }
.band::after { content: ""; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(closest-side, rgb(91 52 224 / .55), transparent); pointer-events: none; }
@media (min-width: 900px) { .band { grid-template-columns: 1fr 1.7fr; align-items: center; gap: 40px; } }
.band h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.band > div > p { margin-top: 12px; color: #cfcae3; }
.band-points { list-style: none; display: grid; gap: 14px; position: relative; z-index: 1; }
@media (min-width: 640px) and (max-width: 899px), (min-width: 1100px) { .band-points { grid-template-columns: 1fr 1fr 1fr; } }
.band-points li { padding: 18px; border-radius: var(--radius); background: rgb(255 255 255 / .06); border: 1px solid rgb(255 255 255 / .1); }
.band-points b { display: block; font-size: 1.0625rem; }
.band-points span { display: block; margin-top: 6px; color: #cfcae3; font-size: .9375rem; line-height: 1.5; }

/* ---------- Pricing ---------- */
.plans { display: grid; gap: 14px; }
@media (min-width: 640px) { .plans { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .plans { grid-template-columns: 1.2fr repeat(4, 1fr); gap: 12px; } }
.plan { position: relative; padding: 24px 20px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; }
.plan h3 { font-size: 1.0625rem; }
.plan .students { margin-top: 4px; color: var(--ink-2); font-size: .9375rem; font-weight: 600; }
.plan .amt { margin-top: 16px; font-size: 2.2rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.plan .amt small { font-size: .9375rem; font-weight: 600; color: var(--ink-3); letter-spacing: 0; }
.plan .amt .from { display: block; font-size: .8125rem; font-weight: 700; color: var(--ink-3); letter-spacing: 0; margin-bottom: 4px; }
.plan ul { list-style: none; margin-top: 18px; display: grid; gap: 8px; font-size: .9375rem; color: var(--ink-2); }
.plan ul li { padding-left: 22px; position: relative; }
.plan ul li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 10px; height: 6px; border-left: 2px solid var(--mint-700); border-bottom: 2px solid var(--mint-700); transform: rotate(-45deg); }
.plan.free { background: var(--violet); border-color: var(--violet); color: #fff; box-shadow: var(--shadow-lg); }
.plan.free .students, .plan.free ul { color: #ece6ff; }
.plan.free .amt small { color: #ddd3ff; }
.plan.free ul li::before { border-color: #fff; }
.plan.free .btn { margin-top: 22px; background: #fff; color: var(--violet-700); }
.plan.free .btn:hover { background: var(--violet-50); }
.plan .badge { align-self: flex-start; margin-bottom: 12px; padding: 4px 10px; border-radius: 999px; background: var(--sun); color: var(--ink); font-size: .75rem; font-weight: 800; letter-spacing: .02em; }
.pricing-note { margin-top: 20px; color: var(--ink-3); font-size: .9063rem; text-align: center; max-width: 720px; margin-inline: auto; }

/* ---------- FAQ ---------- */
.faq { max-width: 800px; margin-inline: auto; display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.faq details[open] { border-color: var(--line-2); box-shadow: var(--shadow-sm); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 20px; font-weight: 700; font-size: 1.0625rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; width: 12px; height: 12px; flex: none; border-right: 2.5px solid var(--ink-3); border-bottom: 2.5px solid var(--ink-3);
  transform: rotate(45deg) translate(-3px, -3px); transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(225deg) translate(-3px, -3px); }
.faq .answer { padding: 0 20px 20px; color: var(--ink-2); }
.faq .answer p + p { margin-top: 10px; }

/* ---------- Final CTA ---------- */
.final { padding-bottom: clamp(64px, 9vw, 112px); }
.final-card {
  position: relative; overflow: hidden; border-radius: 28px; padding: clamp(32px, 6vw, 72px) clamp(20px, 5vw, 64px);
  background: linear-gradient(135deg, #2a1a7a, var(--violet) 60%, #7a5cff); color: #fff; text-align: center;
}
.final-card::before, .final-card::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.final-card::before { width: 360px; height: 360px; left: -120px; bottom: -180px; background: radial-gradient(closest-side, rgb(255 122 69 / .5), transparent); }
.final-card::after { width: 300px; height: 300px; right: -100px; top: -140px; background: radial-gradient(closest-side, rgb(255 209 102 / .4), transparent); }
.final-card > * { position: relative; z-index: 1; }
.final-card h2 { font-size: clamp(2rem, 4.6vw, 3.2rem); }
.final-card > p { margin: 14px auto 0; max-width: 34em; color: #e7e1ff; font-size: 1.125rem; }
.final-card .signup { max-width: 560px; margin: 28px auto 0; text-align: left; }
.final-card .free-note, .final-card .consent { color: #fff; }
.final-card .consent { color: #e7e1ff; }
.final-card .free-note svg { color: var(--sun); }
.final-card .form-status.is-error { color: #ffe1dc; }
.final-card .signup-done, .final-card .already { color: var(--ink); }
.final-card .signup-row .input { border-color: transparent; }
@media (min-width: 520px) { .final-card .signup-row { border-color: transparent; } }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding-block: 36px; font-size: .9375rem; color: var(--ink-2); }
.footer-inner { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; list-style: none; }
.footer-links a { color: var(--ink-2); }
.footer-links a:hover { color: var(--ink); }

/* ---------- Simple content pages (privacy, thanks, 404) ---------- */
.prose { max-width: 720px; margin-inline: auto; padding-block: clamp(40px, 7vw, 80px); }
.prose h1 { font-size: clamp(2.2rem, 5vw, 3rem); }
.prose h2 { font-size: 1.5rem; margin-top: 40px; }
.prose p, .prose ul { margin-top: 14px; color: var(--ink-2); }
.prose ul { padding-left: 1.3em; }
.prose li + li { margin-top: 6px; }
.prose .lede { font-size: 1.15rem; }
.prose table { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: .9375rem; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.prose th { color: var(--ink); }
.prose td { color: var(--ink-2); }
.table-wrap { overflow-x: auto; }

/* ---------- Mobile apps ("Run your studio from your phone") ---------- */
.pocket { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .pocket { grid-template-columns: 1fr 1.1fr; gap: 64px; } }
.pocket-copy h2 { font-size: clamp(2rem, 4.2vw, 3rem); }
.pocket-lede { margin-top: 16px; color: var(--ink-2); font-size: 1.125rem; }
.pocket-phones { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 3vw, 28px); max-width: 560px; margin-inline: auto; width: 100%; }
.pocket-phones::before {
  content: ""; position: absolute; inset: 10% -6% 0; z-index: 0; border-radius: 40% 40% 32px 32px;
  background: radial-gradient(closest-side, rgb(91 52 224 / .16), transparent 75%); pointer-events: none;
}
.device { position: relative; z-index: 1; margin: 0; container-type: inline-size; }
.device + .device { margin-top: 48px; } /* second phone sits a little lower */
.device > img { width: 100%; height: auto; border-radius: 13cqi; box-shadow: var(--shadow-lg); }
.device figcaption { margin-top: 14px; text-align: center; font-size: .875rem; font-weight: 700; color: var(--ink-2); }
.device-frame {
  aspect-ratio: 9 / 19; border-radius: 13cqi; padding: 3.2cqi; background: #17142b;
  box-shadow: var(--shadow-lg), inset 0 0 0 1.5px #3a3556;
}
.device-screen {
  height: 100%; border-radius: 10cqi; overflow: hidden; background: var(--paper); position: relative;
  display: flex; flex-direction: column; font-size: clamp(6.5px, 5.4cqi, 13px); line-height: 1.3; color: var(--ink);
}
.d-status { display: flex; justify-content: space-between; align-items: center; padding: 1.1em 1.5em .5em; font-weight: 700; font-size: .85em; }
.d-island { width: 30%; height: 1.5em; border-radius: 1em; background: #17142b; }
.d-push {
  margin: .3em .7em .2em; padding: .7em .8em; border-radius: 1.1em; display: flex; gap: .6em; align-items: center;
  background: rgb(255 255 255 / .92); box-shadow: 0 .4em 1.2em rgb(23 20 43 / .16); border: 1px solid var(--line);
}
.d-push b, .d-toast b, .d-row b { display: block; }
.d-push small, .d-toast small, .d-row small, .d-kpis small, .d-hello small { color: var(--ink-3); display: block; }
.d-appicon { width: 2.2em; height: 2.2em; border-radius: .6em; background: var(--violet); color: #fff; display: grid; place-items: center; font-weight: 800; flex: none; }
.d-body { flex: 1; min-height: 0; padding: .6em .9em; display: flex; flex-direction: column; gap: .55em; overflow: hidden; }
.d-hello b { font-size: 1.25em; letter-spacing: -0.01em; }
.d-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: .5em; }
.d-kpis > div { background: var(--surface); border: 1px solid var(--line); border-radius: .9em; padding: .6em .7em; }
.d-kpis b { font-size: 1.35em; letter-spacing: -0.02em; }
.d-section { font-size: .8em; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); margin-top: .2em; }
.d-row { display: grid; grid-template-columns: 2.6em 1fr auto; gap: .5em; align-items: center; padding: .5em .6em; border-radius: .8em; background: var(--surface); border: 1px solid var(--line); }
.d-row.is-new { border-color: var(--violet); background: var(--violet-50); }
.d-time { font-weight: 800; font-size: .9em; }
.d-dot { width: .6em; height: .6em; border-radius: 50%; background: var(--mint); }
.d-tag { font-style: normal; font-size: .75em; font-weight: 800; padding: .2em .55em; border-radius: 1em; background: var(--violet); color: #fff; }
.d-toast { display: flex; gap: .6em; align-items: center; margin-top: auto; padding: .6em .7em; border-radius: 1em; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 .4em 1.2em rgb(23 20 43 / .12); }
.d-ico { width: 2.2em; height: 2.2em; border-radius: .6em; display: grid; place-items: center; font-weight: 800; background: var(--mint-50); color: var(--mint-700); flex: none; }
.d-tabs { display: flex; justify-content: space-around; padding: .8em .4em 1.3em; border-top: 1px solid var(--line); background: var(--surface); font-size: .75em; font-weight: 700; color: var(--ink-3); }
.d-tabs .on { color: var(--violet-700); }
.d-hero { margin: .3em .7em 0; padding: .9em 1em; border-radius: 1.1em; background: linear-gradient(135deg, #0f766e, #34b3a5); color: #fff; }
.d-hero small { display: block; opacity: .9; font-size: .85em; }
.d-hero b { display: block; font-size: 1.45em; letter-spacing: -0.01em; margin: .1em 0; }
.d-hw { display: flex; gap: .55em; align-items: center; padding: .45em .6em; border-radius: .7em; background: var(--surface); border: 1px solid var(--line); }
.d-hw .box { width: 1.3em; height: 1.3em; }
.d-record {
  margin-top: .3em; display: flex; align-items: center; justify-content: center; gap: .6em; padding: 1em; border-radius: 1.2em;
  background: #d92d3a; color: #fff; font-weight: 800; font-size: 1.15em; box-shadow: 0 .5em 1.2em rgb(217 45 58 / .35);
}
.d-rec-dot { width: 1em; height: 1em; border-radius: 50%; background: #fff; box-shadow: 0 0 0 .25em rgb(255 255 255 / .35); }
.d-feedback { padding: .6em .7em; border-radius: 1em 1em 1em .3em; background: var(--violet-50); border: 1px solid var(--violet-100); font-size: .9em; }
.d-feedback small { display: block; font-weight: 700; color: var(--violet-700); margin-bottom: .2em; }
@media (prefers-reduced-motion: no-preference) {
  .d-push { animation: floaty 6s ease-in-out infinite; }
  .d-rec-dot { animation: recPulse 1.6s ease-in-out infinite; }
}
@keyframes recPulse { 50% { box-shadow: 0 0 0 .5em rgb(255 255 255 / .15); } }

/* ---------- Founder review additions ---------- */
.plan .fee { margin-top: 6px; font-size: .875rem; font-weight: 700; color: var(--ink-2); }
.plan.free .fee { color: #ece6ff; }
.plan ul em { font-style: normal; color: var(--ink-3); font-size: .875em; }
.done-cta { margin-top: 18px; width: 100%; min-height: 52px; font-size: 1.0625rem; }
@media (min-width: 520px) { .done-cta { width: auto; } }
.app-link-row { margin-top: 18px; color: #e7e1ff; font-size: .9688rem; }
.app-link-row a { color: #fff; font-weight: 700; }
.app-link-row a:hover { color: var(--sun); }
.already a { color: var(--mint-700); font-weight: 700; }
