/* Tapd — site styles */
:root {
  --paper: #ffffff;
  --tint: #f3f7fa;
  --line: #e3e8ee;
  --line-strong: #c9d2dc;
  --ink: #0d1b2a;
  --slate: #5a6776;
  --faint: #8995a2;
  --blue: #1da1f2;
  --blue-ink: #0a6fae;   /* blue for text on white (AA) */
  --blue-wash: #e8f4fd;

  --display: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --body: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1120px;
  --gutter: clamp(20px, 5vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Type ---------- */
h1, h2, h3 {
  font-family: var(--display);
  font-weight: 650;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 0;
  font-variation-settings: "opsz" 96;
}
h1 { font-size: clamp(42px, 5.2vw, 66px); letter-spacing: -0.035em; }
h2 { font-size: clamp(30px, 3.6vw, 44px); }
h3 { font-size: 20px; letter-spacing: -0.015em; line-height: 1.25; font-variation-settings: "opsz" 24; }
p { margin: 0; }
.lead { font-size: clamp(18px, 1.6vw, 20px); color: var(--slate); max-width: 34em; }
.note { font-size: 14px; color: var(--faint); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 48px; padding: 0 22px;
  border-radius: 999px;
  font: 500 16px/1 var(--body);
  text-decoration: none;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  transition: background .15s ease, border-color .15s ease;
}
.btn:hover { border-color: var(--line-strong); background: var(--tint); }
.btn.primary { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn.primary:hover { background: #1c2f44; border-color: #1c2f44; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo img { height: 26px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { text-decoration: none; font-size: 15px; color: var(--slate); }
.nav-links a:hover { color: var(--ink); }
.nav-links .btn { height: 38px; padding: 0 16px; font-size: 15px; color: #fff; }
@media (max-width: 900px) { .nav-links a:not(.btn) { display: none; } }

/* ---------- Hero ---------- */
.hero { padding: clamp(56px, 8vw, 104px) 0 clamp(64px, 8vw, 112px); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.hero h1 { text-wrap: balance; }
.hero .lead { margin-top: 24px; }
.hero .btn-row { margin-top: 36px; }
.hero .fine { margin-top: 28px; font-size: 14px; color: var(--slate); }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } }

/* ---------- Wallet demo (the one moving thing) ---------- */
.tap { position: relative; background: var(--tint); border-radius: 24px; padding: 28px; display: flex; flex-direction: column; }
.tap-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.tap-merchant { font-family: var(--display); font-weight: 600; font-size: 22px; letter-spacing: -0.015em; }
.tap-amount { font-variant-numeric: tabular-nums; font-size: 22px; font-weight: 500; }
.tap-sub { font-size: 14px; color: var(--slate); margin-top: 2px; }
.wallet {
  --cw: 380px;
  position: relative; margin-top: 24px;
  height: calc(var(--cw) / 1.586 + 18px + 3 * 46px);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, #000 82%, transparent);
          mask-image: linear-gradient(to bottom, #000 82%, transparent);
}
.card {
  position: absolute; left: 0; right: 0; top: 0; margin: 0 auto;
  width: var(--cw); aspect-ratio: 1.586;
  border-radius: 16px; padding: 18px 20px; color: #fff;
  display: flex; flex-direction: column; justify-content: space-between;
  box-shadow: 0 1px 0 rgba(255,255,255,.12) inset, 0 18px 40px -22px rgba(13,27,42,.55);
  transition: transform .6s cubic-bezier(.2,.8,.2,1);
  will-change: transform;
  transform: translateY(calc(var(--cw) / 1.586 + 18px + var(--i, 0) * 46px));
  z-index: calc(1 + var(--i, 0));
}
.card.picked { transform: translateY(0); z-index: 20; box-shadow: 0 1px 0 rgba(255,255,255,.12) inset, 0 24px 48px -20px rgba(13,27,42,.6); }
.card .c-name { font-weight: 500; font-size: 15px; letter-spacing: .01em; }
.card .c-num { font-variant-numeric: tabular-nums; font-size: 14px; opacity: .8; letter-spacing: .08em; }
.card .chip { width: 34px; height: 26px; border-radius: 6px; background: linear-gradient(135deg, rgba(255,255,255,.55), rgba(255,255,255,.2)); }
[data-card="everyday"] { --c: #2b3a4a; }
[data-card="travel"]   { --c: #11466b; }
[data-card="dining"]   { --c: #7a5418; }
[data-card="grocery"]  { --c: #2f5a43; }
.card {
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(255,255,255,.16), rgba(255,255,255,0) 55%),
    linear-gradient(160deg, rgba(255,255,255,.06), rgba(0,0,0,.18)),
    var(--c);
}
.card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.card .c-top, .card .c-bot { display: flex; justify-content: space-between; align-items: center; }
.card .c-nfc { width: 20px; height: 20px; opacity: .75; }
.card .c-net { position: relative; width: 38px; height: 24px; }
.card .c-net::before, .card .c-net::after { content: ""; position: absolute; top: 0; width: 24px; height: 24px; border-radius: 50%; background: rgba(255,255,255,.28); }
.card .c-net::before { left: 0; }
.card .c-net::after { right: 0; background: rgba(255,255,255,.16); }
.tap-reason { display: flex; align-items: center; gap: 10px; margin-top: 20px; font-size: 15px; min-height: 24px; }
.tap-reason .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); flex: none; }
.tap-reason .ms { white-space: nowrap; margin-left: auto; color: var(--slate); font-variant-numeric: tabular-nums; font-size: 14px; }
.tap [data-swap] { transition: opacity .25s ease; }
.tap.swapping [data-swap] { opacity: 0; }
@media (max-width: 520px) { .wallet { --cw: calc(100vw - 2 * var(--gutter) - 40px); } .tap { padding: 20px; } }
@media (prefers-reduced-motion: reduce) { .card, .tap [data-swap] { transition: none; } }

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 10vw, 136px) 0; border-top: 1px solid var(--line); }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 64px; align-items: end; }
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; } }

/* Problem statement */
.problem { padding: clamp(72px, 9vw, 120px) 0; border-top: 1px solid var(--line); }
.problem .statement {
  font-family: var(--display); font-weight: 550; font-variation-settings: "opsz" 48;
  font-size: clamp(28px, 3.4vw, 44px); line-height: 1.18; letter-spacing: -0.022em;
  max-width: 22em; text-wrap: pretty;
}
.problem .facts { margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; max-width: 920px; }
.problem .facts p { font-size: 16px; color: var(--slate); border-left: 2px solid var(--blue); padding-left: 16px; }
.problem .facts strong { color: var(--ink); font-weight: 500; }
.problem .note { margin-top: 28px; }
@media (max-width: 760px) { .problem .facts { grid-template-columns: 1fr; gap: 20px; } }

/* How it works: steps + worked example */
.how { margin-top: 64px; display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 36px 1fr; gap: 0 12px; padding: 20px 0; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps li::before { content: counter(step); font-family: var(--display); font-weight: 600; font-size: 17px; color: var(--blue-ink); line-height: 1.5; }
.steps h3 { margin-bottom: 4px; font-size: 19px; }
.steps p { color: var(--slate); font-size: 16px; }

.example { background: var(--tint); border-radius: 20px; padding: clamp(20px, 3vw, 32px); }
.example-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-bottom: 16px; }
.example-head .what { font-family: var(--display); font-weight: 600; font-size: 20px; letter-spacing: -0.015em; }
.example-head .sub { font-size: 14px; color: var(--slate); }
.example-head .amt { font-size: 20px; font-weight: 500; font-variant-numeric: tabular-nums; }
.score-wrap { border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: var(--paper); }
.score { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
.score th { text-align: left; font-weight: 500; font-size: 13px; color: var(--slate); padding: 12px; border-bottom: 1px solid var(--line-strong); background: var(--paper); }
.score td { padding: 14px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.score th { white-space: nowrap; }
.score tr:last-child td { border-bottom: 0; }
.score td:first-child { font-weight: 500; white-space: nowrap; }
.score .r { text-align: right; }
.score .sub { display: block; font-size: 13px; color: var(--slate); font-weight: 400; margin-top: 2px; }
.score-wrap { overflow-x: auto; }
.score .swatch { display: inline-block; width: 22px; height: 14px; border-radius: 3px; vertical-align: -2px; margin-right: 10px; background: linear-gradient(160deg, rgba(255,255,255,.18), rgba(0,0,0,.15)), var(--c); }
.score tr.win td { background: var(--blue-wash); }
.score tr.win td:first-child { box-shadow: inset 3px 0 0 var(--blue); }
.score .pick { color: var(--blue-ink); font-weight: 500; }
.score .dim { color: var(--faint); }
.example .note { margin-top: 16px; }
@media (max-width: 960px) { .how { grid-template-columns: 1fr; } }
.how > * { min-width: 0; }
@media (max-width: 600px) { .score .hide-sm { display: none; } .score th, .score td { padding: 12px 10px; } .score .swatch { display: none; } .score td { white-space: normal; } }

/* Results: habit vs Tapd bars */
.results { margin-top: 64px; }
.result { display: grid; grid-template-columns: minmax(200px, .9fr) 2fr; gap: 16px 48px; align-items: center; padding: 28px 0; border-top: 1px solid var(--line); }
.result:last-of-type { border-bottom: 1px solid var(--line); }
.result h3 { font-size: 19px; }
.result .desc { color: var(--slate); font-size: 15px; margin-top: 4px; }
.bars { display: grid; gap: 10px; }
.bar { display: grid; grid-template-columns: 112px 1fr 64px; align-items: center; gap: 14px; font-size: 14px; }
.bar .who { color: var(--slate); }
.bar .track { height: 12px; background: var(--tint); border-radius: 999px; overflow: hidden; }
.bar .fill { height: 100%; border-radius: 999px; background: var(--line-strong); }
.bar.tapd .fill { background: var(--blue); }
.bar.tapd .who, .bar.tapd .val { color: var(--ink); font-weight: 500; }
.bar .val { text-align: right; font-variant-numeric: tabular-nums; color: var(--slate); }
.results .note { margin-top: 20px; }
@media (max-width: 760px) { .result { grid-template-columns: 1fr; } .bar { grid-template-columns: 92px 1fr 52px; } }

/* Spec rows (layers) */
.spec { margin-top: 64px; }
.spec-row { display: grid; grid-template-columns: 200px 1fr 200px; gap: 16px 48px; padding: 32px 0; border-top: 1px solid var(--line); align-items: baseline; }
.spec-row:last-child { border-bottom: 1px solid var(--line); }
.spec-row .name { font-family: var(--display); font-weight: 650; font-size: 34px; letter-spacing: -0.03em; line-height: 1; }
.spec-row .role { font-size: 15px; color: var(--slate); margin-top: 10px; }
.spec-row p { color: var(--slate); max-width: 36em; }
.spec-row .status { font-size: 15px; justify-self: end; text-align: right; }
.status .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 8px; vertical-align: 1px; background: var(--blue); }
.status.later .dot { background: transparent; border: 1.5px solid var(--faint); }
.status.later { color: var(--slate); }
@media (max-width: 860px) { .spec-row { grid-template-columns: 1fr; gap: 10px; } .spec-row .status { justify-self: start; text-align: left; } }

/* Landscape table */
.compare-wrap { margin-top: 64px; overflow-x: auto; }
.compare { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 16px; }
.compare th { text-align: left; font-weight: 500; font-size: 14px; color: var(--slate); padding: 0 16px 14px; border-bottom: 1px solid var(--line-strong); }
.compare td { padding: 18px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare td:first-child { font-weight: 500; white-space: nowrap; }
.compare td.gap { color: var(--slate); }
.compare tr.us td { background: var(--blue-wash); border-bottom: 0; }
.compare tr.us td:first-child { color: var(--blue-ink); border-radius: 10px 0 0 10px; }
.compare tr.us td:last-child { border-radius: 0 10px 10px 0; color: var(--ink); }
@media (max-width: 700px) { .compare .hide-sm { display: none; } .compare { font-size: 15px; } .compare th, .compare td { padding-left: 10px; padding-right: 10px; } }

/* Roadmap timeline */
.timeline { list-style: none; margin: 64px 0 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); position: relative; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 2px; background: linear-gradient(to right, var(--ink) 0 var(--done), var(--line) var(--done) 100%); }
.timeline li { position: relative; padding: 36px 20px 0 0; }
.timeline li::before { content: ""; position: absolute; top: 0; left: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--paper); border: 2px solid var(--line-strong); }
.timeline li.done::before { background: var(--ink); border-color: var(--ink); }
.timeline .when { font-size: 14px; color: var(--slate); font-variant-numeric: tabular-nums; }
.timeline li.done .when { color: var(--ink); font-weight: 500; }
.timeline h3 { font-size: 17px; margin-top: 6px; line-height: 1.3; }
.timeline p { font-size: 14px; color: var(--slate); margin-top: 6px; }
@media (max-width: 960px) {
  .timeline { grid-template-columns: 1fr; padding-left: 36px; }
  .timeline::before { left: 7px; right: auto; top: 8px; bottom: 8px; width: 2px; height: auto; background: linear-gradient(to bottom, var(--ink) 0 var(--done), var(--line) var(--done) 100%); }
  .timeline li { padding: 0 0 28px; }
  .timeline li::before { left: -36px; top: 3px; }
}

/* Team */
.team { margin-top: 64px; display: grid; grid-template-columns: 1fr 1fr; gap: 48px 64px; }
.person { border-top: 2px solid var(--ink); padding-top: 24px; }
.person h3 { font-size: 26px; letter-spacing: -0.025em; }
.person .role { color: var(--slate); font-size: 15px; margin-top: 6px; }
.person p.bio { margin-top: 18px; color: var(--slate); max-width: 30em; }
.person a { display: inline-block; margin-top: 18px; font-size: 15px; color: var(--blue-ink); text-decoration: none; }
.person a:hover { text-decoration: underline; }
.counsel { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); display: grid; grid-template-columns: auto 1fr; gap: 10px 32px; font-size: 15px; }
.counsel .k { color: var(--slate); }
@media (max-width: 760px) { .team { grid-template-columns: 1fr; } }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 64px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; font-weight: 500; font-size: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 10px; height: 10px; border-right: 1.5px solid var(--slate); border-bottom: 1.5px solid var(--slate); transform: rotate(45deg) translateY(-3px); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq .a { padding: 0 0 24px; color: var(--slate); max-width: 40em; }
.faq .a p + p { margin-top: 12px; }
.faq .a a { color: var(--blue-ink); }
.faq-grid .lead { margin-top: 16px; }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; gap: 32px; } }

