/* ==========================================================================
   KuduDoc v6 — one continuous page.
   No section paints a background: the fixed sky (sky.css/sky.js) is the only ground.
   One document (#doc) travels the whole page; app.js drives it with transform/opacity.
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: #06162a; }
body {
  margin: 0; background: var(--navy-950); color: var(--ink);
  font: 400 16px/1.6 var(--font-body); letter-spacing: -.005em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
code { font-family: var(--font-mono); }
.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 50; background: var(--white); color: var(--ink); padding: 10px 14px; border-radius: 10px; font-weight: 600; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 40px; }
main { position: relative; z-index: var(--z-content); }

/* no-JS: sections paint their own phase so the page stays readable without the sky */
html.no-js .sky { display: none; }
html.no-js [data-sky="dawn"], html.no-js [data-sky="morning"] { background: linear-gradient(180deg, #0a2340, #004e99); }
html.no-js [data-sky="ember"] { background: linear-gradient(180deg, #0a2340, #7a2a18); }
html.no-js [data-sky="day"] { background: var(--ground); }
html.no-js [data-sky="calm"] { background: #f6f7f9; }
html.no-js [data-sky="dusk"] { background: linear-gradient(180deg, #0a2340, #102d49); }

/* ------------------------------------------------------------------ type */
.slash { display: inline-block; width: 3px; height: 13px; margin-right: 10px; border-radius: 2px; background: var(--orange); transform: skewX(-14deg) translateY(1px); }
.eyebrow, .kicker {
  display: flex; align-items: center; font: 600 12.5px/1 var(--font-body); letter-spacing: .15em; text-transform: uppercase;
}
.kicker .num { display: inline-grid; place-items: center; min-width: 30px; height: 22px; margin-right: 12px; padding: 0 7px; border-radius: 999px; font: 700 11px/1 var(--font-body); letter-spacing: .04em; }
.h1 {
  font: 650 clamp(50px, 6.3vw, 94px)/.98 var(--font-display); letter-spacing: -.038em; color: var(--on-dark);
  margin-top: 26px; text-wrap: balance;
}
.h1-line { display: block; }
.h1 .w { display: inline-block; }
.w-work { background: linear-gradient(100deg, #4fb3ff 10%, #a9dcff 90%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .06em; }
.w-life { background: linear-gradient(100deg, #ffc15c 0%, #ff8a3d 55%, #ff5a2b 100%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .06em; }
.h2 { font: 650 clamp(34px, 3.5vw, 54px)/1.04 var(--font-display); letter-spacing: -.032em; text-wrap: balance; }
.h2 .soft { opacity: .62; }
.lede { font-size: 19.5px; line-height: 1.55; max-width: 540px; margin-top: 26px; }
.lead { font-size: 18px; line-height: 1.6; max-width: 560px; margin-top: 20px; }
.body { font-size: 15.5px; line-height: 1.65; max-width: 540px; margin-top: 18px; }
.note { font-size: 14px; margin-top: 16px; }
.fence { font-size: .9em; }
.lead .fence, .body .fence { display: inline; }
p.fence { font-size: 13.5px; line-height: 1.55; padding-left: 14px; border-left: 2px solid currentColor; }
.caption { font-size: 12px; line-height: 1.5; margin-top: 18px; color: var(--mute); }
.tlink { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; color: var(--blue); margin-top: 22px; }
.tlink span { transition: transform var(--t-hover) var(--ease); }
.tlink:hover span { transform: translateX(4px); }

/* tone: text colour follows the sky phase each block sits in (never animated) */
.fold, .on-dark, .close { color: var(--on-dark-2); }
.fold .h2, .on-dark .h2, .close .h2 { color: var(--on-dark); }
.fold .eyebrow, .on-dark .kicker, .close .kicker { color: var(--sky-200); }
.on-dark .kicker .num { background: rgba(79,179,255,.16); color: var(--sky-200); box-shadow: inset 0 0 0 1px rgba(79,179,255,.3); }
.on-dark .kicker .num-ember { background: rgba(255,118,43,.2); color: var(--orange); box-shadow: inset 0 0 0 1px rgba(255,150,90,.45); }
.on-dark .fence { color: rgba(226,238,250,.62); }
.on-dark p.fence { border-color: rgba(191,227,255,.35); }
.on-light, .check, .plans { color: var(--slate); }
.on-light .h2, .check .h2, .plans .h2 { color: var(--ink); }
.on-light .kicker, .check .kicker, .plans .kicker { color: var(--blue); }
.on-light .kicker .num, .check .kicker .num { background: var(--sky-100); color: var(--blue-700); box-shadow: inset 0 0 0 1px rgba(0,107,203,.14); }
.on-light .fence, .check .fence, .plans .fence { color: var(--mute); }
.plans p.fence { border-color: var(--line-cool); }
.ember-soft { color: var(--orange); }

/* ------------------------------------------------------------------ buttons */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 54px; padding: 0 28px; border-radius: var(--r-pill); font: 600 16px/1 var(--font-body); letter-spacing: -.01em;
  white-space: nowrap; transition: transform var(--t-hover) var(--ease);
  isolation: isolate;
}
.btn::after { content: ""; position: absolute; inset: 0; border-radius: inherit; opacity: 0; transition: opacity var(--t-hover) var(--ease); z-index: -1; }
.btn:hover { transform: translateY(-1px); }
.btn:hover::after { opacity: 1; }
.btn:active { transform: translateY(0) scale(.985); }
.btn-sm { height: 42px; padding: 0 20px; font-size: 14.5px; }
.btn-ember {
  color: #fff; background: linear-gradient(180deg, #ff8f45 0%, #ff6a30 55%, #ff5528 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), inset 0 -1px 0 rgba(160,40,10,.25), 0 1px 2px rgba(120,30,0,.25), 0 8px 22px -6px rgba(255,90,40,.55);
}
.btn-ember::after { box-shadow: 0 14px 34px -8px rgba(255,90,40,.7); }
.btn-ghost { color: var(--on-dark); box-shadow: inset 0 0 0 1.5px rgba(191,227,255,.42); }
.btn-ghost::after { background: rgba(191,227,255,.1); }
.btn-navy { color: #fff; background: var(--navy); box-shadow: 0 1px 2px rgba(16,45,73,.3), 0 8px 20px -8px rgba(16,45,73,.6); }
.btn-navy::after { background: #1a4068; }
.btn-line { color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-cool); background: var(--white); }
.btn-line::after { box-shadow: inset 0 0 0 1.5px var(--blue); }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

/* ------------------------------------------------------------------ fold */
.fold { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 120px 0 90px; }
.fold-grid { display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, 1fr); align-items: center; gap: 40px; }
.fold .eyebrow { color: var(--sky-200); }
.fold .lede { color: rgba(226,238,250,.8); }
.fold .note { color: rgba(226,238,250,.62); }
.fold-stage { position: relative; height: min(640px, 72vh); display: grid; place-items: center; }
.slot { position: relative; }
.slot-fold { width: min(420px, 34vw); aspect-ratio: 400 / 520; }
.scroll-cue { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; font: 600 12px/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: rgba(191,227,255,.7); }
.scroll-cue i { width: 1.5px; height: 36px; background: linear-gradient(180deg, rgba(191,227,255,.7), transparent); }

/* ------------------------------------------------------------------ journey: beats left, the document's stage right */
.journey { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.stage-col { grid-column: 2; grid-row: 1; position: relative; }
.stage { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; place-items: center; padding-top: 40px; }
.slot-stage { width: min(380px, 29vw); aspect-ratio: 400 / 520; transform: translateX(-4%); }
.beats { grid-column: 1; grid-row: 1; }
.beat { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 110px 0 90px; }
.beat-inner { width: 100%; max-width: 640px; margin-left: auto; padding: 0 56px 0 40px; }
@media (min-width: 1360px) { .beat-inner { margin-right: 0; padding-left: 0; max-width: 600px; } }
.beat-choose { min-height: 118vh; }
.beat-fig { display: none; }
.beat-qa { display: none; }

/* the chooser */
.chooser { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.chooser button {
  display: inline-flex; align-items: center; gap: 10px; height: 50px; padding: 0 20px 0 16px; border-radius: 999px;
  font: 600 15px/1 var(--font-body); color: var(--on-dark); background: rgba(191,227,255,.07);
  box-shadow: inset 0 0 0 1.5px rgba(191,227,255,.2);
  transition: transform var(--t-hover) var(--ease), background-color var(--t-hover) var(--ease), box-shadow var(--t-hover) var(--ease), color var(--t-hover) var(--ease);
}
.chooser button .icon { width: 19px; height: 19px; color: var(--sky); transition: color var(--t-hover) var(--ease); }
.chooser button:hover { transform: translateY(-2px); background: rgba(191,227,255,.13); box-shadow: inset 0 0 0 1.5px rgba(191,227,255,.4); }
.chooser button[aria-checked="true"] { background: var(--white); color: var(--ink); box-shadow: 0 10px 28px -10px rgba(79,179,255,.65), 0 0 0 4px rgba(79,179,255,.22); }
.chooser button[aria-checked="true"] .icon { color: var(--blue); }
.choose-panel {
  margin-top: 26px; padding: 22px 24px 20px; border-radius: 20px; max-width: 560px;
  background: linear-gradient(180deg, rgba(191,227,255,.09), rgba(191,227,255,.04)); box-shadow: inset 0 0 0 1px rgba(191,227,255,.14);
}
.cp-title { font: 500 14px/1.3 var(--font-body); color: rgba(226,238,250,.72); }
.cp-title b { color: var(--on-dark); font-weight: 650; }
.cp-list { display: grid; gap: 10px; margin-top: 14px; }
.cp-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 15.5px; line-height: 1.45; color: var(--on-dark); }
.cp-list .icon { width: 18px; height: 18px; margin-top: 1px; color: var(--sky); }
.cp-list li span, .choose-panel [data-v] { transition: opacity 180ms var(--ease); }
.is-swapping .choose-panel [data-v] { opacity: 0; }
.cp-fence { margin-top: 14px; }

/* tile chips — the same parts the wall lights up later */
.tchips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.tchips li { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px 0 11px; border-radius: 10px; font: 500 13.5px/1 var(--font-body); }
.tchips .icon { width: 17px; height: 17px; }
.on-dark .tchips li { color: var(--on-dark); background: rgba(191,227,255,.07); box-shadow: inset 0 0 0 1px rgba(191,227,255,.16); }
.on-dark .tchips .icon { color: var(--sky); }
.beat-seal .tchips .icon { color: var(--orange); }
.on-light .tchips li { color: var(--ink-2); background: rgba(255,255,255,.75); box-shadow: inset 0 0 0 1px var(--line), 0 1px 2px rgba(16,45,73,.04); }
.on-light .tchips .icon { color: var(--blue); }

/* ==================================================================
   THE TRAVELLING DOCUMENT — authored at 400 x 520, scaled by app.js
   ================================================================== */
.doc-layer { position: fixed; inset: 0; z-index: var(--z-doc); pointer-events: none; }
.traveller { position: absolute; left: 0; top: 0; width: 400px; height: 520px; transform-origin: 50% 50%; }
.slot > .traveller { position: absolute; left: 50%; top: 50%; margin: -260px 0 0 -200px; transform: scale(var(--fit, 1)); }
.doc-layer .traveller { will-change: transform, opacity; margin: 0; }
.tv-body { position: absolute; inset: 0; transition: transform 700ms var(--ease); }
.traveller.b0 .tv-body { transform: perspective(1400px) rotateX(calc(var(--py, 0) * -4deg)) rotateY(calc(var(--px, 0) * 6deg)); }

.tv-glow { position: absolute; inset: -34% -40%; pointer-events: none; }
.tv-glow::before, .tv-glow::after { content: ""; position: absolute; inset: 0; border-radius: 50%; transition: opacity 900ms var(--ease); }
.tv-glow::before { background: radial-gradient(closest-side, rgba(79,179,255,.34), rgba(79,179,255,.1) 55%, transparent 72%); }
.tv-glow::after { background: radial-gradient(closest-side, rgba(255,118,43,.55), rgba(255,77,43,.16) 50%, transparent 72%); opacity: 0; }
.traveller.b3 .tv-glow::after { opacity: 1; }
.traveller.b3 .tv-glow::before { opacity: 0; }
.traveller[data-tone="light"] .tv-glow::before { opacity: .45; }
.traveller.s7 .tv-glow { opacity: 0; }

/* the page */
.tv-page {
  position: absolute; inset: 0; overflow: hidden; padding: 30px 30px 26px; border-radius: 14px; color: var(--ink);
  background: linear-gradient(180deg, #fffefb 0%, #fffcf6 60%, #fbf7ef 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.95), inset 0 0 0 1px rgba(16,45,73,.05), 0 1px 2px rgba(6,22,42,.12), 0 12px 28px -6px rgba(6,22,42,.2), 0 40px 80px -16px rgba(6,22,42,.3);
  transition: transform 800ms var(--ease);
}
.tv-page > * { transition: opacity 200ms var(--ease); }
.is-swapping .tv-page > *:not(.tv-sweep) { opacity: 0; }
.tv-head { display: flex; align-items: center; justify-content: space-between; height: 22px; }
.tv-kicker { display: flex; align-items: center; font: 600 10px/1 var(--font-body); letter-spacing: .15em; text-transform: uppercase; color: var(--blue); }
.tv-kicker .slash { height: 11px; margin-right: 8px; }
.tv-chips { position: relative; width: 190px; height: 22px; }
.chip { position: absolute; right: 0; top: 0; height: 22px; padding: 0 10px; display: inline-flex; align-items: center; border-radius: 999px; font: 600 10px/1 var(--font-body); white-space: nowrap; transition: opacity 360ms var(--ease), transform 360ms var(--ease); }
.chip-wait { background: var(--sky-100); color: var(--blue-700); }
.chip-sealed { background: var(--peach); color: var(--orange); font-weight: 700; box-shadow: inset 0 0 0 1px rgba(255,118,43,.4); opacity: 0; transform: translateY(6px); }
.chip-file { right: 64px; background: var(--ice); color: var(--navy); box-shadow: inset 0 0 0 1px rgba(0,107,203,.12); opacity: 0; transform: translateY(6px); }
.traveller.s2 .chip-wait { opacity: 0; transform: translateY(-6px); transition-delay: 1300ms; }
.traveller.s3 .chip-wait { transition-delay: 0ms; }
.traveller.s3 .chip-sealed { opacity: 1; transform: none; transition-delay: 1100ms; }
.traveller.s4 .chip-sealed { transition-delay: 0ms; }
.traveller.s4 .chip-file { opacity: 1; transform: none; transition-delay: 300ms; }
.tv-title { margin-top: 18px; font: 700 22px/1.15 var(--font-display); letter-spacing: -.022em; color: var(--ink); }
.tv-sub { margin-top: 7px; font-size: 11px; line-height: 1.4; color: var(--slate); }
.tv-text { margin-top: 14px; }
.tv-text i { display: block; height: 6px; margin-top: 9px; border-radius: 3px; background: #ebe6dc; }
.tv-clause { position: relative; margin-top: 16px; padding: 8px 10px 8px 12px; font-size: 10.5px; line-height: 1.5; color: var(--ink-2); border-radius: 7px; isolation: isolate; }
.tv-clause::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--sky-100); z-index: -1; transform: scaleX(0); transform-origin: left center; transition: transform 700ms var(--ease); }
.tv-clause::after { content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 2px; border-radius: 2px; background: var(--blue); opacity: 0; transition: opacity 400ms var(--ease); }
.tv-clause b { color: var(--ink); }
.traveller.b6 .tv-clause::before { transform: scaleX(1); transition-delay: 1500ms; }
.traveller.b6 .tv-clause::after { opacity: 1; transition-delay: 1700ms; }

/* signatures: ink revealed by a paper-coloured cover sliding away (transform only) */
.tv-sigs { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 18px; }
.tv-ink { position: relative; height: 40px; overflow: hidden; }
.tv-ink svg { width: 130px; height: 40px; fill: none; stroke: #1f3f86; stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; }
.tv-cover { position: absolute; inset: -2px; background: #fffcf6; transform: translateX(0); transition: transform 950ms var(--ease-io); }
.traveller.s2 .tv-sig-1 .tv-cover { transform: translateX(102%); transition-delay: 250ms; }
.traveller.s2 .tv-sig-2 .tv-cover { transform: translateX(102%); transition-delay: 1150ms; }
.tv-sigline { display: flex; flex-direction: column; gap: 3px; padding-top: 6px; border-top: 1px solid #d8d0c2; font-size: 10px; color: var(--ink-2); }
.tv-sigline em { font-style: normal; font-weight: 700; color: var(--blue); margin-right: 3px; }
.tv-sigline small { font-size: 9px; color: var(--mute); opacity: 0; transition: opacity 400ms var(--ease); }
.traveller.s2 .tv-sig-1 small { opacity: 1; transition-delay: 1100ms; }
.traveller.s2 .tv-sig-2 small { opacity: 1; transition-delay: 2000ms; }
.tv-nosign { display: none; grid-column: 1 / -1; padding: 12px 14px; border-radius: 8px; background: #f4f0e8; font-size: 10.5px; color: var(--slate); }
.traveller[data-doc="id"] .tv-sig { display: none; }
.traveller[data-doc="id"] .tv-nosign { display: block; }

.tv-print { margin-top: 16px; }
.tv-fp { position: relative; display: inline-block; overflow: hidden; font: 500 9px/1.4 var(--font-mono); color: var(--slate); padding-right: 2px; }
.tv-fp b { font-family: var(--font-body); font-weight: 700; color: var(--orange); margin-right: 4px; letter-spacing: .04em; }
.tv-fp-cover { position: absolute; inset: 0; background: #fcf9f2; transition: transform 900ms var(--ease-io); }
.traveller.s3 .tv-fp-cover { transform: translateX(101%); transition-delay: 700ms; }

/* the seal stamp: a round rubber seal in the one orange, the KuduDoc mark at its centre, "Sealed · KuduDoc"
   round the top, the kdid round the bottom, "Anchor pending" under the mark. It slams on at the seal. */
.tv-stamp { position: absolute; right: 16px; bottom: 11px; width: 94px; height: 94px; transform: rotate(-11deg); }
.tv-stamp-in { display: block; width: 100%; height: 100%; opacity: 0; transform: scale(1.7);
  transition: opacity 220ms var(--ease), transform 520ms cubic-bezier(.3, 1.45, .45, 1); }
.tv-seal { display: block; width: 100%; height: 100%; overflow: visible; color: var(--orange); }
.tv-seal .sl-disc { fill: rgba(255, 118, 43, .06); stroke: currentColor; stroke-width: 2.6; }
.tv-seal .sl-thin { fill: none; stroke: currentColor; stroke-width: 1; opacity: .85; }
.tv-seal .sl-top { font: 800 9.4px/1 var(--font-display); letter-spacing: .2em; fill: currentColor; }
.tv-seal .sl-bot { font: 600 6.3px/1 var(--font-mono); letter-spacing: .02em; fill: currentColor; }
.tv-seal .sl-note { font: 700 5.6px/1 var(--font-body); letter-spacing: .16em; fill: currentColor; }
.tv-seal .sl-mark { fill: none; stroke: currentColor; stroke-width: 6.5; stroke-linecap: round; }
.traveller.s3 .tv-stamp-in { opacity: 1; transform: none; transition-delay: 1150ms, 1150ms; }

.tv-sweep {
  position: absolute; left: -10%; right: -10%; top: 0; height: 150px; pointer-events: none; opacity: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(255,179,71,.0) 18%, rgba(255,118,43,.28) 40%, rgba(255,247,232,.95) 50%, rgba(255,77,43,.3) 60%, transparent 82%);
  transform: translateY(-160px);
}
.traveller.is-sweeping .tv-sweep { animation: tv-sweep 1250ms var(--ease-io) both; }
@keyframes tv-sweep { 0% { opacity: 0; transform: translateY(-160px); } 15% { opacity: 1; } 85% { opacity: 1; } 100% { opacity: 0; transform: translateY(560px); } }

/* Library tab — appears when the document is filed */
.tv-tab {
  position: absolute; left: 22px; top: -25px; height: 34px; padding: 8px 14px 0; border-radius: 10px 10px 0 0; display: flex; gap: 7px;
  font: 500 10.5px/1.2 var(--font-body); color: var(--slate); background: linear-gradient(180deg, #e6f2ff, #dcecfd);
  box-shadow: inset 0 1px 0 #fff, 0 -2px 10px -4px rgba(6,22,42,.2);
  opacity: 0; transform: translateY(16px); transition: opacity 400ms var(--ease), transform 600ms var(--ease);
}
.tv-tab i { font-style: normal; color: var(--mute); }
.tv-tab b { color: var(--navy); font-weight: 650; }
.traveller.s4 .tv-tab { opacity: 1; transform: none; transition-delay: 150ms; }

/* certificate page — slides out beside the page at the seal */
.tv-cert {
  position: absolute; inset: 0; padding: 26px 22px 22px 46%; border-radius: 14px; color: var(--ink);
  background: linear-gradient(180deg, #fffaf4, #fff3e8);
  box-shadow: inset 0 0 0 1px rgba(255,118,43,.18), 0 10px 30px -8px rgba(6,22,42,.3);
  opacity: 0; transform: translate(8px, 8px) rotate(1deg) scale(.98);
  transition: opacity 500ms var(--ease), transform 900ms var(--ease);
}
.tvx-head { display: flex; align-items: center; gap: 8px; font: 700 13px/1.2 var(--font-display); color: var(--orange); }
.tvx-mark { width: 16px; height: 16px; background: url(../../assets/brand/mark-skew-sky-ember.svg?v=459efc98e0) center / contain no-repeat; }
.tvx-row { display: grid; gap: 2px; margin-top: 13px; padding-top: 10px; border-top: 1px solid rgba(255,118,43,.18); font-size: 9.5px; color: var(--slate); }
.tvx-row b, .tvx-row code { font-size: 10px; color: var(--ink); font-weight: 600; word-break: break-all; }
.tvx-row code { font-size: 8.6px; font-weight: 500; }
.tvx-pending { color: var(--orange) !important; }
.tvx-disc { margin-top: 14px; font-size: 8.4px; line-height: 1.45; color: var(--mute); }
.traveller.b3 .tv-cert { opacity: 1; transform: translate(40%, 3%) rotate(4deg); transition-delay: 1500ms, 1500ms; }
.traveller.b3 .tv-page { transform: translateX(-16%) rotate(-1.5deg); transition-delay: 1500ms; }
.traveller.s4 .tv-cert { opacity: 1; transform: translate(9px, 7px) rotate(1.4deg) scale(.985); }

/* companion records — the floating records in the fold, fanned beside it when filed */
.tv-comp {
  position: absolute; left: 50%; top: 50%; width: 236px; height: 300px; margin: -150px 0 0 -118px; padding: 20px 20px 18px; border-radius: 12px; color: var(--ink);
  background: linear-gradient(180deg, #ffffff, #fbf8f2);
  box-shadow: inset 0 0 0 1px rgba(16,45,73,.05), 0 1px 2px rgba(6,22,42,.1), 0 16px 36px -10px rgba(6,22,42,.32);
  transition: transform 1000ms var(--ease), opacity 600ms var(--ease);
}
.tvc-kick { font: 600 8.5px/1 var(--font-body); letter-spacing: .15em; text-transform: uppercase; color: var(--blue); }
.tvc-title { margin-top: 10px; font: 700 15.5px/1.2 var(--font-display); letter-spacing: -.015em; }
.tv-comp > i { display: block; height: 5px; margin-top: 10px; border-radius: 3px; background: #ece7dd; }
.tv-comp > i:first-of-type { margin-top: 16px; }
.tv-comp > i.s { width: 58%; }
.tvc-mark { position: absolute; right: 16px; bottom: 14px; width: 26px; height: 24px; background: url(../../assets/brand/mark-skew.svg?v=552ffa5be1) center / contain no-repeat; opacity: .8; }
/* s0: floating around the lease (pointer parallax on top) */
.tv-comp-1 { transform: translate(calc(-100% + var(--px, 0) * -14px), calc(42% + var(--py, 0) * -10px)) rotate(-11deg); }
.tv-comp-2 { transform: translate(calc(58% + var(--px, 0) * 12px), calc(-76% + var(--py, 0) * 9px)) rotate(8deg) scale(.88); }
/* choose..seal: tucked away behind the page */
.traveller.s1 .tv-comp { opacity: 0; transform: translate(0, 0) rotate(0) scale(.9); }
/* filed: fanned out beside it */
.traveller.b4 .tv-comp { opacity: 1; }
.traveller.b4 .tv-comp-1 { transform: translate(-78%, -18%) rotate(-10deg); transition-delay: 350ms; }
.traveller.b4 .tv-comp-2 { transform: translate(-66%, 26%) rotate(-4deg); transition-delay: 500ms; }
/* after: kept in the collection, edges peeking */
.traveller.s5 .tv-comp { opacity: 1; }
.traveller.s5 .tv-comp-1 { transform: translate(-22%, -3%) rotate(-5deg); }
.traveller.s5 .tv-comp-2 { transform: translate(-17%, 6%) rotate(-2.5deg); }
.traveller.s7 .tv-comp { opacity: 0; }
.traveller.b9 .tv-comp { opacity: 1; }

/* renewal tag — clips on at watch */
.tv-tag {
  position: absolute; right: -48px; top: -100px; width: 184px; padding: 22px 14px 13px; border-radius: 13px;
  background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px rgba(16,45,73,.07), 0 2px 4px rgba(6,22,42,.08), 0 18px 36px -10px rgba(6,22,42,.3);
  transform-origin: 50% -6px; opacity: 0; transform: rotate(-38deg) translateY(-24px);
  transition: opacity 300ms var(--ease), transform 900ms cubic-bezier(.3, 1.35, .45, 1);
}
.tv-tag-hole { position: absolute; left: 50%; top: 8px; width: 9px; height: 9px; margin-left: -4.5px; border-radius: 50%; background: var(--ground-2); box-shadow: inset 0 1px 2px rgba(6,22,42,.25); }
.tv-tag small { display: block; font: 700 9px/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.tv-tag b { display: block; margin-top: 6px; font: 700 15.5px/1.15 var(--font-display); letter-spacing: -.015em; white-space: nowrap; }
.tv-dots { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin-top: 10px; }
.tv-dots i { display: grid; place-items: center; min-width: 24px; height: 20px; padding: 0 5px; border-radius: 6px; font: 700 9.5px/1 var(--font-body); font-style: normal; color: var(--blue-700); background: var(--sky-100); transition: background-color 300ms var(--ease), color 300ms var(--ease); }
.tv-dots em { flex-basis: 100%; margin-top: 3px; font: 500 8.5px/1 var(--font-body); font-style: normal; color: var(--mute); }
.traveller.s5 .tv-tag { opacity: 1; transform: rotate(-5deg); transition-delay: 200ms; }
.traveller.b5 .tv-dots i { background: var(--blue); color: #fff; }
.traveller.b5 .tv-dots i:nth-child(1) { transition-delay: 900ms; }
.traveller.b5 .tv-dots i:nth-child(2) { transition-delay: 1050ms; }
.traveller.b5 .tv-dots i:nth-child(3) { transition-delay: 1200ms; }
.traveller.b5 .tv-dots i:nth-child(4) { transition-delay: 1350ms; }
.traveller.s7 .tv-tag { opacity: 0; }
.traveller.b9 .tv-tag { opacity: 1; transform: rotate(-5deg); }

/* question and cited answer */
.tv-q, .tv-a { position: absolute; display: grid; gap: 6px; opacity: 0; transform: translateY(14px) scale(.96); transition: opacity 360ms var(--ease), transform 560ms var(--ease); }
.tv-q { left: -168px; top: 128px; width: 232px; padding: 13px 16px 14px; border-radius: 18px 18px 18px 5px; background: var(--navy); color: #fff; font: 500 13.5px/1.4 var(--font-body); box-shadow: 0 18px 40px -14px rgba(6,22,42,.55); transform-origin: 0 100%; }
.tv-q-who, .tv-a-who { display: flex; align-items: center; gap: 6px; font: 700 8.5px/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; }
.tv-q-who { color: var(--sky); }
.tv-a { left: -136px; top: 236px; width: 272px; padding: 14px 16px 14px; border-radius: 18px 18px 5px 18px; background: #fff; color: var(--ink); font: 500 13.5px/1.45 var(--font-body); box-shadow: inset 0 0 0 1px rgba(16,45,73,.07), 0 22px 48px -14px rgba(6,22,42,.35); transform-origin: 100% 100%; }
.tv-a-who { color: var(--blue); }
.tv-a-mark { width: 13px; height: 12px; background: url(../../assets/brand/mark-skew.svg?v=552ffa5be1) center / contain no-repeat; }
.tv-cite { display: inline-flex; align-items: center; gap: 6px; justify-self: start; height: 24px; padding: 0 10px; border-radius: 8px; background: var(--sky-100); color: var(--blue-700); font: 600 11px/1 var(--font-body); }
.tv-cite .icon { width: 13px; height: 13px; }
.traveller.b6 .tv-q { opacity: 1; transform: none; transition-delay: 150ms; }
.traveller.b6 .tv-a { opacity: 1; transform: none; transition-delay: 950ms; }

.tv-label { position: absolute; left: -40px; right: -40px; top: calc(100% + 26px); text-align: center; font-size: 11px; color: rgba(226,238,250,.55); transition: opacity 300ms var(--ease); }
.traveller[data-tone="light"] .tv-label { color: var(--mute); }
.traveller.b3 .tv-label, .traveller.s7 .tv-label { opacity: 0; }

/* ------------------------------------------------------------------ check */
.check { position: relative; padding: 150px 0 60px; }
.check-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.check-copy { max-width: 560px; }
.states { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.states button {
  display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px 0 12px; border-radius: 999px;
  font: 600 14px/1 var(--font-body); color: var(--ink-2); background: rgba(255,255,255,.7); box-shadow: inset 0 0 0 1px var(--line-cool);
  transition: transform var(--t-hover) var(--ease), box-shadow var(--t-hover) var(--ease), background-color var(--t-hover) var(--ease);
}
.states button:hover { transform: translateY(-1px); box-shadow: inset 0 0 0 1px #b8c7d8; }
.states .icon { width: 18px; height: 18px; }
.states [data-state="unchanged"] .icon { color: var(--blue); }
.states [data-state="changed"] .icon { color: var(--ember); }
.states [data-state="none"] .icon { color: var(--slate); }
.states button[aria-checked="true"] { background: var(--white); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink), 0 8px 20px -10px rgba(16,45,73,.35); }
.state-lines { position: relative; margin-top: 18px; min-height: 76px; max-width: 520px; }
.state-line { position: absolute; left: 0; right: 0; top: 0; font-size: 15px; line-height: 1.55; color: var(--slate); opacity: 0; transform: translateY(6px); transition: opacity 240ms var(--ease), transform 320ms var(--ease); }
.state-line b { color: var(--ink); font-weight: 650; }
.state-line.is-on { opacity: 1; transform: none; position: relative; }
.check-stage { position: relative; display: grid; justify-items: center; }
.check-stage .caption { text-align: center; max-width: 360px; }
.phone-fallback { width: 300px; height: 620px; border-radius: 48px; background: #13263b; display: grid; place-items: start center; padding-top: 170px; }
.pf-drop { width: 66px; height: 86px; border-radius: 6px; border: 1.5px dashed #6d8aa8; }
.facts {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 16px; max-width: 1100px; margin: 110px auto 0; padding: 22px 40px 0;
  font-size: 13.5px; line-height: 1.5; color: var(--slate); border-top: 1px solid rgba(16,45,73,.09);
}
.facts i { width: 2px; height: 11px; border-radius: 2px; background: var(--orange); transform: skewX(-14deg); opacity: .8; }

/* ------------------------------------------------------------------ plans */
.plans { position: relative; padding: 140px 0 150px; }
.plans-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.bill { position: relative; display: inline-flex; flex: none; padding: 4px; border-radius: 999px; background: rgba(255,255,255,.8); box-shadow: inset 0 0 0 1px var(--line-cool); isolation: isolate; }
.bill button { position: relative; z-index: 1; width: 104px; height: 40px; border-radius: 999px; font: 600 14px/1 var(--font-body); color: var(--slate); transition: color 200ms var(--ease); }
.bill button[aria-checked="true"] { color: #fff; }
.bill-knob { position: absolute; left: 4px; top: 4px; width: 104px; height: 40px; border-radius: 999px; background: var(--navy); box-shadow: 0 6px 16px -6px rgba(16,45,73,.5); transition: transform 320ms var(--ease); }
.plans[data-bill="y"] .bill-knob { transform: translateX(104px); }
.plan-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 54px; }
.plan {
  position: relative; display: flex; flex-direction: column; padding: 28px 24px 24px; border-radius: 22px; color: var(--slate);
  background: linear-gradient(180deg, #ffffff, #fdfcf9); box-shadow: inset 0 0 0 1px rgba(16,45,73,.07), 0 1px 2px rgba(16,45,73,.05), 0 16px 40px -22px rgba(16,45,73,.3);
  transition: transform 200ms var(--ease), box-shadow 200ms var(--ease);
}
.plan:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px rgba(16,45,73,.1), 0 2px 4px rgba(16,45,73,.05), 0 26px 50px -22px rgba(16,45,73,.4); }
.plan h3 { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font: 700 21px/1.2 var(--font-display); letter-spacing: -.02em; color: var(--ink); }
.pchip { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: 999px; font: 600 11px/1 var(--font-body); letter-spacing: 0; color: var(--blue-700); background: var(--sky-100); }
.plan-for { margin-top: 8px; font-size: 14px; line-height: 1.45; min-height: 42px; }
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; margin-top: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.price b { font: 700 40px/1 var(--font-display); letter-spacing: -.035em; color: var(--ink); }
.price .per { flex-basis: 100%; font-size: 13px; color: var(--slate); }
.pp { display: inline-grid; vertical-align: baseline; }
.pp > * { grid-area: 1 / 1; transition: opacity 260ms var(--ease), transform 420ms var(--ease); }
.pp > .py { opacity: 0; transform: translateY(10px); }
.plans[data-bill="y"] .pp > .pm { opacity: 0; transform: translateY(-10px); }
.plans[data-bill="y"] .pp > .py { opacity: 1; transform: none; }
.plan ul { display: grid; gap: 10px; margin: 20px 0 26px; font-size: 14px; line-height: 1.45; color: var(--ink-2); }
.plan li { position: relative; padding-left: 20px; }
.plan li::before { content: ""; position: absolute; left: 4px; top: 4px; width: 3px; height: 13px; border-radius: 2px; background: var(--sky); transform: skewX(-14deg) rotate(-8deg); }
.plan .btn { margin-top: auto; height: 48px; font-size: 15px; }
.plan-fence { margin: -8px 0 20px; padding-left: 10px; border-left: 2px solid var(--line-cool); font-size: 11.5px; line-height: 1.5; color: var(--mute); }
.plan ul + .btn { margin-top: auto; }
.plan-fit { position: absolute; left: 24px; top: -12px; height: 24px; line-height: 24px; padding: 0 11px; display: none; border-radius: 999px; font: 600 11.5px/24px var(--font-body); color: #fff; background: var(--blue); box-shadow: 0 6px 14px -6px rgba(0,107,203,.6); }
.plan.is-fit { box-shadow: inset 0 0 0 1.5px var(--blue), 0 20px 44px -22px rgba(0,107,203,.45); }
.plan.is-fit .plan-fit { display: inline-block; }
.enterprise { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 18px; padding: 20px 26px; border-radius: 18px; background: rgba(255,255,255,.55); box-shadow: inset 0 0 0 1px rgba(16,45,73,.07); }
.enterprise p { font-size: 15px; line-height: 1.5; color: var(--slate); }
.enterprise b { font: 700 16px/1 var(--font-display); color: var(--ink); margin-right: 10px; }
.enterprise .tlink { margin-top: 0; flex: none; }
.plan-fences { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 34px; }

/* ------------------------------------------------------------------ close + footer (dusk) */
.close { position: relative; padding: 150px 0 0; }
.close-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 40px; align-items: center; min-height: 64vh; }
.h-close { margin-top: 22px; font: 650 clamp(40px, 4.6vw, 72px)/1.02 var(--font-display); letter-spacing: -.035em; color: var(--on-dark); text-wrap: balance; }
.h-close span { display: block; background: linear-gradient(100deg, #ffc15c, #ff7a3a); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .06em; }
.close .note { color: rgba(226,238,250,.6); }
.close-stage { display: grid; place-items: center; min-height: 520px; }
.slot-close { width: min(330px, 26vw); aspect-ratio: 400 / 520; }


/* ------------------------------------------------------------------ entrance reveals: once, staggered */
.js .rv { opacity: 0; transform: translateY(18px); transition: opacity 620ms var(--ease), transform 720ms var(--ease); transition-delay: calc(var(--i, 0) * var(--stagger)); }
.js .rv.in { opacity: var(--fade, 1); transform: none; }
.js .h1 .w { opacity: 0; transform: translateY(.42em); transition: opacity 700ms var(--ease), transform 800ms var(--ease); transition-delay: calc(120ms + var(--i, 0) * var(--stagger)); }
.js.ready .h1 .w { opacity: 1; transform: none; }

/* ------------------------------------------------------------------ reduced motion: every settled state, nothing moves */
.rm .stage-col { display: none; }
.rm .journey { grid-template-columns: 1fr; }
.rm .beats { grid-column: 1; }
.rm .beat { min-height: 0; padding: 110px 0; }
.rm .beat-inner { max-width: 1280px; margin: 0 auto; padding: 0 40px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 56px; align-items: center; }
.rm .beat-inner > :not(.beat-fig) { grid-column: 1; }
.rm .beat-fig { display: grid; place-items: center; grid-column: 2; grid-row: 1 / span 8; min-height: 560px; }
.rm .beat-fig .traveller { position: relative; }
.rm .beat-qa { display: none; }
.rm *, .rm *::before, .rm *::after { transition-duration: 0ms !important; transition-delay: 0ms !important; animation: none !important; }
.rm .rv, .rm .h1 .w { opacity: 1 !important; transform: none !important; }

.beat-qa { gap: 10px; margin-top: 22px; max-width: 460px; }
.bq-q, .bq-a { display: grid; gap: 5px; padding: 13px 16px; border-radius: 16px; font-size: 14.5px; line-height: 1.45; }
.bq-q { background: var(--navy); color: #fff; border-bottom-left-radius: 5px; justify-self: start; }
.bq-a { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); border-bottom-right-radius: 5px; }
.bq-q small, .bq-a small { font: 700 9px/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--sky); }
.bq-a small { color: var(--blue); }
.bq-a em { justify-self: start; font-style: normal; font-size: 12px; font-weight: 600; color: var(--blue-700); background: var(--sky-100); padding: 4px 9px; border-radius: 7px; }

/* ------------------------------------------------------------------ responsive */
@media (max-width: 1180px) {
  .tv-comp-1 { transform: translate(calc(-66% + var(--px, 0) * -14px), calc(62% + var(--py, 0) * -10px)) rotate(-11deg) scale(.92); }
  .plan-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .beat-inner { padding: 0 36px 0 32px; }
}
@media (max-width: 980px) {
  .wrap { padding: 0 28px; }
  .fold-grid { grid-template-columns: 1fr; }
  .fold-stage { height: 520px; }
  .slot-fold { width: 330px; }
  .check-grid, .close-grid { grid-template-columns: 1fr; }
  .plan-fences { grid-template-columns: 1fr; }
  .plans-head { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 900px) {
  /* the stage docks at the top; beats scroll underneath it */
  .journey { grid-template-columns: 1fr; }
  .stage-col { grid-column: 1; }
  .stage { top: 0; height: 42vh; height: 42svh; padding-top: 70px; align-items: center; }
  .slot-stage { width: min(150px, 36vw); transform: none; }
  .beats { grid-column: 1; }
  .beat { min-height: 100svh; align-items: flex-start; padding: 46svh 0 64px; }
  .beat-choose { min-height: 100svh; padding-top: 46svh; }
  .beat-inner > * { opacity: var(--fade, 1); }
  .tv-label { display: none; }
  .beat-inner { padding: 0 22px; max-width: 640px; margin: 0 auto; }
  .tv-q, .tv-a { display: none; }
  .beat-qa { display: grid; }
  .rm .beat-inner { grid-template-columns: 1fr; padding: 0 22px; }
  .rm .beat-fig { grid-column: 1; grid-row: auto; min-height: 380px; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 20px; }
  .fold { padding: 100px 0 70px; }
  .h1 { font-size: clamp(42px, 12.4vw, 60px); }
  .lede { font-size: 17.5px; }
  .fold-stage { height: 420px; }
  .slot-fold { width: 240px; }
  .btn { height: 50px; padding: 0 22px; }
  .h2 { font-size: clamp(30px, 8.6vw, 40px); }
  .lead { font-size: 16.5px; }
  .chooser button { height: 44px; padding: 0 15px 0 12px; font-size: 14px; }
  .plan-grid { grid-template-columns: 1fr; }
  .enterprise { flex-direction: column; align-items: flex-start; }
  .check { padding-top: 110px; }
  .facts { padding: 22px 20px 0; margin-top: 80px; }
  .facts i { display: none; }
  .facts span { flex-basis: 100%; text-align: center; }
  .bill button { width: 92px; }
  .bill-knob { width: 92px; }
  .plans[data-bill="y"] .bill-knob { transform: translateX(92px); }
  .close-stage { min-height: 380px; }
  .slot-close { width: 230px; }
  .scroll-cue { display: none; }
}

/* the chips are links to the part of KuduDoc they name (the same place its wall tile opens) */
.tchips a { display: inline-flex; align-items: center; gap: 8px; color: inherit; text-decoration: none; height: 100%; }
.tchips li { transition: box-shadow var(--t-hover) var(--ease), transform var(--t-hover) var(--ease); }
.tchips li:has(a:hover), .tchips li:has(a:focus-visible) { transform: translateY(-1px); }
.on-dark .tchips li:has(a:hover) { box-shadow: inset 0 0 0 1px rgba(191,227,255,.5); }
.on-light .tchips li:has(a:hover) { box-shadow: inset 0 0 0 1px var(--blue), 0 4px 12px -6px rgba(16,45,73,.3); }
.tchips a:focus-visible { outline-offset: 5px; }

/* ------------------------------------------------------------------ text links inside running copy (SEO wording pass, 27 Sep 2026) */
.inl { font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; transition: color var(--t-hover) var(--ease), text-decoration-color var(--t-hover) var(--ease); }
.inl:hover, .inl:focus-visible { text-decoration-color: currentColor; }
.on-dark .inl { color: var(--on-dark); text-decoration-color: rgba(191,227,255,.34); }
.plans .inl, .on-light .inl { color: var(--blue); text-decoration-color: rgba(0,107,203,.28); }
.plans .inl:hover { color: var(--blue-700); }
/* the chooser's static line: the four solution pages, for readers and crawlers the panel script never reaches */
.cp-more { display: grid; grid-template-columns: repeat(2, max-content); gap: 8px 28px; max-width: 560px; margin-top: 18px; font-size: 14px; line-height: 1.45; }
.cp-more > span { grid-column: 1 / -1; color: rgba(226,238,250,.62); }
@media (max-width: 640px) { .cp-more { grid-template-columns: minmax(0, 1fr); gap: 8px; } }
