/* Akilo marketing site · "Your company’s mind"
   One working day as one colour arc: night → the switch → 07:00 … 16:05 → afternoon → 18:00 → night → the next dawn.
   Base styles describe each scene's finished state (used for reduced motion and without JS).
   html.motion adds the pinned, scroll-driven versions. */

@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --ink: #141518;
  --ink2: #2E2E33;
  --mut: #575B63;
  --line: rgba(20,21,24,.12);
  --teal: #0B8C86;
  --teal-t: #08736F;      /* teal for text on light colours (≥ 4.5:1) */
  --teal-d: #5FC7BF;      /* teal for text and lines on dark colours */
  --night: #0B0C0F;
  --dawn: #F1EFE9;
  --after: #F4EBDD;       /* afternoon light: Ask, Client, Apps */
  --dusk: #2B2F3E;
  --gx: clamp(20px, 6vw, 112px);   /* the one left edge */
  --nav: 64px;
  --track: -.045em;                /* display tracking for Inter … */
  --track2: -.03em;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", Inter, system-ui, sans-serif;
  --ease: cubic-bezier(.16,1,.3,1);
}
html.sf { --track: -.035em; --track2: -.022em; }  /* … and lighter for SF Pro, which already tightens at display sizes */

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--nav); }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--dawn);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
html.motion body { background: var(--night); }
img { display: block; max-width: 100%; }
ol, ul { list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 8px; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; text-decoration: none; font-weight: 600; }
.skip:focus { top: 12px; }

.sky { position: fixed; inset: 0; z-index: -1; background: var(--night); }
html:not(.motion) .sky { display: none; }

