@import url('https://fonts.googleapis.com/css2?family=Schibsted+Grotesk:wght@400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500&display=swap');

/* ─────────────────────────────────────────────────────────────────────
   WalletLab — Apple-like landing
   Palette: --bg, --fg, --muted, --accent (green), --lime
   ───────────────────────────────────────────────────────────────────── */

:root {
  --bg: #F3F4F0;
  --bg-soft: #E8EAE4;
  --bg-card: #ffffff;
  --fg: #0A0F0C;
  --fg-2: #39443D;
  --muted: #6F7A72;
  --muted-2: #98A29B;
  --line: rgba(10, 15, 12, 0.08);
  --line-strong: rgba(10, 15, 12, 0.14);
  --accent: #0E9D5C;
  --accent-ink: #FFFFFF;
  --lime: #2FD46A;
  --lime-ink: #06271B;
  --green-deep: #06271B;
  --gold-bg: rgba(14, 157, 92, 0.10);
  --gold-ring: rgba(14, 157, 92, 0.28);

  --r-sm: 8px;
  --r: 12px;
  --r-lg: 16px;
  --r-xl: 22px;
  --r-2xl: 28px;
  --r-pill: 999px;

  --nav-h: 64px;
  --safe-t: env(safe-area-inset-top, 0px);
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-l: env(safe-area-inset-left, 0px);
  --safe-r: env(safe-area-inset-right, 0px);

  --font-display: "Schibsted Grotesk", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-text: "Schibsted Grotesk", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

:root.dark {
  --bg: #0a1410;
  --bg-soft: #0e1c16;
  --bg-card: #112019;
  --fg: #f1f5ef;
  --fg-2: #d5ddd6;
  --muted: #8fa094;
  --muted-2: #6a7c70;
  --line: rgba(245, 247, 244, 0.08);
  --line-strong: rgba(245, 247, 244, 0.14);
  --accent: #8fc430;
  --accent-ink: #0a1410;
  --lime: #8fc430;
  --lime-ink: #0a1410;
  --gold-bg: rgba(143, 196, 48, 0.1);
  --gold-ring: rgba(143, 196, 48, 0.25);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-text);
  background: var(--bg);
  color: var(--fg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv11";
  letter-spacing: -0.011em;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* ── Container ─────────────────────────────────────────────────────── */
.wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}
@media (max-width: 720px) {
  .wrap { padding: 0 20px; }
}

/* ── Nav ───────────────────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 80;
  height: calc(var(--nav-h) + var(--safe-t));
  padding-top: var(--safe-t);
  display: flex; align-items: center;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex; align-items: center; gap: 32px; width: 100%;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-weight: 700; font-size: 16px;
  letter-spacing: -0.025em;
  color: var(--fg);
}
.brand-mark {
  width: 30px; height: 30px; border-radius: 9px;
  background: var(--accent);
  display: grid; place-items: center;
  color: var(--accent-ink);
  flex-shrink: 0;
}
.nav-links {
  display: flex; align-items: center; gap: 28px;
  margin-left: auto;
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
}
.nav-links a { transition: color .15s; }
.nav-links a:hover { color: var(--fg); }
.nav-tools {
  display: flex; align-items: center; gap: 8px;
}
.icon-btn {
  width: 36px; height: 36px; border-radius: var(--r);
  background: transparent; border: 1px solid var(--line);
  color: var(--fg-2);
  display: grid; place-items: center;
  transition: background .15s, color .15s;
}
.icon-btn:hover { background: var(--bg-soft); color: var(--fg); }
.lang-switch {
  display: inline-flex;
  border: 1px solid var(--line); border-radius: var(--r);
  overflow: hidden;
  font-size: 12px; font-weight: 600;
  background: transparent;
}
.lang-switch button {
  height: 36px; padding: 0 12px;
  background: transparent; color: var(--muted); border: 0;
  font-weight: 600;
}
.lang-switch button.on { background: var(--fg); color: var(--bg); }
@media (max-width: 800px) {
  .nav-links > a, .lang-switch { display: none; }
  .nav-tools .icon-btn.theme-toggle-desktop { display: none; }
  .nav-tools .btn { display: none; }
}
.nav-burger { display: none; }
@media (max-width: 800px) {
  .nav-burger {
    display: grid; place-items: center;
    width: 44px; height: 44px; border-radius: var(--r);
    background: transparent; border: 1px solid var(--line);
    color: var(--fg);
  }
  .nav-burger:active { background: var(--bg-soft); }
}

/* ── Mobile menu (full-screen) ─────────────────────────────────────── */
.mobile-menu {
  position: fixed; inset: 0; z-index: 200;
  background: var(--bg);
  display: flex; flex-direction: column;
  padding-top: var(--safe-t);
  padding-bottom: var(--safe-b);
  padding-left: var(--safe-l);
  padding-right: var(--safe-r);
  transform: translateX(100%);
  transition: transform .28s cubic-bezier(.32,.72,0,1);
  visibility: hidden;
}
.mobile-menu.open {
  transform: translateX(0);
  visibility: visible;
}
.mobile-menu-head {
  height: var(--nav-h);
  padding: 0 20px;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
}
.mobile-menu-body {
  flex: 1; overflow-y: auto;
  display: flex; flex-direction: column;
  padding: 12px 20px 20px;
}
.mobile-menu-link {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
  font-family: var(--font-display);
  font-size: 26px; font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--fg);
  border-bottom: 1px solid var(--line);
}
.mobile-menu-link svg { color: var(--muted); }
.mobile-menu-foot {
  padding: 20px;
  display: flex; flex-direction: column; gap: 12px;
  border-top: 1px solid var(--line);
}
.mobile-menu-row {
  display: flex; gap: 8px; align-items: center;
  justify-content: space-between;
}
.mobile-menu-row .lang-switch { display: inline-flex; }
.mobile-menu-row .icon-btn { width: 44px; height: 44px; }
.mobile-menu .btn { width: 100%; justify-content: center; height: 56px; }

