:root {
  color-scheme: light dark;
  --bg: #ffffff;
  --fg: #1a1a1a;
  --muted: #5f6368;
  --accent: #1a73e8;
  --border: #e0e0e0;
  --card: #f9f9f9;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121212;
    --fg: #e8e8e8;
    --muted: #a0a0a0;
    --accent: #6ea8ff;
    --border: #333333;
    --card: #1c1c1c;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
}

.wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 24px 96px;
}

header.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 12px;
}

.brand {
  font-size: 20px;
  font-weight: 700;
  color: var(--fg);
  text-decoration: none;
}

nav.top a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  margin-left: 20px;
}

nav.top a:hover { color: var(--accent); }

h1 {
  font-size: 28px;
  margin-bottom: 4px;
}

.updated {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 40px;
}

h2 {
  font-size: 19px;
  margin-top: 40px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 8px;
}

h3 {
  font-size: 15px;
  margin-top: 24px;
  margin-bottom: 8px;
}

p, li { color: var(--fg); font-size: 15px; }

ul, ol { padding-left: 22px; }

li { margin-bottom: 6px; }

a { color: var(--accent); }

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px 20px;
  margin: 20px 0;
  font-size: 14px;
  color: var(--muted);
}

footer {
  margin-top: 60px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 13px;
}

footer a { color: var(--muted); }

table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 14px; }
th, td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--border); }
th { color: var(--muted); font-weight: 600; }

/* ─── Landing page ──────────────────────────────────────────────────── */

.wide {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}

.hero {
  position: relative;
  padding: 72px 0 56px;
  overflow: visible;
}

/* Soft blurred gradient blobs — brand blue + success green — give the hero
   atmosphere without needing any image assets. Purely decorative, so they're
   pinned behind everything and ignore pointer/scroll. */
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.35;
  pointer-events: none;
}

.hero::before {
  width: 420px;
  height: 420px;
  background: var(--accent);
  top: -140px;
  left: -120px;
}

.hero::after {
  width: 360px;
  height: 360px;
  background: #1e8e3e;
  top: -80px;
  right: -140px;
  opacity: 0.22;
}

@media (prefers-color-scheme: dark) {
  .hero::before, .hero::after { opacity: 0.18; }
}

.hero-inner {
  display: flex;
  justify-content: center;
}

.hero-copy { max-width: 640px; text-align: center; }

.hero-copy h1 {
  font-size: 46px;
  line-height: 1.15;
  margin: 0 0 18px;
}

.hero-copy .accent-word {
  background: linear-gradient(90deg, var(--accent), #1e8e3e);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-copy .tagline {
  font-size: 18px;
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto 28px;
}

.badge-row {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #1a1a1a;
  color: #fff;
  border-radius: 10px;
  padding: 12px 22px;
  font-size: 14px;
  cursor: default;
  user-select: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

@media (prefers-color-scheme: dark) {
  .store-badge { background: #2a2a2a; }
}

.store-badge .big { font-weight: 600; }
.store-badge .dot { opacity: 0.6; }

section.features { padding: 56px 0 48px; }

.section-title {
  text-align: center;
  font-size: 28px;
  margin: 0 0 8px;
}

.section-subtitle {
  text-align: center;
  color: var(--muted);
  font-size: 16px;
  max-width: 560px;
  margin: 0 auto 40px;
}

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

@media (max-width: 760px) {
  .feature-grid { grid-template-columns: 1fr; }
  .hero-copy h1 { font-size: 32px; }
  .receipt-card { padding: 22px 20px; }
}

.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 26px 22px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.feature-icon svg { width: 64px; height: 64px; }

.feature-card .moment {
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 11px;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 6px;
}

.feature-card h3 { margin: 0 0 8px; font-size: 17px; }
.feature-card p { color: var(--muted); font-size: 14px; margin: 0; }

section.story-section { padding: 8px 0 56px; }

.story-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

@media (max-width: 860px) {
  .story-grid { grid-template-columns: 1fr; gap: 32px; }
}

.story-narrative h2 {
  font-size: 28px;
  margin: 0 0 18px;
  text-align: left;
  line-height: 1.2;
}

.story-narrative p {
  font-size: 15.5px;
  color: var(--muted);
  margin: 0 0 16px;
}

.story-narrative strong { color: var(--fg); }

.story-punchline {
  font-size: 16px;
  color: var(--fg) !important;
  font-weight: 500;
}

.story-punchline strong { color: #1e8e3e; }

/* A recap styled like an actual receipt — the product's own core artifact —
   instead of a generic stat card. Monospace + dashed rules do the work. */
.receipt-card {
  font-family: "SFMono-Regular", ui-monospace, Menlo, Consolas, monospace;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 26px 24px 22px;
  font-size: 12.5px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
  transform: rotate(0.6deg);
}

.receipt-card .r-title {
  text-align: center;
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 12.5px;
  margin-bottom: 2px;
}

.receipt-card .r-sub {
  text-align: center;
  color: var(--muted);
  font-size: 10.5px;
  margin-bottom: 16px;
}

.receipt-divider {
  border: none;
  border-top: 1px dashed var(--border);
  margin: 14px 0;
}

.r-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 5px 0;
  color: var(--muted);
}

.r-line .r-amt { color: #1e8e3e; font-weight: 700; white-space: nowrap; }

.r-total {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  font-size: 13.5px;
  color: var(--fg);
  padding-top: 4px;
}

.r-foot {
  text-align: center;
  color: var(--muted);
  font-size: 10px;
  margin-top: 18px;
  letter-spacing: 0.03em;
}

.cta {
  position: relative;
  text-align: center;
  padding: 48px 0 72px;
  overflow: visible;
}

.cta::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 480px;
  height: 260px;
  left: 50%;
  top: -20px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.1;
  filter: blur(60px);
  pointer-events: none;
}

.cta h2 { font-size: 26px; margin-bottom: 12px; }
.cta p { color: var(--muted); margin-bottom: 28px; }
.cta .contact-link { font-size: 14px; margin-top: 20px; display: block; color: var(--muted); }
