/* =========================================================
   Koho — landing page
   Palette, type and spacing follow the Koho v6 design.
   ========================================================= */

:root {
  --paper: #F6F3EE;
  --paper-2: #FBF9F4;
  --sand: #EFEBE3;
  --sand-2: #F2EEE7;
  --line: #DAD4C9;
  --line-2: #E7E1D6;
  --line-3: #E4DFD5;
  --ink: #211E1B;
  --ink-2: #2C2925;
  --ink-3: #3A3632;
  --muted: #5F594E;
  --muted-2: #706A5D; /* design #8D8779, darkened to pass WCAG AA (4.5:1) on paper and sand */
  --muted-2-on-dark: #8D8779;
  --muted-3: #A9A193;
  --acc: oklch(0.45 0.10 275);
  --acc-soft: oklch(0.93 0.03 275);
  --acc-wash: oklch(0.96 0.02 275);
  --acc-light: oklch(0.78 0.08 275);
  --ok: oklch(0.47 0.09 240);
  /* --brand is the agency colour picked in the bento swatches */
  --brand: var(--acc);
  --brand-tint: var(--acc-soft);
  /* the CTA hover palette: light washes for surfaces, deeper inks for type */
  --wash-indigo: oklch(0.95 0.03 275); --wash-butter: oklch(0.97 0.05 95); --wash-sage: oklch(0.96 0.035 165); --wash-clay: oklch(0.96 0.035 40); --wash-slate: oklch(0.96 0.03 235);

  --f-serif: 'Bitter', Georgia, serif;
  --f-sans: 'Instrument Sans', system-ui, sans-serif;
  --f-mono: 'Spline Sans Mono', ui-monospace, monospace;
  --f-doc: 'Spectral', Georgia, serif;
  --f-doc-sans: 'Hanken Grotesk', system-ui, sans-serif;
  --f-logo: 'Figtree', system-ui, sans-serif;

  --gutter: clamp(20px, 4vw, 56px);
  --container: 1120px;
  /* side padding that lines full-bleed bands (nav, film, footer) up with --container */
  --edge: max(var(--gutter), calc((100% - var(--container)) / 2));
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

*, *::before, *::after { box-sizing: border-box; }
/* Keep the page exactly one screen wide: no sideways drift or bounce on phones */
html { -webkit-text-size-adjust: 100%; overflow-x: hidden; overscroll-behavior-x: none; background: var(--paper); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden; /* fallback for browsers without clip */
  overflow-x: clip;
  overscroll-behavior-x: none;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
img, svg, canvas { display: block; }
::selection { background: var(--acc); color: #fff; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: 8px; }
.skip:focus { top: 12px; }

.grain {
  /* inset 0, never larger: an oversized fixed layer makes phones widen the page */
  position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- shared type ---------- */
.dim { color: var(--muted-2); }
.kicker { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-2); }
.h2 { margin: 0; font-family: var(--f-serif); font-weight: 400; font-size: clamp(36px, 4.6vw, 64px); line-height: 1.04; letter-spacing: -0.03em; text-align: center; text-wrap: balance; }
.acc-italic { font-style: italic; font-weight: 300; color: var(--acc); }

/* doodle strokes */
.doodle-ul path, .plan path {
  stroke: var(--acc); stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- buttons ---------- */
.btn {
  position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 0;
  border-radius: 12px; font-weight: 500; white-space: nowrap; cursor: pointer;
  transition: box-shadow .3s, border-color .3s; will-change: transform;
}
.btn--sm { padding: 9px 16px; font-size: 13.5px; border-radius: 10px; }
.btn--lg { padding: 14px 24px; font-size: 14.5px; }
.btn--block { width: 100%; padding: 16px 0; font-size: 15px; }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); padding: 13px 22px; gap: 10px; }
.btn.is-fx { box-shadow: 0 14px 30px -14px rgba(33,30,27,.45); }

/* Radial hover fill (after pancake.ai): a circle grows from where the
   pointer came in, in a new tint each time (js/main.js → buttonFx). */
.btn-fx { position: absolute; inset: 0; z-index: -1; border-radius: inherit; overflow: hidden; pointer-events: none; }
.btn-fx > i { position: absolute; left: 50%; top: 50%; width: 0; height: 0; border-radius: 50%; transform: translate(-50%, -50%) scale(0); transition: transform .55s cubic-bezier(.22, .61, .36, 1); }
.btn.is-fx .btn-fx > i { transform: translate(-50%, -50%) scale(1); }

.btn--ghost.is-fx { border-color: transparent; }

/* =========================================================
   NAV
   ========================================================= */
/* static: it sits on the page and scrolls away with it (the floating doodle CTA takes over) */
.nav {
  position: relative; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 14px var(--edge);
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-badge {
  width: 28px; height: 28px; border-radius: 8px; background: var(--ink); color: #F1EDE4; display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--f-logo); font-weight: 600; font-size: 17px; letter-spacing: -0.04em; padding-bottom: 2px; flex: none;
}
.is-ready .logo-badge { transition: transform .6s var(--ease-spring); }
.logo:hover .logo-badge { transform: rotate(-14deg) scale(1.1); }
.logo-word { display: flex; font-family: var(--f-logo); font-weight: 600; font-size: 22px; letter-spacing: -0.045em; overflow: hidden; padding: 2px 0; }
.logo-word span { display: inline-block; }
.is-ready .logo-word span { transition: transform .55s var(--ease-spring); }
.logo:hover .logo-word span { transform: translateY(-18%); }
.logo:hover .logo-word span:nth-child(2) { transition-delay: 45ms; }
.logo:hover .logo-word span:nth-child(3) { transition-delay: 90ms; }
.logo:hover .logo-word span:nth-child(4) { transition-delay: 135ms; }
.nav-links { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 28px); font-size: 13.5px; margin-left: auto; }
.nav-link { position: relative; padding: 4px 0; }
.nav-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1.8px; border-radius: 2px; background: var(--acc);
  transform: scaleX(0); transform-origin: 100% 50%; transition: transform .35s var(--ease-out);
}
.nav-link:hover::after { transform: scaleX(1); transform-origin: 0 50%; }
.nav-link:hover { color: var(--acc); }
.nav-link--muted { color: var(--muted); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; width: 40px; height: 40px; border: 1px solid var(--line); background: #fff; border-radius: 10px; cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 11px; right: 11px; height: 1.6px; background: var(--ink); transition: transform .35s var(--ease-out); }
.nav-toggle span:first-child { top: 15px; } .nav-toggle span:last-child { top: 23px; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line-2); padding: 6px var(--gutter) 18px; font-size: 18px;
    clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .45s var(--ease-out), visibility 0s .45s;
  }
  .nav-links.is-open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .45s var(--ease-out); }
  .nav-link { padding: 12px 0; font-family: var(--f-serif); }
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative; isolation: isolate;
  min-height: calc(100svh - 65px); justify-content: center;
  padding: clamp(64px, 12vh, 130px) var(--gutter) clamp(48px, 8vh, 90px);
  display: flex; flex-direction: column; align-items: center; gap: clamp(40px, 7vh, 64px);
}
.hero::before { /* soft indigo glow behind the headline */
  content: ""; position: absolute; z-index: -2; left: 50%; top: 4%; width: min(1100px, 120vw); height: 70vh; transform: translateX(-50%);
  background: radial-gradient(ellipse at center, oklch(0.93 0.03 275 / .65), transparent 62%);
  pointer-events: none;
}
.hero-stage { position: absolute; z-index: -1; left: 0; right: 0; top: 0; height: 110vh; pointer-events: none; overflow: hidden; }
.hero-stage::after { content: ""; position: absolute; inset: auto 0 0 0; height: 30%; background: linear-gradient(transparent, var(--paper)); }
.hero-canvas { width: 100%; height: 100%; }
.js .hero-copy { visibility: hidden; }
/* No flex gap: the sub sits close under the headline it explains, and the
   buttons a clear step further down (margins on .hero-sub and .hero-ctas). */
