/* Locker 81 site styles.
   Token names match walkthrough.html. Rules from CLAUDE.md: text sits on solid surfaces, gold is
   never text on light (use --gold-text), dark ink on gold, every animation respects reduced motion. */

:root {
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 72px;
  --section: 72px; --card-pad: 24px; --grid-gap: 16px; --gutter: 16px; --max: 1200px;
  --r-sm: 12px; --r-md: 20px; --r-lg: 28px;
  --gold: #F3C04E; --gold-ink: #1D1606; --gold-soft: #F8DC9A; --gold-deep: #C99526;
  --b5-font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);

  --bg: #FBF7EE; --hero-bg: #FFFFFF; --surface: #FFFFFF; --surface-2: #F4EDDD; --line: #E6DCC6;
  --text: #1D1606; --muted: #5E5442; --gold-text: #8A6100;
  --glass: rgba(251, 247, 238, 0.74); --chip: #F1E9D7;
  --shadow: 0 30px 80px -40px rgba(29, 22, 6, .35);
  --ok: #1F7A3E; --ok-bg: #E3F2E7;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0E0B06; --hero-bg: #0E0B06; --surface: #17120A; --surface-2: #1F1810; --line: #2F2717;
    --text: #F7F1E3; --muted: #C9BFA8; --gold-text: #F3C04E;
    --glass: rgba(14, 11, 6, 0.64); --chip: #241C10;
    --shadow: 0 30px 80px -40px rgba(0, 0, 0, .8);
    --ok: #6FD08F; --ok-bg: #13261A;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0E0B06; --hero-bg: #0E0B06; --surface: #17120A; --surface-2: #1F1810; --line: #2F2717;
  --text: #F7F1E3; --muted: #C9BFA8; --gold-text: #F3C04E;
  --glass: rgba(14, 11, 6, 0.64); --chip: #241C10;
  --shadow: 0 30px 80px -40px rgba(0, 0, 0, .8);
  --ok: #6FD08F; --ok-bg: #13261A;
  color-scheme: dark;
}
@media (min-width: 820px) { :root { --gutter: 40px; --section: 112px; --card-pad: 32px; --grid-gap: 24px; } }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
html, body { margin: 0; }
body {
  background: var(--bg); color: var(--text);
  font-family: var(--b5-font); font-size: 16px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 var(--s4); }
h1, h2, h3, h4 { margin: 0; line-height: 1.08; letter-spacing: -0.025em; }
h2 { font-size: clamp(32px, 6vw, 52px); font-weight: 800; letter-spacing: -0.035em; }
h3 { font-size: 22px; font-weight: 700; letter-spacing: -0.015em; }
em.g, .g { font-style: normal; color: var(--gold-text); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: var(--s4); top: -60px; z-index: 50; padding: var(--s2) var(--s4); border-radius: 999px; background: var(--gold); color: var(--gold-ink); font-weight: 700; }
.skip:focus { top: var(--s4); }
:focus-visible { outline: 3px solid var(--gold-text); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.sec { padding: var(--section) 0; }
.sec.alt { background: var(--surface-2); }
.head { max-width: 760px; margin-bottom: var(--s7); }
.head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker {
  display: inline-flex; align-items: center; gap: var(--s2); margin-bottom: var(--s4);
  padding: var(--s1) var(--s3); border-radius: 999px; background: var(--chip);
  font-size: 13px; font-weight: 600; color: var(--muted);
}
.kicker i { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 3px rgba(243, 192, 78, .25); }
.lede { font-size: 18px; color: var(--muted); max-width: 46ch; }
.head .lede { margin-top: var(--s4); }
.head.center .lede { margin-left: auto; margin-right: auto; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.tag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 2px 6px; border-radius: 6px; background: var(--chip); color: var(--muted); vertical-align: middle; }
.grid { display: grid; gap: var(--grid-gap); }
@media (min-width: 820px) {
  .g2 { grid-template-columns: repeat(2, 1fr); }
  .g3 { grid-template-columns: repeat(3, 1fr); }
  .g4 { grid-template-columns: repeat(4, 1fr); }
}
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: var(--card-pad);
}
.card h3 { margin-bottom: var(--s2); }
.card p:last-child { margin-bottom: 0; }
.ico {
  width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center;
  background: var(--gold); color: var(--gold-ink); margin-bottom: var(--s4);
}
.ico svg { width: 22px; height: 22px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  min-height: 48px; padding: 0 var(--s5); border-radius: 999px;
  font: 600 16px/1 var(--b5-font); text-decoration: none; cursor: pointer; border: 0;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, background .25s ease;
}
.btn-gold {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--gold); color: var(--gold-ink);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .5) inset, 0 8px 24px -10px rgba(243, 192, 78, .7);
}
/* Liquid-metal sheen (21st.dev "Liquid Metal Button"): a slow highlight across the gold. Ink stays at 10.7 : 1. */
.btn-gold::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 248, 225, .75) 46%, transparent 60%);
  transform: translateX(-120%); animation: sheen 5.5s cubic-bezier(.4, 0, .2, 1) infinite; animation-delay: -3.9s;
}
@keyframes sheen { 0%, 55% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }
.btn-gold:hover { transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255, 255, 255, .5) inset, 0 14px 30px -10px rgba(243, 192, 78, .85); }
.btn-ghost { background: transparent; color: var(--text); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--gold-text); }
.btn-ink { background: var(--gold-ink); color: #F7F1E3; }
.btn-sm { min-height: 40px; padding: 0 var(--s4); font-size: 15px; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s3); }
.link { color: var(--gold-text); font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.link::after { content: "→"; transition: transform .3s var(--ease); }
.link:hover::after { transform: translateX(4px); }
.stores { display: flex; flex-wrap: wrap; gap: var(--s2); }
.store {
  display: inline-flex; align-items: center; gap: var(--s2);
  height: 44px; padding: 0 var(--s4); border-radius: 12px;
  background: var(--text); color: var(--bg); text-decoration: none; font-size: 12px; line-height: 1.1;
}
.store b { display: block; font-size: 15px; font-weight: 700; }
.store svg { width: 20px; height: 20px; flex: none; }

/* ---------- Header: the only glass on the site ---------- */
.hdr {
  position: fixed; inset: 0 0 auto 0; z-index: 20;
  background: var(--glass);
  -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}
.hdr-in { display: flex; align-items: center; gap: var(--s5); height: 64px; }
.brand { display: flex; align-items: center; gap: var(--s2); text-decoration: none; font-weight: 800; font-size: 18px; letter-spacing: -0.01em; flex: none; }
.mark { width: 32px; height: 32px; border-radius: 9px; background: var(--gold); color: var(--gold-ink); display: grid; place-items: center; font-size: 14px; font-weight: 800; letter-spacing: -0.02em; } /* placeholder mark */
.nav { position: relative; display: none; align-items: center; gap: var(--s1); margin-left: var(--s4); }
.nav > a, .nav > .dd > button {
  position: relative; z-index: 1; padding: var(--s2) var(--s3); background: none; border: 0; cursor: pointer;
  font: 500 15px/1.2 var(--b5-font); color: var(--text); text-decoration: none; display: inline-flex; align-items: center; gap: 4px; white-space: nowrap;
}
.nav [aria-current="page"] { color: var(--gold-text); }
.nav .lime {
  position: absolute; bottom: 2px; height: 3px; border-radius: 3px; background: var(--gold);
  width: 0; left: 0; opacity: 0; pointer-events: none;
  transition: left .45s var(--ease), width .45s var(--ease), opacity .3s;
}
.nav .lime::after { content: ""; position: absolute; left: 10%; right: 10%; bottom: 0; height: 18px; background: radial-gradient(ellipse at bottom, rgba(243, 192, 78, .45), transparent 70%); filter: blur(4px); }
.dd { position: relative; }
.dd button svg { width: 14px; height: 14px; transition: transform .3s; }
.dd[data-open] button svg { transform: rotate(180deg); }
.dd-menu {
  position: absolute; left: -12px; top: calc(100% + 10px); width: 520px;
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--s1); padding: var(--s3);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .25s, transform .3s var(--ease), visibility .25s;
}
.dd[data-open] .dd-menu { opacity: 1; visibility: visible; transform: none; }
.dd-menu a { display: flex; gap: var(--s3); padding: var(--s3); border-radius: var(--r-sm); text-decoration: none; }
.dd-menu a:hover { background: var(--surface-2); }
.dd-menu b { display: block; font-size: 15px; }
.dd-menu span { font-size: 13px; color: var(--muted); }
.dd-menu .ico { width: 36px; height: 36px; border-radius: 10px; margin: 0; flex: none; }
.dd-menu .ico svg { width: 18px; height: 18px; }
.hdr-end { margin-left: auto; display: flex; align-items: center; gap: var(--s2); }
.login { display: none; padding: var(--s2) var(--s3); font-weight: 500; font-size: 15px; text-decoration: none; }
/* Header buttons keep their words on one line; the row tightens below instead. */
.hdr-end .login, .hdr-end .btn { white-space: nowrap; flex: none; }
.icon-btn {
  width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--line);
  background: transparent; color: var(--text); display: grid; place-items: center; cursor: pointer; flex: none;
}
.icon-btn svg { width: 18px; height: 18px; }
/* Seven menu items need about 1240px; below that the phone menu is used. */
@media (min-width: 1240px) { .nav, .login { display: flex; } .menu-btn { display: none; } }
/* Seven items fill the 1200px row, so the header keeps this tight spacing at every desktop width. */
@media (min-width: 1240px) {
  .hdr-in { gap: var(--s3); } .hdr-end { gap: var(--s1); } .login { padding-inline: var(--s2); }
  .nav { margin-left: var(--s2); gap: 0; } .nav > a { padding-inline: var(--s2); }
}
@media (max-width: 380px) { .hdr .theme-btn { display: none; } }

