/* eLearning Express Studio website: design system and components.
   Tokens first, then base, layout, components, page sections and motion.
   Orange leads, green is secondary; light only (owner, 2026-10-25: no dark look anywhere). */

/* ── Tokens ─────────────────────────────────────────────── */
:root {
  /* Brand */
  --orange-300: #FFA526;
  --orange-400: #FF8A1F;
  --orange-500: #F25C05;
  --orange-ink: #B93E00;          /* orange text on light: 5.4:1 */
  --green-500: #2E7D32;
  --green-ink: #1F7A35;
  --brand-gradient: linear-gradient(135deg, var(--orange-300), var(--orange-500));

  /* Light theme (default) */
  --bg: #FFFBF6;
  --bg-alt: #FFF3E6;
  --surface: #FFFFFF;
  --surface-2: #FBF6F0;
  --ink: #1B1712;
  --ink-2: #3D352D;
  --muted: #5C5248;
  --line: #EADFD3;
  --line-strong: #D6C7B7;
  --accent: var(--orange-ink);
  --accent-2: var(--green-ink);
  --focus: #1D6FE0;
  --shadow-1: 0 1px 2px rgb(60 35 10 / 6%), 0 2px 8px rgb(60 35 10 / 6%);
  --shadow-2: 0 2px 6px rgb(60 35 10 / 8%), 0 18px 40px -12px rgb(60 35 10 / 22%);
  --chip-bg: #FFF0E0;
  --chip-ink: #8A3200;
  --ok-bg: #EAF6EC;
  --ok-ink: #1F6A2E;
  --warn-bg: #FFF4D6;
  --warn-ink: #7A4B00;
  --err-ink: #B42318;

  /* Type */
  /* Segoe UI on Windows; the closest system faces elsewhere (San Francisco on Apple, Roboto on Android). No downloads. */
  --font: "Segoe UI Variable Text", "Segoe UI", -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Segoe UI Variable Display", "Segoe UI", -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-condensed: "Avenir Next Condensed", "Avenir Next", "Segoe UI Semibold", "Arial Narrow", sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --fs-xs: 0.8125rem;
  --fs-sm: 0.9375rem;
  --fs-md: 1.0625rem;
  --fs-lg: clamp(1.125rem, 1.05rem + 0.35vw, 1.3125rem);
  --fs-xl: clamp(1.375rem, 1.2rem + 0.8vw, 1.75rem);
  --fs-2xl: clamp(1.75rem, 1.4rem + 1.6vw, 2.5rem);
  --fs-3xl: clamp(2.25rem, 1.6rem + 3vw, 4rem);
  --lh-tight: 1.1;
  --lh: 1.6;

  /* Space (4 px base) */
  --s1: 0.25rem; --s2: 0.5rem; --s3: 0.75rem; --s4: 1rem; --s5: 1.5rem;
  --s6: 2rem; --s7: 3rem; --s8: 4rem; --s9: 6rem; --s10: 8rem;
  --gutter: clamp(1rem, 0.6rem + 2vw, 2rem);
  --section: clamp(3rem, 2.4rem + 3.6vw, 5.5rem);
  --max: 72rem;
  --max-text: 40rem;

  /* Shape */
  --r-sm: 8px; --r: 14px; --r-lg: 22px; --r-pill: 999px;

  /* Motion */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --t-fast: 160ms; --t: 320ms; --t-slow: 700ms;

  color-scheme: light;
}

/* ── Base ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 5rem; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 var(--fs-md)/var(--lh) var(--font);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video, picture { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4 { margin: 0 0 var(--s4); font-family: var(--font-display); font-weight: 600; line-height: var(--lh-tight); letter-spacing: -0.015em; text-wrap: balance; }
h1 { font-size: var(--fs-3xl); letter-spacing: -0.025em; }
h2 { font-size: var(--fs-2xl); }
h3 { font-size: var(--fs-xl); }
h4 { font-size: var(--fs-lg); }
p { margin: 0 0 var(--s4); text-wrap: pretty; }
a { color: var(--accent); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--orange-300); color: #1B1209; }
hr { border: 0; border-top: 1px solid var(--line); margin: var(--s7) 0; }
small { font-size: var(--fs-sm); }
code { font-family: var(--mono); font-size: 0.9em; background: var(--surface-2); padding: 0.1em 0.35em; border-radius: 4px; }

.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 { position: absolute; left: var(--s4); top: -4rem; z-index: 100; padding: var(--s2) var(--s4); background: var(--ink); color: var(--bg); border-radius: var(--r-sm); font-weight: 600; text-decoration: none; }
.skip:focus { top: var(--s4); }

/* ── Layout ─────────────────────────────────────────────── */
.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.wrap-text { width: min(100% - 2 * var(--gutter), var(--max-text)); margin-inline: auto; }
.section { padding-block: var(--section); }
.section-tight { padding-block: calc(var(--section) * 0.6); }
.alt { background: var(--bg-alt); }
/* Two sections in a row on the same background read as one: don't double the gap. */
:is(.section, .section-tight):is(.alt, .night) + :is(.section, .section-tight):is(.alt, .night),
:is(.section, .section-tight):not(.alt, .night) + :is(.section, .section-tight):not(.alt, .night) { padding-top: 0; }
.night {
  /* A warm, bright panel (was a dark band): cream with an orange glow, like the features sheet. */
  background: radial-gradient(70% 90% at 100% 0%, rgb(255 165 38 / 16%), transparent 70%), radial-gradient(60% 80% at 0% 100%, rgb(46 125 50 / 7%), transparent 70%), var(--bg-alt);
}
.grid { display: grid; gap: var(--s5); }
.cols-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); }
.cols-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }
.cols-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); }
.split { display: grid; gap: var(--s7); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1.15fr; }
  .split.flip > :first-child { order: 2; }
}
.stack > * + * { margin-top: var(--s4); }
.center { text-align: center; }
.center .lead, .center .eyebrow { margin-inline: auto; }

/* Section heads */
.eyebrow { display: inline-flex; align-items: center; gap: var(--s2); margin-bottom: var(--s3); font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.lead { font-size: var(--fs-lg); color: var(--ink-2); max-width: 38rem; }
.head { margin-bottom: var(--s7); }
.head h2 { max-width: 22ch; }
.center .head h2, .head.center h2 { margin-inline: auto; }
.muted { color: var(--muted); }

/* ── Header ─────────────────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid color-mix(in srgb, var(--line) 50%, transparent); transition: border-color var(--t) var(--ease); }
.site-header.scrolled { border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: var(--s5); min-height: 4.25rem; }
.logo { display: inline-flex; flex: none; color: var(--ink); }
.logo svg { width: auto; height: 2.1rem; }
.nav { display: flex; align-items: center; gap: var(--s1); margin-left: auto; }
.nav a { padding: var(--s2) var(--s3); border-radius: var(--r-pill); color: var(--ink-2); font-size: var(--fs-sm); font-weight: 500; text-decoration: none; white-space: nowrap; }
.nav a:hover { color: var(--ink); background: var(--surface-2); }
.nav a[aria-current="page"] { color: var(--ink); font-weight: 650; }
.header-actions { display: flex; align-items: center; gap: var(--s2); }
.btn.menu-toggle { display: none; }
@media (max-width: 1080px) {
  .nav, .header-actions .btn-secondary { display: none; }
  .btn.menu-toggle { display: inline-flex; margin-left: auto; }
  .header-actions { margin-left: 0; }
}
.mobile-nav { position: fixed; inset: 4.25rem 0 0; z-index: 49; padding: var(--s5) var(--gutter) var(--s7); overflow-y: auto; background: var(--bg); border-top: 1px solid var(--line); }
.mobile-nav[hidden] { display: none; }
.mobile-nav a:not(.btn) { display: block; padding: var(--s4) 0; border-bottom: 1px solid var(--line); color: var(--ink); font-size: var(--fs-lg); font-weight: 600; text-decoration: none; }
.mobile-nav .btn { width: 100%; margin-top: var(--s4); }

/* ── Buttons ────────────────────────────────────────────── */
.btn {
  --btn-bg: var(--surface); --btn-ink: var(--ink); --btn-line: var(--line-strong);
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  min-height: 2.875rem; padding: 0.7rem 1.25rem; border: 1px solid var(--btn-line); border-radius: var(--r-pill);
  background: var(--btn-bg); color: var(--btn-ink); font: 600 var(--fs-sm)/1.2 var(--font); text-decoration: none; cursor: pointer;
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-1); text-decoration: none; }
.btn:active { transform: translateY(0); }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn-primary { --btn-ink: #1B1209; --btn-line: transparent; background: linear-gradient(135deg, var(--orange-300), var(--orange-400)); box-shadow: 0 6px 18px -8px rgb(242 92 5 / 70%); }
.btn-primary:hover { background: linear-gradient(135deg, #FFB23F, #FF962F); box-shadow: 0 10px 24px -8px rgb(242 92 5 / 75%); }
.btn-secondary { --btn-bg: transparent; }
.btn-secondary:hover { --btn-bg: var(--surface); --btn-line: var(--ink-2); }
/* Half-strength orange; full orange on hover. */
.btn-half { --btn-ink: #1B1209; --btn-line: transparent; background: linear-gradient(135deg, rgb(255 165 38 / 50%), rgb(255 138 31 / 50%)); }
.btn-half:hover { --btn-line: transparent; background: linear-gradient(135deg, var(--orange-300), var(--orange-400)); box-shadow: 0 6px 18px -8px rgb(242 92 5 / 70%); }
.btn-green { --btn-bg: var(--green-500); --btn-ink: #FFFFFF; --btn-line: transparent; }
.btn-ghost { --btn-bg: transparent; --btn-line: transparent; color: var(--accent); padding-inline: var(--s2); }
.btn-ghost:hover { box-shadow: none; text-decoration: underline; }
.btn-lg { min-height: 3.25rem; padding: 0.85rem 1.6rem; font-size: var(--fs-md); }
.btn-sm { min-height: 2.25rem; padding: 0.45rem 0.9rem; font-size: var(--fs-xs); }
.btn-icon { width: 2.75rem; min-height: 2.75rem; padding: 0; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s3); align-items: center; }
.center .btn-row { justify-content: center; }

/* Theme switch */
/* A small segmented switch (the portal's list/grid view uses it). */
.theme-switch { display: inline-flex; padding: 3px; gap: 2px; border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--surface); }
.theme-switch button { display: grid; place-items: center; width: 2rem; height: 2rem; border: 0; border-radius: var(--r-pill); background: transparent; color: var(--muted); cursor: pointer; }
.theme-switch button svg { width: 1rem; height: 1rem; }
.theme-switch button[aria-pressed="true"] { background: var(--chip-bg); color: var(--chip-ink); }

/* ── Chips, badges, notes ───────────────────────────────── */
.chips { display: flex; flex-wrap: wrap; gap: var(--s2); padding: 0; margin: 0; list-style: none; }
.chip { display: inline-flex; align-items: center; gap: 0.4em; padding: 0.35rem 0.8rem; border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--surface); color: var(--ink-2); font-size: var(--fs-sm); font-weight: 600; }
.chip svg { width: 1em; height: 1em; color: var(--accent); }
.badge { display: inline-block; padding: 0.2rem 0.6rem; border-radius: var(--r-pill); background: var(--chip-bg); color: var(--chip-ink); font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.02em; }
.badge-green { background: var(--ok-bg); color: var(--ok-ink); }
.note { display: flex; gap: var(--s3); padding: var(--s4) var(--s5); border: 1px solid var(--line); border-left: 4px solid var(--orange-400); border-radius: var(--r); background: var(--surface); }
.note svg { flex: none; width: 1.3rem; height: 1.3rem; color: var(--accent); margin-top: 0.15rem; }
.note p:last-child { margin-bottom: 0; }

/* ── Icons ──────────────────────────────────────────────── */
.ico { display: inline-grid; place-items: center; flex: none; width: 2.75rem; height: 2.75rem; border-radius: 12px; background: var(--chip-bg); color: var(--chip-ink); }
.ico svg { width: 1.4rem; height: 1.4rem; }
.ico-green { background: var(--ok-bg); color: var(--ok-ink); }
.ico-solid { background: var(--brand-gradient); color: #FFFFFF; }

/* ── Cards ──────────────────────────────────────────────── */
.card { position: relative; display: flex; flex-direction: column; gap: var(--s3); padding: var(--s5); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-1); }
.card h3 { margin: 0; font-size: var(--fs-lg); }
.card p { margin: 0; color: var(--muted); }
.card .more { margin-top: auto; padding-top: var(--s2); font-weight: 600; }
a.card { color: inherit; text-decoration: none; transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), border-color var(--t) var(--ease); }
a.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); border-color: var(--line-strong); }
a.card:hover .more { text-decoration: underline; }
.card-big { padding: var(--s6); gap: var(--s4); }
.card-big h3 { font-size: var(--fs-xl); }
.card-feature { flex-direction: row; align-items: flex-start; gap: var(--s4); padding: var(--s4); box-shadow: none; }
.card-feature h3 { font-size: var(--fs-md); margin-bottom: var(--s1); }
.card-feature p { font-size: var(--fs-sm); }
.card-placeholder { border-style: dashed; box-shadow: none; background: transparent; }
.card-placeholder .shot-ph { aspect-ratio: 16 / 10; border-radius: var(--r); background: repeating-linear-gradient(135deg, var(--surface-2) 0 12px, transparent 12px 24px); display: grid; place-items: center; color: var(--muted); }
.card-placeholder .shot-ph svg { width: 2rem; height: 2rem; }

