/* Wallet website. Dark by default, light when the system asks for it.
   Plain CSS, no build step. System fonts only, so nothing loads from other servers.
   Same family as hello.minutecampus.com, in Wallet's green. */

:root {
  --bg: #0a0c0b;
  --bg-2: #0f1211;
  --surface: #141917;
  --surface-2: #1b211f;
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.17);
  --text: #f3f6f4;
  --muted: #b1bab6;
  --dim: #95a09b;

  --green: #34d399;
  --green-2: #10b981;
  --focus: #34d399;

  /* Button fill: white text on it passes WCAG AA (4.5:1). */
  --grad: linear-gradient(120deg, #0b6e5c 0%, #0e7f63 100%);
  /* Large headline words. */
  --grad-text: linear-gradient(120deg, #6ee7b7 0%, #34d399 45%, #10b981 100%);
  --glow: rgba(16, 185, 129, .55);

  --ghost: rgba(255, 255, 255, 0.03);
  --ghost-hover: rgba(255, 255, 255, 0.08);
  --header-bg: rgba(10, 12, 11, 0.86);
  --header-h: 64px;

  --radius: 20px;
  --wrap: 1180px;
  --ease: cubic-bezier(.2, 1, .3, 1);

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", system-ui, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", system-ui, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color-scheme: dark;
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #f5f8f6;
    --bg-2: #ebf1ee;
    --surface: #ffffff;
    --surface-2: #eef3f0;
    --line: rgba(10, 40, 30, 0.1);
    --line-2: rgba(10, 40, 30, 0.18);
    --text: #0f1a16;
    --muted: #3f4c47;
    --dim: #56635e;
    --green: #047857;
    --green-2: #065f46;
    --focus: #047857;
    --grad-text: linear-gradient(120deg, #0e8f6e 0%, #047857 50%, #065f46 100%);
    --glow: rgba(14, 143, 110, .45);
    --ghost: rgba(10, 40, 30, 0.03);
    --ghost-hover: rgba(10, 40, 30, 0.07);
    --header-bg: rgba(245, 248, 246, 0.9);
    color-scheme: light;
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; letter-spacing: -0.02em; line-height: 1.15; font-family: var(--font-display); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
strong { font-weight: 600; }

code {
  font-family: var(--mono);
  font-size: 0.86em;
  padding: 0.1em 0.4em;
  border-radius: 6px;
  background: var(--surface-2);
  overflow-wrap: anywhere;
}

.skip {
  position: absolute; left: -999px; top: 8px; z-index: 100;
  background: var(--text); color: var(--bg); padding: 10px 16px; border-radius: 8px;
}
.skip:focus { left: 16px; }

:focus { outline: none; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 8px; }
main:focus { outline: none; }

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

.grad {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Buttons. Targets are at least 44px tall. */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  font-weight: 600; font-size: 16px; line-height: 1.2; white-space: nowrap;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary {
  background: var(--grad); color: #fff;
  box-shadow: 0 10px 30px -12px var(--glow), inset 0 1px 0 rgba(255, 255, 255, .2);
}
/* A light sweep across the button on hover. */
.btn-primary::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .22) 50%, transparent 70%);
  transform: translateX(-120%);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 14px 36px -12px var(--glow), inset 0 1px 0 rgba(255, 255, 255, .2); }
.btn-primary:hover::after { transform: translateX(120%); transition: transform .8s var(--ease); }
.btn-ghost { border: 1px solid var(--line-2); background: var(--ghost); }
.btn-ghost:hover { background: var(--ghost-hover); }
.btn-small { min-height: 44px; padding: 0 16px; font-size: 14.5px; gap: 8px; }
.btn-small svg { width: 15px; height: 15px; }
.btn-large { min-height: 58px; padding: 0 30px; font-size: 17.5px; }

/* Header and navigation */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--header-bg);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease;
}
.site-header.scrolled, .site-header.solid { border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; gap: 20px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; letter-spacing: -0.02em; min-height: 44px; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.brand .by { font-weight: 500; color: var(--dim); font-size: 14.5px; letter-spacing: 0; }
.nav-links { display: flex; gap: 2px; margin-left: auto; font-size: 14.5px; }
.nav-links a {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 12px;
  border-radius: 999px; color: var(--muted); transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--text); background: var(--ghost-hover); }
