/* Training Factory: site styles. Values follow the design handoff (README "Design tokens"). */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/assets/fonts/bricolage-grotesque-latin-opsz-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("/assets/fonts/montserrat-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("/assets/fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("/assets/fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Colors */
  --teal: #16A3A6;            /* Tropic Teal */
  --teal-ink: #0E7F82;        /* teal text on light backgrounds */
  --teal-label: #0B6E71;      /* small teal text: at least 4.5:1 on cream, sand and cards (AA) */
  --teal-light: #3CC9CC;      /* light teal on navy */
  --red: #E3262E;             /* Harness Red */
  --red-fill: #D81F27;        /* buttons and fills */
  --red-shadow: #A3161D;      /* button shadows */
  --red-hover: #B81A21;
  --red-ink: #C41E26;         /* links and errors */
  --gold: #E8BE88;            /* Golden Ear */
  --gold-soft: #F7E4C6;
  --gold-ink: #7A5320;
  --cream: #FBF1E1;           /* White Coat: page background */
  --sand: #F3E6CF;            /* alt section */
  --card: #FFFDF9;
  --card-line: #EADBC0;
  --input-line: #E2D3B7;
  --rule: #D9C6A3;
  --ink: #1D2340;             /* Leash Ink */
  --ink-deep: #141936;
  --terminal: #121734;
  --body: #3A3530;
  --muted: #5E5648;
  --muted-2: #6B6358;
  --placeholder: #9A9184;
  --on-ink: #D8D2C6;
  --on-ink-2: #B3AC9F;
  --on-ink-3: #8F94AE;
  --white: #FFFFFF;

  /* Type */
  --font-display: "Bricolage Grotesque", "Montserrat", system-ui, sans-serif;
  --font-body: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* Radius */
  --r-pill: 999px;
  --r-clip: 14px;
  --r-input: 14px;
  --r-card-sm: 22px;
  --r-card: 24px;
  --r-card-lg: 28px;
  --r-panel: 32px;
  --r-hero: 36px;

  /* Solid "tab" shadows */
  --tab: 0 10px 0;
  --tab-sm: 0 6px 0;

  /* Layout */
  --container: 1160px;
  --gutter: 24px;
  --section: clamp(64px, 9vw, 104px);
  --section-lg: clamp(72px, 10vw, 120px);

  --focus: var(--teal-ink);
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--body);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg, video { display: block; max-width: 100%; }
a { color: var(--red-ink); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
h1, h2, h3, p, figure, blockquote, dl, dd { margin: 0; }
h1, h2, h3 { color: var(--ink); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.on-ink { --focus: var(--teal-light); }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -64px; z-index: 100; background: var(--ink); color: var(--cream); padding: 10px 16px; border-radius: 10px; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; color: var(--cream); }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.flip { transform: rotate(180deg); }

/* Header */
.site-header {
  position: relative;
  z-index: 50;
  background: rgba(251, 241, 225, .94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(29, 35, 64, .08);
}
/* Sticky once the navigation fits on one row (including the Samples link); narrower, it wraps to
   several rows and would cover too much of the screen, so it scrolls away with the page */
@media (min-width: 960px) {
  .site-header { position: sticky; top: 0; }
  html { scroll-padding-top: 80px; }
}
.header-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; padding-top: 12px; padding-bottom: 12px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--ink); }
.brand-mark { width: 40px; height: 40px; flex: none; }
.brand-name { font-family: var(--font-display); font-weight: 800; font-size: 22px; letter-spacing: -.025em; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; flex-wrap: wrap; gap: 4px 6px; }
.nav-list a { display: block; color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 600; padding: 8px 10px; border-radius: 10px; }
.nav-list a:hover { background: rgba(22, 163, 166, .12); color: var(--ink); }
.back-pill { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 700; padding: 10px 16px; border-radius: var(--r-pill); border: 2px solid var(--ink); }
.back-pill:hover { background: var(--ink); color: var(--cream); }
.back-pill svg { width: 16px; height: 16px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 700; text-decoration: none; border: 0; border-radius: var(--r-pill); cursor: pointer; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--red-fill); color: var(--white); box-shadow: var(--tab-sm) var(--red-shadow); }
.btn-primary:hover { background: var(--red-hover); color: var(--white); }
.btn-light { background: var(--cream); color: var(--ink); box-shadow: 0 5px 0 var(--on-ink-2); }
.btn-light:hover { background: var(--white); color: var(--ink); }
.btn-lg { font-size: 17px; padding: 17px 26px; }
.btn-sm { font-size: 15px; padding: 10px 18px; box-shadow: 0 4px 0 var(--red-shadow); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .7; cursor: progress; }

