:root {
  --ink: #0a0a0b;
  --ink-2: #0f0f11;
  --graphite: #151518;
  --raised: #1d1d21;
  --line: #242428;
  --line-strong: #36363b;
  --ash: #95959c;
  --mist: #c8c8cd;
  --white: #f2f2f4;
  --paper: #e8e6e1;
  --paper-ink: #1c1b19;
  --paper-rule: rgba(28, 27, 25, 0.13);
  --gold: #d4a84b;
  --gold-hi: #f0cf7f;
  --gold-lo: #8f6d27;
  --gold-hover: #e2b95e;
  --gold-soft: rgba(212, 168, 75, 0.12);
  --gold-ink: #1a1405;
  --danger: #ff8a7a;

  --display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --body: "Geist", "Segoe UI", system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, "Cascadia Mono", monospace;

  --wrap: 1220px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(88px, 11vw, 150px);
  --r-sm: 8px;
  --r-lg: 18px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);

  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ink); color: var(--mist); font: 400 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3 { color: var(--white); margin: 0; font-family: var(--display); font-weight: 600; }
h2 { font-size: clamp(36px, 4.8vw, 64px); line-height: 1; letter-spacing: -0.035em; text-wrap: balance; }
h3 { font-size: 21px; line-height: 1.25; font-weight: 500; letter-spacing: -0.015em; }
p { margin: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; }
svg { display: block; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section-sub { margin-top: 20px; max-width: 52ch; color: var(--ash); font-size: 18px; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--gold); color: var(--gold-ink); padding: 10px 14px; border-radius: var(--r-sm); font-weight: 500; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: 999px; font: 500 15px/1 var(--body); text-decoration: none; white-space: nowrap; border: 1px solid transparent; cursor: pointer; background: none; overflow: hidden; isolation: isolate; transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .15s ease, box-shadow .3s ease; }
.btn:active { transform: scale(.98); }
.btn-lg { height: 56px; padding: 0 26px; font-size: 16px; }
.btn-gold { background: linear-gradient(180deg, #e3bc66, var(--gold) 55%, #c49639); color: var(--gold-ink); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 1px 0 rgba(0, 0, 0, .5), 0 10px 30px -12px rgba(212, 168, 75, .55); }
.btn-gold:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 1px 0 rgba(0, 0, 0, .5), 0 14px 40px -10px rgba(212, 168, 75, .75); }
.btn-sheen::after { content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent); transform: skewX(-20deg); transition: left .7s var(--ease-out); }
.btn-sheen:hover::after { left: 130%; }
.btn-line { border-color: var(--line-strong); color: var(--white); background: rgba(255, 255, 255, .02); }
.btn-line:hover { border-color: #5a5a61; background: rgba(255, 255, 255, .05); }
.btn-quiet { color: var(--mist); }
.btn-quiet:hover { color: var(--white); background: var(--raised); }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; flex: none; padding: 10px 0; text-decoration: none; }
.logo img { display: block; height: 32px; width: auto; }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(10, 10, 11, .72); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); border-bottom: 1px solid transparent; transition: border-color .25s ease, background-color .25s ease; }
.nav.is-scrolled { border-bottom-color: var(--line); background: rgba(10, 10, 11, .86); }
.nav-row { display: flex; align-items: center; gap: 32px; height: 70px; }
.nav-links { display: flex; gap: 2px; margin-right: auto; }
.nav-links a { padding: 8px 12px; border-radius: 999px; color: var(--ash); text-decoration: none; font-size: 15px; transition: color .2s ease, background-color .2s ease; }
.nav-links a:hover { color: var(--white); background: rgba(255, 255, 255, .04); }
.nav-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.nav-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line-strong); border-radius: 999px; background: transparent; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.nav-toggle span { display: block; width: 16px; height: 1.5px; background: var(--white); transition: transform .25s var(--ease-out); }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.25px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.25px) rotate(-45deg); }
.mobile-menu { border-top: 1px solid var(--line); padding: 8px var(--gutter) 16px; }
.mobile-menu a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--white); text-decoration: none; font-size: 18px; }
[data-config-href][hidden] { display: none !important; }

/* ---------- Load-in choreography (the one orchestrated entrance) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); }
.line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.reveal-up { display: inline-block; }
.js .reveal-up { transform: translateY(105%); }
.is-ready .reveal { animation: rise .9s var(--ease-out) calc(var(--d) * 110ms + 80ms) both; }
.is-ready .reveal-up { animation: lift 1s var(--ease-out) calc(var(--d) * 110ms + 80ms) both; }
.is-settled .reveal, .is-settled .reveal-up { animation: none; opacity: 1; transform: none; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes lift { from { transform: translateY(105%); } to { transform: none; } }

.js .reveal-on-scroll { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.reveal-on-scroll.is-in { opacity: 1; transform: none; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(calc(100svh - 70px), 940px); display: grid; align-items: center; padding: clamp(40px, 6vw, 72px) 0 clamp(64px, 8vw, 100px); overflow: hidden; isolation: isolate; }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 160px; background: linear-gradient(transparent, var(--ink)); z-index: 0; pointer-events: none; }
.hero-map { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(32px, 5vw, 80px); align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 10px; border-radius: 999px; border: 1px solid rgba(212, 168, 75, .35); background: rgba(212, 168, 75, .07); color: #eadbb5; font-size: 14px; }
.pill-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.pill-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--gold); animation: ping 1.8s var(--ease-out) infinite; }
@keyframes ping { from { transform: scale(1); opacity: .9; } to { transform: scale(3.2); opacity: 0; } }
/* The company name is the logo itself: it wipes in left to right, then a light sweeps across it once */
/* Spacing, top to bottom: badge 28, logo 24, text 36, buttons 28, facts */
.hero-brand { position: relative; margin: 28px 0 0; width: min(600px, 100%); line-height: 0; }
.hero-brand img { display: block; width: 100%; height: auto; filter: drop-shadow(0 12px 40px rgba(212, 168, 75, .2)); }
.hero-brand::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 248, 225, .9) 50%, transparent 62%) 100% 0 / 300% 100% no-repeat;
  -webkit-mask: url("assets/brand/logo-hero.png") center / 100% 100% no-repeat; mask: url("assets/brand/logo-hero.png") center / 100% 100% no-repeat; }