.nav-links a[aria-current] { color: var(--text); background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line-2); }
.nav-download { flex: none; }
.nav-toggle {
  display: none; flex: none; position: relative;
  width: 44px; height: 44px; margin-right: -10px;
  background: none; border: 0; border-radius: 12px;
}
.nav-toggle span {
  position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: var(--text);
  transition: transform .25s ease;
}
.nav-toggle span:first-child { top: 17px; }
.nav-toggle span:last-child { top: 25px; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

.mobile-menu {
  position: absolute; left: 0; right: 0; top: 100%;
  display: flex; flex-direction: column;
  padding: 6px 16px 18px;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 24px 40px -24px rgba(0, 0, 0, .5);
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a:not(.btn) {
  display: flex; align-items: center; min-height: 52px;
  font-size: 17px; border-bottom: 1px solid var(--line);
}
.mobile-menu .btn { margin-top: 16px; }

/* Hero */
.hero { position: relative; padding: 72px 0 96px; overflow: hidden; }
.hero-glow {
  position: absolute; inset: -20% -10% auto; height: 820px; pointer-events: none;
  background:
    radial-gradient(38% 48% at 72% 38%, rgba(16, 185, 129, .22), transparent 70%),
    radial-gradient(30% 40% at 88% 18%, rgba(52, 211, 153, .14), transparent 70%),
    radial-gradient(30% 40% at 52% 70%, rgba(14, 143, 110, .16), transparent 70%);
  filter: blur(10px);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(60% 60% at 50% 30%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(60% 60% at 50% 30%, #000 20%, transparent 75%);
  opacity: .5;
}
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }

.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 12px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line-2);
  font-size: 14px; color: var(--muted);
}
.pill .dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--green-2); }
.pill .dot::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 2px solid var(--green-2); opacity: 0; animation: ping 2.4s ease-out infinite;
}
@keyframes ping { 0% { transform: scale(.5); opacity: .7; } 80%, 100% { transform: scale(1.5); opacity: 0; } }

.hero h1 {
  margin-top: 22px;
  font-size: clamp(44px, 7vw, 88px);
  font-weight: 800; letter-spacing: -0.045em; line-height: 1.02;
}
.lede { margin-top: 22px; max-width: 560px; font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 28px; font-size: 14.5px; color: var(--muted); }
.hero-facts li { display: inline-flex; align-items: center; gap: 8px; }
.tick { width: 16px; height: 16px; flex: none; color: var(--green); }

