/* ═══════════════════════════════════════════════════════════════════
   CardMe — marketing site
   Black + brushed titanium, lifted straight from the app icon and the
   in-app panel surfaces. Dark-only by design: the product's identity is
   a dark one, and a half-hearted light mode would weaken it.
   ═══════════════════════════════════════════════════════════════════ */

:root {
  /* Ground */
  --bg:        #000000;
  --bg-1:      #08080A;
  --bg-2:      #0E0E11;
  --surface:   rgba(255,255,255,.045);
  --surface-2: rgba(255,255,255,.07);
  --line:      rgba(255,255,255,.10);
  --line-soft: rgba(255,255,255,.06);

  /* Ink */
  --ink:       #F5F5F7;
  --ink-2:     #A8A8B0;
  --ink-3:     #6E6E78;

  /* Brand — the navy multiplier capsule from BenefitsSection */
  --navy:      #1A2A6B;
  --navy-lift: #2A3F94;

  /* Category colours — Apple's dark-mode system palette, as in Insights */
  --cat-dining:  #FF9F0A;
  --cat-grocery: #30D158;
  --cat-travel:  #0A84FF;
  --cat-other:   #7D7D86;

  /* Brushed titanium, matching the icon's wordmark.
     The dark stops are deliberately no darker than ~#93 — the icon can go
     further because it sits on a 1024px canvas, but at headline size a stop
     that dark lands mid-word and drops that word below readable contrast. */
  --metal: linear-gradient(115deg,
    #FFFFFF 0%, #D2D2D8 12%, #96969E 26%, #F4F4F7 40%,
    #ADADB5 54%, #EDEDF0 68%, #9B9BA3 82%, #E0E0E6 100%);

  --radius:   18px;
  --radius-l: 26px;
  --wrap:     1180px;
  --ease:     cubic-bezier(.22,.61,.36,1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
               "Segoe UI", Inter, Roboto, system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: #000; padding: 10px 16px; border-radius: 0 0 10px 0;
}
.skip:focus { left: 0; }

:focus-visible { outline: 2px solid #6E8BFF; outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }
.wrap--narrow { max-width: 780px; }

/* ── Type ───────────────────────────────────────────────────────── */

.h1 {
  font-size: clamp(2.6rem, 7.2vw, 4.6rem);
  line-height: 1.03;
  letter-spacing: -0.04em;
  font-weight: 700;
  margin: 0 0 22px;
}

.h2 {
  font-size: clamp(1.85rem, 4.3vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.032em;
  font-weight: 700;
  margin: 0 0 18px;
}

.lede {
  font-size: clamp(1.02rem, 2.1vw, 1.22rem);
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0 0 34px;
  max-width: 30em;
}
.lede em { color: var(--ink); font-style: italic; }

.body { color: var(--ink-2); margin: 0 0 26px; max-width: 34em; font-size: 1.02rem; }
.body--center { margin-inline: auto; text-align: center; }

.kicker {
  font-size: .76rem; font-weight: 640; letter-spacing: .16em;
  text-transform: uppercase; color: var(--ink-3);
  margin: 0 0 14px;
}

.metal {
  background: var(--metal);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  /* Safari drops the gradient on a text-shadow; a filter keeps the sheen. */
  filter: drop-shadow(0 1px 10px rgba(255,255,255,.13));
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: .82rem; font-weight: 550; color: var(--ink-2);
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 7px 15px 7px 12px;
  border-radius: 100px;
  margin: 0 0 26px;
  backdrop-filter: blur(12px);
}
.eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #30D158;
  box-shadow: 0 0 0 3px rgba(48,209,88,.18);
  animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 3px rgba(48,209,88,.18); }
  50%     { box-shadow: 0 0 0 6px rgba(48,209,88,.04); }
}

/* ── Buttons ────────────────────────────────────────────────────── */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px;
  border-radius: 100px;
  font-size: .95rem; font-weight: 600;
  background: var(--ink); color: #000;
  border: 1px solid transparent;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(255,255,255,.16); }
.btn:active { transform: translateY(0); }

.btn--sm { padding: 9px 18px; font-size: .875rem; }

.btn--ghost {
  background: var(--surface); color: var(--ink);
  border-color: var(--line);
  backdrop-filter: blur(12px);
}
.btn--ghost:hover { background: var(--surface-2); box-shadow: 0 10px 30px rgba(0,0,0,.5); }

.btn--full { width: 100%; }

.appstore {
  display: inline-flex; align-items: center; gap: 11px;
  padding: 11px 22px 11px 18px;
  border-radius: 14px;
  background: var(--ink); color: #000;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.appstore:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(255,255,255,.18); }
.appstore span { display: flex; flex-direction: column; line-height: 1.12; text-align: left; }
.appstore small { font-size: .66rem; letter-spacing: .01em; opacity: .72; }
.appstore strong { font-size: 1.16rem; font-weight: 620; letter-spacing: -.02em; }
.appstore--lg { padding: 14px 28px 14px 22px; }
.appstore--lg strong { font-size: 1.32rem; }

/* ── Nav ────────────────────────────────────────────────────────── */

.nav {
  position: sticky; top: 0; z-index: 100;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.nav.is-stuck {
  background: rgba(6,6,8,.72);
  backdrop-filter: saturate(180%) blur(22px);
  -webkit-backdrop-filter: saturate(180%) blur(22px);
  border-bottom-color: var(--line-soft);
}
.nav__inner {
  display: flex; align-items: center; gap: 20px;
  height: 68px;
}

.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand__mark {
  border-radius: 8px;
  box-shadow: 0 0 0 1px var(--line), 0 4px 14px rgba(0,0,0,.6);
}
.brand__word { font-size: 1.16rem; font-weight: 750; letter-spacing: -.03em; }

.nav__links {
  display: flex; gap: 4px;
  margin-left: auto;
}
.nav__links a {
  padding: 8px 14px; border-radius: 100px;
  font-size: .9rem; font-weight: 500; color: var(--ink-2);
  transition: color .2s, background .2s;
}
.nav__links a:hover { color: var(--ink); background: var(--surface); }

.nav__burger {
  display: none;
  margin-left: auto;
  width: 40px; height: 40px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 11px; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav__burger span {
  display: block; width: 16px; height: 1.6px; background: var(--ink);
  border-radius: 2px; transition: transform .25s var(--ease), opacity .2s;
}
.nav__burger[aria-expanded="true"] span:first-child { transform: translateY(3.3px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child  { transform: translateY(-3.3px) rotate(-45deg); }

.nav__mobile {
  display: none;
  flex-direction: column; gap: 2px;
  padding: 10px 24px 22px;
  background: rgba(6,6,8,.94);
  backdrop-filter: blur(22px);
  border-bottom: 1px solid var(--line-soft);
}
.nav__mobile a { padding: 13px 4px; font-size: 1.02rem; font-weight: 500; color: var(--ink-2); }
.nav__mobile a:hover { color: var(--ink); }
.nav__mobile .btn { margin-top: 12px; color: #000; }

/* ── Hero ───────────────────────────────────────────────────────── */

.hero { position: relative; padding: clamp(48px, 8vw, 86px) 0 clamp(56px, 7vw, 80px); overflow: hidden; }

.hero__glow {
  position: absolute; inset: -30% -10% auto -10%; height: 780px;
  background:
    radial-gradient(60% 55% at 22% 18%, rgba(120,140,255,.16), transparent 70%),
    radial-gradient(48% 48% at 82% 8%,  rgba(255,255,255,.10), transparent 70%),
    radial-gradient(70% 50% at 50% 0%,  rgba(26,42,107,.36),  transparent 72%);
  filter: blur(24px);
  pointer-events: none;
}
.hero__grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: radial-gradient(70% 55% at 50% 30%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(70% 55% at 50% 30%, #000 30%, transparent 100%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(32px, 5vw, 68px);
  align-items: center;
}

.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-bottom: 34px; }

.hero__facts {
  display: flex; flex-wrap: wrap; gap: 10px 26px;
  list-style: none; margin: 0; padding: 0;
  font-size: .88rem; color: var(--ink-3);
}
.hero__facts li { display: flex; align-items: center; gap: 7px; }
.hero__facts li::before {
  content: ""; width: 4px; height: 4px; border-radius: 50%;
  background: var(--ink-3);
}
.hero__facts b { color: var(--ink-2); font-weight: 600; }

.hero__device { display: flex; justify-content: center; }

/* ── Phone ──────────────────────────────────────────────────────── */

.phone { width: min(300px, 78vw); }
.phone__frame {
  position: relative;
  border-radius: 46px;
  padding: 9px;
  /* Titanium rail, brightest where light would catch the edge */
  background: linear-gradient(150deg, #6B6B73, #17171A 26%, #4A4A52 50%, #101013 74%, #5E5E66);
  box-shadow:
    0 0 0 1px rgba(255,255,255,.08),
    0 40px 80px -20px rgba(0,0,0,.9),
    0 0 90px -20px rgba(120,140,255,.22);
}
.phone__screen {
  position: relative;
  border-radius: 38px;
  overflow: hidden;
  background: var(--bg-1);
  aspect-ratio: 9 / 19.5;
  display: flex; flex-direction: column;
}
.island {
  position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
  width: 82px; height: 24px; border-radius: 100px;
  background: #000; z-index: 5;
}

/* Map */
.map {
  position: relative; flex: 1 1 auto; min-height: 0;
  background: #1A1A20;
  overflow: hidden;
}
.map__block {
  position: absolute; top: 50%; left: 50%;
  width: var(--w); height: var(--h);
  transform: translate(-50%, -50%) translate(var(--x), var(--y));
  background: rgba(255,255,255,.07);
  border-radius: 4px;
}
/* Roads sit lighter than the blocks — on a panel this small that contrast is
   the only thing that reads as "streets" rather than "rectangles". */
.map__road {
  position: absolute; top: 50%; left: 50%;
  width: 460px; border-radius: 100px;
  background: rgba(255,255,255,.14);
}
.map__road--a { height: 22px; transform: translate(-50%,-50%) translate(-10px, 6px)  rotate(-28deg); }
.map__road--b { height: 17px; transform: translate(-50%,-50%) translate(34px, -4px)  rotate(62deg); }
.map__road--c { height: 7px;  transform: translate(-50%,-50%) translate(70px, 54px)  rotate(-28deg); }
.map__road--d { height: 6px;  transform: translate(-50%,-50%) translate(-78px, 30px) rotate(62deg); }

.pin {
  position: absolute; top: 40%; left: 50%; transform: translate(-50%,-50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.pin__halo {
  position: absolute; top: -8px; width: 46px; height: 46px; border-radius: 50%;
  background: rgba(90,120,255,.28); filter: blur(6px);
  animation: halo 2.8s var(--ease) infinite;
}
@keyframes halo { 0%,100% { transform: scale(1); opacity: .8 } 50% { transform: scale(1.28); opacity: .35 } }
.pin__dot {
  position: relative;
  width: 30px; height: 30px; border-radius: 50%;
  background: linear-gradient(160deg, var(--navy-lift), var(--navy));
  border: 2px solid rgba(255,255,255,.92);
  display: grid; place-items: center; color: #fff;
  box-shadow: 0 4px 14px rgba(0,0,0,.6);
}
.pin__label {
  position: relative;
  font-size: .64rem; font-weight: 620;
  padding: 3px 8px; border-radius: 100px;
  background: rgba(20,20,24,.92);
  border: 1px solid var(--line);
  white-space: nowrap;
}

/* Bottom sheet */
.sheet {
  flex: 0 0 auto;
  background: var(--bg-2);
  border-top: 1px solid var(--line-soft);
  border-radius: 22px 22px 0 0;
  margin-top: -18px;
  padding: 9px 13px 20px;
  position: relative; z-index: 3;
}
.sheet__grab {
  display: block; width: 34px; height: 4px; border-radius: 100px;
  background: rgba(255,255,255,.18); margin: 0 auto 11px;
}
.sheet__title {
  font-size: .68rem; font-weight: 620; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-3); margin: 0 0 10px 2px;
}

.cardrow {
  display: flex; align-items: center; gap: 9px;
  padding: 7px 8px; border-radius: 12px;
  margin-bottom: 4px;
}
.cardrow--best { background: rgba(255,255,255,.055); box-shadow: inset 0 0 0 1px var(--line-soft); }
.cardrow--dim  { opacity: .58; }
.cardrow__name { font-size: .78rem; font-weight: 550; flex: 1 1 auto; min-width: 0;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cardrow__cat  { font-size: .62rem; color: var(--ink-3); white-space: nowrap; }

/* Card faces — the app's own colourways */
.cardface {
  flex: 0 0 auto;
  width: 42px; aspect-ratio: 1.585;
  border-radius: 5px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.16), 0 2px 8px rgba(0,0,0,.5);
  position: relative; overflow: hidden;
}
.cardface::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 38%, rgba(255,255,255,.22) 50%, transparent 62%);
}
.cardface--lg { width: 54px; border-radius: 7px; }
.cardface--gold   { background: linear-gradient(140deg, #E8C87A, #A9873C 55%, #6E5622); }
.cardface--plat   { background: linear-gradient(140deg, #D8DCE2, #949BA6 55%, #5C626C); }
.cardface--cobalt { background: linear-gradient(140deg, #3C63C8, #1F3A87 55%, #12224F); }

.mult {
  flex: 0 0 auto;
  font-size: .66rem; font-weight: 720; color: #fff;
  padding: 3px 8px; border-radius: 100px;
  background: linear-gradient(160deg, var(--navy-lift), var(--navy));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18);
}
.mult--lg { font-size: .82rem; padding: 5px 12px; }

/* ── Issuer strip ───────────────────────────────────────────────── */

.strip { margin-top: clamp(44px, 6vw, 72px); text-align: center; }
.strip__label {
  font-size: .78rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-3); margin: 0 0 18px;
}

/* Supported markets. The country name carries the meaning; the flag is drawn
   SVG (see index.html) and aria-hidden, so nothing depends on recognising it. */
.countries {
  list-style: none; margin: 0 0 26px; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
}
.countries li {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 14px 7px 8px;
  border-radius: 100px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: .9rem; font-weight: 560; color: var(--ink);
  backdrop-filter: blur(12px);
  transition: border-color .25s var(--ease), background .25s var(--ease), transform .25s var(--ease);
}
.countries li:hover { background: var(--surface-2); border-color: rgba(255,255,255,.2); transform: translateY(-1px); }

/* Sized like a tiny card, which is the object this whole site is about — the
   inset hairline is what stops a light flag (US, SG) from bleeding into the
   pill behind it. */
.countries .flag {
  flex: 0 0 auto;
  width: 21px; height: 15px;
  border-radius: 3.5px;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.28), 0 1px 3px rgba(0,0,0,.55);
}
.countries .flag svg { display: block; width: 100%; height: 100%; }

.countries em {
  font-style: normal;
  font-size: .6rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  padding: 3px 7px; border-radius: 100px;
  margin-left: 1px;
  background: rgba(255,159,10,.13); color: #FFB340;
  border: 1px solid rgba(255,159,10,.24);
}

/* The mask has to sit on a wrapper, not on .strip itself — .strip also holds
   the label and the country pills, and a mask there fades them at the edges
   too. The wrapper clips only the moving row. */
.strip__viewport {
  --fade: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  overflow: hidden;
  mask-image: var(--fade);
  -webkit-mask-image: var(--fade);
}
.strip__track {
  display: flex; gap: 44px; align-items: center;
  width: max-content;
  /* 34 items now rather than 14, so the duration scales with them — same
     apparent speed, not a row that suddenly sprints. */
  animation: marquee 62s linear infinite;
  font-size: 1.02rem; font-weight: 600; letter-spacing: -.01em;
  color: rgba(255,255,255,.32);
  white-space: nowrap;
  will-change: transform;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* A marquee is motion nobody asked for; without a pointer there is also no way
   to stop it. Hold it still and let the row wrap instead. */
@media (prefers-reduced-motion: reduce) {
  .strip__viewport { mask-image: none; -webkit-mask-image: none; }
  .strip__track {
    animation: none;
    width: auto;
    flex-wrap: wrap; justify-content: center;
    gap: 12px 28px;
  }
  .strip__track span[aria-hidden="true"] { display: none; }
}

/* ── Sections ───────────────────────────────────────────────────── */

.sec { padding: clamp(64px, 9vw, 118px) 0; position: relative; }
.sec--alt {
  background:
    radial-gradient(120% 70% at 50% 0%, rgba(255,255,255,.035), transparent 60%),
    var(--bg-1);
  border-block: 1px solid var(--line-soft);
}

.sechead { text-align: center; max-width: 720px; margin: 0 auto clamp(38px, 5vw, 62px); }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 76px);
  align-items: center;
}
.split--rev .split__copy { order: 2; }
.split--rev .split__art  { order: 1; }

.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 15px; }
.ticks li {
  position: relative; padding-left: 30px;
  color: var(--ink-2); font-size: .96rem; line-height: 1.5;
}
.ticks b { color: var(--ink); font-weight: 600; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 5px;
  width: 18px; height: 18px; border-radius: 50%;
  background: rgba(255,255,255,.07);
  box-shadow: inset 0 0 0 1px var(--line);
}
.ticks li::after {
  content: ""; position: absolute; left: 6px; top: 10px;
  width: 6px; height: 3px;
  border-left: 1.7px solid var(--ink); border-bottom: 1.7px solid var(--ink);
  transform: rotate(-45deg);
}

.sparkle { display: inline-block; vertical-align: -4px; margin-right: 4px; color: #A9B7FF;
  filter: drop-shadow(0 0 14px rgba(140,160,255,.5)); }

/* ── Generic panel (art side) ───────────────────────────────────── */

.panel {
  background: linear-gradient(170deg, rgba(255,255,255,.055), rgba(255,255,255,.018));
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: 22px;
  box-shadow: 0 30px 70px -28px rgba(0,0,0,.9);
  backdrop-filter: blur(14px);
}
.panel__title {
  font-size: .72rem; font-weight: 620; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-3); margin: 0 0 16px;
}
.panel__sub {
  font-size: .72rem; font-weight: 620; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-3); margin: 26px 0 12px;
}
.panel__add {
  width: 100%; margin-top: 14px;
  display: flex; align-items: center; justify-content: center; gap: 7px;
  padding: 11px; border-radius: 13px;
  background: rgba(255,255,255,.05);
  border: 1px dashed var(--line);
  color: var(--ink-2); font: inherit; font-size: .88rem; font-weight: 550;
  cursor: default;
}

/* Wallet rows */
.wal {
  display: flex; align-items: center; gap: 13px;
  padding: 11px 12px; border-radius: 14px;
  background: rgba(255,255,255,.035);
  border: 1px solid var(--line-soft);
  margin-bottom: 9px;
}
.wal__meta { flex: 1 1 auto; min-width: 0; }
.wal__name { margin: 0; font-size: .92rem; font-weight: 600; }
.wal__sub  { margin: 2px 0 0; font-size: .75rem; color: var(--ink-3); }

.badge {
  flex: 0 0 auto;
  font-size: .68rem; font-weight: 600; letter-spacing: .01em;
  padding: 4px 10px; border-radius: 100px;
  background: rgba(255,255,255,.07); color: var(--ink-2);
  border: 1px solid var(--line-soft);
}
.badge--ok { background: rgba(48,209,88,.13); color: #5FE08A; border-color: rgba(48,209,88,.24); }

/* ── Nearby art stack ───────────────────────────────────────────── */

.stack { display: grid; gap: 22px; }

.notif {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 14px;
  border-radius: 20px;
  background: rgba(38,38,44,.75);
  border: 1px solid var(--line);
  backdrop-filter: blur(20px);
  box-shadow: 0 24px 60px -20px rgba(0,0,0,.95);
}
.notif__icon { border-radius: 8px; flex: 0 0 auto; }
.notif__body { min-width: 0; }
.notif__head { margin: 0 0 3px; font-size: .72rem; color: var(--ink-3); letter-spacing: .02em; }
.notif__head b { color: var(--ink-2); font-weight: 620; text-transform: uppercase; letter-spacing: .06em; }
.notif__head span { float: right; }
.notif__text { margin: 0; font-size: .92rem; line-height: 1.4; }

.di__pill {
  display: flex; align-items: center; gap: 12px;
  background: #000;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 100px;
  padding: 11px 14px 11px 12px;
  box-shadow: 0 20px 50px -16px rgba(0,0,0,1), 0 0 0 6px rgba(255,255,255,.02);
}
.di__face { width: 40px; }
.di__text { flex: 1 1 auto; min-width: 0; }
.di__name { margin: 0; font-size: .88rem; font-weight: 620; }
.di__sub  { margin: 1px 0 0; font-size: .7rem; color: var(--ink-3); }
.di__cap  { margin: 12px 4px 0; font-size: .8rem; color: var(--ink-3); text-align: center; }

/* ── Insights ───────────────────────────────────────────────────── */

.donutrow { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }

.donut { position: relative; width: 132px; height: 132px; flex: 0 0 auto; }
.donut__ring {
  position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(
    var(--cat-dining)  0turn   .38turn,
    var(--cat-grocery) .38turn .65turn,
    var(--cat-travel)  .65turn .85turn,
    var(--cat-other)   .85turn 1turn);
  mask: radial-gradient(circle, transparent 58%, #000 59%);
  -webkit-mask: radial-gradient(circle, transparent 58%, #000 59%);
  transform: rotate(-4deg);
}
.donut__hole {
  position: absolute; inset: 0; display: grid; place-content: center; text-align: center;
}
.donut__amt { display: block; font-size: 1.16rem; font-weight: 700; letter-spacing: -.02em;
  font-variant-numeric: tabular-nums; }
.donut__lab { display: block; font-size: .68rem; color: var(--ink-3); }

.legend { list-style: none; margin: 0; padding: 0; flex: 1 1 160px; display: grid; gap: 9px; }
.legend li { display: flex; align-items: center; gap: 9px; font-size: .88rem; color: var(--ink-2); }
.legend i { width: 9px; height: 9px; border-radius: 3px; background: var(--c); flex: 0 0 auto; }
.legend b { margin-left: auto; color: var(--ink); font-weight: 620; font-variant-numeric: tabular-nums; }

.rec {
  display: flex; align-items: baseline; gap: 12px;
  padding: 10px 2px;
  border-bottom: 1px solid var(--line-soft);
  font-size: .9rem;
}
.rec__n { color: var(--ink-2); }
.rec__v { margin-left: auto; font-weight: 620; font-variant-numeric: tabular-nums; }
.rec__v small { font-size: .74rem; font-weight: 500; color: var(--ink-3); }
.rec--tot { border-bottom: 0; padding-top: 14px; }
.rec--tot .rec__n { color: var(--ink); font-weight: 620; }

/* ── Ask chat ───────────────────────────────────────────────────── */

.chat {
  display: grid; gap: 12px;
  padding: 22px;
  border-radius: var(--radius-l);
  background: linear-gradient(170deg, rgba(255,255,255,.055), rgba(255,255,255,.018));
  border: 1px solid var(--line);
  box-shadow: 0 30px 70px -28px rgba(0,0,0,.9);
  backdrop-filter: blur(14px);
}
.msg { font-size: .92rem; line-height: 1.45; max-width: 88%; }
.msg--me {
  justify-self: end; text-align: right;
  background: linear-gradient(160deg, var(--navy-lift), var(--navy));
  padding: 11px 15px; border-radius: 18px 18px 5px 18px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.15);
}
.msg--ai {
  justify-self: start;
  display: flex; gap: 9px; align-items: flex-start;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--line-soft);
  padding: 11px 15px; border-radius: 18px 18px 18px 5px;
  color: var(--ink-2);
}
.msg--ai svg { flex: 0 0 auto; margin-top: 3px; color: #A9B7FF; }
.msg--ai p { margin: 0; }
.msg--ai b { color: var(--ink); font-weight: 640; }

.chat__input {
  display: flex; align-items: center;
  margin-top: 6px; padding: 12px 16px;
  border-radius: 100px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line-soft);
  font-size: .88rem; color: var(--ink-3);
}
.chat__input i {
  width: 1.6px; height: 15px; background: #A9B7FF; margin-left: 3px;
  animation: caret 1.1s steps(1) infinite;
}
@keyframes caret { 0%,49% { opacity: 1 } 50%,100% { opacity: 0 } }

/* ── Steps ──────────────────────────────────────────────────────── */

.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  counter-reset: s;
}
.step {
  position: relative;
  padding: 30px 26px 28px;
  border-radius: var(--radius-l);
  background: linear-gradient(170deg, rgba(255,255,255,.05), rgba(255,255,255,.015));
  border: 1px solid var(--line);
  overflow: hidden;
}
.step::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent);
}
.step__n {
  display: block; margin-bottom: 16px;
  font-size: .78rem; font-weight: 700; letter-spacing: .1em;
  background: var(--metal); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.step h3 { margin: 0 0 9px; font-size: 1.14rem; font-weight: 640; letter-spacing: -.02em; }
.step p  { margin: 0; color: var(--ink-2); font-size: .93rem; }

/* ── Privacy cards ──────────────────────────────────────────────── */

.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.pcard {
  padding: 28px 26px;
  border-radius: var(--radius-l);
  background: linear-gradient(170deg, rgba(255,255,255,.05), rgba(255,255,255,.015));
  border: 1px solid var(--line);
  transition: transform .3s var(--ease), border-color .3s;
}
.pcard:hover { transform: translateY(-4px); border-color: rgba(255,255,255,.2); }
.pcard__ic {
  display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 13px;
  background: rgba(255,255,255,.07);
  border: 1px solid var(--line);
  color: var(--ink); margin-bottom: 18px;
}
.pcard h3 { margin: 0 0 9px; font-size: 1.1rem; font-weight: 640; letter-spacing: -.02em; }
.pcard p  { margin: 0; color: var(--ink-2); font-size: .93rem; }
.pcard em { color: var(--ink); font-style: italic; }

.fineprint {
  max-width: 680px; margin: 38px auto 0; text-align: center;
  font-size: .88rem; line-height: 1.6; color: var(--ink-3);
  padding: 20px 24px; border-radius: var(--radius);
  background: rgba(255,255,255,.025); border: 1px solid var(--line-soft);
}

/* ── Pricing ────────────────────────────────────────────────────── */

.plans {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px; max-width: 880px; margin-inline: auto;
  align-items: start;
}
.plan {
  position: relative;
  padding: 32px 28px;
  border-radius: var(--radius-l);
  background: linear-gradient(170deg, rgba(255,255,255,.045), rgba(255,255,255,.012));
  border: 1px solid var(--line);
}
.plan--pro {
  border-color: rgba(255,255,255,.24);
  background:
    radial-gradient(110% 60% at 50% 0%, rgba(120,140,255,.16), transparent 62%),
    linear-gradient(170deg, rgba(255,255,255,.075), rgba(255,255,255,.02));
  box-shadow: 0 30px 80px -30px rgba(90,110,255,.4);
}
.plan__flag {
  position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
  font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  padding: 5px 14px; border-radius: 100px;
  background: var(--metal); color: #0A0A0C;
  white-space: nowrap;
}
.plan__name { margin: 0 0 6px; font-size: .84rem; font-weight: 620; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ink-3); }
.plan__price { margin: 0; font-size: 2.7rem; font-weight: 700; letter-spacing: -.04em; line-height: 1; }
.plan__price span { font-size: .96rem; font-weight: 500; color: var(--ink-3); letter-spacing: -.01em; }
.plan__note { margin: 12px 0 22px; font-size: .92rem; color: var(--ink-2); }

.plan__list { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 11px; }
.plan__list li {
  position: relative; padding-left: 27px;
  font-size: .92rem; color: var(--ink-2);
}
.plan__list li::before {
  content: ""; position: absolute; left: 3px; top: 7px;
  width: 7px; height: 4px;
  border-left: 1.8px solid #5FE08A; border-bottom: 1.8px solid #5FE08A;
  transform: rotate(-45deg);
}
.plan__list li.off { color: rgba(255,255,255,.24); text-decoration: line-through; text-decoration-thickness: 1px; }
.plan__list li.off::before {
  width: 9px; height: 9px; top: 5px; left: 2px;
  border: 0; transform: none;
  background:
    linear-gradient(45deg, transparent 44%, rgba(255,255,255,.28) 44% 56%, transparent 56%),
    linear-gradient(-45deg, transparent 44%, rgba(255,255,255,.28) 44% 56%, transparent 56%);
}
.plan__fine { margin: 14px 0 0; font-size: .74rem; line-height: 1.5; color: var(--ink-3); text-align: center; }

/* ── FAQ ────────────────────────────────────────────────────────── */

.faq { display: grid; gap: 10px; }
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.028);
  overflow: hidden;
  transition: border-color .25s, background .25s;
}
.faq details[open] { border-color: rgba(255,255,255,.2); background: rgba(255,255,255,.05); }
.faq summary {
  display: flex; align-items: center; gap: 16px;
  padding: 19px 22px;
  cursor: pointer; list-style: none;
  font-size: 1rem; font-weight: 570; letter-spacing: -.015em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary i {
  margin-left: auto; flex: 0 0 auto;
  position: relative; width: 13px; height: 13px;
}
.faq summary i::before, .faq summary i::after {
  content: ""; position: absolute; left: 0; top: 6px;
  width: 13px; height: 1.6px; background: var(--ink-2); border-radius: 2px;
  transition: transform .25s var(--ease);
}
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i::after { transform: rotate(0); }
.faq p { margin: 0; padding: 0 22px 22px; color: var(--ink-2); font-size: .95rem; max-width: 62ch; }

/* ── CTA ────────────────────────────────────────────────────────── */

.cta { position: relative; padding: clamp(72px, 10vw, 130px) 0; overflow: hidden; text-align: center; }
.cta__glow {
  position: absolute; inset: auto -20% -60% -20%; height: 620px;
  background:
    radial-gradient(50% 50% at 50% 60%, rgba(120,140,255,.24), transparent 70%),
    radial-gradient(70% 45% at 50% 80%, rgba(26,42,107,.4), transparent 72%);
  filter: blur(30px); pointer-events: none;
}
.cta__inner { position: relative; display: grid; justify-items: center; }
.cta__icon { border-radius: 22px; margin-bottom: 26px;
  box-shadow: 0 0 0 1px var(--line), 0 24px 60px -18px rgba(0,0,0,.9); }
.cta .body { margin-bottom: 32px; }
.cta__fine { margin: 18px 0 0; font-size: .8rem; color: var(--ink-3); }

/* ── Footer ─────────────────────────────────────────────────────── */

.foot { border-top: 1px solid var(--line-soft); background: var(--bg-1); padding: 56px 0 30px; }
.foot__inner { display: flex; flex-wrap: wrap; gap: 44px; justify-content: space-between; }
.foot__brand p { margin: 14px 0 0; font-size: .88rem; color: var(--ink-3); max-width: 22em; }
.foot__cols { display: flex; gap: clamp(32px, 6vw, 76px); flex-wrap: wrap; }
.foot__cols > div { display: flex; flex-direction: column; gap: 9px; }
.foot__h { margin: 0 0 4px; font-size: .74rem; font-weight: 620; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ink-3); }
.foot__cols a { font-size: .9rem; color: var(--ink-2); transition: color .2s; }
.foot__cols a:hover { color: var(--ink); }

.foot__bar {
  margin-top: 44px; padding-top: 22px;
  border-top: 1px solid var(--line-soft);
  display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: space-between;
  font-size: .78rem; color: var(--ink-3);
}
.foot__bar p { margin: 0; }
.foot__dis { max-width: 56ch; }

/* ── Reveal on scroll ───────────────────────────────────────────── */

/* Only hide when JS is confirmed alive (see the inline gate in <head>) —
   otherwise a blocked script.js leaves nothing on screen at all. */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .75s var(--ease), transform .75s var(--ease);
}
.js .reveal--slow { transition-duration: 1s; transition-delay: .1s; }
.js .reveal.in { opacity: 1; transform: none; }

/* ── Responsive ─────────────────────────────────────────────────── */

@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__copy { max-width: 640px; margin-inline: auto; }
  .lede, .body { margin-inline: auto; }
  .hero__cta, .hero__facts { justify-content: center; }
  .hero__device { order: 2; margin-top: 8px; }

  .split { grid-template-columns: 1fr; }
  .split--rev .split__copy, .split--rev .split__art { order: initial; }
  .split__copy { text-align: center; }
  .split__art { max-width: 480px; margin-inline: auto; width: 100%; }
  .ticks { text-align: left; max-width: 480px; margin-inline: auto; }

  .steps, .cards3 { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav .btn--sm { display: none; }
  .nav__burger { display: flex; }
  .nav__mobile[data-open="true"] { display: flex; }
  .nav.is-open { background: rgba(6,6,8,.92); backdrop-filter: blur(22px); }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .plans { grid-template-columns: 1fr; }
  .plan--pro { order: -1; }
  .donutrow { justify-content: center; }
  .foot__inner { flex-direction: column; gap: 34px; }
}

@media (max-width: 420px) {
  .wrap { padding-inline: 18px; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .appstore { justify-content: center; }
  .hero__cta .btn { justify-content: center; }
  .panel, .chat { padding: 18px; }
}

/* ── Motion & print ─────────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}