.hero-copy { display: flex; flex-direction: column; align-items: center; text-align: center; max-width: var(--container); }
@keyframes ping { 0% { box-shadow: 0 0 0 0 oklch(0.47 0.09 240 / .45); } 70%, 100% { box-shadow: 0 0 0 9px oklch(0.47 0.09 240 / 0); } }
.hero-title {
  margin: 0; font-family: var(--f-serif); font-weight: 400; font-size: clamp(44px, 6.4vw, 96px); line-height: 1.02; letter-spacing: -0.035em;
  text-wrap: balance;
}
.hero-title .line { display: block; }
@media (min-width: 900px) { .hero-title .line { white-space: nowrap; } }
.hero-title .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.hero-title .w-in { display: inline-block; will-change: transform; }
.accent-word { position: relative; display: inline-block; color: var(--acc); font-style: italic; font-weight: 300; }
.doodle-ul { position: absolute; left: 0; top: 90%; width: 100%; height: 18%; overflow: visible; }
.doodle-ul path { stroke-width: 4; filter: url(#wobble); stroke-dasharray: 100 200; stroke-dashoffset: 101; }

/* "Koho does", touched: a wave through the five modules' colours, left to
   right, each letter lifting as it passes, while the underline lifts away and
   draws itself back in (js/main.js adds .is-waving, and .is-in once the intro
   has landed — then the words' clip opens so a lifted letter isn't cut). */
.hero-title.is-in .w { overflow: visible; }
.accent-word .ch { display: inline-block; }
.accent-word.is-waving .ch { animation: kohoWave 1.05s var(--ease-out) calc(var(--i) * 45ms) both; }
.accent-word.is-waving .doodle-ul path { animation: kohoUnderline 1.2s var(--ease-out) both; }
@keyframes kohoWave {
  0%   { color: var(--acc); transform: none; }
  16%  { color: var(--mod-clay); transform: translateY(-0.1em) rotate(-4deg); }
  34%  { color: var(--mod-butter); transform: translateY(-0.04em) rotate(2deg); }
  52%  { color: var(--mod-sage); transform: none; }
  72%  { color: var(--mod-slate); }
  100% { color: var(--acc); transform: none; }
}
@keyframes kohoUnderline {
  0%   { stroke-dashoffset: 0; stroke: var(--acc); }
  28%  { stroke-dashoffset: -100; stroke: var(--acc); }
  29%  { stroke-dashoffset: 101; stroke: var(--mod-clay); }
  60%  { stroke: var(--mod-sage); }
  100% { stroke-dashoffset: 0; stroke: var(--acc); }
}
.hero-sub { text-wrap: balance; margin: clamp(22px, 2.6vw, 30px) 0 0; font-size: clamp(16px, 1.5vw, 19px); line-height: 1.55; color: var(--muted); max-width: 52ch; }
.hero-ctas { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: clamp(32px, 3.8vw, 44px); }


/* =========================================================
   TRUST
   ========================================================= */
.trust-grid { width: 100%; max-width: var(--container); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.trust-item { background: var(--paper); padding: 28px 24px 30px; display: flex; flex-direction: column; gap: 10px; transition: background .4s; }
.trust-item:hover { background: #fff; }
.trust-item svg { width: 30px; height: 30px; margin-bottom: 8px; overflow: visible; }
.trust-item path { stroke: var(--acc); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 100 200; stroke-dashoffset: 0; }
.trust-title { font-family: var(--f-serif); font-size: 20px; letter-spacing: -0.01em; }
.trust-p { font-size: 14.5px; line-height: 1.55; color: var(--muted); }

/* =========================================================
   PRICING
   ========================================================= */
.pricing { padding: clamp(80px, 12vh, 140px) var(--gutter); }
.price-wrap { max-width: var(--container); margin: 0 auto; display: flex; flex-direction: column; gap: clamp(40px, 7vh, 72px); }
.price-h { margin: 0; font-family: var(--f-serif); font-weight: 400; font-size: clamp(36px, 4.6vw, 64px); line-height: 1.04; letter-spacing: -0.03em; }
.price-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.price-main { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.price-row { display: flex; align-items: flex-end; gap: 14px; }
.price-amt { font-family: var(--f-serif); font-weight: 500; font-size: clamp(88px, 11vw, 150px); line-height: .8; letter-spacing: -0.05em; }
.price-per { padding-bottom: .3em; font-size: clamp(17px, 1.6vw, 21px); line-height: 1.25; color: var(--ink-3); }
.price-confirm { margin: 0; font-size: 15px; color: var(--muted); }
.price-confirm b { color: var(--ink); font-weight: 600; }
.price-cta { margin-top: 18px; }
.plan { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.plan li { display: flex; gap: 14px; align-items: flex-start; font-size: 16px; line-height: 1.45; }
.plan svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; overflow: visible; }
.plan path { stroke-width: 2.4; filter: url(#wobble); stroke-dasharray: 100 200; stroke-dashoffset: 101; }
.price-note { font-size: 13px; line-height: 1.5; color: var(--muted-2); }
.price-invite { display: flex; align-items: center; gap: 14px; }
.price-invite .price-note { max-width: 36ch; }
@media (max-width: 800px) { .price-grid { grid-template-columns: minmax(0, 1fr); } }
.price-note a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }

/* =========================================================
   FAQ — its own section after pricing: a centred heading, then the questions
   in two columns on one card. Native <details>, so it opens without JS.
   ========================================================= */
.faq { padding: clamp(24px, 5vh, 56px) var(--gutter) clamp(80px, 12vh, 140px); display: flex; flex-direction: column; align-items: center; gap: clamp(28px, 5vh, 48px); }
.faq-sub { margin: 0; font-size: 17px; color: var(--muted); }
.faq-sub a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.faq-card { width: 100%; max-width: var(--container); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 clamp(28px, 4vw, 56px); align-items: start; padding: clamp(8px, 1.4vw, 16px) clamp(24px, 3.4vw, 44px); background: var(--card); border: 1px solid var(--line-2); border-radius: 30px; }
.faq-item { border-bottom: 1px solid var(--line-2); }
.faq-col .faq-item:last-child { border-bottom: 0; }
.faq-item summary { position: relative; list-style: none; cursor: pointer; padding: 22px 40px 22px 0; font-family: var(--f-serif); font-size: clamp(18px, 1.5vw, 20px); line-height: 1.35; transition: color .25s; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before, .faq-item summary::after { content: ""; position: absolute; right: 4px; top: 50%; width: 14px; height: 1.6px; background: currentColor; transition: transform .35s var(--ease-out); }
.faq-item summary::after { transform: rotate(90deg); }
.faq-item[open] summary::after { transform: rotate(0deg); }
.faq-item summary:hover, .faq-item[open] summary { color: var(--acc); }
.faq-item p { margin: 0; padding: 0 40px 22px 0; font-size: 15.5px; line-height: 1.65; color: var(--ink-3); }
.faq-item p a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 800px) {
  .faq-card { grid-template-columns: minmax(0, 1fr); }
  .faq-col + .faq-col { border-top: 1px solid var(--line-2); }
}
@media (prefers-reduced-motion: reduce) { .faq-item summary::before, .faq-item summary::after, .faq-item summary { transition: none; } }

/* =========================================================
   Doodles — the app's margin drawings (js/doodles.js): one ink line at 2px
   and one indigo mark that draws itself in, once, as it scrolls into view.
   ========================================================= */
.dd { display: block; overflow: visible; }
.dd-ink { stroke: var(--ink); }
.dd-mark { stroke: var(--acc); stroke-dasharray: 1; stroke-dashoffset: 1; }
.is-drawn .dd-mark { animation: koho-draw .8s cubic-bezier(.22, 1, .36, 1) .24s both; }
@keyframes koho-draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .dd-mark { stroke-dashoffset: 0; } .is-drawn .dd-mark { animation: none; } }
.vs-doodle { display: block; height: 64px; margin-bottom: -2px; }
.price-doodle { flex: none; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { padding: calc(var(--bowl) + clamp(40px, 7vh, 80px)) var(--edge) 0; display: flex; flex-direction: column; gap: clamp(48px, 8vh, 80px); overflow: hidden; }
.footer-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 28px; font-size: 13px; }
.footer-col { display: flex; flex-direction: column; gap: 8px; }
.footer-col a { color: var(--muted); width: fit-content; }
.footer-col a:hover { color: var(--acc); }
/* Email and LinkedIn as two of the app's doodles: a 2px ink line, one indigo
   mark, the same hand-drawn wobble. Each sits on a paper tile turned a few
   degrees, like the margin doodles; under the pointer it straightens and
   lifts, and its mark draws itself in again, as a module tile's does. */
.footer-social { display: flex; gap: 10px; margin: 2px 0 4px; }
.footer-col a.soc { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 14px; background: var(--paper-2); border: 1px solid color-mix(in oklch, var(--acc) 22%, transparent); rotate: -4deg; transition: rotate .45s var(--ease-spring), translate .45s var(--ease-spring), border-color .3s ease, box-shadow .3s ease; }
.footer-col a.soc + a.soc { rotate: 3deg; }
.footer-col a.soc:hover, .footer-col a.soc:focus-visible { rotate: 0deg; translate: 0 -3px; border-color: var(--acc); box-shadow: 0 12px 22px -14px rgba(33,30,27,.55); }
.soc svg { width: 26px; height: 26px; overflow: visible; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.soc-ink { stroke: var(--ink); stroke-width: 1.8; }
.soc-mark { stroke: var(--acc); stroke-width: 2.1; stroke-dasharray: 1; stroke-dashoffset: 0; }
.soc-dot { stroke-width: 3.2; }
.soc:hover .soc-mark, .soc:focus-visible .soc-mark { animation: koho-redraw .7s var(--ease-out) both; }
.soc:hover .soc-dot, .soc:focus-visible .soc-dot { animation-delay: .35s; }
@media (prefers-reduced-motion: reduce) { .footer-col a.soc { rotate: 0deg; } .soc:hover .soc-mark, .soc:focus-visible .soc-mark { animation: none; } }
.footer-h { font-weight: 600; }
.footer-word { font-family: var(--f-logo); font-weight: 600; font-size: 22px; letter-spacing: -0.045em; }
.footer-mark { position: relative; display: flex; justify-content: center; overflow: hidden; margin-bottom: -0.12em; font-size: clamp(140px, 30vw, 440px); }
.fl { display: inline-block; font-family: var(--f-logo); font-weight: 600; letter-spacing: -0.06em; line-height: .86; padding: 0 .01em; cursor: default; transition: color .45s var(--ease-out); }

/* =========================================================
   Motion preferences
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .doodle-ul path, .plan path { stroke-dashoffset: 0; }
  .grain { display: none; }
}

/* =========================================================
   Review pass: framing, why-switch merge, phones
   ========================================================= */


.footer-cols { width: 100%; }

/* =========================================================
   Shared pieces
   ========================================================= */
.section-head { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.num { font-size: 12px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--acc); }

/* =========================================================
   HOW IT WORKS — text scrolls, the screen beside it stays put.
   Native position: sticky (no scroll hijacking), crossfades in CSS.
   ========================================================= */
.value { padding: clamp(72px, 11vh, 130px) var(--gutter); display: flex; flex-direction: column; align-items: center; gap: clamp(40px, 7vh, 72px); }
.value-steps { list-style: none; margin: 0; padding: 0; }
/* module labels: the chip row under the heading and the label on each step */
.vs-mod { display: inline-flex; align-items: center; gap: 8px; padding: 5px 14px 5px 5px; border-radius: 999px; background: var(--t); border: 1px solid color-mix(in oklch, var(--t) 80%, var(--ink) 12%); font-size: 14px; font-weight: 500; color: var(--ink); text-decoration: none; white-space: nowrap; }
.vs-mod { align-self: flex-start; font-size: 15px; }
.value-step h3 { margin: 0; font-family: var(--f-serif); font-weight: 400; font-size: clamp(28px, 3vw, 40px); line-height: 1.1; letter-spacing: -0.02em; }
.value-step .vs-lede { margin: 0; font-size: 17px; line-height: 1.55; color: var(--ink); max-width: 40ch; }
/* scannable points: a tick in the module's tint, a bold keyword, one short line */
.vs-points { list-style: none; margin: 4px 0 0; padding: 0; max-width: 42ch; border-top: 1px solid var(--line-2); }
.vs-points li { position: relative; padding: 11px 0 11px 34px; border-bottom: 1px solid var(--line-2); font-size: 15.5px; line-height: 1.5; color: var(--muted); }
.vs-points li::before { content: ""; position: absolute; left: 0; top: 11px; width: 22px; height: 22px; box-sizing: border-box; border-radius: 50%; border: 1px solid color-mix(in oklch, var(--t) 80%, var(--ink) 12%); background: var(--t) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.6 2.6L12 5.5' fill='none' stroke='%231c1a17' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.vs-points b { font-weight: 500; color: var(--ink); }


/* =========================================================
   CTAs — the tint floods in and the label turns ink. Nothing moves.
   ========================================================= */
.btn-label { position: relative; transition: color .35s var(--ease-out); }
.btn.is-fx .btn-label { color: var(--ink); }


/* =========================================================
   How it works storyboards + Today
   Each scene is a 30 × 21em canvas sized off a container-relative font,
   so it scales as one piece. It plays three beats (you do → Koho does →
   you get) once its step is active: k-* parts are keyframed, and --d / --o /
   --p say when they start, in seconds. Drawn in the site's own paper, ink
   and indigo, branded as Koho, with made-up people.
   ========================================================= */
@property --x { syntax: '<percentage>'; inherits: true; initial-value: 0%; }
@property --u { syntax: '<length>'; inherits: true; initial-value: 0px; }
.vs-media { container-type: inline-size; }
.sc { position: relative; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: clamp(9px, 3.05cqw, 19px); color: var(--ink); line-height: 1.35; }
.sb { --u: 1em; position: relative; flex: none; width: 30em; height: 25em; }
.sb > * { position: absolute; }

/* play scope: the active desktop screen, or a phone step once it has been seen */
.k-in, .k-pop { opacity: 0; }
.k-type { display: inline-block; clip-path: inset(0 100% 0 0); }
.k-grow { transform: scaleY(0); transform-origin: 50% 100%; }
.value-step.is-seen .k-in { animation: kIn .5s var(--ease-out) calc(var(--d, 0) * 1s) both; }
.value-step.is-seen .k-out { animation: kOut .3s ease calc(var(--o, 0) * 1s) forwards; }
.value-step.is-seen .k-in.k-out { animation: kIn .5s var(--ease-out) calc(var(--d, 0) * 1s) both, kOut .3s ease calc(var(--o, 0) * 1s) forwards; }
.value-step.is-seen .k-pop { animation: kPop .5s var(--ease-out) calc(var(--d, 0) * 1s) both; }
.value-step.is-seen .k-press { animation: kPress .32s ease calc(var(--p, 0) * 1s) both; }
.value-step.is-seen .k-type { animation: kType calc(var(--t, .8) * 1s) steps(14, end) calc(var(--d, 0) * 1s) both; }
.value-step.is-seen .sc-sig-ink.k-type { animation-timing-function: var(--ease-out); }
.value-step.is-seen .k-grow { animation: kGrow .6s var(--ease-out) calc(var(--d, 0) * 1s) both; }
.value-step.is-seen .k-fly { animation: kFly calc(var(--fd, 1) * 1s) cubic-bezier(.6, 0, .3, 1) calc(var(--d, 0) * 1s) both; }
.value-step.is-seen .sb-cur { animation: kCur calc(var(--cd, 1) * 1s) var(--ease-out) calc(var(--d, 0) * 1s) both; }
.value-step.is-seen .sb-tap { animation: kTap .6s ease-out calc(var(--d, 0) * 1s) both; }
.value-step.is-seen .sb-beats span { animation: kBeat .3s ease calc(var(--s) * 1s) both; }
.value-step.is-seen .sb-beats i { animation: kFill calc(var(--l) * 1s) linear calc(var(--s) * 1s) both; }
.value-step.is-seen .sb-cmp { animation: kSweep 2.5s cubic-bezier(.55, 0, .35, 1) 1.8s both; }
@keyframes kIn { from { opacity: 0; translate: 0 .6em; } to { opacity: 1; translate: 0 0; } }
@keyframes kOut { to { opacity: 0; visibility: hidden; } }
@keyframes kPop { from { opacity: 0; scale: .6; } 70% { opacity: 1; scale: 1.06; } to { opacity: 1; scale: 1; } }
@keyframes kPress { 45% { scale: .92; filter: brightness(.85); } }
@keyframes kType { to { clip-path: inset(0 0 0 0); } }
@keyframes kGrow { to { transform: scaleY(1); } }
@keyframes kFly { 0% { opacity: 0; translate: 0 0; scale: .8; } 15%, 30% { opacity: 1; translate: 0 0; scale: 1; } 85% { opacity: 1; translate: var(--fx) var(--fy); scale: 1; } 100% { opacity: 0; translate: var(--fx) var(--fy); scale: .9; } }
@keyframes kCur { 0% { opacity: 0; left: var(--x0); top: var(--y0); } 15% { opacity: 1; } 65% { left: var(--x1); top: var(--y1); scale: 1; } 75% { scale: .78; } 85% { opacity: 1; scale: 1; } 100% { opacity: 0; left: var(--x1); top: var(--y1); } }
@keyframes kTap { from { opacity: .7; scale: .2; } to { opacity: 0; scale: 1.6; } }
@keyframes kBeat { to { color: var(--ink); } }
@keyframes kFill { to { transform: scaleX(1); } }
@keyframes kSweep { 0% { --x: 0%; } 62% { --x: 100%; } 100% { --x: 56%; } }

/* beat track */
.sb-beats { left: 0; right: 0; top: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .9em; }
.sb-beats span { position: relative; padding-top: .9em; font-size: .6em; line-height: 1.3; color: var(--muted-2); }
.sb-beats span::before, .sb-beats i { content: ""; position: absolute; left: 0; right: 0; top: 0; height: .32em; border-radius: 1em; background: var(--line-2); }
.sb-beats i { background: var(--brand); transform: scaleX(0); transform-origin: 0 50%; }
.sb-beats b { display: inline-grid; place-items: center; width: 1.6em; height: 1.6em; margin-right: .45em; border-radius: 50%; background: var(--paper); border: 1px solid var(--line); font-weight: 500; font-size: .9em; }

/* shared parts */
.sc-paper { background: #fff; border: 1px solid var(--line); box-shadow: 0 1.8em 3.4em -2em rgba(33,30,27,.5); overflow: hidden; }
.sc-card { background: #fff; border: 1px solid var(--line); border-radius: 1em; padding: 1em 1.15em; display: flex; flex-direction: column; gap: .55em; box-shadow: 0 1.8em 3.4em -2em rgba(33,30,27,.5); }
.sc-k { font-size: .6em; color: var(--muted-2); }
.sc-lh { display: flex; justify-content: space-between; align-items: flex-end; gap: 1em; padding: .9em 1.1em .6em; border-bottom: .14em solid var(--brand); }
.sc-logo { font-size: .78em; font-weight: 600; }
.sb-koho { font-family: var(--f-logo); font-weight: 600; letter-spacing: -.01em; }
.sc-tag { font-size: .5em; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); }
.sc-title { font-family: var(--f-doc); font-size: 1.2em; line-height: 1.1; }
.sc-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6em; font-size: .55em; padding: .6em 0; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.sc-facts i { display: block; font-style: normal; font-size: .8em; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); margin-bottom: .25em; }
.sc-lines { display: flex; flex-direction: column; gap: .45em; }
.sc-lines i { display: block; height: .24em; width: 100%; border-radius: 1em; background: var(--line-3); }
.sc-stamp { position: absolute; top: -.9em; right: -.8em; font-family: var(--f-mono); font-size: .62em; letter-spacing: .14em; text-transform: uppercase; color: var(--ok); border: .16em solid var(--ok); border-radius: .4em; padding: .35em .7em; background: var(--paper); rotate: -7deg; }
.sc-v { border: 1px solid var(--line); border-radius: .45em; padding: .4em .55em; font-size: .68em; min-height: 1.35em; white-space: nowrap; overflow: hidden; }
.sc-url { align-self: center; font-family: var(--f-mono); font-size: .5em; background: var(--sand-2); padding: .35em .9em; border-radius: 999px; color: var(--muted); }
.sc-brand { font-size: .78em; border-bottom: .15em solid var(--brand); padding-bottom: .35em; }
.sb-btn { position: absolute; left: 1.8em; right: 1.8em; bottom: 1.8em; height: 3.4em; display: grid; place-items: center; background: var(--brand); color: #fff; font-size: .62em; font-weight: 500; border-radius: .6em; overflow: hidden; }
.sb-btn > span { grid-area: 1 / 1; }
.sb-ok { position: absolute; inset: 0; display: grid; place-items: center; background: var(--ok); }
.sb-card-h { display: flex; align-items: baseline; justify-content: space-between; gap: .6em; padding-bottom: .45em; border-bottom: 1px solid var(--line-2); }
.sb-card-h b { font-family: var(--f-serif); font-weight: 400; font-size: 1em; }
.sb-small { font-size: .55em; line-height: 1.45; color: var(--muted); }
.sb-small.c { text-align: center; }
.sb-tick { width: 1.15em; height: 1.15em; flex: none; color: var(--ok); }
.sb-cur { width: 1.35em; height: 1.35em; left: var(--x0); top: var(--y0); opacity: 0; z-index: 6; pointer-events: none; }
.sb-cur svg { display: block; width: 100%; height: 100%; filter: drop-shadow(0 .12em .18em rgba(0,0,0,.28)); }
.sb-cur.sb-cur-on { opacity: 1; left: auto; top: auto; right: -.9em; bottom: -1.1em; animation: none !important; }
.sb-tap { width: 2.4em; height: 2.4em; margin: -1.2em 0 0 -1.2em; border-radius: 50%; background: var(--brand); opacity: 0; position: absolute; }
.sb-phone { font-size: .8em; background: #fff; border: .5em solid var(--ink); border-radius: 2.6em; padding: 1em .9em; display: flex; flex-direction: column; gap: .45em; overflow: hidden; box-shadow: 0 2em 4em -2em rgba(33,30,27,.55); }
.sb-phone .sc-k { margin-bottom: -.25em; }
.sb-phone > *, .sb-scr > * { flex-shrink: 0; }

/* 01 resume converter */
.sb-cmp { --x: 0%; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.sb-cmp.is-drag { animation: none !important; }
.value-step.is-seen .sb-cmp { pointer-events: auto; cursor: ew-resize; }
.sb-drop { position: absolute; inset: 0; display: grid; place-items: center; border: .14em dashed var(--line-3); border-radius: .6em; font-size: .7em; color: var(--muted-2); }
.sb-before, .sb-after { position: absolute; inset: 0; display: flex; flex-direction: column; gap: .45em; font-size: .7em; }
.sb-before { padding: 1.2em 1.1em; font-family: 'Times New Roman', Times, serif; color: #333; }
.sb-before > * { font-size: .52em; }
.sb-before .c { text-align: center; } .sb-before .u { text-decoration: underline; } .sb-before .big { font-size: .8em; letter-spacing: .08em; } .sb-before .sm { font-size: .44em; }
.sb-before .hl { color: #1f3fbf; text-decoration: underline; margin-top: .3em; }
.sb-after { border-left: .36em solid var(--brand); clip-path: inset(0 calc(100% - var(--x)) 0 0); }
.sb-after > *:not(.sc-lh) { margin: 0 1.1em; }
.sc-name { font-family: var(--f-doc); font-size: 1.4em; line-height: 1; margin-top: .2em !important; }
.sc-head { font-family: var(--f-doc); font-style: italic; font-size: .72em; color: var(--muted); }
.sc-contact { align-self: flex-start; font-size: .55em; color: var(--brand); background: var(--brand-tint); padding: .35em .75em; border-radius: 999px; }
.sc-h { font-family: var(--f-doc); font-size: .78em; color: var(--brand); }
.sc-row { display: flex; justify-content: space-between; gap: 1em; font-size: .55em; }
.sc-row span:last-child { color: var(--muted-2); }
.sb-tags { display: flex; flex-wrap: wrap; gap: .35em; }
.sb-tags i { font-style: normal; font-size: .52em; padding: .3em .7em; border-radius: 999px; background: var(--wash-indigo); }
.sb-checkrow { display: flex; align-items: center; gap: .5em; font-size: .55em; color: var(--muted); }
.sb-checkrow i { display: grid; place-items: center; width: 1.5em; height: 1.5em; flex: none; border-radius: .3em; background: var(--brand); color: #fff; font-style: normal; font-size: .9em; }
.sb-prog { height: .3em; border-radius: 1em; background: var(--line-2); overflow: hidden; }
.sb-prog i { display: block; width: 33%; height: 100%; background: var(--brand); }
.sb-scan { position: absolute; top: -.5em; bottom: -.5em; left: var(--x); width: .2em; margin-left: -.1em; background: var(--brand); border-radius: 1em; box-shadow: 0 0 1.2em .1em color-mix(in oklch, var(--brand) 60%, transparent); z-index: 2; }
.sb-knob { position: absolute; top: 50%; left: 50%; translate: -50% -50%; display: grid; place-items: center; width: 2.4em; height: 2.4em; border-radius: 50%; background: #fff; border: .14em solid var(--brand); color: var(--brand); font-size: .75em; font-weight: 600; letter-spacing: .1em; }
.sb-side { position: absolute; bottom: .7em; font-size: .5em; letter-spacing: .14em; text-transform: uppercase; background: var(--ink); color: #fff; padding: .35em .7em; border-radius: 999px; z-index: 1; }
.sb-side.l { left: 1.4em; } .sb-side.r { right: 1em; background: #fff; color: var(--muted); border: 1px solid var(--line); }
.sb-file { position: relative; display: flex; align-items: center; gap: .6em; padding: .55em .9em .55em .55em; background: #fff; border: 1px solid var(--line); border-radius: .6em; font-size: .6em; white-space: nowrap; box-shadow: 0 1em 2em -1em rgba(33,30,27,.5); }
.sb-file .sb-cur { width: 2.2em; height: 2.2em; }
.sb-file i { display: grid; place-items: center; width: 2em; height: 2.3em; border-radius: .3em; background: #2b579a; color: #fff; font-style: normal; font-weight: 700; }
.sb-gets { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: .8em; }
.sb-gets li { display: flex; align-items: center; gap: .6em; font-size: .72em; }
.sb-hint { font-size: .62em; color: var(--brand); }
.sb-ready { display: inline-flex; align-items: center; gap: .5em; padding: .6em 1em .6em .75em; border-radius: 999px; background: var(--wash-sage); border: 1px solid oklch(0.87 0.05 165); font-size: .72em; font-weight: 500; }

/* 02 e-signing */
.sb-doc { font-size: .84em; display: flex; flex-direction: column; gap: .7em; border-left: .36em solid var(--brand); overflow: visible; }
.sb-doc > *:not(.sc-lh):not(.sb-btn):not(.sc-stamp) { margin: 0 1.1em; }
.sb-chip { display: inline-block; padding: .45em .9em; border-radius: 999px; background: var(--ink); color: #fff; font-size: .55em; white-space: nowrap; }
.sb-sign .sb-phone { background: color-mix(in oklch, var(--wash-clay) 60%, white); }
.sc-sig { border-bottom: 1px solid var(--ink); min-height: 1.9em; }
.sc-sig-ink { font-family: var(--f-serif); font-style: italic; font-size: 1.15em; white-space: nowrap; color: var(--brand); }
.sb-toast { display: flex; gap: .7em; align-items: flex-start; padding: .9em 1.1em; background: #fff; border: 1px solid oklch(0.87 0.05 165); border-radius: .9em; box-shadow: 0 1.6em 3em -1.4em rgba(33,30,27,.55); z-index: 4; }
.sb-toast b { display: block; font-family: var(--f-serif); font-weight: 400; font-size: .9em; }
.sb-toast i { display: block; font-style: normal; font-size: .55em; line-height: 1.5; color: var(--muted); }

/* 03 reference checker */
.sb-person { display: flex; align-items: center; gap: .6em; }
.sb-person i { display: grid; place-items: center; width: 2.2em; height: 2.2em; flex: none; border-radius: 50%; background: var(--wash-indigo); font-style: normal; font-size: .6em; font-weight: 600; }
.sb-person > span { font-size: .6em; line-height: 1.35; color: var(--muted); }
.sb-person b { display: block; font-size: 1.15em; font-weight: 500; color: var(--ink); }
.sb-chase { background: var(--wash-sage); border-color: oklch(0.87 0.05 165); }
.sb-live { width: .55em; height: .55em; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 .25em color-mix(in oklch, var(--ok) 25%, transparent); }
.sb-tl { display: grid; grid-template-columns: 3.3em 1fr; gap: .5em; font-size: .6em; line-height: 1.35; }
.sb-tl em { font-style: normal; font-family: var(--f-mono); color: var(--muted-2); }
.sb-tl.ok { color: var(--ok); font-weight: 500; }
.sb-zero { margin-top: .2em; padding-top: .55em; border-top: 1px solid oklch(0.87 0.05 165); font-size: .6em; color: var(--muted); }
.sb-zero b { color: var(--ink); font-size: 1.3em; }
.sb-answer { z-index: 3; gap: .4em; }
.sc-meta { font-size: .55em; color: var(--muted-2); }
.sc-q { font-size: .68em; font-weight: 600; }
.sc-text { font-family: var(--f-doc); font-size: .9em; line-height: 1.4; }
.sc-rate { display: flex; align-items: center; gap: .3em; }
.sc-rate .sc-k { margin-right: .5em; }
.sc-rate i { width: .9em; height: .9em; border-radius: 50%; background: var(--brand); }
.sc-rate b { font-size: .55em; font-weight: 400; color: var(--muted); margin-left: .5em; }

/* 04 candidate registration */
.sb-scr { position: absolute; inset: 1em .9em; display: flex; flex-direction: column; gap: .45em; }
.sb-from { align-self: center; font-size: .68em; font-weight: 600; }
.sb-bubble { align-self: flex-start; max-width: 92%; padding: .7em .85em; border-radius: 1.1em 1.1em 1.1em .3em; background: var(--sand-2); font-size: .58em; line-height: 1.45; }
.sb-bubble u { color: var(--brand); text-decoration-thickness: .08em; }
.sc-hi { font-family: var(--f-doc); font-size: 1.15em; }
.sc-done { position: absolute; left: -1.3em; right: -1.3em; bottom: -1.45em; background: var(--ok); color: #fff; text-align: center; padding: .85em; font-size: .7em; font-weight: 500; }
.sb-rec { background: var(--wash-butter); border-color: oklch(0.88 0.06 95); gap: .35em; }
.sc-rec-name { font-family: var(--f-serif); font-size: 1.15em; }
.sc-rec-role { font-size: .62em; color: var(--muted); margin-top: -.3em; }
.sc-rec-rows { display: grid; grid-template-columns: auto 1fr; gap: .45em .9em; font-size: .65em; padding: .55em 0; border-top: 1px solid oklch(0.88 0.06 95); border-bottom: 1px solid oklch(0.88 0.06 95); }
.sc-rec-rows span { color: var(--muted); }
.sc-rec-rows b { font-weight: 500; text-align: right; }
.sc-rec-note { display: flex; align-items: center; gap: .4em; font-size: .62em; color: var(--ok); font-weight: 500; }

/* 05 market insights */
.sb-pick .sc-k { margin-bottom: -.3em; }
.sb-note { font-size: .86em; display: flex; flex-direction: column; gap: .5em; border-left: .36em solid var(--brand); }
.sb-note > *:not(.sc-lh):not(.sb-btn):not(.sb-sig) { margin: 0 1.1em; }
.sb-note .sb-btn { right: auto; width: 12em; }
.sc-for { font-size: .58em; color: var(--muted); margin-top: -.35em !important; }
.sc-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5em; }
.sc-stat { background: var(--paper-2); border: 1px solid var(--line-2); border-radius: .6em; padding: .6em; display: flex; flex-direction: column; gap: .25em; }
.sc-stat b { font-family: var(--f-doc); font-weight: 400; font-size: 1.3em; line-height: 1; }
.sc-stat span { font-size: .55em; }
.sc-stat i { font-style: normal; font-size: .44em; line-height: 1.35; color: var(--muted-2); }
.sc-bars { display: flex; align-items: flex-end; gap: .4em; height: 2.4em; border-bottom: 1px solid var(--ink); }
.sc-bars i { flex: 1; height: calc(var(--h) * 100%); background: #C9C3B6; border-radius: .3em .3em 0 0; }
.sc-bars i:nth-child(4) { background: var(--brand); }
.sb-sig { position: absolute; right: 1.6em; bottom: 1.75em; font-family: var(--f-serif); font-style: italic; font-size: .72em; color: var(--muted); }

/* Today — the app's real home screen in its light theme: a line-icon rail,
   a Spectral greeting, "Needs you" rows with a green status tag and a pill,
   hairline stat tiles with indigo numbers, then the quiet "Moving on its own" feed.
   Colours are the app's own tokens (cskevo/koho src/styles/tokens.css). */

@media (max-width: 900px) {
  .vs-media .sc { height: auto; font-size: clamp(8px, 3.25cqw, 14px); }
  .vs-media .sb-beats span { font-size: .8em; }
  .vs-media .sb-beats b { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  /* storyboards jump straight to their last frame */
  .sb, .sb * { animation-duration: 1ms !important; animation-delay: 0s !important; }
}

/* =========================================================
   Colour pass — the CTA tints carried into cards and scenes
   ========================================================= */

.sc-stat:nth-child(1) { background: var(--wash-indigo); border-color: oklch(0.87 0.05 275); }
.sc-stat:nth-child(2) { background: var(--wash-clay); border-color: oklch(0.87 0.05 40); }
.sc-stat:nth-child(3) { background: var(--wash-sage); border-color: oklch(0.87 0.05 165); }
.sc-bars i:nth-child(2) { background: oklch(0.88 0.07 165); }
.sc-bars i:nth-child(6) { background: oklch(0.87 0.07 40); }

/* =========================================================
   Inner pages — the privacy policy (privacy.html). The home page's nav,
   footer, washes and CTAs, with the policy laid out as cards: a glance
   grid, a sticky contents rail, and one card per section.
   ========================================================= */
.pp { padding: clamp(120px, 16vh, 170px) var(--gutter) clamp(80px, 12vh, 130px); }
.pp-hero { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.pp-lede { margin: 6px 0 0; max-width: 62ch; font-size: 17px; line-height: 1.65; color: var(--muted); }
.pp-meta { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.pp-meta li { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 10px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: 13px; color: var(--ink-3); }
.pp-meta svg { width: 16px; height: 16px; fill: none; stroke: var(--acc); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.pp-meta a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

.pp-glance { max-width: var(--container); margin: clamp(56px, 9vh, 96px) auto 0; }
.pp-glance-h { margin: 0; text-align: center; font-size: 12px; font-weight: 400; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); }
.pp-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 14px; margin-top: 20px; }
.pp-card { display: flex; flex-direction: column; gap: 8px; padding: 24px 24px 26px; border-radius: 20px; background: color-mix(in oklch, var(--t) 55%, white); border: 1px solid color-mix(in oklch, var(--t) 70%, var(--line)); transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out); }
.pp-card:hover { transform: translateY(-3px); box-shadow: 0 26px 44px -32px rgba(33,30,27,.5); }
.pp-card b { font-family: var(--f-serif); font-weight: 400; font-size: 20px; letter-spacing: -.01em; }
.pp-card > span:last-child { font-size: 14.5px; line-height: 1.55; color: var(--muted); }
.pp-ic { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 6px; border-radius: 14px; background: #fff; border: 1px solid var(--line-2); }
.pp-ic svg { width: 24px; height: 24px; fill: none; stroke: var(--acc); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.pp-ic.sm { width: 38px; height: 38px; border-radius: 11px; }
.pp-ic.sm svg { width: 20px; height: 20px; }

.pp-body { max-width: var(--container); margin: clamp(64px, 10vh, 110px) auto 0; display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.pp-toc { position: sticky; top: 100px; }
.pp-toc-h { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); }
.pp-toc ol { list-style: none; margin: 12px 0 0; padding: 0; counter-reset: toc; border-left: 1px solid var(--line); }
.pp-toc li { counter-increment: toc; }
.pp-toc a { display: block; margin-left: -1px; padding: 6px 0 6px 16px; border-left: 2px solid transparent; font-size: 13.5px; color: var(--muted); transition: color .25s, border-color .25s; }
.pp-toc a::before { content: counter(toc, decimal-leading-zero); margin-right: 10px; font-family: var(--f-mono); font-size: 11px; color: var(--muted-2); }
.pp-toc a:hover { color: var(--ink); }
.pp-toc a.is-on { color: var(--ink); border-left-color: var(--acc); }

.pp-sections { min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.pp-intro { margin: 0 0 4px; font-size: 15px; color: var(--muted); }
.pp-sec { scroll-margin-top: 90px; padding: clamp(22px, 3.2vw, 36px); background: #fff; border: 1px solid var(--line); border-radius: 22px; }
.pp-sec h2 { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; font-family: var(--f-serif); font-weight: 400; font-size: clamp(22px, 2.4vw, 28px); letter-spacing: -.02em; }
.pp-n { display: inline-grid; place-items: center; min-width: 34px; height: 26px; padding: 0 8px; border-radius: 999px; background: var(--wash-indigo); font-family: var(--f-mono); font-size: 12px; letter-spacing: 0; color: var(--acc); }
.pp-sec p, .pp-sec li { margin: 0 0 12px; font-size: 16px; line-height: 1.7; color: var(--ink-3); }
.pp-sec p:last-child { margin-bottom: 0; }
.pp-sec a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.pp-sec b { font-weight: 500; color: var(--ink); }
.pp-sec .pp-note { margin-top: 14px; font-size: 14.5px; color: var(--muted); }
.pp-list { margin: 0 0 14px; padding-left: 20px; }
.pp-list li { margin-bottom: 6px; }

.pp-pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 12px; }
.pp-box { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; border-radius: 16px; background: color-mix(in oklch, var(--t) 50%, white); border: 1px solid color-mix(in oklch, var(--t) 70%, var(--line)); }
.pp-sec .pp-box p { margin: 0; font-size: 15px; line-height: 1.6; }
.pp-tag { align-self: flex-start; margin-bottom: 4px; padding: 4px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--line-2); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }

.pp-people { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 12px; }
.pp-person { display: flex; flex-direction: column; gap: 6px; padding: 18px; border-radius: 16px; background: var(--paper-2); border: 1px solid var(--line-2); }
.pp-sec .pp-person p { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--muted); }

.pp-callout { display: flex; align-items: flex-start; gap: 14px; margin: 14px 0; padding: 18px 20px; border-radius: 16px; background: color-mix(in oklch, var(--t) 55%, white); border: 1px solid color-mix(in oklch, var(--t) 70%, var(--line)); }
.pp-callout .pp-ic { flex: none; margin: 0; }
.pp-sec .pp-callout p { margin: 4px 0 0; font-size: 15px; line-height: 1.65; }

.pp-providers { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 12px; }
.pp-provider { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px; border-radius: 16px; background: var(--paper-2); border: 1px solid var(--line-2); }
.pp-sec .pp-provider b { font-family: var(--f-serif); font-weight: 400; font-size: 20px; }
.pp-sec .pp-provider p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--muted); }
.pp-where { align-self: flex-start; padding: 4px 10px; border-radius: 999px; background: var(--wash-slate); font-size: 11.5px; color: var(--ink-3); }
.pp-where.au { background: var(--wash-sage); }

.pp-keep { margin-top: 14px; border-top: 1px solid var(--line-2); }
.pp-keep-row { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px; align-items: start; padding: 14px 0; border-bottom: 1px solid var(--line-2); }
.pp-sec .pp-keep-row p { margin: 0; font-size: 15px; line-height: 1.6; }
.pp-chip { justify-self: start; padding: 5px 10px; border-radius: 8px; background: var(--wash-butter); border: 1px solid oklch(0.88 0.06 95); font-family: var(--f-mono); font-size: 12px; white-space: nowrap; }

.pp-cta { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 12px; padding: clamp(28px, 4vw, 48px); border-radius: 24px; text-align: center; background: color-mix(in oklch, var(--wash-indigo) 70%, white); border: 1px solid oklch(0.87 0.05 275); }
.pp-cta h2 { margin: 0; font-family: var(--f-serif); font-weight: 400; font-size: clamp(26px, 3vw, 34px); letter-spacing: -.02em; }
.pp-cta p { margin: 0; max-width: 46ch; font-size: 16px; line-height: 1.6; color: var(--muted); }
.pp-cta-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 8px; }
.footer-col a[aria-current="page"] { color: var(--ink); }

/* Module pages (resume-formatting.html etc., written by scripts/build-modules.mjs):
   the privacy page's parts, plus the module's storyboard from the home page,
   steps, an FAQ and tiles for the other four modules. */
.vs-more { align-self: flex-start; margin-top: 2px; font-size: 15px; font-weight: 500; color: var(--ink); text-decoration: underline; text-decoration-color: color-mix(in oklch, var(--c, var(--acc)) 60%, transparent); text-decoration-thickness: 2px; text-underline-offset: 4px; transition: text-decoration-color .25s; }
.vs-more:hover { text-decoration-color: var(--c, var(--acc)); }
.js .pp-hero { visibility: hidden; } /* until js/page.js runs the intro (js/boot.js) */
.mp-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 10px; }
.mp-demo { max-width: var(--container); margin: clamp(56px, 9vh, 96px) auto 0; scroll-margin-top: 90px; }
.mp-demo .value-step { margin: 0; }
.mp-body { max-width: 860px; margin: clamp(56px, 9vh, 96px) auto 0; display: flex; flex-direction: column; gap: 16px; }
.mp-steps { list-style: none; margin: 4px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 12px; }
.mp-steps li { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; border-radius: 16px; background: color-mix(in oklch, var(--t) 50%, white); border: 1px solid color-mix(in oklch, var(--t) 70%, var(--line)); }
.pp-sec .mp-steps li { margin: 0; font-size: 15px; line-height: 1.6; }
.mp-steps .kicker { font-size: 11px; }
.mp-steps b { font-family: var(--f-serif); font-weight: 400; font-size: 19px; color: var(--ink); }
.mp .faq { padding: 0; margin-top: clamp(64px, 10vh, 110px); }
.mp-more { max-width: var(--container); margin: clamp(56px, 9vh, 96px) auto clamp(40px, 6vh, 64px); display: flex; flex-direction: column; align-items: center; gap: 20px; }
.mp-more .mod-index { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.mp .pp-cta { max-width: 860px; margin: 0 auto; }
@media (max-width: 900px) { .mp-more .mod-index { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.mp-guide { display: flex; flex-direction: column; gap: 6px; padding: 22px 26px; border-radius: 22px; background: color-mix(in oklch, var(--wash-butter) 60%, white); border: 1px solid oklch(0.88 0.06 95); color: var(--ink); transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out); }
.mp-guide:hover { transform: translateY(-3px); box-shadow: 0 26px 44px -32px rgba(33,30,27,.5); }
.mp-guide b { font-family: var(--f-serif); font-weight: 400; font-size: 22px; letter-spacing: -.01em; }
.mp-guide b::after { content: " →"; color: var(--acc); }
.mp-guide > span:last-child { font-size: 14.5px; line-height: 1.55; color: var(--muted); }

/* Guides (reference-check-questions.html etc.): the privacy page's rail and cards,
   with numbered questions and a ticked checklist */
.gd-qs { margin: 4px 0 14px; padding: 0; list-style: none; counter-reset: q; }
.pp-sec .gd-qs li { position: relative; counter-increment: q; margin: 0; padding: 10px 0 10px 44px; border-bottom: 1px solid var(--line-2); color: var(--ink); }
.gd-qs li:last-child { border-bottom: 0; }
.gd-qs li::before { content: counter(q); position: absolute; left: 0; top: 10px; display: inline-grid; place-items: center; min-width: 28px; height: 24px; border-radius: 999px; background: var(--wash-sage); font-family: var(--f-mono); font-size: 11.5px; color: var(--ink-3); }
.gd-type { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: #fff; border: 1px solid var(--line-2); font-family: var(--f-mono); font-size: 11px; color: var(--muted); vertical-align: 1px; white-space: nowrap; }
.pp-box .gd-qs { margin: 4px 0 0; }
.pp-box .gd-qs li { padding-left: 38px; font-size: 14.5px; line-height: 1.55; border-color: color-mix(in oklch, var(--t) 60%, var(--line-2)); }
.pp-box .gd-qs li::before { background: #fff; }
.gd-checks { margin: 4px 0 14px; padding: 0; list-style: none; }
.pp-sec .gd-checks li { position: relative; margin: 0 0 10px; padding-left: 34px; }
.gd-checks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 22px; height: 22px; box-sizing: border-box; border-radius: 50%; border: 1px solid oklch(0.87 0.05 275); background: var(--wash-indigo) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.6 2.6L12 5.5' fill='none' stroke='%231c1a17' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
/* Comparisons (xref-vs-referoo.html etc.): a sourced table, Koho's column tinted */
.cmp { max-width: var(--container); margin: clamp(56px, 9vh, 96px) auto 0; display: flex; flex-direction: column; gap: 18px; }
.cmp-scroll { overflow-x: auto; border-radius: 24px; border: 1px solid var(--line); background: #fff; }
.cmp-table { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.cmp-table th, .cmp-table td { padding: 16px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line-2); }
.cmp-table tbody tr:last-child > * { border-bottom: 0; }
.cmp-table thead th { font-family: var(--f-serif); font-weight: 400; font-size: 20px; letter-spacing: -.01em; background: var(--sand); }
.cmp-table tbody th { width: 17%; font-weight: 500; color: var(--ink); }
.cmp-table td { color: var(--ink-3); }
.cmp-table .cmp-us { background: var(--acc-wash); }
.cmp-table thead .cmp-us { background: var(--acc-soft); color: var(--acc); }
.cmp-note { margin: 0; font-size: 13px; line-height: 1.55; color: var(--muted-2); text-align: center; }
.cmp-sources { margin: 0; padding-left: 20px; }
.cp .mp-more { margin-bottom: clamp(40px, 6vh, 64px); }
.gd .pp-box > b { font-family: var(--f-serif); font-weight: 400; font-size: 19px; }
.gd .pp-cta { margin-top: 12px; }
.gd .mp-more { margin-top: clamp(64px, 10vh, 110px); margin-bottom: 0; }

/* Templates (terms-of-business-template.html etc.): the document, on a sheet, to copy or download */
.tpl { margin: 18px 0 6px; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: 0 30px 60px -48px rgba(33,30,27,.5); }
.tpl-bar { position: sticky; top: 64px; z-index: 2; border-radius: 21px 21px 0 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px 12px 20px; background: var(--sand); border-bottom: 1px solid var(--line-2); }
.tpl-name { font-family: var(--f-mono); font-size: 12px; color: var(--muted); }
.tpl-actions { display: flex; gap: 8px; flex-shrink: 0; }
.tpl-btn { display: inline-flex; align-items: center; padding: 8px 14px; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--ink); font: inherit; font-size: 13px; font-weight: 500; text-decoration: none; cursor: pointer; }
.tpl-btn:hover { border-color: var(--ink-3); }
.pp-sec a.tpl-btn { color: var(--ink); text-decoration: none; }
.tpl-btn--ink, .pp-sec a.tpl-btn--ink { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.tpl-btn--ink:hover { border-color: var(--ink); opacity: .9; }
.tpl-btn.is-done { background: var(--wash-sage); border-color: oklch(0.87 0.05 165); }
.tpl-body { padding: clamp(24px, 4vw, 44px); font-size: 15px; line-height: 1.6; color: var(--ink); }
.tpl-body p { margin: 0 0 12px; }
.tpl-title { font-family: var(--f-serif); font-size: 26px; letter-spacing: -.02em; line-height: 1.2; }
.tpl-body .tpl-h { margin: 26px 0 10px; font-weight: 600; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.tpl-ol, .tpl-ul { margin: 0 0 12px; padding-left: 24px; }
.tpl-ol li, .tpl-ul li { margin-bottom: 8px; padding-left: 4px; }
.tpl-fill { padding: 0 3px; border-radius: 4px; background: var(--wash-butter); color: inherit; }
.tpl-body .tpl-field { display: grid; grid-template-columns: minmax(140px, 34%) 1fr; gap: 12px; margin: 0; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.tpl-field > span:first-child { font-weight: 500; }
.tpl-field i { font-style: normal; color: var(--muted); font-size: 13.5px; }
.tpl-opts { display: flex; flex-wrap: wrap; gap: 6px 16px; color: var(--ink-3); }
.tpl-sign { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 28px; margin-top: 28px; }
.tpl-sign p { margin: 0; font-size: 13px; color: var(--muted); }
.tpl-sign span { display: block; height: 36px; margin-bottom: 6px; border-bottom: 1px solid var(--ink-3); }
@media (max-width: 600px) {
  .tpl-bar { flex-direction: column; align-items: flex-start; }
  .tpl-body .tpl-field { grid-template-columns: minmax(0, 1fr); gap: 2px; }
}

/* Placement fee calculator: inputs beside the results */
.fee-calc { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 18px; margin: 18px 0; }
.fc-inputs { display: flex; flex-direction: column; gap: 14px; padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--paper-2); }
.fc-field { display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 0; border: 0; min-width: 0; }
.fc-field > span:first-child, .fc-field legend { padding: 0; font-size: 14px; font-weight: 500; color: var(--ink); }
.fc-field small { font-size: 12.5px; color: var(--muted); }
.fc-in { display: flex; align-items: center; gap: 8px; padding: 0 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.fc-in:focus-within { border-color: var(--ink-3); box-shadow: 0 0 0 3px var(--wash-indigo); }
.fc-in i { font-style: normal; font-family: var(--f-mono); font-size: 13px; color: var(--muted); }
.fc-field:has(input:disabled) { opacity: .45; }
.fc-in input { flex: 1; min-width: 0; padding: 11px 0; border: 0; background: none; font: inherit; font-size: 17px; color: var(--ink); outline: none; }
.fc-radio { display: inline-flex; align-items: center; gap: 8px; margin: 6px 18px 0 0; font-size: 15px; color: var(--ink-3); cursor: pointer; }
.fc-radio input { accent-color: var(--ink); width: 16px; height: 16px; }
.fc-out { align-self: start; position: sticky; top: 90px; margin: 0; padding: 8px 22px; border-radius: 18px; background: var(--wash-butter); border: 1px solid color-mix(in oklch, var(--wash-butter) 70%, var(--line)); }
.fc-out div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.fc-out div:last-child { border-bottom: 0; }
.fc-out dt { font-size: 14.5px; color: var(--ink-3); }
.fc-out dd { margin: 0; font-family: var(--f-mono); font-size: 17px; color: var(--ink); font-variant-numeric: tabular-nums; }
.fc-out .fc-total dt { font-weight: 500; color: var(--ink); }
.fc-out .fc-total dd { font-family: var(--f-serif); font-size: 30px; letter-spacing: -.02em; }
@media (max-width: 700px) {
  .fee-calc { grid-template-columns: minmax(0, 1fr); }
  .fc-out { position: static; }
}

@media (max-width: 900px) {
  .pp-body { grid-template-columns: minmax(0, 1fr); }
  .pp-toc { position: static; padding: 18px 20px; background: #fff; border: 1px solid var(--line); border-radius: 18px; }
  .pp-toc ol { columns: 2; column-gap: 16px; border-left: 0; }
  .pp-toc a { padding: 5px 0; border-left: 0; }
}
@media (max-width: 600px) {
  .pp-toc ol { columns: 1; }
  .pp-keep-row { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .pp-callout { flex-direction: column; gap: 10px; }
}

/* =========================================================
   Cards and the one-desk band: warm 30px cards for How it works and
   reviews, and a torn indigo sheet where five tools thread into one
   record before the audit.
   ========================================================= */
:root {
  --card: #FFFCF7;
  --band: oklch(0.93 0.035 278);
  /* each module's own colour, stronger than its wash */
  --mod-indigo: oklch(0.56 0.16 280); --mod-clay: oklch(0.64 0.16 30); --mod-sage: oklch(0.6 0.11 165);
  --mod-butter: oklch(0.72 0.14 75); --mod-slate: oklch(0.58 0.12 245);
}

/* How it works — one bento row per module, sides alternating */
.value-steps { width: 100%; max-width: var(--container); display: flex; flex-direction: column; gap: 16px; }
.value-step { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 16px; scroll-margin-top: 90px; }
.value-step:nth-child(even) { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.value-step:nth-child(even) .bento-text { order: 2; }
.bento-text { min-width: 0; display: flex; flex-direction: column; gap: 14px; padding: clamp(28px, 3.4vw, 44px); background: var(--card); border: 1px solid var(--line-2); border-radius: 30px; }
.bento-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: auto; padding-bottom: clamp(20px, 4vh, 48px); }
.bento-num { font-family: var(--f-serif); font-weight: 500; font-size: clamp(52px, 5.6vw, 76px); line-height: .85; letter-spacing: -0.05em; color: var(--c); font-variant-numeric: tabular-nums; }
.bento-text .vs-doodle { margin: 0; }
.vs-mod { padding: 5px 14px; font-size: 14px; }
.value-step h3 { font-size: clamp(26px, 2.6vw, 36px); }
.value-step .vs-media { display: flex; align-items: center; min-width: 0; margin: 0; padding: clamp(16px, 2.4vw, 32px) clamp(12px, 2vw, 28px); border-radius: 30px; background: color-mix(in oklch, var(--t) 75%, var(--card)); border: 1px solid color-mix(in oklch, var(--t) 60%, var(--line-2)); }
.value-step .vs-media .sc { height: auto; }
@media (max-width: 900px) {
  .value-step, .value-step:nth-child(even) { grid-template-columns: minmax(0, 1fr); }
  .value-step:nth-child(even) .bento-text { order: 0; }
  .bento-top { padding-bottom: 8px; }
  .value-step .vs-media { padding: 16px 12px; border-radius: 24px; }
  .bento-text { border-radius: 24px; }
}

/* One desk — a torn sheet of Koho indigo, dot-gridded like a notebook page,
   carrying the five-threads card, the why-switch copy and the audit */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.band { --od-w: min(1240px, 100cqw - 2 * var(--gutter)); --pt: clamp(32px, 5vh, 56px); position: relative; isolation: isolate; container-type: inline-size; padding: var(--pt) var(--gutter) 32px; background-color: var(--band); background-image: radial-gradient(circle, color-mix(in oklch, var(--acc) 20%, transparent) 1px, transparent 1.6px); background-size: 22px 22px; background-position: center top; }
/* paper runs down to the middle of the threads card and tears there */
.band-paper { position: absolute; z-index: -1; left: 0; right: 0; top: 0; height: calc(var(--pt) + var(--od-w) * .22); background: var(--paper); }
.band-tear { position: absolute; left: 0; top: calc(100% - 1px); width: 100%; height: clamp(14px, 2vw, 26px); fill: var(--paper); transform: scaleY(-1); }
/* the app's doodles, faint, in the sheet's margins */
.band-doodles { position: absolute; z-index: -1; inset: 0; pointer-events: none; }
.band-dd { position: absolute; opacity: .55; }
.band-dd .dd { height: auto; }
.band-dd--a { left: 3.5%; top: 31%; transform: rotate(-10deg); }
.band-dd--b { right: 3.5%; top: 27%; transform: rotate(8deg); }
.band-dd--c { left: 5%; top: 52%; transform: rotate(6deg); }
.band-dd--d { right: 4%; top: 49%; transform: rotate(-6deg); }
.band-dd--e { left: 3%; top: 76%; transform: rotate(-4deg); }
.band-dd--f { right: 1.2%; top: 74%; transform: rotate(4deg); }
@media (max-width: 1180px) { .band-dd--a, .band-dd--b, .band-dd--c, .band-dd--d { display: none; } }
@media (max-width: 700px) { .band-doodles { display: none; } }

.od { position: relative; max-width: 1240px; margin: 0 auto; aspect-ratio: 1000 / 440; border-radius: 28px; overflow: hidden; background: var(--ink); box-shadow: 0 40px 80px -50px rgba(33,30,27,.65); }
.od-svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.od-title { font-family: var(--f-serif); font-weight: 400; letter-spacing: -0.03em; fill: var(--paper); }
.od-one { font-style: italic; font-weight: 300; fill: oklch(0.82 0.07 280); }
.od-chip rect { fill: #fff; }
.od-chip-t { font-family: var(--f-sans); font-weight: 500; fill: var(--ink); }
.od-seal circle { fill: var(--paper); }
.od-seal text { font-family: var(--f-logo); font-weight: 700; letter-spacing: -0.04em; fill: var(--ink); }
.od-card > rect { fill: var(--card); }
.od-name { font-family: var(--f-serif); fill: var(--ink); letter-spacing: -0.01em; }
.od-sub, .od-v { font-family: var(--f-sans); fill: var(--muted); }
.od-k { font-family: var(--f-sans); font-weight: 500; fill: var(--ink-3); }
.od-row line { stroke: var(--line-2); }
.od-pill rect { fill: var(--wash-indigo); stroke: oklch(0.85 0.05 275); }
.od-pill text { font-family: var(--f-sans); font-weight: 500; fill: var(--acc); }
@media (max-width: 640px) { .od { aspect-ratio: 360 / 660; border-radius: 24px; } .band-paper { height: calc(var(--pt) + var(--od-w) * .9167); } }

/* Why agencies switch + the audit facts: one block, copy beside the four cards */
.switch-sec { padding: clamp(56px, 9vh, 104px) var(--gutter) 0; }
.switch { max-width: var(--container); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.switch-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.switch-h { margin: 0; font-family: var(--f-serif); font-weight: 400; font-size: clamp(28px, 3.2vw, 42px); line-height: 1.08; letter-spacing: -0.03em; text-wrap: balance; }
.switch-copy p { margin: 0; font-size: 16.5px; line-height: 1.65; color: var(--ink-3); text-wrap: pretty; }
.stack-mods { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.stack-mods span { padding: 5px 12px; border-radius: 999px; background: #fff; border: 1px solid oklch(0.87 0.04 278); font-size: 13px; color: var(--ink-3); }
.switch .trust-grid { max-width: none; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; background: none; border: 0; border-radius: 0; overflow: visible; }
.switch .trust-item { background: var(--card); border: 1px solid var(--line-2); border-radius: 24px; }
.switch .trust-item:hover { background: #fff; }
@media (max-width: 900px) { .switch { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .switch .trust-grid { grid-template-columns: minmax(0, 1fr); } }

/* Reviews — one agency, told in depth: a looping clip, their words, two numbers */
.reviews { display: flex; flex-direction: column; align-items: center; gap: clamp(36px, 6vh, 56px); padding: clamp(48px, 9vh, 110px) var(--gutter) clamp(24px, 4vh, 48px); }
.reviews[data-draft] .section-head::after { content: "Draft · placeholders until the real words and clip are in"; padding: 5px 12px; border-radius: 999px; background: var(--wash-butter); border: 1px dashed oklch(0.75 0.1 80); font-size: 12px; color: var(--ink-3); }
.rv-grid { width: 100%; max-width: var(--container); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(250px, auto); gap: 16px; }
.rv-card { position: relative; margin: 0; overflow: hidden; display: flex; flex-direction: column; padding: clamp(24px, 3vw, 36px); border-radius: 30px; background: var(--card); border: 1px solid var(--line-2); }
.rv-agency { font-family: var(--f-serif); font-size: 19px; letter-spacing: -0.01em; color: var(--ink); }
.rv-video { grid-column: 1 / 3; grid-row: 1 / 3; min-height: 520px; justify-content: flex-end; background: linear-gradient(165deg, oklch(0.8 0.05 60), oklch(0.5 0.06 35)); border: 0; color: #fff; }
.rv-clip { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rv-video figcaption { position: relative; display: flex; flex-direction: column; gap: 4px; padding-left: 60px; }
.rv-video .rv-agency { color: #fff; }
.rv-hint { font-size: 13px; opacity: .8; }
.rv-play { position: absolute; left: clamp(24px, 3vw, 36px); bottom: clamp(24px, 3vw, 36px); z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #fff; }
.rv-play svg { width: 16px; height: 16px; fill: var(--ink); margin-left: 2px; }
.rv-quote { grid-column: 3 / 5; justify-content: flex-end; gap: 14px; min-height: 300px; }
.rv-quote .rv-agency { position: absolute; top: clamp(24px, 3vw, 36px); left: clamp(24px, 3vw, 36px); }
.rv-photo { position: absolute; top: -40px; right: -40px; width: 230px; height: 230px; border-radius: 50%; background: radial-gradient(circle at 40% 35%, var(--wash-clay), oklch(0.82 0.06 40)); }
.rv-quote blockquote { position: relative; margin: 0; max-width: 24ch; font-family: var(--f-serif); font-size: clamp(22px, 2.2vw, 28px); line-height: 1.2; letter-spacing: -0.015em; }
.rv-quote figcaption { font-size: 14px; color: var(--muted); }
.rv-quote figcaption b { font-weight: 500; color: var(--ink); }
.rv-stat { justify-content: space-between; align-items: flex-start; background: color-mix(in oklch, var(--t) 70%, var(--card)); }
.rv-stat b { align-self: flex-end; margin-top: auto; white-space: nowrap; font-family: var(--f-serif); font-weight: 400; font-size: clamp(40px, 4.4vw, 60px); line-height: 1; letter-spacing: -0.03em; }
.rv-stat > span:last-child { align-self: flex-end; margin-top: 6px; font-size: 13.5px; color: var(--muted); text-align: right; }
@media (max-width: 900px) {
  .rv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: auto; }
  .rv-video { grid-column: 1 / -1; grid-row: auto; min-height: 0; aspect-ratio: 4 / 5; max-height: 80vh; }
  .rv-quote { grid-column: 1 / -1; }
  .rv-stat { min-height: 200px; }
}
@media (max-width: 520px) { .rv-photo { width: 150px; height: 150px; } .rv-quote { padding-top: 120px; } }

.reviews[hidden] { display: none; }

/* Brand kit — a working miniature of Settings › Brand kit. Colour, typeface
   and shape restyle the sample documents live (js/brand-kit.js); a demo
   cursor changes them until the visitor takes over. */
@property --bk { syntax: '<color>'; inherits: true; initial-value: #48529D; }
.bk { --bk-font: var(--f-doc); --bk-r: 6px; max-width: 1040px; margin: clamp(64px, 10vh, 112px) auto 0; display: flex; flex-direction: column; gap: 28px; transition: --bk .6s ease; }
.bk-head { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.bk-h { margin: 0; font-family: var(--f-serif); font-weight: 400; font-size: clamp(30px, 3.6vw, 48px); line-height: 1.05; letter-spacing: -0.03em; text-wrap: balance; }
.bk-head p { margin: 0; max-width: 56ch; font-size: 16.5px; line-height: 1.6; color: var(--ink-3); }
.bk-app { position: relative; display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 16px; padding: 16px; border-radius: 28px; background: var(--card); border: 1px solid oklch(0.87 0.04 278); box-shadow: 0 40px 80px -50px rgba(33,30,27,.45); }

.bk-panel { display: flex; flex-direction: column; gap: 22px; padding: 22px; border-radius: 18px; background: #fff; border: 1px solid var(--line-2); }
.bk-top { display: flex; align-items: baseline; justify-content: space-between; padding-bottom: 14px; border-bottom: 1px solid var(--line-2); }
.bk-top b { font-family: var(--f-serif); font-weight: 400; font-size: 20px; }
.bk-ver { font-size: 12px; color: var(--muted-2); font-variant-numeric: tabular-nums; }
.bk-field { display: flex; flex-direction: column; gap: 10px; }
.bk-label { font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); }
.bk-swatches { display: flex; gap: 8px; }
.bk-swatches button { width: 34px; height: 34px; padding: 0; border-radius: 50%; border: 3px solid #fff; background: var(--s); box-shadow: 0 0 0 1px var(--line); cursor: pointer; transition: box-shadow .25s, transform .2s var(--ease-spring); }
.bk-swatches button:hover { transform: scale(1.08); }
.bk-swatches button[aria-checked="true"] { box-shadow: 0 0 0 2px var(--ink); }
.bk-aa { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--ok); }
.bk-aa svg, .bk-saved svg { width: 15px; height: 15px; flex: none; }
.bk-seg { display: grid; grid-template-columns: repeat(3, 1fr); padding: 3px; border-radius: 12px; background: var(--paper); border: 1px solid var(--line-2); }
.bk-seg button { padding: 8px 4px; border: 0; border-radius: 9px; background: none; font: inherit; font-size: 13px; color: var(--muted); cursor: pointer; transition: background .25s, color .25s, box-shadow .25s; }
.bk-seg button:hover { color: var(--ink); }
.bk-seg button[aria-checked="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(33,30,27,.18); }
.bk-seg [data-font="spectral"] { font-family: 'Spectral', serif; font-size: 14px; }
.bk-seg [data-font="lora"] { font-family: 'Lora', serif; }
.bk-seg [data-font="dm"] { font-family: 'DM Sans', sans-serif; }
.bk-swatches button:focus-visible, .bk-seg button:focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; }
.bk-saved { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; margin-top: auto; padding: 7px 12px 7px 10px; border-radius: 999px; background: var(--wash-sage); border: 1px solid oklch(0.87 0.05 165); font-size: 12.5px; font-weight: 500; }
.bk-saved svg { color: var(--ok); }
.bk-saved.is-new { animation: kPop .5s var(--ease-out); }
.bk-note { margin-top: -12px; font-size: 12px; color: var(--muted-2); }

/* the sample documents, all drawn from --bk, --bk-font and --bk-r */
.bk-preview { container-type: inline-size; display: grid; grid-template-columns: 1.15fr 1fr; grid-template-rows: auto 1fr; gap: 14px; padding: 18px; border-radius: 18px; background: color-mix(in oklch, var(--bk) 9%, var(--paper)); transition: background .6s ease; font-size: clamp(10px, 1.9cqw, 14px); }
.bkp { display: flex; flex-direction: column; gap: .7em; padding: 0 1.3em 1.4em; overflow: hidden; background: #fff; border: 1px solid var(--line-2); border-radius: var(--bk-r); box-shadow: 0 1.4em 2.6em -1.8em rgba(33,30,27,.45); font-family: var(--bk-font); color: var(--ink); transition: border-radius .4s var(--ease-out); }
.bkp-profile { grid-row: 1 / 3; }
.bkp-lh { display: flex; align-items: flex-end; justify-content: space-between; gap: 1em; margin: 0 -1.3em .3em; padding: 1.1em 1.3em .7em; border-bottom: .2em solid var(--bk); }
.bkp-logo { font-family: var(--f-logo); font-weight: 600; font-size: 1.15em; letter-spacing: -0.03em; color: var(--bk); }
.bkp-tag { font-family: var(--f-sans); font-size: .62em; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); }
.bkp-name { font-size: 1.9em; line-height: 1; }
.bkp-head { margin-top: -.3em; font-size: .9em; font-style: italic; color: var(--muted); }
.bkp-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: .4em; }
.bkp-facts span { display: flex; flex-direction: column; gap: .2em; padding: .55em .7em; border-radius: calc(var(--bk-r) * .6); background: color-mix(in oklch, var(--bk) 8%, white); font-size: .78em; transition: border-radius .4s; }
.bkp-facts i { font-style: normal; font-family: var(--f-sans); font-size: .78em; color: var(--muted-2); }
.bkp-h { margin-top: .4em; font-size: 1em; color: var(--bk); }
.bkp-row { display: flex; justify-content: space-between; gap: 1em; font-size: .82em; }
.bkp-row span:last-child { color: var(--muted-2); }
.bkp-lines { display: flex; flex-direction: column; gap: .5em; }
.bkp-lines i { display: block; height: .3em; border-radius: 1em; background: var(--line-3); }
.bkp-tags { display: flex; flex-wrap: wrap; gap: .35em; }
.bkp-tags i { font-style: normal; font-size: .72em; padding: .3em .8em; border-radius: calc(var(--bk-r) * 2); background: color-mix(in oklch, var(--bk) 12%, white); color: color-mix(in oklch, var(--bk) 80%, var(--ink)); transition: border-radius .4s; }
.bkp-title { font-size: 1.35em; line-height: 1.1; }
.bkp-for { margin-top: -.4em; font-size: .78em; color: var(--muted); }
.bkp-btn { display: grid; place-items: center; height: 2.6em; margin-top: auto; border-radius: var(--bk-r); background: var(--bk); color: #fff; font-family: var(--f-sans); font-size: .78em; font-weight: 500; transition: border-radius .4s var(--ease-out); }
.bkp-mail { padding-top: 1.2em; }
.bkp-from { display: flex; align-items: center; gap: .7em; }
.bkp-from b { display: block; font-weight: 500; font-size: .9em; }
.bkp-from i { display: block; font-style: normal; font-size: .74em; color: var(--muted); }
.bkp-av { display: grid; place-items: center; flex: none; width: 2.2em; height: 2.2em; border-radius: 50%; background: var(--bk); color: #fff; font-family: var(--f-sans); font-size: .8em; }

.bk-cursor { position: absolute; left: 0; top: 0; z-index: 3; width: 22px; height: 22px; pointer-events: none; opacity: 0; transition: transform .9s cubic-bezier(.65, 0, .35, 1), opacity .4s; }
.bk-cursor svg { display: block; width: 100%; height: 100%; filter: drop-shadow(0 2px 3px rgba(0,0,0,.3)); }
.bk-cursor.is-on { opacity: 1; }
.bk-cursor.is-click svg { animation: kPress .3s ease; }

@media (max-width: 860px) {
  .bk-app { grid-template-columns: minmax(0, 1fr); padding: 12px; border-radius: 22px; }
  .bk-panel { gap: 18px; padding: 18px; }
  .bk-preview { padding: 12px; gap: 10px; font-size: clamp(8px, 2.5cqw, 13px); }
}
@media (prefers-reduced-motion: reduce) { .bk, .bk-preview, .bkp, .bkp-btn { transition: none; } .bk-cursor { display: none; } }

/* Brand kit — three ways in, each a small looping picture. Loops run only
   while the row is on screen (.is-live, js/brand-kit.js). */
.bk-ways { display: flex; flex-direction: column; gap: 18px; margin-top: 12px; }
.bk-ways-h { margin: 12px 0 0; text-align: center; font-family: var(--f-serif); font-weight: 400; font-size: clamp(24px, 2.6vw, 32px); letter-spacing: -0.02em; }
.bw-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.bw { display: flex; flex-direction: column; gap: 8px; padding: 16px 16px 24px; border-radius: 24px; background: var(--card); border: 1px solid oklch(0.87 0.04 278); }
.bw h5 { margin: 10px 8px 0; font-family: var(--f-serif); font-weight: 400; font-size: 21px; letter-spacing: -0.015em; }
.bw p { margin: 0 8px; font-size: 14.5px; line-height: 1.55; color: var(--muted); }
.bw-ill { position: relative; height: 170px; overflow: hidden; border-radius: 16px; background: color-mix(in oklch, var(--wash-indigo) 70%, white); }
.bw-ill * { animation-play-state: paused; }
.is-live .bw-ill * { animation-play-state: running; }
.bw-logo { font-family: var(--f-logo); font-weight: 600; letter-spacing: -0.03em; color: #48529D; }

/* 1 · guidelines: the page is read, and its parts come out */
.bw-page { position: absolute; left: 14%; top: 22px; width: 92px; height: 124px; display: flex; flex-direction: column; gap: 9px; padding: 30px 12px 0; background: #fff; border-radius: 4px; box-shadow: 0 14px 26px -16px rgba(33,30,27,.45); overflow: hidden; }
.bw-pdf { position: absolute; left: 10px; top: 9px; padding: 2px 5px; border-radius: 3px; background: #c4362b; color: #fff; font-style: normal; font-size: 9px; font-weight: 700; }
.bw-l { display: block; height: 4px; border-radius: 4px; background: var(--line-3); }
.bw-l.s { width: 70%; } .bw-l.m { width: 85%; }
.bw-scan { position: absolute; left: 0; right: 0; top: 0; height: 18px; background: linear-gradient(to bottom, transparent, oklch(0.75 0.1 280 / .45), transparent); animation: bwScan 4.8s ease-in-out infinite; }
@keyframes bwScan { 0% { translate: 0 -20px; opacity: 0; } 8% { opacity: 1; } 35% { translate: 0 124px; opacity: 1; } 40%, 100% { translate: 0 124px; opacity: 0; } }
.bw-out { position: absolute; left: calc(14% + 112px); top: 30px; display: flex; flex-direction: column; gap: 9px; }
.bw-chip { display: inline-flex; align-items: center; gap: 7px; align-self: flex-start; padding: 6px 11px 6px 7px; border-radius: 999px; background: #fff; font-size: 12px; color: var(--ink-3); white-space: nowrap; box-shadow: 0 8px 16px -12px rgba(33,30,27,.5); opacity: 0; animation: bwOut 4.8s var(--ease-out) infinite; }
.bw-chip b { font-weight: 400; }
.bw-chip.o2 b { font-family: var(--f-doc); font-size: 16px; line-height: 1; color: #48529D; }
.bw-chip.o2 { animation-delay: .25s; } .bw-chip.o3 { animation-delay: .5s; }
.bw-dot { width: 16px; height: 16px; border-radius: 50%; background: #48529D; }
@keyframes bwOut { 0%, 34% { opacity: 0; translate: -18px 0; } 44%, 86% { opacity: 1; translate: 0 0; } 96%, 100% { opacity: 0; translate: 0 0; } }

/* 2 · logo: it drops in, and its colours are picked up */
.bw-drop { position: absolute; left: 50%; top: 22px; width: 150px; height: 84px; margin-left: -75px; display: grid; place-items: center; border: 2px dashed oklch(0.8 0.05 278); border-radius: 12px; }
.bw-file { display: grid; place-items: center; width: 96px; height: 50px; border-radius: 8px; background: #fff; font-size: 22px; box-shadow: 0 10px 20px -14px rgba(33,30,27,.5); animation: bwDrop 4.8s var(--ease-out) infinite; }
@keyframes bwDrop { 0% { opacity: 0; translate: 40px -60px; rotate: 8deg; } 22%, 86% { opacity: 1; translate: 0 0; rotate: 0deg; } 96%, 100% { opacity: 0; } }
.bw-sw { position: absolute; left: 50%; top: 118px; display: flex; gap: 8px; translate: -50% 0; }
.bw-sw i { width: 20px; height: 20px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line); opacity: 0; animation: bwPop 4.8s var(--ease-spring) infinite; }
.bw-sw i:nth-child(1) { background: #48529D; animation-delay: 1.3s; }
.bw-sw i:nth-child(2) { background: #211E1B; animation-delay: 1.45s; }
.bw-sw i:nth-child(3) { background: #DCDDF3; animation-delay: 1.6s; }
@keyframes bwPop { 0% { opacity: 0; scale: .4; } 8%, 60% { opacity: 1; scale: 1; } 66%, 100% { opacity: 0; scale: 1; } }
.bw-url { position: absolute; left: 0; right: 0; bottom: 10px; text-align: center; font-size: 11.5px; color: var(--muted-2); }

/* 3 · make: one name, three feels */
.bw-feels { position: absolute; left: 0; right: 0; top: 22px; display: flex; justify-content: center; gap: 6px; }
.bw-feels i { padding: 5px 11px; border-radius: 999px; background: #fff; border: 1px solid var(--line-2); font-style: normal; font-size: 12px; color: var(--muted); animation: bwFeel 6s step-end infinite; }
.bw-feels .f2 { animation-delay: 2s; } .bw-feels .f3 { animation-delay: 4s; }
@keyframes bwFeel { 0% { background: var(--ink); color: #fff; border-color: var(--ink); } 33.333%, 100% { background: #fff; color: var(--muted); border-color: var(--line-2); } }
.bw-marks { position: absolute; left: 0; right: 0; top: 76px; height: 60px; }
.bw-marks b { position: absolute; inset: 0; display: grid; place-items: center; font-weight: 400; font-size: 38px; letter-spacing: -0.02em; opacity: 0; animation: bwMark 6s ease infinite; }
.bw-marks .m1 { font-family: 'Spectral', serif; color: #48529D; }
.bw-marks .m2 { font-family: 'Lora', serif; font-style: italic; color: #A54A28; animation-delay: 2s; }
.bw-marks .m3 { font-family: 'DM Sans', sans-serif; font-weight: 500; letter-spacing: -0.05em; color: #237356; animation-delay: 4s; }
@keyframes bwMark { 0% { opacity: 0; translate: 0 8px; } 6%, 30% { opacity: 1; translate: 0 0; } 36%, 100% { opacity: 0; translate: 0 -8px; } }
/* before the first loop, show each picture's finished state */
.bk-ways:not(.is-live) .bw-chip, .bk-ways:not(.is-live) .bw-sw i { opacity: 1; translate: 0 0; scale: 1; }
.bk-ways:not(.is-live) .bw-marks .m1 { opacity: 1; translate: 0 0; }
.bk-ways:not(.is-live) .bw-feels .f1 { background: var(--ink); color: #fff; border-color: var(--ink); }

@media (max-width: 900px) { .bw-grid { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { .bw-ill * { animation: none !important; } }

/* Where the indigo ends and starts again: the band closes on a paper hill
   halfway down the last cards, and the footer opens under a paper bowl. Same
   sheet, same dots; in the footer the doodles draw in and drift. */
.band-hill { position: absolute; z-index: -1; left: -15%; right: -15%; bottom: 0; height: clamp(170px, 15vw, 215px); background: var(--paper); border-radius: 50% 50% 0 0 / 100% 100% 0 0; }
@media (max-width: 900px) { .band-hill { height: 190px; } }
.footer { --bowl: clamp(110px, 17vw, 270px); position: relative; isolation: isolate; background-color: var(--band); background-image: radial-gradient(circle, color-mix(in oklch, var(--acc) 20%, transparent) 1px, transparent 1.6px); background-size: 22px 22px; }
.footer::before { content: ""; position: absolute; z-index: -1; left: -15%; right: -15%; top: -1px; height: var(--bowl); background: var(--paper); border-radius: 0 0 50% 50% / 0 0 100% 100%; }
.footer-doodles { position: absolute; z-index: -1; inset: 0; pointer-events: none; }
.ft-dd { position: absolute; opacity: .6; --r: 0deg; rotate: var(--r); animation: ftFloat 7s ease-in-out infinite alternate; }
.ft-dd--a { left: 3%; top: 24%; --r: -10deg; }
.ft-dd--b { right: 3%; top: 22%; --r: 8deg; animation-duration: 8.5s; animation-delay: -2s; }
.ft-dd--c { left: 6%; top: 54%; --r: 5deg; animation-duration: 9.5s; animation-delay: -4s; }
.ft-dd--d { right: 6%; top: 50%; --r: -6deg; animation-duration: 7.8s; animation-delay: -1s; }
.ft-dd--e { left: 2%; top: 80%; --r: 4deg; animation-duration: 10s; animation-delay: -6s; }
.ft-dd--f { right: 2%; top: 78%; --r: -4deg; animation-duration: 8s; animation-delay: -3s; }
@keyframes ftFloat { from { translate: 0 0; rotate: var(--r); } to { translate: 6px -16px; rotate: calc(var(--r) + 5deg); } }
@media (max-width: 1200px) { .ft-dd--e, .ft-dd--f { display: none; } }
@media (max-width: 700px) { .ft-dd--c, .ft-dd--d { display: none; } .ft-dd--a { top: 12%; } .ft-dd--b { top: 10%; } }
@media (prefers-reduced-motion: reduce) { .ft-dd { animation: none; } }

/* Floating CTA — the header's Request access, become a doodle at the side of
   the page (js/site-chrome.js initFloatCta); the hover flood is the usual one. */
.fcta { position: fixed; z-index: 60; right: clamp(10px, 1.4vw, 22px); top: 50%; margin-top: -48px; flex-direction: column; gap: 2px; padding: 8px 15px 12px; border-radius: 18px; background: var(--paper-2); color: var(--ink); font-size: 12.5px; visibility: hidden; opacity: 0; rotate: -4deg; box-shadow: 0 20px 36px -24px rgba(33,30,27,.6); }
.fcta.is-on { visibility: visible; opacity: 1; animation: fctaBob 3.6s ease-in-out infinite alternate; }
@keyframes fctaBob { to { translate: 0 -7px; } }
.fcta-line { position: absolute; inset: 3px; width: calc(100% - 6px); height: calc(100% - 6px); overflow: visible; pointer-events: none; }
.fcta-line path { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 0; }
.fcta-plane { display: block; height: 34px; }
.fcta-plane .dd { width: 54px; height: auto; }
.fcta-plane .dd { display: block; }
.fcta .btn-label { position: relative; }
@media (max-width: 700px) {
  .fcta { top: auto; bottom: 16px; margin-top: 0; right: 16px; flex-direction: row; gap: 6px; padding: 8px 16px 8px 8px; rotate: -2deg; }
  .fcta-plane { height: auto; }
  .fcta-plane .dd { width: 42px; height: auto; }
}
@media (prefers-reduced-motion: reduce) { .fcta.is-on { animation: none; } }

/* How it works index: one tile per module, a contents list and a summary in
   one. The numeral wears the module's colour, as on its card; hovering lifts
   the tile and redraws its doodle. A swipeable row on phones. */
.mod-index { width: 100%; max-width: var(--container); margin-top: 8px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; text-align: left; }
.mod-tile { display: flex; flex-direction: column; gap: 4px; padding: 16px 16px 18px; border-radius: 20px; background: var(--card); border: 1px solid var(--line-2); color: var(--ink); transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), border-color .35s; }
.mod-tile:hover { transform: translateY(-3px); border-color: color-mix(in oklch, var(--t) 60%, var(--line)); box-shadow: 0 22px 36px -28px rgba(33,30,27,.5); }
.mod-tile:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; }
.mod-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 10px; }
.mod-num { font-family: var(--f-serif); font-weight: 500; font-size: 34px; line-height: .9; letter-spacing: -0.04em; color: var(--c); font-variant-numeric: tabular-nums; }
.mod-dd { height: 40px; opacity: .85; }
.mod-tile b { font-family: var(--f-serif); font-weight: 400; font-size: 18px; line-height: 1.2; letter-spacing: -0.01em; }
.mod-out { font-size: 13.5px; line-height: 1.4; color: var(--muted); }
@keyframes koho-redraw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.mod-tile:hover .dd-mark { animation: koho-redraw .7s cubic-bezier(.22, 1, .36, 1) both; }
.value-step > .value-note { grid-column: 1 / -1; margin: 2px 0 0; text-align: center; font-size: 13px; color: var(--muted-2); }
@media (max-width: 900px) {
  .mod-index { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); padding: 4px var(--gutter) 10px; margin: 8px calc(-1 * var(--gutter)) 0; width: calc(100% + 2 * var(--gutter)); scrollbar-width: none; }
  .mod-index::-webkit-scrollbar { display: none; }
  .mod-tile { flex: 0 0 min(64vw, 230px); scroll-snap-align: start; }
}
@media (prefers-reduced-motion: reduce) { .mod-tile:hover .dd-mark { animation: none; } }
/* the heading block keeps to the page width, so the swipeable index can't stretch it */
.value > .section-head { width: 100%; max-width: var(--container); }

