:root {
  --indigo: #1B2A4A;
  --indigo-deep: #131F38;
  --cream: #F7F3EA;
  --terracotta: #C2622D;
  --gold: #E8B84B;
  --baobab-green: #4F9469;

  --font-display: 'Fraunces', serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--indigo);
  color: var(--cream);
  font-family: var(--font-body);
  line-height: 1.5;
}

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 32px; }
a { color: inherit; }

.topbar { padding: 24px 0; border-bottom: 1px solid rgba(247, 243, 234, 0.12); }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; }
.brand { font-family: var(--font-display); font-weight: 600; font-size: 20px; }
.topbar nav { display: flex; align-items: center; gap: 28px; font-size: 15px; }
.topbar nav a { text-decoration: none; opacity: 0.85; }
.topbar nav a:hover { opacity: 1; }
.cta-ghost { border: 1px solid rgba(247, 243, 234, 0.35); padding: 8px 16px; border-radius: 999px; font-size: 14px !important; }

.hero { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; padding: 96px 32px 80px; }
.eyebrow { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold); margin: 0 0 16px; }
h1 { font-family: var(--font-display); font-size: clamp(40px, 5vw, 60px); font-weight: 700; line-height: 1.08; margin: 0 0 24px; }
.lede { font-size: 18px; color: rgba(247, 243, 234, 0.8); max-width: 46ch; margin: 0 0 36px; }
.hero-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta-primary { background: var(--gold); color: var(--indigo-deep); text-decoration: none; padding: 14px 28px; border-radius: 999px; font-weight: 600; font-size: 15px; display: inline-block; transition: transform 0.15s ease, background 0.15s ease; }
.cta-primary:hover { background: #d9a83a; transform: translateY(-1px); }
.cta-text { text-decoration: none; font-size: 15px; opacity: 0.85; border-bottom: 1px solid rgba(247,243,234,0.3); }
.cta-text:hover { opacity: 1; }

/* Hero visual: a cash-out voucher whose code reveals, then gets stamped REDEEMED */
.hero-visual { text-align: center; }
.voucher-body { fill: var(--indigo-deep); stroke: rgba(247, 243, 234, 0.25); stroke-width: 1.5; }
.voucher-perf { stroke: rgba(247, 243, 234, 0.2); stroke-width: 1.5; stroke-dasharray: 4 4; }
.voucher-notch { fill: var(--indigo); }
.voucher-label { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em; fill: rgba(247,243,234,0.55); }
.voucher-amount { font-family: var(--font-display); font-size: 26px; font-weight: 700; fill: var(--cream); }
.voucher-code { font-family: var(--font-mono); font-size: 20px; letter-spacing: 0.15em; fill: var(--gold); }
.voucher-side-label { font-family: var(--font-mono); font-size: 9px; fill: rgba(247,243,234,0.45); text-anchor: middle; }
.voucher-qr { fill: rgba(247, 243, 234, 0.15); stroke: rgba(247, 243, 234, 0.3); }

.paid-stamp-box { fill: none; stroke: var(--terracotta); stroke-width: 2.5; rx: 4; transform-origin: 120px 157px; transform: rotate(-8deg) scale(0); animation: stamp-in 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) forwards 2s; }
.paid-stamp-text { font-family: var(--font-mono); font-size: 13px; font-weight: 700; fill: var(--terracotta); text-anchor: middle; transform-origin: 120px 157px; transform: rotate(-8deg) scale(0); animation: stamp-in 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) forwards 2s; }
@keyframes stamp-in { to { transform: rotate(-8deg) scale(1); } }

.visual-caption { font-family: var(--font-mono); font-size: 13px; color: rgba(247, 243, 234, 0.55); margin-top: 16px; }

.section { padding: 88px 0; }
.section-alt { background: var(--indigo-deep); }
.section h2 { font-family: var(--font-display); font-size: clamp(28px, 3.4vw, 40px); font-weight: 600; line-height: 1.15; margin: 0 0 40px; max-width: 24ch; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 32px; }
.steps li { display: flex; gap: 24px; align-items: flex-start; }
.step-num { font-family: var(--font-mono); font-size: 14px; color: var(--gold); border: 1px solid rgba(232, 184, 75, 0.4); border-radius: 50%; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.steps h3 { font-family: var(--font-display); font-size: 19px; margin: 0 0 6px; font-weight: 600; }
.steps p { margin: 0; color: rgba(247, 243, 234, 0.72); max-width: 56ch; }

.two-col { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 56px; align-items: center; }
.lede-small { color: rgba(247, 243, 234, 0.72); max-width: 48ch; }
.stat-list { display: grid; gap: 24px; }
.stat { border: 1px solid rgba(247, 243, 234, 0.12); border-radius: 12px; padding: 24px; display: flex; justify-content: space-between; align-items: baseline; }
.stat-num { font-family: var(--font-display); font-size: 28px; font-weight: 600; color: var(--gold); }
.stat-label { font-size: 14px; color: rgba(247, 243, 234, 0.65); text-align: right; max-width: 20ch; }

.cta-band { text-align: center; }
.cta-band h2 { max-width: none; margin: 0 auto 32px; }
.cta-on-dark { background: var(--gold); color: var(--indigo-deep); font-weight: 600; }
.cta-on-dark:hover { background: #d9a83a; }

.footer { padding: 32px 0; border-top: 1px solid rgba(247, 243, 234, 0.12); font-size: 14px; color: rgba(247, 243, 234, 0.6); }
.footer a { color: var(--gold); text-decoration: none; }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-top: 64px; }
  .two-col { grid-template-columns: 1fr; }
  .stat-label { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  .paid-stamp-box, .paid-stamp-text { animation: none; transform: rotate(-8deg) scale(1); }
}