/* Phone mockup. The screens are drawn in HTML from made-up numbers. */
.phone-stage { position: relative; display: flex; justify-content: center; }
.phone-stage::before {
  content: ""; position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%;
  top: 8%; background: radial-gradient(circle, var(--glow), transparent 65%); opacity: .45; filter: blur(30px);
}
.phone {
  --ph-bg: #0f1412; --ph-surface: #1a211e; --ph-text: #eef4f1; --ph-muted: #9fb0a9;
  --ph-accent: #0e8f6e; --ph-accent-2: #0b5d57;
  position: relative; width: 320px; max-width: 100%; aspect-ratio: 9 / 19;
  border-radius: 46px; padding: 10px;
  background: linear-gradient(160deg, #2a302d, #121614);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 40px 80px -30px rgba(0, 0, 0, .7), 0 0 0 8px rgba(255, 255, 255, .03);
}
.phone.float { animation: drift 7s ease-in-out infinite; }
@keyframes drift { 0%, 100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-12px) rotate(1deg); } }
.screen {
  position: relative; height: 100%; border-radius: 37px; overflow: hidden;
  background: var(--ph-bg); color: var(--ph-text);
  font-family: Roboto, var(--font); font-size: 11px; line-height: 1.35;
  display: flex; flex-direction: column;
  transition: background .4s ease, color .4s ease;
}
.screen .status { display: flex; justify-content: space-between; align-items: center; padding: 12px 22px 6px; font-size: 10.5px; font-weight: 600; }
.screen .status i { display: inline-block; width: 30px; height: 9px; border-radius: 3px; background: currentColor; opacity: .8; }
.screen .camera { position: absolute; top: 11px; left: 50%; width: 11px; height: 11px; margin-left: -5px; border-radius: 50%; background: #000; }
.scr-body { flex: 1; padding: 6px 14px 0; display: flex; flex-direction: column; gap: 10px; min-height: 0; }
.hello-row { display: flex; align-items: center; gap: 9px; }
.avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--ph-accent); display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 12px; box-shadow: 0 0 0 2px var(--ph-bg), 0 0 0 3px var(--ph-accent); transition: background .4s ease; }
.hello-row b { display: block; font-size: 15px; letter-spacing: -.01em; }
.hello-row small { color: var(--ph-muted); font-size: 10px; }
.balance {
  position: relative; overflow: hidden; border-radius: 18px; padding: 12px 14px;
  background: linear-gradient(135deg, var(--ph-accent), var(--ph-accent-2) 70%, #06221d);
  color: #fff;
}
.balance::after { content: ""; position: absolute; right: -40px; top: -50px; width: 150px; height: 150px; border-radius: 50%; border: 22px solid rgba(255, 255, 255, .06); }
.balance .lbl { display: flex; justify-content: space-between; align-items: center; font-size: 10.5px; opacity: .9; }
.balance .chip { padding: 2px 7px; border-radius: 999px; background: rgba(0, 0, 0, .25); font-weight: 600; font-size: 9.5px; }
.balance .amt { margin-top: 4px; font-size: 25px; font-weight: 800; letter-spacing: -.02em; }
.balance .amt small { font-size: 14px; opacity: .75; font-weight: 700; }
.scr-h { display: flex; justify-content: space-between; align-items: baseline; font-weight: 700; font-size: 12.5px; }
.scr-h span { font-weight: 500; color: var(--ph-muted); font-size: 10px; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.tile { border-radius: 13px; padding: 8px 10px; color: #fff; min-height: 52px; display: flex; flex-direction: column; justify-content: space-between; }
.tile span { font-size: 10px; font-weight: 600; opacity: .95; }
.tile b { font-size: 13px; letter-spacing: -.01em; }
.t-cash { background: #2e7d32; }
.t-bank { background: #1565c0; }
.t-mobile { background: #c2185b; }
.t-card { background: #6a1b9a; }
.quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; text-align: center; font-size: 9px; color: var(--ph-muted); }
.quick i { display: grid; place-items: center; height: 34px; border-radius: 11px; background: var(--ph-surface); margin-bottom: 4px; color: var(--ph-text); font-style: normal; font-size: 15px; font-weight: 600; }
.recs { display: flex; flex-direction: column; gap: 2px; }
.rec { display: grid; grid-template-columns: 26px 1fr auto; gap: 9px; align-items: center; padding: 5px 0; }
.rec .ic { width: 26px; height: 26px; border-radius: 9px; display: grid; place-items: center; font-size: 12px; }
.rec b { display: block; font-size: 11px; font-weight: 600; }
.rec small { color: var(--ph-muted); font-size: 9.5px; }
.rec .v { font-weight: 700; font-size: 11px; }
.rec .v.out { color: #f28b82; }
.rec .v.in { color: #6dd5a7; }
.ic.food { background: #ffb74d33; } .ic.bus { background: #4fc3f733; } .ic.pay { background: #81c78433; } .ic.bill { background: #ba68c833; } .ic.shop { background: #f0629233; }
.navbar { display: grid; grid-template-columns: repeat(5, 1fr); text-align: center; padding: 8px 6px 14px; margin-top: auto; background: var(--ph-surface); font-size: 8.5px; color: var(--ph-muted); transition: background .4s ease; }
.navbar i { display: block; width: 18px; height: 3px; margin: 0 auto 5px; border-radius: 2px; background: currentColor; opacity: .5; }
.navbar .on { color: var(--ph-text); font-weight: 700; }
.navbar .on i { background: var(--ph-accent); opacity: 1; width: 26px; }
/* Light phone screens (theme demo). */
.phone.light { --ph-bg: #f4f8f6; --ph-surface: #e6eeea; --ph-text: #14201b; --ph-muted: #5d6c66; }
.phone.light .rec .v.out { color: #c62828; }
.phone.light .rec .v.in { color: #1b7f4f; }

/* Floating cards beside the hero phone. */
.float-card {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: 16px;
  background: color-mix(in srgb, var(--surface) 88%, transparent); border: 1px solid var(--line-2);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .6);
  font-size: 13.5px; line-height: 1.35;
}
.float-card small { display: block; color: var(--dim); font-size: 12px; }
.float-card .fc-ic { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: rgba(16, 185, 129, .16); color: var(--green); }
.float-card .fc-ic svg { width: 17px; height: 17px; }
.fc-1 { left: 0; top: 22%; animation: drift 8s ease-in-out infinite reverse; }
.fc-2 { right: 0; bottom: 18%; animation: drift 9s ease-in-out -2s infinite; }

/* Stats strip */
.stats { border-block: 1px solid var(--line); background: var(--bg-2); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 34px 24px; text-align: center; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat b { display: block; font-family: var(--font-display); font-size: clamp(32px, 4vw, 46px); font-weight: 800; letter-spacing: -0.04em; line-height: 1.1; }
.stat span { display: block; margin-top: 6px; font-size: 14.5px; color: var(--muted); }

/* Sections */
.section { padding: 112px 0; }
.section-tint { background: var(--bg-2); border-block: 1px solid var(--line); }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--green);
}
.eyebrow::before { content: ""; width: 24px; height: 1.5px; background: currentColor; border-radius: 2px; }
.section h2 { margin-top: 14px; font-size: clamp(32px, 4.4vw, 54px); font-weight: 750; letter-spacing: -0.035em; line-height: 1.08; }
.sub { margin-top: 16px; font-size: clamp(16.5px, 1.4vw, 19px); color: var(--muted); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step { counter-increment: step; }
.step-n {
  display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 12px;
  background: var(--grad); color: #fff; font-weight: 700; font-size: 15px;
}
.step-n::before { content: counter(step); }

/* Cards */
.card {
  position: relative; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px;
  transition: border-color .25s ease, transform .35s var(--ease);
}
.card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s ease;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(16, 185, 129, .1), transparent 60%);
}
.card:hover { border-color: var(--line-2); transform: translateY(-2px); }
.card:hover::before { opacity: 1; }
.card > * { position: relative; }
.icon {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px;
  background: rgba(16, 185, 129, .12); color: var(--green);
  box-shadow: inset 0 0 0 1px rgba(16, 185, 129, .2);
}
.icon svg { width: 21px; height: 21px; }
.card h3 { margin-top: 18px; font-size: 20px; }
.card p { margin-top: 8px; color: var(--muted); font-size: 15.5px; }

.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card-wide { grid-column: span 2; }
.card-wide .card-split { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; }

/* Small visuals inside cards. */
.mini-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mini-tiles div { border-radius: 14px; padding: 12px 14px; color: #fff; font-size: 12.5px; }
.mini-tiles b { display: block; font-size: 16px; margin-top: 6px; letter-spacing: -.01em; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px;
  background: var(--surface-2); border: 1px solid var(--line); font-size: 13.5px; color: var(--muted);
}
.bars { display: flex; flex-direction: column; gap: 12px; }
.bar-row { display: grid; grid-template-columns: 90px 1fr auto; gap: 12px; align-items: center; font-size: 13.5px; color: var(--muted); }
.bar-row b { color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }
.bar { height: 8px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: inherit; background: var(--grad-text); transform-origin: left; }
.bar .b1 { width: 82%; } .bar .b2 { width: 57%; } .bar .b3 { width: 38%; } .bar .b4 { width: 21%; }
.js .reveal .bar i { transform: scaleX(0); transition: transform 1.1s var(--ease) .25s; }
.js .reveal.in .bar i { transform: scaleX(1); }

/* Split sections */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split.flip > :first-child { order: 2; }
.ticks { margin-top: 26px; display: flex; flex-direction: column; gap: 14px; }
.ticks li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; color: var(--muted); }
.ticks li strong { color: var(--text); }
.ticks .tick { margin-top: 4px; width: 18px; height: 18px; }

/* Theme picker */
.picker { margin-top: 30px; display: flex; flex-direction: column; gap: 18px; }
.picker-label { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--dim); }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.swatch {
  width: 44px; height: 44px; border-radius: 50%; border: 0; padding: 0;
  background: var(--sw); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .15);
  transition: transform .2s ease, box-shadow .2s ease;
}
.swatch:hover { transform: scale(1.08); }
.swatch[aria-pressed="true"] { box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--sw); }
.sw-mint { --sw: #0e8f6e; } .sw-ocean { --sw: #0277bd; } .sw-indigo { --sw: #3f51b5; } .sw-violet { --sw: #7e57c2; }
.sw-rose { --sw: #d81b60; } .sw-coral { --sw: #f4511e; } .sw-amber { --sw: #f9a825; } .sw-forest { --sw: #2e7d32; } .sw-graphite { --sw: #546e7a; }
.segmented { display: inline-flex; margin-top: 10px; padding: 4px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line-2); }
.segmented button { min-height: 40px; padding: 0 18px; border: 0; border-radius: 999px; background: none; color: var(--muted); font-size: 14.5px; font-weight: 600; }
.segmented button[aria-pressed="true"] { background: var(--surface-2); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }
.picker-note { font-size: 14px; color: var(--dim); }
.no-js .picker { display: none; }

/* Privacy */
.privacy-head { text-align: center; max-width: 760px; margin: 0 auto; }
.shield {
  display: grid; place-items: center; width: 72px; height: 72px; margin: 0 auto 22px; border-radius: 22px;
  background: var(--grad); color: #fff; box-shadow: 0 18px 40px -18px var(--glow);
}
.shield svg { width: 34px; height: 34px; }
.privacy-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 56px; }
.privacy-grid .card h3 { font-size: 18px; }
.privacy-grid .card p { font-size: 15px; }
.privacy-more { margin-top: 32px; text-align: center; color: var(--muted); font-size: 15.5px; }
.link { color: var(--green); font-weight: 600; text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--green) 40%, transparent); text-underline-offset: 3px; }
.link:hover { text-decoration-color: currentColor; }

/* Install */
.install { display: grid; grid-template-columns: 1.15fr 1fr; gap: 28px; align-items: start; }
.install-steps { counter-reset: n; display: flex; flex-direction: column; gap: 14px; }
.install-steps li {
  counter-increment: n; display: grid; grid-template-columns: 40px 1fr; gap: 16px;
  padding: 20px 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line);
}
.install-steps li::before {
  content: counter(n); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px;
  background: var(--grad); color: #fff; font-weight: 700; font-size: 15px;
}
.install-steps h3 { font-size: 17.5px; }
.install-steps p { margin-top: 4px; color: var(--muted); font-size: 15px; }
.req h3 { margin-top: 0; font-size: 18px; margin-bottom: 14px; }
.req dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 12px 18px; font-size: 15px; }
.req dt { color: var(--dim); }
.req dd { margin: 0; }
.req .verify { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--muted); }
.req .verify code { display: block; margin-top: 8px; padding: 10px 12px; font-size: 12px; line-height: 1.5; word-break: break-all; }

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details { border-radius: 16px; background: var(--surface); border: 1px solid var(--line); transition: border-color .2s ease; }
.faq details[open] { border-color: var(--line-2); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 60px; padding: 16px 22px; cursor: pointer; list-style: none;
  font-weight: 600; font-size: 17px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  background: var(--surface-2); color: var(--green); font-size: 20px; font-weight: 500; line-height: 1;
  transition: transform .25s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 22px 20px; color: var(--muted); font-size: 15.5px; }
.faq .answer p + p { margin-top: 10px; }

/* Download CTA */
.cta {
  position: relative; overflow: hidden; text-align: center;
  padding: 80px 32px; border-radius: 32px;
  background: var(--surface); border: 1px solid var(--line-2);
}
.cta-glow {
  position: absolute; inset: -40% -20% auto; height: 120%; pointer-events: none;
  background: radial-gradient(45% 50% at 50% 30%, rgba(16, 185, 129, .24), transparent 70%);
}
.cta > *:not(.cta-glow) { position: relative; }
.cta-icon { width: 112px; height: 112px; margin: 0 auto 26px; border-radius: 26px; filter: drop-shadow(0 18px 30px rgba(14, 143, 110, .45)); }
.cta h2 { margin-top: 0; }
.cta .sub { max-width: 560px; margin-left: auto; margin-right: auto; }
.cta .cta-row { justify-content: center; }
.cta-meta { margin-top: 18px; font-size: 14px; color: var(--dim); }

/* Footer */
.site-footer { margin-top: 0; background: var(--bg-2); border-top: 1px solid var(--line); font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding: 56px 24px 40px; }
.footer-grid h4 { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); margin-bottom: 14px; }
.footer-grid ul { display: flex; flex-direction: column; gap: 8px; }
.footer-grid a { color: var(--muted); }
.footer-grid a:hover { color: var(--text); }
.footer-blurb { margin-top: 12px; color: var(--muted); max-width: 320px; }
.footer-by { text-align: right; color: var(--muted); }
.footer-by strong { display: block; color: var(--text); font-size: 17px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; padding: 20px 24px 28px; border-top: 1px solid var(--line); color: var(--dim); font-size: 14px; }
.footer-bottom a:hover { color: var(--text); }