/* Shared type */
.eyebrow { margin: 0 0 12px; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--teal-label); }
.on-ink .eyebrow { color: var(--teal-light); }
.h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(32px, 4vw, 48px); line-height: 1.05; letter-spacing: -.03em; color: var(--ink); }
.h2-xl { font-family: var(--font-display); font-weight: 800; font-size: clamp(40px, 5.6vw, 72px); line-height: .98; letter-spacing: -.035em; color: var(--ink); }
.on-ink .h2, .on-ink .h2-xl { color: var(--cream); }
.lead { font-size: 19px; color: var(--muted); }
.on-ink .lead { color: var(--on-ink); }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head-wide { max-width: 760px; margin-bottom: 48px; }
.section-head .h2 { margin-bottom: 12px; }
.section-head .h2-xl { margin-bottom: 14px; }
.section-head > :last-child { margin-bottom: 0; }

/* Icon circles and ticks */
.tick { display: grid; place-items: center; flex: none; border-radius: 50%; background: var(--teal); color: var(--white); }
.tick svg { width: 58%; height: 58%; }
.tick-no { background: var(--red-fill); }
.tick-no svg { width: 50%; height: 50%; }

/* Sections */
.section { padding: var(--section) 0; }
.section-lg { padding: var(--section-lg) 0; }
.section-sand { background: var(--sand); }
.section-ink { background: var(--ink); }

/* Hero */
.hero { padding: clamp(48px, 8vw, 96px) 0 clamp(56px, 8vw, 104px); }
.hero-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 56px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; }
.hero h1 { margin: 0 0 22px; font-family: var(--font-display); font-weight: 800; font-size: clamp(42px, 6.2vw, 76px); line-height: .98; letter-spacing: -.035em; color: var(--ink); text-wrap: balance; }
.hero-sub { margin: 0 0 28px; font-family: var(--font-display); font-weight: 700; font-size: clamp(24px, 2.8vw, 34px); line-height: 1.15; letter-spacing: -.02em; color: var(--teal-ink); text-wrap: balance; }
.hero-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; font-size: 20px; font-weight: 600; color: var(--ink); line-height: 1.35; }
.hero-points li { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 14px; align-items: center; }
.hero-points .tick { width: 32px; height: 32px; }
.hero-points .tick svg { width: 18px; height: 18px; }

