/* ==========================================================================
   Paperlane home — "the lane"
   An outcome-led, scroll-told homepage. Colours come from the app's own
   pastel palette (mobile/src/theme.ts) via tokens.css, in light and dark.
   Everything degrades to a readable static page without JS or motion.
   ========================================================================== */

.lane-page {
  --sheet: #fffefb;
  --sheet-ink: #29242d;
  --sheet-soft: #6d6672;
  --board: #15181c;
  --board-line: #2b3138;
  --radius-xl: 28px;
  --ease-out: cubic-bezier(.2, .8, .2, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  overflow-x: clip;
}
@supports (color: light-dark(white, black)) {
  .lane-page { --sheet: light-dark(#fffefb, #ebe7df); }
}
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.lane-page .site-header { position: relative; z-index: 30; }
.lane-page h2 em, .lane-page h3 em, .lane-page h1 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.03em;
  font-variation-settings: "SOFT" 100, "WONK" 1;
}
.lane-page .eyebrow { font-family: var(--font-sans); }

/* Shared tone helpers (pastel surfaces + matching ink) */
.t-peach { --tone: var(--peach); --tone-strong: var(--peach-strong); --tone-ink: var(--peach-ink); }
.t-butter { --tone: var(--butter); --tone-strong: var(--butter-strong); --tone-ink: var(--butter-ink); }
.t-blue { --tone: var(--blue); --tone-strong: var(--blue-strong); --tone-ink: var(--blue-ink); }
.t-lavender { --tone: var(--lavender); --tone-strong: var(--lavender-strong); --tone-ink: var(--lavender-ink); }
.t-mint { --tone: var(--mint); --tone-strong: var(--mint-strong); --tone-ink: var(--green-ink); }
.t-pink { --tone: var(--pink); --tone-strong: var(--pink-strong); --tone-ink: var(--pink-ink); }

.chip-badge {
  display: inline-grid; place-items: center;
  min-width: 38px; height: 38px; padding: 0 6px;
  border-radius: 11px;
  background: #e14e4e; color: #fff;
  font: 800 .7rem/1 var(--font-sans); letter-spacing: .04em;
}
.chip-button {
  min-height: 47px; padding: 10px 18px;
  border: 1px solid var(--rule-strong); border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 70%, transparent);
  font-weight: 700; font-size: .88rem; cursor: pointer;
}
.chip-button:hover { background: var(--surface); border-color: var(--ink); }
.pill-button { cursor: pointer; }

/* --------------------------------------------------------------------------
   Lane rail — a paper plane marks your progress down the page
   -------------------------------------------------------------------------- */
.lane-rail {
  position: fixed; z-index: 20;
  left: clamp(10px, 1.4vw, 22px); top: 22vh; bottom: 22vh;
  width: 2px;
  background: repeating-linear-gradient(to bottom, var(--rule-strong) 0 6px, transparent 6px 13px);
  opacity: .7;
  pointer-events: none;
}
.lane-rail-plane {
  position: absolute; left: 50%; top: calc(var(--progress, 0) * 100%);
  width: 26px; height: 26px;
  translate: -50% -50%;
  rotate: 135deg;
  color: var(--accent);
}
.lane-rail-plane svg, .finale-plane svg { width: 100%; height: 100%; fill: var(--lavender); stroke: currentColor; stroke-width: 1.4; stroke-linejoin: round; }
@media (max-width: 1240px) { .lane-rail { display: none; } }

/* --------------------------------------------------------------------------
   1 · Hero — a messy table that tidies into one PDF as you scroll
   -------------------------------------------------------------------------- */
.hero { position: relative; margin-top: -86px; }
.lane-ready .hero { height: 230vh; }
.hero-stage {
  position: sticky; top: 0;
  height: 100vh; height: 100svh; min-height: 680px;
  display: grid; align-content: center;
  padding-top: 86px;
  overflow: hidden;
}
.hero-ambient { position: absolute; inset: 0; pointer-events: none; }
.hero-ambient i {
  position: absolute; border-radius: 50%;
  filter: blur(70px);
  opacity: var(--ambient-opacity, 1);
}
.hero-ambient i:nth-child(1) { width: 62vw; height: 62vw; left: -18vw; top: -10vw; background: var(--wash-left, rgba(255, 211, 227, .5)); animation: drift 18s ease-in-out infinite alternate; }
.hero-ambient i:nth-child(2) { width: 58vw; height: 58vw; right: -16vw; top: 6vh; background: var(--wash-right, rgba(226, 209, 255, .5)); animation: drift 22s ease-in-out -6s infinite alternate-reverse; }
.hero-ambient i:nth-child(3) { width: 70vw; height: 30vw; left: 15vw; top: -12vw; background: var(--wash-mist, rgba(238, 233, 255, .6)); }
:root[data-theme="dark"] .hero-ambient { --ambient-opacity: .28; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .hero-ambient { --ambient-opacity: .28; } }
@keyframes drift { to { transform: translate(4vw, 3vw) scale(1.08); } }

.hero-copy { position: relative; z-index: 4; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(20px, 4vw, 60px); align-items: center; }
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 22px; padding: 7px 14px 7px 10px;
  border: 1px solid var(--rule); border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 72%, transparent);
  backdrop-filter: blur(8px);
  color: var(--body); font-size: .8rem; font-weight: 680;
}
.kicker-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green-strong); box-shadow: 0 0 0 4px var(--green); }
.hero h1 {
  margin: 0;
  font-size: clamp(3rem, 5.1vw, 5.9rem);
  font-weight: 740; font-stretch: 88%;
  line-height: .92; letter-spacing: -.035em;
  text-wrap: balance;
}
.hero-line { display: block; }
.hero h1 em {
  color: var(--accent);
  font-size: 1.04em;
  padding-right: .06em;
  background: linear-gradient(var(--butter-strong), var(--butter-strong)) 0 86% / 100% .26em no-repeat;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  animation: swipe 1s .5s var(--ease-out) both;
}
@keyframes swipe { from { background-size: 0% .26em; } }
.hero-lede { max-width: 40ch; margin: 28px 0 0; color: var(--body); font-size: clamp(1.05rem, 1.45vw, 1.24rem); line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 30px; }

