/* Samurai Clarity, version 3: "The analyzer, in the open".
 *
 * Version 1 (dark, katana motion) read as AI. Version 2 (paper and a red pen)
 * still read as AI and hid the product: it looked like paper, not software.
 * Version 3 puts the real call analysis screen at the centre, recreated from
 * the app's own code, and lets the coach's red pen mark only what matters on
 * it. Every section is its own band of colour, so the page reads as chapters.
 *
 * Motion, still three verbs: TYPE (a call arrives), MARK (the analyzer grades
 * it and the pen marks the slip), STAMP (a win is sealed).
 *
 * Frozen earlier versions: versions/v1-kachi-iro/, versions/v2-red-pen/.
 */

/* Fonts, served from our own files (assets/fonts, SIL Open Font License),
 * so the first paint never waits on a third party. Latin and Latin Extended
 * only; the brush face holds just the two characters of the dojo mark. */
@font-face {font-family: 'Archivo'; font-style: normal; font-weight: 400 800; font-stretch: 62% 100%; font-display: swap; src: url("/assets/fonts/archivo-latin-ext.woff2") format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face {font-family: 'Archivo'; font-style: normal; font-weight: 400 800; font-stretch: 62% 100%; font-display: swap; src: url("/assets/fonts/archivo-latin.woff2") format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face {font-family: 'Geist'; font-style: normal; font-weight: 400 700; font-display: swap; src: url("/assets/fonts/geist-latin-ext.woff2") format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face {font-family: 'Geist'; font-style: normal; font-weight: 400 700; font-display: swap; src: url("/assets/fonts/geist-latin.woff2") format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face {font-family: 'Yuji Syuku'; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/yuji-syuku-dojo.woff2") format('woff2'); unicode-range: U+5834, U+9053; }

:root {
  --ink: #141B2D;
  --ink-2: #4A5268;
  --ink-3: #5D6579;
  --night: #111A2E;
  --night-2: #1A2540;
  --night-line: #2A3654;
  --on-night: #EEF0F4;
  --on-night-2: #A9B1C4;
  --paper: #F4F3EF;
  --white: #FBFBFA;
  --mist: #E6E9F0;
  --line: #DADDE4;
  --line-2: #C3C8D3;
  --shu: #D2401F;        /* pen strokes, seals */
  --shu-ink: #B23219;    /* red words on light grounds, 5.2:1 */
  --shu-btn: #C03A1B;    /* buttons and the vermilion band, 5:1 under light text */
  --shu-btn-hi: #A8311A;
  --shu-edge: #862611;
  --on-shu: #FFF7F2;

  --display: "Archivo", "Arial Narrow", sans-serif;
  --body: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;

  --frame: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --lift: 0 1px 2px rgba(17, 26, 46, .08), 0 18px 40px -20px rgba(17, 26, 46, .35);
  --lift-dark: 0 30px 70px -30px rgba(0, 0, 0, .65), 0 2px 6px rgba(0, 0, 0, .25);
  --check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 6 9 17l-5-5' fill='none' stroke='%23D2401F' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 76px; overflow-x: clip; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font: 400 1.0625rem/1.55 var(--body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
::selection { background: rgba(210, 64, 31, .22); }
:focus-visible { outline: 2px solid var(--shu); outline-offset: 3px; border-radius: 3px; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.frame { max-width: var(--frame); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; }
.skip:focus { left: 16px; z-index: 100; background: var(--ink); color: var(--white); padding: 10px 14px; }

[data-audience="closer"] [data-for="team"],
[data-audience="team"] [data-for="closer"] { display: none !important; }

h1, h2, h3 {
  margin: 0;
  font-family: var(--display);
  font-stretch: 62%;
  font-weight: 800;
  line-height: .94;
  letter-spacing: -.004em;
  text-wrap: balance;
}
h2 { font-size: clamp(2.2rem, 4vw, 3.6rem); }
h3 { font-size: 1.5rem; line-height: 1.04; }
.lead { margin-top: 18px; max-width: 34ch; font-size: 1.2rem; line-height: 1.5; color: var(--ink-2); }

/* ---------- Bands: every section is its own chapter ---------- */

.band { position: relative; padding: clamp(88px, 11vw, 150px) 0; }
.band--night { background: var(--night); color: var(--on-night); }
.band--night .lead { color: var(--on-night-2); }
.band--white { background: var(--white); }
.band--paper { background: var(--paper); }
.band--mist { background: var(--mist); }
.band--shu { background: var(--shu-btn); color: var(--on-shu); }
.band--shu .lead { color: var(--on-shu); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  min-height: 44px;
  padding: .95em 1.35em;
  border: 0;
  border-radius: 6px;
  font: 600 1rem/1 var(--body);
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s, transform .12s, box-shadow .12s, color .15s;
  -webkit-tap-highlight-color: transparent;
}
.btn--shu { background: var(--shu-btn); color: var(--on-shu); box-shadow: 0 2px 0 var(--shu-edge); }
.btn--shu:hover { background: var(--shu-btn-hi); }
.btn--shu:active { transform: translateY(2px); box-shadow: 0 0 0 var(--shu-edge); }
.btn--light { background: var(--white); color: var(--ink); box-shadow: 0 2px 0 rgba(0, 0, 0, .25); }
.btn--light:hover { background: #fff; }
.btn--ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; }
.btn--ghost:hover { background: rgba(255, 255, 255, .08); }
.btn--sm { padding: .7em 1.05em; font-size: .92rem; }
.btn--lg { padding: 1.08em 1.6em; font-size: 1.06rem; }
.btn--block { width: 100%; }
.btn:disabled { opacity: .6; cursor: progress; }
.ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: 30px; }

/* ---------- The pen: only the slip and the money get circled ---------- */

.mk { position: absolute; left: 0; top: 0; overflow: visible; pointer-events: none; z-index: 3; }
.mk path {
  fill: none;
  stroke: var(--shu);
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1 1;
  stroke-dashoffset: 0;
  filter: url(#ink);
}
.mk--bold path { stroke-width: 3.2; }
.mk.is-armed path { stroke-dashoffset: 1; opacity: 0; }
.mk.is-drawn path {
  stroke-dashoffset: 0;
  opacity: 1;
  transition: stroke-dashoffset var(--dur, .7s) cubic-bezier(.45, .05, .35, 1) var(--delay, 0s), opacity 0s linear var(--delay, 0s);
}
[data-mark-root] { position: relative; }

/* Checks, wiped in like a stroke of the pen. */
.checks { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 11px; }
.checks li { position: relative; padding-left: 36px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; background: var(--check) no-repeat center / contain; }
.checks.is-armed li::before { clip-path: inset(0 100% 0 0); }
.checks.is-in li::before { clip-path: inset(0 0 0 0); transition: clip-path .32s cubic-bezier(.5, 0, .3, 1) calc(var(--i, 0) * 150ms + 120ms); }

/* ---------- Nav ---------- */

.nav { position: sticky; top: 0; z-index: 50; background: var(--night); color: var(--on-night); transition: box-shadow .2s; }
.nav.is-scrolled { box-shadow: 0 1px 0 var(--night-line); }
.nav__row { display: flex; align-items: center; gap: 28px; height: 66px; }
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font: 800 1.2rem/1 var(--display);
  font-stretch: 62%;
  text-transform: uppercase;
  letter-spacing: .07em;
}
.nav__links { display: flex; gap: 26px; margin-left: auto; }
.nav__links a, .nav__login { padding: 10px 0; text-decoration: none; font-weight: 500; font-size: .95rem; color: var(--on-night-2); }
.nav__links a:hover, .nav__login:hover { color: var(--on-night); }
.nav__actions { display: flex; align-items: center; gap: 20px; }

/* ---------- The pain: the call's timeline, as the analyzer draws it ---------- */

.split-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 20px 56px; align-items: end; }
.pain__title { font-size: clamp(2.6rem, 5vw, 4.6rem); max-width: 13ch; }
.pain__lead { font: 600 clamp(1.3rem, 2.3vw, 1.8rem)/1.3 var(--body); }
.timeline { margin: clamp(44px, 6vw, 72px) 0 0; padding: 20px 22px 18px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--lift); }
.timeline__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 20px; margin-bottom: 14px; }
.timeline__title { font-weight: 700; }
.timeline__legend { display: flex; gap: 18px; font-size: .88rem; color: var(--ink-3); }
.timeline__key::before { content: ""; display: inline-block; width: 14px; height: 4px; margin-right: 7px; vertical-align: middle; border-radius: 2px; background: var(--ink); }
.timeline__key--prospect::before { background: #8C93A3; }
.timeline__track { position: relative; height: clamp(120px, 15vw, 170px); border-radius: 6px; background: repeating-linear-gradient(90deg, transparent 0 calc(100% / 46.13 * 5 - 1px), var(--line) calc(100% / 46.13 * 5 - 1px) calc(100% / 46.13 * 5)); }
.timeline__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.timeline__closer, .timeline__prospect { fill: none; stroke-width: 2; stroke-linecap: round; }
.timeline__closer { stroke: var(--ink); }
.timeline__prospect { stroke: #8C93A3; }
.timeline__hit { position: absolute; left: calc(48.19% - 1px); top: -10px; bottom: -10px; width: 2px; background: var(--shu); border-radius: 2px; transform-origin: top; }
.timeline.is-armed .timeline__hit { transform: scaleY(0); }
.timeline.is-found .timeline__hit { transform: scaleY(1); transition: transform .35s cubic-bezier(.5, 0, .3, 1); }
.timeline__flag {
  position: absolute;
  left: calc(48.19% + 12px);
  top: -6px;
  max-width: 300px;
  padding: 8px 12px 9px;
  border-radius: 8px;
  background: var(--shu-btn);
  color: var(--on-shu);
  font-size: .9rem;
  line-height: 1.35;
  box-shadow: 0 8px 20px -10px rgba(134, 38, 17, .6);
}
.timeline__flag b { display: block; font-size: .78rem; font-weight: 700; opacity: .85; }
.timeline.is-armed .timeline__flag { opacity: 0; transform: translateY(6px); }
.timeline.is-found .timeline__flag { opacity: 1; transform: none; transition: opacity .3s .25s, transform .4s cubic-bezier(.2, .8, .3, 1.2) .25s; }
.timeline__scale { position: relative; height: 22px; margin-top: 8px; font-size: .8rem; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.timeline__scale span { position: absolute; top: 0; transform: translateX(-50%); }
.timeline__scale span:nth-child(1) { left: 0; transform: none; }
.timeline__scale span:nth-child(2) { left: 21.68%; }
.timeline__scale span:nth-child(3) { left: 43.36%; }
.timeline__scale span:nth-child(4) { left: 65.03%; }
.timeline__scale span:nth-child(5) { left: 86.71%; }
.timeline__scale span:nth-child(6) { left: auto; right: 0; transform: none; }

/* ---------- Calculator: the vermilion band and its receipt ---------- */

.calc__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.calc h2 { max-width: 12ch; }
.calc__form { margin-top: 40px; display: grid; gap: 24px; max-width: 520px; }
.slider label { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-weight: 500; }
.slider output { font-weight: 800; font-size: 1.1rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
input[type="range"] { --p: 50%; -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 30px; margin: 6px 0 0; background: transparent; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--on-shu) var(--p), rgba(255, 247, 242, .35) var(--p)); }
input[type="range"]::-moz-range-track { height: 3px; border-radius: 3px; background: rgba(255, 247, 242, .35); }
input[type="range"]::-moz-range-progress { height: 3px; background: var(--on-shu); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -9.5px; border-radius: 50%; background: var(--on-shu); box-shadow: 0 2px 6px rgba(80, 20, 8, .45); }
input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border: 0; border-radius: 50%; background: var(--on-shu); box-shadow: 0 2px 6px rgba(80, 20, 8, .45); }
input[type="range"]:focus-visible { outline: none; }
input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 6px rgba(255, 247, 242, .35); }
input[type="range"]:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 6px rgba(255, 247, 242, .35); }

.result-card { max-width: 420px; margin-left: auto; padding: 28px 28px 26px; background: var(--white); color: var(--ink); border-radius: 16px; box-shadow: 0 30px 60px -28px rgba(70, 14, 4, .7); }
.rc__label { font-size: .88rem; font-weight: 600; color: var(--ink-3); }
.rc__big { margin-top: 6px; font: 800 clamp(3.4rem, 6.4vw, 5rem)/.9 var(--display); font-stretch: 62%; font-variant-numeric: tabular-nums; }
.rc__detail { margin-top: 10px; font-weight: 600; }
.units { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; min-height: 14px; margin-top: 12px; }
.units i { width: 12px; height: 12px; border-radius: 3px; background: var(--shu-btn); }
.units i.is-new { animation: unit .3s cubic-bezier(.3, 1.6, .5, 1) both; animation-delay: var(--d, 0ms); }
.units span { margin-left: 4px; font-size: .82rem; font-weight: 700; color: var(--shu-ink); }
@keyframes unit { from { transform: scale(0); } to { transform: none; } }
.rc__rows { margin: 18px 0 0; padding-top: 12px; border-top: 1px solid var(--line); }
.rc__rows > div { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; font-size: .92rem; }
.rc__rows dt { color: var(--ink-2); }
.rc__rows dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.rc__cost { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); font-size: .9rem; color: var(--ink-2); }
.result-card.is-armed > * { opacity: 0; transform: translateY(8px); }
.result-card.is-in > * { opacity: 1; transform: none; transition: opacity .45s ease calc(var(--i, 0) * 80ms), transform .5s cubic-bezier(.2, .7, .2, 1) calc(var(--i, 0) * 80ms); }

/* ---------- Founding: the stamp card on the night band ---------- */

.founding__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.founding h2 { max-width: 12ch; }
.founding .checks li { color: var(--on-night); }
.founding__fine { margin-top: 14px; font-size: .9rem; color: var(--on-night-2); }
.stampcard { justify-self: end; width: 100%; max-width: 450px; padding: 26px 22px 26px; background: var(--white); color: var(--ink); border-radius: 14px; box-shadow: var(--lift-dark); }
.stampcard__top { padding-bottom: 14px; text-align: center; border-bottom: 1.5px solid var(--ink); }
.stampcard__title { font: 800 2rem/1 var(--display); font-stretch: 62%; letter-spacing: .05em; text-transform: uppercase; }
.stampcard__rule { margin-top: 6px; font-size: .88rem; color: var(--ink-3); }
.stampcard__days { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; text-align: center; }
.stampcard__days li { display: grid; justify-items: center; align-content: start; gap: 6px; }
.seal { position: relative; display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%; }
.is-stamped .seal { background: var(--shu); box-shadow: inset 0 0 0 3px var(--shu), inset 0 0 0 5px var(--white); filter: url(#press); transform: rotate(var(--r, -8deg)); }
.stampcard__days li:nth-child(2) .seal { --r: 6deg; }
.stampcard__days li:nth-child(3) .seal { --r: -3deg; }
.is-stamped .seal b { font: 800 1.45rem/1 var(--display); font-stretch: 62%; color: var(--white); }
.seal--empty { border: 2px dashed var(--line-2); }
.stampcard__day { font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.stampcard__what { font-size: .76rem; line-height: 1.25; color: var(--ink-3); }
.stampcard__left { margin-top: 22px; text-align: center; font-weight: 700; color: var(--shu-ink); }
.stampcard.is-armed .is-stamped .seal { opacity: 0; transform: scale(1.7) rotate(var(--r, -8deg)); }
.stampcard.is-in .is-stamped .seal { opacity: 1; transform: scale(1) rotate(var(--r, -8deg)); transition: transform .26s cubic-bezier(.3, 1.5, .5, 1) var(--sd, 0ms), opacity .1s linear var(--sd, 0ms); }

/* ---------- Pricing ---------- */

.pricing__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.price { width: 100%; max-width: 500px; justify-self: end; padding: 34px 32px 30px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--lift); }
.price__top { display: flex; justify-content: space-between; align-items: start; gap: 12px; }
.price__tag { padding: 5px 10px; border-radius: 999px; background: var(--paper); font-size: .8rem; font-weight: 700; color: var(--shu-ink); }
.price__amount { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px; }
.price__num { font: 800 clamp(4.6rem, 8vw, 6.4rem)/.85 var(--display); font-stretch: 62%; letter-spacing: -.01em; }
.price__per { color: var(--ink-3); }
.price__trial { margin-top: 14px; color: var(--ink-2); }
.price__trial a { color: var(--shu-ink); text-underline-offset: 3px; }
.price .checks { margin: 22px 0 26px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--ink-2); }
.price__fine { margin-top: 14px; font-size: .86rem; line-height: 1.45; color: var(--ink-3); }

/* ---------- FAQ ---------- */

.faq__grid { display: grid; gap: clamp(30px, 4vw, 48px); max-width: 900px; }
.faq__list { border-top: 1.5px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0; font: 700 1.18rem/1.3 var(--body); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 16px; height: 16px; background: linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat, linear-gradient(currentColor, currentColor) center / 2px 100% no-repeat; transition: transform .25s, color .25s; }
.faq details[open] summary::after { transform: rotate(45deg); color: var(--shu); }
.faq summary:hover { color: var(--shu-ink); }
.faq details p { max-width: 60ch; padding: 0 40px 22px 0; color: var(--ink-2); }
@supports (interpolate-size: allow-keywords) {
  :root { interpolate-size: allow-keywords; }
  .faq details::details-content { height: 0; overflow: clip; transition: height .3s ease, content-visibility .3s allow-discrete; }
  .faq details[open]::details-content { height: auto; }
}

/* ---------- Final and footer ---------- */

.final__inner { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.final h2 { font-size: clamp(3rem, 7vw, 6.6rem); max-width: 11ch; }
.final .btn--light { color: var(--shu-ink); }
.footer { padding: 36px 0 44px; background: var(--night); color: var(--on-night-2); }
.footer__grid { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 18px 40px; }
.footer__brand { display: flex; align-items: center; gap: 12px; font: 800 1.15rem/1 var(--display); font-stretch: 62%; letter-spacing: .07em; text-transform: uppercase; color: var(--on-night); }
.footer__links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 24px; }
.footer__links a { padding: 10px 0; text-decoration: none; color: var(--on-night-2); }
.footer__links a:hover { color: var(--on-night); text-decoration: underline; text-underline-offset: 4px; }
.footer__legal { grid-column: 1 / -1; font-size: .8rem; line-height: 1.5; color: #8D95A8; }

/* ---------- The app, recreated from its own code ----------
 * Light theme, neutral greys, Geist, flat cards on a hairline ring, a green
 * score pill, uppercase micro-labels. Nothing here is invented: every block
 * and label is one the real call page shows. */

.app {
  --a-fg: #0a0a0a;
  --a-muted: #f5f5f5;
  --a-mfg: #666666;     /* 5.1:1 on #F2F2F2, the darkest muted ground */
  --a-border: #e5e5e5;
  --ok-bg: #ecfdf5;
  --ok-line: #a7f3d0;
  --ok-fg: #064e3b;
  --ok-text: #047857;
  --warn-bg: #fffbeb;
  --warn-line: #fde68a;
  --warn-fg: #78350f;
  --info-line: #bfdbfe;
  font: 400 13px/1.5 "Geist", system-ui, -apple-system, sans-serif;
  color: var(--a-fg);
  text-align: left;
}
.app p { margin: 0; }
.window { position: relative; overflow: hidden; border-radius: 14px; background: #fff; box-shadow: var(--lift-dark); }
.window--plain { box-shadow: var(--lift); border: 1px solid var(--line); }
.window__bar { display: flex; align-items: center; justify-content: center; height: 34px; background: #efefef; border-bottom: 1px solid #e2e2e2; }
.window__url { display: inline-flex; align-items: center; gap: 6px; padding: 4px 16px; border-radius: 999px; background: #fff; font: 500 11.5px/1 "Geist", system-ui, sans-serif; color: #666666; }
.app__top { padding: 11px 18px 0; border-bottom: 1px solid var(--a-border); background: #fff; }
.app__ws { display: flex; justify-content: space-between; align-items: center; font-weight: 600; font-size: 13.5px; }
.app__nav { display: flex; gap: 16px; margin-top: 6px; overflow: hidden; white-space: nowrap; font-size: 12.5px; color: var(--a-mfg); }
.app__nav span { padding: 6px 0 9px; }
.app__nav .is-on { color: var(--a-fg); font-weight: 500; box-shadow: inset 0 -2px 0 var(--a-fg); }
.app__viewport { position: relative; display: flex; flex-direction: column; height: 500px; overflow: hidden; background: #fff; }
.app__viewport > * { transition: opacity .35s ease; }
.app__viewport.is-leaving > * { opacity: 0; }
.app__fixed { flex: none; display: grid; gap: 10px; padding: 16px 18px 12px; }
.app__scroll { position: relative; flex: 1; min-height: 0; overflow: hidden; }
.app__cards { position: relative; display: grid; gap: 12px; padding: 2px 18px 22px; transition: transform .9s cubic-bezier(.45, .05, .3, 1); }
.hero .app { font-size: 13.5px; }
.hero .app__h1 { font-size: 19px; }
.hero .app-card__title { font-size: 14.5px; }
.hero .app__score { height: 32px; padding: 0 14px; font-size: 14px; }
.app__page { position: relative; display: grid; gap: 12px; padding: 16px 18px 24px; transition: transform .9s cubic-bezier(.45, .05, .3, 1), opacity .35s ease; }
.app__back { font-size: 12px; color: var(--a-mfg); }
.app__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 10px 16px; }
.app__h1 { font-size: 18px; font-weight: 600; line-height: 1.25; letter-spacing: -.01em; }
.app__meta { margin-top: 3px; font-size: 12px; color: var(--a-mfg); }
.app__meta u { text-underline-offset: 2px; }
.app__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.app__btn { display: inline-flex; align-items: center; gap: 5px; height: 28px; padding: 0 10px; border-radius: 9px; font-size: 12px; font-weight: 500; white-space: nowrap; color: var(--a-fg); background: #fff; }
button.app__btn { border: 1px solid var(--a-border); font-family: inherit; cursor: pointer; }
button.app__btn:hover { background: var(--a-muted); }
.app__btn--outline { border: 1px solid var(--a-border); }
.app__btn--muted { background: var(--a-muted); }
.app__score { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 999px; background: var(--ok-bg); border: 1px solid var(--ok-line); color: var(--ok-fg); font-size: 12.5px; font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.app__score--idle { background: var(--a-muted); border-color: var(--a-border); color: var(--a-mfg); }
.app__score.is-pop { animation: pop .45s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes pop { from { transform: scale(.8); } to { transform: none; } }
.app__drafting { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding: 10px 12px; border: 1px solid var(--a-border); border-radius: 10px; font-size: 12px; }
.app__drafting--big { margin-top: 18px; padding: 14px 16px; font-size: 13px; }
.app__pulse { flex: none; width: 8px; height: 8px; border-radius: 50%; background: #10b981; animation: pulse 1.2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; transform: scale(.75); } }
.app__bar { flex: 1 1 80px; height: 5px; overflow: hidden; border-radius: 5px; background: var(--a-muted); }
.app__bar i { display: block; width: var(--w, 50%); height: 100%; border-radius: 5px; background: var(--a-fg); transition: width .3s ease; }
.app__muted { color: var(--a-mfg); }
.app__row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.app-card { padding: 14px 16px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px rgba(10, 10, 10, .1); }
.app-card__title { font-size: 14px; font-weight: 500; }
.app-card__desc { margin-top: 2px; font-size: 12px; color: var(--a-mfg); }
.micro { margin-top: 10px; font-size: 10.5px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--a-mfg); }
.mf { margin-top: 10px; padding-left: 12px; border-left: 2px solid var(--a-border); }
.mf__label { font-size: 10.5px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--a-mfg); }
.mf__what { margin-top: 2px; font-weight: 500; }
.mf__quote { margin: 12px 0 12px; font-weight: 600; }
.mf__quote .hit { padding: 1px 6px; }
.mf__fix { margin-top: 3px; color: #404040; }
.mf__fix b { color: var(--ok-text); }
.hit { display: inline-block; }
.takeaways { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.tk { padding: 12px 13px; border: 1px solid; border-radius: 14px; background: #fff; font-size: 12.5px; }
.tk--good { border-color: var(--ok-line); }
.tk--warn { border-color: var(--warn-line); }
.tk--info { border-color: var(--info-line); }
.tk__label { margin-bottom: 4px; font-size: 10.5px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--a-mfg); }
.sms { margin-top: 6px; padding: 10px 12px; border: 1px solid var(--a-border); border-radius: 8px; font-size: 12.5px; }
.snap { margin-top: 8px; font-size: 14px; line-height: 1.5; }
.cs { width: 100%; margin-top: 8px; border-collapse: collapse; font-size: 12.5px; }
.cs th { padding: 6px 0; border-bottom: 1px solid var(--a-border); text-align: left; font-size: 10.5px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--a-mfg); }
.cs td { padding: 7px 0; border-bottom: 1px solid var(--a-border); }
.cs tr:last-child td { border-bottom: 0; }
.cs th:last-child, .cs td:last-child { text-align: right; color: var(--a-mfg); font-variant-numeric: tabular-nums; }
.pill { display: inline-flex; align-items: center; height: 20px; padding: 0 8px; border-radius: 999px; font-size: 11px; font-weight: 500; white-space: nowrap; }
.pill--pending { background: var(--warn-bg); border: 1px solid var(--warn-line); color: var(--warn-fg); }
.cm { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.cm__box { flex: none; width: 14px; height: 14px; border: 1px solid #a3a3a3; border-radius: 4px; }
.ball { margin: 8px 0 0; padding-left: 18px; }
.ball li + li { margin-top: 4px; }
.skel { margin-top: 18px; }
.skel i { display: block; height: 12px; margin-top: 12px; border-radius: 6px; background: var(--a-muted); }
.skel i:nth-child(1) { width: 100%; height: 70px; border-radius: 14px; }
.skel i:nth-child(2) { width: 92%; }
.skel i:nth-child(3) { width: 80%; }
.skel i:nth-child(4) { width: 100%; height: 110px; border-radius: 14px; }
.skel i:nth-child(5) { width: 64%; }

/* The hero window plays the analysis: hidden blocks arrive in turn. */
.window.is-analyzing [data-h-step] { opacity: 0; transform: translateY(10px); }
.window.is-analyzing [data-h-step].is-on { opacity: 1; transform: none; transition: opacity .45s ease, transform .55s cubic-bezier(.2, .7, .2, 1); }
.sms.is-typing::after { content: ""; display: inline-block; width: 1.5px; height: 1.05em; margin-left: 1px; vertical-align: -2px; background: var(--a-fg); animation: caret .8s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }

/* ---------- Hero ---------- */

.hero.band { padding: clamp(48px, 6vw, 84px) 0 clamp(84px, 9vw, 120px); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 4vw, 64px); align-items: center; }
.audience { display: inline-flex; gap: 2px; margin-bottom: 28px; padding: 4px; border-radius: 999px; background: var(--night-2); }
.audience__opt { all: unset; cursor: pointer; padding: 9px 16px; border-radius: 999px; font: 600 .92rem/1 var(--body); color: var(--on-night-2); }
.audience__opt:hover { color: var(--on-night); }
.audience__opt[aria-pressed="true"] { background: var(--on-night); color: var(--night); }
.audience__opt:focus-visible { outline: 2px solid var(--shu); outline-offset: 2px; }
.hero__title { font-size: clamp(2.8rem, 4.9vw, 4.8rem); line-height: .92; color: var(--on-night); }
.hero__sub { max-width: 36ch; }
.hero__note { margin-top: 12px; font-size: .9rem; color: var(--on-night-2); }
.hero__stage { position: relative; margin: 0; padding-top: 86px; }
.rec { position: absolute; top: 0; left: -30px; z-index: 4; width: min(340px, 62%); padding: 12px 14px; border: 1px solid var(--night-line); border-radius: 12px; background: var(--night-2); color: var(--on-night); box-shadow: 0 22px 40px -18px rgba(0, 0, 0, .75); }
.rec__top { display: flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 600; }
.rec__dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: #F08A6E; }
.rec__src { margin-left: auto; font-weight: 500; color: var(--on-night-2); }
.rec__wave { position: relative; height: 36px; margin-top: 8px; }
.rec__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.rec__a, .rec__b { fill: none; stroke-width: 1.6; stroke-linecap: round; }
.rec__a { stroke: #E6E9F0; }
.rec__b { stroke: #7F89A3; }
.rec__mark { position: absolute; top: -5px; bottom: -5px; left: var(--at, 58%); width: 2px; border-radius: 2px; background: #F08A6E; }
.rec__slip { margin-top: 6px; font-size: .78rem; font-weight: 700; color: #F08A6E; }
.rec.is-armed .rec__mark { transform: scaleY(0); }
.rec.is-armed .rec__slip { opacity: 0; }
.rec.is-found .rec__mark { transform: none; transition: transform .3s cubic-bezier(.5, 0, .3, 1); }
.rec.is-found .rec__slip { opacity: 1; transition: opacity .3s .15s; }
.hero__caption { display: flex; align-items: center; gap: 10px; margin-top: 14px; font-size: .85rem; color: var(--on-night-2); }
.hero__tag { padding: 3px 8px; border: 1px solid var(--night-line); border-radius: 999px; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--on-night); }
.sc-play .hero__copy > *, .sc-play .hero__stage { opacity: 0; }
.hero.is-opening .hero__copy > * { animation: rise .7s cubic-bezier(.2, .7, .2, 1) both; }
.hero.is-opening .hero__copy > :nth-child(2) { animation-delay: .08s; }
.hero.is-opening .hero__copy > :nth-child(3), .hero.is-opening .hero__copy > :nth-child(4) { animation-delay: .18s; }
.hero.is-opening .hero__copy > :nth-child(5) { animation-delay: .26s; }
.hero.is-opening .hero__copy > :nth-child(6) { animation-delay: .32s; }
.hero.is-opening .hero__stage { animation: lift .95s cubic-bezier(.2, .75, .25, 1) .2s both; }
.hero__title .ln { display: block; }
@keyframes rise { from { opacity: 0; transform: translateY(.4em); } to { opacity: 1; transform: none; } }
@keyframes lift { from { opacity: 0; transform: translateY(40px) scale(.98); } to { opacity: 1; transform: none; } }

/* ---------- The Dojo ---------- */

.head { margin-bottom: clamp(34px, 5vw, 56px); }
.head h2 { max-width: 18ch; }
.head .lead { margin-top: 14px; max-width: 40ch; }
.dojo__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 3vw, 40px); align-items: start; }
.tabs { display: flex; gap: 4px; }
.tabs__tab { all: unset; cursor: pointer; padding: 12px 16px 11px; border-radius: 10px 10px 0 0; font: 600 .95rem/1 var(--body); color: var(--ink-3); }
.tabs__tab:hover { color: var(--ink); }
.tabs__tab[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 -1px 0 var(--line), 1px 0 0 var(--line), -1px 0 0 var(--line); }
.tabs__tab:focus-visible { outline: 2px solid var(--shu); outline-offset: 2px; }
.panel { padding: 18px 20px 22px; background: #fff; border: 1px solid var(--line); border-radius: 0 14px 14px 14px; box-shadow: var(--lift); }
/* The three calls to spar with, as cards across the hall. */
.samples { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); margin: 0 0 clamp(26px, 3vw, 40px); padding: 0; }
.sample {
  all: unset;
  box-sizing: border-box;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  height: 100%;
  padding: 20px 22px 22px;
  overflow: hidden;
  border: 1px solid var(--night-line);
  border-radius: 14px;
  background: var(--night-2);
  color: var(--on-night);
  cursor: pointer;
  transition: border-color .2s, transform .25s cubic-bezier(.2, .7, .2, 1), background-color .2s;
}
.sample:hover { border-color: #3B4A72; transform: translateY(-3px); }
.sample:focus-visible { outline: 2px solid var(--shu); outline-offset: 3px; }
.sample[aria-pressed="true"] { border-color: var(--shu); background: #212E4F; box-shadow: inset 0 0 0 1px var(--shu); }
.sample__meta { padding-right: 36px; font-size: .85rem; font-weight: 600; color: var(--on-night-2); }
.sample__name { font: 800 clamp(1.5rem, 2.4vw, 2.05rem)/1 var(--display); font-stretch: 62%; }
.sample__offer { margin-top: auto; font-size: .9rem; color: var(--on-night-2); }
/* the chosen call carries the seal */
.sample[aria-pressed="true"]::after {
  content: "";
  position: absolute;
  top: 16px;
  right: 16px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--shu) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 6 9 17l-5-5' fill='none' stroke='%23FFF7F2' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 15px no-repeat;
  filter: url(#press);
  animation: stamp-in .26s cubic-bezier(.3, 1.5, .5, 1) both;
}
@keyframes stamp-in { from { opacity: 0; transform: scale(1.8) rotate(-12deg); } to { opacity: 1; transform: rotate(-8deg); } }
.transcript { margin: 0; }
.transcript__label, .field-label { font-weight: 600; font-size: .88rem; color: var(--ink-3); }
.transcript__scroll { max-height: 320px; margin-top: 8px; padding-right: 6px; overflow: auto; overscroll-behavior: contain; }
.transcript__body { list-style: none; margin: 0; padding: 0 0 6px; counter-reset: ln; }
.transcript__body li { counter-increment: ln; display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: .93rem; line-height: 1.5; }
.transcript__body li::before { content: counter(ln); padding-top: 2px; font-size: .75rem; text-align: right; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.transcript__body b { margin-right: .4em; }
.transcript__body .say { display: block; }
.transcript__body .tnote { grid-column: 2; margin-top: 4px; font-size: .82rem; font-weight: 700; color: var(--shu-ink); }
[data-grade-sample] { margin-top: 18px; }
.paste textarea { display: block; width: 100%; margin-top: 8px; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: 8px; background: #fff; font: 400 .95rem/1.5 var(--body); color: var(--ink); resize: vertical; }
.paste textarea:focus, .paste__email:focus { outline: none; border-color: var(--ink); }
.paste__email { display: block; width: 100%; margin-top: 8px; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: 8px; background: #fff; font: 400 .95rem/1.5 var(--body); color: var(--ink); }
.paste__count + .field-label { display: block; margin-top: 16px; }
.paste__hint { margin-top: 8px; font-size: .85rem; color: var(--ink-3); }
/* Honeypot: off-screen, not display:none, so a bot still sees and fills it. */
.paste__hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.paste__count { margin-top: 8px; font-size: .85rem; color: var(--ink-3); }
.check { display: flex; gap: 12px; align-items: flex-start; margin: 14px 0 18px; font-size: .95rem; color: var(--ink-2); cursor: pointer; }
.check input { flex: none; width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--shu-btn); }
.paste__error { margin-top: 10px; font-weight: 600; color: var(--shu-ink); }
.paste__error:empty { display: none; }
.dojo__output { display: flex; flex-direction: column; background: #fff; }
.dojo__view { max-height: 640px; overflow-y: auto; overscroll-behavior: contain; }
.dojo__input { position: sticky; top: 86px; }
.dojo__output .app__page { padding: 18px 20px 24px; }
.result__cta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-top: 6px; padding: 16px 18px; border-radius: 14px; background: var(--night); color: var(--on-night); font: 400 1rem/1.4 var(--body); }
.result__note { font-size: 12px; font-style: italic; color: var(--a-mfg); }
.result.is-arriving > * { animation: rise .5s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(var(--i, 0) * 90ms); }

/* ---------- After you hang up: five moments, five pieces of the app ---------- */

.how .head h2 { max-width: 18ch; }
.log { --lp: 1; position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 clamp(16px, 2vw, 28px); list-style: none; margin: 0; padding: 30px 0 0; }
.log::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--shu); transform-origin: left; transform: scaleX(var(--lp)); }
.log li { position: relative; display: flex; flex-direction: column; }
.log li::after { content: ""; position: absolute; left: 0; top: -37px; width: 3px; height: 16px; border-radius: 2px; background: var(--shu); }
.log__time { font-weight: 600; font-size: .92rem; color: var(--shu-ink); }
.log h3 { margin-top: 10px; font-size: 1.55rem; }
.log li > p { margin-top: 8px; font-size: .96rem; color: var(--ink-2); }
.how .frag { border: 1px solid var(--line); box-shadow: var(--lift); }
.frag { padding: 13px 14px; border-radius: 12px; background: #fff; font-size: 12.5px; box-shadow: var(--lift-dark); }
.log .frag { min-height: 122px; }
.log .frag { margin-top: auto; }
.log li > p + .frag { margin-top: 18px; }
.frag .app__score { height: 26px; font-size: 12px; }
.frag__row { display: flex; justify-content: space-between; align-items: center; gap: 6px; font-weight: 500; }
.frag__name { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.chip { display: inline-flex; flex: none; align-items: center; gap: 5px; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 500; }
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.chip--closing { background: #ecfdf5; color: #047857; }
.frag__state { display: flex; align-items: center; gap: 6px; margin-top: 8px; color: var(--a-mfg); }
.frag__kv { display: flex; justify-content: space-between; gap: 8px; margin-top: 7px; }
.frag__kv b { font-weight: 500; color: var(--a-mfg); font-variant-numeric: tabular-nums; }
.tk--mini { margin-top: 6px; padding: 7px 10px; border-radius: 9px; font-size: 11px; font-weight: 500; letter-spacing: .05em; text-transform: uppercase; color: var(--a-mfg); }
.tk--mini:first-child { margin-top: 0; }
.frag__sms { margin-top: 6px; padding: 8px 10px; border: 1px solid var(--a-border); border-radius: 8px; }
.frag .micro:first-child { margin-top: 0; }
.log.is-armed li { opacity: .22; transform: translateY(14px); }
.log.is-armed li.is-lit { opacity: 1; transform: none; transition: opacity .5s ease, transform .6s cubic-bezier(.2, .7, .2, 1); }
.log.is-armed li::after { transform: scaleY(0); }
.log.is-armed li.is-lit::after { transform: scaleY(1); transition: transform .25s cubic-bezier(.5, 0, .3, 1); }

/* ---------- Two paths ---------- */

.side { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.paths__title { max-width: 12ch; }
.paths__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 2vw, 20px); }
.path { position: relative; padding: clamp(26px, 3.4vw, 40px); border-radius: 18px; background: var(--paper); color: var(--ink); transition: background-color .35s, color .35s; }
.path__who { font-weight: 600; color: var(--ink-3); }
.path h3 { margin-top: 12px; font-size: clamp(1.8rem, 2.8vw, 2.4rem); }
.path .checks li { color: var(--ink-2); }
[data-audience="closer"] .path--closer, [data-audience="team"] .path--team { background: var(--night); color: var(--on-night); }
[data-audience="closer"] .path--closer .path__who, [data-audience="team"] .path--team .path__who { color: var(--on-night-2); }
[data-audience="closer"] .path--closer .checks li, [data-audience="team"] .path--team .checks li { color: var(--on-night); }
[data-audience="closer"] .path--closer::after, [data-audience="team"] .path--team::after {
  content: "That’s you";
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--shu-btn);
  color: var(--on-shu);
  font-size: .78rem;
  font-weight: 700;
}

/* ---------- The Arsenal ---------- */

.kit__title { max-width: 12ch; }
.kit__grid { display: grid; gap: clamp(18px, 2.4vw, 28px); }
.kit__item { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); grid-template-rows: auto 1fr; column-gap: clamp(20px, 3vw, 36px); align-items: start; }
.kit__item .frag { grid-row: 1 / span 2; }
.kit__item > h3, .kit__item > p { grid-column: 2; }
.frag--big { min-height: 190px; padding: 16px 18px; border: 1px solid var(--line); box-shadow: var(--lift); }
.kit__item h3 { margin-top: 18px; font-size: 1.7rem; }
.kit__item > p { margin-top: 8px; color: var(--ink-2); }
.pb { margin: 10px 0 0; }
.pb > div { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 10px; padding: 7px 0; border-top: 1px solid var(--a-border); font-size: 12.5px; }
.pb dt { color: var(--a-mfg); }
.pb dd { margin: 0; font-weight: 500; }
.ask { margin-top: 14px; padding: 10px 12px; border-radius: 10px; background: var(--a-muted); font-size: 13px; }
.kit__more { list-style: none; display: grid; gap: 14px; margin: 32px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line-2); color: var(--ink-2); }
.kit__more b { display: block; color: var(--ink); }

/* ---------- Setup ---------- */

.setup__title { max-width: 12ch; }
.setup__body { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.todo { list-style: none; margin: 0; padding: 6px 28px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--lift); }
.todo li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.todo li:last-child { border-bottom: 0; }
.box { position: relative; width: 24px; height: 24px; margin-top: 2px; border: 1.5px solid var(--ink); border-radius: 6px; }
.box::after { content: ""; position: absolute; inset: 1px; background: var(--check) no-repeat center / contain; }
.todo.is-armed .box::after { clip-path: inset(0 100% 0 0); }
.todo.is-in .box::after { clip-path: inset(0 0 0 0); transition: clip-path .38s cubic-bezier(.5, 0, .3, 1) calc(var(--i, 0) * 420ms + 200ms); }
.todo__when { font-weight: 600; font-size: .9rem; color: var(--shu-ink); }
.todo h3 { margin-top: 6px; font-size: 1.7rem; }
.todo p { color: var(--ink-2); }
.setup__cta { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin-top: 30px; }
.setup__phone { padding: 10px 0; font-weight: 600; text-underline-offset: 4px; }

/* ---------- Final: ends on the one thing to do next ---------- */

.tk--final { justify-self: end; width: 100%; max-width: 380px; padding: 22px 24px; font-size: 15px; box-shadow: 0 30px 60px -28px rgba(70, 14, 4, .75); }
.tk--final p:last-child { font-size: 18px; font-weight: 500; line-height: 1.35; }

/* ---------- Samurai elements: the opening, the cut, the seal, the ensō ----------
 * The brand comes back as the mark itself, not as decoration: the ensō and
 * katana from the logo open the page, the blade's cut separates the main
 * chapters, the seal signs a graded call, and the ensō closes the page. */

:root {
  --blade-angle: -52.48deg;   /* the katana's measured angle in the mark */
  --brush: cubic-bezier(.6, .05, .3, 1);
  --cut-ease: cubic-bezier(.7, 0, .3, 1);
  --mk: min(46vmin, 380px);
  --cut-h: 56px;
}

/* The opening: the ensō paints, the katana slides in, a light runs along the
   blade, and the screen splits along it, each half carrying half the mark. */
.intro { display: none; position: fixed; inset: 0; z-index: 300; overflow: hidden; }
html.sc-intro .intro { display: block; }
html.sc-intro body { overflow: hidden; }
.intro__half { position: absolute; left: 50%; top: 50%; width: 300vmax; height: 300vmax; overflow: hidden; background: var(--night); transform-origin: 0 0; }
.intro__half--a { transform: rotate(var(--blade-angle)) translate(-50%, -100%); }
.intro__half--b { transform: rotate(var(--blade-angle)) translate(-50%, 0); }
.intro__mark { position: absolute; left: 50%; width: var(--mk); height: var(--mk); transform: translate(-50%, -50%) rotate(calc(var(--blade-angle) * -1)); }
.intro__half--a .intro__mark { top: 100%; }
.intro__half--b .intro__mark { top: 0; }
.intro__mark svg { display: block; width: 100%; height: 100%; }
.intro__cut {
  position: absolute; left: 50%; top: 50%;
  width: 300vmax; height: 2px; margin: -1px 0 0 -150vmax;
  background: var(--on-night);
  box-shadow: 0 0 14px 3px rgba(240, 138, 110, .75);
  rotate: var(--blade-angle);
  scale: 0 1;
  opacity: 0;
  pointer-events: none;
}
.intro-paint { stroke-dasharray: 1; stroke-dashoffset: 1; }
.intro-sword { opacity: 0; }
html.sc-intro-run .intro-paint { animation: paint 900ms var(--brush) 120ms forwards; }
html.sc-intro-run .intro-sword { animation: sword 320ms var(--cut-ease) 1000ms both; }
html.sc-intro-run .intro__cut { animation: cut-light 560ms ease-out 1280ms forwards; }
html.sc-intro-run .intro__half--a { animation: split-a 860ms var(--cut-ease) 1460ms forwards; }
html.sc-intro-run .intro__half--b { animation: split-b 860ms var(--cut-ease) 1460ms forwards; }
@keyframes paint { to { stroke-dashoffset: 0; } }
@keyframes sword { from { opacity: 0; translate: 64px -83px; } to { opacity: 1; translate: 0 0; } }
@keyframes cut-light { 0% { scale: 0 1; opacity: 1; } 40% { scale: 1 1; opacity: 1; } 100% { scale: 1 1; opacity: 0; } }
@keyframes split-a { to { translate: calc(-.7932 * 110vmax) calc(-.6091 * 110vmax); } }
@keyframes split-b { to { translate: calc(.7932 * 110vmax) calc(.6091 * 110vmax); } }

/* The cut: the main chapters meet on a slash rising the way the blade does.
   Each cut band overlaps the one before it and is clipped on a diagonal, so
   the band above shows through the triangle. */
.band--cut {
  z-index: 1;
  margin-top: calc(-1 * var(--cut-h));
  padding-top: calc(clamp(88px, 11vw, 150px) + var(--cut-h));
  clip-path: polygon(0 var(--cut-h), 100% 0, 100% 100%, 0 100%);
}
.hero.band { position: relative; z-index: 0; }
.cutline { position: absolute; left: 0; top: 0; width: 100%; height: var(--cut-h); overflow: visible; pointer-events: none; }
.cutline line { stroke: var(--shu); stroke-width: 2.5; }
.band--shu .cutline line { stroke: var(--night); }
.cutline.is-armed { clip-path: inset(0 100% 0 0); }
.cutline.is-in { clip-path: inset(0 0 0 0); transition: clip-path .55s var(--cut-ease); }

/* The seal: the coach's hanko, stamped on a graded call. */
.window-wrap { position: relative; }
.seal-mark {
  position: absolute; right: -22px; bottom: -22px; z-index: 5;
  display: grid; place-items: center;
  width: 84px; height: 84px; border-radius: 50%;
  background: var(--shu);
  box-shadow: inset 0 0 0 3px var(--shu), inset 0 0 0 5.5px #FFF7F2, 0 10px 24px -12px rgba(0, 0, 0, .5);
  filter: url(#press);
  transform: rotate(-12deg);
}
.seal-mark img { width: 58px; height: 58px; }
.seal-mark.is-armed { opacity: 0; transform: scale(1.8) rotate(-12deg); }
.seal-mark.is-stamped { opacity: 1; transform: rotate(-12deg); transition: transform .28s cubic-bezier(.3, 1.5, .5, 1), opacity .1s linear; }

/* The close: the ensō is brushed on, then the katana slides through it. */
.final__mark { justify-self: end; width: min(400px, 100%); aspect-ratio: 1; }
.final__mark img, .final__mark svg { display: block; width: 100%; height: 100%; }
.fm-paint { stroke-dasharray: 1; stroke-dashoffset: 1; }
.fm-sword { opacity: 0; }
.final__mark.is-in .fm-paint { animation: paint 1300ms var(--brush) 150ms forwards; }
.final__mark.is-in .fm-sword { animation: sword 380ms var(--cut-ease) 1350ms both; }

/* ---------- The Dojo: the brand's hall ----------
 * The one chapter where the samurai is at full strength: the ensō on the
 * wall, 道場 in brush, the calls as sparring cards, and the cut of the blade
 * when a call is graded. The app window inside is left exactly as it is. */

.dojo .frame { position: relative; }
.dojo__wall { position: absolute; top: 6%; right: -14vw; width: min(920px, 74vw); aspect-ratio: 1; opacity: .07; pointer-events: none; }
.dojo__wall img { width: 100%; height: 100%; }
.dojo__head { position: relative; margin-bottom: clamp(36px, 5vw, 56px); padding-right: clamp(80px, 12vw, 170px); }
.dojo__title .ln { display: block; }
.dojo__title .ln:first-child { font-size: clamp(4rem, 11vw, 9.6rem); line-height: .86; }
.dojo__title .ln:last-child { margin-top: 12px; font-size: clamp(1.9rem, 3.4vw, 3.1rem); }
.dojo__head .lead { margin-top: 18px; }
.dojo__kanji {
  position: absolute;
  top: -6px;
  right: 0;
  margin: 0;
  writing-mode: vertical-rl;
  font: 400 clamp(3.6rem, 8.6vw, 8rem)/1 "Yuji Syuku", "Hiragino Mincho ProN", serif;
  letter-spacing: .04em;
  color: var(--shu);
}
.dojo .tabs__tab { color: var(--on-night-2); }
.dojo .tabs__tab:hover { color: var(--on-night); }
.dojo .tabs__tab[aria-selected="true"] { color: var(--ink); }
.dojo .window--plain { border-color: transparent; box-shadow: var(--lift-dark); }
.dojo .panel { color: var(--ink); box-shadow: var(--lift-dark); border-color: transparent; }
.dojo .dojo__output { color: var(--ink); }
.dojo .field-label, .dojo .transcript__label { color: var(--ink-3); }
/* the blade cuts across the window when a call is graded */
.dojo__slash {
  position: absolute; left: 50%; top: 45%; z-index: 6;
  width: 150%; height: 2px; margin-left: -75%;
  background: #fff;
  box-shadow: 0 0 16px 3px rgba(240, 138, 110, .85);
  rotate: var(--blade-angle);
  scale: 0 1;
  opacity: 0;
  pointer-events: none;
}
.dojo__slash.is-cutting { animation: cut-light 620ms ease-out forwards; }
.dojo__wall.is-armed { opacity: 0; transform: scale(.94); }
.dojo__wall.is-in { opacity: .07; transform: none; transition: opacity 1.4s ease, transform 1.6s cubic-bezier(.2, .7, .2, 1); }

/* ---------- Responsive ---------- */

@media (max-width: 1180px) {
  .hero__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: 32px; }
  .hero__title { font-size: clamp(2.6rem, 4.8vw, 4rem); }
  .audience { margin-bottom: 22px; }
}

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__copy { max-width: 620px; }
  .hero__title { font-size: clamp(2.8rem, 9vw, 4.6rem); }
}

@media (max-width: 1040px) {
  .dojo__grid { grid-template-columns: minmax(0, 1fr); }
  .dojo__input { position: static; }
  .log { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 40px; }
  .log::before { display: none; }
  .log li::after { top: -14px; width: 26px; height: 3px; }
}

@media (max-width: 860px) {
  .samples { grid-template-columns: minmax(0, 1fr); }
  .nav__links { display: none; }
  .nav__actions { margin-left: auto; }
  .calc__grid, .founding__grid, .pricing__grid, .final__inner, .setup__body, .side, .split-head { grid-template-columns: minmax(0, 1fr); }
  .result-card, .stampcard, .price, .final__mark { margin-left: 0; justify-self: start; }
  .final__mark { width: min(260px, 70%); }
  .paths__grid { grid-template-columns: minmax(0, 1fr); }
  .kit__item { grid-template-columns: minmax(0, 1fr); }
  .kit__item .frag { grid-row: auto; }
  .kit__item > h3, .kit__item > p { grid-column: 1; }
  .hero__stage { padding-top: 0; }
  .rec { position: relative; left: auto; width: auto; margin: 0 28px -16px 0; }
  .log { grid-template-columns: minmax(0, 1fr); padding: 0 0 0 26px; row-gap: 0; }
  .log::before { display: block; right: auto; top: 6px; bottom: 30px; width: 2px; height: auto; transform-origin: top; transform: scaleY(var(--lp)); }
  .log li { padding-bottom: 34px; }
  .log li::after { left: -32px; top: 10px; width: 14px; height: 3px; }
  .log.is-armed li::after { transform: scaleX(0); }
  .log.is-armed li.is-lit::after { transform: scaleX(1); }
  .log .frag { max-width: 360px; }
}

@media (max-width: 640px) {
  :root { --cut-h: 28px; }
  .dojo__head { padding-right: 64px; }
  .dojo__kanji { font-size: 3.2rem; }
  .dojo__wall { top: 2%; right: -40vw; width: 120vw; }
  .seal-mark { right: 4px; bottom: -18px; width: 68px; height: 68px; }
  .seal-mark img { width: 46px; height: 46px; }
  .nav__login { display: none; }
  .hero__title { font-size: clamp(2.8rem, 13vw, 4rem); }
  .app__viewport { height: 560px; }
  .dojo__view { max-height: 560px; }
  .app__top { padding: 9px 14px 0; }
  .app__page { padding: 14px 14px 20px; }
  .takeaways { grid-template-columns: minmax(0, 1fr); }
  .timeline { padding: 16px 14px 14px; }
  .timeline__flag { position: static; max-width: none; margin-top: 12px; }
  .timeline__track { margin-bottom: 0; }
  .timeline__scale span:nth-child(2), .timeline__scale span:nth-child(4), .timeline__scale span:nth-child(5) { display: none; }
  .panel { padding: 16px 14px 20px; }
  .todo { padding: 4px 18px; }
  .stampcard { padding: 20px 14px 22px; }
  .seal { width: 52px; height: 52px; }
  .is-stamped .seal b { font-size: 1.2rem; }
  .price { padding: 28px 20px 24px; }
  .footer__grid { grid-template-columns: minmax(0, 1fr); }
  .footer__links { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .intro { display: none !important; }
}