.hero-visual { position: relative; background: var(--teal); border-radius: var(--r-hero); padding: clamp(20px, 3vw, 32px); box-shadow: var(--tab) var(--teal-ink); }
.hero-badge { position: absolute; top: -34px; right: -14px; width: 92px; height: 92px; filter: drop-shadow(0 6px 0 rgba(29, 35, 64, .18)); }
.pipeline-card { background: var(--card); border-radius: var(--r-card); padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.pipeline-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.pipeline-title { font-weight: 700; color: var(--ink); font-size: 15px; }
.time-pill { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: var(--r-pill); background: var(--gold-soft); color: var(--gold-ink); }
.time-pill svg { width: 14px; height: 14px; }
.pipeline-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.step { display: grid; grid-template-columns: 34px minmax(0, 1fr) 22px; align-items: center; gap: 12px; padding: 8px 10px; border-radius: var(--r-clip); background: var(--cream); }
.step-icon { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--cream); }
.step-icon svg { width: 17px; height: 17px; }
.step-body { display: flex; flex-direction: column; min-width: 0; }
.step-body strong { font-size: 14px; color: var(--ink); }
.step-body small { font-size: 12px; color: var(--muted-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.step-body-wave { gap: 4px; }
.step-state { width: 22px; height: 22px; }
.step-state svg { width: 13px; height: 13px; }
.lesson-frame { aspect-ratio: 16 / 7.2; border-radius: 18px; background: var(--ink); padding: 16px 18px; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; }
.lesson-chapter { font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: var(--gold); font-weight: 700; }
.lesson-title { font-family: var(--font-display); font-weight: 700; color: var(--cream); font-size: 21px; line-height: 1.15; max-width: 78%; }
.hero-caption { text-align: center; font-size: 12px; color: var(--white); margin: 12px 0 0; font-weight: 500; }

/* Waveforms: bar heights come from the .h-* classes */
.wave { display: flex; align-items: center; gap: 3px; }
.wave i { display: block; flex: none; border-radius: 2px; }
.wave-step { height: 14px; }
.wave-step i { width: 3px; background: var(--teal); }
.wave-clip { height: 28px; }
.wave-clip i { width: 4px; background: var(--white); opacity: .85; }
.wave-art { height: 110px; gap: 4px; }
.wave-art i { width: 6px; border-radius: 3px; background: var(--teal); }
.wave-art i.dot { height: 6px; border-radius: 50%; background: var(--gold); }
.wave .h-20 { height: 20%; } .wave .h-25 { height: 25%; } .wave .h-30 { height: 30%; } .wave .h-35 { height: 35%; }
.wave .h-40 { height: 40%; } .wave .h-45 { height: 45%; } .wave .h-50 { height: 50%; } .wave .h-55 { height: 55%; }
.wave .h-60 { height: 60%; } .wave .h-65 { height: 65%; } .wave .h-70 { height: 70%; } .wave .h-75 { height: 75%; }
.wave .h-80 { height: 80%; } .wave .h-85 { height: 85%; } .wave .h-90 { height: 90%; } .wave .h-95 { height: 95%; }
.wave .h-100 { height: 100%; }

/* Hero illustration motion, kept from the previous site; off for reduced motion */
@media (prefers-reduced-motion: no-preference) {
  .step { animation: step-in .45s ease both; }
  .step:nth-child(1) { animation-delay: .15s; } .step:nth-child(2) { animation-delay: .45s; } .step:nth-child(3) { animation-delay: .75s; }
  .step:nth-child(4) { animation-delay: 1.05s; } .step:nth-child(5) { animation-delay: 1.35s; } .step:nth-child(6) { animation-delay: 1.65s; }
  .step-state { animation: pop .3s ease both; }
  .step:nth-child(1) .step-state { animation-delay: .5s; } .step:nth-child(2) .step-state { animation-delay: .8s; } .step:nth-child(3) .step-state { animation-delay: 1.1s; }
  .step:nth-child(4) .step-state { animation-delay: 1.4s; } .step:nth-child(5) .step-state { animation-delay: 1.7s; } .step:nth-child(6) .step-state { animation-delay: 2s; }
  .wave-step i { animation: wave 1.2s ease-in-out infinite; }
  .wave-step i:nth-child(2n) { animation-delay: .15s; } .wave-step i:nth-child(3n) { animation-delay: .3s; } .wave-step i:nth-child(5n) { animation-delay: .45s; }
}
@keyframes step-in { from { opacity: 0; transform: translateY(6px); } }
@keyframes pop { from { transform: scale(0); } }
@keyframes wave { 50% { transform: scaleY(.45); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; }
}

/* Product video (ships hidden until a video exists) */
.section-video { padding: 0 0 var(--section); }
.section-video .container { display: flex; flex-direction: column; gap: 28px; }
.section-video .section-head { margin-bottom: 0; display: flex; flex-direction: column; gap: 10px; }
.section-video .section-head .eyebrow, .section-video .section-head .h2 { margin: 0; }
.video-frame { aspect-ratio: 16 / 9; border-radius: var(--r-panel); overflow: hidden; background: var(--ink); box-shadow: var(--tab) var(--teal); }
.video-frame video { width: 100%; height: 100%; object-fit: contain; background: var(--ink); }

/* What we offer: editor timeline */
.section-offer { background: var(--ink); padding: var(--section-lg) 0; }
.timeline-panel { background: var(--ink-deep); border-radius: var(--r-card-lg); padding: 20px clamp(16px, 2.4vw, 28px) 24px; box-shadow: var(--tab) var(--teal-ink); }
.timeline-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 14px; }
.dots { display: flex; gap: 6px; }
.dots i { width: 11px; height: 11px; border-radius: 50%; background: var(--red-fill); }
.dots i:nth-child(2) { background: var(--gold); }
.dots i:nth-child(3) { background: var(--teal); }
.timeline-file { font-family: var(--font-mono); font-size: 12px; color: var(--on-ink-3); }
.ruler { display: flex; gap: 14px; padding-bottom: 6px; }
.ruler-spacer { flex: 0 0 92px; }
.ruler-marks { flex: 1 1 260px; display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 11px; color: var(--on-ink-3); }
.ruler-marks span { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.ruler-marks span::before { content: ""; width: 1px; height: 8px; background: var(--on-ink-3); }
/* When track labels wrap above their clips, the ruler spans the full width so its labels don't collide */
@media (max-width: 460px) { .ruler-spacer { display: none; } }
.track { display: flex; flex-wrap: wrap; align-items: stretch; gap: 10px 14px; padding: 10px 0; border-top: 1px solid rgba(251, 241, 225, .08); }
.track-label { flex: 0 0 92px; display: flex; align-items: center; font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--on-ink-3); }
.track dd { flex: 1 1 260px; min-width: 0; }
.clips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.clip { flex: 1 1 180px; min-width: 0; min-height: 92px; border-radius: var(--r-clip); padding: 16px 18px; display: flex; flex-direction: column; justify-content: space-between; gap: 14px; box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .12); }
.clip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 10px 0 0 currentColor; opacity: .5; }
.clip-title { font-family: var(--font-display); font-weight: 700; font-size: 20px; line-height: 1.15; letter-spacing: -.015em; }
.clip-teal { background: var(--teal); color: var(--white); }
.clip-gold { background: var(--gold); color: var(--ink); }
.clip-red { background: var(--red-fill); color: var(--white); }
.clip-aqua { background: var(--teal-light); color: var(--ink); }
.clip-cream { background: var(--cream); color: var(--ink); }
.grow-2 { flex-grow: 2; } .grow-3 { flex-grow: 3; } .grow-4 { flex-grow: 4; }