/* ── Floating action button (PWA back-to-top / menu) ──────────────── */
.fab-stack {
  position: fixed;
  bottom: calc(20px + var(--safe-b));
  right: calc(20px + var(--safe-r));
  z-index: 70;
  display: flex; flex-direction: column; gap: 10px;
  pointer-events: none;
}
.fab-stack > * { pointer-events: auto; }
.fab {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--fg); color: var(--bg);
  border: 0;
  display: grid; place-items: center;
  box-shadow: 0 8px 24px rgba(13, 31, 23, 0.25), 0 0 0 1px var(--line-strong);
  transition: transform .2s cubic-bezier(.32,.72,0,1), opacity .2s;
  transform: translateY(0) scale(1);
}
.fab.accent { background: var(--accent); color: var(--accent-ink); }
.fab.lime { background: var(--lime); color: var(--lime-ink); }
.fab:active { transform: scale(0.94); }
.fab.hidden {
  transform: translateY(20px) scale(0.6);
  opacity: 0;
  pointer-events: none;
}
@media (min-width: 801px) {
  .fab-stack { display: none; }
}

/* ── Buttons ───────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 52px; padding: 0 24px;
  border-radius: var(--btn-radius, 14px);
  font-weight: 600; font-size: 15px; letter-spacing: -0.01em;
  border: 1px solid transparent;
  transition: transform .12s ease, opacity .15s, background .15s, border-color .15s;
  white-space: nowrap;
  background: var(--btn-bg, var(--fg));
  color: var(--btn-fg, var(--bg));
}
.btn:active { transform: scale(0.98); }
.btn.primary {
  background: var(--accent);
  color: var(--accent-ink);
}
.btn.primary:hover { opacity: 0.92; }
.btn.lime {
  background: var(--lime);
  color: var(--lime-ink);
}
.btn.ghost {
  background: transparent;
  color: var(--fg);
  border-color: var(--line-strong);
}
.btn.ghost:hover { background: var(--bg-soft); }
.btn.sm { height: 38px; padding: 0 14px; font-size: 13px; }

/* honor tweak: ghost vs filled */
:root[data-btn-fill="ghost"] .btn.primary {
  background: transparent;
  color: var(--accent);
  border-color: currentColor;
}
:root[data-btn-fill="ghost"] .btn.lime {
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--lime);
}