/* Policy pages (privacy, delete account) */
.doc { padding: 64px 24px 24px; }
.doc h1 { font-size: clamp(36px, 5vw, 52px); font-weight: 800; letter-spacing: -0.04em; }
.doc .meta { margin-top: 10px; color: var(--dim); font-size: 15px; }
.doc .lead { margin-top: 14px; font-size: 19px; color: var(--muted); }
.doc h2 { margin-top: 48px; font-size: 26px; font-weight: 750; letter-spacing: -0.025em; }
.doc h3 { margin-top: 26px; font-size: 19px; }
.doc p, .doc ul, .doc ol, .doc table { margin-top: 14px; }
.doc p, .doc li, .doc td { color: var(--muted); }
.doc strong { color: var(--text); }
.doc ul { list-style: disc; padding-left: 22px; }
.doc ol { list-style: decimal; padding-left: 22px; }
.doc li + li { margin-top: 8px; }
.doc a:not(.btn) { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.doc .note { margin-top: 24px; padding: 20px 22px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line-2); border-left: 4px solid var(--green-2); color: var(--muted); }
.doc table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.doc th { color: var(--text); font-weight: 600; }
.doc td:first-child { color: var(--text); white-space: nowrap; }
.doc + .site-footer { margin-top: 80px; }

/* Reveal on scroll. Only when scripts run, so the page reads fine without them. */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: .08s; } .js .reveal.d2 { transition-delay: .16s; } .js .reveal.d3 { transition-delay: .24s; }