/* Proof bar */
.proof { background: var(--ink); color: var(--cream); }
.proof-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 24px 40px; padding-top: 30px; padding-bottom: 30px; }
.proof-item { display: flex; flex-direction: column; gap: 2px; }
.proof-item strong { font-family: var(--font-display); font-weight: 800; font-size: 22px; color: var(--gold); letter-spacing: -.01em; }
.proof-item span { font-size: 15px; color: var(--on-ink); }

/* Samples */
.samples-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 32px; }
.samples-head .section-head { margin-bottom: 0; }
.samples-arrows { display: flex; gap: 10px; }
.round-btn { width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--ink); background: var(--card); color: var(--ink); display: grid; place-items: center; cursor: pointer; padding: 0; }
.round-btn:hover { background: var(--ink); color: var(--cream); }
.round-btn svg { width: 20px; height: 20px; }
.samples-row { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding-bottom: 12px; scrollbar-width: thin; }
@media (prefers-reduced-motion: reduce) { .samples-row { scroll-behavior: auto; } }
.sample-card { flex: 0 0 clamp(260px, 32%, 360px); scroll-snap-align: start; border-radius: var(--r-card); overflow: hidden; background: var(--card); border: 2px solid var(--card-line); display: flex; flex-direction: column; text-align: left; padding: 0; font: inherit; color: inherit; cursor: pointer; }
.sample-card.is-placeholder { border-style: dashed; border-color: #C9B48F; cursor: default; }
.sample-thumb { position: relative; aspect-ratio: 16 / 9; background: var(--ink); display: grid; place-items: center; }
.sample-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sample-play { position: relative; width: 60px; height: 60px; border-radius: 50%; background: var(--red-fill); color: var(--white); display: grid; place-items: center; }
.sample-play svg { width: 24px; height: 24px; margin-left: 3px; }
.thumb-teal { background: var(--teal); }
.thumb-teal .sample-play { background: var(--card); color: var(--ink); }
.thumb-gold { background: var(--gold); }
.thumb-gold .sample-play { background: var(--ink); color: var(--cream); }
.sample-duration { position: absolute; right: 10px; bottom: 10px; background: rgba(29, 35, 64, .85); color: var(--white); font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 8px; }
.sample-body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 6px; }
.sample-tag { align-self: flex-start; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--teal-label); background: #E3F3F2; padding: 3px 9px; border-radius: var(--r-pill); }
.sample-title { color: var(--ink); font-weight: 700; }
.sample-desc { font-size: 14px; color: var(--muted); }

/* Why: bento grid */
.bento { display: flex; flex-wrap: wrap; gap: 18px; }
.bento-card { flex: 1 1 280px; min-width: 0; background: var(--card); border-radius: var(--r-card-lg); padding: 24px; display: flex; flex-direction: column; gap: 22px; overflow: hidden; }
.bento-card.is-wide { flex: 2 1 560px; }
.bento-teal { background: var(--teal); }
.bento-ink { background: var(--ink); }
.bento-sand { background: var(--sand); }
.bento-gold { background: var(--gold); }
.bento-art { min-height: 180px; display: flex; align-items: center; justify-content: center; }
.bento-card h3 { font-family: var(--font-display); font-weight: 700; font-size: 24px; line-height: 1.15; letter-spacing: -.02em; color: var(--ink); }
.bento-ink h3 { color: var(--cream); }
.outline { list-style: none; margin: 0; padding: 0; width: 100%; max-width: 420px; display: flex; flex-direction: column; gap: 12px; }
.outline li { display: flex; align-items: center; gap: 12px; }
.outline .tick { width: 26px; height: 26px; }
.outline .tick svg { width: 13px; height: 13px; }
.outline-bar { height: 12px; max-width: 100%; border-radius: 6px; background: var(--ink); }
.outline-label { font-size: 13px; font-weight: 700; color: var(--muted-2); }
.outline .is-todo .tick, .outline .is-todo .outline-bar { background: var(--card-line); }
.w-120 { width: 120px; } .w-150 { width: 150px; } .w-180 { width: 180px; } .w-210 { width: 210px; } .w-230 { width: 230px; }
.bubble-art { display: flex; align-items: flex-end; gap: 12px; }
.bubble-art svg { width: 76px; height: 76px; flex: none; }
.bubble { background: var(--card); color: var(--ink); font-weight: 700; font-size: 17px; line-height: 1.3; padding: 14px 18px; border-radius: 20px 20px 20px 4px; max-width: 190px; }
.terminal { width: 100%; max-width: 460px; background: var(--terminal); border-radius: 18px; padding: 18px 20px; font-family: var(--font-mono); font-size: 14px; line-height: 1.8; color: var(--on-ink); }
.terminal .dots { margin-bottom: 10px; }
.terminal .dots i { width: 10px; height: 10px; }
.terminal .prompt { color: var(--gold); }
.terminal .ok { color: var(--teal-light); }
.cursor { display: inline-block; width: 8px; height: 15px; background: var(--cream); vertical-align: middle; }
.thumbs { width: 100%; display: flex; gap: 10px; }
.thumb { flex: 1; min-width: 0; border-radius: 12px; overflow: hidden; background: var(--ink); }
.thumb-screen { aspect-ratio: 16 / 10; padding: 10px; display: flex; flex-direction: column; justify-content: flex-end; gap: 5px; }
.thumb-screen i { display: block; height: 6px; width: 60%; border-radius: 3px; background: var(--gold); }
.thumb-screen i + i { height: 8px; width: 85%; border-radius: 4px; background: var(--cream); }
.thumb-label { padding: 6px 10px; font-size: 11px; font-weight: 700; color: var(--cream); background: var(--teal); }
.checklist { list-style: none; margin: 0; padding: 0; width: 100%; max-width: 420px; display: flex; flex-direction: column; gap: 8px; }
.checklist li { display: flex; align-items: center; gap: 10px; background: var(--card); border-radius: var(--r-clip); padding: 12px 14px; font-size: 15px; font-weight: 600; color: var(--ink); }
.checklist .tick { width: 22px; height: 22px; }
.checklist .tick svg { width: 12px; height: 12px; }