/* The desk */
.desk { position: relative; height: min(68vh, 620px); min-height: 560px; --p: 0; }
.sheet {
  --s: 0;
  --q: calc(1 - var(--s));
  position: absolute; left: 50%; top: 50%;
  width: 220px; height: 290px; margin: -145px 0 0 -110px;
  padding: 22px 20px;
  display: flex; flex-direction: column; gap: 9px;
  border-radius: 6px;
  background: var(--sheet); color: var(--sheet-ink);
  box-shadow: 0 1px 0 #0000000d, 0 18px 40px #1e17261f;
  /* Each page is pulled into the phone as it is captured (--s: 0 → 1, set by lane.js). */
  transform:
    translate(calc(var(--x) * var(--q)), calc(var(--y) * var(--q)))
    rotate(calc(var(--r) * var(--q)))
    scale(calc(1 - var(--s) * .72));
  opacity: clamp(0, var(--q) * 2.2, 1);
  will-change: transform, opacity;
  font-size: .78rem;
}
/* Crooked phone-photo shading. */
.sheet::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(125deg, #00000000 35%, #3a2c1e30 100%), radial-gradient(circle at 15% 10%, #fff8 0, #fff0 40%);
}
.sheet b { font: 760 1rem/1.15 var(--font-display); letter-spacing: -.02em; }
.sheet small { color: var(--sheet-soft); font-size: .7rem; font-weight: 600; letter-spacing: .03em; }
.sheet .rule { height: 7px; border-radius: 4px; background: #e9e4dc; }
.sheet .rule.short { width: 60%; }
.sheet-receipt { width: 190px; margin-left: -95px; font-family: ui-monospace, "SF Mono", Menlo, monospace; background: var(--sheet) radial-gradient(circle at 50% 100%, transparent 5px, var(--sheet) 5.5px) bottom / 14px 14px repeat-x; }
.sheet-receipt b { font-family: ui-monospace, "SF Mono", Menlo, monospace; text-align: center; letter-spacing: .08em; }
.sheet-receipt small { text-align: center; }
.sheet-receipt p { display: flex; justify-content: space-between; margin: 0; padding-bottom: 6px; border-bottom: 1px dashed #d9d2c8; }
.sheet-receipt .total { margin-top: auto; font-weight: 800; border: 0; }
.sheet-slip { border-top: 16px solid #ffc9ae; }
.sig-line { margin-top: auto; padding-top: 34px; border-bottom: 1.5px solid #3a3340; color: var(--sheet-soft); font-size: .66rem; }
.sheet-handout { border-top: 16px solid #d4c5ff; }
.cells { display: grid; grid-template-columns: 1fr 2fr; gap: 1px; margin-top: 6px; border: 1px solid #d8d0e8; background: #d8d0e8; }
.cells i { height: 24px; background: #fbf9ff; }
.cells i:nth-child(-n+2) { background: #e9e0ff; }
.sheet-invoice { border-top: 16px solid #ffe478; }
.stamp {
  align-self: flex-end; margin-top: auto; padding: 4px 10px;
  border: 2.5px solid #2d5733; border-radius: 6px;
  color: #2d5733; font: 800 .9rem/1 var(--font-display); letter-spacing: .12em;
  rotate: -9deg;
}
.sheet-notes { background: var(--sheet) repeating-linear-gradient(to bottom, transparent 0 21px, #cfe9f2 21px 22px); border-left: 3px solid #f5bdd8; }
.scribble { height: 40px; margin-top: 10px; border-radius: 40% 60% 50% 50%; border: 2px solid #8eb9c6; border-color: #8eb9c6 transparent #8eb9c6 transparent; rotate: -4deg; }
.scribble.two { width: 70%; rotate: 3deg; }

/* The device — a live scanner over the table */
.device {
  --lvl: 0;
  position: absolute; z-index: 5; left: 50%; top: 50%;
  width: 270px; height: 560px; margin: -290px 0 0 -135px;
  padding: 9px;
  border-radius: 48px;
  background: linear-gradient(145deg, #3a3d44, #16181c 30%, #0d0f12);
  box-shadow:
    0 0 0 1.5px #5a5e66 inset,
    0 60px 90px -30px #1a102a70,
    0 30px 40px -20px #1a102a50;
  transform: rotate(calc(-6deg * (1 - var(--lvl)))) translateY(calc(-14px * (1 - var(--lvl))));
}
.device-key { position: absolute; right: -3px; top: 150px; width: 4px; height: 70px; border-radius: 0 3px 3px 0; background: #2a2d33; }
.device-screen {
  position: relative; height: 100%;
  display: flex; flex-direction: column;
  border-radius: 40px; overflow: hidden;
  background: #0b0c0e; color: #fff;
}
.device-status { position: relative; flex: 0 0 34px; display: flex; align-items: center; justify-content: space-between; padding: 4px 22px 0 26px; font: 700 .74rem/1 var(--font-sans); }
.device-island { position: absolute; left: 50%; top: 8px; width: 78px; height: 22px; margin-left: -39px; border-radius: 99px; background: #000; }
.device-batt { width: 22px; height: 10px; border: 1.5px solid #fffc; border-radius: 3px; background: linear-gradient(90deg, #fff 70%, transparent 70%) content-box; padding: 1px; }
.cam { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.cam-bar { flex: 0 0 42px; display: flex; align-items: center; justify-content: space-between; padding: 0 12px; }
.cam-tool { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #ffffff1f; }
.cam-tool svg { width: 15px; height: 15px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cam-auto { display: inline-flex; align-items: center; gap: 7px; padding: 5px 6px 5px 11px; border-radius: 99px; background: #ffffff1f; font-size: .72rem; font-weight: 700; }
.cam-auto i { position: relative; width: 26px; height: 15px; border-radius: 99px; background: #7bd4a8; }
.cam-auto i::after { content: ""; position: absolute; right: 2px; top: 2px; width: 11px; height: 11px; border-radius: 50%; background: #fff; }
.cam-view { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: #3a2618; }
.cam-view img { width: 100%; height: 100%; object-fit: cover; }
.cam-edges { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.cam-quad { fill: #d4c5ff38; stroke: #d4c5ff; stroke-width: 2; vector-effect: non-scaling-stroke; stroke-linejoin: round; animation: quad 2.2s ease-in-out infinite; }
.cam-corners { fill: none; stroke: #fff; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
@keyframes quad { 50% { fill: #d4c5ff1c; } }
.cam-beam {
  position: absolute; left: 17%; right: 17%; top: 15%; height: 36px;
  background: linear-gradient(to bottom, transparent, #e9e0ff66 70%, #fff 96%, transparent);
  border-radius: 4px;
  mix-blend-mode: screen;
  animation: beam 2.4s cubic-bezier(.45, 0, .55, 1) infinite;
}
@keyframes beam { 0% { transform: translateY(0); opacity: 0; } 10% { opacity: 1; } 85% { opacity: 1; } 100% { transform: translateY(232px); opacity: 0; } }
.cam-hint {
  position: absolute; left: 50%; bottom: 12px; translate: -50% 0;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 99px;
  background: #111317cc; backdrop-filter: blur(6px);
  font-size: .72rem; font-weight: 700; white-space: nowrap;
}
.cam-hint svg { width: 14px; height: 14px; fill: none; stroke: #d4c5ff; stroke-width: 2; stroke-linecap: round; }
.cam-tray { flex: 1; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 18px 10px; }
.cam-stack { justify-self: start; position: relative; width: 38px; height: 50px; border-radius: 7px; border: 2px solid #fff; background: #fffefb linear-gradient(#e9e4dc, #e9e4dc) 50% 30% / 60% 3px no-repeat; }
.cam-stack b { position: absolute; right: -9px; top: -9px; display: grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 99px; background: #e14e4e; color: #fff; font-size: .7rem; }
.cam-shutter { width: 62px; height: 62px; border-radius: 50%; border: 4px solid #fff; box-shadow: inset 0 0 0 4px #0b0c0e; background: #fff; transition: transform .2s; }
.cam-mode { justify-self: end; color: #ffe478; font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.device-flash { position: absolute; inset: 0; background: #fff; opacity: var(--flash, 0); pointer-events: none; }
.review {
  --rv: var(--review, 0);
  position: absolute; left: 0; right: 0; top: 34px; bottom: 0;
  display: flex; flex-direction: column;
  background: var(--paper); color: var(--ink);
  opacity: var(--rv);
  transform: translateY(calc((1 - var(--rv)) * 18px));
}
.review-bar { display: flex; align-items: center; justify-content: space-between; padding: 10px 16px; font-size: .78rem; font-weight: 700; }
.review-bar b { font-family: var(--font-display); font-size: .95rem; }
.review-done { padding: 5px 12px; border-radius: 99px; background: var(--ink); color: var(--paper); }
.review-page { flex: 1; display: grid; place-items: center; align-content: center; gap: 12px; margin: 0 12px; border-radius: 22px; background: var(--quiet); }
.review-doc {
  position: relative;
  width: 150px; height: 198px; display: flex; flex-direction: column; gap: 6px; padding: 15px 13px;
  border-radius: 4px; background-color: #fffefb; color: #29242d;
  box-shadow: 0 10px 22px -10px #00000055;
  font-size: .56rem; animation: rise .35s var(--ease-out);
}
.review-doc b { font: 760 .74rem/1.15 var(--font-display); }
.review-doc small { color: #6d6672; font-size: .52rem; font-weight: 600; }
.review-doc .rule { height: 5px; border-radius: 3px; background: #e9e4dc; }
.review-doc .rule.short { width: 60%; }
.review-doc.sheet-receipt, .review-doc.sheet-receipt b { font-family: ui-monospace, "SF Mono", Menlo, monospace; }
.review-doc.sheet-receipt { margin: 0; width: 140px; background: #fffefb radial-gradient(circle at 50% 100%, transparent 4px, #fffefb 4.5px) bottom / 11px 11px repeat-x; }
.review-doc.sheet-receipt p { padding-bottom: 4px; }
.review-doc[class*="sheet-"] { border-top-width: 10px; }
.review-doc .sig-line { padding-top: 22px; font-size: .5rem; }
.review-doc .cells i { height: 16px; }
.review-doc .stamp { font-size: .6rem; padding: 3px 7px; border-width: 2px; }
.review-doc .scribble { height: 26px; }
.review-doc.sheet-notes { background: #fffefb repeating-linear-gradient(to bottom, transparent 0 15px, #cfe9f2 15px 16px); }
.review-badge { display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: 99px; background: var(--mint); color: var(--green-ink); font-size: .68rem; font-weight: 750; }
.review-badge svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.review-strip { display: flex; justify-content: center; gap: 7px; padding: 12px 12px 22px; }
.review-strip i { width: 34px; height: 44px; border-radius: 6px; background: #fffefb; border-top: 7px solid var(--tone-strong); box-shadow: 0 0 0 1px var(--rule); opacity: .18; transform: scale(.8); transition: opacity .3s, transform .4s var(--ease-spring); }
.review-strip i.is-on { opacity: 1; transform: none; }
.review-strip i.is-on:last-of-type, .review-strip i.is-current { box-shadow: 0 0 0 2px var(--accent); }
.desk-chip {
  --o: clamp(0, (var(--p) - .9) * 10, 1);
  position: absolute; z-index: 6; left: 50%; bottom: calc(50% - 318px);
  display: flex; align-items: center; gap: 12px;
  margin: 0; padding: 10px 18px 10px 10px;
  border: 1px solid var(--rule); border-radius: 18px;
  background: var(--surface); box-shadow: var(--shadow);
  white-space: nowrap;
  opacity: var(--o);
  transform: translate(-50%, calc((1 - var(--o)) * 24px));
}
.desk-chip span:last-child { display: grid; line-height: 1.25; }
.desk-chip b { font-size: .9rem; }
.desk-chip small { color: var(--muted); font-size: .76rem; }

.scroll-cue {
  position: absolute; left: 50%; bottom: 22px; translate: -50% 0;
  display: flex; align-items: center; gap: 10px; margin: 0;
  color: var(--muted); font-size: .76rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  opacity: calc(1 - var(--hero-p, 0) * 3);
}
.scroll-cue span { width: 22px; height: 34px; border: 2px solid currentColor; border-radius: 12px; position: relative; }
.scroll-cue span::after { content: ""; position: absolute; left: 50%; top: 6px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: currentColor; animation: wheel 1.6s ease-in-out infinite; }
@keyframes wheel { 50% { transform: translateY(9px); opacity: .2; } }

@media (max-width: 900px) {
  .hero, .lane-ready .hero { height: auto; margin-top: 0; }
  .hero-stage { position: relative; height: auto; min-height: 0; padding: 34px 0 30px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .desk { height: 600px; min-height: 0; scale: .7; margin: -70px 0 -90px; }
  .scroll-cue { display: none; }
}
@media (max-width: 420px) { .desk { scale: .62; margin: -100px 0 -110px; } }

/* --------------------------------------------------------------------------
   2 · Frictions marquee
   -------------------------------------------------------------------------- */
.frictions { padding: clamp(60px, 9vw, 120px) 0 clamp(50px, 7vw, 90px); overflow: hidden; }
.frictions .eyebrow { margin-bottom: 26px; }
.marquee { display: flex; overflow: hidden; padding-block: 7px; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; flex: 0 0 auto; gap: 14px; margin: 0; padding: 0 14px 0 0; list-style: none; animation: marquee 48s linear infinite; }
.marquee.reverse .marquee-track { animation-direction: reverse; animation-duration: 56s; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-100%); } }
.marquee li {
  flex: 0 0 auto;
  padding: .32em .7em .38em;
  border-radius: 999px;
  background: var(--m);
  font: 650 clamp(1.5rem, 3.6vw, 3rem)/1.1 var(--font-display);
  letter-spacing: -.035em;
  white-space: nowrap;
}
.marquee s { position: relative; text-decoration: none; color: var(--ink); }
.marquee s::after {
  content: ""; position: absolute; left: -2%; right: -2%; top: 54%; height: .09em;
  border-radius: 9px; background: currentColor;
  transform-origin: left; transform: scaleX(1);
}
.m-peach { --m: var(--peach); } .m-butter { --m: var(--butter); } .m-blue { --m: var(--blue); }
.m-lavender { --m: var(--lavender); } .m-mint { --m: var(--mint); } .m-pink { --m: var(--pink); }
@media (prefers-reduced-motion: no-preference) {
  .marquee s::after { animation: strike 4.8s var(--ease-out) infinite; }
  .marquee li:nth-child(2n) s::after { animation-delay: -1.6s; }
  .marquee li:nth-child(3n) s::after { animation-delay: -3.2s; }
}
@keyframes strike { 0%, 12% { transform: scaleX(0); } 30%, 100% { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) {
  .marquee { flex-wrap: wrap; mask-image: none; padding-inline: var(--page-gutter); }
  .marquee-track { flex-wrap: wrap; flex: 1 1 auto; animation: none; }
  .marquee [aria-hidden="true"] { display: none; }
}

/* --------------------------------------------------------------------------
   3 · A week of paperwork — the page colour shifts with each moment
   -------------------------------------------------------------------------- */
.week { position: relative; background: var(--paper); transition: background-color .9s var(--ease-out); }
.week[data-active="peach"] { background-color: var(--peach); }
.week[data-active="butter"] { background-color: var(--butter); }
.week[data-active="blue"] { background-color: var(--blue); }
.week[data-active="lavender"] { background-color: var(--lavender); }
.week-intro { padding: clamp(40px, 7vw, 90px) 0 clamp(20px, 4vw, 40px); }
.week-intro h2, .departures h2, .tools h2, .privacy-lane h2, .faq-heading h2 {
  margin: 0;
  font-size: clamp(2.8rem, 7.4vw, 6.6rem);
  font-weight: 730; font-stretch: 90%;
  line-height: .92; letter-spacing: -.032em;
  text-wrap: balance;
}
.week-intro h2 em, .departures h2 em, .tools h2 em, .privacy-lane h2 em, .faq-heading h2 em { color: var(--accent); }
.week-intro > p:last-child { max-width: 46ch; margin: 22px 0 0; color: var(--body); font-size: 1.1rem; }

.moment {
  --tone: var(--peach); --tone-ink: var(--peach-ink); --tone-strong: var(--peach-strong);
  position: relative;
  min-height: 92vh;
  display: grid; align-items: center;
  padding: clamp(56px, 8vw, 110px) 0;
  overflow: clip;
  background: var(--tone);
}
.week.is-live .moment { background: transparent; }
.moment[data-tone="butter"] { --tone: var(--butter); --tone-ink: var(--butter-ink); --tone-strong: var(--butter-strong); }
.moment[data-tone="blue"] { --tone: var(--blue); --tone-ink: var(--blue-ink); --tone-strong: var(--blue-strong); }
.moment[data-tone="lavender"] { --tone: var(--lavender); --tone-ink: var(--lavender-ink); --tone-strong: var(--lavender-strong); }
.moment-clock {
  position: absolute; z-index: 0;
  right: -2vw; top: 50%; translate: 0 -50%;
  font: 800 clamp(9rem, 30vw, 30rem)/.8 var(--font-display);
  font-stretch: 75%;
  letter-spacing: -.06em;
  color: transparent;
  -webkit-text-stroke: 2px color-mix(in srgb, var(--tone-ink) 26%, transparent);
  pointer-events: none; user-select: none;
}
.moment:has(.flip) .moment-clock { right: auto; left: -2vw; }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .moment-clock { animation: clock-drift linear both; animation-timeline: view(); }
    @keyframes clock-drift { from { transform: translateY(18%); } to { transform: translateY(-18%); } }
  }
}
.moment-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 6vw, 90px); align-items: center; }
.moment-grid.flip .moment-copy { order: 2; }
.moment-when { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 0 0 18px; color: var(--body); font-size: .98rem; }
.moment-when b {
  padding: 5px 11px; border-radius: 999px;
  background: var(--tone-strong); color: var(--tone-ink);
  font-size: .78rem; letter-spacing: .06em; text-transform: uppercase;
}
.moment h3 { margin: 0; font-size: clamp(2.2rem, 4.8vw, 4.3rem); font-weight: 720; font-stretch: 92%; line-height: .98; letter-spacing: -.03em; text-wrap: balance; }
.moment-copy > p:not(.moment-when) { max-width: 44ch; margin: 20px 0 10px; color: var(--body); font-size: 1.06rem; }
.moment .text-link { color: var(--ink); text-decoration-color: var(--tone-ink); }

.demo { position: relative; }
.demo-controls { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 18px; }
.demo-toast {
  min-height: 1.5em; margin: 12px 0 0;
  color: var(--tone-ink); font-weight: 700; font-size: .9rem; text-align: center;
}
.demo-note { margin: 14px 0 0; color: var(--body); font-size: .82rem; text-align: center; }
.paper {
  background: var(--sheet); color: var(--sheet-ink);
  border-radius: 6px;
  box-shadow: 0 2px 0 #00000008, 0 30px 60px -20px #2a1f3a40;
}
.paper-tag, .out-tag { margin: 0 0 14px; color: var(--sheet-soft); font-size: .7rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }

/* Sign demo */
.form-paper { max-width: 440px; margin-inline: auto; padding: 26px 28px 24px; border-top: 22px solid #ffc9ae; rotate: -1.5deg; transition: rotate .5s var(--ease-spring); }
.demo-sign:hover .form-paper { rotate: 0deg; }
.form-paper h4 { margin: 0 0 16px; font: 760 1.6rem/1.05 var(--font-display); letter-spacing: -.035em; }
.form-paper dl { display: grid; gap: 8px; margin: 0 0 18px; }
.form-paper dl div { display: grid; grid-template-columns: 90px 1fr; gap: 10px; padding-bottom: 8px; border-bottom: 1px solid #e8e2d8; }
.form-paper dt { color: var(--sheet-soft); font-size: .8rem; font-weight: 650; }
.form-paper dd { margin: 0; font-family: "Bradley Hand", "Segoe Print", "Comic Sans MS", cursive; font-size: 1.02rem; color: #27408b; }
.sign-box { position: relative; display: block; padding: 6px 0 0; }
.sign-label { display: block; color: var(--sheet-soft); font-size: .78rem; font-weight: 650; }
.sign-label em { color: #a24a2a; font-style: normal; }
.sign-box canvas {
  display: block; width: 100%; height: 110px; margin-top: 6px;
  border-bottom: 2px solid #3a3340;
  background: repeating-linear-gradient(90deg, #fff4ec 0 2px, transparent 2px 12px) bottom / 100% 2px no-repeat;
  cursor: crosshair; touch-action: none;
}
.sign-sample { position: absolute; left: 4%; bottom: 8px; width: 74%; height: 80px; pointer-events: none; fill: none; stroke: #27408b; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.sign-sample path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.demo-sign.is-in .sign-sample path { animation: ink 2.4s .4s var(--ease-out) forwards; }
.demo-sign.has-ink .sign-sample { display: none; }
@keyframes ink { to { stroke-dashoffset: 0; } }
.demo-sign.is-sent .form-paper { animation: fly-away 1.3s cubic-bezier(.55, 0, .45, 1) forwards; }
@keyframes fly-away {
  0% { transform: none; }
  25% { transform: translateY(14px) scale(.96); }
  100% { transform: translate(70vw, -60vh) rotate(28deg) scale(.25); opacity: 0; }
}
.demo-sign.is-back .form-paper { animation: drop-in .6s var(--ease-spring); }
@keyframes drop-in { from { transform: translateY(-30px) scale(.94); opacity: 0; } }

/* Combine demo */
.receipts { position: relative; height: 430px; }
.receipt {
  position: absolute; left: 50%; top: 50%;
  width: 176px; height: 196px; margin: -98px 0 0 -88px;
  display: flex; flex-direction: column; gap: 6px;
  padding: 18px 16px;
  background: var(--sheet) radial-gradient(circle at 50% 100%, transparent 5px, var(--sheet) 5.5px) bottom / 14px 14px repeat-x;
  color: var(--sheet-ink);
  font: 500 .76rem/1.4 ui-monospace, "SF Mono", Menlo, monospace;
  box-shadow: 0 18px 30px -12px #2c22163d;
  transform: translate(var(--lx), var(--ly)) rotate(var(--lr));
  transition: transform .8s var(--ease-spring), box-shadow .6s;
  transition-delay: calc(var(--n) * 70ms);
}
.receipt b { font: 760 .95rem/1.15 var(--font-display); letter-spacing: -.01em; }
.receipt span { color: var(--sheet-soft); }
.receipt em { margin-top: auto; padding-top: 8px; border-top: 1px dashed #d4ccbf; font-style: normal; font-weight: 800; font-size: 1rem; }
.demo-combine[data-state="combined"] .receipt {
  transform: translate(calc(var(--n) * 5px - 7px), calc(var(--n) * -7px - 26px)) rotate(calc((var(--n) - 1.5) * 1.6deg));
  box-shadow: 0 3px 6px -2px #2c22162b;
}
.bundle {
  position: absolute; left: 50%; bottom: 8px;
  display: flex; align-items: center; gap: 10px; margin: 0;
  padding: 9px 16px 9px 9px; border-radius: 16px;
  background: var(--surface); box-shadow: var(--shadow); border: 1px solid var(--rule);
  white-space: nowrap;
  transform: translate(-50%, 16px); opacity: 0;
  transition: .5s var(--ease-out) .35s;
}
.bundle b { font-size: .92rem; }
.bundle small { color: var(--muted); font-size: .78rem; }
.demo-combine[data-state="combined"] .bundle { transform: translate(-50%, 0); opacity: 1; }

/* Search demo */
.library {
  max-width: 470px; margin-inline: auto;
  padding: 18px;
  border: 1px solid var(--rule); border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: 0 40px 80px -30px #1d2a4a40;
}
.search-field {
  display: flex; align-items: center; gap: 10px;
  padding: 0 16px; min-height: 56px;
  border-radius: 18px; background: var(--quiet);
  border: 2px solid transparent;
}
.search-field:focus-within { border-color: var(--blue-ink); background: var(--surface); }
.search-field svg { width: 20px; height: 20px; flex: 0 0 auto; fill: none; stroke: var(--muted); stroke-width: 1.8; stroke-linecap: round; }
.search-field input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 1.1rem; font-weight: 600; }
.search-field input::placeholder { color: var(--muted); font-weight: 500; }
.search-suggest { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 2px 6px; }
.search-suggest button {
  min-height: 36px; padding: 4px 13px;
  border: 1px solid var(--rule); border-radius: 999px;
  background: transparent; font-size: .82rem; font-weight: 650; cursor: pointer;
}
.search-suggest button:hover, .search-suggest button[aria-pressed="true"] { background: var(--blue); border-color: var(--blue-ink); color: var(--blue-ink); }
.results { margin: 6px 0 0; padding: 0; list-style: none; }
.results li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 6px; border-top: 1px solid var(--rule); animation: rise .35s var(--ease-out); }
.results li:first-child { border-top: 0; }
.results li div { min-width: 0; }
.results b { display: block; font-size: .95rem; }
.results p { margin: 2px 0 0; color: var(--muted); font-size: .84rem; line-height: 1.45; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.results mark { padding: 0 3px; border-radius: 4px; background: var(--butter-strong); color: var(--ink); }
.doc-ico { flex: 0 0 auto; display: grid; place-items: center; width: 38px; height: 46px; border-radius: 8px; background: var(--tone); color: var(--tone-ink); font-size: .62rem; font-weight: 800; letter-spacing: .04em; }
.results-empty { margin: 16px 6px 6px; color: var(--muted); font-size: .9rem; }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } }

/* Office demo */
.office-tabs { display: flex; justify-content: center; gap: 6px; margin-bottom: 18px; }
.office-tabs button {
  display: inline-flex; align-items: center; gap: 9px;
  min-height: 46px; padding: 6px 16px 6px 7px;
  border: 1px solid var(--rule-strong); border-radius: 999px;
  background: transparent; font-weight: 720; font-size: .9rem; cursor: pointer;
}
.office-tabs button[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.fmt { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--tone-strong); color: var(--tone-ink); font-weight: 800; font-size: .8rem; }
.compare {
  --split: 52%;
  position: relative;
  height: 400px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: color-mix(in srgb, var(--surface) 55%, transparent);
  box-shadow: inset 0 0 0 1px var(--rule);
  isolation: isolate;
}
.compare-after, .compare-before { position: absolute; inset: 0; display: grid; place-items: center; padding: 28px; }
.compare-before {
  z-index: 2;
  clip-path: inset(0 calc(100% - var(--split)) 0 0);
  background: #8f8676 radial-gradient(circle at 30% 20%, #b9b0a0, #6f6759 90%);
}
.scan-photo { width: min(330px, 88%); }
.scan-photo .out-tag { color: #f6efe3; }
.scan-page {
  padding: 22px 20px;
  background: linear-gradient(118deg, #ece5d6 0%, #d8cfbd 70%, #bdb29f 100%);
  color: #3d3529;
  box-shadow: 14px 22px 30px #2d23163d;
  transform: perspective(700px) rotateX(9deg) rotateZ(-4deg) skewX(-2deg);
  filter: blur(.35px) contrast(.92);
  font-family: Georgia, serif;
}
.scan-page b { display: block; font-size: 1.4rem; }
.scan-page > span { display: block; margin: 4px 0 12px; font-size: .86rem; }
.scan-table { display: grid; grid-template-columns: 1fr 2fr; border: 1px solid #8a7f6c; }
.scan-table i { padding: 5px 8px; border: .5px solid #8a7f6c; font-style: normal; font-size: .8rem; }
.scan-table i:nth-child(-n+2) { font-weight: 700; }
.out { display: none; width: min(380px, 92%); }
.demo-office[data-mode="docx"] .out-docx, .demo-office[data-mode="pptx"] .out-pptx { display: block; animation: rise .4s var(--ease-out); }
.out-docx { padding: 26px 26px 28px; border-radius: 6px; background: var(--sheet); color: var(--sheet-ink); box-shadow: 0 24px 50px -24px #2a1f3a59; }
.out .out-tag { color: var(--sheet-soft); }
.out h4 { margin: 0; font: 760 1.6rem/1.1 var(--font-display); letter-spacing: -.03em; }
.out p[contenteditable] { margin: 6px 0 14px; font-size: .92rem; }
.out table { width: 100%; border-collapse: collapse; font-size: .86rem; }
.out th, .out td { padding: 6px 9px; border: 1px solid #c9bfdc; text-align: left; }
.out th { background: #e9e0ff; }
[contenteditable]:focus { outline: 2px solid #7751b8; outline-offset: 2px; border-radius: 3px; background: #fffbe0; }
.out-pptx { width: min(440px, 96%); }
.out-pptx .out-tag { color: var(--muted); }
.slide { aspect-ratio: 16 / 9; display: grid; grid-template-columns: 1fr 1.1fr; grid-template-rows: auto 1fr; gap: 4px 18px; align-content: center; padding: 22px; border-radius: 8px; background: var(--sheet); color: var(--sheet-ink); box-shadow: 0 24px 50px -24px #2a1f3a59; border-left: 10px solid #ffc9ae; }
.slide h4 { grid-column: 1; }
.slide p[contenteditable] { grid-column: 1; margin: 0; }
.slide table { grid-column: 2; grid-row: 1 / 3; align-self: center; font-size: .78rem; }
.slide th { background: #ffe2d2; }
.slide th, .slide td { border-color: #f0c7b0; }
.compare-handle {
  position: absolute; z-index: 3; top: 0; bottom: 0; left: var(--split);
  width: 3px; margin-left: -1.5px; background: var(--surface);
  box-shadow: 0 0 0 1px #0000001a;
  pointer-events: none;
}
.compare-handle span {
  position: absolute; top: 50%; left: 50%; translate: -50% -50%;
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: var(--surface); color: var(--ink); box-shadow: var(--shadow);
  font-size: 1.2rem; font-weight: 800;
}
.compare-range {
  position: absolute; z-index: 4; inset: 0;
  width: 100%; height: 100%; margin: 0;
  -webkit-appearance: none; appearance: none;
  background: transparent; cursor: ew-resize;
  pointer-events: none;
}
.compare-range::-webkit-slider-thumb { -webkit-appearance: none; width: 56px; height: 400px; background: transparent; pointer-events: auto; cursor: ew-resize; }
.compare-range::-moz-range-thumb { width: 56px; height: 400px; border: 0; background: transparent; pointer-events: auto; cursor: ew-resize; }
.compare-range::-moz-range-track { background: transparent; }
.compare-range:focus-visible { outline: none; }
.compare:has(.compare-range:focus-visible) .compare-handle span { outline: 3px solid var(--accent); outline-offset: 3px; }

@media (max-width: 900px) {
  .moment { min-height: 0; }
  .moment-grid, .moment-grid.flip { grid-template-columns: minmax(0, 1fr); }
  .moment-grid.flip .moment-copy { order: 0; }
  .moment-clock { top: auto; bottom: -2%; translate: 0; font-size: 42vw; opacity: .7; }
  .receipts { height: 380px; scale: .9; }
}
@media (max-width: 480px) {
  .receipts { scale: .78; margin-block: -30px; }
  .compare { height: 360px; }
  .out-docx { padding: 18px; }
  .slide { padding: 14px; gap: 4px 10px; }
  .slide h4 { font-size: 1.1rem; }
  .slide p[contenteditable] { font-size: .72rem; }
  .slide table { font-size: .64rem; }
  .slide th, .slide td { padding: 3px 5px; }
}

/* --------------------------------------------------------------------------
   4 · Departures board — formats as destinations
   -------------------------------------------------------------------------- */
.departures { padding: clamp(70px, 10vw, 140px) 0; }
.dep-head { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 8px 40px; align-items: end; margin-bottom: clamp(30px, 5vw, 56px); }
.dep-head .eyebrow { grid-column: 1 / -1; }
.dep-head > p:last-child { margin: 0; color: var(--body); font-size: 1.08rem; max-width: 34ch; }
.board {
  position: relative;
  padding: clamp(16px, 3vw, 30px);
  border-radius: var(--radius-xl);
  background: var(--board);
  color: #f2efe9;
  box-shadow: 0 50px 90px -40px #0d0a1480, inset 0 0 0 1px #ffffff10;
}
:root[data-theme="dark"] .board { box-shadow: 0 0 0 1px #ffe47833, 0 40px 90px -30px #000, inset 0 0 0 1px #ffffff14; --board: #0b0d10; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .board { box-shadow: 0 0 0 1px #ffe47833, 0 40px 90px -30px #000, inset 0 0 0 1px #ffffff14; --board: #0b0d10; } }
.board-top { display: flex; justify-content: space-between; align-items: center; padding: 0 6px 16px; border-bottom: 1px solid var(--board-line); font: 700 .8rem/1 var(--font-sans); letter-spacing: .18em; text-transform: uppercase; color: #ffe478; }
.board-clock { font-variant-numeric: tabular-nums; color: #f2efe9; letter-spacing: .1em; }
.board table { width: 100%; border-collapse: collapse; }
.board thead th { padding: 16px 10px 10px; color: #8d939d; font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; text-align: left; }
.board tbody tr { border-top: 1px solid var(--board-line); transition: background .3s; }
.board tbody tr:hover { background: #ffffff08; }
.board tbody th, .board td { padding: 16px 10px; text-align: left; vertical-align: middle; font-size: 1rem; }
.board td:nth-child(2) { font-weight: 650; }
.board td:nth-child(3) { color: #b2b5b8; }
.flap { display: inline-flex; gap: 3px; }
.flap-char, .flap:not(.is-split) {
  display: inline-grid; place-items: center;
  min-width: 1.35em; height: 1.75em; padding: 0 .1em;
  border-radius: 5px;
  background: linear-gradient(#2a2f36 0 49%, #15181c 49% 51%, #252a31 51%);
  color: #fffef8;
  font: 750 clamp(1.05rem, 2vw, 1.5rem)/1 ui-monospace, "SF Mono", Menlo, monospace;
}
.flap:not(.is-split) { padding: 0 .4em; letter-spacing: .15em; }
.flap-char.is-flipping { animation: flip .09s linear; }
@keyframes flip { 50% { transform: scaleY(.1); } }
.status { display: inline-block; padding: 5px 12px; border-radius: 999px; font-size: .78rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; color: #1e1a22; }
.s-mint { background: #b3e8d2; } .s-blue { background: #aee8f3; } .s-peach { background: #ffc9ae; } .s-butter { background: #ffe478; } .s-lavender { background: #d4c5ff; }
.board tbody tr:first-child .status { animation: blink 1.6s steps(2, jump-none) infinite; }
@keyframes blink { 50% { opacity: .45; } }
.fine-print { margin: 18px 4px 0; color: var(--muted); font-size: .86rem; }
.fine-print a { color: var(--link); font-weight: 700; text-decoration: underline; text-underline-offset: .2em; }
@media (max-width: 760px) {
  .dep-head { grid-template-columns: minmax(0, 1fr); }
  .board thead { display: none; }
  .board tbody tr { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; padding: 14px 4px; }
  .board tbody th { grid-row: span 3; padding: 0; }
  .board td { padding: 0; }
  .board td:nth-child(3) { font-size: .9rem; }
  .board td:nth-child(4) { margin-top: 4px; }
}

/* --------------------------------------------------------------------------
   5 · Privacy lane
   -------------------------------------------------------------------------- */
.privacy-lane { position: relative; padding: clamp(70px, 10vw, 140px) 0; background: var(--mint); overflow: clip; }
.privacy-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(30px, 6vw, 80px); align-items: center; }
.privacy-lane h2 em { color: var(--green-ink); }
.privacy-copy > p:not(.eyebrow) { max-width: 46ch; margin: 22px 0; color: var(--body); font-size: 1.08rem; }
.privacy-list { display: grid; gap: 10px; margin: 0 0 18px; padding: 0; list-style: none; }
.privacy-list li { display: grid; grid-template-columns: 150px 1fr; gap: 12px; align-items: baseline; padding: 14px 18px; border-radius: 16px; background: color-mix(in srgb, var(--surface) 62%, transparent); color: var(--body); font-size: .95rem; }
.privacy-list b { color: var(--ink); font-family: var(--font-display); font-size: 1.05rem; }
.privacy-lane .text-link { color: var(--ink); }
.vault { position: relative; display: grid; place-items: center; min-height: 560px; }
.vault-rings { position: absolute; inset: 0; display: grid; place-items: center; }
.vault-rings i { position: absolute; width: 360px; height: 360px; border-radius: 50%; border: 1.5px dashed color-mix(in srgb, var(--green-ink) 40%, transparent); animation: ripple 6s linear infinite; }
.vault-rings i:nth-child(2) { animation-delay: -2s; }
.vault-rings i:nth-child(3) { animation-delay: -4s; }
@keyframes ripple { from { scale: .6; opacity: 0; } 30% { opacity: 1; } to { scale: 1.5; opacity: 0; } }
.vault-phone {
  position: relative; z-index: 1;
  width: 250px; height: 470px;
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 12px;
  border-radius: 44px;
  border: 10px solid var(--ink);
  background: var(--surface);
  box-shadow: 0 50px 80px -30px #10302366;
}
.vault-notch { position: absolute; top: 10px; left: 50%; width: 80px; height: 22px; margin-left: -40px; border-radius: 99px; background: var(--ink); }
.v-item { padding: 10px 18px; border-radius: 999px; background: var(--tone); color: var(--tone-ink); font-weight: 760; font-size: .92rem; animation: bob 5s ease-in-out infinite; }
.v-item:nth-child(3) { animation-delay: -1.2s; translate: 18px 0; }
.v-item:nth-child(4) { animation-delay: -2.4s; translate: -14px 0; }
.v-item:nth-child(5) { animation-delay: -3.6s; translate: 10px 0; }
@keyframes bob { 50% { transform: translateY(-8px); } }
.vault-lock { display: flex; align-items: center; gap: 6px; margin-top: 14px; color: var(--muted); font-size: .78rem; font-weight: 700; }
.vault-lock svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.vault-out { position: absolute; z-index: 2; padding: 9px 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--rule); box-shadow: var(--shadow); font-size: .86rem; font-weight: 700; white-space: nowrap; }
.vault-out.x { top: 9%; left: 0; color: var(--muted); rotate: -6deg; }
.vault-out.x.two { top: 22%; left: auto; right: 0; rotate: 5deg; }
.vault-out s { text-decoration-thickness: 2px; text-decoration-color: #e14e4e; }
.vault-out.share { bottom: 4%; right: 2%; background: var(--ink); color: var(--paper); border-color: var(--ink); }
@media (max-width: 900px) {
  .privacy-grid { grid-template-columns: minmax(0, 1fr); }
  .vault { min-height: 520px; }
  .privacy-list li { grid-template-columns: minmax(0, 1fr); gap: 2px; }
}
@media (max-width: 420px) {
  .vault { scale: .86; margin-block: -30px; }
  .vault-out.x { left: -4%; } .vault-out.x.two { right: -4%; }
}

/* --------------------------------------------------------------------------
   6 · Tools deck
   -------------------------------------------------------------------------- */
.tools { padding: clamp(70px, 10vw, 140px) 0 clamp(50px, 7vw, 90px); }
.tools-head { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 8px 40px; align-items: end; margin-bottom: clamp(40px, 6vw, 70px); }
.tools-head .eyebrow { grid-column: 1 / -1; }
.tools-head > p:last-child { margin: 0; color: var(--body); font-size: 1.08rem; max-width: 34ch; }
.deck { display: flex; justify-content: center; margin: 0 0 30px; padding: 30px 0 10px; list-style: none; }
.card {
  position: relative;
  flex: 0 0 230px; min-height: 300px;
  display: flex; flex-direction: column;
  margin-inline: -14px;
  padding: 22px 22px 18px;
  border-radius: 24px;
  background: var(--tone);
  color: var(--ink);
  box-shadow: 0 20px 40px -24px #2a1f3a66, inset 0 0 0 1px #ffffff40;
  rotate: calc((var(--k, 0) - 2.5) * 3deg);
  translate: 0 calc(abs(var(--k, 0) - 2.5) * 8px);
  transition: rotate .45s var(--ease-spring), translate .45s var(--ease-spring), margin .45s var(--ease-out);
}
.card:nth-child(1) { --k: 0; } .card:nth-child(2) { --k: 1; } .card:nth-child(3) { --k: 2; }
.card:nth-child(4) { --k: 3; } .card:nth-child(5) { --k: 4; } .card:nth-child(6) { --k: 5; }
.card:hover, .card:focus-within { z-index: 2; rotate: 0deg; translate: 0 -26px; margin-inline: 6px; }
.card h3 { margin: auto 0 6px; font-size: 1.6rem; font-weight: 760; letter-spacing: -.035em; line-height: 1; }
.card p { margin: 0 0 12px; color: var(--body); font-size: .9rem; line-height: 1.45; }
.card a { color: var(--tone-ink); font-size: .86rem; font-weight: 750; text-decoration: underline; text-underline-offset: .2em; }
.card a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card-art { position: relative; display: block; width: 100%; height: 96px; }
.card-art i { position: absolute; display: block; width: 46px; height: 60px; border-radius: 6px; background: var(--surface); box-shadow: 0 4px 10px -4px #0000003a; transition: transform .5s var(--ease-spring); }
.art-combine i:nth-child(1) { left: 8px; top: 18px; rotate: -10deg; }
.art-combine i:nth-child(2) { left: 52px; top: 8px; rotate: 6deg; }
.art-combine i:nth-child(3) { left: 100px; top: 22px; background: var(--tone-strong); }
.card:hover .art-combine i:nth-child(1) { transform: translate(84px, 6px) rotate(10deg); }
.card:hover .art-combine i:nth-child(2) { transform: translate(44px, 12px) rotate(-6deg); }
.art-extract i { top: 18px; width: 34px; height: 46px; }
.art-extract i:nth-child(1) { left: 6px; } .art-extract i:nth-child(2) { left: 46px; background: var(--tone-strong); } .art-extract i:nth-child(3) { left: 86px; background: var(--tone-strong); } .art-extract i:nth-child(4) { left: 126px; }
.card:hover .art-extract i:nth-child(2), .card:hover .art-extract i:nth-child(3) { transform: translateY(-16px); }
.art-compress i { left: 50%; top: 14px; margin-left: -30px; width: 60px; height: 74px; background: var(--surface) repeating-linear-gradient(to bottom, transparent 0 9px, var(--tone-strong) 9px 12px) content-box; padding: 12px 10px; }
.card:hover .art-compress i { transform: scale(.7, .6); }
.art-lock i { left: 50%; top: 32px; margin-left: -28px; width: 56px; height: 46px; border-radius: 12px; background: var(--ink); }
.art-lock i::before { content: ""; position: absolute; left: 12px; right: 12px; top: -22px; height: 30px; border: 6px solid var(--ink); border-bottom: 0; border-radius: 20px 20px 0 0; transition: transform .4s var(--ease-spring); }
.card:hover .art-lock i::before { transform: translateY(-8px); }
.art-mark i { left: 20px; top: 20px; width: 150px; height: 60px; background: var(--surface) linear-gradient(var(--butter-strong), var(--butter-strong)) 12px 22px / 0% 14px no-repeat; transition: background-size .6s var(--ease-out); }
.art-mark i::before { content: ""; position: absolute; left: 12px; right: 16px; top: 24px; height: 3px; border-radius: 2px; background: #9e95a3; box-shadow: 0 16px 0 #c9c2cc; }
.art-mark i { background-size: 50% 14px; }
.card:hover .art-mark i { background-size: 85% 14px; }
.art-rotate i { left: 50%; top: 14px; margin-left: -28px; width: 56px; height: 72px; rotate: 90deg; }
.art-rotate i::before { content: "A"; position: absolute; inset: 0; display: grid; place-items: center; font: 800 1.6rem/1 var(--font-display); color: var(--tone-ink); }
.card:hover .art-rotate i { transform: rotate(-90deg); }
@media (max-width: 1100px) {
  .deck { justify-content: flex-start; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--page-gutter) * -1); padding: 20px var(--page-gutter) 26px; }
  .card { flex-basis: 240px; margin: 0; rotate: 0deg; translate: 0; scroll-snap-align: start; }
  .card:hover, .card:focus-within { translate: 0 -8px; margin: 0; }
}
@media (max-width: 760px) { .tools-head { grid-template-columns: minmax(0, 1fr); } }

/* --------------------------------------------------------------------------
   7 · Manifesto
   -------------------------------------------------------------------------- */
.manifesto { padding: clamp(40px, 7vw, 100px) 0 clamp(70px, 10vw, 140px); text-align: center; }
.manifesto-words { margin: 0; font: 760 clamp(3rem, 10.5vw, 10rem)/.98 var(--font-display); font-stretch: 86%; letter-spacing: -.04em; }
.manifesto-words .w {
  display: inline-block; padding: 0 .12em; margin: .04em 0;
  border-radius: .16em;
  background: linear-gradient(var(--tone-strong), var(--tone-strong)) left 62% / 100% 52% no-repeat;
  transition: background-size 1s var(--ease-out);
}
.manifesto-words .w:nth-child(2) { transition-delay: .25s; }
.manifesto-words .w:nth-child(3) { transition-delay: .5s; }
.lane-ready .manifesto-words:not(.is-in) .w { background-size: 0% 52%; }
.manifesto-sub { margin: 26px auto 0; max-width: 40ch; color: var(--body); font-size: clamp(1.05rem, 1.6vw, 1.3rem); }
.manifesto-sub em { font-family: var(--font-serif); color: var(--accent); }

/* --------------------------------------------------------------------------
   8 · FAQ
   -------------------------------------------------------------------------- */
.faq-band { padding: clamp(60px, 8vw, 110px) 0; border-top: 1px solid var(--rule); }
.faq-heading h2 { font-size: clamp(2.6rem, 6vw, 5.4rem); margin-bottom: 14px; }
.faq-list summary b { font-family: var(--font-display); font-size: 1.12rem; font-weight: 650; letter-spacing: -.01em; }

/* --------------------------------------------------------------------------
   9 · Finale
   -------------------------------------------------------------------------- */
.finale {
  position: relative; overflow: hidden;
  padding: clamp(90px, 13vw, 180px) 0;
  background:
    radial-gradient(60% 80% at 15% 20%, var(--peach), transparent 70%),
    radial-gradient(60% 80% at 85% 80%, var(--lavender), transparent 70%),
    var(--pink);
  text-align: center;
}
.finale-path { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: color-mix(in srgb, var(--ink) 30%, transparent); stroke-width: 2; stroke-dasharray: 2 10; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.finale-plane { position: absolute; left: 0; top: 0; z-index: 1; width: 46px; height: 46px; margin: -23px 0 0 -23px; color: var(--ink); will-change: transform; }
.finale-plane svg { fill: var(--surface); }
.finale-inner { position: relative; z-index: 2; }
.finale h2 { margin: 0; font-size: clamp(3rem, 7.8vw, 7.4rem); text-wrap: balance; font-weight: 760; font-stretch: 86%; line-height: .9; letter-spacing: -.04em; }
.finale h2 em { color: var(--accent); }
.finale p { max-width: 42ch; margin: 24px auto 0; color: var(--body); font-size: 1.12rem; }
.finale .hero-actions { justify-content: center; }
.store-soon { display: inline-flex; align-items: center; gap: 9px; min-height: 47px; padding: 10px 18px; border-radius: 999px; background: color-mix(in srgb, var(--surface) 60%, transparent); font-size: .86rem; font-weight: 700; }
.soon-dot { width: 8px; height: 8px; border-radius: 50%; background: #e14e4e; animation: blink 1.6s infinite; }

/* --------------------------------------------------------------------------
   Motion preferences
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .hero, .lane-ready .hero { height: auto; }
  .hero-stage { position: relative; height: auto; min-height: 0; padding-bottom: 50px; }
  .cam-beam { display: none; }
  .scroll-cue, .finale-plane, .lane-rail { display: none; }
  .sign-sample path { stroke-dashoffset: 0; }
  .card { rotate: 0deg; translate: 0; margin-inline: 6px; }
}
@media (forced-colors: active) {
  .marquee s::after { background: CanvasText; }
  .board, .status, .flap-char, .flap { forced-color-adjust: auto; }
}