/* Responsive */
@media (max-width: 1080px) {
  .privacy-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-by { grid-column: 1 / -1; text-align: left; }
}
@media (max-width: 900px) {
  .nav-links, .nav-download { display: none; }
  .nav-toggle { display: block; margin-left: auto; }
  /* Policy pages have no menu: keep their Download button. */
  .site-header.solid .nav-download { display: inline-flex; margin-left: auto; }
  .hero { padding: 48px 0 72px; }
  .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .hero-copy { text-align: center; }
  .hero-copy .lede { margin-left: auto; margin-right: auto; }
  .hero-copy .cta-row, .hero-facts { justify-content: center; }
  .section { padding: 80px 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .bento { grid-template-columns: 1fr 1fr; }
  .card-wide { grid-column: 1 / -1; }
  .split { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .split.flip > :first-child { order: 0; }
  .install { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .doc { padding: 44px 16px 16px; }
  .brand .by { display: none; }
  .bento { grid-template-columns: minmax(0, 1fr); }
  .card-wide .card-split { grid-template-columns: 1fr; }
  .privacy-grid { grid-template-columns: minmax(0, 1fr); }
  .card { padding: 24px; }
  .cta { padding: 56px 20px; border-radius: 24px; }
  .cta-row .btn { width: 100%; white-space: normal; text-align: center; }
  .hero h1 { font-size: clamp(38px, 11vw, 56px); }
  .float-card { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; padding: 44px 16px 32px; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; padding: 18px 16px 24px; }
  .doc td:first-child { white-space: normal; }
  .bar-row { grid-template-columns: 76px 1fr auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .reveal .bar i { transform: none; }
}