/* ── Hero ──────────────────────────────────────────────────────────── */
.hero {
  padding-top: calc(var(--nav-h) + 80px);
  padding-bottom: 120px;
  position: relative;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  height: 28px; padding: 0 14px;
  background: var(--gold-bg);
  border: 1px solid var(--gold-ring);
  color: var(--lime);
  border-radius: var(--r-pill);
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  margin-bottom: 28px;
}
:root:not(.dark) .hero-eyebrow { color: #5d8a1e; }
.hero-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(48px, 9vw, 132px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 0.95;
  margin: 0 0 32px;
  color: var(--fg);
  text-wrap: balance;
  max-width: 1080px;
}
.hero h1 em { font-style: normal; color: var(--accent); }
:root.dark .hero h1 em { color: var(--lime); }
.hero-sub {
  font-size: clamp(17px, 1.6vw, 22px);
  line-height: 1.45;
  color: var(--muted);
  max-width: 580px;
  margin: 0 0 40px;
  text-wrap: pretty;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Hero grid: text + card mockup */
.hero-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
}
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
}
.hero-card-col { display: flex; justify-content: center; }

/* ── Section primitives ───────────────────────────────────────────── */
.section { padding: 112px 0; position: relative; }
.section.tight { padding: 80px 0; }
.section.dark-band {
  background: var(--accent);
  color: var(--accent-ink);
}
.section.soft-band {
  background: var(--bg-soft);
}
:root.dark .section.soft-band { background: #0e1c16; }
.section-head {
  max-width: 720px;
  margin: 0 0 64px;
}
.section.center .section-head { margin: 0 auto 64px; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}
.section.dark-band .eyebrow { color: var(--lime); }
.eyebrow-bar { width: 24px; height: 1px; background: currentColor; opacity: 0.5; }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(34px, 5.2vw, 64px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.02;
  margin: 0 0 24px;
  text-wrap: balance;
}
.section-sub {
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.55;
  color: var(--muted);
  max-width: 600px;
  text-wrap: pretty;
}
.section.dark-band .section-sub { color: color-mix(in srgb, var(--accent-ink) 70%, transparent); }

/* ── Logos band ────────────────────────────────────────────────────── */
.logos {
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px; flex-wrap: wrap;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.logos-lead {
  font-size: 13px; color: var(--muted);
  letter-spacing: -0.005em;
}
.logos-items { display: flex; align-items: center; gap: 40px; flex-wrap: wrap; }
.logo-item {
  font-family: var(--font-display);
  font-size: 18px; font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.03em;
  opacity: 0.55;
  transition: opacity .2s;
}
.logo-item:hover { opacity: 1; }

/* ── Stats band ────────────────────────────────────────────────────── */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
@media (max-width: 800px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat { border-top: 1px solid var(--line-strong); padding-top: 28px; }
.section.dark-band .stat { border-top-color: color-mix(in srgb, var(--accent-ink) 18%, transparent); }
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 600; letter-spacing: -0.04em;
  line-height: 1;
}
.stat-num sup { font-size: 0.5em; vertical-align: super; font-weight: 500; }
.stat-label {
  margin-top: 14px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
  max-width: 240px;
}
.section.dark-band .stat-label { color: color-mix(in srgb, var(--accent-ink) 70%, transparent); }

/* ── Features grid ─────────────────────────────────────────────────── */
.features {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--r-2xl);
  overflow: hidden;
}
@media (max-width: 900px) { .features { grid-template-columns: 1fr; } }
.feat {
  background: var(--bg);
  padding: 40px 32px;
  display: flex; flex-direction: column;
  min-height: 280px;
}
.feat-icon {
  width: 48px; height: 48px; border-radius: 14px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  display: grid; place-items: center;
  color: var(--accent);
  margin-bottom: 28px;
}
:root.dark .feat-icon { color: var(--lime); }
.feat-tag {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
.feat-title {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 600;
  letter-spacing: -0.025em;
  margin: 0 0 12px;
}
.feat-body {
  font-size: 15px; line-height: 1.55;
  color: var(--muted);
  margin: 0;
  text-wrap: pretty;
}

/* ── Steps (how it works) ──────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }
.step {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-2xl);
  padding: 36px 32px;
  min-height: 340px;
  display: flex; flex-direction: column;
  position: relative;
}
.step-num {
  font-family: var(--font-display);
  font-size: 72px; font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--accent);
  margin-bottom: 24px;
}
:root.dark .step-num { color: var(--lime); }
.step-title {
  font-family: var(--font-display);
  font-size: 24px; font-weight: 600;
  letter-spacing: -0.025em;
  margin: 0 0 12px;
}
.step-body { font-size: 15px; line-height: 1.55; color: var(--muted); }
.step-foot {
  margin-top: auto;
  padding-top: 24px;
  font-size: 12px; font-weight: 600;
  color: var(--muted-2);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: flex; align-items: center; gap: 8px;
}

/* ── Use cases ─────────────────────────────────────────────────────── */
.usecases {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}
@media (max-width: 900px) { .usecases { grid-template-columns: repeat(2, 1fr); } }
.usecase {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 24px 20px;
  display: flex; flex-direction: column;
  gap: 14px;
  transition: border-color .15s, transform .15s;
  min-height: 180px;
}
.usecase:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
}
.usecase-emoji-slot {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  display: grid; place-items: center;
  color: var(--accent);
}
:root.dark .usecase-emoji-slot { color: var(--lime); }
.usecase-name {
  font-family: var(--font-display);
  font-weight: 600; font-size: 17px;
  letter-spacing: -0.02em;
  margin-top: auto;
}
.usecase-reward {
  font-size: 13px; color: var(--muted);
  line-height: 1.4;
}

/* ── Comparison (paper vs digital) ─────────────────────────────────── */
.compare {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 8px;
}
@media (max-width: 800px) { .compare { grid-template-columns: 1fr; } }
.compare-col {
  border: 1px solid var(--line);
  border-radius: var(--r-2xl);
  padding: 40px 36px;
  min-height: 440px;
  display: flex; flex-direction: column;
}
.compare-col.bad { background: var(--bg-card); }
.compare-col.good {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
}
:root.dark .compare-col.good { color: var(--accent-ink); }
.compare-tag {
  font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 16px;
  color: var(--muted);
}
.compare-col.good .compare-tag { color: var(--lime); }
.compare-title {
  font-family: var(--font-display);
  font-size: 32px; font-weight: 600;
  letter-spacing: -0.03em;
  margin: 0 0 32px;
  line-height: 1.05;
}
.compare-list {
  display: flex; flex-direction: column; gap: 14px;
  list-style: none; padding: 0; margin: 0;
}
.compare-list li {
  display: flex; gap: 14px;
  font-size: 15px; line-height: 1.45;
}
.compare-list .check {
  width: 22px; height: 22px; flex-shrink: 0;
  border-radius: 50%;
  background: var(--lime);
  color: var(--lime-ink);
  display: grid; place-items: center;
  font-size: 13px; font-weight: 800;
  margin-top: 1px;
}
.compare-list .cross {
  width: 22px; height: 22px; flex-shrink: 0;
  border-radius: 50%;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  color: var(--muted);
  display: grid; place-items: center;
  font-size: 13px; font-weight: 700;
  margin-top: 1px;
}

/* ── Testimonials ──────────────────────────────────────────────────── */
.testimonials {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
}
@media (max-width: 900px) { .testimonials { grid-template-columns: 1fr; } }
.testimonial {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-2xl);
  padding: 32px 28px;
  display: flex; flex-direction: column; gap: 24px;
}
.testimonial-quote {
  font-family: var(--font-display);
  font-size: 19px; font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.4;
  text-wrap: pretty;
}
.testimonial-author {
  display: flex; align-items: center; gap: 12px;
  margin-top: auto;
}
.avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  display: grid; place-items: center;
  font-weight: 700; font-size: 14px;
  font-family: var(--font-display);
}
.testimonial-name { font-size: 14px; font-weight: 600; }
.testimonial-role { font-size: 13px; color: var(--muted); }