.kicker { font-size: 15px; font-weight: 650; letter-spacing: -.005em; color: var(--teal-t); margin-bottom: 14px; font-variant-numeric: tabular-nums; }
.lede { font-size: clamp(17px, 1.3vw, 20px); line-height: 1.5; color: var(--mut); max-width: 34em; }
h2 { text-wrap: balance; font-weight: 760; letter-spacing: var(--track); line-height: .98; font-size: clamp(40px, 5.6vw, 96px); }
.wrap { padding: 0 var(--gx); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 54px; padding: 0 28px; border-radius: 999px;
  font-size: 16.5px; font-weight: 620; letter-spacing: -.01em; text-decoration: none; white-space: nowrap;
  transition: transform .2s ease, background-color .3s ease, color .3s ease;
}
.btn:active { transform: scale(.97); }
.btn.primary { background: var(--ink); color: #fff; }
.btn.sm { height: 40px; padding: 0 18px; font-size: 14.5px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 620; font-size: 16px; text-decoration: none; margin-top: 26px; color: var(--ink); }
.text-link svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.text-link img { width: 22px; height: 22px; }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: var(--nav);
  display: flex; align-items: center; gap: 26px; padding: 0 var(--gx);
  background: transparent; color: var(--ink); transition: color .25s ease;
}
.nav .brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; font-weight: 720; font-size: 18.5px; letter-spacing: -.02em; }
/* The Akilo lockup (brand/akilo-lockup.svg, outlined): the mark and the lowercase wordmark. */
.nav .lk { display: block; height: 28px; overflow: hidden; }
.nav .lockup { display: block; height: 28px; width: auto; }
.nav .lockup .ink { fill: var(--ink2); transition: fill .25s ease; }
.nav nav { display: flex; gap: 26px; }
.nav nav a { font-size: 15px; font-weight: 560; text-decoration: none; }
.nav nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.nav .dk { color: #fff; }
.nav .brand.dk .lockup .ink { fill: #fff; }
.nav .btn.primary.dk { background: #fff; color: var(--ink); }
.nav .wa { display: none; width: 40px; height: 40px; border-radius: 50%; place-items: center; box-shadow: inset 0 0 0 1px rgba(20,21,24,.16); background: rgba(255,255,255,.7); }
.nav .wa.dk { box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); background: rgba(255,255,255,.08); }
.nav .wa img { width: 22px; height: 22px; }
.nav .btn { transition: opacity .3s ease, transform .3s ease, background-color .25s ease, color .25s ease; }
.nav.cta-off .btn, .nav.cta-off .wa { opacity: 0; transform: translateY(-6px); pointer-events: none; visibility: hidden; transition: opacity .3s ease, transform .3s ease, visibility 0s .3s; }
/* "Sign in": plain text beside the one black button, 44 px tall to tap. The WhatsApp circle and
   the button stay 40 px to look at; their tap area reaches 44 px. */
.nav .signin { display: inline-flex; align-items: center; height: 44px; padding: 0 4px; margin-right: -8px; font-size: 15px; font-weight: 600; letter-spacing: -.01em; text-decoration: none; white-space: nowrap; transition: color .25s ease; }
.nav .signin:hover { text-decoration: underline; text-underline-offset: 4px; }
.nav .wa, .nav .btn.sm { position: relative; }
.nav .wa::after, .nav .btn.sm::after { content: ""; position: absolute; inset: -2px; }
.nav .brand { min-height: 44px; }
@media (max-width: 860px) { .nav nav { display: none; } .nav .wa { display: grid; } .nav { gap: 10px; } :root { --nav: 58px; } }
/* Narrow phones: the brand shortens to the mark, so "Sign in" fits beside the WhatsApp circle and the button. */
@media (max-width: 440px) {
  .nav .lk { width: 38px; }   /* the mark only: the wordmark is clipped off */
  .nav .brand { min-width: 44px; }
  .nav .signin { padding: 0 8px; margin-right: -4px; }
}
@media (max-width: 359px) { .nav { gap: 6px; } .nav .btn.sm { padding: 0 14px; } .nav .signin { padding: 0 6px; margin-right: -2px; } }

/* ---------- pause control (continuous motion only) ---------- */
.pause { position: fixed; right: 16px; bottom: 16px; z-index: 60; height: 40px; padding: 0 14px 0 11px; border-radius: 999px; display: flex; align-items: center; gap: 8px;
  font-size: 13.5px; font-weight: 600; color: var(--ink); background: rgba(255,255,255,.86); box-shadow: inset 0 0 0 1px rgba(20,21,24,.14); -webkit-backdrop-filter: saturate(1.2); }
.pause svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.pause .i-play { display: none; fill: currentColor; stroke: none; }
.pause[aria-pressed="true"] .i-pause { display: none; }
.pause[aria-pressed="true"] .i-play { display: block; }
.pause.off { opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility 0s .25s; }
.pause { transition: opacity .25s ease; }
.pause.dark { color: #fff; background: rgba(20,21,24,.72); box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); }
html:not(.motion) .pause { display: none; }
html.paused *, html.paused *::before, html.paused *::after { animation-play-state: paused !important; }
@media (max-width: 600px) { .pause .pl { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } .pause { width: 40px; padding: 0; justify-content: center; right: 12px; bottom: 12px; } }

/* ---------- scenes ---------- */
.scene { position: relative; }
.stage { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; }
html.motion .stage { position: sticky; top: 0; }
html.motion .hero { height: 500vh; height: max(500vh, 4100px); }   /* short screens still get ~880 px for the light */
html.motion .day { height: 500vh; }
html.motion .ask { height: 260vh; }
html.motion .client { height: 220vh; }
html.motion .apps { height: 240vh; }
@media (max-width: 760px) {
  html.motion .hero { height: 400vh; height: max(400vh, 3300px); }
  html.motion .day { height: 430vh; }
  html.motion .ask { height: 230vh; }
  html.motion .client { height: 200vh; }
  html.motion .apps { height: 210vh; }
}

/* =========================================================
   1 · Hero: night, the switch, the orbit
   ========================================================= */
html:not(.motion) .hero { background: var(--dawn); }
.daylight { position: absolute; inset: 0; background: var(--dawn); }
html.motion .daylight { clip-path: circle(0px at var(--cx, 69%) var(--cy, 52%)); }
.field { position: absolute; inset: 0; width: 100%; height: 100%; }
.k { position: absolute; left: var(--cx, 69%); top: var(--cy, 52%); width: var(--core, 120px); height: var(--core, 120px); margin: calc(var(--core, 120px) / -2) 0 0 calc(var(--core, 120px) / -2); }
.k .tile { position: absolute; inset: 0; border-radius: 28%; background: #141518; }
/* The mark sits in its tile as in the app icon (brand/akilo-app-icon.svg). */
.k .kp { position: absolute; left: 19.5%; top: 27.7%; width: 61%; height: 45.7%; overflow: visible; }
.k .stem path { fill: #fff; }
.k .arm path { fill: var(--teal); }
.k-sub { position: absolute; left: var(--c0x, 50%); top: calc(var(--c0y, 52%) + var(--core, 120px) * var(--kbig, 1.4) / 2 + 26px); transform: translateX(-50%); white-space: nowrap; font-size: 15px; font-weight: 560; color: var(--mut); opacity: 0; }
html:not(.motion) .k-sub { display: none; }

.l1-show {
  position: absolute; left: var(--gx); top: 50%; width: min(40vw, 640px); transform: translateY(-46%);
  font-size: clamp(44px, min(5.4vw, 9.6vh), 100px); font-weight: 770; letter-spacing: var(--track); line-height: .96; text-align: left;
  color: #F4F4F2; opacity: 0; pointer-events: none;
}
html.motion .l1-show { opacity: 1; }
html.motion .l1-show .w { transform: translateY(112%); }
.wm { display: inline-block; overflow: hidden; vertical-align: top; padding: .02em .03em .14em; margin: -.02em -.03em -.14em; }
.l1-show .w, .l2 .w, .m-h .w { display: inline-block; will-change: transform; }
.turn { position: absolute; left: var(--c0x, 50%); top: calc(var(--c0y, 52%) + var(--core, 120px) * var(--kbig, 1.4) / 2 + 26px); transform: translateX(-50%); width: min(90vw, 20em); text-align: center; font-size: clamp(19px, 1.6vw, 25px); font-weight: 600; letter-spacing: -.015em; color: #C9CDD3; opacity: 0; }
html:not(.motion) .turn { display: none; }
.plain { position: absolute; left: var(--gx); bottom: 34px; max-width: 31em; font-size: 16px; line-height: 1.5; color: rgba(236,238,240,.8); }
html:not(.motion) .plain { position: static; margin: 18px 0 0; padding: 0; font-size: 15px; color: var(--mut); text-align: left; }
.hero-copy { position: absolute; left: var(--gx); top: 50%; transform: translateY(-46%); width: min(38vw, 600px); }
.hero-title .l2 { display: block; font-size: clamp(44px, min(5.4vw, 9.6vh), 100px); font-weight: 770; letter-spacing: var(--track); line-height: .96; color: var(--ink); }
.hero-copy .lede { margin-top: 26px; max-width: 25em; }
.hint {
  position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px; color: rgba(255,255,255,.66); font-size: 13.5px; font-weight: 560; letter-spacing: .01em;
}
.hint span { width: 1.5px; height: 44px; background: rgba(255,255,255,.18); position: relative; overflow: hidden; order: 2; }
.hint span::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 16px; background: #fff; animation: hint 1.8s cubic-bezier(.6,0,.4,1) infinite; }
@keyframes hint { 0% { transform: translateY(-16px); } 100% { transform: translateY(44px); } }
html:not(.motion) .hint { display: none; }

@media (max-aspect-ratio: 1/1), (max-width: 760px) {
  .hero-copy { left: var(--gx); right: var(--gx); width: auto; top: auto; bottom: max(24px, 4svh); transform: none; }
  .hero-title .l2 { font-size: clamp(38px, 10.6vw, 64px); }
  .hero-copy .lede { margin-top: 14px; font-size: 16px; }
  .hero-copy .text-link { margin-top: 14px; }
  .l1-show { left: 50%; transform: translate(-50%, -50%); text-align: center; font-size: clamp(40px, 11.6vw, 72px); width: calc(100vw - 2 * var(--gx)); top: 40%; }
  .turn { font-size: 18px; }
  .plain { right: var(--gx); bottom: 118px; font-size: 15px; text-align: center; margin: 0 auto; }
  .hint { bottom: 22px; } .hint span { height: 34px; }
  .k-sub { font-size: 13.5px; top: calc(var(--c0y) + var(--core) * var(--kbig, 1.25) / 2 + 18px); }
}

/* =========================================================
   2 · One working day
   ========================================================= */
/* Base: a vertical list of moments, each with its own time-of-day colour. */
.day .stage { height: auto; min-height: 0; overflow: visible; }
.day-kicker { padding: 120px var(--gx) 0; margin: 0; }
.demo-note { padding: 6px var(--gx) 0; font-size: 14px; color: var(--mut); }
.day .clock, .day .dayline, .day .phone { display: none; }
.moment { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto 1fr; column-gap: 6vw; align-content: center; padding: 72px var(--gx); }
.moment .m-time { grid-column: 1; grid-row: 1; align-self: end; }
.moment .m-h { grid-column: 1; grid-row: 2; }
.moment .m-b { grid-column: 1; grid-row: 3; align-self: start; }
.moment .m-fig { grid-column: 2; grid-row: 1 / 4; align-self: center; }
.moment:nth-child(1) { background: #EDF0EE; }
.moment:nth-child(2) { background: #F4F4F0; }
.moment:nth-child(3) { background: #F7F6F2; }
.moment:nth-child(4) { background: #FAF8F3; }
.moment:nth-child(5) { background: #EFDCC4; }
.m-time { font-size: clamp(56px, 8vw, 120px); font-weight: 720; letter-spacing: var(--track); line-height: 1; font-variant-numeric: tabular-nums; }
.m-h { font-size: clamp(30px, 3.6vw, 56px); font-weight: 760; letter-spacing: var(--track); line-height: 1.02; margin-top: 18px; max-width: 12em; text-wrap: balance; }
.m-b { font-size: 18px; line-height: 1.55; color: var(--mut); margin-top: 18px; max-width: 28em; }
.m-fig { width: min(300px, 76vw); border-radius: 44px; border: 9px solid #141518; overflow: hidden; background: #F6F6F6; box-shadow: 0 40px 70px -40px rgba(20,21,24,.45); }
.m-fig img { width: 100%; height: auto; }
@media (max-width: 760px) {
  .moment { grid-template-columns: 1fr; grid-template-rows: none; justify-items: start; padding: 56px var(--gx); }
  .moment .m-time, .moment .m-h, .moment .m-b { grid-row: auto; }
  .moment .m-fig { grid-column: 1; grid-row: auto; justify-self: center; margin-top: 32px; }
}

/* Motion: one pinned stage. The clock is the hero of the scene: big, low, off the left edge. */
html.motion .day .stage { height: 100vh; height: 100svh; min-height: 560px; overflow: hidden;
  --sw: min(300px, calc((100svh - var(--nav) - 150px) / 2.29)); --sb: calc(var(--sw) * .118); --bz: calc(var(--sw) * .03);
  --sh: calc(var(--sw) * 2.1641); --fh: calc(var(--sh) + var(--sb) + 2 * var(--bz)); --fw: calc(var(--sw) + 2 * var(--bz));
  --px: calc(100% - var(--gx) - var(--fw) - 2vw); --fy: calc(50% + var(--nav) / 2); }
html.motion .day-kicker { position: absolute; left: var(--gx); top: calc(var(--nav) + 34px); padding: 0; }
html.motion .demo-note { position: absolute; left: var(--px); width: var(--fw); top: calc(var(--nav) + 14px); padding: 0; font-size: 12.5px; line-height: 1.4; text-align: center; }
html.motion .day .clock { display: flex; position: absolute; left: calc(var(--gx) * -.25 - .05em); bottom: -.13em; font-size: min(36vh, 25vw); font-weight: 740; letter-spacing: -.045em; line-height: 1; font-variant-numeric: tabular-nums; color: var(--ink); pointer-events: none; }
.clock .dg { display: block; height: 1em; overflow: hidden; }
.clock .strip { display: block; will-change: transform; }
.clock .dg i { display: block; height: 1em; font-style: normal; text-align: center; }
.clock .colon { display: block; width: .3em; text-align: center; transform: translateY(-.06em); }
html.motion .day .dayline { display: block; position: absolute; left: var(--gx); top: calc(var(--nav) + 84px); width: min(400px, calc(var(--px) - var(--gx) - 60px)); height: 40px; }
.dayline .track { position: absolute; left: 0; right: 0; top: 7px; height: 2px; background: currentColor; opacity: .22; border-radius: 2px; }
.dayline .sun { position: absolute; top: 0; left: 0; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px var(--sky-c, #fff); will-change: transform; }
.dayline .lbl { position: absolute; top: 22px; font-size: 12.5px; font-weight: 600; font-variant-numeric: tabular-nums; color: currentColor; }
.dayline .lbl.a { left: 0; } .dayline .lbl.b { right: 0; }

html.motion .day .phone {
  display: block; position: absolute; left: var(--px); top: var(--fy); width: var(--fw); height: var(--fh); transform: translateY(-50%);
  border: var(--bz) solid #141518; border-radius: calc(var(--sw) * .17); background: #F6F6F6; overflow: hidden; z-index: 3;
  box-shadow: 0 50px 90px -50px rgba(20,21,24,.5), 0 0 0 1px rgba(20,21,24,.1);
}
.phone .status { position: absolute; left: 0; right: 0; top: 0; height: var(--sb); display: flex; align-items: center; justify-content: space-between; padding: 0 calc(var(--sw) * .085) 0 calc(var(--sw) * .1);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", Inter, system-ui, sans-serif; font-size: calc(var(--sw) * .046); color: #141518; font-variant-numeric: tabular-nums; z-index: 2; }
.phone .status b { font-weight: 640; letter-spacing: -.01em; width: 4.2em; }
.phone .island { position: absolute; left: 50%; top: calc(var(--sw) * .03); width: calc(var(--sw) * .3); height: calc(var(--sw) * .088); margin-left: calc(var(--sw) * -.15); border-radius: 999px; background: #0A0A0B; }
.phone .st-icons { display: flex; gap: calc(var(--sw) * .014); align-items: center; }
.phone .st-icons svg { height: calc(var(--sw) * .034); width: auto; fill: currentColor; }
.phone .screens { position: absolute; left: 0; right: 0; top: var(--sb); bottom: 0; }
html.motion .day .moments { position: absolute; inset: 0; }
html.motion .moment { position: absolute; inset: 0; display: block; padding: 0; background: none; pointer-events: none; }
html.motion .moment .m-time { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
html.motion .moment .m-h, html.motion .moment .m-b { position: absolute; left: var(--gx); width: min(560px, calc(var(--px) - var(--gx) - 56px)); }
html.motion .moment .m-h { top: calc(var(--nav) + 150px); font-size: clamp(34px, min(3.8vw, 6.6vh), 64px); margin: 0; max-width: 10em; }
html.motion .moment .m-b { top: calc(var(--nav) + 150px + var(--mh, 2.1em)); margin: 0; max-width: 26em; font-size: clamp(16px, 1.25vw, 19px); }
html.motion .moment .m-h .w { display: inline-block; will-change: transform, opacity; }
html.motion .phone .m-fig { position: absolute; left: 0; top: 0; width: 100%; height: 100%; margin: 0; border: 0; border-radius: 0; box-shadow: none; background: #F6F6F6; will-change: opacity, transform; }
html.motion .phone .m-fig img { width: 100%; height: auto; }

/* Phones: clock and words above, the whole screen below (never cropped). */
@media (max-width: 600px) {
  html.motion .day .stage { --sw: min(250px, calc((100svh - var(--nav) - 262px) / 2.3)); --px: calc(50% - var(--fw) / 2); --fy: auto; }
  html.motion .day-kicker { top: calc(var(--nav) + 20px); font-size: 13.5px; }
  html.motion .demo-note { display: none; }
  html.motion .day .clock { left: auto; right: var(--gx); bottom: auto; top: calc(var(--nav) + 6px); font-size: 50px; letter-spacing: -.04em; }
  html.motion .day .dayline { display: none; }
  html.motion .moment .m-h, html.motion .moment .m-b { left: var(--gx); right: var(--gx); width: auto; }
  html.motion .moment .m-h { top: calc(var(--nav) + 70px); font-size: 26px; max-width: 13em; }
  html.motion .moment .m-b { top: calc(var(--nav) + 70px + var(--mh, 1.1em)); font-size: 14.5px; line-height: 1.45; max-width: none; }
  html.motion .day .phone { top: auto; bottom: 16px; transform: none; }
}
@media (min-width: 601px) and (max-aspect-ratio: 1/1) {
  html.motion .day .stage { --sw: min(330px, calc((100svh - var(--nav) - 330px) / 2.3)); --px: calc(50% - var(--fw) / 2); --fy: auto; }
  html.motion .day .clock { left: auto; right: var(--gx); bottom: auto; top: calc(var(--nav) + 10px); font-size: 110px; }
  html.motion .demo-note { display: none; }
  html.motion .moment .m-h { top: calc(var(--nav) + 150px); font-size: 44px; width: auto; right: var(--gx); max-width: 14em; }
  html.motion .moment .m-b { top: calc(var(--nav) + 150px + var(--mh, 1.1em)); width: auto; right: var(--gx); }
  html.motion .day .phone { top: auto; bottom: 24px; transform: none; }
}

/* =========================================================
   3 · Ask across your records
   ========================================================= */
.ask .stage { --qf: min(6.6vw, 11.4vh); --qs: .42; --qtop: calc(var(--nav) + 70px); }
html:not(.motion) .ask .stage, html:not(.motion) .client .stage, html:not(.motion) .apps .stage { height: auto; min-height: 100vh; padding-bottom: 60px; }
html:not(.motion) .ask, html:not(.motion) .client, html:not(.motion) .apps, html:not(.motion) .sources { background: var(--after); }
.ask-kicker { position: absolute; left: var(--gx); top: calc(var(--nav) + 30px); }
.q {
  position: absolute; left: var(--gx); right: var(--gx); top: var(--qtop); max-width: 15em;
  font-size: var(--qf); font-weight: 770; letter-spacing: var(--track); line-height: 1; transform-origin: 0 0; transform: scale(var(--qs));
}
.q .c.off { opacity: 0; }
.q .c.caret { box-shadow: 3px 0 0 var(--teal); }
.answer {
  position: absolute; left: var(--gx); right: var(--gx); top: calc(var(--qtop) + var(--qh, calc(var(--qf) * 2)) * var(--qs) + 40px); bottom: 28px;
  display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); gap: 5vw; align-items: start; align-content: start;
}
.total .big { display: flex; align-items: baseline; gap: .08em; font-weight: 780; letter-spacing: -.05em; line-height: .85; font-size: min(8.4vw, 19vh, 176px); font-variant-numeric: tabular-nums; white-space: nowrap; }
.total .cur { font-size: .42em; letter-spacing: -.02em; margin-right: .08em; }
.total .sub { font-size: 19px; color: var(--mut); margin-top: 20px; }
.total .sum { font-size: 16px; color: var(--mut); margin-top: 8px; font-variant-numeric: tabular-nums; display: flex; flex-wrap: wrap; gap: 0 .4em; }
.total .sum .eq { color: var(--ink); font-weight: 650; }
.srcs { margin-top: 26px; display: grid; gap: 8px; }
.srcs li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 560; color: var(--ink2); }
.srcs img { width: 20px; height: 20px; }
.owe { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.owe th, .owe td { text-align: right; padding: 0 0 0 12px; height: 58px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.owe thead th { height: 34px; font-size: 13px; font-weight: 600; color: var(--mut); }
.owe th:first-child { text-align: left; padding: 0; }
.owe tbody th { font-size: 17.5px; font-weight: 650; letter-spacing: -.015em; }
.owe tbody th .av { display: inline-grid; vertical-align: middle; margin-right: 12px; }
.av { width: 36px; height: 36px; border-radius: 50%; background: var(--c, #2F5BD3); color: #fff; display: grid; place-items: center; font-size: 12.5px; font-weight: 700; letter-spacing: .01em; flex: none; }
.owe .owes { font-size: 17px; font-weight: 720; }
.fig { font-size: 16.5px; font-weight: 600; padding: 5px 9px; margin-right: -9px; border-radius: 9px; text-decoration: underline dotted rgba(20,21,24,.45); text-underline-offset: 5px; text-decoration-thickness: 1.5px; transition: background-color .2s ease, color .2s ease; }
.fig:hover { background: rgba(20,21,24,.06); }
.fig[aria-expanded="true"] { background: var(--ink); color: #fff; text-decoration-color: transparent; }
.paidup { margin-top: 12px; font-size: 14.5px; color: var(--mut); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; }
.paidup .tip { color: var(--ink2); font-weight: 560; }
.detail { min-width: 0; }
.viewer { margin-top: 18px; min-height: 0; min-width: 0; }
.viewer:empty { display: none; }
.vw { background: #fff; border-radius: 18px; box-shadow: 0 0 0 1px rgba(20,21,24,.08), 0 30px 60px -40px rgba(20,21,24,.4); overflow: hidden; }
.vw-h { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 14px; }
.vw-h img { width: 20px; height: 20px; }
.vw-h b { font-weight: 650; }
.vw-h span { color: var(--mut); }
.vw-h .x { margin-left: auto; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: var(--mut); }
.vw-h .x:hover { background: rgba(20,21,24,.06); }
.vw-h .x svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; }
.vw-b { padding: 14px 16px; display: flex; align-items: flex-start; gap: 16px; overflow-x: auto; }
.vw-f { padding: 10px 16px 13px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink2); font-variant-numeric: tabular-nums; }
.vw-f b { font-weight: 700; }
/* a small workbook */
.xl { border-collapse: collapse; font-family: Calibri, "Segoe UI", -apple-system, system-ui, sans-serif; font-size: 12.5px; font-variant-numeric: tabular-nums; flex: none; }
.xl caption { text-align: left; font-size: 12px; font-weight: 650; color: var(--mut); padding-bottom: 6px; }
.xl th, .xl td { border: 1px solid #DADCE0; padding: 0 8px; height: 22px; white-space: nowrap; }
.xl thead th, .xl tbody th { background: #F3F3F3; color: #5F6368; font-weight: 500; font-size: 11px; text-align: center; padding: 0 5px; }
.xl td.n { text-align: right; }
.xl tr.hit td { background: #E3F2EC; }
.xl tr.hit td.kc { box-shadow: inset 0 0 0 2px #107C41; font-weight: 700; }
.xl .gap { color: #9AA0A6; }
/* a scanned invoice */
.scan { flex: none; width: 250px; background: #F5F2EA; border-radius: 3px; padding: 14px 16px 16px; transform: rotate(-1.3deg); box-shadow: 0 1px 2px rgba(0,0,0,.12), inset 0 0 0 1px rgba(0,0,0,.05);
  font-family: "Courier New", ui-monospace, Menlo, monospace; font-size: 11.5px; color: #3A3832; line-height: 1.5; filter: contrast(.95); }
.scan + .scan { transform: rotate(1.1deg); }
.scan h4 { font-size: 12.5px; letter-spacing: .04em; margin-bottom: 6px; }
.scan p { display: flex; justify-content: space-between; gap: 10px; }
.scan p.tot { border-top: 1px dashed #8E8A80; margin-top: 6px; padding-top: 5px; font-weight: 700; }
.scan .hl { background: rgba(255, 214, 0, .45); box-shadow: 0 0 0 2px rgba(255,214,0,.45); border-radius: 1px; }
/* a database result */
.db { flex: none; font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 12px; color: #1E1F22; }
.db code { display: block; color: #5F636B; margin-bottom: 8px; white-space: pre-wrap; }
.db table { border-collapse: collapse; }
.db th, .db td { text-align: left; padding: 4px 14px 4px 0; border-bottom: 1px solid #ECECE8; white-space: nowrap; }
.db th { color: #5F636B; font-weight: 500; }
.db tr.hit td { font-weight: 700; color: #08736F; }
.db .none { color: #A0362A; margin-top: 8px; }

@media (min-aspect-ratio: 1/1) and (max-height: 820px) {
  .ask .stage { --qtop: calc(var(--nav) + 52px); }
  .ask-kicker { top: calc(var(--nav) + 16px); }
  .owe th, .owe td { height: 48px; }
  .srcs { margin-top: 18px; }
}
@media (max-aspect-ratio: 1/1), (max-width: 760px) {
  .ask .stage { --qf: clamp(32px, 9.4vw, 60px); --qs: .5; --qtop: calc(var(--nav) + 46px); }
  .ask-kicker { top: calc(var(--nav) + 12px); }
  .answer { grid-template-columns: minmax(0, 1fr); gap: 14px; top: calc(var(--qtop) + var(--qh, calc(var(--qf) * 3)) * var(--qs) + 18px); bottom: 12px; }
  .total .big { font-size: clamp(60px, 18vw, 110px); }
  .total .sub { font-size: 15.5px; margin-top: 8px; }
  .total .sum, .srcs { display: none; }
  .owe thead th { font-size: 11.5px; height: 26px; }
  .owe th, .owe td { height: 44px; padding-left: 4px; }
  .owe tbody th { font-size: 14.5px; }
  .owe tbody th .av { display: none; }
  .fig { font-size: 14px; padding: 4px 6px; margin-right: -6px; }
  .owe .owes { font-size: 14.5px; }
  .paidup { font-size: 13px; margin-top: 8px; }
  .viewer { margin-top: 10px; }
  .vw-b { padding: 10px 12px; gap: 10px; }
  .vw-h { padding: 9px 12px; font-size: 13px; }
  .vw-f { padding: 8px 12px 10px; font-size: 13px; }
  .xl { font-size: 11.5px; } .xl th, .xl td { height: 20px; padding: 0 5px; }
  .scan { width: 200px; font-size: 10.5px; padding: 10px 12px; }
}

/* =========================================================
   4 · One client, everywhere
   ========================================================= */
.c-head { position: absolute; left: var(--gx); top: 50%; transform: translateY(-50%); width: min(38vw, 600px); }
.c-head h2 { font-size: clamp(40px, min(5.4vw, 10vh), 96px); }
.c-lede { font-size: clamp(17px, 1.3vw, 20px); line-height: 1.5; color: var(--mut); margin-top: 24px; max-width: 24em; }
.card { position: absolute; right: var(--gx); top: calc(50% + var(--nav) / 2); transform: translateY(-50%); width: min(580px, 44vw); padding: 22px 24px 18px; }
.card::before { content: ""; position: absolute; inset: 0; border-radius: 28px; background: #fff; box-shadow: 0 0 0 1px rgba(20,21,24,.07), 0 40px 80px -44px rgba(20,21,24,.4);
  opacity: var(--cardo, 1); transform: scale(var(--cards, 1)); }
.card > * { position: relative; }
.card-top { display: flex; align-items: center; gap: 14px; padding-bottom: 14px; min-height: 66px; }
.av.lg { width: 50px; height: 50px; font-size: 16px; }
.card-top .name { display: block; font-size: 21px; font-weight: 720; letter-spacing: -.02em; }
.card-top .meta { display: block; font-size: 14px; color: var(--mut); margin-top: 3px; }
.card .ct-done { display: none; }
.card[data-state="done"] .ct-ask { display: none; }
.card[data-state="done"] .ct-done { display: block; animation: rise .5s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.spell li { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 58px; padding: 6px 0; }
.spell li::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line); opacity: var(--cardo, 1); }
.spell .native { display: inline-flex; align-items: center; gap: 10px; transform-origin: 0 50%; white-space: nowrap; transition: opacity .35s ease; }
.spell .plainv { display: none; font-size: 15px; color: var(--mut); white-space: pre; }
.spell .src { font-size: 13.5px; color: var(--mut); text-align: right; white-space: nowrap; }
/* each spelling in its own source's look */
.sp-app .native { height: 38px; padding: 0 14px 0 6px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px #DCDCD6; }
.sp-app img { width: 26px; height: 26px; border-radius: 7px; }
.sp-app b { font-size: 15.5px; font-weight: 640; letter-spacing: -.01em; }
.sp-scan .native { padding: 8px 12px; background: #F3EFE5; transform: rotate(-1.6deg); box-shadow: 0 1px 2px rgba(0,0,0,.14), inset 0 0 0 1px rgba(0,0,0,.05); font-family: "Courier New", ui-monospace, Menlo, monospace; }
.sp-scan b { font-size: 14px; letter-spacing: .03em; color: #34322C; filter: blur(.25px); }
.sp-xl .native { display: inline-grid; grid-template-columns: 26px auto; grid-template-rows: 18px 28px; font-family: Calibri, "Segoe UI", -apple-system, system-ui, sans-serif; font-size: 14.5px; background: #fff; box-shadow: 0 0 0 1px #DADCE0; gap: 0; }
.sp-xl .col { grid-column: 2; grid-row: 1; background: #F3F3F3; color: #5F6368; font-style: normal; font-size: 11px; text-align: center; border-left: 1px solid #DADCE0; border-bottom: 1px solid #DADCE0; line-height: 18px; }
.sp-xl .row { grid-column: 1; grid-row: 2; background: #F3F3F3; color: #5F6368; font-style: normal; font-size: 11px; text-align: center; border-right: 1px solid #DADCE0; line-height: 28px; }
.sp-xl b { grid-column: 2; grid-row: 2; font-weight: 400; padding: 0 10px; line-height: 26px; box-shadow: inset 0 0 0 2px #107C41; }
.sp-mail .native { gap: 7px; font-size: 14.5px; }
.sp-mail .mf { color: var(--mut); }
.sp-mail b { font-weight: 650; }
.sp-mail .ma { color: #3B6FD4; font-size: 13.5px; }
.sp-db .native { flex-direction: column; align-items: flex-start; gap: 0; font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 13.5px; border: 1px solid #DADCE0; border-radius: 4px; overflow: hidden; }
.sp-db .hd { font-style: normal; font-size: 11px; color: #5F636B; background: #F3F3F3; padding: 2px 10px; width: 100%; border-bottom: 1px solid #DADCE0; }
.sp-db b { font-weight: 500; padding: 4px 10px; color: #A0362A; background: #fff; }
.sp-db .tsp { display: inline-block; width: .6em; height: 1em; vertical-align: -2px; margin-left: 1px; border: 1.5px dashed #9EA2A9; border-radius: 3px; }
/* merged: the native looks give way to one plain list of aliases */
.card[data-state="done"] .native { display: none; }
.card[data-state="done"] .plainv { display: block; animation: rise .45s var(--ease) both; }
.card[data-state="done"] .spell li { min-height: 40px; }
.card[data-state="done"] .spell li:nth-child(2) .plainv { animation-delay: .04s; } .card[data-state="done"] .spell li:nth-child(3) .plainv { animation-delay: .08s; }
.card[data-state="done"] .spell li:nth-child(4) .plainv { animation-delay: .12s; } .card[data-state="done"] .spell li:nth-child(5) .plainv { animation-delay: .16s; }
.same { display: flex; align-items: center; gap: 12px; border-top: 1px solid var(--line); padding-top: 14px; font-size: 16px; font-weight: 600; min-height: 60px; }
.same .q-ask { margin-right: auto; }
.same .q-done { display: none; margin-right: auto; font-weight: 500; color: var(--ink2); outline: none; }
.rc { width: 44px; height: 44px; border-radius: 50%; background: var(--ink); display: grid; place-items: center; flex: none; transition: transform .2s ease; }
.rc:hover { transform: scale(1.06); }
.rc svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.undo { display: none; font-size: 15px; font-weight: 620; padding: 8px 14px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(20,21,24,.2); }
.card[data-state="done"] .q-ask, .card[data-state="done"] .rc { display: none; }
.card[data-state="done"] .q-done, .card[data-state="done"] .undo { display: block; }

@media (max-aspect-ratio: 1/1), (max-width: 760px) {
  .c-head { left: var(--gx); right: var(--gx); width: auto; top: calc(var(--nav) + 14px); transform: none; }
  .c-head h2 { font-size: clamp(34px, 9.6vw, 60px); }
  .c-lede { font-size: 15px; margin-top: 10px; }
  .card { left: 12px; right: 12px; width: auto; top: auto; bottom: 14px; transform: none; padding: 14px 14px 12px; }
  .card::before { border-radius: 24px; }
  .card-top { padding-bottom: 8px; min-height: 52px; }
  .av.lg { width: 40px; height: 40px; font-size: 13.5px; }
  .card-top .name { font-size: 17px; } .card-top .meta { font-size: 12.5px; }
  .spell li { flex-direction: column; align-items: flex-start; justify-content: center; gap: 3px; min-height: 0; padding: 7px 0; }
  .spell .src { font-size: 12px; text-align: left; }
  .sp-app .native { height: 32px; } .sp-app img { width: 22px; height: 22px; } .sp-app b { font-size: 14px; }
  .sp-scan b { font-size: 12.5px; } .sp-scan .native { padding: 5px 10px; }
  .sp-xl .native { font-size: 13px; grid-template-rows: 16px 24px; } .sp-xl b { line-height: 22px; } .sp-xl .row { line-height: 24px; }
  .sp-mail .native { font-size: 13px; flex-wrap: wrap; white-space: normal; } .sp-mail .ma { font-size: 12px; }
  .sp-db .native { font-size: 12.5px; }
  .card[data-state="done"] .spell li { flex-direction: row; justify-content: space-between; align-items: center; padding: 5px 0; min-height: 34px; }
  .same { min-height: 52px; padding-top: 10px; font-size: 15px; }
  .same .q-done { font-size: 13.5px; }
}

/* =========================================================
   5 · Sources: a still grid, by kind
   ========================================================= */
.sources { padding: 140px 0 130px; }
.sources h2 { max-width: 11em; }
.sources .lede { margin-top: 22px; }
.sgroups { display: grid; grid-template-columns: 1.3fr 1fr 1.3fr; gap: 0 44px; margin-top: 70px; }
.sg h3 { font-size: 14px; font-weight: 650; color: var(--mut); padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.sg li { display: grid; grid-template-columns: 34px 1fr; column-gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.sg img { width: 30px; height: 30px; grid-row: 1 / 3; object-fit: contain; }
.sg b { font-size: 17px; font-weight: 640; letter-spacing: -.015em; }
.sg span { font-size: 14px; color: var(--mut); }
@media (max-width: 900px) { .sgroups { grid-template-columns: 1fr; gap: 34px; margin-top: 44px; } .sources { padding: 100px 0 90px; } }

/* =========================================================
   6 · Inside your apps: a camera inside the window
   ========================================================= */
.a-text { position: absolute; left: var(--gx); top: calc(50% + var(--nav) / 2); transform: translateY(-50%); width: min(27vw, 430px); }
.a-text h2 { font-size: clamp(38px, min(4.4vw, 8.6vh), 78px); }
.a-lede { font-size: clamp(16.5px, 1.2vw, 19px); line-height: 1.5; color: var(--mut); margin-top: 20px; }
.steps { margin-top: 30px; display: grid; gap: 14px; }
.steps li { display: flex; align-items: flex-start; gap: 14px; font-size: 16.5px; line-height: 1.4; font-weight: 560; color: var(--ink); }
.steps .dot { width: 24px; height: 24px; flex: none; border-radius: 50%; background: var(--ink); position: relative; transition: background-color .3s ease, box-shadow .3s ease; }
.steps .dot::after { content: ""; position: absolute; left: 7.5px; top: 7px; width: 8.5px; height: 4.6px; border: solid #fff; border-width: 0 0 2.3px 2.3px; transform: rotate(-45deg); }
html.motion .steps li { color: var(--mut); transition: color .3s ease; }
html.motion .steps li .dot { background: transparent; box-shadow: inset 0 0 0 2px #C9C4BA; }
html.motion .steps li .dot::after { opacity: 0; }
html.motion .steps li.on { color: var(--ink); }
html.motion .steps li.on .dot { background: var(--ink); box-shadow: none; }
html.motion .steps li.on .dot::after { opacity: 1; }
.a-note { margin-top: 24px; font-size: 15px; font-weight: 600; color: var(--ink2); padding-left: 38px; }
.device { position: absolute; right: var(--gx); top: calc(50% + var(--nav) / 2); transform: translateY(-50%); width: min(60vw, calc(100vw - 2 * var(--gx) - 27vw - 56px), calc((100svh - var(--nav) - 110px) * 1.6)); }
.win.desk { border-radius: 16px; background: #fff; overflow: hidden; box-shadow: 0 0 0 1px rgba(20,21,24,.1), 0 50px 100px -50px rgba(20,21,24,.45); }
.win .bar { height: 34px; display: flex; align-items: center; gap: 7px; padding: 0 14px; background: #F1EFEA; border-bottom: 1px solid #E4E1DA; }
.win .bar i { width: 11px; height: 11px; border-radius: 50%; background: #D8D4CC; }
.win .bar span { margin-left: 12px; font-size: 12.5px; color: var(--mut); font-weight: 560; }
.shots { position: relative; aspect-ratio: 1440 / 900; background: #FBFAF7; overflow: hidden; }
.cam { position: absolute; inset: 0; transform-origin: 0 0; will-change: transform; }
.shots img { position: absolute; inset: 0; width: 100%; height: 100%; }
.shots .s0, .shots .s1, .shots .s2, .shots .s3 { opacity: 0; }
html.motion .shots .s0 { opacity: 1; }
html.motion .shots .s4 { opacity: 0; }
.tap { position: absolute; width: 3.9%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; box-shadow: 0 0 0 2px var(--teal); pointer-events: none; opacity: 0; }
.win.mob { display: none; }

@media (max-aspect-ratio: 1/1), (max-width: 760px) {
  .a-text { left: var(--gx); right: var(--gx); width: auto; top: calc(var(--nav) + 10px); transform: none; }
  .a-text h2 { font-size: clamp(32px, 9vw, 56px); }
  .a-lede { display: none; }
  .steps { margin-top: 12px; gap: 6px; }
  .steps li { font-size: 14px; gap: 10px; }
  .steps .dot { width: 20px; height: 20px; }
  .steps .dot::after { left: 6px; top: 5.6px; width: 7.5px; height: 4px; border-width: 0 0 2px 2px; }
  .a-note { margin-top: 8px; font-size: 13.5px; padding-left: 30px; }
  .device { left: 12px; right: 12px; top: auto; bottom: 12px; transform: none; width: auto; height: var(--mobh, 52svh); display: flex; justify-content: center; }
  .win.desk { display: none; }
  .win.mob { display: block; width: min(100%, 430px); height: 100%; border-radius: 22px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px rgba(20,21,24,.1), 0 30px 60px -36px rgba(20,21,24,.45); }
  .win.mob .shots { aspect-ratio: auto; height: 100%; }
  .win.mob .shots img { height: auto; bottom: auto; will-change: transform; }
  html:not(.motion) .device { position: relative; left: auto; right: auto; bottom: auto; height: auto; margin: 260px 12px 0; }
  html:not(.motion) .win.mob .shots img.s4 { position: relative; }
}

/* =========================================================
   7 · 18:00, locked for the night
   ========================================================= */
.security { background: #12141A; color: #fff; padding: 0 0 120px; position: relative; z-index: 1; }
html.motion .buyers, html.motion .sources, html.motion .close { background: transparent; }
html.motion .security { background: var(--dusk); }
.security .kicker { color: var(--teal-d); }
.security .lede { color: rgba(255,255,255,.74); margin-top: 22px; max-width: 27em; }
/* 18:00: one composed screen. The phone we followed all day, whole, with its screen dimmed for the night. */
.sec-top { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 4vw; align-items: center; min-height: 100vh; min-height: 100svh; padding: calc(var(--nav) + 24px) 0 40px; }
.sec-top h2 { max-width: 8.5em; }
.dusk-phone { --sw: min(290px, calc((100svh - var(--nav) - 110px) / 2.33)); --sb: calc(var(--sw) * .118); --bz: calc(var(--sw) * .03);
  position: relative; width: calc(var(--sw) + 2 * var(--bz)); margin: 0; justify-self: center; border: var(--bz) solid #050506; border-radius: calc(var(--sw) * .17); overflow: hidden; background: #F6F6F6;
  box-shadow: 0 0 0 1px rgba(255,255,255,.1); }
.dusk-phone img { display: block; width: 100%; height: auto; margin-top: var(--sb); }
.dusk-phone::after { content: ""; position: absolute; inset: 0; background: rgba(8,10,16,.38); z-index: 3; }   /* the screen dimmed for the night */
.flow { margin-top: 40px; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, .8fr); align-items: center; gap: 0; }
.jhb, .gpt { border: 1px solid rgba(255,255,255,.3); border-radius: 22px; padding: 22px 24px 24px; }
.box-label { font-size: 13px; font-weight: 650; letter-spacing: .01em; color: var(--teal-d); }
.jhb ul { margin-top: 14px; display: grid; gap: 12px; }
.jhb li { display: grid; gap: 2px; padding: 12px 14px; border-radius: 12px; background: rgba(255,255,255,.06); }
.jhb b { font-size: 16.5px; font-weight: 650; letter-spacing: -.01em; }
.jhb span { font-size: 14px; color: rgba(255,255,255,.68); }
.pipe { position: relative; height: 180px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 8px; padding: 0 14px; }
.pipe .line { position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(255,255,255,.35); }
.pipe .line::after { content: ""; position: absolute; right: -1px; top: -4.5px; width: 9px; height: 9px; border-top: 1px solid rgba(255,255,255,.6); border-right: 1px solid rgba(255,255,255,.6); transform: rotate(45deg); }
.rowchip { position: relative; font-size: 12.5px; font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; background: #1D2029; box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); border-radius: 8px; padding: 6px 10px; white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
html.motion .security .rowchip { opacity: 0; transform: translateX(-24px); transition: opacity .6s ease, transform .9s var(--ease); }
html.motion .security.in .rowchip { opacity: 1; transform: none; }
html.motion .security.in .rowchip:nth-child(3) { transition-delay: .15s; } html.motion .security.in .rowchip:nth-child(4) { transition-delay: .3s; }
.gpt img { width: 28px; height: 28px; filter: invert(1); margin-bottom: 14px; }
.gpt .box-label { color: #fff; font-size: 17px; letter-spacing: -.01em; }
.gpt-b { font-size: 14px; color: rgba(255,255,255,.68); margin-top: 6px; }
.flow figcaption { grid-column: 1 / -1; margin-top: 18px; font-size: 15px; color: rgba(255,255,255,.7); }
.three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 44px; margin-top: 90px; }
.three li { border-top: 1px solid rgba(255,255,255,.18); padding-top: 26px; }
.three h3 { font-size: 22px; font-weight: 700; letter-spacing: -.02em; }
.three p { font-size: 16px; line-height: 1.55; color: rgba(255,255,255,.72); margin-top: 10px; max-width: 26em; }
.cost { margin-top: 64px; font-size: 17px; line-height: 1.55; color: rgba(255,255,255,.76); max-width: 44em; }
.cost b { color: #fff; font-weight: 650; }
@media (max-width: 900px) {
  .security { padding: 0 0 90px; }
  .sec-top { grid-template-columns: 1fr; gap: 28px; align-content: center; padding-top: calc(var(--nav) + 20px); }
  .dusk-phone { --sw: min(200px, calc((100svh - var(--nav) - 420px) / 2.33), 50vw); margin: 0 auto; }
  .flow { grid-template-columns: 1fr; margin-top: 60px; }
  .pipe { height: auto; padding: 22px 0; align-items: flex-start; }
  .pipe .line { left: 22px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .pipe .line::after { right: auto; top: auto; left: -4px; bottom: -1px; transform: rotate(135deg); }
  .rowchip { margin-left: 40px; font-size: 11.5px; }
  .three { grid-template-columns: 1fr; gap: 28px; margin-top: 60px; }
}
@media (max-width: 600px) {
  .sec-top { display: flex; flex-direction: column; min-height: 100vh; min-height: 100svh; padding: calc(var(--nav) + 22px) 0 0; gap: 0; position: relative; }
  .sec-top h2 { font-size: clamp(34px, 9.6vw, 44px); }
  .sec-text .lede { font-size: 15.5px; line-height: 1.5; margin-top: 12px; }
  .sec-text .kicker { margin-bottom: 10px; }
  /* The phone, set down for the night: about 78% of the width, cropped by the horizon line, so there is never an empty band under it. */
  .dusk-phone { --sw: min(78vw, 340px); flex: 1 1 0; min-height: 230px; margin: 26px auto 0; border-bottom: 0; border-radius: calc(var(--sw) * .17) calc(var(--sw) * .17) 0 0; }
  .sec-top::after { content: ""; position: absolute; left: calc(-1 * var(--gx)); right: calc(-1 * var(--gx)); bottom: 0; height: 1px; background: rgba(255,255,255,.18); }
  .flow { margin-top: 56px; }
}

/* =========================================================
   8 · Before you book
   ========================================================= */
.buyers { background: #12141A; color: #fff; padding: 40px 0 150px; position: relative; z-index: 1; }
.buyers .kicker { color: var(--teal-d); }
.buyers h2 { font-size: clamp(36px, 4.4vw, 72px); }
.buy-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 6vw; margin-top: 60px; }
.demo h3 { font-size: 20px; font-weight: 700; letter-spacing: -.015em; }
.demo h3 + p { margin-top: 10px; font-size: 16.5px; line-height: 1.6; color: rgba(255,255,255,.76); max-width: 30em; }
.demo h3:nth-of-type(2) { margin-top: 44px; }
.setup { margin-top: 14px; counter-reset: s; display: grid; gap: 14px; }
.setup li { counter-increment: s; position: relative; padding-left: 40px; font-size: 16px; line-height: 1.55; color: rgba(255,255,255,.76); }
.setup li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(255,255,255,.4); display: grid; place-items: center; font-size: 13px; font-weight: 650; color: #fff; }
.setup b { color: #fff; font-weight: 650; }
.faq details { border-top: 1px solid rgba(255,255,255,.18); }
.faq details:last-child { border-bottom: 1px solid rgba(255,255,255,.18); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font-size: 18px; font-weight: 620; letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 10px; height: 10px; border-right: 1.8px solid currentColor; border-bottom: 1.8px solid currentColor; transform: rotate(45deg) translateY(-3px); transition: transform .25s ease; flex: none; margin-right: 4px; }
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.faq details p { padding: 0 0 22px; font-size: 16px; line-height: 1.6; color: rgba(255,255,255,.76); max-width: 34em; }
.faq [data-todo] { color: #E6B566; }   /* the pricing basis, still to come */
@media (max-width: 900px) { .buy-grid { grid-template-columns: 1fr; gap: 50px; margin-top: 40px; } .buyers { padding: 20px 0 110px; } }

/* =========================================================
   9 · The next dawn
   ========================================================= */
.close { background: var(--dawn); position: relative; z-index: 1; padding: 120px 0 0; text-align: center; overflow: hidden; }
html.motion .close .dawn { position: absolute; inset: 0; background: var(--dawn); clip-path: circle(var(--dr, 0px) at 50% var(--dy, 270px)); }
.close .wrap { position: relative; display: flex; flex-direction: column; align-items: center; }
.orbit2 { position: relative; width: min(520px, 88vw); aspect-ratio: 1; margin-bottom: 30px; }
.orbit2 canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.orbit2 .tile { position: absolute; left: 50%; top: 50%; width: 19%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 28%; background: #141518; display: grid; place-items: center; }
.orbit2 .tile img { width: 61%; }
.close .kicker { color: var(--teal-t); }
.close h2 { max-width: 10em; }
.subline { margin-top: 18px; font-size: clamp(17px, 1.4vw, 21px); font-weight: 560; color: var(--ink2); }
.close .lede { margin-top: 16px; max-width: 30em; }
.ctas { display: flex; gap: 22px; margin-top: 36px; flex-wrap: wrap; justify-content: center; align-items: center; }
.ctas .text-link { margin-top: 0; }
.foot { margin: 120px 0 0; padding: 30px var(--gx) 40px; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; font-size: 14px; color: var(--mut); border-top: 1px solid rgba(20,21,24,.12); text-align: left; position: relative; }
.foot .f-brand { display: flex; gap: 12px; align-items: flex-start; }
.foot .f-brand img { height: 26px; width: auto; margin-top: 2px; }
.foot .f-brand span, .foot .f-co, .foot .f-contact { display: flex; flex-direction: column; gap: 4px; line-height: 1.45; }
.foot b { color: var(--ink); font-weight: 680; }
.foot small { font-size: 13.5px; }
.foot a { text-decoration: none; color: var(--ink); }
.foot a:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 760px) {
  .close { padding-top: 90px; }
  .ctas { flex-direction: column; width: 100%; gap: 16px; }
  .ctas .btn { width: 100%; }
  .foot { grid-template-columns: 1fr; margin-top: 80px; gap: 18px; padding: 26px var(--gx) 80px; }
}

/* =========================================================
   Reduced motion and no JS: every scene in its finished state, in normal flow
   ========================================================= */
html:not(.motion) .ask .stage, html:not(.motion) .client .stage, html:not(.motion) .apps .stage { padding: calc(var(--nav) + 40px) var(--gx) 70px; overflow: visible; }
html:not(.motion) .ask-kicker, html:not(.motion) .q, html:not(.motion) .answer, html:not(.motion) .c-head, html:not(.motion) .card,
html:not(.motion) .a-text, html:not(.motion) .device { position: relative; left: auto; right: auto; top: auto; bottom: auto; transform: none; }
html:not(.motion) .q { transform: none; font-size: clamp(30px, 4vw, 56px); }
html:not(.motion) .answer { margin-top: 36px; }
html:not(.motion) .card { width: min(600px, 100%); margin-top: 40px; }
html:not(.motion) .c-head, html:not(.motion) .a-text { width: auto; max-width: 640px; }
html:not(.motion) .device { width: min(1100px, 100%); margin-top: 40px; }
html:not(.motion) .hero .stage { min-height: 640px; }

/* Small phones: nothing may push the page sideways. */
@media (max-width: 900px) {
  .flow { grid-template-columns: minmax(0, 1fr); }
  .flow > * { min-width: 0; }
  .rowchip { max-width: calc(100% - 40px); }
}
@media (max-width: 600px) {
  .detail { overflow-x: auto; }
  .owe tbody th { white-space: normal; line-height: 1.2; }
  .jhb, .gpt { padding: 18px 16px 20px; }
}