/* Who it's for */
.who-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 40px 64px; align-items: start; }
.h2-who { font-family: var(--font-display); font-weight: 800; font-size: clamp(40px, 5vw, 64px); line-height: .98; letter-spacing: -.035em; color: var(--ink); }
.who-list { list-style: none; margin: 0; padding: 0; border-bottom: 2px solid var(--rule); }
.who-list li { display: grid; grid-template-columns: 56px minmax(0, 1fr); align-items: center; gap: 16px; padding: 22px 4px; border-top: 2px solid var(--rule); color: var(--ink); transition: color .15s; }
.who-list li:hover { color: var(--teal-ink); }
.who-num { font-family: var(--font-mono); font-size: 14px; font-weight: 500; color: var(--muted-2); }
.who-list h3 { font-family: var(--font-display); font-weight: 700; font-size: clamp(24px, 3vw, 38px); line-height: 1.1; letter-spacing: -.025em; color: inherit; text-wrap: balance; }

/* Quality */
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 40px 64px; align-items: start; }
.split .h2 { margin-bottom: 14px; }
.quality-list { display: grid; gap: 14px; }
.quality-item { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; background: var(--card); border-radius: var(--r-card-sm); padding: 20px; }
.quality-item .tick { width: 48px; height: 48px; }
.quality-item .tick svg { width: 22px; height: 22px; }
.quality-item h3 { margin: 0 0 4px; font-size: 17px; font-weight: 700; color: var(--ink); }
.quality-item p { font-size: 15px; color: var(--muted); }

/* Our story */
.story-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 40px 72px; align-items: start; }
.timeline { list-style: none; margin: 32px 0 0; padding: 0; }
.timeline li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 16px; }
.timeline-rail { display: flex; flex-direction: column; align-items: center; }
.timeline-rail::before { content: ""; flex: none; width: 16px; height: 16px; margin-top: 5px; border-radius: 50%; background: var(--card); border: 4px solid var(--teal); }
.timeline-rail::after { content: ""; flex: 1; width: 3px; background: var(--rule); }
.timeline li:last-child .timeline-rail::before { background: var(--red-fill); border-color: var(--red-fill); }
.timeline li:last-child .timeline-rail::after { display: none; }
.timeline-text { display: flex; flex-direction: column; padding-bottom: 18px; font-size: 15px; }
.timeline li:last-child .timeline-text { padding-bottom: 0; }
.timeline-text strong { color: var(--ink); }
.timeline-text span { color: var(--muted); }
.letter { background: var(--card); border-radius: var(--r-card-lg); padding: clamp(24px, 4vw, 40px); font-size: 17px; color: var(--body); }
.letter p { margin: 0 0 1em; }
.letter .quote { margin: 26px 0 30px; font-family: var(--font-display); font-weight: 800; font-size: clamp(26px, 3vw, 34px); line-height: 1.12; letter-spacing: -.02em; color: var(--ink); text-wrap: balance; }
.quote-mark { color: var(--red-fill); }
.signature { display: flex; align-items: center; gap: 14px; }
.signature strong { display: block; color: var(--ink); }
.signature small { color: var(--muted); font-size: 15px; }
/* Initials now; an <img class="avatar"> drops into the same 64px circle */
.avatar { width: 64px; height: 64px; flex: none; border-radius: 50%; object-fit: cover; display: grid; place-items: center; background: var(--ink); color: var(--gold); font-family: var(--font-display); font-weight: 800; font-size: 22px; letter-spacing: .02em; }