/* ── Pricing ───────────────────────────────────────────────────────── */
.pricing {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
}
@media (max-width: 900px) { .pricing { grid-template-columns: 1fr; } }
.plan {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-2xl);
  padding: 36px 32px;
  display: flex; flex-direction: column;
  min-height: 500px;
}
.plan.featured {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}
.plan-name {
  font-family: var(--font-display);
  font-size: 14px; font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}
.plan.featured .plan-name { color: var(--lime); }
.plan-price {
  font-family: var(--font-display);
  font-size: 64px; font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1;
}
.plan-price .currency { font-size: 0.5em; vertical-align: super; margin-right: 4px; }
.plan-period {
  font-size: 14px; color: var(--muted);
  margin-top: 8px; margin-bottom: 28px;
  height: 36px;
}
.plan.featured .plan-period { color: color-mix(in srgb, var(--accent-ink) 65%, transparent); }
.plan-desc {
  font-size: 14px; color: var(--muted); margin-bottom: 24px;
  line-height: 1.5;
}
.plan.featured .plan-desc { color: color-mix(in srgb, var(--accent-ink) 75%, transparent); }
.plan-items {
  list-style: none; padding: 0; margin: 0 0 28px;
  display: flex; flex-direction: column; gap: 12px; flex: 1;
}
.plan-items li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; line-height: 1.45;
}
.plan-items li svg { flex-shrink: 0; margin-top: 2px; color: var(--accent); }
.plan.featured .plan-items li svg { color: var(--lime); }
.plan-btn {
  display: grid; place-items: center;
  height: 52px;
  border-radius: var(--btn-radius, 14px);
  background: var(--fg); color: var(--bg);
  font-weight: 600; font-size: 15px;
  border: 0;
}
.plan.featured .plan-btn {
  background: var(--lime); color: var(--lime-ink);
}
.plan-badge {
  display: inline-flex; align-items: center;
  height: 22px; padding: 0 10px;
  background: var(--lime); color: var(--lime-ink);
  border-radius: var(--r-pill);
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase;
  margin-left: 10px;
  vertical-align: middle;
}