/* Phone menu: a solid sheet, the page blurs behind it */
.mnav {
  position: fixed; inset: 64px 0 0 0; z-index: 19; overflow: auto;
  background: var(--bg); padding: var(--s5) var(--gutter) var(--s7);
  opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .3s var(--ease), visibility .25s;
}
.mnav[data-open] { opacity: 1; visibility: visible; transform: none; }
.mnav .mh { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: var(--s5) 0 var(--s2); }
.mnav a { display: block; padding: var(--s3) 0; font-size: 20px; font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--line); }
.mnav [aria-current="page"] { color: var(--gold-text); }
.mnav .btn { display: flex; justify-content: center; margin-top: var(--s5); width: 100%; padding-block: var(--s3); font-size: 17px; border-bottom: 0; }

/* ---------- Home hero ---------- */
.hero { position: relative; min-height: 100svh; display: grid; background: var(--hero-bg); } /* white in light mode, the page colour in dark */
.stage { position: relative; height: 58svh; min-height: 360px; overflow: hidden; background: #120d06; }
.stage picture, .stage img, .stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.stage canvas { opacity: 0; transition: opacity 1.2s ease; }
.stage canvas.on { opacity: 1; }
.stage::after { content: ""; position: absolute; inset: auto 0 0 0; height: 90px; background: linear-gradient(to bottom, transparent, var(--bg)); pointer-events: none; }
.stage.photo { background: transparent; }
.stage.photo::after { display: none; }
.stage.photo img { object-position: 50% 28%; animation: settle 2.4s var(--ease) both;
  -webkit-mask-image: linear-gradient(to bottom, #000 60%, transparent); mask-image: linear-gradient(to bottom, #000 60%, transparent); }
@keyframes settle { from { transform: scale(1.05); } }
/* Small app moments beside the friends: solid surfaces, placed in the photo's own proportions */
.hui { position: absolute; z-index: 2; display: flex; align-items: center; gap: var(--s3); padding: var(--s2) var(--s4) var(--s2) var(--s2); border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); color: var(--text); font-size: 14px; line-height: 1.25; white-space: nowrap; animation: huiIn .9s var(--ease) .8s both, bob 7s ease-in-out 1.7s infinite; }
.hui .dot { width: 34px; height: 34px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--chip); font-size: 15px; }
.hui .av { background: var(--gold); color: var(--gold-ink); font-weight: 800; }
.hui small { display: block; font-size: 12px; color: var(--muted); }
.hui .amt { color: var(--ok); font-variant-numeric: tabular-nums; }
.hui .bar { display: block; width: 120px; height: 6px; margin-top: 6px; border-radius: 3px; background: var(--chip); overflow: hidden; }
.hui .bar i { display: block; width: 62%; height: 100%; border-radius: inherit; background: var(--gold); transform-origin: left; animation: barIn 1.4s var(--ease) 1.3s both; }
.hui-pot { left: 3%; top: max(14%, 76px); }
.hui-pay { right: 4%; top: 34%; animation-delay: 1.1s, 2.4s; }
@media (max-width: 599px) { /* no room beside the heads on a phone: sit on the sweater and the skirt, clear of both faces */
  .hui { font-size: 12.5px; gap: var(--s2); padding-right: var(--s3); } .hui .dot { width: 28px; height: 28px; font-size: 13px; } .hui small { font-size: 11px; } .hui .bar { width: 96px; }
  .hui-pot { left: 3%; top: 55%; } .hui-pay { right: 3%; top: 71%; }
}
@keyframes huiIn { from { opacity: 0; transform: translateY(12px) scale(.96); } }
@keyframes bob { 50% { transform: translateY(-5px); } }
@keyframes barIn { from { transform: scaleX(0); } }
.still-dark { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .still-dark { display: block; } :root:not([data-theme="light"]) .still-light { display: none; } }
:root[data-theme="dark"] .still-dark { display: block; }
:root[data-theme="dark"] .still-light { display: none; }
.hero .panel { position: relative; z-index: 2; margin: 0 var(--gutter) var(--s7); } /* words straight on the hero surface, clear of the photo */
.hero h1 { margin: var(--s2) 0 var(--s4); font-size: clamp(40px, 9.6vw, 64px); line-height: 1.02; letter-spacing: -0.035em; font-weight: 800; }
.ln { display: block; overflow: hidden; padding-bottom: .06em; }
.js .ln > span { display: inline-block; transform: translateY(110%); animation: rise 1.1s var(--ease) forwards; }
.js .ln:nth-child(2) > span { animation-delay: .12s; }
.js .ln:nth-child(3) > span { animation-delay: .24s; }
@keyframes rise { to { transform: none; } }
.hero .lede { margin-bottom: var(--s5); max-width: 34ch; }
.hero .stores { margin-top: var(--s4); }
.trust { display: flex; flex-direction: column; gap: var(--s2); margin: var(--s5) 0 0; padding: var(--s4) 0 0; border-top: 1px solid var(--line); list-style: none; }
.trust li { display: flex; align-items: center; gap: var(--s2); font-size: 14px; font-weight: 500; color: var(--muted); }
.trust svg { width: 18px; height: 18px; flex: none; color: var(--gold-text); }
.rating { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2); margin: var(--s3) 0 0; font-size: 14px; color: var(--muted); }
.stars { color: var(--gold-text); letter-spacing: 1px; }
.rating strong { color: var(--text); }
@media (min-width: 900px) {
  .hero { min-height: max(100svh, 720px); }
  .stage { position: absolute; inset: 0; height: auto; }
  .stage::after { display: none; }
  .hero .stage.photo { left: 50%; }
  .stage.photo img { -webkit-mask-image: linear-gradient(to right, transparent, #000 38%); mask-image: linear-gradient(to right, transparent, #000 38%); }
  .hero .panel { align-self: center; justify-self: start; width: min(540px, 46vw); margin: 96px 0 var(--s7) max(var(--gutter), calc((100vw - var(--max)) / 2)); }
  .trust { flex-direction: row; flex-wrap: wrap; gap: var(--s3) var(--s5); }
}

/* ---------- Inner page hero ---------- */
.phero { position: relative; padding: calc(64px + var(--s8)) 0 var(--s7); overflow: hidden; }
.phero::before { /* slow gold light, behind the solid words */
  content: ""; position: absolute; width: 900px; height: 900px; right: -320px; top: -420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(243, 192, 78, .28), transparent 62%);
  animation: drift 18s ease-in-out infinite alternate; animation-delay: -6s; pointer-events: none;
}
@keyframes drift { to { transform: translate(-120px, 80px) scale(1.12); } }
.phero .wrap { position: relative; }
.phero h1 { font-size: clamp(40px, 8vw, 72px); font-weight: 800; letter-spacing: -0.04em; max-width: 14ch; margin-bottom: var(--s4); }
.phero .lede { font-size: 19px; }
.phero .btn-row { margin-top: var(--s5); }
.crumb { font-size: 14px; color: var(--muted); margin-bottom: var(--s4); }
.crumb a { text-decoration: none; }
.crumb a:hover { color: var(--gold-text); }
.phero-grid { display: grid; gap: var(--s7); align-items: center; }
@media (min-width: 900px) { .phero-grid { grid-template-columns: 1.1fr .9fr; } }

/* ---------- Proof strip ---------- */
.proof { padding: var(--s7) 0; border-bottom: 1px solid var(--line); }
.proof-in { display: grid; gap: var(--s5); align-items: center; }
@media (min-width: 900px) { .proof-in { grid-template-columns: auto 1fr; gap: var(--s7); } }
.proof-num { display: flex; gap: var(--s6); flex-wrap: wrap; }
.proof-num b { display: block; font-size: 40px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.proof-num span { font-size: 14px; color: var(--muted); }
/* Marquee of short reviews; pauses on hover; still under reduced motion */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: var(--s3); width: max-content; animation: marq 60s linear infinite; animation-delay: -20s; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marq { to { transform: translateX(-50%); } }
.review { flex: none; width: 300px; padding: var(--s4); border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); font-size: 14px; }
.review .stars { font-size: 13px; }
.review p { margin: var(--s2) 0; color: var(--text); }
.review span { color: var(--muted); font-size: 13px; }

/* ---------- Phone frame and app screens (sample app UI, built in HTML) ---------- */
.phone {
  position: relative; width: 300px; aspect-ratio: 300 / 620; margin: 0 auto;
  border-radius: 46px; padding: 12px; background: linear-gradient(160deg, #3a2f1c, #120d06 40%, #2a2214);
  box-shadow: 0 0 0 1.5px #4b3d24, 0 50px 90px -40px rgba(29, 22, 6, .7);
}
.screen { position: absolute; inset: 12px; border-radius: 36px; overflow: hidden; background: #FBF7EE; color: #1D1606; font-size: 13px; }
.app > * { flex: none; }
.app { position: absolute; inset: 0; padding: var(--s6) 18px 18px; display: flex; flex-direction: column; gap: 12px; transition: opacity .6s ease, transform .7s var(--ease); }
.app[hidden] { display: flex; opacity: 0; transform: translateY(16px) scale(.98); pointer-events: none; }
.app-top { display: flex; justify-content: space-between; align-items: center; font-weight: 700; font-size: 15px; }
.app-top .av { width: 30px; height: 30px; border-radius: 50%; background: #F3C04E; display: grid; place-items: center; font-size: 12px; font-weight: 800; }
.app-bal { padding: 16px; border-radius: 20px; background: #1D1606; color: #F7F1E3; }
.app-bal small { color: #C9BFA8; display: block; font-size: 12px; }
.app-bal b { font-size: 28px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.app-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 12px; border-radius: 14px; background: #fff; border: 1px solid #EDE4D0; }
.app-row .l { display: flex; align-items: center; gap: 10px; }
.app-row .dot { width: 30px; height: 30px; border-radius: 10px; background: #F4EDDD; display: grid; place-items: center; font-size: 14px; }
.app-row small { display: block; color: #6A604C; font-size: 11px; }
.app-row .pos { color: #1F7A3E; font-weight: 700; }
.app-h { font-size: 12px; font-weight: 700; color: #6A604C; text-transform: uppercase; letter-spacing: .06em; margin-top: 4px; }
.ring { position: relative; width: 132px; height: 132px; margin: 4px auto; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 12; }
.ring .bg { stroke: #EDE4D0; }
.ring .fg { stroke: #E0A82E; stroke-linecap: round; stroke-dasharray: 339.3; stroke-dashoffset: 339.3; transition: stroke-dashoffset 1.6s var(--ease); }
.in .ring .fg, .no-anim .ring .fg { stroke-dashoffset: 129; }
.ring div { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; font-weight: 800; font-size: 20px; line-height: 1.1; }
.ring div small { display: block; font-size: 11px; font-weight: 600; color: #6A604C; }
.app-amt { text-align: center; padding: 8px 0; }
.app-amt b { display: block; font-size: 40px; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.app-amt small { color: #6A604C; }
.app-btn { margin-top: auto; height: 46px; border-radius: 999px; background: #F3C04E; color: #1D1606; display: grid; place-items: center; font-weight: 700; font-size: 15px; }
.mini-card { height: 120px; border-radius: 16px; padding: 14px; color: #1D1606; position: relative; overflow: hidden; background: linear-gradient(135deg, #F8DC9A, #F3C04E 45%, #C99526); }
.mini-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, .55) 48%, transparent 60%); animation: sheen 6s ease-in-out infinite; animation-delay: -4s; }
.mini-card b { font-size: 13px; }
.mini-card span { position: absolute; left: 14px; bottom: 12px; font-size: 13px; letter-spacing: .12em; font-variant-numeric: tabular-nums; }
.chart { height: 120px; }
.chart path { fill: none; stroke: #C99526; stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 600; stroke-dashoffset: 600; transition: stroke-dashoffset 2s var(--ease); }
.chart .area { stroke: none; fill: url(#cg); opacity: .5; transition: opacity 1s 1s; }
.in .chart path, .no-anim .chart path { stroke-dashoffset: 0; }

/* ---------- Pinned phone: products scroll (desktop pins, phone stacks) ---------- */
.pin { display: grid; gap: var(--s7); }
.pin-step { display: grid; gap: var(--s5); }
.pin-step .phone { width: 260px; }
.pin-phone { display: none; }
@media (min-width: 900px) {
  .pin { grid-template-columns: 1fr 1fr; gap: var(--s8); }
  .pin-steps { display: flex; flex-direction: column; }
  .pin-step { min-height: 72vh; align-content: center; opacity: .35; transition: opacity .5s ease; }
  .pin-step.active { opacity: 1; }
  .pin-step .phone { display: none; }
  .pin-phone { display: block; position: sticky; top: calc(50vh - 310px); height: 620px; align-self: start; }
}
/* Products: a glass phone, only its top 65% shown; the lower part blurs and fades into the section.
   The glass sits over the section's plain colour and a soft gold glow, never a photo; text on it is
   checked at 4.5 : 1 or better in both themes. */
#products {
  --g-frame: rgba(255, 255, 255, .34); --g-edge: rgba(255, 255, 255, .75); --g-screen: rgba(255, 255, 255, .42);
  --g-card: rgba(255, 255, 255, .58); --g-line: rgba(255, 255, 255, .85); --g-ink: #1D1606; --g-muted: #5E5442;
  --g-glow: rgba(243, 192, 78, .34);
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) #products {
  --g-frame: rgba(255, 255, 255, .06); --g-edge: rgba(255, 255, 255, .16); --g-screen: rgba(255, 255, 255, .04);
  --g-card: rgba(255, 255, 255, .07); --g-line: rgba(255, 255, 255, .12); --g-ink: #F7F1E3; --g-muted: #DDD4C0;
  --g-glow: rgba(243, 192, 78, .14); } }
:root[data-theme="dark"] #products {
  --g-frame: rgba(255, 255, 255, .06); --g-edge: rgba(255, 255, 255, .16); --g-screen: rgba(255, 255, 255, .04);
  --g-card: rgba(255, 255, 255, .07); --g-line: rgba(255, 255, 255, .12); --g-ink: #F7F1E3; --g-muted: #DDD4C0;
  --g-glow: rgba(243, 192, 78, .14);
}
#products .phone {
  background: radial-gradient(120% 60% at 50% 18%, var(--g-glow), transparent 70%), var(--g-frame);
  -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%);
  box-shadow: inset 0 0 0 1px var(--g-edge), inset 0 1px 0 var(--g-edge), 0 40px 80px -50px rgba(29, 22, 6, .45);
  -webkit-mask-image: linear-gradient(#000 40%, transparent 65%); mask-image: linear-gradient(#000 40%, transparent 65%);
}
#products .screen { background: var(--g-screen); color: var(--g-ink); box-shadow: inset 0 0 0 1px var(--g-line); }
#products .screen.sharp { -webkit-mask-image: linear-gradient(#000 30%, transparent 56%); mask-image: linear-gradient(#000 30%, transparent 56%); }
#products .screen.soft { background: none; box-shadow: none; filter: blur(9px); /* the blurred copy takes over towards the cut */
  -webkit-mask-image: linear-gradient(transparent 28%, #000 54%); mask-image: linear-gradient(transparent 28%, #000 54%); }
#products .app-row, #products .app-bal { background: var(--g-card); border: 1px solid var(--g-line); color: var(--g-ink); } /* no blur of their own: it would stop the fade blur reaching them */
#products .app-row .dot { background: var(--g-card); }
#products .app-row small, #products .app-bal small, #products .app-h, #products .app-amt small, #products .ring div small { color: var(--g-muted); }
#products .app-row .pos { color: var(--ok); }
#products .app-top .av { color: #1D1606; } /* dark ink on gold in both themes */
#products .ring .bg { stroke: var(--g-line); }
#products .pin-step .phone { margin-bottom: -188px; } /* 35% of the 260px phone's height is not shown */
@media (min-width: 900px) { #products .pin-phone { top: calc(50vh - 200px); height: 403px; } }
.pin-step .num { font-size: 14px; font-weight: 700; color: var(--gold-text); }
.pin-step h3 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; letter-spacing: -0.03em; }
.pin-step ul { margin: 0; padding: 0; list-style: none; display: grid; gap: var(--s2); }
.pin-step li { display: flex; gap: var(--s2); color: var(--muted); }
.pin-step li::before { content: ""; width: 18px; height: 18px; flex: none; margin-top: 3px; border-radius: 50%; background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231D1606' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 12px no-repeat; }

/* ---------- Cards: physical gold card + virtual twin ---------- */
.cards-stage { position: relative; display: grid; place-items: center; min-height: 460px; perspective: 1400px; }
.gcard {
  position: relative; width: min(380px, 84vw); aspect-ratio: 1.586; border-radius: 22px; padding: 24px;
  color: var(--gold-ink); overflow: hidden; transform-style: preserve-3d;
  background:
    radial-gradient(120% 140% at 0% 0%, #FFF0C2 0%, transparent 42%),
    linear-gradient(135deg, #F8DC9A 0%, #F3C04E 38%, #C99526 70%, #F3C04E 100%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .6) inset, 0 40px 80px -30px rgba(120, 80, 10, .55);
  animation: turn 14s ease-in-out infinite; animation-delay: -3s;
}
.gcard::after { /* moving light across the metal */
  content: ""; position: absolute; inset: -40%; background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, .55) 50%, transparent 60%);
  animation: glint 7s ease-in-out infinite; animation-delay: -2s;
}
@keyframes turn { 0%, 100% { transform: rotateY(-18deg) rotateX(8deg) rotateZ(-3deg); } 50% { transform: rotateY(16deg) rotateX(-4deg) rotateZ(2deg); } }
@keyframes glint { 0%, 30% { transform: translateX(-60%); } 70%, 100% { transform: translateX(60%); } }
.gcard .chip { width: 46px; height: 34px; border-radius: 8px; background: linear-gradient(135deg, #E9D9A8, #B8913B); box-shadow: inset 0 0 0 1px rgba(29, 22, 6, .25); }
.gcard .cbrand { position: absolute; right: 24px; top: 22px; font-weight: 800; font-size: 18px; letter-spacing: -0.01em; }
.gcard .cnum { position: absolute; left: 24px; bottom: 50px; font-size: 18px; letter-spacing: .14em; font-variant-numeric: tabular-nums; font-weight: 600; }
.gcard .cname { position: absolute; left: 24px; bottom: 22px; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.gcard .cnet { position: absolute; right: 24px; bottom: 20px; display: flex; }
.gcard .cnet i { width: 30px; height: 30px; border-radius: 50%; background: rgba(29, 22, 6, .55); }
.gcard .cnet i + i { margin-left: -12px; background: rgba(29, 22, 6, .3); }
.cards-stage .gcard { justify-self: start; margin-top: -60px; }
.vcard {
  position: absolute; right: 0; bottom: -10px; width: 190px; z-index: 2; aspect-ratio: 300 / 620; border-radius: 34px; padding: 9px;
  background: linear-gradient(160deg, #3a2f1c, #120d06 40%, #2a2214); box-shadow: 0 40px 80px -30px rgba(29, 22, 6, .7);
}
.vcard .screen { inset: 9px; border-radius: 26px; }
.vcard .app { padding: 38px 10px 10px; gap: 7px; font-size: 11px; }
.vcard .app-row { padding: 8px 9px; }
.vcard .app-row .dot { width: 24px; height: 24px; }
.vcard .app-top { font-size: 13px; }
.vcard .mini-card { height: 92px; transform: translateY(40px); opacity: 0; transition: transform 1.2s var(--ease) .3s, opacity .8s .3s; background: linear-gradient(135deg, #2A2214, #1D1606); color: #F3C04E; }
.in .vcard .mini-card, .no-anim .vcard .mini-card { transform: none; opacity: 1; }
@media (max-width: 899px) { .cards-stage .gcard { margin-top: 0; justify-self: center; } .vcard { position: relative; right: auto; bottom: auto; margin: -50px 0 0 auto; width: 170px; } .cards-stage { min-height: 0; gap: 0; } }
.feat { display: grid; gap: var(--s4); margin-top: var(--s5); }
.feat div { display: flex; gap: var(--s3); }
.feat b { display: block; }
.feat span { color: var(--muted); font-size: 15px; }
.feat .ico { width: 36px; height: 36px; border-radius: 10px; margin: 0; flex: none; color: var(--gold-ink); }
.feat .ico svg { width: 18px; height: 18px; }

/* ---------- Globe ---------- */
.globe-wrap { position: relative; aspect-ratio: 1; max-width: 560px; width: 100%; margin: 0 auto; }
.globe-wrap canvas, .globe-wrap img { position: absolute; inset: 0; width: 100%; height: 100%; }
.globe-wrap .fallback { display: grid; place-items: center; }
.globe-wrap.live .fallback { display: none; }
.globe-wrap .fallback svg { width: 100%; height: 100%; }
.routes { display: grid; gap: var(--s2); margin-top: var(--s5); }
.route { display: flex; justify-content: space-between; align-items: center; gap: var(--s3); padding: var(--s3) var(--s4); border-radius: var(--r-sm); background: var(--surface); border: 1px solid var(--line); font-size: 15px; }
.route b { font-variant-numeric: tabular-nums; }

/* ---------- Plans: spotlight cards (21st.dev "Spotlight Card") ---------- */
.plans { display: grid; gap: var(--grid-gap); }
@media (min-width: 900px) { .plans { grid-template-columns: repeat(3, 1fr); align-items: start; } }
.plan {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--card-pad);
  transition: transform .4s var(--ease), box-shadow .4s;
}
.plan::before { /* glow that follows the pointer; sits behind the solid content */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .3s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(243, 192, 78, .22), transparent 60%);
}
.plan:hover::before { opacity: 1; }
.plan.hot { border-color: var(--gold); box-shadow: 0 30px 60px -36px rgba(201, 149, 38, .7); }
@media (min-width: 900px) { .plan.hot { transform: translateY(-12px); } }
.plan h3 { display: flex; align-items: center; gap: var(--s2); }
.plan .price { margin: var(--s4) 0; font-size: 44px; font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.plan .price small { font-size: 16px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan ul { list-style: none; margin: var(--s5) 0 0; padding: var(--s5) 0 0; border-top: 1px solid var(--line); display: grid; gap: var(--s3); }
.plan li { display: flex; gap: var(--s2); font-size: 15px; }
.plan li::before { content: "✓"; color: var(--gold-text); font-weight: 800; }
.plan .btn { width: 100%; margin-top: var(--s5); }
.pill { font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 999px; background: var(--gold); color: var(--gold-ink); letter-spacing: 0; }
.cmp { width: 100%; border-collapse: collapse; font-size: 15px; }
.cmp-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.cmp th, .cmp td { padding: var(--s3) var(--s4); text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
.cmp thead th { position: sticky; top: 0; background: var(--surface); font-size: 16px; }
.cmp td:not(:first-child), .cmp th:not(:first-child) { text-align: center; }
.cmp tr:last-child td { border-bottom: 0; }
.cmp .grp td { background: var(--surface-2); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.yes { color: var(--gold-text); font-weight: 800; }
.no { color: var(--muted); }

/* ---------- Security: gold lines draw a shield (21st.dev "Background Paths") ---------- */
.shield { width: 100%; max-width: 420px; margin: 0 auto; }
.shield path { fill: none; stroke: var(--gold-text); stroke-width: 1.6; stroke-linecap: round; }
.js .shield .draw { stroke-dasharray: 1.02 1.02; stroke-dashoffset: 1.02; transition: stroke-dashoffset 2.4s var(--ease); }
.js .in .shield .draw { stroke-dashoffset: 0; }
.shield .draw:nth-child(2) { transition-delay: .15s; } .shield .draw:nth-child(3) { transition-delay: .3s; }
.shield .draw:nth-child(4) { transition-delay: .45s; } .shield .draw:nth-child(5) { transition-delay: .6s; }
.shield .core { stroke: var(--gold); stroke-width: 3; }
.shield .paths path { opacity: .45; animation: flow 9s linear infinite; stroke-dasharray: 6 10; }
@keyframes flow { to { stroke-dashoffset: -160; } }

/* ---------- Steps: a gold line fills from step to step ---------- */
.steps { position: relative; display: grid; gap: var(--s6); counter-reset: st; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); gap: var(--grid-gap); } }
.steps::before, .steps::after { content: ""; position: absolute; left: 23px; top: 24px; bottom: 24px; width: 2px; background: var(--line); }
.steps::after { background: var(--gold); transform-origin: top; transform: scaleY(var(--p, 0)); transition: transform .2s linear; }
@media (min-width: 900px) {
  .steps::before, .steps::after { left: 24px; right: 24px; top: 23px; bottom: auto; width: auto; height: 2px; }
  .steps::after { transform-origin: left; transform: scaleX(var(--p, 0)); }
}
.step { position: relative; padding-left: 72px; }
@media (min-width: 900px) { .step { padding: 72px var(--s5) 0 0; } }
.step::before {
  counter-increment: st; content: counter(st);
  position: absolute; left: 0; top: 0; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  background: var(--surface); border: 2px solid var(--line); font-weight: 800; z-index: 1; transition: background .4s, border-color .4s, color .4s;
}
.step.done::before { background: var(--gold); border-color: var(--gold); color: var(--gold-ink); }
.step h3 { margin-bottom: var(--s2); }
.step p { color: var(--muted); }

/* ---------- Tools: converter with rolling digits ---------- */
.tool { display: grid; gap: var(--s4); }
.field { display: grid; gap: 6px; }
.field label { font-size: 14px; font-weight: 600; color: var(--muted); }
.inrow { display: flex; align-items: stretch; border: 1.5px solid var(--line); border-radius: var(--r-sm); background: var(--bg); overflow: hidden; }
.inrow:focus-within { border-color: var(--gold-text); }
.inrow input, .inrow select, .input {
  font: 600 20px/1.2 var(--b5-font); color: var(--text); background: transparent; border: 0; padding: var(--s3) var(--s4); min-width: 0;
}
.inrow input { flex: 1; font-variant-numeric: tabular-nums; }
.inrow input:focus, .inrow select:focus { outline: none; }
.inrow select { border-left: 1px solid var(--line); font-size: 16px; cursor: pointer; }
.input { width: 100%; border: 1.5px solid var(--line); border-radius: var(--r-sm); background: var(--bg); font-size: 18px; }
.input:focus { outline: none; border-color: var(--gold-text); }
.result { padding: var(--s5); border-radius: var(--r-md); background: var(--gold-ink); color: #F7F1E3; }
.result small { display: block; color: #C9BFA8; font-size: 14px; }
.result .big { font-size: clamp(32px, 6vw, 44px); font-weight: 800; letter-spacing: -0.03em; display: flex; align-items: baseline; gap: var(--s2); flex-wrap: wrap; }
.result .big .cur { color: #F3C04E; font-size: .6em; }
.roll { display: inline-flex; font-variant-numeric: tabular-nums; }
.roll .d { display: inline-block; height: 1.1em; overflow: hidden; line-height: 1.1; }
.roll .d > span { display: block; transition: transform .7s var(--ease); }
.roll .d > span > span { display: block; height: 1.1em; }
.swap { align-self: center; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--surface); color: var(--text); cursor: pointer; display: grid; place-items: center; transition: transform .4s var(--ease); }
.swap:hover { transform: rotate(180deg); }
.swap svg { width: 18px; height: 18px; }
input[type="range"] { width: 100%; accent-color: #C99526; }
.calc-chart { height: 220px; display: flex; align-items: flex-end; gap: 6px; padding-top: var(--s4); }
.calc-chart i { flex: 1; border-radius: 6px 6px 0 0; background: var(--gold); transition: height .6s var(--ease); min-height: 2px; position: relative; }
.calc-chart i::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: var(--c, 0%); background: var(--gold-deep); border-radius: 0 0 0 0; }
.legend { display: flex; gap: var(--s4); font-size: 13px; color: var(--muted); margin-top: var(--s2); }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }

/* ---------- Blog ---------- */
.posts { display: grid; gap: var(--grid-gap); }
@media (min-width: 700px) { .posts { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .posts { grid-template-columns: repeat(3, 1fr); } }
.post { display: flex; flex-direction: column; text-decoration: none; border-radius: var(--r-lg); overflow: hidden; background: var(--surface); border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s; }
.post:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.cover { aspect-ratio: 16 / 10; position: relative; overflow: hidden; background: var(--gold-ink); }
.cover > i { position: absolute; inset: 0; transition: transform 1.2s var(--ease); }
.post:hover .cover > i { transform: scale(1.06); }
.cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.post:hover .cover img { transform: scale(1.06); }
.c1 { background: radial-gradient(80% 90% at 20% 20%, #F8DC9A, transparent 60%), radial-gradient(70% 80% at 85% 80%, #C99526, transparent 60%), #3a2b12; }
.c2 { background: conic-gradient(from 210deg at 70% 60%, #1D1606, #C99526, #F8DC9A, #1D1606); }
.c3 { background: repeating-radial-gradient(circle at 30% 70%, #F3C04E 0 6px, #2a2010 6px 22px); }
.c4 { background: linear-gradient(160deg, #F8DC9A, #F3C04E 40%, #8A6100); }
.c5 { background: radial-gradient(circle at 50% 120%, #F3C04E, #5a400f 45%, #120d06 75%); }
.c6 { background: repeating-linear-gradient(115deg, #F3C04E 0 2px, transparent 2px 18px), linear-gradient(#2a2010, #120d06); }
.post-b { padding: var(--s5); display: flex; flex-direction: column; gap: var(--s2); flex: 1; }
.post-b .meta { font-size: 13px; color: var(--muted); display: flex; gap: var(--s2); }
.post-b h3 { font-size: 20px; line-height: 1.25; }
.post-b p { color: var(--muted); font-size: 15px; margin: 0; }
.prose { max-width: 720px; font-size: 18px; line-height: 1.7; }
.prose h2 { font-size: 30px; margin: var(--s7) 0 var(--s4); letter-spacing: -0.025em; }
.prose h3 { margin: var(--s6) 0 var(--s3); }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 var(--s4); }
.prose li { margin-bottom: var(--s2); }
.prose blockquote { margin: var(--s6) 0; padding: var(--s5); border-radius: var(--r-md); background: var(--surface-2); font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
.note-box { padding: var(--s4) var(--s5); border-radius: var(--r-md); background: var(--chip); color: var(--muted); font-size: 15px; margin-bottom: var(--s6); }
.note-box svg { display: inline-block; width: 20px; height: 20px; flex: none; vertical-align: -4px; margin-right: var(--s1); color: var(--gold-text); }
.toc { position: sticky; top: 96px; font-size: 15px; }
.toc a { display: block; padding: 6px 0; text-decoration: none; color: var(--muted); }
.toc a:hover { color: var(--gold-text); }
.article { display: grid; gap: var(--s7); }
@media (min-width: 1000px) { .article { grid-template-columns: 220px 1fr; } }
.gloss { display: grid; gap: var(--s3); }
.gloss dt { font-weight: 800; font-size: 20px; letter-spacing: -0.01em; scroll-margin-top: 96px; }
.gloss dd { margin: 0 0 var(--s5); color: var(--muted); max-width: 62ch; }
.letters { display: flex; flex-wrap: wrap; gap: var(--s2); margin-bottom: var(--s6); }
.letters a { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line); text-decoration: none; font-weight: 700; }
.letters a:hover { border-color: var(--gold-text); }
.chips { display: flex; flex-wrap: wrap; gap: var(--s2); margin-bottom: var(--s6); }
.chips button { min-height: 40px; padding: 0 var(--s4); border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); color: var(--text); font: 600 14px var(--b5-font); cursor: pointer; }
.chips button[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: var(--gold-ink); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: var(--s3); max-width: 860px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; padding: var(--s5); font-weight: 700; font-size: 18px; display: flex; justify-content: space-between; gap: var(--s4); align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 12px; height: 12px; flex: none; border-right: 2px solid var(--gold-text); border-bottom: 2px solid var(--gold-text); transform: rotate(45deg) translate(-2px, -2px); transition: transform .35s var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.faq .ans { padding: 0 var(--s5) var(--s5); color: var(--muted); }
.faq .ans p:last-child { margin: 0; }
.search { position: relative; max-width: 560px; margin-bottom: var(--s6); }
.search input { width: 100%; height: 56px; padding: 0 var(--s5) 0 52px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); color: var(--text); font: 500 17px var(--b5-font); }
.search input:focus { outline: none; border-color: var(--gold-text); }
.search svg { position: absolute; left: 18px; top: 18px; width: 20px; height: 20px; color: var(--muted); }

/* ---------- Final call band ---------- */
.band { position: relative; overflow: hidden; isolation: isolate; border-radius: var(--r-lg); padding: var(--s8) var(--card-pad); background: var(--gold); color: var(--gold-ink); text-align: center; }
.band::before { /* slow shimmer across the gold; the band stays a solid surface for the words */
  content: ""; position: absolute; inset: -50%; z-index: -1;
  background: conic-gradient(from 0deg at 50% 50%, transparent 0 20%, rgba(255, 248, 225, .55) 25%, transparent 30% 70%, rgba(201, 149, 38, .4) 75%, transparent 80%);
  animation: spin 24s linear infinite; animation-delay: -8s;
}
@keyframes spin { to { transform: rotate(1turn); } }
.band h2 { max-width: 16ch; margin: 0 auto var(--s4); }
.band p { max-width: 44ch; margin: 0 auto var(--s5); font-size: 18px; }
.band .stores { justify-content: center; }
.band .store { background: var(--gold-ink); color: #F7F1E3; }
.qr-inline { display: none; }
@media (min-width: 900px) { .qr-inline { display: inline-flex; align-items: center; gap: var(--s3); margin-top: var(--s5); font-size: 14px; font-weight: 600; } }
.qr { width: 120px; height: 120px; padding: 8px; border-radius: 14px; background: #fff; }
.qr svg { width: 100%; height: 100%; }

/* ---------- Footer with rippling dot field ---------- */
.dots { position: relative; height: 240px; margin-top: var(--section); overflow: hidden; }
.dots canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.dots::after { content: ""; position: absolute; inset: auto 0 0; height: 80px; background: linear-gradient(transparent, var(--surface)); }
.ftr { background: var(--surface); border-top: 1px solid var(--line); padding: var(--s7) 0 var(--s6); }
.ftr-grid { display: grid; gap: var(--s6); grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .ftr-grid { grid-template-columns: 1.4fr repeat(5, 1fr); } }
.ftr-about { grid-column: 1 / -1; }
@media (min-width: 900px) { .ftr-about { grid-column: auto; } }
.ftr .fh { font-size: 14px; letter-spacing: 0; margin-bottom: var(--s3); }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s2); }
.ftr li a { text-decoration: none; color: var(--muted); font-size: 14px; }
.ftr li a:hover { color: var(--gold-text); }
.ftr .stores { margin-top: var(--s4); }
.ftr-pick { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s4); }
.ftr-pick select { height: 40px; padding: 0 var(--s3); border-radius: 999px; border: 1px solid var(--line); background: var(--bg); color: var(--text); font: 500 14px var(--b5-font); }
.wordmark::before { content: attr(data-text); }
.wordmark { font-size: clamp(64px, 17vw, 240px); font-weight: 800; letter-spacing: -0.06em; line-height: .85; margin: var(--s7) 0 var(--s5); color: var(--text); opacity: .08; user-select: none; white-space: nowrap; }
.ftr-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s3); padding-top: var(--s5); border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.ftr-base p { margin: 0; max-width: 70ch; }

/* ---------- Sheets, bars, banners ---------- */
.scrim { position: fixed; inset: 0; z-index: 40; background: rgba(14, 11, 6, .35); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.scrim[data-open] { opacity: 1; visibility: visible; }
.sheet {
  position: fixed; z-index: 41; left: 50%; bottom: 0; width: min(560px, 100%); transform: translate(-50%, 104%);
  background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: var(--r-lg) var(--r-lg) 0 0;
  padding: var(--s6) var(--s5) calc(var(--s6) + env(safe-area-inset-bottom)); box-shadow: var(--shadow);
  transition: transform .5s var(--ease);
}
.sheet[data-open] { transform: translate(-50%, 0); }
@media (min-width: 700px) { .sheet { bottom: 50%; border-radius: var(--r-lg); transform: translate(-50%, 60%) scale(.96); opacity: 0; visibility: hidden; transition: transform .45s var(--ease), opacity .3s, visibility .3s; } .sheet[data-open] { transform: translate(-50%, 50%); opacity: 1; visibility: visible; } }
.sheet h2 { font-size: 28px; margin-bottom: var(--s2); }
.sheet .x { position: absolute; right: var(--s4); top: var(--s4); }
.sheet-qr { display: flex; gap: var(--s5); align-items: center; margin: var(--s5) 0; }
.sheet-qr .qr { width: 148px; height: 148px; flex: none; border: 1px solid var(--line); }
.cookie {
  position: fixed; z-index: 30; left: var(--s3); right: var(--s3); bottom: var(--s3); max-width: 460px;
  padding: var(--s5); border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
  transform: translateY(140%); transition: transform .6s var(--ease);
}
.cookie[data-open] { transform: none; }
.cookie h2 { font-size: 18px; margin-bottom: var(--s2); letter-spacing: -0.01em; }
.cookie p { font-size: 14px; color: var(--muted); }
.cookie .btn-row .btn { flex: 1; min-height: 44px; }
.appbar {
  position: fixed; z-index: 25; left: var(--s3); right: var(--s3); bottom: var(--s3);
  display: flex; align-items: center; gap: var(--s3); padding: var(--s2) var(--s2) var(--s2) var(--s4);
  border-radius: 999px; background: var(--gold-ink); color: #F7F1E3; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .6);
  transform: translateY(160%); transition: transform .5s var(--ease);
}
.appbar[data-open] { transform: none; }
.appbar .mark { width: 30px; height: 30px; flex: none; }
.appbar span { font-size: 14px; font-weight: 600; flex: 1; }
.appbar .btn { min-height: 40px; }
.appbar .x { color: #F7F1E3; border-color: rgba(247, 241, 227, .25); width: 36px; height: 36px; }
@media (min-width: 900px) { .appbar { display: none; } }
.geo { background: var(--gold-ink); color: #F7F1E3; font-size: 14px; }
.geo .wrap { display: flex; align-items: center; gap: var(--s3); min-height: 44px; flex-wrap: wrap; padding-top: 6px; padding-bottom: 6px; }
.geo button { font: 600 14px var(--b5-font); border: 0; cursor: pointer; border-radius: 999px; padding: 6px 14px; }
.geo .yes-b { background: var(--gold); color: var(--gold-ink); }
.geo .no-b { background: transparent; color: #F7F1E3; text-decoration: underline; }
.geo-slot { position: fixed; top: 64px; left: 0; right: 0; z-index: 18; }

/* ---------- Status ---------- */
.status-top { display: flex; align-items: center; gap: var(--s3); padding: var(--s5); border-radius: var(--r-lg); background: var(--ok-bg); color: var(--ok); font-weight: 700; font-size: 20px; margin-bottom: var(--s6); }
.pulse { width: 14px; height: 14px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 var(--ok); animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 12px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.svc { padding: var(--s5); border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); }
.svc-h { display: flex; justify-content: space-between; gap: var(--s3); font-weight: 700; margin-bottom: var(--s3); }
.svc-h span { color: var(--ok); font-weight: 600; font-size: 14px; }
.bars { display: flex; gap: 2px; height: 32px; }
.bars i { flex: 1; border-radius: 2px; background: var(--ok); opacity: .8; }
.bars i.m { background: var(--gold); opacity: 1; }
.svc-f { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin-top: 6px; }

/* ---------- Refer, get the app, log in ---------- */
.big-qr { display: grid; gap: var(--s5); justify-items: center; padding: var(--s7) var(--card-pad); text-align: center; }
.big-qr .qr { width: 200px; height: 200px; border: 1px solid var(--line); }
.code-box { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); padding: var(--s3) var(--s3) var(--s3) var(--s5); border-radius: 999px; border: 1.5px dashed var(--gold-text); font-weight: 800; font-size: 20px; letter-spacing: .1em; }

/* ---------- Legal ---------- */
.legal { display: grid; gap: var(--s7); }
@media (min-width: 1000px) { .legal { grid-template-columns: 240px 1fr; } }
.legal-nav a { display: block; padding: var(--s2) var(--s3); border-radius: var(--r-sm); text-decoration: none; color: var(--muted); }
.legal-nav a[aria-current="page"] { background: var(--surface); color: var(--text); font-weight: 600; border: 1px solid var(--line); }

/* ---------- Reveal on scroll ---------- */
.js .rv { opacity: 0; transform: translateY(28px); transition: opacity .9s ease, transform 1s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }
.js .rv.d1 { transition-delay: .08s; } .js .rv.d2 { transition-delay: .16s; } .js .rv.d3 { transition-delay: .24s; }

/* ---------- Reduce motion: everything still, words in place ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .js .ln > span, .js .rv { transform: none; opacity: 1; }
  .ring .fg { stroke-dashoffset: 129; }
  .chart path { stroke-dashoffset: 0; }
  .js .shield .draw { stroke-dashoffset: 0; }
  .vcard .mini-card { transform: none; opacity: 1; }
  .marquee-track { flex-wrap: wrap; width: auto; }
  .marquee-track .review[aria-hidden] { display: none; }
}

/* ---------- Assistant chat (sample app screen) ---------- */
.chat { display: grid; gap: var(--s2); margin-top: var(--s2); }
.bub { margin: 0; max-width: 88%; padding: 9px 12px; border-radius: 16px; font-size: 13px; line-height: 1.4; color: #1D1606; }
.bub small { display: block; font-size: 10.5px; font-weight: 600; color: #6B5A35; margin-bottom: 2px; }
.bub.me { justify-self: end; background: var(--gold); border-bottom-right-radius: 6px; font-weight: 600; }
.bub.ai { justify-self: start; background: #fff; border: 1px solid #EDE4D0; border-bottom-left-radius: 6px; }
.bub.person { background: #FBF3DF; }
@media (prefers-reduced-motion: no-preference) {
  /* negative delays: the loop opens with the whole conversation showing */
  .chat .bub { animation: bubIn 12s ease-in-out infinite both; animation-delay: -3s; }
  .chat .bub:nth-child(2) { animation-delay: -2.4s; } .chat .bub:nth-child(3) { animation-delay: -1.8s; }
  .chat .bub:nth-child(4) { animation-delay: -1.2s; } .chat .bub:nth-child(5) { animation-delay: -.6s; }
}
@keyframes bubIn { 0% { opacity: 0; transform: translateY(6px); } 6%, 90% { opacity: 1; transform: none; } 100% { opacity: 0; } }

/* ---------- Comparison: Locker 81 next to one company at a time on phones ---------- */
.cmp-pick { display: flex; flex-wrap: wrap; gap: var(--s2); margin-bottom: var(--s4); }
.cmp-pick input { position: absolute; opacity: 0; pointer-events: none; }
.cmp-pick label { padding: var(--s2) var(--s4); border: 1px solid var(--line); border-radius: 999px; font-size: 15px; font-weight: 600; cursor: pointer; }
.cmp-pick input:checked + label { background: var(--gold); border-color: var(--gold); color: var(--gold-ink); }
.cmp-pick input:focus-visible + label { outline: 2px solid var(--gold-text); outline-offset: 2px; }
.cmpx td, .cmpx th { white-space: normal; min-width: 7em; }
.cmpx td:nth-child(2), .cmpx th:nth-child(2) { background: var(--surface-2); font-weight: 600; }
@media (max-width: 899px) {
  .cmpx :is(th, td):nth-child(n+3) { display: none; }
  .cmpx-wrap:has(#cx-1:checked) .cmpx :is(th, td):nth-child(3),
  .cmpx-wrap:has(#cx-2:checked) .cmpx :is(th, td):nth-child(4),
  .cmpx-wrap:has(#cx-3:checked) .cmpx :is(th, td):nth-child(5),
  .cmpx-wrap:has(#cx-4:checked) .cmpx :is(th, td):nth-child(6),
  .cmpx-wrap:has(#cx-5:checked) .cmpx :is(th, td):nth-child(7) { display: table-cell; }
}
@media (min-width: 900px) { .cmp-pick { display: none; } }

/* ---------- Showcases: grid cards that became sections of their own ---------- */
.show { margin-top: var(--s8); }
.show-head { max-width: 760px; margin-bottom: var(--s7); }
.show-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.show-head.center .lede { margin-left: auto; margin-right: auto; }
.show-head .lede { margin-top: var(--s4); }
.show-h { font-size: clamp(28px, 4.4vw, 40px); font-weight: 800; letter-spacing: -0.03em; }

/* Compartments: one salary flows into four locker doors (amounts add up to the salary) */
.lk-stage { max-width: 760px; margin: 0 auto; }
.lk-in { position: relative; z-index: 1; display: flex; align-items: center; gap: var(--s3); width: max-content; max-width: 100%; margin: 0 auto; padding: var(--s2) var(--s4) var(--s2) var(--s2); border-radius: 999px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); font-size: 15px; }
.lk-in .dot { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--gold-ink); font-weight: 800; }
.lk-in b { color: var(--ok); font-variant-numeric: tabular-nums; }
.lk-in::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; box-shadow: 0 0 0 0 rgba(243, 192, 78, .55); pointer-events: none; }
.lk-flow { width: 100%; height: 72px; overflow: visible; }
.lk-flow path { fill: none; stroke: var(--gold-deep); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 4 10; vector-effect: non-scaling-stroke; }
.lk-bank { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s3); }
.lk-door { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.lk-door .plate { display: grid; gap: 2px; padding: var(--s3) var(--s4); border-bottom: 1px solid var(--line); }
.lk-door .no { font-size: 11px; font-weight: 700; letter-spacing: .08em; color: var(--muted); }
.lk-door .vent { width: 56%; height: 10px; margin: var(--s1) 0; border-radius: 2px; background: repeating-linear-gradient(to bottom, var(--line) 0 2px, transparent 2px 4px); }
.lk-door .plate b { font-size: 15px; }
.lk-door .amt { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.lk-door .fill { position: relative; height: 200px; margin: var(--s3); border-radius: var(--r-sm); background: var(--surface-2); overflow: hidden; }
.lk-door .fill i { position: absolute; left: 0; right: 0; bottom: 0; height: calc(var(--h) * 100%); transform-origin: bottom; background: linear-gradient(180deg, var(--gold-soft), var(--gold) 35%, var(--gold-deep)); }
.lk-door .fill i::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: rgba(255, 255, 255, .55); }
@media (max-width: 599px) {
  .lk-bank { gap: var(--s2); }
  .lk-door .plate { padding: var(--s2); }
  .lk-door .plate b { font-size: 13px; }
  .lk-door .amt { font-size: 15px; }
  .lk-door .fill { height: 150px; margin: var(--s2); }
  .lk-in { font-size: 14px; }
}

/* No silent freezes: four points light up in turn with the matching part of the review screen */
.nsf-grid { display: grid; gap: var(--s6); align-items: center; }
@media (min-width: 900px) { .nsf-grid { grid-template-columns: 1fr 300px 1fr; gap: var(--s7); } }
@media (max-width: 899px) { .nsf-ph { order: -1; } }
.nsf-pts { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s3); }
.nsf .pt { display: flex; gap: var(--s3); padding: var(--s4); border: 1px solid transparent; border-radius: var(--r-md); }
.nsf .pt b { display: block; font-size: 17px; margin-bottom: 2px; }
.nsf .pt > span > span { color: var(--muted); font-size: 15px; }
.nsf .pt .n { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--gold-deep); font-size: 13px; font-weight: 800; color: var(--text); }
.nsf-note { margin: var(--s6) 0 0; text-align: center; color: var(--muted); }
.rev-st b { display: block; margin: 2px 0 var(--s3); font-size: 18px; }
.trk { position: relative; display: flex; justify-content: space-between; padding-top: 16px; font-size: 10.5px; color: #C9BFA8; }
.trk::before, .trk::after { content: ""; position: absolute; top: 5px; left: 6px; height: 2px; border-radius: 2px; }
.trk::before { right: 6px; background: #3A3020; }
.trk::after { width: 50%; background: #F3C04E; }
.trk span { position: relative; }
.trk span::before { content: ""; position: absolute; top: -16px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: #3A3020; }
.trk span:nth-child(2)::before { left: 50%; margin-left: -6px; }
.trk span:last-child::before { left: auto; right: 0; }
.trk .ok, .trk .now { color: #F7F1E3; }
.trk .ok::before, .trk .now::before { background: #F3C04E; }
.trk .now::before { box-shadow: 0 0 0 0 rgba(243, 192, 78, .6); }
.app-row .up { padding: 4px 10px; border-radius: 999px; background: #F3C04E; color: #1D1606; font-size: 12px; }
.nsf-ph .app { gap: 8px; }
.nsf-ph .app-row { padding: 8px 10px; }
.nsf-ph .app-h { margin-top: 2px; }

@media (prefers-reduced-motion: no-preference) {
  .lk-flow path { animation: lkFlow 1.4s linear infinite; }
  .lk-door .fill i { animation: lkFill 14s var(--ease) infinite -5.6s; }
  .lk-door:nth-child(2) .fill i { animation-delay: -5.25s; }
  .lk-door:nth-child(3) .fill i { animation-delay: -4.9s; }
  .lk-door:nth-child(4) .fill i { animation-delay: -4.55s; }
  .lk-in::after { animation: lkIn 14s ease-out infinite -5.6s; }
  .nsf .pt { animation: nsfPt 16s ease infinite; }
  .nsf .pt .n { animation: nsfN 16s ease infinite; }
  .app .hl { animation: nsfHl 16s ease infinite; }
  .nsf .pt1, .nsf .pt1 .n, .app .hl1 { animation-delay: -2s; }
  .nsf .pt2, .nsf .pt2 .n, .app .hl2 { animation-delay: -14s; }
  .nsf .pt3, .nsf .pt3 .n, .app .hl3 { animation-delay: -10s; }
  .nsf .pt4, .nsf .pt4 .n, .app .hl4 { animation-delay: -6s; }
  .trk .now::before { animation: pulse 2.4s ease-out infinite; }
  /* Hold every loop on its opening frame until the block is on screen, so linked loops stay in step */
  .lk-stage:not(.in) .lk-flow path, .lk-stage:not(.in) .lk-in::after, .lk-stage:not(.in) .lk-door .fill i,
  .nsf-grid:not(.in) .pt, .nsf-grid:not(.in) .pt .n, .nsf-grid:not(.in) .app .hl, .nsf-grid:not(.in) .trk .now::before { animation-play-state: paused; }
}
@keyframes lkFlow { to { stroke-dashoffset: -28; } }
@keyframes lkFill { 0% { transform: scaleY(0); opacity: 1; } 22%, 86% { transform: scaleY(1); opacity: 1; } 95% { transform: scaleY(1); opacity: 0; } 100% { transform: scaleY(0); opacity: 0; } }
@keyframes lkIn { 0% { box-shadow: 0 0 0 0 rgba(243, 192, 78, .55); } 10%, 100% { box-shadow: 0 0 0 14px rgba(243, 192, 78, 0); } }
@keyframes nsfPt { 0%, 25%, 100% { background: transparent; border-color: transparent; } 3%, 22% { background: var(--surface); border-color: var(--line); } }
@keyframes nsfN { 0%, 25%, 100% { background: transparent; border-color: var(--gold-deep); color: var(--text); } 3%, 22% { background: var(--gold); border-color: var(--gold); color: var(--gold-ink); } }
@keyframes nsfHl { 0%, 25%, 100% { box-shadow: 0 0 0 0 rgba(201, 149, 38, 0); } 3%, 22% { box-shadow: 0 0 0 2px #C99526, 0 10px 24px -10px rgba(201, 149, 38, .7); } }

/* ---------- Local heroes: a full-width moment that opens each chapter of the home page ---------- */
.lh { position: relative; padding: var(--section) 0; overflow: clip; } /* clip, not hidden: hidden would stop the Save scene pinning */
.lh::before { /* soft gold light behind the visual, never behind words */
  content: ""; position: absolute; width: 900px; height: 900px; right: -260px; top: 50%; margin-top: -450px; border-radius: 50%;
  background: radial-gradient(circle, rgba(243, 192, 78, .18), transparent 62%); pointer-events: none;
}
.lh h2 { font-size: clamp(40px, 7vw, 72px); line-height: 1.02; letter-spacing: -0.04em; }
.lh .lede { margin-top: var(--s4); }
.lh-grid { position: relative; display: grid; gap: var(--s7); align-items: center; }
@media (min-width: 900px) { .lh-grid { grid-template-columns: 1fr 1fr; } }
.lh-text .link { display: inline-block; margin-top: var(--s2); }
.lh-text.center { max-width: 820px; margin: 0 auto; text-align: center; }
.lh-text.center .lede { margin-left: auto; margin-right: auto; }

/* Save: pinned while the scroll tells the story; normal height without WebGL or with reduced motion */
.lh-save { padding: 0; }
.lh-save::before { display: none; }
.lh-pin { position: relative; height: 100svh; min-height: 620px; display: flex; align-items: flex-end; overflow: hidden; }
.lh-stage { position: absolute; inset: 0; background: #120d06; }
.lh-stage picture, .lh-stage img, .lh-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lh-stage canvas { opacity: 0; transition: opacity 1.2s ease; }
.lh-stage canvas.on { opacity: 1; }
.lh-wrap { position: relative; z-index: 2; padding-bottom: var(--s7); }
.lh-panel { max-width: 480px; padding: var(--s6) var(--s5); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); }
.lh-panel h2 { font-size: clamp(34px, 5vw, 52px); margin-top: var(--s2); }
@media (min-width: 900px) { .lh-panel { padding: var(--s7); } }
@media (min-width: 900px) and (max-width: 1279px) { [data-handoff] .lh-panel { max-width: 400px; } } /* clear of the centre, where the drop from Sign up lands */
.gl-ok .lh-save { height: 260vh; }
.gl-ok .lh-save .lh-pin { position: sticky; top: 0; }
/* Home: the pool fades out at the top and bottom into the sections either side (sign-up above, products below),
   so the drop from Sign up falls through one space and only the middle of the water is seen in full. */
[data-handoff] .lh-pin { background: linear-gradient(var(--hero-bg) 30%, var(--surface-2) 70%); }
[data-handoff] .lh-stage { background: none;
  -webkit-mask-image: linear-gradient(transparent, #000 30%, #000 58%, transparent);
  mask-image: linear-gradient(transparent, #000 30%, #000 58%, transparent); }
#join:has(+ [data-handoff]) { padding-bottom: var(--s6); }

/* Spend: the gold card turning in the light, payment alerts arriving beside it */
.lh-card { position: relative; display: grid; place-items: center; min-height: 440px; perspective: 1400px; }
.lh-card .gcard { width: min(440px, 80vw); }
.ping { position: absolute; z-index: 2; display: flex; align-items: center; gap: var(--s3); padding: var(--s2) var(--s4) var(--s2) var(--s2); border-radius: 999px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); font-size: 14px; white-space: nowrap; }
.ping .dot { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--chip); font-size: 15px; }
.ping small { display: block; font-size: 12px; color: var(--muted); }
.ping b { margin-left: var(--s2); font-variant-numeric: tabular-nums; }
.ping .pos { color: var(--ok); }
.ping1 { left: 0; top: 4%; } .ping2 { right: 0; top: 44%; } .ping3 { left: 6%; bottom: 4%; }
@media (max-width: 599px) { .ping { font-size: 13px; } .ping1 { top: 0; } .ping3 { bottom: 0; left: 0; } }

/* Cards details: the virtual card on its own now that the gold card opens the chapter */
.cards-stage.solo { min-height: 0; }
.cards-stage.solo .vcard { position: relative; right: auto; bottom: auto; width: 280px; margin: 0 auto; }

/* Where we're different: tangled lines straighten and pass through an open doorway */
.way-wrap { position: relative; margin-top: var(--s7); }
.way { width: 100%; height: clamp(220px, 30vw, 380px); }
.way path { fill: none; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.way .frame { stroke: var(--gold-text); stroke-width: 2.5; }
.way .door { stroke-width: 2; opacity: .7; }
.way .line { stroke: var(--gold-text); stroke-width: 1.4; opacity: .55; }
.way .spark { stroke: var(--gold); stroke-width: 2.6; stroke-dasharray: .035 .965; stroke-dashoffset: 1; opacity: 0; }
.way .glow { opacity: 0; transition: opacity 2s ease 1.6s; }
.in .way .glow { opacity: 1; }
.js .way .line { stroke-dasharray: 1 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.8s var(--ease); }
.js .in .way .line { stroke-dashoffset: 0; }
.js .way .line { transition-delay: calc(var(--i) * .1s); }

@media (prefers-reduced-motion: no-preference) {
  .ping { animation: pingIn 9s var(--ease) infinite; }
  .ping1 { animation-delay: -1s; } .ping2 { animation-delay: -4s; } .ping3 { animation-delay: -7s; }
  .in .way .spark { opacity: 1; animation: spark 7s linear infinite; animation-delay: calc(var(--i) * -2.7s); }
  .lh-card:not(.in) .ping { animation-play-state: paused; }
}
@media (prefers-reduced-motion: reduce) {
  .js .way .line { stroke-dashoffset: 0; }
  .way .glow { opacity: 1; }
}
@keyframes pingIn { 0% { opacity: 0; transform: translateY(10px); } 6%, 50% { opacity: 1; transform: none; } 58%, 100% { opacity: 0; transform: translateY(-6px); } }
@keyframes spark { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }

/* ---------- Open your locker: steps one below the other, sample screens in an isometric stack ---------- */
#join { overflow: clip; background: var(--hero-bg); } /* white in light mode, so the screens dissolve into the page */
.jn { display: grid; gap: var(--s6); align-items: center; }
@media (min-width: 900px) { .jn { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: var(--s7); } }
.jn .head { margin-bottom: 0; }
.jn-cta { display: flex; justify-content: center; margin: var(--s7) 0 0; }
.jsteps { position: relative; list-style: none; margin: var(--s6) 0 0; padding: 0; display: grid; gap: var(--s5); }
.jsteps::before, .jsteps::after { content: ""; position: absolute; left: 23px; top: 24px; bottom: 24px; width: 2px; border-radius: 2px; background: var(--line); }
.jsteps::after { background: var(--gold); transform-origin: top; transform: scaleY(0); }
.jstep { position: relative; padding-left: 72px; min-height: 48px; }
.jstep .n { position: absolute; left: 0; top: 0; z-index: 1; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 2px solid var(--line); font-weight: 800; }
.jstep h3 { margin: 10px 0 var(--s1); font-size: 20px; }
.jstep p { margin: 0; color: var(--muted); }

.iso-wrap { position: relative; height: 700px; }
.iso { position: absolute; left: 50%; top: 52%; width: 300px; height: 580px; margin: -290px 0 0 -150px; transform-style: preserve-3d; transform: rotateX(54deg) rotateZ(-40deg) scale(1.34); }
.iso-s { position: absolute; inset: 0; border-radius: 30px; transform: var(--at); opacity: 0;
  /* no frame: the panel's own edge softens, then dissolves into the page */
  -webkit-mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent), linear-gradient(to bottom, transparent, #000 4%, #000 96%, transparent);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent), linear-gradient(to bottom, transparent, #000 4%, #000 96%, transparent); mask-composite: intersect; }
.iso-s { --at: translate3d(0, 0, 0); }
.iso-s.s1 { opacity: 1; } /* one screen at a time; without motion, step 1 shows */
.iso .app { padding: 64px 44px 52px; gap: 12px; }
/* a softly blurred copy underneath, the sharp copy on top fading out towards the edges: the words stay sharp */
.iso-s .soft, .iso-s .sharp { position: absolute; inset: 0; }
.iso-s .soft, .iso-s .sharp { border-radius: inherit; }
.iso-s .soft { filter: blur(10px); }
.iso-s .sharp { background: #FFFFFF; } /* white like the section, so the screen itself never shows an edge */
/* buttons, cards and rows reach out into the soft edge; their words stay inset and sharp */
.iso .app-row, .iso .app-btn, .iso .mini-card, .iso .field, .iso .scan, .iso .app-bal { margin-left: -28px; margin-right: -28px; padding-left: 40px; padding-right: 40px; }
.iso-s .sharp { -webkit-mask-image: linear-gradient(to right, transparent 4%, #000 15%, #000 85%, transparent 96%), linear-gradient(to bottom, transparent 3%, #000 10%, #000 90%, transparent 97%);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(to right, transparent 4%, #000 15%, #000 85%, transparent 96%), linear-gradient(to bottom, transparent 3%, #000 10%, #000 90%, transparent 97%); mask-composite: intersect; }
.brand81 { display: flex; align-items: center; gap: 8px; font-weight: 800; }
.brand81 i { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: #F3C04E; color: #1D1606; font-style: normal; font-size: 12px; }
.app-title { margin: 8px 0 4px; font-size: 24px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.app-title small { display: block; margin-top: 6px; font-size: 13px; font-weight: 500; color: #6A604C; letter-spacing: 0; }
.field { padding: 10px 14px; border-radius: 14px; background: #fff; border: 1.5px solid #EDE4D0; font-size: 15px; font-weight: 600; }
.field small { display: block; font-size: 11px; font-weight: 500; color: #6A604C; }
.iso .app-btn { margin-top: auto; } /* every screen ends on its button */
.fine { display: grid; justify-items: center; gap: 6px; margin: 0; font-size: 11px; color: #6A604C; text-align: center; }
/* grey bars stand in for the details that don't matter here */
.app .sk { display: block; height: 8px; border-radius: 4px; background: #ECE6D8; }
.app .sk.hi { height: 10px; background: #DCD3C1; }
.app .sk.lo { height: 6px; }
.app .sk.dk { background: rgba(247, 241, 227, .25); margin-bottom: 8px; }
.app-title .sk { margin-top: 10px; }
.brand81 .sk { width: 80px !important; }
.app .sks { display: grid; gap: 6px; width: 120px; }
.app-top .av { width: 30px; height: 30px; border-radius: 50%; background: #F3C04E; }
.app-top > .sk { width: 110px !important; }
.field { display: grid; gap: 8px; padding: 12px 14px; }
.field.on { border-color: #E0A82E; }
.scan { position: relative; height: 190px; border-radius: 18px; background: #F7F3EB; display: grid; place-items: center; overflow: hidden; }
.scan::before { content: ""; position: absolute; inset: 18px; border: 2px dashed rgba(201, 149, 38, .6); border-radius: 14px; }
.idc { position: relative; width: 74%; aspect-ratio: 1.586; border-radius: 10px; background: linear-gradient(135deg, #FFFFFF, #F1E8D2); border: 1px solid #E2D7BF; box-shadow: 0 8px 18px -10px rgba(29, 22, 6, .35); }
.idc .ph { position: absolute; left: 9%; top: 18%; width: 28%; height: 58%; border-radius: 6px; background: #C9BFA8; }
.idc span:not(.ph) { position: absolute; left: 44%; height: 7px; border-radius: 4px; background: #C9BFA8; }
.idc .ln1 { top: 24%; width: 44%; } .idc .ln2 { top: 42%; width: 36%; } .idc .ln3 { top: 60%; width: 40%; }
.scan .beam { position: absolute; left: 10%; right: 10%; top: 50%; height: 2px; background: #F3C04E; box-shadow: 0 0 14px 3px rgba(243, 192, 78, .7); }
.iso .mini-card { height: 104px; }
@media (max-width: 899px) {
  .iso-wrap { order: -1; height: 380px; }
  .iso { left: 50%; transform: rotateX(54deg) rotateZ(-40deg) scale(.74); } /* fits 375px with the buttons in view */
}


/* Dark mode: the screens turn dark too, so they dissolve into the dark section the way the white ones do in light mode */
@media (prefers-color-scheme: dark) {
:root:not([data-theme="light"]) .iso-s .sharp { background: #0E0B06; }
:root:not([data-theme="light"]) .iso .app { color: #F7F1E3; }
:root:not([data-theme="light"]) .iso .app-row, .iso .field { background: #17120A; border-color: #2F2717; }
:root:not([data-theme="light"]) .iso .field.on { border-color: #C99526; }
:root:not([data-theme="light"]) .iso .app-row .dot { background: #241C10; }
:root:not([data-theme="light"]) .iso .app-row small, .iso .field small, .iso .app-title small, .iso .fine { color: #C9BFA8; }
:root:not([data-theme="light"]) .iso .app-row .pos { color: #6FD08F; }
:root:not([data-theme="light"]) .iso .app .sk { background: #2A2216; }
:root:not([data-theme="light"]) .iso .app .sk.hi { background: #3A3020; }
:root:not([data-theme="light"]) .iso .app-bal { background: #1F1810; border: 1px solid #2F2717; }
:root:not([data-theme="light"]) .iso .scan { background: #17120A; }
:root:not([data-theme="light"]) .iso .scan::before { border-color: rgba(243, 192, 78, .55); }
}
:root[data-theme="dark"] .iso-s .sharp { background: #0E0B06; }
:root[data-theme="dark"] .iso .app { color: #F7F1E3; }
:root[data-theme="dark"] .iso .app-row, .iso .field { background: #17120A; border-color: #2F2717; }
:root[data-theme="dark"] .iso .field.on { border-color: #C99526; }
:root[data-theme="dark"] .iso .app-row .dot { background: #241C10; }
:root[data-theme="dark"] .iso .app-row small, .iso .field small, .iso .app-title small, .iso .fine { color: #C9BFA8; }
:root[data-theme="dark"] .iso .app-row .pos { color: #6FD08F; }
:root[data-theme="dark"] .iso .app .sk { background: #2A2216; }
:root[data-theme="dark"] .iso .app .sk.hi { background: #3A3020; }
:root[data-theme="dark"] .iso .app-bal { background: #1F1810; border: 1px solid #2F2717; }
:root[data-theme="dark"] .iso .scan { background: #17120A; }
:root[data-theme="dark"] .iso .scan::before { border-color: rgba(243, 192, 78, .55); }

@media (prefers-reduced-motion: no-preference) {
  /* starts at step 1 when the section scrolls into view: 5 s per step, 15 s loop, screens cross-fade slowly */
  .js .jn:not(.in) .iso-s.s1 { opacity: 0; }
  .jn.in .jstep .n { animation: jnDot 15s ease infinite; }
  .jn.in .jsteps::after { animation: jnLine 15s ease infinite; }
  .jn.in .iso-s { animation: jnLift 15s linear infinite; }
  .jn.in .j2 .n, .jn.in .iso-s.s2 { animation-delay: 5s; }
  .jn.in .j3 .n, .jn.in .iso-s.s3 { animation-delay: 10s; }
  .scan .beam { animation: beam 2.4s ease-in-out infinite alternate; }
}
@keyframes jnDot { 0%, 33%, 100% { background: var(--surface); border-color: var(--line); color: var(--text); } 3%, 30% { background: var(--gold); border-color: var(--gold); color: var(--gold-ink); } }
@keyframes jnLine { 0%, 100% { transform: scaleY(0); } 30%, 33% { transform: scaleY(.5); } 63%, 92% { transform: scaleY(1); } }
@keyframes jnLift { /* each segment eases in and out; the next screen starts before this one has gone */
  0% { transform: translateZ(-24px); opacity: 0; animation-timing-function: cubic-bezier(.4, 0, .2, 1); }
  10%, 31% { transform: translateZ(0); opacity: 1; animation-timing-function: cubic-bezier(.4, 0, .2, 1); }
  41%, 100% { transform: translateZ(24px); opacity: 0; } }
@keyframes beam { from { top: 22%; } to { top: 78%; } }