/* Get started */
.steps-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 608px) { .steps-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1028px) { .steps-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.step-card { background: var(--card); border-radius: var(--r-card); padding: 28px 24px 26px; border: 2px solid var(--card-line); }
.step-num { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: var(--cream); font-family: var(--font-display); font-weight: 800; font-size: 20px; margin-bottom: 16px; }
.step-card h3 { margin: 0 0 8px; font-size: 19px; font-weight: 700; line-height: 1.25; color: var(--ink); }
.step-card p { font-size: 16px; color: var(--muted); }
.step-card.is-highlight { background: var(--teal); border-color: var(--teal); }
.step-card.is-highlight .step-num { background: var(--red-fill); color: var(--white); }
.step-card.is-highlight p { color: var(--ink); }
.after-note { margin: 30px 0 0; color: var(--muted); }
.after-note a { font-weight: 600; }
.how-cta { margin-top: 28px; }

/* The free demo, plainly */
.plain-box { margin-top: 48px; background: var(--card); color: var(--body); border-radius: var(--r-card-lg); padding: clamp(24px, 4vw, 36px); --focus: var(--teal-ink); }
.plain-title { margin: 0 0 18px; font-family: var(--font-display); font-weight: 800; font-size: 26px; letter-spacing: -.02em; color: var(--ink); }
.plain-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 24px 40px; }
.plain-label { margin: 0 0 12px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ticks li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 10px; }
.ticks .tick { width: 24px; height: 24px; }
.ticks .tick svg { width: 14px; height: 14px; }
.ticks .tick-no svg { width: 12px; height: 12px; }
.plain-foot { margin: 22px 0 0; font-size: 15px; color: var(--muted); }
.plain-box .footnote { margin-top: 10px; }

/* Pricing */
.price-grid { display: grid; gap: 18px; align-items: stretch; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 668px) { .price-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1108px) { .price-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.price-card { background: var(--card); border: 3px solid var(--card-line); border-radius: var(--r-card-lg); padding: 28px 24px; display: flex; flex-direction: column; gap: 18px; }
.price-card.is-free { border-color: var(--teal); }
.price-card.is-agency { background: var(--ink); border-color: var(--ink); }
.price-tag { align-self: flex-start; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--white); background: var(--red-fill); padding: 4px 10px; border-radius: var(--r-pill); }
.price-card h3 { font-size: 20px; font-weight: 700; line-height: 1.25; color: var(--ink); }
.price-card.is-agency h3 { color: var(--cream); }
.price { font-family: var(--font-display); font-weight: 800; font-size: 48px; line-height: 1; letter-spacing: -.03em; color: var(--ink); }
.price-contact { font-size: 36px; line-height: 1.05; color: var(--gold); }
.price-block { display: grid; gap: 6px; }
.price-unit { font-size: 14px; font-weight: 600; line-height: 1.3; color: var(--muted); }
.checks strong { color: var(--ink); }
.price-about { display: grid; gap: 8px; font-size: 15px; line-height: 1.45; color: var(--body); }
.price-about .best-for { font-size: 14px; color: var(--muted); }
.price-about .best-for strong { color: var(--ink); }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15px; line-height: 1.45; color: var(--body); }
.checks li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; align-items: start; }
.checks .tick { width: 22px; height: 22px; margin-top: 2px; }
.checks .tick svg { width: 13px; height: 13px; }
.is-agency .checks { color: var(--on-ink); }
.price-btn { margin-top: auto; display: flex; font-size: 16px; padding: 14px 18px; text-align: center; }
.price-btn.btn-primary { box-shadow: 0 5px 0 var(--red-shadow); }
.price-notes { margin-top: 28px; display: grid; gap: 6px; font-size: 14px; line-height: 1.5; color: var(--muted); max-width: 820px; }
.footnote { font-size: 14px; line-height: 1.5; color: var(--muted); }

/* FAQ */
.faq-wrap { max-width: 820px; }
.faq-wrap .section-head { margin-bottom: 36px; }
.faq-wrap .section-head .h2 { margin-bottom: 0; }
.faq { display: grid; gap: 10px; }
.faq details { background: var(--card); border-radius: 18px; padding: 0 22px; border: 2px solid var(--card-line); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 0; font-weight: 700; color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 16px; border-radius: 10px; }
.faq summary::-webkit-details-marker { display: none; }
.faq-icon { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--teal); color: var(--white); display: grid; place-items: center; transition: transform .2s ease; }
.faq-icon svg { width: 12px; height: 12px; }
.faq details[open] .faq-icon { transform: rotate(45deg); }
.faq details p { margin: 0 0 18px; color: var(--muted); }