/* Closing + footer */
.closing { background: var(--ink); color: #fff; padding: clamp(80px, 10vw, 128px) 0 40px; }
.closing h2 { font-size: clamp(36px, 5vw, 64px); letter-spacing: -0.035em; max-width: 12em; }
.closing .lead { color: #b8c3cf; margin-top: 20px; }
.closing .btn-row { margin-top: 36px; }
.closing .btn { border-color: rgba(255,255,255,.22); background: transparent; color: #fff; }
.closing .btn:hover { background: rgba(255,255,255,.08); }
.closing .btn.primary { background: #fff; color: var(--ink); border-color: #fff; }
.closing .btn.primary:hover { background: #e6edf3; }
.foot { margin-top: clamp(80px, 10vw, 120px); padding-top: 32px; border-top: 1px solid rgba(255,255,255,.14); display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; font-size: 15px; }
.foot .col-h { color: #8ea0b3; margin-bottom: 12px; font-size: 14px; }
.foot a { display: block; color: #dbe3ea; text-decoration: none; padding: 3px 0; }
.foot a:hover { color: #fff; }
.foot .logo img { height: 24px; filter: brightness(0) invert(1); }
.foot .legal { color: #8ea0b3; font-size: 14px; margin-top: 16px; }
@media (max-width: 760px) { .foot { grid-template-columns: 1fr 1fr; } .foot > :first-child { grid-column: 1 / -1; } }

/* Simple footer (deck, 404) */
.footer { padding: 40px 0 56px; font-size: 14px; color: var(--slate); border-top: 1px solid var(--line); }
.footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.footer a { color: var(--slate); text-decoration: none; }
.footer a:hover { color: var(--ink); }

/* ---------- Deck page ---------- */
.deck-page { padding: clamp(48px, 7vw, 88px) 0 96px; }
.deck-page .lead { margin-top: 16px; }
.deck-page .btn-row { margin-top: 28px; }
.deck-frame { margin-top: 40px; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 9; background: #151515; }
.deck-frame { position: relative; }
.deck-frame iframe { position: absolute; top: 0; left: 0; width: 1920px; height: 1080px; border: 0; display: block; transform: scale(var(--s, .55)); transform-origin: 0 0; }
@media (max-width: 760px) { .deck-frame { display: none; } }

/* ---------- Interactive demo ---------- */
.demo-top h3 { font-size: 22px; }
.demo-sub { color: var(--slate); font-size: 15px; margin-top: 4px; }
.demo-picks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 20px; }
.demo-picks button {
  display: flex; flex-direction: column; align-items: flex-start; gap: 2px;
  padding: 10px 14px; border-radius: 12px; cursor: pointer; text-align: left;
  font: 500 14px/1.3 var(--body); color: var(--ink);
  background: var(--paper); border: 1px solid var(--line);
  transition: border-color .15s ease, background .15s ease, color .15s ease;
}
.demo-picks button span { font-weight: 400; font-size: 13px; color: var(--slate); font-variant-numeric: tabular-nums; }
.demo-picks button:hover { border-color: var(--line-strong); }
.demo-picks button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.demo-picks button[aria-pressed="true"] span { color: #b8c3cf; }
.demo-toggle { display: flex; align-items: center; gap: 10px; margin: 16px 0; font-size: 14px; color: var(--slate); cursor: pointer; user-select: none; }
.demo-toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.demo-toggle .switch { flex: none; width: 34px; height: 20px; border-radius: 999px; background: var(--line-strong); position: relative; transition: background .2s ease; }
.demo-toggle .switch::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(13,27,42,.25); transition: transform .2s ease; }
.demo-toggle input:checked + .switch { background: var(--blue); }
.demo-toggle input:checked + .switch::after { transform: translateX(14px); }
.demo-toggle input:focus-visible + .switch { outline: 2px solid var(--blue); outline-offset: 2px; }
.demo .score td { transition: background .25s ease; }
.demo .score td:nth-child(2) { white-space: normal; }
.demo-verdict { margin-top: 16px; font-size: 16px; padding-left: 14px; border-left: 3px solid var(--blue); }
.demo-verdict strong { font-weight: 500; }
.demo .note { margin-top: 12px; }
@media (max-width: 600px) { .demo-picks { grid-template-columns: 1fr 1fr; } }
@media (prefers-reduced-motion: reduce) { .demo .score td, .demo-toggle .switch, .demo-toggle .switch::after { transition: none; } }

/* ---------- Offers board ---------- */
.offers { margin-top: 56px; }
.offers-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding: 20px 24px; border-radius: 16px; background: var(--tint); }
.offers-count { font-size: 18px; }
.offers-count strong { font-weight: 600; font-variant-numeric: tabular-nums; color: #b4232a; transition: color .3s ease; }
.offers.all-tracked .offers-count strong { color: var(--blue-ink); }
.offers-bar .btn { height: 42px; font-size: 15px; cursor: pointer; }
.offer-grid { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.offer {
  position: relative; width: 100%; height: 100%; min-height: 168px;
  display: flex; flex-direction: column; gap: 10px; text-align: left; cursor: pointer;
  padding: 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--paper);
  font: 400 14px/1.4 var(--body); color: var(--ink);
  transition: border-color .15s ease, background .2s ease, opacity .2s ease;
}
.offer:hover { border-color: var(--line-strong); }
.offer .o-card { font-size: 13px; color: var(--slate); display: flex; align-items: center; padding-right: 26px; }
.offer .swatch { display: inline-block; width: 16px; height: 10px; border-radius: 2px; margin-right: 8px; background: var(--c); }
.offer .o-what { font-weight: 500; font-size: 15px; flex: 1; }
.offer .o-foot { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-size: 13px; }
.offer .o-when { color: #b4232a; }
.offer .o-worth { font-weight: 500; font-variant-numeric: tabular-nums; }
.offer .o-state { position: absolute; top: 14px; right: 14px; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--line-strong); }
.offer[aria-pressed="true"] { background: var(--blue-wash); border-color: #b9dcf5; }
.offer[aria-pressed="true"] .o-when { color: var(--slate); }
.offer[aria-pressed="true"] .o-state { background: var(--blue); border-color: var(--blue); }
.offer[aria-pressed="true"] .o-state::after { content: ""; position: absolute; left: 5px; top: 2px; width: 4px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.offers .note { margin-top: 16px; }
@media (max-width: 1060px) { .offer-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .offer-grid { grid-template-columns: 1fr 1fr; } .offer { min-height: 150px; padding: 14px; } .offers-bar { padding: 16px; } }
@media (prefers-reduced-motion: reduce) { .offer, .offers-count strong { transition: none; } }
@media (max-width: 760px) { .deck-hint { display: none; } }

/* ---------- Wide statement headings ---------- */
h2.wide { font-size: clamp(32px, 4.4vw, 56px); letter-spacing: -0.032em; max-width: 16em; text-wrap: balance; }

/* ---------- Under the hood (dark band) ---------- */
.hood { background: var(--ink); color: #fff; padding: clamp(80px, 10vw, 136px) 0; }
.hood .lead { color: #b8c3cf; }
.flow { list-style: none; margin: 64px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; counter-reset: f; }
.flow li { position: relative; counter-increment: f; padding: 20px; border-radius: 14px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); display: flex; flex-direction: column; gap: 6px; }
.flow li::before { content: counter(f); font-family: var(--display); font-weight: 600; font-size: 15px; color: #8ea0b3; }
.flow li:not(:last-child)::after { content: ""; position: absolute; right: -11px; top: 50%; width: 10px; height: 2px; background: rgba(255,255,255,.25); }
.flow .f-k { font-family: var(--display); font-weight: 600; font-size: 19px; letter-spacing: -0.015em; }
.flow .f-d { font-size: 15px; color: #b8c3cf; }
.flow li.hot { background: rgba(29,161,242,.12); border-color: rgba(29,161,242,.5); }
.flow li.hot::before { color: var(--blue); }
.budget { margin-top: 28px; }
.b-track { position: relative; height: 6px; border-radius: 999px; background: rgba(255,255,255,.12); }
.b-stop { position: absolute; left: 22%; width: 40%; top: 0; bottom: 0; border-radius: 999px; background: var(--blue); }
.b-scale { display: flex; justify-content: space-between; margin-top: 10px; font-size: 14px; color: #8ea0b3; font-variant-numeric: tabular-nums; }
.b-scale span:nth-child(2) { color: #d6e9f8; }
.layers { margin-top: 72px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.layer { border-top: 1px solid rgba(255,255,255,.18); padding-top: 24px; }
.layer .l-name { font-family: var(--display); font-weight: 650; font-size: 34px; letter-spacing: -0.03em; line-height: 1; }
.layer .l-role { color: #8ea0b3; font-size: 15px; margin-top: 8px; }
.layer p { color: #b8c3cf; font-size: 16px; margin-top: 14px; }
.layer .status { margin-top: 18px; font-size: 15px; color: #fff; }
.hood .status.later { color: #8ea0b3; }
.hood .status.later .dot { border-color: #8ea0b3; }
@media (max-width: 960px) {
  .flow { grid-template-columns: 1fr 1fr; }
  .flow li:nth-child(2)::after { display: none; }
  .layers { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 560px) {
  .flow { grid-template-columns: 1fr; }
  .flow li::after { display: none; }
  .b-scale span:nth-child(2) { display: none; }
}

/* ---------- Both sides ---------- */
.sides { margin-top: 56px; display: grid; grid-template-columns: 1fr 1fr; gap: 48px 64px; }
.side h3 { font-size: 22px; padding-bottom: 16px; border-bottom: 2px solid var(--ink); }
.side ul { list-style: none; margin: 0; padding: 0; }
.side li { padding: 18px 0; border-bottom: 1px solid var(--line); color: var(--slate); }
.side li strong { color: var(--ink); font-weight: 500; }
@media (max-width: 800px) { .sides { grid-template-columns: 1fr; } }

/* section that follows the dark band needs no top rule */
.hood + .section { border-top: 0; }

/* ---------- Contact emails ---------- */
.contact-cards { margin-top: 36px; display: grid; grid-template-columns: 1fr; gap: 12px; max-width: 420px; }
.contact-card { padding: 18px 20px; border-radius: 14px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); }
.cc-who { font-size: 14px; color: #8ea0b3; margin-bottom: 6px; }
.copy-email { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.copy-email > span { user-select: all; }
.copy-btn { font: 500 12px/1 var(--body); padding: 6px 10px; border-radius: 999px; cursor: pointer; border: 1px solid var(--line); background: var(--paper); color: var(--slate); }
.copy-btn:hover { color: var(--ink); border-color: var(--line-strong); }
.closing .copy-email { font-size: 17px; color: #fff; }
.closing .copy-btn { background: transparent; border-color: rgba(255,255,255,.22); color: #b8c3cf; }
.closing .copy-btn:hover { color: #fff; }
.person .copy-email { margin-top: 18px; font-size: 15px; color: var(--blue-ink); }
@media (max-width: 640px) { .contact-cards { grid-template-columns: 1fr; } }

/* ---------- Contact form (dark closing band) ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px 80px; align-items: start; }
.contact-grid h2 { max-width: 10em; }
.contact-form { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12); border-radius: 20px; padding: clamp(20px, 3vw, 32px); display: grid; gap: 16px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { font-size: 14px; color: #b8c3cf; }
.field .opt { color: #8ea0b3; }
.field input, .field select, .field textarea {
  font: 400 16px/1.4 var(--body); color: #fff; width: 100%; box-sizing: border-box;
  background-color: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16); border-radius: 10px; padding: 12px 14px;
  transition: border-color .15s ease, background-color .15s ease;
}
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, #b8c3cf 50%), linear-gradient(135deg, #b8c3cf 50%, transparent 50%);
  background-position: calc(100% - 20px) 52%, calc(100% - 15px) 52%; background-size: 5px 5px; background-repeat: no-repeat; }
.field select option { color: var(--ink); }
.field textarea { resize: vertical; min-height: 88px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); background-color: rgba(255,255,255,.09); }
.contact-form.tried input:invalid { border-color: #ef5350; }
.contact-form .btn { justify-self: start; cursor: pointer; }
.contact-form .btn:disabled { opacity: .6; cursor: default; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-status { font-size: 15px; min-height: 1.4em; }
.form-status.ok { color: #9fd6fb; }
.form-status.err { color: #ff7a6b; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }

/* ---------- Legal pages ---------- */
.legal-page { padding: clamp(48px, 7vw, 88px) 0 96px; }
.legal-page .wrap { max-width: 760px; }
.legal-page h1 { font-size: clamp(38px, 5vw, 56px); }
.legal-page .updated { color: var(--slate); font-size: 15px; margin: 12px 0 36px; }
.legal-page h2 { font-size: 24px; margin: 40px 0 12px; letter-spacing: -0.02em; }
.legal-page p, .legal-page li { color: #2f3d4c; }
.legal-page p + p { margin-top: 12px; }
.legal-page ul { padding-left: 20px; margin: 12px 0; }
.legal-page li + li { margin-top: 6px; }
.legal-page a { color: var(--blue-ink); }
.foot .legal a.inline { display: inline; color: #8ea0b3; padding: 0; text-decoration: underline; text-underline-offset: 3px; }
.foot .legal a.inline:hover { color: #fff; }
.form-note { font-size: 13px; color: #8ea0b3; margin-top: -8px; }
.form-note a { color: #b8c3cf; }

/* ---------- Deck slide viewer ---------- */
.sv { margin-top: 40px; }
.sv-stage { border-radius: 18px; overflow: hidden; background: #151515; border: 1px solid var(--line); aspect-ratio: 16 / 9; }
.sv-img { display: block; width: 100%; height: 100%; object-fit: contain; cursor: pointer; user-select: none; -webkit-user-drag: none; }
.sv-bar { display: flex; justify-content: center; align-items: center; gap: 16px; margin-top: 16px; }
.sv-bar button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); color: var(--ink); font-size: 18px; cursor: pointer; transition: background .15s ease, border-color .15s ease; }
.sv-bar button:hover:not(:disabled) { background: var(--tint); border-color: var(--line-strong); }
.sv-bar button:disabled { opacity: .35; cursor: default; }
.sv-count { font-variant-numeric: tabular-nums; font-size: 15px; color: var(--slate); min-width: 60px; text-align: center; }
@media (max-width: 760px) { .sv-stage { border-radius: 12px; } }

/* ---------- Content pages (company, security, press, guides) ---------- */
.eyebrow { font-size: 14px; font-weight: 500; color: var(--blue-ink); letter-spacing: .02em; margin-bottom: 14px; }
.eyebrow a { color: inherit; text-decoration: none; }
.eyebrow a:hover { text-decoration: underline; }
.legal-page .page-lead { margin-top: 20px; max-width: none; }
.legal-page .updated + .page-lead { margin-top: 0; }
.legal-page h3.sub-h { font-size: 18px; margin: 28px 0 8px; }
.beliefs { list-style: none; padding: 0 !important; margin: 16px 0 0 !important; }
.beliefs li { padding: 16px 0; border-top: 1px solid var(--line); margin: 0 !important; }
.beliefs li:last-child { border-bottom: 1px solid var(--line); }
.beliefs strong { color: var(--ink); font-weight: 500; }
.legal-page .team { margin-top: 20px; gap: 32px 48px; }
.legal-page .person h3 { font-size: 22px; }
.bio-mail { margin-top: 12px !important; font-size: 15px; }
.bio-mail a { text-decoration: none; }
.facts-list { display: grid; grid-template-columns: 160px 1fr; margin: 16px 0 0; border-top: 1px solid var(--line); }
.facts-list dt, .facts-list dd { margin: 0; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.facts-list dt { color: var(--slate); }
.facts-list dd { color: var(--ink); }
.page-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 48px; }
.boiler { background: var(--tint); border-radius: 16px; padding: 24px; }
.boiler p { color: var(--ink) !important; }
.assets { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 20px; }
.asset { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; text-decoration: none; color: var(--ink) !important; transition: border-color .15s ease; }
.asset:hover { border-color: var(--line-strong); }
.asset-art { display: flex; align-items: center; justify-content: center; height: 140px; background: var(--tint); }
.asset-art.dark { background: var(--ink); }
.asset-art img { height: 44px; width: auto; }
.asset-art.photo { padding: 0; }
.asset-art.photo img { height: 100%; width: 100%; object-fit: cover; }
.asset-name { display: flex; justify-content: space-between; gap: 8px; padding: 12px 16px; font-size: 15px; font-weight: 500; }
.asset-name span { font-weight: 400; color: var(--slate); font-size: 14px; }
.guide-list { list-style: none; padding: 0 !important; margin: 32px 0 0 !important; }
.guide-list li { margin: 0 !important; border-top: 1px solid var(--line); }
.guide-list li:last-child { border-bottom: 1px solid var(--line); }
.guide-list a { display: block; padding: 24px 0; text-decoration: none; color: var(--ink) !important; }
.guide-list .g-title { display: block; font-family: var(--display); font-weight: 600; font-size: 22px; letter-spacing: -0.015em; line-height: 1.25; }
.guide-list a:hover .g-title { color: var(--blue-ink); }
.guide-list .g-desc { display: block; margin-top: 6px; color: var(--slate); }
.article-end { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line); }
.article-end .page-cta { margin-top: 20px; }
.article-end .note { margin-top: 24px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.nav-links a[aria-current="page"] { color: var(--ink); }
@media (max-width: 600px) { .facts-list { grid-template-columns: 1fr; } .facts-list dt { border-bottom: 0; padding-bottom: 0; } .assets { grid-template-columns: 1fr; } .legal-page .team { grid-template-columns: 1fr; } }

/* ---------- Home additions ---------- */
.hood-more { margin-top: 48px; }
.hood-more a { color: #9fd6fb; text-decoration: none; font-weight: 500; }
.hood-more a:hover { color: #fff; }
.hood .section-head h2 { color: #fff; }
.inline-link { color: var(--blue-ink); text-decoration: none; }
.inline-link:hover { text-decoration: underline; }

/* ---------- Guides ---------- */
.guide-topic { font-size: 15px !important; font-family: var(--body) !important; font-weight: 500; color: var(--slate); letter-spacing: .02em; margin: 48px 0 0 !important; }
.guide-topic + .guide-list { margin-top: 12px !important; }
.callout { margin: 24px 0; padding: 18px 20px; border-radius: 12px; background: var(--blue-wash); border-left: 3px solid var(--blue); color: var(--ink); }
.callout strong { font-weight: 500; }
.related { margin-top: 56px; }
.related h2 { font-size: 20px !important; margin: 0 0 8px !important; }
.related ul { list-style: none; padding: 0 !important; margin: 0 !important; }
.related li { margin: 0 !important; border-top: 1px solid var(--line); }
.related li:last-child { border-bottom: 1px solid var(--line); }
.related a { display: block; padding: 14px 0; text-decoration: none; color: var(--ink) !important; font-weight: 500; }
.related a:hover { color: var(--blue-ink) !important; }
.sources { margin-top: 48px; padding: 20px 24px; border-radius: 14px; background: var(--tint); }
.sources h2 { font-size: 16px !important; font-family: var(--body) !important; font-weight: 500; color: var(--slate); margin: 0 0 8px !important; letter-spacing: .01em; }
.sources ul { list-style: none; padding: 0 !important; margin: 0 !important; }
.sources li { margin: 0 !important; padding: 8px 0; font-size: 15px; }
.sources li + li { border-top: 1px solid var(--line); }
.sources li span { display: block; font-size: 13px; color: var(--slate); margin-top: 2px; }