/* ── FAQ ───────────────────────────────────────────────────────────── */
.faq {
  display: flex; flex-direction: column;
  border-top: 1px solid var(--line);
}
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; text-align: left;
  background: transparent; border: 0;
  padding: 24px 0;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  font-family: var(--font-display);
  font-size: 20px; font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--fg);
}
.faq-q .plus {
  width: 28px; height: 28px; border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: grid; place-items: center;
  font-size: 18px; font-weight: 500;
  color: var(--muted);
  flex-shrink: 0;
  transition: transform .25s, background .15s;
}
.faq-item.open .faq-q .plus {
  background: var(--accent); color: var(--accent-ink); border-color: var(--accent);
  transform: rotate(45deg);
}
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .25s ease, padding-bottom .25s;
  font-size: 16px; line-height: 1.55;
  color: var(--muted);
  max-width: 720px;
  text-wrap: pretty;
}
.faq-item.open .faq-a { max-height: 240px; padding-bottom: 24px; }

/* ── Big CTA ───────────────────────────────────────────────────────── */
.bigcta {
  background: var(--accent);
  border-radius: var(--r-2xl);
  padding: 88px 56px;
  position: relative;
  overflow: hidden;
  color: var(--accent-ink);
}
.bigcta::after {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 90% 10%, color-mix(in srgb, var(--lime) 30%, transparent), transparent 50%),
    radial-gradient(circle at 5% 90%, color-mix(in srgb, var(--lime) 18%, transparent), transparent 45%);
  pointer-events: none;
}
.bigcta-inner { position: relative; max-width: 720px; }
.bigcta h2 {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  margin: 0 0 24px;
  text-wrap: balance;
}
.bigcta p {
  font-size: clamp(16px, 1.5vw, 20px);
  color: color-mix(in srgb, var(--accent-ink) 75%, transparent);
  line-height: 1.5;
  margin: 0 0 36px;
  max-width: 540px;
}
.bigcta .btn.lime { background: var(--lime); color: var(--lime-ink); }
@media (max-width: 720px) { .bigcta { padding: 56px 32px; } }

/* ── Footer ────────────────────────────────────────────────────────── */
.footer {
  padding: 80px 0 48px;
  border-top: 1px solid var(--line);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 56px;
}
@media (max-width: 800px) { .footer-top { grid-template-columns: 1fr 1fr; } }
.footer-brand-block { display: flex; flex-direction: column; gap: 16px; max-width: 280px; }
.footer-tag { color: var(--muted); font-size: 14px; line-height: 1.55; }
.footer-col h4 {
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 16px;
}
.footer-col a {
  display: block;
  padding: 6px 0;
  font-size: 14px; color: var(--fg-2);
  transition: color .15s;
}
.footer-col a:hover { color: var(--fg); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 32px; gap: 24px; flex-wrap: wrap;
  border-top: 1px solid var(--line);
  font-size: 13px; color: var(--muted);
}
.footer-bottom-links { display: flex; gap: 24px; }

