:root {
  --pos: #1fb469;
  --neg: #ff5a4d;
  --ink: #0a0a0c;
  --muted: #8a8a90;
  --muted2: #a9a9b0;
  --hairline: rgba(0,0,0,.06);
  --hairline2: rgba(0,0,0,.10);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", system-ui, sans-serif;
  font-feature-settings: "ss01", "cv01";
  color: var(--ink);
  background: linear-gradient(180deg, #fbfbfd 0%, #f1f1f4 100%);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }

.page { max-width: 1120px; margin: 0 auto; padding: 0 32px; }

/* Masthead — simple editorial row */
.mast {
  max-width: 1120px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 28px 32px 0;
}
.wordmark { font-size: 21px; font-weight: 700; letter-spacing: -0.02em; text-decoration: none; }
.mast nav { display: flex; gap: 24px; }
.mast nav a { font-size: 15px; font-weight: 500; letter-spacing: -0.01em; color: var(--muted); text-decoration: none; }
.mast nav a:hover { color: var(--ink); }

/* Hero */
.hero { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: center; padding: 96px 0 80px; }
.overline {
  font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 20px;
}
h1 { font-size: 64px; line-height: 1.04; font-weight: 700; letter-spacing: -0.035em; margin-bottom: 24px; }
h1 .dim { color: var(--muted); font-weight: 600; }
.lede {
  font-size: 19px; line-height: 1.42; letter-spacing: -0.012em; color: var(--muted);
  font-weight: 400; max-width: 44ch; margin-bottom: 40px;
}
.lede strong { color: var(--ink); font-weight: 600; }

/* Store badges */
.badges { display: flex; gap: 14px; align-items: center; margin-bottom: 16px; }
.badge {
  display: flex; align-items: center; gap: 11px; flex: none;
  background: #e9e9ee; color: #7a7a82; text-decoration: none;
  border-radius: 12px; padding: 11px 20px 11px 16px; min-height: 56px;
}
/* At launch: swap to the official Apple/Google badge assets with live store
   links (see README) — the grey soft style marks them as not-yet-active. */
.badge svg { width: 26px; height: 26px; flex: none; }
.badge .lines { display: flex; flex-direction: column; line-height: 1.15; }
.badge .pre { font-size: 11px; font-weight: 500; opacity: .82; letter-spacing: .01em; }
.badge .store { font-size: 18px; font-weight: 600; letter-spacing: -0.015em; }
.badge-note { font-size: 13px; letter-spacing: -0.004em; color: var(--muted2); font-weight: 500; }

/* Visual cluster */
.cluster { position: relative; height: 600px; }
.mesh-card {
  position: absolute; top: 0; right: 0; width: 372px; height: 218px;
  border-radius: 24px; padding: 22px;
  background:
    radial-gradient(at 85% 12%, rgba(190,245,214,.9) 0%, rgba(190,245,214,0) 55%),
    linear-gradient(150deg, #1fb469 0%, #0b6b3d 100%);
  color: #fff;
  box-shadow: 0 14px 34px -10px rgba(31,180,105,.6);
  display: flex; flex-direction: column; justify-content: space-between;
}
.mesh-top { display: flex; justify-content: space-between; align-items: flex-start; }
.mesh-name { font-size: 21px; font-weight: 700; letter-spacing: -0.02em; }
.mesh-meta { font-size: 13px; font-weight: 500; opacity: .78; margin-top: 3px; }
.mesh-label { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; opacity: .78; text-align: right; }
.mesh-amt { font-size: 25px; font-weight: 700; letter-spacing: -0.022em; font-variant-numeric: tabular-nums; text-align: right; margin-top: 4px; }
.stack { display: flex; }
.av {
  width: 34px; height: 34px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 14px; font-weight: 700;
  border: 2px solid rgba(255,255,255,.9);
}
.stack .av + .av { margin-left: -9px; }

.balance-card {
  position: absolute; left: 0; top: 226px; width: 384px;
  background: #fff; border-radius: 24px; padding: 26px 26px 10px;
  border: .5px solid var(--hairline);
  box-shadow: 0 18px 44px -18px rgba(0,0,0,.16);
}
.bc-overline { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.bc-row { display: flex; align-items: baseline; gap: 14px; margin-bottom: 22px; }
.bc-amt { font-size: 56px; line-height: 1; font-weight: 700; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.bc-amt .cents { font-size: .56em; }
.tag {
  font-size: 11px; font-weight: 700; letter-spacing: .01em;
  background: rgba(31,180,105,.12); color: #128a4e;
  border-radius: 20px; padding: 4px 10px; white-space: nowrap;
  position: relative; top: -6px;
}
.row { display: flex; align-items: center; gap: 13px; padding: 14px 0; border-top: .5px solid var(--hairline2); }
.row .av { width: 40px; height: 40px; border: none; font-size: 15px; }
.row-text { flex: 1; min-width: 0; }
.row-lead { font-size: 15px; font-weight: 500; letter-spacing: -0.01em; }
.row-sub { font-size: 13px; font-weight: 500; letter-spacing: -0.004em; color: var(--muted); margin-top: 2px; }
.row-amt { font-size: 16px; font-weight: 700; letter-spacing: -0.015em; font-variant-numeric: tabular-nums; }

/* Value strip */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; padding: 72px 0 96px; border-top: .5px solid var(--hairline2); }
.value h3 { font-size: 21px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 8px; }
.value h3 .dim { color: var(--muted); font-weight: 600; }
.value p { font-size: 15px; line-height: 1.42; letter-spacing: -0.01em; color: var(--muted); font-weight: 400; }

/* Article pages (privacy, support) */
.article { max-width: 680px; margin: 0 auto; padding: 72px 32px 96px; }
.article h1 { font-size: 34px; line-height: 1.05; letter-spacing: -0.032em; margin-bottom: 8px; }
.article .updated { font-size: 13px; color: var(--muted2); font-weight: 500; margin-bottom: 40px; }
.article h2 { font-size: 21px; font-weight: 700; letter-spacing: -0.02em; margin: 36px 0 10px; }
.article p, .article li { font-size: 16px; line-height: 1.5; letter-spacing: -0.01em; color: #3a3a40; margin-bottom: 12px; }
.article ul { padding-left: 22px; margin-bottom: 12px; }
.article a { color: #128a4e; font-weight: 500; }
.article .card {
  background: #fff; border: .5px solid var(--hairline); border-radius: 18px;
  padding: 22px 24px; margin: 20px 0;
}

footer { border-top: .5px solid var(--hairline2); padding: 32px 0 48px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.foot-left { font-size: 13px; font-weight: 500; color: var(--muted2); }
footer nav { display: flex; gap: 24px; }
footer nav a { font-size: 13px; font-weight: 500; color: var(--muted); text-decoration: none; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 48px; padding: 64px 0 48px; }
  h1 { font-size: 44px; }
  .cluster { height: auto; max-width: 420px; margin: 0 auto; width: 100%; }
  .mesh-card { position: static; width: 100%; }
  .balance-card { position: static; width: calc(100% - 20px); margin: -48px 0 0 20px; }
  .values { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 560px) {
  .page { padding: 0 20px; }
  .mast { padding: 22px 20px 0; }
  .hero { padding: 44px 0 40px; gap: 40px; }
  h1 { font-size: 38px; }
  .lede { font-size: 17px; margin-bottom: 32px; }
  .badges { flex-wrap: wrap; }
  .bc-row { flex-wrap: wrap; gap: 10px; }
  .bc-amt { font-size: 44px; }
  .values { padding: 48px 0 64px; gap: 28px; }
  .article { padding: 44px 20px 72px; }
  .article h1 { font-size: 28px; }
  footer { flex-direction: column; align-items: flex-start; }
}