/* ── Screenshot frame ───────────────────────────────────── */
.frame { position: relative; overflow: hidden; border-radius: var(--r); border: 1px solid var(--line-strong); background: var(--surface); box-shadow: var(--shadow-2); }
.frame::before { content: ""; display: block; height: 1.6rem; background: var(--surface-2) radial-gradient(circle at 0.9rem 50%, #FF5F57 0 4px, transparent 4.5px) no-repeat, radial-gradient(circle at 1.75rem 50%, #FEBC2E 0 4px, transparent 4.5px) no-repeat, radial-gradient(circle at 2.6rem 50%, #28C840 0 4px, transparent 4.5px) no-repeat; background-color: var(--surface-2); border-bottom: 1px solid var(--line); }
.frame img, .frame video { width: 100%; }
.frame-bare::before { display: none; }
.frame-tilt { transform: perspective(1600px) rotateY(-6deg) rotateX(2deg); }
.shot-caption { margin-top: var(--s3); font-size: var(--fs-sm); color: var(--muted); }
.drift { animation: drift 18s var(--ease-in-out) infinite alternate; }
.drift-slow { animation-duration: 26s; }
@keyframes drift { from { transform: translate3d(0, 0, 0) scale(1.02); } to { transform: translate3d(-1.5%, -2%, 0) scale(1.06); } }
.frame .drift-inner { overflow: hidden; }

/* ── Hero ───────────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; padding-block: clamp(1.25rem, 0.75rem + 1.5vw, 2.5rem) clamp(2.5rem, 2rem + 3vw, 4.5rem);
  background: radial-gradient(48rem 34rem at 82% 38%, rgb(255 138 31 / 20%), transparent 70%), radial-gradient(30rem 24rem at 0% 100%, rgb(46 125 50 / 9%), transparent 70%); }
.hero .wrap { position: relative; display: grid; gap: var(--s7); align-items: center; }
@media (min-width: 960px) { .hero .wrap { grid-template-columns: 0.95fr 1.25fr; } }
.hero h1 { margin-bottom: var(--s5); }
.hero h1 .hl { background: var(--brand-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { margin-bottom: var(--s6); }
.hero-note { margin-top: var(--s4); font-size: var(--fs-sm); color: var(--muted); }
.hero-media { position: relative; }
.video-frame { position: relative; overflow: hidden; border-radius: var(--r-lg); border: 1px solid var(--line-strong); background: #000; box-shadow: var(--shadow-2); aspect-ratio: 16 / 9; }
.video-frame video, .video-frame img { width: 100%; height: 100%; object-fit: cover; }
.video-controls { position: absolute; left: var(--s3); bottom: var(--s3); right: var(--s3); display: flex; gap: var(--s2); justify-content: space-between; align-items: center; pointer-events: none; }
.video-controls > * { pointer-events: auto; }
.video-btn { display: inline-flex; align-items: center; gap: var(--s2); min-height: 2.5rem; padding: 0.45rem 0.95rem; border: 1px solid rgb(255 255 255 / 25%); border-radius: var(--r-pill); background: rgb(15 11 8 / 72%); color: #FFFFFF; font: 600 var(--fs-xs)/1 var(--font); cursor: pointer; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.video-btn:hover { background: rgb(15 11 8 / 88%); }
.video-btn svg { width: 1rem; height: 1rem; }
.video-btn.watch { background: linear-gradient(135deg, var(--orange-300), var(--orange-400)); color: #1B1209; border-color: transparent; }

[data-loop-toggle][data-state="playing"] .i-play, [data-loop-toggle][data-state="paused"] .i-pause, [data-loop-toggle]:not([data-state]) .i-pause { display: none; }

/* Tour dialog */
dialog.tour { width: min(100% - 2rem, 70rem); padding: 0; border: 0; border-radius: var(--r-lg); background: #000; color: #FFF; box-shadow: 0 30px 80px rgb(0 0 0 / 60%); }
dialog.tour::backdrop { background: rgb(10 8 6 / 82%); backdrop-filter: blur(6px); }
dialog.tour video { width: 100%; aspect-ratio: 16 / 9; background: #000; }
dialog.tour .tour-bar { display: flex; justify-content: space-between; align-items: center; gap: var(--s3); padding: var(--s3) var(--s4); background: #110D0A; font-size: var(--fs-sm); }
dialog.tour .tour-bar button { color: #FFF; background: transparent; border: 1px solid rgb(255 255 255 / 30%); }
dialog.pdf-view { width: min(100% - 2rem, 62rem); height: min(100% - 2rem, 58rem); padding: 0; border: 0; border-radius: var(--r-lg); background: var(--surface); color: var(--ink); box-shadow: 0 30px 80px rgb(0 0 0 / 45%); overflow: hidden; }
dialog.pdf-view[open] { display: flex; flex-direction: column; }
dialog.pdf-view::backdrop { background: rgb(10 8 6 / 72%); backdrop-filter: blur(6px); }
.pdf-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--s3); padding: var(--s3) var(--s4); border-bottom: 1px solid var(--line); background: var(--surface-2); }
.pdf-title { display: inline-flex; align-items: center; gap: var(--s2); font-size: var(--fs-sm); }
.pdf-title svg { width: 1.2rem; height: 1.2rem; color: var(--accent); }
.pdf-actions { display: flex; gap: var(--s2); }
.pdf-actions svg { width: 1em; height: 1em; }
dialog.pdf-view iframe { flex: 1; width: 100%; border: 0; background: #525659; }

/* ── Platform strip ─────────────────────────────────────── */
.platforms { display: grid; gap: var(--s4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }
.platform { display: flex; align-items: center; gap: var(--s3); padding: var(--s4) var(--s5); border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.platform b { display: block; }
.platform span { font-size: var(--fs-sm); color: var(--muted); }

/* ── Studio tiles ───────────────────────────────────────── */
.tiles { display: grid; gap: var(--s4); grid-template-columns: 1fr; }
@media (min-width: 560px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .tiles { grid-template-columns: repeat(3, 1fr); } }
.tile { padding: var(--s5); border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); }
.tile .ico { margin-bottom: var(--s4); }
.tile h3 { font-size: var(--fs-lg); margin-bottom: var(--s2); }
.tile p { margin: 0; font-size: var(--fs-sm); color: var(--muted); }

/* Ticks list */
.ticks { display: grid; gap: var(--s2); margin: 0; padding: 0; list-style: none; }
.ticks li { position: relative; padding-left: 1.75rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.35em; width: 1.05rem; height: 1.05rem; border-radius: 50%; background: var(--ok-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232E7D32' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 70% no-repeat; }

/* ── Steps rail (Analyze → Evaluate) ────────────────────── */
.rail { display: grid; gap: var(--s3); padding: 0; margin: 0; list-style: none; counter-reset: step; grid-template-columns: repeat(auto-fit, minmax(min(100%, 10.5rem), 1fr)); }
.rail li { position: relative; padding: var(--s5) var(--s4) var(--s4); border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); counter-increment: step; }
.rail li::before { content: counter(step, decimal-leading-zero); display: block; margin-bottom: var(--s2); font: 700 var(--fs-xs)/1 var(--font); letter-spacing: 0.1em; color: var(--accent); }
.rail b { display: block; margin-bottom: var(--s1); font-size: var(--fs-md); }
.rail span { display: block; font-size: var(--fs-sm); color: var(--muted); line-height: 1.45; }

/* ── Pricing pair ───────────────────────────────────────── */
.billing-toggle { display: inline-flex; padding: 4px; gap: 4px; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--surface); }
.billing-toggle button { min-height: 2.5rem; padding: 0.4rem 1.1rem; border: 0; border-radius: var(--r-pill); background: transparent; color: var(--ink-2); font: 600 var(--fs-sm)/1 var(--font); cursor: pointer; }
.billing-toggle button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.billing-toggle .save { margin-left: 0.4em; color: var(--accent-2); }
.billing-toggle button[aria-pressed="true"] .save { color: inherit; text-decoration: underline; text-underline-offset: 0.2em; }
.prices { display: grid; gap: var(--s5); grid-template-columns: repeat(auto-fit, minmax(min(100%, 21rem), 1fr)); align-items: stretch; max-width: 52rem; margin-inline: auto; }
.price-card { position: relative; display: flex; flex-direction: column; gap: var(--s4); padding: var(--s6); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-1); }
.price-card.featured { border: 2px solid transparent; background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--brand-gradient) border-box; box-shadow: var(--shadow-2); }
.price-card .badge { position: absolute; top: calc(-1 * var(--s3)); left: var(--s6); background: var(--brand-gradient); color: #1B1209; }
.price-card h3 { margin: 0; font-size: var(--fs-xl); }
.price-card .for { margin: 0; color: var(--muted); }
.amount { display: flex; align-items: baseline; gap: var(--s2); margin: 0; }
.amount b { font: 650 clamp(2.5rem, 2rem + 2vw, 3.25rem)/1 var(--font-display); letter-spacing: -0.03em; }
.amount b sup { font-size: 0.45em; vertical-align: 0.95em; margin-right: 0.05em; font-weight: 600; }
.amount span { color: var(--muted); font-size: var(--fs-sm); }
.price-card .sub { margin: calc(-1 * var(--s2)) 0 0; font-size: var(--fs-sm); color: var(--muted); min-height: 1.5em; }
.price-card .ticks { font-size: var(--fs-sm); }
.price-card .btn { margin-top: auto; }
.price-foot { margin-top: var(--s5); text-align: center; font-size: var(--fs-sm); color: var(--muted); }
.edu { display: flex; flex-wrap: wrap; gap: var(--s4); align-items: center; justify-content: space-between; max-width: 52rem; margin: var(--s5) auto 0; padding: var(--s4) var(--s5); border-radius: var(--r); background: var(--ok-bg); color: var(--ok-ink); }
.edu p { margin: 0; color: var(--ink); }
.edu .ico { background: var(--surface); color: var(--ok-ink); }

/* Value compare */
.value { display: grid; gap: var(--s3); max-width: 44rem; margin-inline: auto; }
.value-row { display: grid; grid-template-columns: 1fr auto; gap: var(--s3); align-items: center; }
.value-bar { grid-column: 1 / -1; height: 0.8rem; border-radius: var(--r-pill); background: var(--line); overflow: hidden; }
.value-bar i { display: block; height: 100%; border-radius: inherit; background: var(--muted); }
.value-row.us .value-bar i { background: var(--brand-gradient); }
.value-row b { font-size: var(--fs-sm); }
.value-row span { font-size: var(--fs-sm); color: var(--muted); font-variant-numeric: tabular-nums; }

/* ── Publish formats ────────────────────────────────────── */
.formats { display: grid; gap: var(--s3); grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }
.format { padding: var(--s4); border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); }
.format b { display: block; color: var(--accent); }
.format span { font-size: var(--fs-sm); color: var(--muted); }

/* ── FAQ ────────────────────────────────────────────────── */
.faq { max-width: 46rem; margin-inline: auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; gap: var(--s4); padding: var(--s5) 0; cursor: pointer; font-weight: 600; font-size: var(--fs-md); list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-size: 1.4rem; line-height: 1; color: var(--accent); transition: transform var(--t) var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding-bottom: var(--s5); color: var(--ink-2); }

/* ── CTA band ───────────────────────────────────────────── */
.cta-band { padding: clamp(2.5rem, 2rem + 3vw, 4.5rem); border-radius: calc(var(--r-lg) + 6px); text-align: center; }
.cta-band h2 { max-width: 20ch; margin-inline: auto; }
.cta-band .lead { margin-inline: auto; margin-bottom: var(--s6); }

/* ── Forms ──────────────────────────────────────────────── */
.form { display: grid; gap: var(--s5); }
.field { display: grid; gap: var(--s2); }
.field > label, .field > .label, fieldset > legend { font-weight: 600; font-size: var(--fs-sm); color: var(--ink); }
.field .hint { margin: 0; font-size: var(--fs-xs); color: var(--muted); }
.optional { font-weight: 400; color: var(--muted); }
input[type="text"], input[type="email"], input[type="date"], input[type="number"], input[type="url"], input[type="search"], select, textarea {
  width: 100%; min-height: 2.875rem; padding: 0.65rem 0.85rem; border: 1px solid var(--line-strong); border-radius: var(--r-sm);
  background: var(--surface); color: var(--ink); font: 400 var(--fs-md)/1.4 var(--font);
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
textarea { min-height: 7rem; resize: vertical; }
input:hover, select:hover, textarea:hover { border-color: var(--muted); }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: none; border-color: var(--focus); box-shadow: 0 0 0 3px color-mix(in srgb, var(--focus) 30%, transparent); }
[aria-invalid="true"] { border-color: var(--err-ink) !important; }
.error { margin: 0; font-size: var(--fs-xs); font-weight: 600; color: var(--err-ink); }
.error:empty { display: none; }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
fieldset > legend { margin-bottom: var(--s3); padding: 0; }
.choices { display: flex; flex-wrap: wrap; gap: var(--s2); }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span { display: inline-flex; align-items: center; gap: var(--s2); min-height: 2.5rem; padding: 0.45rem 0.95rem; border: 1px solid var(--line-strong); border-radius: var(--r-pill); background: var(--surface); font-size: var(--fs-sm); font-weight: 500; cursor: pointer; transition: all var(--t-fast) var(--ease); }
.choice input:checked + span { border-color: var(--orange-400); background: var(--chip-bg); color: var(--chip-ink); font-weight: 650; }
.choice input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.row-2 { display: grid; gap: var(--s5); grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }
.drop { display: grid; place-items: center; gap: var(--s2); padding: var(--s6) var(--s4); border: 2px dashed var(--line-strong); border-radius: var(--r); background: var(--surface-2); text-align: center; cursor: pointer; transition: border-color var(--t-fast), background var(--t-fast); }
.drop.over { border-color: var(--orange-400); background: var(--chip-bg); }
.drop svg { width: 1.75rem; height: 1.75rem; color: var(--accent); }
.drop input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.files { display: grid; gap: var(--s2); padding: 0; margin: 0; list-style: none; }
.files li { display: flex; justify-content: space-between; align-items: center; gap: var(--s3); padding: var(--s2) var(--s3); border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); font-size: var(--fs-sm); }
.files li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { padding: var(--s3) var(--s4); border-radius: var(--r-sm); font-size: var(--fs-sm); font-weight: 600; }
.form-status:empty { display: none; }
.form-status.ok { background: var(--ok-bg); color: var(--ok-ink); }
.form-status.err { background: #FDECEA; color: #8A1C12; }
.challenge { display: grid; gap: var(--s3); padding: var(--s4); border: 1px solid var(--line); border-radius: var(--r); background: var(--surface-2); }
.challenge img { width: 200px; height: 64px; border-radius: var(--r-sm); background: #FFF; }
.challenge .row { display: flex; flex-wrap: wrap; gap: var(--s3); align-items: center; }

.check { display: flex; gap: var(--s3); align-items: flex-start; font-size: var(--fs-sm); }
.check input { flex: none; width: 1.25rem; height: 1.25rem; margin: 0.15rem 0 0; accent-color: var(--orange-500); }

/* Multi-step form */
.steps-shell { display: grid; gap: var(--s6); align-items: start; }
.steps-shell > * { min-width: 0; }
@media (min-width: 980px) { .steps-shell { grid-template-columns: 15rem 1fr; } }
.stepper { display: flex; gap: var(--s2); padding: 0; margin: 0; list-style: none; overflow-x: auto; scrollbar-width: none; }
@media (min-width: 980px) { .stepper { position: sticky; top: 6rem; flex-direction: column; overflow: visible; } }
.stepper li { flex: none; }
.stepper button { display: flex; align-items: center; gap: var(--s3); width: 100%; padding: var(--s2) var(--s3); border: 0; border-radius: var(--r-sm); background: transparent; color: var(--muted); font: 500 var(--fs-sm)/1.3 var(--font); text-align: left; cursor: pointer; }
.stepper button:hover { color: var(--ink); background: var(--surface-2); }
.stepper .num { display: grid; place-items: center; flex: none; width: 1.75rem; height: 1.75rem; border-radius: 50%; border: 1.5px solid var(--line-strong); font-size: var(--fs-xs); font-weight: 700; }
.stepper [aria-current="step"] { color: var(--ink); font-weight: 650; background: var(--surface); box-shadow: var(--shadow-1); }
.stepper [aria-current="step"] .num { border-color: transparent; background: var(--brand-gradient); color: #1B1209; }
.stepper .done .num { border-color: transparent; background: var(--ok-bg); color: var(--ok-ink); }
.step-panel { padding: clamp(1.25rem, 1rem + 2vw, 2.5rem); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-1); }
.step-panel h2 { font-size: var(--fs-xl); margin-bottom: var(--s2); }
.step-panel > .muted { margin-bottom: var(--s6); }
.step-nav { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s3); margin-top: var(--s6); padding-top: var(--s5); border-top: 1px solid var(--line); }
.progress { height: 6px; border-radius: var(--r-pill); background: var(--line); overflow: hidden; margin-bottom: var(--s5); }
.progress i { display: block; height: 100%; width: 0; background: var(--brand-gradient); border-radius: inherit; transition: width var(--t) var(--ease); }
.more-details { border: 1px solid var(--line); border-radius: var(--r); background: var(--surface-2); }
.more-details > summary { padding: var(--s4) var(--s5); cursor: pointer; font-weight: 600; }
.more-details > div { display: grid; gap: var(--s6); padding: 0 var(--s5) var(--s5); }
.more-details h3 { margin: 0 0 var(--s3); font-size: var(--fs-md); color: var(--accent); }
.review { display: grid; gap: var(--s4); }
.review dl { display: grid; grid-template-columns: minmax(8rem, 13rem) 1fr; gap: var(--s2) var(--s4); margin: 0; font-size: var(--fs-sm); }
.review dt { color: var(--muted); }
.review dd { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.review h3 { display: flex; justify-content: space-between; align-items: baseline; margin: 0 0 var(--s2); font-size: var(--fs-md); }
.review section { padding: var(--s4); border: 1px solid var(--line); border-radius: var(--r); }
.thanks { text-align: center; padding: var(--s7) var(--s4); }
.thanks .ico { width: 4rem; height: 4rem; margin: 0 auto var(--s5); border-radius: 50%; }
.thanks .ico svg { width: 2rem; height: 2rem; }

/* ── Footer ─────────────────────────────────────────────── */
.site-footer { padding-block: var(--s8) var(--s6); border-top: 1px solid var(--line); background: var(--bg-alt); font-size: var(--fs-sm); }
.foot-grid { display: grid; gap: var(--s6); grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr)); }
.foot-brand { grid-column: 1 / -1; }
@media (min-width: 900px) { .foot-grid { grid-template-columns: 1.6fr repeat(4, 1fr); } .foot-brand { grid-column: auto; } }
.foot-brand p { max-width: 22rem; color: var(--muted); margin-top: var(--s4); }
.site-footer h2 { margin-bottom: var(--s3); font-size: var(--fs-xs); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.site-footer ul { display: grid; gap: var(--s2); margin: 0; padding: 0; list-style: none; }
.site-footer a { color: var(--ink-2); text-decoration: none; }
.site-footer a:hover { color: var(--accent); text-decoration: underline; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--s4); margin-top: var(--s7); padding-top: var(--s5); border-top: 1px solid var(--line); color: var(--muted); }

/* ── Page header (inner pages) ──────────────────────────── */
.page-head { padding-block: clamp(1.25rem, 0.75rem + 1.5vw, 2.5rem) clamp(1.5rem, 1rem + 1.5vw, 2.5rem); }
.page-head h1 { max-width: 18ch; }
.page-head .lead { margin-bottom: var(--s5); }

/* ── Style guide helpers ────────────────────────────────── */
.swatches { display: grid; gap: var(--s3); grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr)); }
.swatch { overflow: hidden; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); font-size: var(--fs-xs); }
.swatch i { display: block; height: 4.5rem; }
.swatch div { padding: var(--s2) var(--s3); }
.swatch code { background: none; padding: 0; }
.sg-block { padding-block: var(--s7); border-top: 1px solid var(--line); }
.sg-block > h2 { font-size: var(--fs-xl); }
.type-sample > * { margin-bottom: var(--s3); }
.t1, .t2, .t3, .t4 { font-family: var(--font-display); font-weight: 600; line-height: var(--lh-tight); letter-spacing: -0.015em; }
.t1 { font-size: var(--fs-3xl); letter-spacing: -0.025em; } .t2 { font-size: var(--fs-2xl); } .t3 { font-size: var(--fs-xl); } .t4 { font-size: var(--fs-lg); }
.space-scale { display: grid; gap: var(--s2); }
.space-scale div { display: flex; align-items: center; gap: var(--s3); font-size: var(--fs-xs); }
.space-scale i { display: block; height: 0.75rem; border-radius: 3px; background: var(--brand-gradient); }