/* ── Big wordmark (footer flourish) ───────────────────────────────── */
.wordmark {
  font-family: var(--font-display);
  font-size: clamp(80px, 22vw, 280px);
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: 0.85;
  color: var(--fg);
  opacity: 0.05;
  text-align: center;
  padding: 32px 0;
  user-select: none;
}
:root.dark .wordmark { opacity: 0.08; }

/* ── Demo carousel (card style picker shown in hero) ─────────────── */
.card-style-pills {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border-radius: var(--r-pill);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  margin-top: 28px;
}
.card-style-pills button {
  height: 34px; padding: 0 14px;
  background: transparent; border: 0;
  border-radius: var(--r-pill);
  font-size: 13px; font-weight: 600;
  color: var(--muted);
  display: inline-flex; align-items: center; gap: 6px;
  transition: background .15s, color .15s;
}
.card-style-pills button.on {
  background: var(--bg-card);
  color: var(--fg);
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

/* ── Interactive card mockups (containers) ────────────────────────── */
.demo-card-frame {
  width: 100%;
  max-width: 380px;
  perspective: 1200px;
}
.demo-card-inner {
  position: relative;
  transform: rotateY(-6deg) rotateX(3deg);
  transition: transform .4s ease;
}
.demo-card-frame:hover .demo-card-inner { transform: rotateY(0deg) rotateX(0deg); }

/* Apple Wallet style */
.aw-card {
  background: linear-gradient(150deg, #0d3d2b 0%, #082018 100%);
  border-radius: 22px;
  padding: 22px 22px 18px;
  color: #f5f7f4;
  box-shadow:
    0 32px 80px rgba(13, 61, 43, 0.32),
    0 0 0 1px rgba(143, 196, 48, 0.12) inset;
  position: relative;
  overflow: hidden;
}
.aw-card::before {
  content: '';
  position: absolute; top: 0; left: 12%; right: 12%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(143,196,48,0.5), transparent);
}
.aw-head {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 22px;
}
.aw-brand-row { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.aw-brand-mark {
  width: 22px; height: 22px; border-radius: 6px;
  background: #8fc430;
  display: grid; place-items: center;
  color: #0d1f17;
}
.aw-brand-name {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(245, 247, 244, 0.85);
}
.aw-label {
  font-size: 9px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(245,247,244,0.45);
  margin-bottom: 3px;
}
.aw-primary {
  font-size: 30px; font-weight: 700;
  letter-spacing: -0.025em;
  color: #f5f7f4;
  font-family: var(--font-display);
  line-height: 1;
}
.aw-primary small { font-size: 0.55em; font-weight: 500; opacity: 0.5; margin-left: 4px; }
.aw-stamp-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 7px;
  margin: 18px 0 16px;
}
.aw-stamp {
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 11px; font-weight: 600;
  transition: background .25s ease, transform .25s ease, color .25s ease;
}
.aw-stamp.on {
  background: #8fc430; color: #0d1f17;
  transform: scale(1);
}
.aw-stamp.on.pulse { animation: stampPop .4s ease; }
.aw-stamp.off {
  border: 1.5px dashed rgba(245,247,244,0.18);
  color: rgba(245,247,244,0.3);
}
@keyframes stampPop {
  0% { transform: scale(0.3); opacity: 0; }
  60% { transform: scale(1.15); opacity: 1; }
  100% { transform: scale(1); }
}
.aw-bar {
  height: 4px;
  background: rgba(245,247,244,0.08);
  border-radius: 99px;
  overflow: hidden;
  margin-bottom: 8px;
}
.aw-fill {
  height: 100%;
  background: #8fc430;
  border-radius: 99px;
  transition: width .35s ease;
}
.aw-progress {
  display: flex; justify-content: space-between;
  font-size: 11px;
  color: rgba(245,247,244,0.5);
}
.aw-progress strong { color: rgba(245,247,244,0.85); }
.aw-barcode {
  margin-top: 16px;
  background: #f5f7f4;
  border-radius: 8px;
  padding: 10px;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.aw-barcode-bars {
  width: 100%; height: 56px;
  background-image: repeating-linear-gradient(
    90deg,
    #0d1f17 0 2px, transparent 2px 3px,
    #0d1f17 3px 4px, transparent 4px 6px,
    #0d1f17 6px 9px, transparent 9px 10px,
    #0d1f17 10px 11px, transparent 11px 14px
  );
}
.aw-barcode-id { font-family: var(--font-mono); font-size: 11px; color: #0d1f17; letter-spacing: 0.15em; }

/* Google Wallet style */
.gw-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow:
    0 32px 80px rgba(60,64,67,0.18),
    0 0 0 1px rgba(60,64,67,0.06);
  color: #202124;
}
:root.dark .gw-card {
  box-shadow:
    0 32px 80px rgba(0,0,0,0.5),
    0 0 0 1px rgba(255,255,255,0.05);
}
.gw-head {
  background: #0d3d2b;
  color: #ffffff;
  padding: 16px 18px 14px;
  display: flex; align-items: center; gap: 10px;
}
.gw-logo {
  width: 28px; height: 28px; border-radius: 6px;
  background: #8fc430;
  display: grid; place-items: center;
  color: #0d1f17;
}
.gw-issuer-meta { line-height: 1.2; }
.gw-issuer-label { font-size: 10px; opacity: 0.7; letter-spacing: 0.06em; text-transform: uppercase; }
.gw-issuer-name { font-size: 14px; font-weight: 600; letter-spacing: -0.01em; }
.gw-body { padding: 18px 18px 16px; }
.gw-label {
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.04em;
  color: #5f6368;
  margin-bottom: 2px;
}
.gw-title {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 500;
  letter-spacing: -0.015em;
  color: #202124;
  margin-bottom: 14px;
}
.gw-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px;
  margin: 12px 0 14px;
}
.gw-stamp {
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 11px; font-weight: 600;
  transition: background .25s, color .25s, transform .25s;
}
.gw-stamp.on { background: #0d3d2b; color: #fff; }
.gw-stamp.on.pulse { animation: stampPop .4s ease; }
.gw-stamp.off { background: #f1f3f4; color: #b0b6bb; }
.gw-divider { height: 1px; background: #e8eaed; margin: 12px 0; }
.gw-row {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px;
}
.gw-row .k { color: #5f6368; }
.gw-row .v { color: #202124; font-weight: 600; }
.gw-qr-strip {
  margin-top: 14px;
  height: 64px;
  display: grid; grid-template-columns: 64px 1fr;
  gap: 12px; align-items: center;
}
.gw-qr {
  width: 64px; height: 64px;
  background-image:
    linear-gradient(45deg, #202124 25%, transparent 25%),
    linear-gradient(-45deg, #202124 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #202124 75%),
    linear-gradient(-45deg, transparent 75%, #202124 75%);
  background-size: 8px 8px;
  background-position: 0 0, 0 4px, 4px -4px, -4px 0;
  border-radius: 4px;
}
.gw-qr-meta { font-size: 11px; color: #5f6368; line-height: 1.4; font-family: var(--font-mono); }

/* Web card style */
.wc-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 20px 60px rgba(13, 31, 23, 0.08);
}
.wc-row1 { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.wc-avatar {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--accent);
  color: var(--accent-ink);
  display: grid; place-items: center;
  font-weight: 700; font-family: var(--font-display);
}
.wc-brand-name { font-family: var(--font-display); font-size: 16px; font-weight: 600; }
.wc-brand-sub { font-size: 12px; color: var(--muted); }
.wc-big {
  display: flex; align-items: baseline; gap: 6px;
  margin-bottom: 18px;
}
.wc-big-num {
  font-family: var(--font-display);
  font-size: 60px; font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 0.9;
  color: var(--fg);
}
.wc-big-of { font-size: 18px; color: var(--muted); font-family: var(--font-display); }
.wc-big-label { font-size: 12px; color: var(--muted); margin-left: auto; text-transform: uppercase; letter-spacing: 0.07em; font-weight: 600; }
.wc-dots { display: grid; grid-template-columns: repeat(10, 1fr); gap: 6px; margin-bottom: 18px; }
.wc-dot {
  height: 8px; border-radius: 99px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  transition: background .25s, border-color .25s, transform .25s;
}
.wc-dot.on {
  background: var(--accent); border-color: var(--accent);
}
:root.dark .wc-dot.on { background: var(--lime); border-color: var(--lime); }
.wc-dot.on.pulse { animation: stampPop .4s ease; }
.wc-reward {
  background: var(--bg-soft);
  border-radius: var(--r);
  padding: 14px 16px;
  display: flex; align-items: center; gap: 12px;
}
.wc-reward-icon {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--accent); color: var(--accent-ink);
  display: grid; place-items: center;
  flex-shrink: 0;
}
:root.dark .wc-reward-icon { background: var(--lime); color: var(--lime-ink); }
.wc-reward-text { line-height: 1.3; }
.wc-reward-label { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600; }
.wc-reward-name { font-size: 14px; font-weight: 600; }

/* Stamp button (interactive control) */
.stamp-btn-bar {
  display: flex; gap: 8px; margin-top: 18px;
  justify-content: center;
  flex-wrap: wrap;
}
.stamp-btn {
  height: 38px; padding: 0 14px;
  border-radius: var(--r-pill);
  background: var(--fg); color: var(--bg);
  border: 0;
  font-weight: 600; font-size: 13px;
  display: inline-flex; align-items: center; gap: 6px;
}
.stamp-btn.ghost {
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--line-strong);
}

/* ── Bento "the system" ──────────────────────────────────────────── */
.bento {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 8px;
  min-height: 600px;
}
@media (max-width: 900px) {
  .bento { grid-template-columns: 1fr; grid-template-rows: none; }
}
.bento-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-2xl);
  padding: 32px;
  overflow: hidden;
  position: relative;
  min-height: 280px;
  display: flex; flex-direction: column;
}
.bento-card.tall { grid-row: span 2; min-height: 580px; }
.bento-card.dark { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.bento-card h3 {
  font-family: var(--font-display);
  font-size: 24px; font-weight: 600;
  letter-spacing: -0.025em;
  margin: 0 0 12px;
}
.bento-card .bento-body {
  font-size: 14px; line-height: 1.5;
  color: var(--muted);
  max-width: 280px;
}
.bento-card.dark .bento-body { color: color-mix(in srgb, var(--accent-ink) 75%, transparent); }
.bento-illust { margin-top: auto; padding-top: 24px; }

/* Mini phone push notification */
.push-mock {
  background: rgba(255,255,255,0.95);
  color: #1a1a1a;
  border-radius: 14px;
  padding: 12px 14px;
  display: flex; gap: 10px; align-items: flex-start;
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
  max-width: 290px;
}
.push-mock-icon {
  width: 36px; height: 36px; border-radius: 8px;
  background: #0d3d2b; flex-shrink: 0;
  display: grid; place-items: center; color: #f5f7f4;
}
.push-mock-meta { font-size: 10px; color: #8a8a8a; letter-spacing: 0.05em; text-transform: uppercase; }
.push-mock-title { font-size: 13px; font-weight: 600; color: #1a1a1a; }
.push-mock-body  { font-size: 12px; color: #4a4a4a; line-height: 1.35; margin-top: 2px; }

/* Mini dashboard chart */
.mini-chart {
  height: 80px;
  display: grid; grid-template-columns: repeat(12, 1fr);
  gap: 4px; align-items: end;
}
.mini-bar {
  background: var(--accent);
  border-radius: 3px 3px 0 0;
  opacity: 0.85;
}
:root.dark .mini-bar { background: var(--lime); }
.bento-card.dark .mini-bar { background: var(--lime); }

/* Lang labels */
.lang { display: none; }
.lang.active { display: inline; }
.lang-block { display: none; }
.lang-block.active { display: block; }
.lang-flex.active { display: flex; }
.lang-grid.active { display: grid; }

/* utility */
.right { text-align: right; }
.center { text-align: center; }
.muted { color: var(--muted); }
.inline-flex { display: inline-flex; gap: 8px; align-items: center; }
.flex { display: flex; }
.gap-12 { gap: 12px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }

@media (max-width: 720px) {
  .hero {
    padding-top: calc(var(--nav-h) + var(--safe-t) + 48px);
    padding-bottom: 72px;
  }
  .hero h1 { letter-spacing: -0.035em; }
  .hero-grid { gap: 40px; }
  .hero-actions .btn { flex: 1; justify-content: center; }
  .footer { padding: 56px 0 calc(36px + var(--safe-b)); }
  /* Touch target floor */
  .stamp-btn { height: 44px; padding: 0 18px; }
  .plan-btn { height: 52px; }
  .faq-q { padding: 20px 0; font-size: 17px; }
  .faq-q > span:first-child { padding-right: 16px; }
}