/* Footer */
.site-footer { background: var(--ink); color: var(--on-ink-2); padding: 48px 0; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 24px; align-items: end; }
.brand-footer, .brand-footer:hover { display: inline-flex; color: var(--cream); }
.brand-footer .brand-mark { width: 36px; height: 36px; }
.brand-footer .brand-name { font-size: 20px; }
.footer-brand p { margin: 12px 0 0; max-width: 46ch; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.footer-links a { color: var(--cream); text-decoration: none; }
.footer-links a:hover { color: var(--white); text-decoration: underline; }

/* Video modal */
.video-modal { border: 0; padding: 0; background: transparent; width: min(1040px, calc(100vw - 32px)); max-width: none; }
.video-modal::backdrop { background: rgba(20, 25, 54, .85); }
.video-modal-inner { position: relative; background: #000; border-radius: var(--r-card); overflow: hidden; }
.video-modal video { width: 100%; aspect-ratio: 16 / 9; background: #000; }
.video-modal-title { margin: 0; padding: 12px 16px; background: var(--ink); color: var(--cream); font-weight: 600; }
.video-close { position: absolute; top: 10px; right: 10px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .6); color: var(--white); cursor: pointer; display: grid; place-items: center; }
.video-close svg { width: 18px; height: 18px; }

/* Request page */
.apply-section { background: var(--ink); color: var(--on-ink); padding: clamp(48px, 7vw, 88px) 0 clamp(64px, 9vw, 104px); }
.apply-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); gap: 40px 56px; align-items: start; }
.badge-pill { margin: 0 0 16px; display: inline-flex; background: rgba(232, 190, 136, .14); border: 1.5px solid rgba(232, 190, 136, .45); color: var(--gold); padding: 6px 13px; border-radius: var(--r-pill); font-size: 14px; font-weight: 600; }
.apply-title { margin: 0 0 12px; }
.brief-tip { margin-top: 28px; background: rgba(251, 241, 225, .06); border: 1px solid rgba(251, 241, 225, .14); border-radius: var(--r-card-sm); padding: 22px 24px; }
.brief-tip-title { margin: 0 0 12px; font-weight: 700; color: var(--cream); }
.brief-tip dl { display: grid; grid-template-columns: 82px minmax(0, 1fr); gap: 8px 12px; font-size: 15px; }
.brief-tip dt { color: var(--gold); font-weight: 700; }
.brief-tip dd { color: var(--on-ink); }
.brief-tip-foot { margin: 14px 0 0; font-size: 14px; color: var(--on-ink-2); }
.reassure { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-direction: column; gap: 10px; font-size: 15px; font-weight: 600; color: var(--cream); }
.reassure li { display: flex; align-items: center; gap: 8px; }
.reassure svg { width: 20px; height: 20px; flex: none; color: var(--teal-light); }
.form-card { background: var(--card); color: var(--body); border-radius: var(--r-card-lg); padding: clamp(22px, 3.5vw, 32px); box-shadow: var(--tab) var(--teal); --focus: var(--teal-ink); }