/* ── Motion ─────────────────────────────────────────────── */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease); transition-delay: var(--delay, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .drift { animation: none; transform: none; }
  .frame-tilt { transform: none; }
}
html.motion-off .drift { animation-play-state: paused; }

@media print {
  .site-header, .site-footer, .video-controls, .skip { display: none; }
  body { background: #FFF; color: #000; }
}

/* Inline icons in headings and labels */
.eyebrow svg { width: 1.15em; height: 1.15em; }
/* ── Contact and support form ── */
.cf-layout { display: grid; gap: var(--s6); align-items: start; }
@media (min-width: 960px) { .cf-layout { grid-template-columns: minmax(0, 1fr) 21rem; } .cf-side { position: sticky; top: 6rem; } }
.cf-card { padding: clamp(1.25rem, 0.9rem + 2vw, 2.5rem); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-2); }
.cf-form { gap: var(--s6); }
.cf-step { display: grid; gap: var(--s4); margin: 0; padding: 0 0 var(--s6); border: 0; border-bottom: 1px solid var(--line); min-width: 0; }
.cf-step > legend { display: flex; align-items: center; gap: var(--s3); margin-bottom: var(--s4); padding: 0; font-size: var(--fs-lg); font-weight: 650; }
.cf-num { display: inline-grid; place-items: center; width: 1.85rem; height: 1.85rem; border-radius: 50%; background: var(--brand-gradient); color: #FFFFFF; font-size: var(--fs-sm); font-weight: 700; }
.cf-topics { display: grid; gap: var(--s3); grid-template-columns: 1fr; }
@media (min-width: 560px) { .cf-topics { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.cf-topic { position: relative; display: grid; grid-template-columns: auto 1fr; column-gap: var(--s3); row-gap: 2px; align-items: start; padding: var(--s4); border: 1.5px solid var(--line-strong); border-radius: var(--r); background: var(--surface); cursor: pointer; transition: border-color var(--t-fast, .15s), box-shadow var(--t-fast, .15s), background var(--t-fast, .15s); }
.cf-topic:hover { border-color: var(--orange-300); box-shadow: var(--shadow-1); }
.cf-topic input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.cf-topic .ico { grid-row: span 2; width: 2.5rem; height: 2.5rem; }
.cf-topic b { font-size: var(--fs-md); }
.cf-topic small { color: var(--muted); font-size: var(--fs-xs); line-height: 1.4; }
.cf-topic:has(input:checked) { border-color: var(--orange-500); background: color-mix(in srgb, var(--orange-300) 9%, var(--surface)); box-shadow: 0 0 0 3px color-mix(in srgb, var(--orange-300) 30%, transparent); }
.cf-topic:has(input:checked) .ico { background: var(--brand-gradient); color: #FFFFFF; }
.cf-topic:has(input:checked)::after { content: ""; position: absolute; top: 0.6rem; right: 0.6rem; width: 1.25rem; height: 1.25rem; border-radius: 50%; background: var(--orange-500) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 70% no-repeat; }
.cf-topic:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
.cf-support[hidden] { display: none; }
.opt { margin-left: var(--s1); font-weight: 500; color: var(--muted); font-size: var(--fs-xs); }
.cf-labelrow { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s3); }
.cf-labelrow label { font-weight: 600; font-size: var(--fs-sm); }
.cf-count { font-size: var(--fs-xs); color: var(--muted); font-variant-numeric: tabular-nums; }
.cf-count.near { color: var(--err-ink); font-weight: 600; }
.cf-tip { margin: 0; padding: var(--s2) var(--s3); border-left: 3px solid var(--orange-300); border-radius: 0 var(--r-sm) var(--r-sm) 0; background: var(--surface-2); color: var(--ink-2); font-size: var(--fs-xs); }
.cf-form .field.is-ok input, .cf-form .field.is-ok textarea { border-color: color-mix(in srgb, var(--green-500) 55%, var(--line-strong)); }
.cf-form [aria-invalid="true"] { border-color: var(--err-ink); background: color-mix(in srgb, #FDECEA 55%, var(--surface)); }
.cf-suggest { margin: 0; font-size: var(--fs-xs); color: var(--ink-2); }
.cf-fix { padding: 0; border: 0; background: none; color: var(--accent); font: inherit; font-weight: 700; text-decoration: underline; cursor: pointer; }
.cf-summary { padding: var(--s4); border: 1px solid #F3B8B0; border-left: 4px solid var(--err-ink); border-radius: var(--r-sm); background: #FDECEA; color: #8A1C12; }
.cf-summary ul { margin: var(--s2) 0 0; padding-left: 1.2rem; }
.cf-summary a { color: inherit; font-weight: 600; }
.cf-send { display: grid; gap: var(--s3); }
.cf-submit { width: 100%; justify-content: center; }
.cf-spin { display: none; width: 1.05rem; height: 1.05rem; border: 2.5px solid rgb(27 18 9 / 25%); border-top-color: #1B1209; border-radius: 50%; animation: cf-spin 0.8s linear infinite; }
.cf-submit.is-busy .cf-spin { display: inline-block; }
@keyframes cf-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .cf-spin { animation-duration: 2.4s; } }
.cf-assure { display: flex; gap: var(--s2); align-items: flex-start; justify-content: center; margin: 0; color: var(--muted); font-size: var(--fs-xs); text-align: center; }
.cf-assure svg { flex: none; width: 1rem; height: 1rem; color: var(--green-500); }
.cf-draft { margin: 0; text-align: center; color: var(--muted); font-size: var(--fs-xs); }
.cf-draft:empty { display: none; }
.cf-side { display: grid; gap: var(--s4); }
.cf-side .card { gap: var(--s2); }
.cf-side .t4 { margin: 0; }
.cf-timeline { display: grid; gap: var(--s4); margin: var(--s3) 0 0; padding: 0; list-style: none; }
.cf-timeline li { display: grid; grid-template-columns: auto 1fr; gap: var(--s3); align-items: start; }
.cf-timeline .ico { width: 2.25rem; height: 2.25rem; border-radius: 10px; }
.cf-timeline .ico svg { width: 1.15rem; height: 1.15rem; }
.cf-timeline p { margin: 2px 0 0; color: var(--muted); font-size: var(--fs-sm); }
/* The receipt */
.cf-done { display: grid; justify-items: center; gap: var(--s4); text-align: center; padding: var(--s4) 0; }
.cf-done:focus { outline: none; }
.cf-done h2 { margin: 0; }
.cf-done .lead { margin: 0; }
.cf-done-mark { display: grid; place-items: center; width: 4.5rem; height: 4.5rem; border-radius: 50%; background: var(--green-500); color: #FFFFFF; box-shadow: 0 12px 28px -12px rgb(46 125 50 / 70%); }
.cf-done-mark svg { width: 2.4rem; height: 2.4rem; stroke-width: 3; }
@media (prefers-reduced-motion: no-preference) { .cf-done:not([hidden]) .cf-done-mark { animation: cf-pop 0.45s cubic-bezier(.2, 1.4, .4, 1); } }
@keyframes cf-pop { from { transform: scale(0.4); opacity: 0; } to { transform: none; opacity: 1; } }
.cf-receipt { display: grid; gap: 0; width: 100%; max-width: 30rem; margin: 0; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface-2); text-align: left; }
.cf-receipt div { display: grid; grid-template-columns: 7rem 1fr; gap: var(--s3); padding: var(--s3) var(--s4); border-bottom: 1px solid var(--line); }
.cf-receipt div:last-child { border-bottom: 0; }
.cf-receipt dt { color: var(--muted); font-size: var(--fs-sm); }
.cf-receipt dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.cf-next { display: grid; gap: var(--s3); max-width: 32rem; margin: 0; padding-left: 1.3rem; text-align: left; }
.cf-next li::marker { color: var(--accent); font-weight: 700; }

/* A list inside a tick list (legal pages): plain bullets, no second tick. */
.ticks ul { display: grid; gap: var(--s1); margin: var(--s2) 0 0; padding-left: 1.25rem; list-style: disc; }
.ticks ul li { padding-left: 0; }
.ticks ul li::before { display: none; }

/* Section labels help on phones, where a long page scrolls past fast. On wider screens the headline does the job,
   so they show only where they carry something the headline doesn't (marked .keep: dates, the version). */
.card h3 svg, h3 > svg { display: inline-block; width: 1.05em; height: 1.05em; margin-right: 0.3em; vertical-align: -0.12em; color: var(--accent); }
.hero-note .btn-ghost { padding-left: 0; min-height: 0; }

a.chip { text-decoration: none; }
a.chip { transition: background 0.2s ease, border-color 0.2s ease; }
a.chip:hover, a.chip:focus-visible { border-color: transparent; background: linear-gradient(135deg, rgb(255 165 38 / 50%), rgb(255 138 31 / 50%)); color: #1B1209; }

/* Sheet-style section labels: orange caps with a rule, as in the features sheet. */
.head:not(.center) .eyebrow, .eyebrow.rule { display: flex; width: 100%; }
.head:not(.center) .eyebrow::after, .eyebrow.rule::after { content: ""; flex: 1; height: 1px; margin-left: var(--s3); background: linear-gradient(90deg, #F0C9A6, transparent); }

/* The closing call to action: an orange band with dark type. */
.cta-band.night { background: linear-gradient(120deg, var(--orange-300), var(--orange-400) 55%, #FF7A1A); color: #1B1209; box-shadow: 0 24px 48px -24px rgb(242 92 5 / 55%); }
.cta-band.night .eyebrow { color: #5A2400; }
.cta-band.night .lead { color: #3A1A05; }
.cta-band.night .btn-primary { --btn-ink: #FFFFFF; background: #1B1712; box-shadow: none; }
.cta-band.night .btn-primary:hover { background: #2E2721; }
.cta-band.night .btn-secondary { --btn-line: rgb(27 18 9 / 35%); color: #1B1209; }
.cta-band.night .btn-secondary:hover { --btn-bg: rgb(255 255 255 / 35%); }

/* Three plans side by side. */
.prices.three { max-width: 66rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18.5rem), 1fr)); }

/* Home hero: a course on a tablet, with floating notes. */
.device { position: relative; width: min(100%, 26rem); margin-inline: auto; padding: 12px; border-radius: 30px; background: #1B1712; box-shadow: 0 30px 60px -20px rgb(60 35 10 / 45%), 0 0 0 1px rgb(0 0 0 / 8%); transform: rotate(-2deg); }
.device img { display: block; width: 100%; border-radius: 20px; }
.hero-media .floaters { position: absolute; inset: 0; margin: 0; padding: 0; list-style: none; pointer-events: none; }
.floaters .chip { position: absolute; box-shadow: var(--shadow-2); background: var(--surface); font-size: var(--fs-xs); }
.floaters .chip:nth-child(1) { top: 10%; left: 0; }
.floaters .chip:nth-child(2) { top: 46%; right: 0; }
.floaters .chip:nth-child(3) { bottom: 8%; left: 4%; }
@media (max-width: 600px) { .floaters .chip:nth-child(2) { right: -4px; } .device { transform: none; } }
@media (prefers-reduced-motion: reduce) { .device { transform: none; } }

/* Big numbers */
.stat-grid { display: grid; gap: var(--s4); grid-template-columns: repeat(2, 1fr); }
.stat { padding: var(--s5); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-1); }
.stat b { display: block; font: 650 clamp(2rem, 1.6rem + 1.6vw, 2.75rem)/1 var(--font-display); letter-spacing: -0.02em; color: var(--accent); }
.stat span { display: block; margin-top: var(--s2); font-size: var(--fs-sm); color: var(--muted); }

/* Savings */
.save-tag { display: inline-flex; align-items: center; gap: 0.3em; padding: 0.12rem 0.55rem; border-radius: var(--r-pill); background: var(--ok-bg); color: var(--ok-ink); font-size: var(--fs-xs); font-weight: 700; white-space: nowrap; vertical-align: 0.1em; }
.save-tag svg { width: 1em; height: 1em; }
.save-tag-lg { padding: 0.4rem 0.9rem; font-size: var(--fs-sm); }
.founding { display: flex; flex-wrap: wrap; gap: var(--s4); align-items: center; justify-content: space-between; max-width: 66rem; margin: var(--s6) auto 0; padding: var(--s4) var(--s5); border: 2px solid transparent; border-radius: var(--r-lg); background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--brand-gradient) border-box; box-shadow: var(--shadow-1); }
.founding p { flex: 1 1 22rem; margin: 0; }
.edu { max-width: 66rem; }
.edu-teams { background: var(--chip-bg); color: var(--chip-ink); }
.edu-teams .ico { color: var(--chip-ink); }
/* Educator and team offers, side by side. */
.edu-pair { display: grid; gap: var(--s4); max-width: 66rem; margin: var(--s5) auto 0; }
@media (min-width: 760px) { .edu-pair { grid-template-columns: 1fr 1fr; } }
.edu-pair .edu { margin: 0; max-width: none; flex-direction: column; flex-wrap: nowrap; align-items: flex-start; justify-content: flex-start; gap: var(--s2); padding: var(--s5); }
.edu-pair .edu h3 { margin: 0; font-size: var(--fs-xl); color: var(--ink); }
.edu-pair .studio-head { margin-bottom: var(--s1); }
.edu-pair .edu .ico-solid { color: #FFFFFF; background: var(--brand-gradient); }
.edu-pair .edu-price { font-size: var(--fs-md); }
.edu-pair .edu-price b { font-size: var(--fs-lg); }
.edu-pair .edu .btn { margin-top: auto; }
.edu-pair .edu .edu-price { margin-bottom: var(--s3); }
.price-card .badge-green { background: var(--ok-bg); color: var(--ok-ink); }

/* Comparison chart */
.compare-wrap { max-width: 56rem; margin-inline: auto; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-2); }
.compare { width: 100%; border-collapse: collapse; font-size: var(--fs-md); }
.compare th, .compare td { padding: 0.8rem 1rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.compare tbody tr:last-child > * { border-bottom: 0; }
.compare thead th { position: sticky; top: 0; background: var(--surface-2); font-size: var(--fs-xs); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.compare thead th.us { color: var(--accent); }
.compare tbody th { font-weight: 600; color: var(--ink); }
.compare td { width: 9.5rem; text-align: center; }
.compare td.us { background: color-mix(in srgb, var(--orange-300) 9%, transparent); }
.compare thead th:not(:first-child) { text-align: center; }
.mark { display: inline-flex; align-items: center; justify-content: center; gap: 0.35em; font-size: var(--fs-xs); font-weight: 600; color: var(--muted); }
.mark svg { width: 1.75rem; height: 1.75rem; padding: 0.32rem; border-radius: 50%; }
.mark.yes svg { background: var(--green-500); color: #FFFFFF; box-shadow: 0 2px 6px -2px rgb(46 125 50 / 60%); }
.mark.no svg { background: #D92D20; color: #FFFFFF; box-shadow: 0 2px 6px -2px rgb(217 45 32 / 60%); }
.mark.no { flex-direction: column; gap: 0.2rem; }
.mark small { font-size: var(--fs-xs); font-weight: 500; line-height: 1.25; color: var(--muted); }
.mark.part { padding: 0.2rem 0.6rem; border-radius: var(--r-pill); background: var(--warn-bg); color: var(--warn-ink); }
.compare .price-row b { display: block; font-size: var(--fs-lg); color: var(--ink); }
.compare .price-row td.us b { color: var(--accent); }
.compare .price-row span { display: block; font-size: var(--fs-xs); color: var(--muted); }
@media (max-width: 560px) { .compare { font-size: var(--fs-xs); } .compare th, .compare td { padding: 0.6rem 0.45rem; } .compare td { width: 6.5rem; } .compare { font-size: var(--fs-sm); } .mark.part { padding: 0.15rem 0.4rem; font-size: 0.7rem; } .mark svg { width: 1.5rem; height: 1.5rem; } }

/* Smallest phones: the menu holds the header buttons; long tags wrap. */
@media (max-width: 420px) { .header-actions { display: none; } }
.save-tag-lg { white-space: normal; text-align: center; }

/* Home hero: Slides on a laptop, Scroll on a tablet and a phone, with hotspots. */
.devices { position: relative; aspect-ratio: 16 / 12; width: 100%; }
.dev { position: absolute; margin: 0; }
.dev-screen { overflow: hidden; background: #1B1712; box-shadow: 0 24px 50px -18px rgb(60 35 10 / 45%), 0 0 0 1px rgb(0 0 0 / 10%); }
.dev-screen img { display: block; width: 100%; height: auto; }
.laptop { left: 6%; top: 4%; width: 80%; }
.laptop .dev-screen { padding: 2.2% 2.2% 2.6%; border-radius: 14px 14px 4px 4px; }
.laptop .dev-screen img { border-radius: 4px; }
.laptop .dev-base { height: 0; margin: 0 -7%; border-top: 14px solid #CFC5BA; border-left: 18px solid transparent; border-right: 18px solid transparent; border-radius: 0 0 10px 10px; box-shadow: 0 12px 18px -10px rgb(60 35 10 / 35%); }
.tablet { right: 0; bottom: 2%; width: 30%; }
.tablet .dev-screen { padding: 5%; border-radius: 18px; }
.tablet .dev-screen img { border-radius: 8px; }
.phone { left: 0; bottom: 0; width: 17%; }
/* Services hero: the phone stands beside the tablet. */
.devices .dev.phone { left: auto; right: 26%; }
.phone .dev-screen { padding: 7% 6%; border-radius: 20px; }
.phone .dev-screen img { border-radius: 12px; }
.hotspot { position: absolute; left: var(--x); top: var(--y); z-index: 3; }
.hotspot > button { position: relative; display: grid; place-items: center; width: 1.9rem; height: 1.9rem; margin: -0.95rem 0 0 -0.95rem; padding: 0; border: 3px solid #FFFFFF; border-radius: 50%; background: var(--orange-500); color: #FFFFFF; cursor: pointer; box-shadow: 0 4px 12px -2px rgb(242 92 5 / 60%); }
.hotspot > button::before { content: "+"; font: 700 1.1rem/1 var(--font); transition: transform var(--t) var(--ease); }
.hotspot > button::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--orange-400); animation: ping 2.4s var(--ease) infinite; }
.hotspot > button[aria-expanded="true"]::before { transform: rotate(45deg); }
@keyframes ping { 0% { opacity: 0.9; transform: scale(0.8); } 80%, 100% { opacity: 0; transform: scale(1.7); } }
.hotspot .pop { position: absolute; left: 1.4rem; top: -0.6rem; width: max-content; max-width: 15rem; margin: 0; padding: 0.6rem 0.8rem; border-radius: 12px; background: #C2410C; color: #FFFFFF; font-size: var(--fs-xs); line-height: 1.4; box-shadow: 0 12px 28px -10px rgb(120 40 0 / 55%); opacity: 0; transform: translateY(4px) scale(0.97); transform-origin: left top; pointer-events: none; transition: opacity var(--t-fast) var(--ease), transform var(--t-fast) var(--ease); }
.hotspot .pop b { display: block; margin-bottom: 0.1rem; font-size: var(--fs-sm); }
.hotspot .pop-left { left: auto; right: 1.4rem; transform-origin: right top; }
@media (hover: hover) { .hotspot:hover .pop { opacity: 1; transform: none; pointer-events: auto; } .hotspot:hover { z-index: 4; } }
.hotspot:has(button:focus-visible) .pop, .hotspot.open .pop { opacity: 1; transform: none; pointer-events: auto; }
.hotspot:has(button:focus-visible), .hotspot.open { z-index: 4; }
@media (max-width: 600px) { .hotspot .pop { max-width: 11rem; } .hotspot > button { width: 1.6rem; height: 1.6rem; margin: -0.8rem 0 0 -0.8rem; } }
@media (prefers-reduced-motion: reduce) { .hotspot > button::after { animation: none; opacity: 0; } }

/* Mock course screens (generic shapes and text lines), animated.
   Slides swipe sideways on the laptop; Scroll pages glide up and down on the tablet and phone. */
.scr { position: relative; overflow: hidden; container-type: inline-size; background: #FFFFFF; }
.laptop .scr { aspect-ratio: 16 / 10; border-radius: 4px; }
.tablet .scr { aspect-ratio: 3 / 4; border-radius: 8px; }
.phone .scr { aspect-ratio: 9 / 19; border-radius: 12px; }
.scr .ln { display: block; height: 2.6cqw; margin: 0 0 2.4cqw; border-radius: 99px; background: #E6DED5; }
.scr .ln.dk { background: #B7ACA0; }
.scr .ln.h { height: 5cqw; margin: 6cqw 0 4cqw; background: #3D352D; }
.scr .ln.w { background: rgb(255 255 255 / 92%); }
.scr .ln.w.big { height: 6cqw; }
.scr .ln.acc { height: 2.2cqw; background: var(--orange-500); }
.scr .sun, .morph-screen .sun { position: absolute; top: 18%; right: 18%; width: 14%; aspect-ratio: 1; border-radius: 50%; background: #FFD08A; }
.scr .hill, .morph-screen .hill { position: absolute; left: -10%; right: -10%; bottom: -35%; height: 70%; border-radius: 50% 50% 0 0; background: linear-gradient(#7CC48A, #2E7D32); }

/* Slides */
.scr-slides { background: #1E1A16; }
.sl-track { display: flex; width: 400%; height: 88%; animation: slides 12s var(--ease-in-out) infinite; }
.slide { flex: 0 0 25%; padding: 3.2cqw 6cqw 0; }
.slide > * { height: 100%; }
.slide.title .t-in { display: flex; flex-direction: column; justify-content: center; padding: 0 9cqw; border-radius: 3px; background: linear-gradient(120deg, var(--orange-300), var(--orange-500)); }
.slide.title .ln { height: 4cqw; } .slide.title .ln.big { height: 6cqw; }
.slide .bar { display: block; width: 18%; height: 1.6cqw; margin-top: 2cqw; border-radius: 99px; background: #1B1712; }
.slide .s-head { height: auto; padding: 3.4cqw 4cqw 1cqw; border-radius: 3px 3px 0 0; background: #2B2E4A; }
.slide .s-head.g { background: var(--green-500); }
.slide .s-body { display: flex; gap: 4cqw; height: calc(100% - 9cqw); padding: 4cqw; border-radius: 0 0 3px 3px; background: #FFFFFF; }
.slide .s-col { flex: 1.2; }
.slide .s-img { position: relative; flex: 1; overflow: hidden; border-radius: 3px; background: #E8F3FB; }
.slide .s-btns { display: flex; gap: 2.4cqw; margin-top: 5cqw; }
.slide .s-btns i { display: block; width: 22cqw; height: 6cqw; border-radius: 99px; background: #1D6FE0; }
.slide .s-btns i.b2 { background: #E3ECFB; }
.slide .s-body.q { flex-direction: column; gap: 0; }
.scr .opt { display: flex; align-items: center; gap: 2cqw; margin: 0 0 2cqw; padding: 2.2cqw 3cqw; border: 1px solid #E6DED5; border-radius: 6px; }
.scr .opt::before { content: ""; flex: none; width: 3.4cqw; height: 3.4cqw; border: 2px solid #B7ACA0; border-radius: 50%; }
.scr .opt .ln { flex: 1; margin: 0; }
.scr .opt.ok { border-color: var(--green-500); background: #EAF6EC; }
.scr .opt.ok::before { border-color: var(--green-500); background: var(--green-500); }
.sl-player { display: flex; align-items: center; gap: 3cqw; height: 12%; padding: 0 4cqw; }
.sl-player i { display: block; }
.sl-player .pp, .sl-player .nx { width: 3cqw; height: 3cqw; border-radius: 2px; background: #6B625A; }
.sl-player .nx { width: 9cqw; border-radius: 99px; background: #1D6FE0; }
.sl-prog { position: relative; flex: 1; height: 1cqw; border-radius: 99px; background: #3A3129; overflow: hidden; }
.sl-prog::after { content: ""; position: absolute; inset: 0; transform-origin: left; background: var(--orange-400); animation: prog 12s linear infinite; }
@keyframes slides { 0%, 25% { transform: translateX(0); } 33%, 58% { transform: translateX(-25%); } 66%, 91% { transform: translateX(-50%); } 99.9% { transform: translateX(-75%); } 100% { transform: translateX(0); } }
@keyframes prog { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* Scroll */
.scr-scroll { display: flex; flex-direction: column; }
.sp-bar { position: relative; z-index: 1; display: flex; align-items: center; gap: 3cqw; flex: none; padding: 4cqw 6cqw; border-bottom: 1px solid #EFE8E0; background: #FFFFFF; }
.sp-bar .ln { margin: 0; flex: 0 0 auto; }
.sp-bar .dot { width: 4cqw; height: 4cqw; border-radius: 1cqw; background: var(--orange-500); }
.sp-prog { margin-left: auto; width: 22cqw; height: 1.6cqw; border-radius: 99px; background: linear-gradient(90deg, var(--orange-400) 40%, #EFE8E0 40%); }
.sp-page { padding: 6cqw 8cqw; animation: scrollpage 16s var(--ease-in-out) infinite; }
.phone .sp-page { animation-delay: -5s; }
.sp-hero { position: relative; overflow: hidden; height: 42cqw; border-radius: 3cqw; background: linear-gradient(160deg, #FFF0E0, #FFE1C2); }
.sp-hero.alt { margin-top: 6cqw; background: linear-gradient(160deg, #E8F3FB, #D6E9F8); }
.sp-hero + .ln.h { margin-top: 6cqw; }
.sp-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 4cqw; margin: 5cqw 0; }
.sp-cards > div { padding: 4cqw; border: 1px solid #EFE8E0; border-radius: 3cqw; }
.sp-cards .ic { display: block; width: 8cqw; height: 8cqw; margin-bottom: 3cqw; border-radius: 2cqw; background: #FFF0E0; box-shadow: inset 0 0 0 2cqw #FFF0E0, inset 0 0 0 3.4cqw var(--orange-400); }
.sp-cards .ic.g { background: #EAF6EC; box-shadow: inset 0 0 0 2cqw #EAF6EC, inset 0 0 0 3.4cqw var(--green-500); }
.sp-acc > div { position: relative; padding: 3.6cqw 0; border-top: 1px solid #EFE8E0; }
.sp-acc > div:last-child { border-bottom: 1px solid #EFE8E0; }
.sp-acc .ln { margin-bottom: 0; } .sp-acc .open .ln + .chev + .ln { margin-top: 3cqw; } .sp-acc .open .ln ~ .ln { margin-bottom: 2cqw; }
.sp-acc .chev { position: absolute; right: 1cqw; top: 3.4cqw; width: 2.6cqw; height: 2.6cqw; border-right: 2px solid #1D6FE0; border-bottom: 2px solid #1D6FE0; transform: rotate(45deg); }
.sp-acc .open .chev { transform: rotate(-135deg); top: 4.6cqw; }
.sp-quiz { margin: 6cqw 0; padding: 5cqw; border-radius: 3cqw; background: #F6F1EA; }
.sp-quiz .qbtn { display: block; width: 26cqw; height: 7cqw; margin-top: 3cqw; border-radius: 2cqw; background: #1D6FE0; }
@keyframes scrollpage { 0%, 8% { transform: translateY(0); } 46%, 54% { transform: translateY(-58%); } 92%, 100% { transform: translateY(0); } }
.tablet .sp-page { animation-name: scrollpage-t; }
@keyframes scrollpage-t { 0%, 8% { transform: translateY(0); } 46%, 54% { transform: translateY(-45%); } 92%, 100% { transform: translateY(0); } }

@media (prefers-reduced-motion: reduce) {
  .sl-track, .sl-prog::after, .sp-page { animation: none !important; }
  .sl-track { transform: translateX(-25%); }
}

/* Screenshots in both themes: light in front, dark peeking behind; the button swaps them. */

/* Studio rows, feature lists, the ribbon strip, AI options, teasers */
.studios { display: grid; gap: var(--s8); margin-bottom: var(--s7); }
.studio-row { display: grid; gap: var(--s6); align-items: center; }
@media (min-width: 900px) { .studio-row { grid-template-columns: 1.25fr 1fr; gap: var(--s7); } .studio-row.flip > :first-child { order: 2; } .studio-row.flip { grid-template-columns: 1fr 1.25fr; } }
.studio-row h3 { font-size: var(--fs-2xl); margin-bottom: var(--s2); }
.studio-row .lead { margin-bottom: var(--s4); }
.band-note { display: flex; gap: var(--s4); align-items: center; padding: var(--s5); border: 1px solid #B2F2BB; border-radius: var(--r-lg); background: var(--ok-bg); }
.band-note p { margin: 0; }
.colhead { display: flex; align-items: center; gap: var(--s3); margin-bottom: var(--s4); }
.colhead h3 { margin: 0; font-size: var(--fs-xl); }
.feature-list { gap: var(--s2); margin-top: var(--s5); }
.feature-list .card-feature { padding: var(--s3); border: 0; background: transparent; }
.flow-strip { display: grid; gap: var(--s3); grid-template-columns: repeat(auto-fit, minmax(min(100%, 8.5rem), 1fr)); margin: 0; padding: 0; list-style: none; counter-reset: f; }
.flow-strip li { position: relative; display: grid; justify-items: center; gap: var(--s1); padding: var(--s4) var(--s3); border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); text-align: center; }
.flow-strip b { font-size: var(--fs-md); }
.flow-strip span:last-child { font-size: var(--fs-xs); color: var(--muted); }
.ai-opts { display: grid; gap: var(--s3); grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); margin-bottom: var(--s5); }
.ai-opt { padding: var(--s3) var(--s4); border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.ai-opt b { display: block; }
.ai-opt span { font-size: var(--fs-sm); color: var(--muted); }
.teaser { display: grid; gap: var(--s6); align-items: center; padding: var(--s6); border: 1px solid var(--line); border-radius: calc(var(--r-lg) + 6px); background: var(--surface); box-shadow: var(--shadow-1); color: inherit; text-decoration: none; transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease); }
@media (min-width: 900px) { .teaser { grid-template-columns: 1fr 1.1fr; } }
.teaser:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.teaser h2 { font-size: var(--fs-2xl); }
.teaser:hover .btn { --btn-line: var(--ink-2); }

/* The landing choice */
.chooser { padding-block: clamp(1.5rem, 1rem + 2vw, 3rem) var(--s8); background: radial-gradient(50rem 30rem at 15% 20%, rgb(255 165 38 / 14%), transparent 70%), radial-gradient(45rem 30rem at 90% 80%, rgb(46 125 50 / 8%), transparent 70%); }
.chooser h1 { max-width: 20ch; margin-inline: auto; }
.chooser .lead { margin-inline: auto; }
.choices-2 { display: grid; gap: var(--s5); margin-top: var(--s7); grid-template-columns: repeat(auto-fit, minmax(min(100%, 24rem), 1fr)); }
.choice-card { position: relative; display: flex; flex-direction: column; gap: var(--s3); padding: var(--s6); border: 1px solid var(--line); border-radius: calc(var(--r-lg) + 6px); background: var(--surface); box-shadow: var(--shadow-1); color: inherit; text-decoration: none; transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), border-color var(--t) var(--ease); }
.choice-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: var(--orange-300); }
.choice-card h2 { margin: 0; font-size: var(--fs-2xl); }
.choice-card .ticks { margin: var(--s2) 0 var(--s4); }
.choice-card .btn { margin-top: auto; align-self: flex-start; }
.choice-card:hover .btn-secondary { --btn-line: var(--ink-2); }
.choice-visual { display: grid; place-items: center; height: 15rem; margin-bottom: var(--s3); border-radius: var(--r-lg); background: var(--bg-alt); overflow: hidden; }
.mini.laptop { width: 82%; }
.mini.laptop .dev-screen { padding: 2.2% 2.2% 2.6%; border-radius: 12px 12px 4px 4px; background: #1B1712; }
.mini.laptop .scr { aspect-ratio: 16 / 10; border-radius: 3px; }
.mini.laptop .dev-base { height: 0; margin: 0 -7%; border-top: 12px solid #CFC5BA; border-left: 16px solid transparent; border-right: 16px solid transparent; border-radius: 0 0 8px 8px; }
.mini.tablet { width: 40%; }
.mini.tablet .dev-screen { padding: 5%; border-radius: 16px; background: #1B1712; box-shadow: var(--shadow-2); }
.mini.tablet .scr { aspect-ratio: 3 / 4; border-radius: 7px; }
.mini.tablet .sp-page { animation-name: scrollpage-t; }
.choice-last { position: absolute; top: var(--s4); right: var(--s4); z-index: 2; padding: 0.2rem 0.6rem; border-radius: var(--r-pill); background: var(--chip-bg); color: var(--chip-ink); font-size: var(--fs-xs); font-weight: 700; }
.chooser-foot { margin-top: var(--s6); text-align: center; color: var(--muted); }

/* Route switch in the header: the gateway to the other side */
.route-switch { display: inline-flex; align-items: center; gap: 0.35em; font-size: var(--fs-xs); font-weight: 600; color: var(--muted); text-decoration: none; white-space: nowrap; }
.route-switch:hover { color: var(--accent); }
.route-switch svg { width: 1em; height: 1em; }
@media (max-width: 1080px) { .header-actions .route-switch { display: none; } }
.route-label { margin-left: calc(-1 * var(--s3)); padding: 0.15rem 0.55rem; border-radius: var(--r-pill); background: var(--chip-bg); color: var(--chip-ink); font-size: var(--fs-xs); font-weight: 700; white-space: nowrap; }
[data-route="services"] .route-label { background: var(--ok-bg); color: var(--ok-ink); }
@media (max-width: 420px) { .route-label { display: none; } }

.header-actions .btn { white-space: nowrap; }
/* The app side has three header buttons: keep only Buy now until there's room for all. */
@media (max-width: 1180px) { :is([data-route="studio"], [data-route="services"]) .header-actions .btn-secondary { display: none; } }

/* Landing headline */
.chooser .splash-title { max-width: none; margin-bottom: var(--s3); font-size: clamp(3rem, 1.6rem + 7vw, 7.5rem); line-height: 0.98; letter-spacing: -0.035em; }
.chooser .splash-title .hl { background: var(--brand-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.splash-q { margin: 0 auto var(--s3); font: 600 var(--fs-xl)/1.3 var(--font-display); color: var(--ink-2); }

/* Card visuals: a family of devices in each card */
.choice-visual.cluster { position: relative; display: block; height: 16rem; }
.cluster .mini { position: absolute; }
.mini.phone .dev-screen { padding: 7% 6%; border-radius: 12px; background: #1B1712; box-shadow: var(--shadow-2); }
.mini.phone .scr { aspect-ratio: 9 / 19; border-radius: 7px; }
.cluster.app .laptop { left: 7%; top: 9%; width: 66%; }
.cluster.app .tablet { right: 5%; bottom: 7%; width: 25%; }
.cluster.app .phone { left: 4%; bottom: 5%; width: 12%; }
.cluster.svc .laptop { left: 4%; top: 9%; width: 50%; opacity: 0.95; }
.cluster.svc .tablet { left: 38%; bottom: 6%; width: 29%; z-index: 2; }
.cluster.svc .phone { left: 3%; bottom: 5%; width: 13%; z-index: 3; }

/* It plays everywhere: one course, reflowing as its screen changes */
.everywhere { background: linear-gradient(180deg, transparent, var(--bg-alt)); }
.morph { display: grid; gap: var(--s4); }
.morph-stage { position: relative; display: grid; place-items: center; height: 30rem; }
@media (max-width: 700px) { .morph-stage { height: 22rem; } }
.morph-frame { position: relative; padding: 12px; border-radius: 18px; transition-property: width, height, border-radius, margin-bottom; background: #1B1712; box-shadow: 0 30px 60px -24px rgb(60 35 10 / 50%); transition: width 0.9s var(--ease-in-out), height 0.9s var(--ease-in-out), border-radius 0.9s var(--ease-in-out); }
.morph-frame.is-phone { border-radius: 30px; } .morph-frame.is-tablet { border-radius: 24px; }
.morph-screen { position: absolute; left: 12px; top: 12px; overflow: hidden; border-radius: 8px; background: #FFFFFF; transform-origin: 0 0; container-type: inline-size; transition: transform 0.9s var(--ease-in-out); }
.morph-frame.dragging, .morph-frame.dragging .morph-screen { transition: none; }
.morph-handle { position: absolute; right: -14px; top: 50%; width: 14px; height: 56px; margin-top: -28px; padding: 0; border: 0; border-radius: 0 8px 8px 0; background: var(--orange-500); cursor: ew-resize; touch-action: none; }
.morph-handle::before { content: ""; position: absolute; inset: 14px 5px; border-left: 2px solid rgb(255 255 255 / 80%); border-right: 2px solid rgb(255 255 255 / 80%); }
.morph-controls { display: flex; flex-wrap: wrap; gap: var(--s4); align-items: center; justify-content: center; }
.morph-label { min-width: 13rem; margin: 0; text-align: center; font-size: var(--fs-sm); }
.morph-label span { color: var(--muted); font-variant-numeric: tabular-nums; }
.morph-controls input[type="range"] { width: min(100%, 18rem); accent-color: var(--orange-500); }
.morph-devices { display: inline-flex; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--surface); }
.morph-devices button { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border: 0; border-radius: var(--r-pill); background: transparent; color: var(--muted); cursor: pointer; }
.morph-devices button svg { width: 1.2rem; height: 1.2rem; }
.morph-devices button[aria-current="true"] { background: var(--chip-bg); color: var(--chip-ink); }
.morph-devices [data-play] { margin-left: var(--s2); color: var(--ink); }

/* The course inside (sizes in the device's own pixels; the screen is scaled to fit) */
.morph-screen .ln { display: block; height: 12px; margin: 0 0 12px; border-radius: 99px; background: #E6DED5; }
.morph-screen .ln.dk { background: #B7ACA0; } .morph-screen .ln.h { height: 26px; margin-bottom: 18px; background: #3D352D; }
.morph-screen .ln.w { height: 22px; background: rgb(255 255 255 / 92%); } .morph-screen .ln.acc { height: 10px; background: var(--orange-500); }
.mc-bar { display: flex; align-items: center; gap: 16px; height: 64px; padding: 0 32px; border-bottom: 1px solid #EFE8E0; }
.mc-bar .ln { margin: 0; }
.mc-logo { width: 28px; height: 28px; border-radius: 7px; background: var(--brand-gradient); }
.mc-nav { display: flex; gap: 14px; margin-left: auto; } .mc-nav i { display: block; width: 70px; height: 12px; border-radius: 99px; background: #D9CFC4; }
.mc-burger { display: none; width: 28px; height: 20px; margin-left: auto; border-top: 4px solid #6B625A; border-bottom: 4px solid #6B625A; position: relative; }
.mc-burger::after { content: ""; position: absolute; left: 0; right: 0; top: 4px; border-top: 4px solid #6B625A; }
.mc-body { padding: 36px 48px; }
.mc-hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 36px; align-items: center; margin-bottom: 40px; }
.mc-btn { display: block; width: 160px; height: 44px; margin-top: 20px; border-radius: 22px; background: var(--orange-500); }
.mc-hero-img, .mc-pic { position: relative; overflow: hidden; height: 240px; border-radius: 16px; background: linear-gradient(160deg, #FFF0E0, #FFE1C2); }
.mc-slide { margin-bottom: 40px; padding: 16px; border: 1px solid #E6DED5; border-radius: 14px; background: #F4EEE7; }
.mc-slide-in { padding: 28px; border-radius: 8px; background: #2B2E4A; }
.mc-slide-row { display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; margin-top: 20px; padding: 24px; border-radius: 6px; background: #FFFFFF; }
.mc-pic { height: 150px; background: linear-gradient(160deg, #E8F3FB, #D6E9F8); }
.mc-choice { display: flex; gap: 12px; margin-top: 18px; } .mc-choice i { display: block; width: 120px; height: 36px; border-radius: 18px; background: #1D6FE0; } .mc-choice i + i { background: #E3ECFB; }
.mc-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 40px; }
.mc-cards > div { padding: 22px; border: 1px solid #EFE8E0; border-radius: 14px; }
.mc-cards .ic { display: block; width: 40px; height: 40px; margin-bottom: 16px; border-radius: 10px; background: #FFF0E0; box-shadow: inset 0 0 0 10px #FFF0E0, inset 0 0 0 17px var(--orange-400); }
.mc-cards .ic.g { background: #EAF6EC; box-shadow: inset 0 0 0 10px #EAF6EC, inset 0 0 0 17px var(--green-500); }
.mc-quiz { padding: 26px; border-radius: 14px; background: #F6F1EA; }
.mc-quiz .opt { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; padding: 12px 16px; border: 1px solid #E6DED5; border-radius: 10px; background: #FFFFFF; }
.mc-quiz .opt::before { content: ""; width: 18px; height: 18px; border: 2px solid #B7ACA0; border-radius: 50%; }
.mc-quiz .opt .ln { flex: 1; margin: 0; } .mc-quiz .opt.ok { border-color: var(--green-500); background: #EAF6EC; } .mc-quiz .opt.ok::before { border-color: var(--green-500); background: var(--green-500); }
@container (max-width: 1100px) { .mc-cards { grid-template-columns: repeat(2, 1fr); } }
@container (max-width: 700px) {
  .mc-nav { display: none; } .mc-burger { display: block; }
  .mc-body { padding: 24px; }
  .mc-hero, .mc-slide-row { grid-template-columns: 1fr; }
  .mc-hero-img { height: 180px; }
  .mc-cards { grid-template-columns: 1fr; }
  .mc-bar { padding: 0 20px; }
}
@container (max-width: 900px) and (min-width: 701px) { .mc-hero { grid-template-columns: 1fr 1fr; } }

/* A ghosted team behind the "have it built" devices */
.ghost-team { position: absolute; right: 0; bottom: 0; width: 46%; height: auto; color: var(--orange-ink); opacity: 0.26; z-index: 0; pointer-events: none; }
.cluster.svc .mini { z-index: 1; }
.cluster.svc .tablet { z-index: 2; } .cluster.svc .phone { z-index: 3; }
.chooser .lead { max-width: none; font-size: var(--fs-md); }
@media (min-width: 760px) { .chooser .lead { white-space: nowrap; } }

/* Landing card buttons: white with a firmer outline; orange when the card is hovered or focused */
.choice-card .btn { --btn-bg: #FFFFFF; --btn-ink: #1B1209; border-width: 2px; border-color: var(--line-strong); box-shadow: none; }
.choice-card:hover .btn, .choice-card:focus-visible .btn { --btn-line: transparent; background: linear-gradient(135deg, var(--orange-300), var(--orange-400)); box-shadow: 0 8px 20px -8px rgb(242 92 5 / 70%); }

/* Device hardware round the morphing screen: each part fades in for its device */
.morph-frame { transition: width 0.9s var(--ease-in-out), height 0.9s var(--ease-in-out), border-radius 0.9s var(--ease-in-out), margin-bottom 0.9s var(--ease-in-out); }
.morph-frame .dv { position: absolute; display: block; opacity: 0; pointer-events: none; transition: opacity 0.45s var(--ease), transform 0.9s var(--ease-in-out); }
.morph-screen { z-index: 1; }
.dv-cam { left: 50%; top: 4px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: #3A3129; box-shadow: inset 0 0 0 1px #5A5048; }
.dv-island { z-index: 2; left: 50%; top: 20px; width: 26%; height: 15px; transform: translateX(-50%); border-radius: 99px; background: #0E0B09; }
.dv-btn { width: 3px; border-radius: 2px; background: #2A231D; }
.dv-btn.b1 { left: -3px; top: 22%; height: 9%; } .dv-btn.b2 { left: -3px; top: 34%; height: 9%; } .dv-btn.b3 { right: -3px; top: 28%; height: 14%; }
.dv-chin { left: 50%; bottom: 11px; width: 8px; height: 8px; margin-left: -4px; border-radius: 2px; background: linear-gradient(135deg, var(--orange-300), var(--orange-500)); }
.dv-stand { left: 50%; top: 100%; width: 0; transform: translateY(-12px); }
.dv-stand .neck { position: absolute; left: -34px; top: 0; width: 68px; height: 56px; background: linear-gradient(90deg, #CDBFB1, #E6DCD1 50%, #C7B8A9); clip-path: polygon(14% 0, 86% 0, 100% 100%, 0 100%); }
.dv-stand .foot { position: absolute; left: -110px; top: 54px; width: 220px; height: 12px; border-radius: 6px 6px 10px 10px; background: linear-gradient(#E3D9CE, #C9BBAD); box-shadow: 0 10px 18px -8px rgb(60 35 10 / 45%); }
.dv-deck { left: -9%; right: -9%; top: 100%; height: 18px; transform: translateY(-6px) scaleX(0.92); border-radius: 0 0 16px 16px; background: linear-gradient(#EDE5DC, #C9BCAE); clip-path: polygon(0 0, 100% 0, 97% 100%, 3% 100%); box-shadow: 0 12px 18px -10px rgb(60 35 10 / 40%); }
.dv-deck::after { content: ""; position: absolute; left: 50%; top: 0; width: 14%; height: 6px; transform: translateX(-50%); border-radius: 0 0 8px 8px; background: #B9AB9C; }

.morph-frame.is-desktop { border-radius: 12px; }
.morph-frame.is-desktop .dv-stand, .morph-frame.is-desktop .dv-chin, .morph-frame.is-desktop .dv-cam { opacity: 1; }
.morph-frame.is-desktop .dv-stand { transform: none; }
.morph-frame.is-laptop { border-radius: 16px 16px 4px 4px; }
.morph-frame.is-laptop .dv-deck, .morph-frame.is-laptop .dv-cam { opacity: 1; }
.morph-frame.is-laptop .dv-deck { transform: none; }
.morph-frame.is-tablet { border-radius: 26px; }
.morph-frame.is-tablet .dv-cam { opacity: 1; }
.morph-frame.is-phone, .morph-frame.is-phone-l { border-radius: 34px; }
.morph-frame.is-phone .dv-island, .morph-frame.is-phone .dv-btn { opacity: 1; }
.morph-frame.is-phone-l .dv-island { opacity: 1; left: 20px; top: 50%; width: 15px; height: 26%; transform: translateY(-50%); }
.morph-frame.is-phone-l .dv-btn { opacity: 1; }
.morph-frame.is-phone-l .dv-btn.b1 { left: auto; top: -3px; right: 22%; width: 9%; height: 3px; }
.morph-frame.is-phone-l .dv-btn.b2 { left: auto; top: -3px; right: 34%; width: 9%; height: 3px; }
.morph-frame.is-phone-l .dv-btn.b3 { right: auto; top: auto; bottom: -3px; left: 28%; width: 14%; height: 3px; }

/* The same touches on the small devices in the cards and the services hero */
.mini.phone .dev-screen, .dev.phone .dev-screen, .mini.tablet .dev-screen, .dev.tablet .dev-screen { position: relative; }
.mini.phone .dev-screen::before, .dev.phone .dev-screen::before { content: ""; position: absolute; z-index: 2; left: 50%; top: 11%; width: 30%; height: 3.2%; transform: translateX(-50%); border-radius: 99px; background: #0E0B09; }
.mini.phone .dev-screen::after, .dev.phone .dev-screen::after { content: ""; position: absolute; right: -2px; top: 24%; width: 2px; height: 12%; border-radius: 2px; background: #2A231D; }
.mini.tablet .dev-screen::before, .dev.tablet .dev-screen::before { content: ""; position: absolute; left: 50%; top: 2%; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: #4A4037; }
.mini.laptop .dev-base, .laptop .dev-base { position: relative; }
.mini.laptop .dev-base::after, .laptop .dev-base::after { content: ""; position: absolute; left: 50%; top: -12px; width: 16%; height: 4px; transform: translateX(-50%); border-radius: 0 0 6px 6px; background: #B9AB9C; }
.mini.laptop .dev-screen, .dev.laptop .dev-screen { position: relative; }
.mini.laptop .dev-screen::before, .dev.laptop .dev-screen::before { content: ""; position: absolute; left: 50%; top: 0.8%; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: #4A4037; }

.ghost-team .front path, .ghost-team .front circle { stroke: var(--bg-alt); stroke-width: 4; paint-order: stroke; }
.ghost-team .front .hair { stroke: none; }
.ghost-team .front rect { stroke: none; }
.splash-badge { display: block; width: clamp(4rem, 3rem + 3vw, 6rem); height: auto; margin: 0 auto var(--s4); border-radius: 22%; box-shadow: 0 14px 30px -12px rgb(242 92 5 / 55%); }

/* Studio rows: a large orange icon tile beside each name */
.studio-head { display: flex; align-items: center; gap: var(--s4); margin-bottom: var(--s3); }
.studio-head .eyebrow { margin-bottom: var(--s1); }
.studio-head h3 { margin: 0; }
.ico-xl { width: clamp(3.5rem, 3rem + 1.5vw, 4.5rem); height: clamp(3.5rem, 3rem + 1.5vw, 4.5rem); border-radius: 18px; box-shadow: 0 10px 22px -10px rgb(242 92 5 / 65%); }
.ico-xl svg { width: 55%; height: 55%; stroke-width: 2.1; }

h2 .hl { background: var(--brand-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* One sentence per line in multi-sentence headlines (added by the build) */
h1 .line, h2 .line { display: block; text-wrap: balance; }
/* Headlines split into lines size themselves to fit, so the reading-width cap isn't needed. */
.head h2:has(.line), .cta-band h2:has(.line), .page-head h1:has(.line) { max-width: none; }
/* Keep each sentence of a headline whole: size the headline to its column (container units) */
.hero .wrap > div:first-child, .head, .split > div, .page-head .wrap, .cta-band, .choice-card, .chooser .center { container-type: inline-size; }
h1:has(.line) { font-size: min(var(--fs-3xl), 10.5cqi, calc(172cqi / var(--chars, 18))); }
h2:has(.line) { font-size: min(var(--fs-2xl), 7.2cqi, calc(172cqi / var(--chars, 26))); }
@media (min-width: 560px) { h1 .line, h2 .line { white-space: nowrap; } }

/* House rule (owner, 2026-10-22): the orange (highlighted) part of a headline always
   sits on its own line, apart from the black part. */
h1 .hl, h2 .hl { display: block; }
.hl em { font-style: italic; padding-right: 0.08em; }
h1:has(.hl) { font-size: min(var(--fs-3xl), 10.5cqi, calc(172cqi / var(--chars, 18))); }
h2:has(.hl) { font-size: min(var(--fs-2xl), 7.2cqi, calc(172cqi / var(--chars, 26))); }
.chooser .splash-title:has(.hl) { font-size: min(clamp(3rem, 1.6rem + 7vw, 7.5rem), 16cqi); }
@media (min-width: 560px) { h1 .hl, h2 .hl, h1:has(.hl) > :not(.hl), h2:has(.hl) { white-space: nowrap; } }

/* Ribbon demo: tabs switch real cut-outs of the app's ribbon */
.ribbon-demo { max-width: 72rem; margin-inline: auto; }
.ribbon-tabs { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: var(--s2); margin-bottom: var(--s4); }
@media (max-width: 760px) { .ribbon-tabs { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.ribbon-tabs button { display: grid; justify-items: center; gap: var(--s1); padding: var(--s3) var(--s2); border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); color: var(--ink); font: 600 var(--fs-sm)/1.2 var(--font); cursor: pointer; transition: border-color var(--t-fast), box-shadow var(--t-fast), transform var(--t-fast); }
.ribbon-tabs button:hover { transform: translateY(-2px); box-shadow: var(--shadow-1); }
.ribbon-tabs button[aria-selected="true"] { border-color: var(--orange-400); box-shadow: 0 0 0 2px var(--orange-300) inset, var(--shadow-1); }
.ribbon-tabs button[aria-selected="true"] .ico { background: var(--brand-gradient); color: #FFFFFF; }
.ribbon-shot { border-radius: var(--r); box-shadow: var(--shadow-2); }
.ribbon-shot::before { display: none; }
.ribbon-cap { margin: var(--s3) 0 0; text-align: center; color: var(--muted); }
/* With JS, every panel sits in the same spot and they cross-fade. */
.js [data-ribbon] { display: grid; }
.js [data-ribbon] .ribbon-tabs { grid-row: 1; }
.js [data-ribbon] .ribbon-panel { grid-row: 2; grid-column: 1; opacity: 0; visibility: hidden; transition: opacity 0.7s ease-in-out, visibility 0s linear 0.7s; }
.js [data-ribbon] .ribbon-panel.is-on { opacity: 1; visibility: visible; transition: opacity 0.7s ease-in-out, visibility 0s; }
@media (prefers-reduced-motion: reduce) { .js [data-ribbon] .ribbon-panel { transition: none; } }
.palettes { display: grid; gap: var(--s6); align-items: center; margin-top: var(--s7); }
@media (min-width: 900px) { .palettes { grid-template-columns: 2fr 1fr; } }
.palettes-b { margin-top: var(--s7); }
/* Close-ups: a part of the app shown larger, beside the full window. */
.closeup { margin: 0; display: grid; gap: var(--s2); }
.closeup figcaption { display: flex; align-items: center; gap: var(--s2); color: var(--accent); font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.closeup figcaption svg { width: 1.1rem; height: 1.1rem; }
.closeup .frame { border-radius: var(--r); box-shadow: var(--shadow-2); overflow: hidden; outline: 3px solid var(--orange-300); outline-offset: 3px; }
.closeup .frame::before { display: none; }
.closeup-tall { max-width: 22.5rem; justify-self: center; width: 100%; }
.palettes h3 { font-size: var(--fs-xl); }

/* ── Media Library hub (Studio page) ── */
.lib-split { display: grid; gap: var(--s7); align-items: center; }
@media (min-width: 900px) { .lib-split { grid-template-columns: 1.1fr 1fr; } }
.lib-split h3 { font-size: var(--fs-xl); }
.lib-hub { position: relative; margin: 0 auto; width: 100%; max-width: 32rem; aspect-ratio: 1; }
.lib-spokes { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.lib-spokes circle, .lib-spokes line { fill: none; stroke: var(--orange-400); stroke-width: 0.5; stroke-linecap: round; stroke-dasharray: 1.2 1.8; opacity: 0.7; }
.lib-spokes circle { stroke: var(--line-strong); stroke-dasharray: none; opacity: 1; }
@media (prefers-reduced-motion: no-preference) { .lib-spokes line { animation: lib-flow 1.6s linear infinite; } }
@keyframes lib-flow { to { stroke-dashoffset: -6; } }
.lib-core { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: grid; place-items: center; gap: var(--s1); width: 34%; aspect-ratio: 1; border-radius: 50%; background: var(--brand-gradient); color: #FFFFFF; text-align: center; box-shadow: 0 18px 40px -14px rgb(242 92 5 / 70%); font-size: var(--fs-sm); line-height: 1.15; padding: var(--s3); }
.lib-core .ico { background: rgb(255 255 255 / 22%); color: #FFFFFF; margin-top: auto; }
.lib-core b { margin-bottom: auto; }
.lib-nodes { list-style: none; margin: 0; padding: 0; }
.lib-node { --a: calc(var(--i) * 360deg / 7 - 90deg); position: absolute; left: calc(50% + 38% * cos(var(--a))); top: calc(50% + 38% * sin(var(--a))); transform: translate(-50%, -50%); display: grid; justify-items: center; gap: 2px; width: 8.75rem; padding: var(--s2) var(--s2) var(--s3); border: 1px solid var(--line); border-radius: var(--r-lg, 16px); background: var(--surface); box-shadow: var(--shadow-1); text-align: center; font-size: var(--fs-sm); line-height: 1.25; }
.lib-node .ico { width: 2.25rem; height: 2.25rem; border-radius: 10px; margin-bottom: 2px; }
.lib-node .ico svg { width: 1.2rem; height: 1.2rem; }
.lib-node span:last-child { color: var(--muted); font-size: var(--fs-xs); }
/* Small screens: the library on top, the studios in a grid beneath. */
@media (max-width: 560px) {
  .lib-hub { aspect-ratio: auto; max-width: none; display: grid; gap: var(--s4); }
  .lib-spokes { display: none; }
  .lib-core { position: static; transform: none; width: 9rem; margin: 0 auto; }
  .lib-nodes { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); }
  .lib-node { position: static; transform: none; width: auto; }
}

/* Section labels help on phones, where a long page scrolls past fast. On wider screens the headline does the job,
   so they show only where they carry something the headline doesn't (marked .keep). Last in the file so it wins. */
@media (min-width: 760px) { .eyebrow:not(.keep) { display: none !important; } }

/* Folder tabs under the header: "Build my course" (services) and "I build courses" (the app).
   The side you're on comes first, in solid orange, sitting on a full-width orange line. */
.side-tabs { border-bottom: 3px solid var(--orange-500); background: var(--bg); }
.side-tabs .wrap { display: flex; align-items: flex-end; gap: var(--s1); padding-top: var(--s2); }
.side-tab { padding: 0.2rem 1.2rem; line-height: 1.25; border: 1px solid rgb(242 92 5 / 30%); border-bottom: 0; border-radius: 12px 12px 0 0; background: linear-gradient(135deg, rgb(255 138 31 / 25%), rgb(242 92 5 / 25%)); color: var(--chip-ink); font-size: var(--fs-md); font-weight: 700; text-decoration: none; white-space: nowrap; }
.side-tab:hover { border-color: var(--orange-500); background: linear-gradient(135deg, var(--orange-400), var(--orange-500)); color: #FFFFFF; text-decoration: none; }
.side-tab.on { padding-top: 0.3rem; border-color: var(--orange-500); background: linear-gradient(135deg, var(--orange-400), var(--orange-500)); color: #FFFFFF; }
.side-tab.on:hover { color: #FFFFFF; }
@media (max-width: 360px) { .side-tab { padding-inline: 0.85rem; font-size: var(--fs-sm); } }

/* Before launch: buttons that would buy, download or join a waitlist, greyed out. */
.btn-soon { opacity: 0.55; cursor: default; pointer-events: none; box-shadow: none; filter: saturate(0.4); }
/* The launch splash on the home page. */
.launch-splash { display: grid; align-items: center; min-height: calc(100vh - 12rem); }
.launch-actions { justify-content: center; margin-top: var(--s5); }

/* Features page: a cross-fading slideshow of the top features beside the page head. */
.feat-head { display: grid; gap: var(--s6); }
.feat-intro { container-type: inline-size; min-width: 0; }
@media (min-width: 1000px) { .feat-head { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); align-items: center; } }
.feat-show { min-width: 0; }
.fs-slides { display: grid; }
.fs-slide { grid-area: 1 / 1; margin: 0; }
.fs-shot { aspect-ratio: 1440 / 940; }
.fs-shot img { display: block; height: 100%; object-fit: cover; object-position: top left; }
.fs-cap { margin: var(--s3) 0 0; color: var(--muted); text-align: center; }
.fs-cap b { color: var(--ink); }
.js .fs-slide { opacity: 0; visibility: hidden; transition: opacity 0.9s ease-in-out, visibility 0s linear 0.9s; }
.js .fs-slide.is-on { opacity: 1; visibility: visible; transition: opacity 0.9s ease-in-out, visibility 0s; }
.js .fs-slide img { transform: scale(1); transform-origin: 20% 15%; transition: transform 6s ease-out; }
.js .fs-slide.is-on img { transform: scale(1.06); }
.fs-controls { display: none; align-items: center; justify-content: center; gap: var(--s3); margin-top: var(--s3); }
.js .fs-controls { display: flex; }
.fs-pause { display: inline-flex; align-items: center; gap: 0.4rem; min-height: 2.25rem; padding: 0 0.8rem; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--surface); color: var(--ink); font: inherit; font-size: var(--fs-sm); cursor: pointer; }
.fs-pause .fs-ico-pause, .fs-pause .fs-ico-play { font-size: 0.7em; }
.fs-pause .fs-ico-play, .fs-pause[aria-pressed="true"] .fs-ico-pause { display: none; }
.fs-pause[aria-pressed="true"] .fs-ico-play { display: inline; }
.fs-dots { display: flex; gap: 0.15rem; }
.fs-dot { width: 1.75rem; height: 1.75rem; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.fs-dot::before { content: ""; width: 0.6rem; height: 0.6rem; border-radius: 50%; background: var(--line-strong); transition: width 0.3s, background 0.3s; }
.fs-dot[aria-current="true"]::before { width: 1.4rem; border-radius: 999px; background: var(--orange-500); }
.fs-pause:focus-visible, .fs-dot:focus-visible { outline: 3px solid var(--orange-500); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .js .fs-slide, .js .fs-slide.is-on, .js .fs-slide img { transition: none; transform: none; } }

/* Features page, "Start and build": features grouped in cards; each line opens with + for its details. */
.fg-grid { display: grid; gap: var(--s4); align-items: start; }
@media (min-width: 700px) { .fg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .fg-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.fg-card { padding: var(--s4) var(--s4) var(--s2); border: 1px solid var(--line); border-radius: var(--r-lg, 16px); background: var(--surface); box-shadow: var(--shadow-1); }
.fg-title { margin: 0; font-size: var(--fs-lg, 1.2rem); }
.fg-sub { margin: 0.2rem 0 var(--s2); color: var(--muted); font-size: var(--fs-sm); }
.fg-list { list-style: none; margin: 0; padding: 0; }
.fg-list li + li { border-top: 1px solid var(--line); }
.fx summary { display: flex; align-items: center; gap: var(--s3); padding: 0.55rem 0; cursor: pointer; list-style: none; font-weight: 600; }
.fx summary::-webkit-details-marker { display: none; }
.fx summary .ico { flex: none; width: 2rem; height: 2rem; border-radius: 9px; }
.fx summary .ico svg { width: 1.05rem; height: 1.05rem; }
.fx-t { flex: 1; }
.fx-plus { flex: none; position: relative; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--chip-bg, rgb(242 92 5 / 10%)); }
.fx-plus::before, .fx-plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 0.7rem; height: 2px; margin: -1px 0 0 -0.35rem; border-radius: 2px; background: var(--orange-600, #C2410C); transition: transform 0.25s ease; }
.fx-plus::after { transform: rotate(90deg); }
.fx[open] .fx-plus::after { transform: rotate(0deg); }
.fx summary:hover .fx-t { color: var(--orange-600, #C2410C); }
.fx summary:focus-visible { outline: 3px solid var(--orange-500); outline-offset: 2px; border-radius: 6px; }
.fx p { margin: 0 0 var(--s3) calc(2rem + var(--s3)); color: var(--muted); font-size: var(--fs-sm); }
@media (prefers-reduced-motion: reduce) { .fx-plus::before, .fx-plus::after { transition: none; } }

/* Features page, "New in 1.0.6": a big badge, cards with icon badges and bullets; pointing at a card (or
   tapping it, or tabbing to it) fades in a screenshot of that feature. */
.new-badge { display: inline-flex; align-items: center; gap: 0.4rem; margin: 0 0 var(--s3); padding: 0.3rem 0.85rem 0.3rem 0.7rem; border: 1px solid var(--line-strong); border-radius: 999px; background: #FFFFFF; color: #1B1712; font-size: var(--fs-sm); font-weight: 700; letter-spacing: 0.01em; box-shadow: var(--shadow-1); }
.new-badge svg { width: 1.1em; height: 1.1em; color: var(--orange-500); }
.nw-grid { display: grid; gap: var(--s4); }
@media (min-width: 700px) { .nw-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .nw-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.nw-card { position: relative; overflow: hidden; display: grid; align-content: start; gap: var(--s3); min-height: 17rem; padding: var(--s5); border: 1px solid var(--line); border-radius: var(--r-lg, 16px); background: var(--surface); box-shadow: var(--shadow-1); cursor: default; transition: box-shadow 0.3s ease, transform 0.3s ease; }
.nw-card h3 { margin: 0; font-size: var(--fs-xl, 1.4rem); }
.nw-card .ticks { margin: 0; }
.nw-card .ticks li { margin: 0.2rem 0; }
.nw-hint { display: inline-flex; align-items: center; gap: 0.35rem; margin-top: auto; color: var(--orange-600, #C2410C); font-size: var(--fs-sm); font-weight: 600; }
.nw-hint svg { width: 1rem; height: 1rem; }
.nw-h-tap { display: none; }
@media (hover: none) { .nw-h-point { display: none; } .nw-h-tap { display: inline; } }
.nw-peek { position: absolute; inset: 0; opacity: 0; visibility: hidden; background: var(--surface-2); transition: opacity 0.45s ease, visibility 0s linear 0.45s; }
.nw-peek img { width: 100%; height: 100%; padding: var(--s3); object-fit: contain; transform: scale(1.04); transition: transform 3s ease-out; }
.nw-card:hover, .nw-card:focus-within { box-shadow: var(--shadow-2); transform: translateY(-2px); }
.nw-card:hover .nw-peek, .nw-card:focus .nw-peek { opacity: 1; visibility: visible; transition: opacity 0.45s ease, visibility 0s; }
.nw-card:hover .nw-peek img, .nw-card:focus .nw-peek img { transform: scale(1); }
.nw-card:focus-visible { outline: 3px solid var(--orange-500); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .nw-card, .nw-peek, .nw-peek img { transition: none; transform: none; } }

/* Short bulleted lists in place of lead paragraphs (owner, 2026-10-25: easier to take in). */
.ticks.lead-list { gap: var(--s2); margin: 0 0 var(--s5); max-width: 40rem; font-size: var(--fs-lg); color: var(--ink-2); }
.ticks.lead-list li { padding-left: 2rem; }
.ticks.lead-list li::before { top: 0.3em; width: 1.25rem; height: 1.25rem; }
.cta-band .lead-list, .center .lead-list, .head.center .lead-list, [style*="text-align: center"] .lead-list { width: fit-content; margin-inline: auto; text-align: left; }

/* Studio page, AI section: a row of supported AI services in one colour. */
.ai-logos { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3) var(--s5); margin: var(--s2) 0 var(--s2); padding: 0; list-style: none; color: var(--ink-2); }
.ai-logos li { display: inline-flex; align-items: center; gap: 0.5rem; font-size: var(--fs-lg); font-weight: 650; letter-spacing: -0.01em; opacity: 0.8; transition: opacity 0.2s ease; }
.ai-logos li:hover { opacity: 1; }
.ai-logos svg { width: 1.75rem; height: 1.75rem; flex: none; }
.ai-logos .ai-logo-text span { font-weight: 700; }
.ai-logos-note { margin: 0 0 var(--s5); color: var(--muted); font-size: var(--fs-xs, 0.8rem); }


/* App screenshots: light only (owner, 2026-10-25: no dark look anywhere on the site). */
.duo { position: relative; }
.duo-light img { display: block; width: 100%; }

/* Studio rows: short points with round bullets; the first three are bold. */
.studio-points { display: grid; gap: var(--s2); margin: 0; padding: 0; list-style: none; font-size: var(--fs-lg); }
.studio-points li { position: relative; padding-left: 1.5rem; }
.studio-points li::before { content: ""; position: absolute; left: 0.2rem; top: 0.55em; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--orange-500); }
.studio-points b { font-weight: 500; color: var(--ink); }

/* Section bar ("local nav"): sticks under the site header on long pages, marks the section in view,
   folds related sections into a dropdown. On phones the tabs scroll sideways in one line. */
html:has(.local-nav) { scroll-padding-top: 8.5rem; }
.local-nav { position: sticky; top: 4.25rem; z-index: 45; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); }
.ln-bar { position: relative; }
.ln-tabs { display: flex; gap: 0.25rem; margin: 0; padding: 0.45rem 0; list-style: none; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; }
.ln-tabs::-webkit-scrollbar { display: none; }
.ln-tabs li { flex: none; scroll-snap-align: start; }
.ln-tab { display: inline-flex; align-items: center; gap: 0.3rem; min-height: 2.25rem; padding: 0 0.85rem; border: 0; border-radius: 999px; background: none; color: var(--ink-2); font: 600 var(--fs-sm)/1 var(--font); white-space: nowrap; text-decoration: none; cursor: pointer; transition: background 0.2s ease, color 0.2s ease; }
.ln-tab:hover, .ln-tab[aria-expanded="true"] { background: linear-gradient(135deg, rgb(255 165 38 / 50%), rgb(255 138 31 / 50%)); color: #1B1209; text-decoration: none; }
.ln-tab[aria-current="true"] { background: var(--ink); color: var(--bg); }
.ln-tab:focus-visible { outline: 3px solid var(--orange-500); outline-offset: 1px; }
.ln-chev { width: 0.75rem; height: 0.75rem; transition: transform 0.2s ease; }
.ln-tab[aria-expanded="true"] .ln-chev { transform: rotate(180deg); }
.ln-menu { position: absolute; top: calc(100% - 0.2rem); z-index: 46; min-width: 13rem; margin: 0; padding: 0.4rem; list-style: none; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); box-shadow: var(--shadow-2); }
.ln-menu a { display: block; padding: 0.6rem 0.8rem; border-radius: 9px; color: var(--ink); font-weight: 600; font-size: var(--fs-sm); text-decoration: none; }
.ln-menu a:hover, .ln-menu a:focus-visible { background: linear-gradient(135deg, rgb(255 165 38 / 50%), rgb(255 138 31 / 50%)); outline: none; }
.ln-menu a[aria-current="true"]::after { content: " •"; color: var(--orange-500); }
@media (max-width: 759px) { .ln-tab { padding: 0 0.7rem; } }
@media (prefers-reduced-motion: reduce) { .ln-tab, .ln-chev { transition: none; } }

/* Studio page: the studios as tabs, one panel at a time. */
.st-list { display: flex; gap: 0.35rem; margin: 0 0 var(--s5); padding: 0.35rem; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); box-shadow: var(--shadow-1); overflow-x: auto; scrollbar-width: none; width: fit-content; max-width: 100%; margin-inline: auto; }
.st-list::-webkit-scrollbar { display: none; }
.st-tab { flex: none; display: inline-flex; align-items: center; gap: 0.45rem; min-height: 2.6rem; padding: 0 1rem 0 0.45rem; border: 0; border-radius: 999px; background: none; color: var(--ink-2); font: 600 var(--fs-sm)/1 var(--font); white-space: nowrap; cursor: pointer; transition: background 0.2s ease, color 0.2s ease; }
.st-tab .ico { width: 1.9rem; height: 1.9rem; border-radius: 50%; }
.st-tab .ico svg { width: 1rem; height: 1rem; }
.st-tab:hover { background: linear-gradient(135deg, rgb(255 165 38 / 50%), rgb(255 138 31 / 50%)); color: #1B1209; }
.st-tab[aria-selected="true"] { background: var(--ink); color: var(--bg); }
.st-tab[aria-selected="true"] .ico { background: var(--brand-gradient); color: #FFFFFF; }
.st-tab:focus-visible { outline: 3px solid var(--orange-500); outline-offset: 2px; }
.st-panels { display: grid; }
.st-panel { display: grid; gap: var(--s5); align-items: center; padding-block: var(--s2); }
@media (min-width: 900px) { .st-panel { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: var(--s7); } }
.st-panel:focus-visible { outline: 3px solid var(--orange-500); outline-offset: 6px; border-radius: 12px; }
.st-text .studio-head { display: flex; align-items: center; gap: var(--s3); margin-bottom: var(--s3); }
.st-text h3 { margin: 0; font-size: var(--fs-2xl, 2rem); }
.st-text .lead { margin-bottom: var(--s4); }
.js .st-panels .st-panel { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity 0.4s ease, visibility 0s linear 0.4s; }
.js .st-panels .st-panel.is-on { opacity: 1; visibility: visible; transition: opacity 0.4s ease, visibility 0s; }
.no-js .st-list { display: none; }
/* Studio slideshow: a progress line fills the chosen tab; the panel text rises in as it changes. */
.st-play { display: none; justify-content: center; margin-top: var(--s4); }
.js .st-tabs.is-auto .st-play { display: flex; }
.st-tabs.is-auto .st-tab { position: relative; overflow: hidden; }
.st-tabs.is-auto .st-tab[aria-selected="true"]::after { content: ""; position: absolute; left: 1.2rem; right: 1.2rem; bottom: 0.3rem; height: 2px; border-radius: 2px; background: var(--orange-500); transform: scaleX(0); transform-origin: left; }
.st-tabs.is-playing .st-tab[aria-selected="true"]::after { animation: st-fill 6s linear forwards; }
@keyframes st-fill { to { transform: scaleX(1); } }
.js .st-tabs.is-auto .st-panel .st-text, .js .st-tabs.is-auto .st-panel .studio-shot { transition: transform 0.6s ease; }
.js .st-tabs.is-auto .st-panel:not(.is-on) .st-text { transform: translateY(14px); }
.js .st-tabs.is-auto .st-panel:not(.is-on) .studio-shot { transform: scale(0.98); }
@media (prefers-reduced-motion: reduce) { .st-tabs.is-playing .st-tab[aria-selected="true"]::after { animation: none; } .js .st-tabs.is-auto .st-panel .st-text, .js .st-tabs.is-auto .st-panel .studio-shot { transition: none; transform: none; } }
@media (max-width: 759px) { .st-list { width: auto; margin-inline: calc(-1 * var(--s1)); border-radius: 16px; } .st-tab { padding-right: 0.8rem; } }
@media (prefers-reduced-motion: reduce) { .js .st-panels .st-panel { transition: none; } }

/* Phones: card grids marked .swipe become one row you swipe through, with dots under it. */
@media (max-width: 759px) {
  .swipe { display: flex !important; gap: var(--s3); margin-inline: calc(-1 * var(--gutter, 1rem)); padding: 0.25rem var(--gutter, 1rem) var(--s2); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter, 1rem); scrollbar-width: none; overscroll-behavior-x: contain; }
  .swipe::-webkit-scrollbar { display: none; }
  .swipe > * { flex: 0 0 84%; scroll-snap-align: start; min-width: 0; }
  .swipe-dots { display: flex; justify-content: center; gap: 0.4rem; margin-top: var(--s2); }
  .swipe-dots span { width: 0.45rem; height: 0.45rem; border-radius: 50%; background: var(--line-strong); transition: width 0.25s ease, background 0.25s ease; }
  .swipe-dots span.on { width: 1.2rem; border-radius: 999px; background: var(--orange-500); }
}
@media (min-width: 760px) { .swipe-dots { display: none; } }
.st-two .st-text .fg-sub { margin: 0 0 var(--s2); font-size: var(--fs-md, 1rem); }
.st-two .st-panel { align-items: start; }
@media (min-width: 1100px) { .fg-grid.fg-two { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* What's new: older versions fold away. */
.wn-old { border-top: 1px solid var(--line); padding-block: var(--s2); }
.wn-old > summary { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); padding: var(--s3) 0; cursor: pointer; list-style: none; }
.wn-old > summary::-webkit-details-marker { display: none; }
.wn-sum { display: flex; align-items: baseline; gap: var(--s3); font-size: var(--fs-lg); }
.wn-old[open] .fx-plus::after { transform: rotate(0deg); }
.wn-old > summary:focus-visible { outline: 3px solid var(--orange-500); outline-offset: 2px; border-radius: 6px; }
/* Comparison table: the first rows, then "Show all". */
.js .compare.collapsed .more-row { display: none; }
.compare-more { display: flex; margin: var(--s4) auto 0; }
/* Features page: Characters and Quizzing share one tabbed section. */
.st-cq .st-list { margin-inline: 0; }
.cq-panel { align-items: start; }
.cq-panel h2 { margin-top: 0; }
.cq-panel .studio-points { font-size: var(--fs-md, 1rem); }
.anchor { display: block; height: 0; }
@media (max-width: 759px) { .ln-tabs { -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); } }

/* No drop shadows on buttons or icon badges (owner, 2026-10-25). Last in the file so it wins. */
.btn, .btn:hover, .btn:focus-visible, button, button:hover, a.chip, .chip, .ln-tab, .st-tab, .fs-pause, .duo-toggle, .duo-knob, .new-badge,
.ico, .ico-solid, .ico-xl, .ico-green, .studio-head .ico, .nw-card .ico, .splash-badge, .hotspot > button { box-shadow: none !important; }
.ribbon-tabs button[aria-selected="true"] { box-shadow: 0 0 0 2px var(--orange-300) inset !important; }
.duo-knob { border: 1px solid rgb(0 0 0 / 14%); }

/* Ribbon showcase: dark by default (owner, 2026-10-25), with a switch to light. */
.rb-toggle { margin-top: var(--s3); }
.rb-toggle[aria-checked="true"] { background: #1B1712; color: #FFFFFF; border-color: #1B1712; }
.rb-toggle[aria-checked="true"] .duo-track { background: #3A332B; }
.rb-toggle[aria-checked="true"] .duo-knob { transform: translateX(1.5rem); background: #1B1712; }
.rb-toggle[aria-checked="true"] .duo-sun { color: #A89C8C; }
.rb-toggle[aria-checked="true"] .duo-moon { color: #FFD08A; }

/* Timeline close-up across the full width, palettes text underneath (owner, 2026-10-25). */
@media (min-width: 900px) { .palettes.palettes-stack { grid-template-columns: 1fr; } }
.palettes-stack { gap: var(--s5); }
.palettes-stack .closeup { margin: 0; }
.palettes-stack h3 { margin-top: 0; }
@media (min-width: 760px) { .palettes-stack .ticks { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--s6); } }

/* Features page, Start and build: one tab per area; its lines beside a big screenshot that follows the open line. */
.sb .st-list { margin-inline: 0; }
.sb-panel { align-items: start; }
@media (min-width: 1000px) { .sb-panel { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: var(--s7); } }
.sb-frame { display: grid; aspect-ratio: 1440 / 935; background: var(--surface-2); }
.sb-frame::before { grid-row: 1; grid-column: 1; }
.sb-shot { grid-row: 2; grid-column: 1; min-height: 0; display: grid; place-items: center; }
.sb-shot img { display: block; width: 100%; height: 100%; object-fit: contain; }
.js .sb-shot { opacity: 0; visibility: hidden; transition: opacity 0.35s ease, visibility 0s linear 0.35s; }
.js .sb-shot.is-on { opacity: 1; visibility: visible; transition: opacity 0.35s ease, visibility 0s; }
.sb-text h3 { margin: 0; font-size: var(--fs-xl, 1.5rem); }
.sb-text .fg-sub { margin: 0.25rem 0 var(--s3); font-size: var(--fs-md, 1rem); }
.sb .fx[open] > summary .fx-t { color: var(--orange-600, #C2410C); }
@media (max-width: 999px) { .sb-text { order: -1; } }
@media (prefers-reduced-motion: reduce) { .js .sb-shot { transition: none; } }

/* Features page: a row of cast characters, talking, waving and standing. */

/* Features page, AI: an icon badge so "AI" can't be misread; two tabs of + rows. */
.ai-head { display: flex; align-items: center; gap: var(--s3); }
.ai-badge { display: inline-grid; place-items: center; flex: none; width: 2.6rem; height: 2.6rem; border-radius: 12px; background: var(--brand-gradient); color: #FFFFFF; }
.ai-badge svg { width: 1.4rem; height: 1.4rem; }
.ai-tabs .st-list { margin-inline: 0; }
.ai-tabs .st-panel { display: block; }
.ai-tabs .fg-card { max-width: 46rem; color: var(--ink); }
@media (min-width: 900px) { .ai-tabs #ai-does .fg-list { columns: 2; column-gap: var(--s6); } .ai-tabs #ai-does .fg-list li { break-inside: avoid; } .ai-tabs #ai-does .fg-card { max-width: none; } }
/* Group photo: shoulders close, every other person a step behind. */

/* Guide: the app's Help on the website, searchable. */
.g-search { position: relative; display: flex; align-items: center; max-width: 44rem; margin-top: var(--s4); border: 1px solid var(--line-strong); border-radius: 999px; background: var(--surface); }
.g-search .ico { position: absolute; left: 1rem; width: 1.2rem; height: 1.2rem; background: none; color: var(--muted); }
.g-search input { flex: 1; min-width: 0; padding: 0.9rem 3rem 0.9rem 2.9rem; border: 0; border-radius: 999px; background: transparent; color: var(--ink); font: inherit; font-size: var(--fs-md, 1rem); }
.g-search input:focus { outline: 3px solid var(--orange-500); outline-offset: 2px; }
.g-kbd { position: absolute; right: 1rem; padding: 0.1rem 0.45rem; border: 1px solid var(--line-strong); border-radius: 6px; color: var(--muted); font-size: var(--fs-xs); }
.g-search-sm { margin: 0 0 var(--s3); max-width: 28rem; }
.g-search-sm input { padding-block: 0.6rem; }
.g-results { max-width: 44rem; margin-top: var(--s3); padding: var(--s2); border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.g-results ol { list-style: none; margin: 0; padding: 0; }
.g-results a { display: grid; gap: 0.1rem; padding: 0.6rem 0.8rem; border-radius: 10px; color: var(--ink); text-decoration: none; }
.g-results a:hover, .g-results a:focus-visible { background: linear-gradient(135deg, rgb(255 165 38 / 30%), rgb(255 138 31 / 30%)); outline: none; }
.g-results small { color: var(--orange-600, #C2410C); font-weight: 600; font-size: var(--fs-xs); }
.g-results span { color: var(--muted); font-size: var(--fs-sm); }
.g-results mark { background: rgb(255 165 38 / 40%); color: inherit; border-radius: 3px; }
.g-count { margin: 0.3rem 0.8rem 0.5rem; color: var(--muted); font-size: var(--fs-sm); }
.g-layout { display: grid; gap: var(--s6); }
@media (min-width: 960px) { .g-layout { grid-template-columns: 15rem minmax(0, 1fr); gap: var(--s7); } .g-toc { position: sticky; top: 6rem; align-self: start; max-height: calc(100vh - 7rem); overflow: auto; } }
.g-toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.1rem; }
.g-toc a { display: block; padding: 0.35rem 0.6rem; border-radius: 8px; color: var(--ink-2); font-size: var(--fs-sm); text-decoration: none; }
.g-toc a:hover { background: var(--surface-2); }
.g-toc a[aria-current="page"] { background: var(--ink); color: var(--bg); font-weight: 600; }
.g-toc-h { margin: 0 0 0.4rem; font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.g-toc-h a { padding: 0; color: inherit; }
.g-toc-more { margin-top: var(--s3); font-size: var(--fs-sm); }
@media (max-width: 959px) { .g-article .g-toc { order: 2; border-top: 1px solid var(--line); padding-top: var(--s4); } }
.g-sec { margin-bottom: var(--s6); scroll-margin-top: 6rem; }
.g-sec h2 { display: flex; align-items: baseline; gap: 0.5rem; font-size: var(--fs-xl, 1.5rem); }
.g-sec h2 small { color: var(--muted); font-size: var(--fs-sm); font-weight: 600; }
.g-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s2); }
@media (min-width: 700px) { .g-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.g-list a { display: grid; gap: 0.15rem; height: 100%; padding: 0.8rem 1rem; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--ink); text-decoration: none; }
.g-list a:hover { border-color: var(--orange-400); }
.g-list span { color: var(--muted); font-size: var(--fs-sm); }
.g-art { max-width: 46rem; min-width: 0; }
.g-art h1 { font-size: clamp(1.8rem, 1.3rem + 2vw, 2.6rem); margin: var(--s2) 0; }
.g-art h2 { margin-top: var(--s6); font-size: var(--fs-xl, 1.4rem); }
.g-art ol.g-steps { padding-left: 1.4rem; display: grid; gap: var(--s2); }
.g-art ul.g-list, .g-art ul.g-list li { all: unset; }
.g-art ul.g-list { display: grid; gap: var(--s2); padding-left: 1.25rem; list-style: disc; }
.g-art ul.g-list li { display: list-item; }
.g-crumbs { margin: 0; color: var(--muted); font-size: var(--fs-sm); }
.g-tip { display: flex; gap: 0.6rem; padding: 0.8rem 1rem; border-radius: 12px; background: rgb(255 165 38 / 14%); }
.g-tip svg { flex: none; width: 1.2rem; height: 1.2rem; margin-top: 0.15rem; color: var(--orange-600, #C2410C); }
.g-shot { margin: var(--s4) 0; }
.g-shot figcaption { margin-top: var(--s2); color: var(--muted); font-size: var(--fs-sm); }
.ui-path { display: inline-flex; align-items: center; gap: 0.3rem; padding: 0 0.4rem; border-radius: 6px; background: var(--surface-2); font-weight: 600; white-space: nowrap; }
.ui-path svg, .ui-ico svg { width: 1em; height: 1em; vertical-align: -0.12em; }
.g-art kbd { padding: 0.05rem 0.35rem; border: 1px solid var(--line-strong); border-bottom-width: 2px; border-radius: 5px; font: 600 0.85em/1.4 var(--font); }
.g-cards { display: grid; gap: var(--s2); margin: var(--s4) 0; }
@media (min-width: 700px) { .g-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.g-card { display: flex; gap: 0.7rem; align-items: center; padding: 0.7rem 0.9rem; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--ink); text-decoration: none; }
.g-card:hover { border-color: var(--orange-400); }
.g-card small { display: block; color: var(--muted); }
.g-pn { display: flex; justify-content: space-between; gap: var(--s3); margin-top: var(--s7); padding-top: var(--s4); border-top: 1px solid var(--line); }
.g-pn a { display: grid; max-width: 48%; color: var(--ink); font-weight: 600; text-decoration: none; }
.g-pn small { color: var(--muted); font-weight: 500; }
.g-next { text-align: right; margin-left: auto; }
.g-shot { max-width: 36rem; }

/* Tech specs: one page, sections as label/value rows. */
.spec { max-width: 62rem; padding-bottom: var(--s7); }
.spec-sec { padding-top: var(--s6); scroll-margin-top: 8.5rem; }
.spec-sec h2 { display: flex; align-items: center; gap: 0.6rem; margin: 0 0 var(--s3); font-size: var(--fs-2xl, 1.9rem); }
.spec-sec h2 svg { width: 1.6rem; height: 1.6rem; color: var(--orange-500); }
.spec-list { margin: 0; border-top: 1px solid var(--line-strong); }
.spec-list > div { display: grid; gap: 0.25rem var(--s5); padding: var(--s3) 0; border-bottom: 1px solid var(--line); }
@media (min-width: 760px) { .spec-list > div { grid-template-columns: 14rem minmax(0, 1fr); } }
.spec-list dt { display: flex; align-items: flex-start; gap: 0.4rem; font-weight: 700; }
.spec-list dt svg { width: 1.05rem; height: 1.05rem; margin-top: 0.2rem; color: var(--muted); }
.spec-list dd { margin: 0; color: var(--ink-2); }
.spec-more { margin-top: var(--s6); }
/* Guide home: sections fold; search is the quick way in. */
details.g-sec { margin-bottom: 0; border-bottom: 1px solid var(--line); }
details.g-sec > summary { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); padding: var(--s3) 0; cursor: pointer; list-style: none; }
details.g-sec > summary::-webkit-details-marker { display: none; }
details.g-sec > summary h2 { margin: 0; }
details.g-sec[open] > summary .fx-plus::after { transform: rotate(0deg); }
details.g-sec > summary:focus-visible { outline: 3px solid var(--orange-500); outline-offset: 2px; border-radius: 6px; }
details.g-sec > .g-list { padding-bottom: var(--s4); }
@media (max-width: 759px) { .g-list span { display: none; } }

/* Guide videos: cards on the guide home, a page per video, and "Watch" boxes in articles. */
.g-vnote { margin: 0 0 var(--s3); color: var(--muted); }
.g-vsub { margin: var(--s4) 0 var(--s2); font-size: var(--fs-lg); }
.g-vgrid { display: grid; gap: var(--s3); }
@media (min-width: 640px) { .g-vgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .g-vgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.g-vcard { display: grid; gap: 0.3rem; align-content: start; color: var(--ink); text-decoration: none; }
.g-vposter { position: relative; display: block; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; aspect-ratio: 16 / 9; background: var(--surface-2); }
.g-vposter img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.g-vcard:hover .g-vposter img { transform: scale(1.03); }
.g-vplay { position: absolute; inset: 0; margin: auto; display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; background: rgb(255 255 255 / 92%); color: var(--orange-600, #C2410C); }
.g-vplay svg { width: 1.2rem; height: 1.2rem; }
.g-vlen { position: absolute; right: 0.5rem; bottom: 0.5rem; padding: 0.1rem 0.45rem; border-radius: 6px; background: rgb(27 23 18 / 78%); color: #FFFFFF; font-size: var(--fs-xs); font-weight: 600; }
.g-vcard small { color: var(--muted); font-size: var(--fs-sm); }
.g-vcard:focus-visible { outline: 3px solid var(--orange-500); outline-offset: 3px; border-radius: 12px; }
.g-player { margin: var(--s4) 0; }
.g-player video { display: block; width: 100%; height: auto; background: #FFFBF6; }
.g-vmeta { color: var(--muted); font-size: var(--fs-sm); }
.g-transcript { margin-top: var(--s5); padding: var(--s3) var(--s4); border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.g-transcript summary { cursor: pointer; font-weight: 700; }
.g-transcript p { color: var(--ink-2); }
.g-watch { margin: var(--s3) 0 var(--s4); padding: var(--s3) var(--s4); border-left: 3px solid var(--orange-500); border-radius: 0 12px 12px 0; background: rgb(255 165 38 / 10%); }
.g-watch-h { display: flex; align-items: center; gap: 0.4rem; margin: 0 0 0.3rem; font-weight: 700; }
.g-watch-h svg { width: 1rem; height: 1rem; color: var(--orange-600, #C2410C); }
.g-watch ul { margin: 0; padding-left: 1.2rem; }
.g-watch span { color: var(--muted); font-size: var(--fs-sm); }
.st-watch { margin-top: var(--s4); }
.st-watch p { margin: 0 0 0.3rem; font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.st-watch ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.25rem; }
.st-watch a { display: inline-flex; align-items: center; gap: 0.35rem; font-weight: 600; }
.st-watch a svg { width: 0.9rem; height: 0.9rem; }
.st-watch span { color: var(--muted); font-size: var(--fs-sm); }

/* Hero screenshot switch (owner, 2026-10-27): light and dark screenshots stacked; the switch sits below at the right. */
.duo-pair .duo-frame { display: grid; }
.duo-pair .duo-frame::before { grid-row: 1; grid-column: 1; }
.duo-pair .duo-light, .duo-pair .duo-dark { grid-row: 2; grid-column: 1; min-width: 0; }
.duo-pair .duo-dark { opacity: 0; visibility: hidden; transition: opacity 0.5s ease, visibility 0s linear 0.5s; }
.duo-pair.dark .duo-dark { opacity: 1; visibility: visible; transition: opacity 0.5s ease, visibility 0s; }
.duo-pair .duo-light img, .duo-pair .duo-dark img { display: block; width: 100%; }
.duo-toggle { display: flex; width: fit-content; align-items: center; gap: 0.5rem; margin: var(--s3) 0 0 auto; padding: 0.3rem 0.8rem 0.3rem 0.35rem; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--surface); color: var(--ink); font: 600 var(--fs-sm)/1 var(--font); cursor: pointer; }
.duo-track { position: relative; display: inline-flex; align-items: center; justify-content: space-between; width: 3.1rem; height: 1.6rem; padding: 0 0.3rem; border-radius: 999px; background: #E9E2D6; }
.duo-track svg { width: 0.85rem; height: 0.85rem; }
.duo-sun, .duo-moon { position: relative; z-index: 1; display: grid; place-items: center; color: #7A6F60; }
.duo-sun { color: #C2410C; }
.duo-knob { position: absolute; top: 0.15rem; left: 0.15rem; width: 1.3rem; height: 1.3rem; border-radius: 50%; background: #FFFFFF; transition: transform 0.3s ease; }
.duo-toggle:hover { border-color: var(--orange-500); }
.duo.dark .duo-toggle { background: #1B1712; color: #FFFFFF; border-color: #1B1712; }
.duo.dark .duo-track { background: #3A332B; }
.duo.dark .duo-knob { transform: translateX(1.5rem); background: #1B1712; }
.duo.dark .duo-sun { color: #A89C8C; }
.duo.dark .duo-moon { color: #FFD08A; }
.duo-toggle:focus-visible { outline: 3px solid var(--orange-500); outline-offset: 2px; }
.no-js .duo-toggle { display: none; }
@media (prefers-reduced-motion: reduce) { .duo-pair .duo-dark, .duo-pair.dark .duo-dark, .duo-knob { transition: none; } }

/* A short line above a row of tabs (owner, 2026-10-27). */
.st-intro { margin: 0 0 var(--s3); text-align: center; font-weight: 600; font-size: var(--fs-lg, 1.25rem); color: var(--ink); }

/* Card carousel: Built-in studios on the Features page (owner, 2026-10-27). */
.sc-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2 * var(--s4)) / 3); gap: var(--s4); margin: 0; padding: var(--s1) var(--s1) var(--s3); list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.sc-track::-webkit-scrollbar { display: none; }
@media (max-width: 999px) { .sc-track { grid-auto-columns: calc((100% - var(--s4)) / 2); } }
@media (max-width: 639px) { .sc-track { grid-auto-columns: 86%; } }
.sc-card { scroll-snap-align: start; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.sc-shot { aspect-ratio: 16 / 10; overflow: hidden; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.sc-shot img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.sc-body { padding: var(--s4); }
.sc-head { display: flex; align-items: center; gap: var(--s2); margin-bottom: var(--s2); }
.sc-head h3 { margin: 0; font-size: var(--fs-lg, 1.25rem); }
.sc-body > p { margin: 0 0 var(--s3); color: var(--ink-2); }
.sc-body .ticks { margin: 0; }
.sc-controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--s2); margin-top: var(--s3); }
.sc-arrow { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border: 1px solid var(--line-strong); border-radius: 50%; background: var(--surface); color: var(--ink); cursor: pointer; }
.sc-arrow svg { width: 1.1rem; height: 1.1rem; }
.sc-arrow:hover { border-color: var(--orange-500); color: var(--orange-500); }
.sc-dots { display: flex; gap: 0.15rem; }
.sc-dot { width: 1.6rem; height: 1.6rem; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.sc-dot::before { content: ""; width: 0.55rem; height: 0.55rem; border-radius: 999px; background: var(--line-strong); transition: width 0.3s ease, background 0.3s ease; }
.sc-dot[aria-current="true"]::before { width: 1.3rem; background: var(--orange-500); }
.sc-arrow:focus-visible, .sc-dot:focus-visible { outline: 3px solid var(--orange-500); outline-offset: 2px; }
.no-js .sc-controls { display: none; }
@media (prefers-reduced-motion: reduce) { .sc-dot::before { transition: none; } }

/* Cast row (owner, 2026-10-27): small, under the "Characters that talk" list, every character apart with a gap. */
.cq-panel .cast-row { display: flex; align-items: flex-end; gap: clamp(0.35rem, 1vw, 0.75rem); max-width: 36rem; margin: var(--s5) 0 0; padding: 0 0 var(--s2); list-style: none; border-bottom: 2px solid var(--line); }
.cast-row li { flex: 1 1 0; min-width: 0; max-width: 4.25rem; }
.cast-row img { display: block; width: 100%; height: auto; }

/* Publish anywhere: a tabbed row; the chosen format's card drops down below it (owner, 2026-10-27). */
.pub-tabs .st-list { margin-inline: 0; margin-bottom: var(--s4); }
.pub-tabs .st-tab.is-peek { background: linear-gradient(135deg, rgb(255 165 38 / 50%), rgb(255 138 31 / 50%)); color: #1B1209; }
.pub-tabs .st-panel { display: block; padding: 0; }
.pub-card { display: flex; align-items: center; gap: var(--s4); max-width: 46rem; padding: var(--s5); border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.pub-card h3 { margin: 0 0 var(--s1); color: var(--accent); }
.pub-card p { margin: 0; color: var(--ink-2); font-size: var(--fs-md, 1.05rem); }
.js .pub-tabs .st-panel .pub-card { transform: translateY(-8px); transition: transform 0.35s ease; }
.js .pub-tabs .st-panel.is-on .pub-card { transform: none; }
@media (max-width: 639px) { .pub-card { flex-direction: column; align-items: flex-start; gap: var(--s3); padding: var(--s4); } }
@media (prefers-reduced-motion: reduce) { .js .pub-tabs .st-panel .pub-card { transform: none; transition: none; } }

/* Learning design (owner, 2026-10-27): the client portal featured, then the six steps as a timeline with hotspots. */
.portal-feature { margin-bottom: var(--s7); padding: var(--s6); border: 1px solid var(--line); border-radius: 22px; background: var(--surface); }
.pf-head { max-width: 44rem; margin-bottom: var(--s5); }
.pf-head h2 { margin: var(--s2) 0 var(--s2); }
.pf-head .lead { margin: 0; }
.pf-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: var(--s4) var(--s5); margin: 0; padding: 0; list-style: none; }
.pf-grid li { display: grid; grid-template-columns: auto 1fr; column-gap: var(--s3); align-items: start; }
.pf-grid .ico { grid-row: span 2; }
.pf-grid b { font-size: var(--fs-md, 1.05rem); }
.pf-grid li > span:last-child { color: var(--ink-2); font-size: var(--fs-sm); line-height: 1.45; }
@media (max-width: 639px) { .portal-feature { padding: var(--s4); } }

.tl .tl-line { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); width: 100%; max-width: none; margin: var(--s5) 0 var(--s4); padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; overflow: visible; }
.tl .tl-line::before { content: ""; position: absolute; left: calc(100% / 12); right: calc(100% / 12); top: 1.4rem; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--orange-500), #FFB547); opacity: 0.55; }
.tl .tl-spot { position: relative; display: flex; flex-direction: column; align-items: center; gap: 0.5rem; min-height: 0; padding: 0; border-radius: 12px; background: none; color: var(--ink-2); }
.tl .tl-spot:hover, .tl .tl-spot[aria-selected="true"], .tl .tl-spot.is-peek { background: none; color: var(--ink); }
.tl-dot { display: grid; place-items: center; width: 2.8rem; height: 2.8rem; border: 2px solid var(--orange-500); border-radius: 50%; background: var(--surface); color: var(--accent); font: 700 var(--fs-sm)/1 var(--font); transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease; }
.tl-dot::after { content: ""; position: absolute; width: 2.8rem; height: 2.8rem; border-radius: 50%; box-shadow: 0 0 0 0 rgb(242 92 5 / 35%); animation: tl-pulse 2.4s ease-out infinite; pointer-events: none; }
.tl-spot[aria-selected="true"] .tl-dot::after, .tl-spot.is-peek .tl-dot::after { animation: none; }
@keyframes tl-pulse { 0% { box-shadow: 0 0 0 0 rgb(242 92 5 / 35%); } 70%, 100% { box-shadow: 0 0 0 10px rgb(242 92 5 / 0%); } }
.tl-spot:hover .tl-dot, .tl-spot.is-peek .tl-dot { transform: scale(1.08); background: #FFE3CC; }
.tl-spot[aria-selected="true"] .tl-dot { background: var(--brand-gradient); border-color: transparent; color: #FFFFFF; transform: scale(1.12); }
.tl-name { font: 600 var(--fs-sm)/1.2 var(--font); }
.tl-spot[aria-selected="true"] .tl-name { color: var(--accent); }
.tl .st-panel.tl-panel { display: block; position: relative; padding: 0.7rem 0 0; }
.tl-panel::before { content: ""; position: absolute; top: 0.2rem; left: var(--at); width: 1rem; height: 1rem; margin-left: -0.5rem; border-left: 1px solid var(--line); border-top: 1px solid var(--line); background: var(--surface); transform: rotate(45deg); z-index: 1; }
.tl-card { position: relative; width: min(100%, 30rem); margin-left: clamp(0px, calc(var(--at) - 15rem), calc(100% - min(100%, 30rem))); padding: var(--s4) var(--s5); border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.tl-step { margin: 0 0 var(--s1); color: var(--accent); font: 700 var(--fs-xs)/1 var(--font); letter-spacing: 0.08em; text-transform: uppercase; }
.tl-card h3 { margin: 0 0 var(--s2); }
.tl-card > p:not(.tl-step):not(.tl-portal) { margin: 0; color: var(--ink-2); }
.tl-portal { display: flex; gap: 0.5rem; align-items: baseline; margin: var(--s3) 0 0; padding-top: var(--s3); border-top: 1px solid var(--line); font-size: var(--fs-sm); color: var(--ink-2); }
.tl-portal svg { width: 1rem; height: 1rem; flex: none; color: var(--accent); align-self: center; }
.js .tl .tl-panel .tl-card { transform: translateY(-6px); transition: transform 0.3s ease; }
.js .tl .tl-panel.is-on .tl-card { transform: none; }
.no-js .tl .tl-panel::before { display: none; }
.no-js .tl .tl-card { margin: 0 0 var(--s3); }
@media (max-width: 639px) { .tl-name { font-size: 0.7rem; } .tl-dot, .tl-dot::after { width: 2.3rem; height: 2.3rem; } .tl .tl-line::before { top: 1.15rem; } }
@media (prefers-reduced-motion: reduce) { .tl-dot::after { animation: none; } .js .tl .tl-panel .tl-card { transform: none; transition: none; } }

/* Two features in one row, screenshot on top of each (owner, 2026-10-27). */
.dr-grid { display: grid; gap: var(--s7); }
@media (min-width: 900px) { .dr-grid { grid-template-columns: 1fr 1fr; gap: var(--s6); } }
.dr-col .duo { margin-bottom: var(--s5); }
.dr-col h2 { font-size: var(--fs-2xl, 2rem); }
.dr-col .duo-frame img { aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; }

/* Sample courses on /services/work/ and the Studio page (2026-11-22) */
.samples { margin-bottom: var(--s6); }
.sample-shot { border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 9; }
.sample-shot img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.card.sample .btn-row { margin-top: auto; }
.sample-note { font-size: var(--fs-xs); }
.samples-next { margin: 0 0 var(--s4); }
a.card.sample { color: inherit; text-decoration: none; transition: box-shadow 0.2s, transform 0.2s; }
a.card.sample:hover, a.card.sample:focus-visible { box-shadow: var(--shadow-2, var(--shadow-1)); transform: translateY(-2px); }
a.card.sample h3 { color: var(--ink, inherit); }
@media (prefers-reduced-motion: reduce) { a.card.sample { transition: none; } a.card.sample:hover { transform: none; } }