.is-ready .hero-brand::after { animation: shine 1.7s var(--ease-in-out) 1.2s both; }
@keyframes shine { from { background-position: 100% 0; } to { background-position: 0% 0; } }
.js .reveal-wipe { clip-path: inset(-30% 100% -60% -5%); }
.is-ready .reveal-wipe { animation: wipe 1.1s var(--ease-out) calc(var(--d) * 110ms + 80ms) both; }
.is-settled .reveal-wipe { animation: none; clip-path: none; }
@keyframes wipe { from { clip-path: inset(-30% 100% -60% -5%); } to { clip-path: inset(-30% -5% -60% -5%); } }
.hero-sub { margin-top: 20px; font: 700 clamp(30px, 3.4vw, 50px)/1 var(--display); letter-spacing: -.045em; color: var(--white); }
.hero-sub em { font-style: normal; color: var(--gold); background: linear-gradient(180deg, var(--gold-hi), var(--gold) 55%, #b98a32); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.lede { margin-top: 24px; max-width: 46ch; font-size: clamp(18px, 1.55vw, 20px); color: var(--mist); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-facts { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 14px; color: var(--ash); }
.hero-facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero-facts svg { width: 16px; height: 16px; color: var(--gold); }

/* ---------- Smartphone ---------- */
.hero-device { margin: 0; display: grid; justify-items: center; gap: 22px; perspective: 1400px; }
.device { --w: 300px; position: relative; width: var(--w); aspect-ratio: 300 / 620; padding: 11px; border-radius: 52px; background: linear-gradient(150deg, #4a4a51 0%, #1c1c20 30%, #0e0e10 60%, #34343a 100%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12), inset 0 0 0 3px #0b0b0c, 0 70px 120px -50px rgba(0, 0, 0, 1), 0 30px 60px -30px rgba(0, 0, 0, .8); transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .6s var(--ease-out), box-shadow .6s ease; }
.hero-device .device { animation: float 7s ease-in-out infinite; }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
.device[data-state="ringing"] { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12), inset 0 0 0 3px #0b0b0c, 0 70px 120px -50px rgba(0, 0, 0, 1), 0 0 140px -10px rgba(212, 168, 75, .45); }
.device[data-state="ringing"] .screen { animation: buzz 1.4s linear infinite; }
@keyframes buzz { 0%, 30%, 100% { transform: none; } 3%, 9%, 15%, 21% { transform: translateX(-1.5px) rotate(-.3deg); } 6%, 12%, 18%, 24% { transform: translateX(1.5px) rotate(.3deg); } }
.device-btn { position: absolute; left: -3px; width: 3px; border-radius: 2px 0 0 2px; background: #2c2c31; }
.device-btn-a { top: 22%; height: 9%; } .device-btn-b { top: 34%; height: 9%; }
.screen { position: relative; height: 100%; border-radius: 42px; overflow: hidden; background: radial-gradient(120% 70% at 50% 110%, rgba(212, 168, 75, .16), transparent 60%), linear-gradient(180deg, #121215, #070708); color: var(--white); }
.island { position: absolute; z-index: 5; top: 12px; left: 50%; width: 92px; height: 27px; margin-left: -46px; border-radius: 999px; background: #000; }
.scr { position: absolute; inset: 0; padding: 62px 22px 28px; display: flex; flex-direction: column; align-items: center; text-align: center; opacity: 0; transform: scale(.96); filter: blur(6px); transition: opacity .55s var(--ease-out), transform .55s var(--ease-out), filter .55s var(--ease-out); pointer-events: none; }
.device[data-state="idle"] .scr-idle, .device[data-state="ringing"] .scr-ring, .device[data-state="connected"] .scr-live { opacity: 1; transform: none; filter: none; }

.scr-clock { margin-top: 26px; font: 500 68px/1 var(--display); letter-spacing: -0.04em; }
.scr-date { margin-top: 8px; font-size: 15px; color: var(--ash); }
.scr-wait { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08); font-size: 12px; color: var(--mist); }
.wait-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); animation: breathe 1.6s ease-in-out infinite; }
@keyframes breathe { 50% { opacity: .3; } }

.scr-kicker { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--gold); letter-spacing: .01em; }
.scr-kicker svg { width: 15px; height: 15px; }
.ring-avatar { position: relative; margin-top: 34px; width: 104px; height: 104px; display: grid; place-items: center; }
.ring-avatar b { position: relative; z-index: 1; width: 104px; height: 104px; display: grid; place-items: center; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #3a3a40, #17171a); border: 1.5px solid var(--gold); font: 600 32px/1 var(--display); letter-spacing: -.02em; color: var(--white); }
.ring-avatar span { position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid var(--gold); opacity: 0; }
.device[data-state="ringing"] .ring-avatar span { animation: ripple 2.1s var(--ease-out) infinite; }
.device[data-state="ringing"] .ring-avatar span:nth-child(2) { animation-delay: .7s; }
.device[data-state="ringing"] .ring-avatar span:nth-child(3) { animation-delay: 1.4s; }
@keyframes ripple { from { transform: scale(1); opacity: .8; } to { transform: scale(2.1); opacity: 0; } }
.scr-name { margin-top: 26px; font: 600 26px/1.1 var(--display); letter-spacing: -.025em; }
.scr-place { margin-top: 6px; font-size: 15px; color: var(--ash); }
.scr-tags { margin-top: 16px; display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.scr-tags span { padding: 5px 10px; border-radius: 999px; font-size: 12px; background: rgba(212, 168, 75, .12); color: #ecd59f; border: 1px solid rgba(212, 168, 75, .3); }
.scr-actions { margin-top: auto; width: 100%; display: flex; justify-content: space-between; padding: 0 12px; }
.act { display: grid; justify-items: center; gap: 8px; font-size: 12px; color: var(--ash); }
.act i { position: relative; width: 62px; height: 62px; border-radius: 50%; display: block; }
.act-decline i { background: #2a2a2f; }
.act-decline i::before { content: ""; position: absolute; inset: 0; background: center / 26px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c8c8cd' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E"); }
.act-accept i { background: linear-gradient(180deg, #e8c46f, var(--gold)); box-shadow: 0 0 0 0 rgba(212, 168, 75, .6); }
.act-accept i::before { content: ""; position: absolute; inset: 0; background: center / 28px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a1405' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M5 4h3l1.6 4-2.1 1.3a11 11 0 0 0 7.2 7.2L16 14.4l4 1.6v3a2 2 0 0 1-2 2A16 16 0 0 1 3 6a2 2 0 0 1 2-2'/%3E%3C/svg%3E"); }
.device[data-state="ringing"] .act-accept i { animation: beckon 1.4s ease-in-out infinite; }
@keyframes beckon { 0% { box-shadow: 0 0 0 0 rgba(212, 168, 75, .6); transform: scale(1); } 50% { transform: scale(1.06); } 100% { box-shadow: 0 0 0 18px rgba(212, 168, 75, 0); transform: scale(1); } }
.device.is-pressing .act-accept i { animation: none; transform: scale(.86); background: var(--gold-hi); transition: transform .15s ease; }
.act-accept { color: var(--white); }

.scr-kicker-live b { font-weight: 500; color: var(--white); margin-left: 4px; }
.scr-live .scr-name { margin-top: 30px; }
.notes { margin-top: 26px; width: 100%; text-align: left; padding: 14px 16px; border-radius: 18px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); }
.notes-head { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ash); }
.notes ul { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 7px; }
.notes li { display: flex; gap: 9px; align-items: center; font-size: 14px; color: var(--white); opacity: 0; transform: translateX(-8px); }
.notes li::before { content: ""; flex: none; width: 14px; height: 14px; border-radius: 50%; background: var(--gold) center / 9px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a1405' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E"); }
.device[data-state="connected"] .notes li { animation: note .5s var(--ease-out) calc(var(--i) * 160ms + 350ms) both; }
@keyframes note { to { opacity: 1; transform: none; } }
.wave { margin-top: auto; display: flex; align-items: center; gap: 4px; height: 44px; }
.wave i { width: 4px; height: 8px; border-radius: 2px; background: var(--gold); opacity: .85; }
.device[data-state="connected"] .wave i { animation: talk 1s ease-in-out infinite; }
.wave i:nth-child(3n) { animation-delay: -.3s !important; } .wave i:nth-child(3n+1) { animation-delay: -.65s !important; } .wave i:nth-child(4n) { animation-duration: .8s !important; } .wave i:nth-child(5n) { animation-duration: 1.3s !important; }
@keyframes talk { 0%, 100% { height: 6px; } 50% { height: 38px; } }
.device-caption { font-size: 13px; color: #75757c; text-align: center; }

/* ---------- Sections ---------- */
.inbound, .routing, .journey, .faq, .apply { position: relative; padding: var(--section) 0; }
.inbound { overflow-x: clip; } /* the growing inbound card must never widen the page on a phone */
.faq, .apply { border-top: 1px solid var(--line); }

/* Inbound vs outbound */
.versus { margin-top: 64px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.vs { border-radius: 24px; padding: clamp(24px, 3vw, 40px); }
.vs header { display: flex; align-items: center; gap: 16px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.vs header svg { flex: none; width: 48px; height: 48px; padding: 12px; border-radius: 50%; }
.vs-kicker { font-size: 13px; color: var(--ash); }
.vs h3 { margin-top: 2px; font-size: clamp(24px, 2.4vw, 32px); font-weight: 600; letter-spacing: -.03em; }
.vs ol { list-style: none; margin: 8px 0 0; padding: 0; }
.vs li { position: relative; display: flex; align-items: center; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 17px; transition: color .5s ease calc(var(--i) * 180ms + 300ms); }
.vs li:last-child { border-bottom: 0; }
.vs-out { background: var(--ink-2); border: 1px solid var(--line); }
.vs-out header svg { color: var(--ash); background: #1a1a1d; }
.vs-out h3 { color: #b4b4ba; }
.vs-out li { color: #a9a9b0; }
.vs-out li::before { content: ""; flex: none; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid #3a3a40; }
/* The strike runs through the words only, drawn left to right, and follows the text if it wraps */
.vs-out li s { text-decoration: none; -webkit-box-decoration-break: clone; box-decoration-break: clone; background: linear-gradient(#7a7a81, #7a7a81) 0 58% / 0% 1.5px no-repeat; transition: background-size .6s var(--ease-out) calc(var(--i) * 180ms + 300ms); }
.versus.is-in .vs-out li { color: #66666d; }
.versus.is-in .vs-out li s { background-size: 100% 1.5px; }

/* After the checks land, the inbound card steps forward and the outbound card steps back */
.vs { transition: transform .9s var(--ease-out), opacity .9s ease, box-shadow .9s ease, border-color .9s ease; }
.versus.is-won .vs-out { transform: scale(.97); opacity: .8; }
.versus.is-won .vs-in { transform: scale(1.045); border-color: rgba(212, 168, 75, .6); box-shadow: 0 0 0 1px rgba(212, 168, 75, .15), 0 60px 140px -50px rgba(212, 168, 75, .55); }
@media (pointer: fine) {
  .versus.is-won .vs-in:hover { transform: scale(1.06) translateY(-4px); transition-duration: .5s; }
  .versus.is-won .vs-out:hover { opacity: .9; transition-duration: .5s; }
}
.vs-in { position: relative; background: radial-gradient(120% 90% at 100% 0%, rgba(212, 168, 75, .14), transparent 55%), var(--graphite); border: 1px solid rgba(212, 168, 75, .35); box-shadow: 0 50px 120px -60px rgba(212, 168, 75, .35); }
.vs-in header svg { color: var(--gold-ink); background: var(--gold); }
.vs-in li { color: var(--ash); }
.vs-in li::before { content: ""; flex: none; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid rgba(212, 168, 75, .5); background: center / 11px no-repeat; transition: background-color .3s ease calc(var(--i) * 180ms + 1200ms); }
.versus.is-in .vs-in li { color: var(--white); transition-delay: calc(var(--i) * 180ms + 1200ms); }
.versus.is-in .vs-in li::before { background-color: var(--gold); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a1405' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E"); }

/* Routing: one call, matched and connected */
.routing-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.flow-fig { margin: 0; display: grid; gap: 16px; }
.flow { position: relative; display: grid; gap: 76px; padding: clamp(28px, 4vw, 46px); border-radius: 28px; border: 1px solid var(--line);
  background: linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px) 0 0 / 32px 32px, linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px) 0 0 / 32px 32px, radial-gradient(80% 60% at 70% 100%, rgba(212, 168, 75, .06), transparent 70%), #0e0e10; }
.flow-lines { position: absolute; left: 0; top: 0; overflow: visible; pointer-events: none; z-index: 0; }
.fl-base { fill: none; stroke: var(--line-strong); stroke-width: 1.5; }
.fl-run { fill: none; stroke: var(--gold); stroke-width: 1.5; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .9s var(--ease-in-out); }
.fl-flow { fill: none; stroke: var(--gold-hi); stroke-width: 1.5; stroke-dasharray: .012 .022; opacity: 0; transition: opacity .4s ease; animation: flowdash 1.4s linear infinite; }
@keyframes flowdash { to { stroke-dashoffset: -.068; } }
.fl-end { fill: #0e0e10; stroke: var(--line-strong); stroke-width: 1.5; transition: stroke .4s ease, fill .4s ease; }
.flow.s1 .fl-run[data-l="0"], .flow.s3 .fl-run[data-l="1"] { stroke-dashoffset: 0; }
.flow.s2 .fl-flow[data-l="0"], .flow.s4 .fl-flow[data-l="1"] { opacity: .9; }
.flow.s1 .fl-end[data-l="0"], .flow.s3 .fl-end[data-l="1"] { stroke: var(--gold); }
.flow.s2 .fl-end[data-l="0"][data-at="end"], .flow.s4 .fl-end[data-l="1"][data-at="end"] { fill: var(--gold); }
.fl-pulse { position: absolute; left: 0; top: 0; z-index: 2; width: 10px; height: 10px; border-radius: 50%; background: #fff3d6; box-shadow: 0 0 16px 5px rgba(212, 168, 75, .65); offset-rotate: 0deg; offset-anchor: center; opacity: 0; pointer-events: none; }
.flow.is-resetting .fl-run, .flow.is-resetting .fc-checks li, .flow.is-resetting .fc-checks li::before { transition: none !important; }

.fcard { position: relative; z-index: 1; padding: 20px 22px; border-radius: 16px; border: 1px solid var(--line-strong); background: linear-gradient(180deg, #1b1b1f, #151518); opacity: .4; transform: translateY(8px); transition: opacity .6s ease, transform .6s var(--ease-out), border-color .5s ease, box-shadow .5s ease; }
.fcard-call { width: 66%; }
.fcard-route { width: 62%; justify-self: end; }
.fcard-line { width: 58%; margin-left: 9%; }
.flow.s0 .fcard-call, .flow.s2 .fcard-route, .flow.s4 .fcard-line { opacity: 1; transform: none; }
.flow[data-stage="0"] .fcard-call, .flow[data-stage="1"] .fcard-call, .flow[data-stage="2"] .fcard-route, .flow[data-stage="3"] .fcard-route, .flow[data-stage="4"] .fcard-line { border-color: rgba(212, 168, 75, .5); box-shadow: 0 0 0 4px rgba(212, 168, 75, .06), 0 30px 60px -30px rgba(212, 168, 75, .35); }
.fc-head { display: flex; align-items: center; gap: 12px 14px; }
.fc-head > div { flex: 1 1 auto; min-width: 0; }
.fc-body > div:first-child { flex: none; }
.fc-icon { flex: none; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-strong); color: var(--mist); }
.fc-icon svg { width: 19px; height: 19px; }
.fcard-call .fc-icon { border-color: rgba(212, 168, 75, .5); color: var(--gold-hi); animation: callglow 1.6s ease-out infinite; }
.flow.s4 .fcard-call .fc-icon { animation: none; border-color: var(--line-strong); color: var(--mist); }
@keyframes callglow { 0% { box-shadow: 0 0 0 0 rgba(212, 168, 75, .45); } 100% { box-shadow: 0 0 0 12px rgba(212, 168, 75, 0); } }
.fc-kicker { font-size: 13px; color: var(--ash); }
.fc-title { margin-top: 2px; font: 600 19px/1.2 var(--display); letter-spacing: -.015em; color: var(--white); }
.fc-pill { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; padding: 6px 13px; border-radius: 999px; border: 1px solid var(--line-strong); background: rgba(255, 255, 255, .02); font-size: 14px; color: var(--mist); white-space: nowrap; }
.fc-pill i { width: 8px; height: 8px; border-radius: 50%; }
.fc-pill-ring i { border: 1.5px solid var(--gold); animation: breathe 1.2s ease-in-out infinite; }
.flow.s4 .fc-pill-ring i { animation: none; border-color: var(--ash); }
.fc-pill-live { color: var(--ash); }
.fc-pill-live i { background: #3a3a40; }
.flow.s4 .fc-pill-live { color: var(--white); border-color: rgba(212, 168, 75, .5); }
.flow.s4 .fc-pill-live i { background: var(--gold); box-shadow: 0 0 10px rgba(212, 168, 75, .8); animation: breathe 1.6s ease-in-out infinite; }
.fc-body { margin-top: 18px; display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.fc-wave { display: flex; align-items: center; gap: 3px; height: 30px; min-width: 0; overflow: hidden; }
.fc-wave i { flex: none; width: 2px; height: var(--h); border-radius: 2px; background: #7a7a81; animation: wv 1.1s ease-in-out var(--dl) infinite; }
.flow.s4 .fc-wave i { animation-play-state: paused; }
@keyframes wv { 50% { transform: scaleY(.35); } }
.fc-checks { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 12px; }
.fc-checks li { display: flex; align-items: center; gap: 12px; font-size: 17px; color: #66666d; transition: color .4s ease calc(var(--i) * 380ms + 250ms); }
.fc-checks li::before { content: ""; flex: none; width: 16px; height: 16px; background: center / 16px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2346464d' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E"); transform: scale(.8); transition: transform .4s var(--ease-out) calc(var(--i) * 380ms + 250ms); }
.flow.s2 .fc-checks li { color: var(--white); }
.flow.s2 .fc-checks li::before { transform: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d4a84b' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E"); }

/* Journey */
.journey { background: linear-gradient(180deg, var(--ink), var(--ink-2) 20%, var(--ink-2) 80%, var(--ink)); }
.journey-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); }
.jstep { min-height: clamp(380px, 62vh, 620px); display: flex; flex-direction: column; justify-content: center; max-width: 30rem; opacity: .28; transition: opacity .5s ease; }
.jstep.is-active { opacity: 1; }
.jstep-n { font-size: 14px; color: var(--gold); }
.jstep h3 { margin-top: 12px; font-size: clamp(28px, 3vw, 40px); font-weight: 600; letter-spacing: -.03em; line-height: 1.05; }
.jstep p:last-child { margin-top: 14px; color: var(--ash); font-size: 18px; }
.journey-stage { position: sticky; top: calc(50vh - 300px); height: 600px; display: grid; justify-items: center; align-content: center; gap: 18px; }
.device-sm { --w: 270px; }
.journey-progress { width: 180px; height: 3px; border-radius: 3px; background: var(--line-strong); overflow: hidden; }
.journey-progress i { display: block; height: 100%; width: 33.33%; background: var(--gold); border-radius: 3px; transition: width .6s var(--ease-out); }
.jscr { position: absolute; inset: 0; padding: 54px 16px 22px; opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease-out), transform .5s var(--ease-out); }
.device-sm[data-step="0"] .jscr-0, .device-sm[data-step="1"] .jscr-1, .device-sm[data-step="2"] .jscr-2 { opacity: 1; transform: none; }
.app-kicker { margin-top: 6px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ash); }
.credit { margin-top: 16px; padding: 18px 16px; border-radius: 18px; background: radial-gradient(120% 100% at 100% 0%, rgba(212, 168, 75, .28), transparent 60%), #17171a; border: 1px solid rgba(212, 168, 75, .4); }
.credit-label { font-size: 12px; color: var(--gold-hi); }
.credit-amount { margin-top: 4px; font: 600 40px/1.05 var(--display); letter-spacing: -.035em; color: var(--white); }
.credit-sub { margin-top: 4px; font-size: 12px; color: var(--ash); }
.device-sm[data-step="0"] .credit { animation: land .8s var(--ease-out) .15s both; }
@keyframes land { from { opacity: 0; transform: translateY(-26px) scale(.92); } to { opacity: 1; transform: none; } }
.app-rows, .calls, .ledger { list-style: none; margin: 12px 0 0; padding: 0; }
.app-rows li, .calls li, .ledger li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 2px; border-bottom: 1px solid #222226; font-size: 13px; color: var(--mist); opacity: 0; transform: translateY(10px); }
.app-rows span { color: var(--ash); }
.app-rows b, .ledger b { font-weight: 500; color: var(--white); }
.device-sm[data-step="0"] .app-rows li { animation: note .5s var(--ease-out) calc(var(--i) * 140ms + 650ms) both; }
.app-title { margin-top: 2px; font: 600 22px/1.2 var(--display); letter-spacing: -.02em; color: var(--white); }
.app-title b { margin-left: 6px; font: 500 14px/1 var(--mono); color: var(--gold); }
.incoming { margin-top: 14px; display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 16px; background: rgba(212, 168, 75, .12); border: 1px solid rgba(212, 168, 75, .45); }
.incoming-dot { position: relative; flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--gold-ink); }
.incoming-dot svg { width: 18px; height: 18px; }
.incoming-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid var(--gold); animation: ripple 1.6s var(--ease-out) infinite; }
.incoming b { display: block; font-size: 14px; font-weight: 500; color: var(--white); }
.incoming span { font-size: 12px; color: var(--gold-hi); }
.device-sm[data-step="1"] .incoming { animation: drop .6s var(--ease-out) .25s both; }
@keyframes drop { from { opacity: 0; transform: translateY(-24px); } to { opacity: 1; transform: none; } }
.calls svg { flex: none; width: 15px; height: 15px; color: var(--gold); }
.calls span { flex: 1; }
.calls b { font-weight: 400; font-size: 12px; color: var(--ash); }
.device-sm[data-step="1"] .calls li { animation: note .5s var(--ease-out) calc(var(--i) * 120ms + 700ms) both; }
.ledger .free { color: var(--gold-hi); }
.device-sm[data-step="2"] .ledger li { animation: note .5s var(--ease-out) calc(var(--i) * 300ms + 250ms) both; }
.ledger-left { margin-top: 16px; display: flex; justify-content: space-between; align-items: center; padding: 14px; border-radius: 14px; background: #17171a; border: 1px solid #2a2a2f; font-size: 13px; color: var(--ash); }
.ledger-left b { font-size: 17px; font-weight: 500; color: var(--white); }
.device-sm[data-step="2"] .ledger-left { animation: note .5s var(--ease-out) 1.5s both; opacity: 0; }

/* Pricing: the weeks as index cards, dealt onto the table */
.cards { margin-top: 56px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.card { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 22px 20px 20px; border-radius: 4px; color: var(--paper-ink); background: var(--paper);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 24px 44px -14px rgba(0, 0, 0, .9), 0 2px 4px rgba(0, 0, 0, .4);
  opacity: 0; transform: translateY(90px) rotate(calc(var(--r) * -3)); transition: transform .9s var(--ease-out) calc(var(--i) * 120ms), opacity .6s ease calc(var(--i) * 120ms), box-shadow .35s ease; }
.cards.is-in .card { opacity: 1; transform: translateY(var(--y)) rotate(var(--r)); }
.cards.is-in .card:hover, .cards.is-in .card:focus-within { z-index: 2; transform: translateY(-10px) rotate(0deg) scale(1.02); transition-delay: 0s; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 40px 70px -18px rgba(0, 0, 0, .95), 0 2px 4px rgba(0, 0, 0, .4); }
.card.is-featured::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; border-radius: 4px 4px 0 0; background: linear-gradient(90deg, var(--gold-lo), var(--gold-hi), var(--gold)); }
.cards.is-in .card.is-featured { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 24px 44px -14px rgba(0, 0, 0, .9), 0 0 60px -14px rgba(212, 168, 75, .55); }
.card-tab { padding-bottom: 12px; border-bottom: 1px solid rgba(28, 27, 25, .35); font: 600 21px/1.1 var(--display); letter-spacing: -.025em; color: var(--paper-ink); }
.card-price b { display: block; font: 700 46px/1 var(--display); letter-spacing: -.045em; }
.card-price span { display: block; margin-top: 6px; font: 400 12.5px/1.4 var(--mono); color: #6f6d67; }
.card-rows { flex: 1; margin: 0; padding-top: 14px; display: grid; align-content: start; gap: 10px; border-top: 1px dashed rgba(28, 27, 25, .35); }
.card-row { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 10px; font: 400 13px/1.45 var(--mono); }
.card-row dt { padding-top: 1px; font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: #77756f; }
.card-row dd { margin: 0; }
.card-cta { width: 100%; }
.btn-ink { background: var(--paper-ink); color: var(--paper); }
.btn-ink:hover { background: #000; }
.pricing-foot { margin-top: 40px; font-size: 15px; color: var(--ash); }

.extras { margin-top: clamp(72px, 9vw, 120px); display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: clamp(40px, 6vw, 88px); align-items: start; }
.extra { padding: 26px 0; border-top: 1px solid var(--line); }
.extra:first-child { padding-top: 0; border-top: 0; }
.extra h3 { font-weight: 600; letter-spacing: -.02em; }
.extra h3 .mono { display: block; margin-top: 4px; font-size: 14px; font-weight: 400; color: var(--gold); letter-spacing: 0; }
.extra p { margin-top: 8px; color: var(--ash); max-width: 58ch; }
.extra-link { display: inline-block; margin-top: 4px; padding: 10px 0; color: var(--gold-hi); text-underline-offset: 4px; font-size: 15px; }
.streak { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.streak li { display: grid; grid-template-rows: 112px auto auto; gap: 6px; text-align: center; }
/* The bar is the discount: label on top, gold fill below it, growing from the floor */
.streak em { align-self: end; height: calc(var(--h) * .8 + 26px); padding-top: 2px; font-style: normal; font-size: 11.5px; color: var(--gold-hi); border-bottom: 2px solid var(--gold-lo);
  background: linear-gradient(180deg, var(--gold-hi), var(--gold) 60%, var(--gold-lo)) bottom / 100% 0 no-repeat; border-radius: 6px 6px 0 0; opacity: .35; transition: background-size .9s var(--ease-out) calc(var(--i) * 160ms), opacity .5s ease calc(var(--i) * 160ms); }
.streak.is-in em { background-size: 100% calc(100% - 24px); opacity: 1; }
.streak b { font-size: 13px; font-weight: 500; color: var(--white); }
.streak span { font-size: 12px; color: var(--ash); }

.printer { margin: 0; width: min(350px, 100%); }
.printer-head { position: relative; z-index: 2; height: 30px; border-radius: 12px 12px 6px 6px; background: linear-gradient(180deg, #2c2c31, #18181b); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 14px 24px -10px rgba(0, 0, 0, .9); }
.printer-head span { position: absolute; left: 14px; right: 14px; bottom: 7px; height: 4px; border-radius: 4px; background: #050506; }
.printer-slot { margin: -8px 20px 0; overflow: hidden; padding-bottom: 30px; }
.receipt-paper { position: relative; padding: 26px 22px 34px; background: var(--paper); color: var(--paper-ink); font: 400 13px/1.55 var(--mono); transform: translateY(-101%); transition: transform 2.4s steps(18, end);
  --zig: 9px; -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / calc(2 * var(--zig)) 100%; mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / calc(2 * var(--zig)) 100%;
  filter: drop-shadow(0 20px 20px rgba(0, 0, 0, .6)); }
.printer.is-in .receipt-paper { transform: none; }
.receipt-brand { text-align: center; font: 700 18px/1 var(--display); letter-spacing: -.02em; }
.receipt-sub { text-align: center; margin-top: 6px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: #6f6d67; padding-bottom: 14px; border-bottom: 1px dashed rgba(28, 27, 25, .4); }
.receipt-title { margin-top: 14px; font-weight: 500; text-transform: uppercase; }
.receipt-lines { list-style: none; margin: 10px 0 0; padding: 0; }
.receipt-lines li { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-bottom: 1px dotted rgba(28, 27, 25, .35); }
.receipt-lines li span:last-child { flex: none; }
.receipt-total { display: flex; justify-content: space-between; margin-top: 14px; padding-top: 10px; border-top: 2px solid var(--paper-ink); font-weight: 500; }

/* Day tiles in the order form */
.tile { display: grid; place-items: center; padding: 0; border-radius: 10px; border: 1px solid #2c2c31; background: #1b1b1f; color: #8d8d94; font: 500 13px/1 var(--mono); cursor: pointer; transition: background-color .2s ease, color .2s ease, border-color .2s ease, box-shadow .3s ease; }
.js .tile { opacity: 0; transform: scale(.6); }
.days.is-in .tile { animation: pop .5s var(--ease-out) calc(var(--w) * 50ms) both; }
@keyframes pop { to { opacity: 1; transform: none; } }
.tile:hover { border-color: var(--ash); color: var(--white); }
.tile[aria-pressed="true"] { background: var(--gold); border-color: var(--gold-hi); color: var(--gold-ink); box-shadow: 0 0 24px -6px rgba(212, 168, 75, .7); }
.tile.just-picked { animation: picked .45s var(--ease-out) !important; opacity: 1; transform: none; }
@keyframes picked { 0% { transform: scale(1); } 40% { transform: scale(1.15); } 100% { transform: scale(1); } }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; font: 500 20px/1.35 var(--display); color: var(--white); letter-spacing: -.015em; transition: color .2s ease; }
.faq-list summary:hover { color: var(--gold-hi); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-strong); background: linear-gradient(var(--mist), var(--mist)) center / 10px 1.5px no-repeat, linear-gradient(var(--mist), var(--mist)) center / 1.5px 10px no-repeat; transition: transform .35s var(--ease-out), background-color .2s ease; }
.faq-list details[open] summary::after { transform: rotate(135deg); border-color: var(--gold); }
.faq-list details p { padding: 0 0 26px; max-width: 60ch; color: var(--ash); animation: rise .5s var(--ease-out); }

/* Apply */
.apply { background: radial-gradient(60% 70% at 85% 30%, rgba(212, 168, 75, .08), transparent 70%); }
.apply-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.apply-alt { margin-top: 24px; color: var(--ash); font-size: 15px; }
.apply-alt a { color: var(--white); text-underline-offset: 3px; }
.form { background: var(--graphite); border: 1px solid var(--line); border-radius: 24px; padding: clamp(20px, 3vw, 34px); display: grid; gap: 20px; box-shadow: 0 50px 100px -50px rgba(0, 0, 0, .9); }
.field { display: grid; gap: 8px; min-width: 0; border: 0; margin: 0; padding: 0; }
.field-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.field label, .field legend { font-size: 14px; color: var(--mist); padding: 0; }
.field legend { margin-bottom: 8px; }
input[type="text"], input[type="email"], input[type="tel"], select { width: 100%; height: 48px; padding: 0 14px; border-radius: 12px; background: var(--raised); border: 1px solid var(--line-strong); color: var(--white); font: 400 16px/1 var(--body); transition: border-color .2s ease, box-shadow .2s ease; }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ash) 50%), linear-gradient(135deg, var(--ash) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
input::placeholder { color: #6d6d74; }
input:hover, select:hover { border-color: #55555c; }
input:focus-visible, select:focus-visible { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px var(--gold-soft); }
input[aria-invalid="true"] { border-color: var(--danger); }
.field-error { font-size: 13px; color: var(--danger); }
.field-error:empty { display: none; }
.form-submit { width: 100%; margin-top: 4px; }
.form-status { font-size: 14px; color: var(--ash); }
.form-status:empty { display: none; }
.field-hint { font-size: 13px; color: var(--ash); }
.segment { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; padding: 4px; border-radius: 14px; background: var(--raised); border: 1px solid var(--line-strong); }
.segment label { position: relative; }
.segment input { position: absolute; opacity: 0; pointer-events: none; }
.segment span { display: block; padding: 11px 8px; border-radius: 10px; text-align: center; font-size: 15px; color: var(--mist); cursor: pointer; transition: background-color .2s ease, color .2s ease; }
.segment input:checked + span { background: var(--gold); color: var(--gold-ink); font-weight: 500; }
.segment input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.days { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.day { height: 48px; }
.summary { display: grid; gap: 6px; padding: 16px 18px; border-radius: 14px; background: rgba(212, 168, 75, .06); border: 1px solid rgba(212, 168, 75, .25); font-size: 14px; }
.summary p { display: flex; justify-content: space-between; gap: 16px; }
.summary b { flex: none; font-weight: 500; color: var(--white); }
.summary-total { margin-top: 4px; padding-top: 10px; border-top: 1px dashed rgba(212, 168, 75, .35); color: var(--white); font-weight: 500; }
.summary-total b { font-size: 17px; color: var(--gold-hi); }
.summary-note { font-size: 12.5px; color: var(--ash); }
.form.is-picked { animation: flash 1s var(--ease-out); }
@keyframes flash { from { box-shadow: 0 0 0 0 rgba(212, 168, 75, .55), 0 50px 100px -50px rgba(0, 0, 0, .9); border-color: var(--gold); } to { box-shadow: 0 0 0 22px rgba(212, 168, 75, 0), 0 50px 100px -50px rgba(0, 0, 0, .9); } }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 56px 0 40px; }
.footer-grid { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.footer-blurb { margin-top: 14px; color: var(--ash); font-size: 15px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.footer-links a { color: var(--ash); text-decoration: none; font-size: 15px; }
.footer-links a:hover { color: var(--white); }
.footer-legal { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); display: grid; gap: 12px; font-size: 13px; color: #7a7a81; }
.footer-legal p:first-child { max-width: 90ch; }

/* Draft mode: open the site with ?draft to see every statement Premier Leads still has to confirm */
.is-draft [data-confirm] { outline: 1.5px dashed #ffb86b !important; outline-offset: 4px; }
.draft-badge { position: fixed; z-index: 90; left: 16px; bottom: 16px; padding: 10px 14px; border-radius: 12px; background: #2a1c08; border: 1px solid #ffb86b; color: #ffd7a8; font-size: 13px; max-width: 320px; }

/* ---------- Small laptops: four cards get tight ---------- */
@media (max-width: 1180px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 760px; gap: 22px; }
}

/* ---------- Tablet ---------- */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); justify-items: start; }
  .hero-device { justify-self: center; }
  .faq-grid, .apply-grid, .extras, .routing-grid { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Phone ---------- */
@media (max-width: 860px) {
  .versus { grid-template-columns: minmax(0, 1fr); }
  .journey-grid { grid-template-columns: minmax(0, 1fr); }
  .journey-stage { position: relative; top: 0; height: auto; order: -1; margin-bottom: 8px; }
  .journey-steps { display: grid; gap: 28px; }
  .jstep { min-height: 0; opacity: .35; }
  .device-sm { --w: 230px; }
  .jscr { padding: 46px 13px 18px; }
  .credit-amount { font-size: 32px; }
  .app-rows li, .calls li, .ledger li { padding: 9px 2px; font-size: 12px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav-signin { padding: 0 10px; font-size: 14px; }
  .nav-actions { gap: 4px; }
  .nav-row { gap: 12px; height: 64px; }
  .nav-actions .btn-gold { padding: 0 14px; font-size: 14px; }
  .logo img { height: 26px; }
  .hero { min-height: 0; }
  .hero-ctas .btn { width: 100%; }
  .device { --w: 260px; }
  .scr { padding: 56px 18px 24px; }
  .scr-clock { font-size: 56px; }
  .cards { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .cards.is-in .card { transform: rotate(calc(var(--r) / 4)); }
  .card-price b { font-size: 42px; }
  .field-pair { grid-template-columns: minmax(0, 1fr); }
  .flow { gap: 54px; padding: 18px; border-radius: 20px; }
  .fcard-call, .fcard-route, .fcard-line { width: 100%; margin-left: 0; justify-self: stretch; }
  .fcard { padding: 16px; }
  .fc-head { flex-wrap: wrap; }
  .fc-head > div { flex-basis: 150px; }
  .fc-title { font-size: 17px; }
  .fc-checks li { font-size: 16px; }
  .fc-wave { display: none; }
  .days { gap: 5px; }
  .tile { font-size: 12px; border-radius: 8px; }
  .faq-list summary { font-size: 18px; padding: 20px 0; }
}
@media (max-width: 380px) {
  .nav-row { gap: 8px; }
  .nav-signin { padding: 0 8px; font-size: 13px; }
  .nav-actions .btn-gold { padding: 0 12px; font-size: 13px; }
  .nav-toggle { width: 40px; height: 40px; }
  .logo img { height: 22px; }
}
/* Below 360px the wordmark leaves no room for Log in + Buy a week, so the nav shows the handset icon (see index.html) */
@media (max-width: 359px) {
  .nav .logo img { height: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .reveal, .reveal-up, .reveal-on-scroll, .card, .tile { opacity: 1 !important; transform: none !important; }
  .receipt-paper { transform: none !important; }
  .reveal-wipe { clip-path: none !important; }
  .hero-brand::after { display: none; }
  .streak em { background-size: 100% calc(100% - 24px) !important; opacity: 1 !important; }
}

/* ---------- Page transitions: homepage, sign up and log in crossfade instead of a hard load ----------
   Browsers with cross-document view transitions only (Chrome, Edge, Safari 18.2+); others load as before.
   The header keeps its place while the rest fades. Sign-up and log-in extras live in account.css (Motion 5). */
@view-transition { navigation: auto; }
.nav { view-transition-name: site-nav; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .35s; }
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
}