/* Form */
.apply-form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; border: 0; margin: 0; padding: 0; }
.field > label, .field > .label, .field > legend { font-weight: 600; color: var(--ink); font-size: 15px; padding: 0; }
.field > legend { margin-bottom: 8px; }
.optional { font-weight: 500; color: var(--muted-2); font-size: 13px; margin-left: 4px; }
input[type="text"], input[type="email"], textarea {
  width: 100%; font: inherit; font-weight: 500; font-size: 16px; color: var(--ink); background: var(--white);
  border: 2px solid var(--input-line); border-radius: var(--r-input); padding: 12px 14px; outline: none; transition: border-color .15s;
}
textarea { resize: vertical; min-height: 150px; line-height: 1.5; }
input::placeholder, textarea::placeholder { color: var(--placeholder); }
input[type="text"]:focus, input[type="email"]:focus, textarea:focus { border-color: var(--teal); }
input[type="text"]:focus-visible, input[type="email"]:focus-visible, textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.field.has-error input[type="text"], .field.has-error input[type="email"], .field.has-error textarea, .field.has-error .dropzone { border-color: var(--red-ink); }
.field-hint { font-size: 13px; line-height: 1.4; color: var(--muted-2); }
.field.has-error .field-hint { display: none; }
.field-error { font-size: 13px; line-height: 1.4; font-weight: 600; color: var(--red-ink); }
.field-error:empty { display: none; }
.field-meta { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.hint { font-size: 14px; color: var(--muted-2); }
.hint.is-good { color: var(--teal-label); }
.counter { color: var(--muted-2); font-size: 13px; white-space: nowrap; }
.dropzone { position: relative; display: flex; align-items: center; gap: 14px; border: 2px dashed #CDB98F; border-radius: 16px; padding: 16px; cursor: pointer; background: var(--cream); transition: border-color .15s, background .15s; }
.dropzone:hover, .dropzone.is-drag { border-color: var(--teal); background: #EAF6F5; }
.dropzone:focus-within { outline: 3px solid var(--focus); outline-offset: 2px; }
.dropzone-icon { width: 28px; height: 28px; flex: none; color: var(--teal-ink); }
.field > .dropzone { font-weight: 400; font-size: 17px; color: var(--body); }
.dropzone strong { display: block; color: var(--ink); font-size: 15px; font-weight: 700; }
.dropzone small { color: var(--muted-2); font-size: 13px; }
.file-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; }
.file-list:empty { display: none; }
.file-list li { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: var(--white); border: 2px solid var(--input-line); border-radius: 12px; padding: 6px 8px 6px 12px; font-size: 14px; }
.file-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink); font-weight: 600; }
.file-size { color: var(--muted-2); font-size: 13px; white-space: nowrap; margin-left: auto; }
.file-remove { border: 0; background: transparent; color: var(--muted-2); cursor: pointer; width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; flex: none; }
.file-remove:hover { background: var(--cream); color: var(--red-ink); }
.file-remove svg { width: 16px; height: 16px; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; display: inline-flex; }
.choice input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.choice span { font-size: 14px; font-weight: 600; border-radius: var(--r-pill); padding: 9px 15px; border: 2px solid var(--input-line); background: var(--white); color: var(--body); transition: background .15s, color .15s, border-color .15s; }
.choice:hover input:not(:checked):not(:disabled) + span { border-color: var(--teal); }
.choice input:disabled { cursor: not-allowed; }
.choice input:disabled + span { opacity: .55; }
.choice input:checked + span { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.choice input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.field > .consent { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; align-items: start; font-size: 14px; font-weight: 400; color: var(--body); }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--teal); }
.turnstile-slot:empty { display: none; }
.btn-submit { font-size: 17px; padding: 18px 24px; }
.form-status { font-size: 14px; color: var(--muted-2); text-align: center; }
.form-status:empty { display: none; }
.form-status.is-error { color: var(--red-ink); font-weight: 600; }
.form-success:focus { outline: none; }
.success-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--teal); color: var(--white); margin-bottom: 14px; }
.success-icon svg { width: 26px; height: 26px; }
.success-title { margin: 0 0 10px; font-family: var(--font-display); font-weight: 800; font-size: 28px; line-height: 1.1; letter-spacing: -.02em; color: var(--ink); }
.form-success p { margin: 0 0 12px; }
.form-success ol { margin: 0 0 14px; padding-left: 1.3em; }
.form-success li { margin-bottom: 6px; }
.form-success .footnote { margin-bottom: 16px; }
.muted { color: var(--muted); }
.form-verify > p { margin: 0 0 16px; overflow-wrap: anywhere; }
.verify-form { display: grid; gap: 16px; }
.verify-form input.code-input { font-size: 22px; font-weight: 700; letter-spacing: .25em; font-variant-numeric: tabular-nums; }
.verify-actions { display: flex; flex-wrap: wrap; gap: 4px 24px; margin-top: 14px; }
.btn-text { appearance: none; background: none; border: 0; padding: 8px 0; font: inherit; font-size: 15px; font-weight: 700; color: var(--teal-label); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.btn-text:hover { color: var(--ink); }
.btn-text:disabled { color: var(--muted-2); text-decoration: none; cursor: default; }

/* Legal pages and 404 */
.legal { padding: clamp(48px, 7vw, 88px) 0 var(--section); }
.legal-inner { max-width: 820px; }
.legal h1 { margin: 0 0 10px; font-family: var(--font-display); font-weight: 800; font-size: clamp(36px, 5vw, 56px); line-height: 1.02; letter-spacing: -.03em; color: var(--ink); }
.legal h2 { margin: 2em 0 .5em; font-family: var(--font-display); font-weight: 700; font-size: 24px; line-height: 1.2; letter-spacing: -.015em; color: var(--ink); }
.legal p, .legal ul { margin: 0 0 1em; }
.legal ul { padding-left: 1.3em; }
.legal li { margin-bottom: .4em; }
.legal li strong { color: var(--ink); }
.legal .updated { color: var(--muted); margin-bottom: 1.6em; }
.legal-note { margin: 0 0 28px; background: var(--gold-soft); color: var(--gold-ink); border-radius: var(--r-clip); padding: 12px 16px; font-size: 15px; font-weight: 600; }
.notfound .lead { margin: 14px 0 32px; }
