/* ============================================
   LuckyStep — Editorial Wellness Aesthetic
   Cream + Forest + Gold palette
   ============================================ */

:root {
  /* Palette */
  --cream:        #F5F0E4;
  --cream-warm:   #EFE6D1;
  --paper:        #FAF6EC;
  --ink:          #0F2A22;
  --ink-soft:     #1E3D33;
  --ink-mid:      #4A5C53;
  --gold:         #C8954A;
  --gold-light:   #E8C887;
  --gold-deep:    #9A6F30;
  --coral:        #E2593D;
  --sage:         #B5C2A8;
  --sage-deep:    #6E8472;
  --line:         #D9D0B9;

  /* Type */
  --font-display: 'Fraunces', 'Times New Roman', serif;
  --font-body:    'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, monospace;

  /* Spacing */
  --radius-sm: 8px;
  --radius:    18px;
  --radius-lg: 32px;
  --radius-pill: 999px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  letter-spacing: -0.005em;
  overflow-x: hidden;
  background-image:
    radial-gradient(ellipse 800px 400px at 85% -10%, rgba(200, 149, 74, 0.10), transparent 60%),
    radial-gradient(ellipse 600px 500px at 0% 50%, rgba(15, 42, 34, 0.04), transparent 60%);
}

/* Subtle paper grain */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.45;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.06 0 0 0 0 0.16 0 0 0 0 0.13 0 0 0 0.13 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* Layout */
.wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 2;
}

.wrap-narrow {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
  z-index: 2;
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  background: rgba(245, 240, 228, 0.72);
  border-bottom: 1px solid rgba(15, 42, 34, 0.08);
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.02em;
  font-style: italic;
}
.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--ink);
  display: grid;
  place-items: center;
  color: var(--gold-light);
  font-family: var(--font-display);
  font-weight: 700;
  font-style: italic;
  font-size: 18px;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-soft);
  position: relative;
  transition: color 0.2s var(--ease);
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; right: 100%;
  bottom: -4px;
  height: 1.5px;
  background: var(--gold);
  transition: right 0.3s var(--ease);
}
.nav-links a:hover::after { right: 0; }

.nav-cta {
  background: var(--ink);
  color: var(--paper);
  padding: 11px 22px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease);
}
.nav-cta:hover { background: var(--ink-soft); transform: translateY(-1px); }

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--line);
}
.nav-toggle span {
  width: 18px; height: 1.5px; background: var(--ink);
  position: relative;
}
.nav-toggle span::before, .nav-toggle span::after {
  content: ''; position: absolute; left: 0;
  width: 18px; height: 1.5px; background: var(--ink);
}
.nav-toggle span::before { top: -5px; }
.nav-toggle span::after { top: 5px; }

@media (max-width: 860px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav.open .nav-links {
    display: flex;
    position: absolute;
    flex-direction: column;
    align-items: flex-start;
    top: 100%; left: 0; right: 0;
    background: var(--cream);
    padding: 24px 32px;
    gap: 20px;
    border-bottom: 1px solid var(--line);
  }
  .nav.open .nav-cta {
    display: inline-flex;
    position: absolute;
    top: 100%;
    right: 32px;
    margin-top: 220px;
  }
}

/* ============================================
   HERO
   ============================================ */
.hero {
  padding: 80px 0 120px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 80px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 8px;
  background: var(--cream-warm);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
  margin-bottom: 32px;
  animation: fadeUp 0.8s var(--ease) both;
}
.hero-eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 4px rgba(226, 89, 61, 0.18);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(226, 89, 61, 0.18); }
  50% { box-shadow: 0 0 0 8px rgba(226, 89, 61, 0.04); }
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(48px, 7.5vw, 96px);
  line-height: 0.96;
  letter-spacing: -0.035em;
  margin: 0 0 28px;
  color: var(--ink);
  font-variation-settings: "opsz" 144, "SOFT" 50;
}
.hero-title em {
  font-style: italic;
  color: var(--gold-deep);
  font-variation-settings: "opsz" 144, "SOFT" 100;
}
.hero-title .underline {
  display: inline-block;
  position: relative;
  white-space: nowrap;
}
.hero-title .underline::after {
  content: '';
  position: absolute;
  bottom: 0.06em;
  left: -2%;
  width: 104%;
  height: 0.18em;
  background: var(--gold);
  opacity: 0.35;
  z-index: -1;
  border-radius: 4px;
}

.hero-sub {
  font-size: 19px;
  line-height: 1.6;
  color: var(--ink-mid);
  max-width: 520px;
  margin: 0 0 40px;
  animation: fadeUp 0.8s var(--ease) 0.2s both;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
  animation: fadeUp 0.8s var(--ease) 0.4s both;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 18px 32px;
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius-pill);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.005em;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(232, 200, 135, 0.25) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.6s var(--ease);
}
.btn-primary:hover { background: var(--ink-soft); transform: translateY(-2px); }
.btn-primary:hover::before { transform: translateX(100%); }
.btn-primary svg { transition: transform 0.3s var(--ease); }
.btn-primary:hover svg { transform: translateX(3px); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  color: var(--ink);
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 500;
  border: 1px solid var(--line);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.btn-ghost:hover { background: var(--cream-warm); border-color: var(--ink); }

.hero-meta {
  margin-top: 48px;
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  animation: fadeUp 0.8s var(--ease) 0.6s both;
}
.hero-meta-stat {
  display: flex;
  flex-direction: column;
}
.hero-meta-stat strong {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.hero-meta-stat span {
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-mid);
  margin-top: 2px;
}
.hero-meta-divider {
  width: 1px;
  height: 36px;
  background: var(--line);
}

/* ----- Hero Phone Mockup ----- */
.hero-visual {
  position: relative;
  animation: fadeIn 1s var(--ease) 0.3s both;
}

.phone {
  width: 320px;
  height: 660px;
  background: var(--ink);
  border-radius: 48px;
  padding: 12px;
  margin: 0 auto;
  box-shadow:
    0 60px 120px -30px rgba(15, 42, 34, 0.45),
    0 30px 60px -20px rgba(15, 42, 34, 0.25),
    inset 0 0 0 2px #2c4138;
  position: relative;
  transform: rotate(-2.5deg);
  transition: transform 0.6s var(--ease);
}
.phone:hover { transform: rotate(0deg) translateY(-4px); }

.phone::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 28px;
  background: #0a1814;
  border-radius: 20px;
  z-index: 3;
}

.phone-screen {
  background: linear-gradient(165deg, #F5EFE2 0%, #EDE3CC 100%);
  border-radius: 38px;
  height: 100%;
  overflow: hidden;
  padding: 64px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}

.app-greet {
  font-size: 13px;
  color: var(--ink-mid);
  font-weight: 500;
}
.app-greet strong {
  display: block;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--ink);
  margin-top: 2px;
}

.app-ring-card {
  background: var(--ink);
  border-radius: 24px;
  padding: 22px 20px;
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.app-ring-card::before {
  content: '';
  position: absolute;
  right: -40px;
  top: -40px;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(200, 149, 74, 0.4), transparent 70%);
  border-radius: 50%;
}
.app-ring {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto 10px;
}
.app-ring svg { transform: rotate(-90deg); }
.app-ring .ring-bg { stroke: rgba(255,255,255,0.12); }
.app-ring .ring-fg { stroke: var(--gold-light); stroke-linecap: round; }
.app-ring-num {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.app-ring-label {
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.72;
}

.app-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.app-tile {
  background: var(--paper);
  border: 1px solid rgba(15, 42, 34, 0.06);
  border-radius: 18px;
  padding: 14px;
}
.app-tile-label {
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-mid);
  display: flex;
  align-items: center;
  gap: 6px;
}
.app-tile-value {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-top: 8px;
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.app-tile-value small { font-size: 11px; color: var(--ink-mid); font-family: var(--font-body); }
.app-coin { color: var(--gold-deep); }

.app-quest {
  background: var(--paper);
  border: 1px solid rgba(15, 42, 34, 0.06);
  border-radius: 18px;
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}
.app-quest-icon {
  width: 38px; height: 38px; border-radius: 12px;
  background: var(--gold-light);
  display: grid; place-items: center;
  font-size: 18px;
  flex-shrink: 0;
}
.app-quest-text { flex: 1; }
.app-quest-text strong { font-size: 12.5px; display: block; }
.app-quest-text span { font-size: 11px; color: var(--ink-mid); }
.app-quest-arrow {
  color: var(--ink);
  font-size: 16px;
}

/* Floating chips around phone */
.float-chip {
  position: absolute;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 18px;
  box-shadow: 0 16px 30px -10px rgba(15, 42, 34, 0.18);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  animation: float 5s ease-in-out infinite;
}
.float-chip-1 {
  top: 14%;
  left: -16%;
  color: var(--ink);
  animation-delay: 0s;
}
.float-chip-2 {
  bottom: 18%;
  right: -8%;
  animation-delay: 1.5s;
}
.float-chip-3 {
  top: 56%;
  left: -12%;
  animation-delay: 3s;
}
.float-chip-emoji {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--cream-warm);
  display: grid; place-items: center;
  font-size: 15px;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (max-width: 960px) {
  .hero { padding: 56px 0 80px; }
  .hero-grid { grid-template-columns: 1fr; gap: 60px; }
  .hero-visual { order: 2; }
  .float-chip-1 { left: -8px; top: 8%; }
  .float-chip-2 { right: -8px; bottom: 12%; }
  .float-chip-3 { display: none; }
}
@media (max-width: 540px) {
  .float-chip { font-size: 12px; padding: 10px 14px; }
  .float-chip-2 { right: -4px; }
}

/* ============================================
   MARQUEE
   ============================================ */
.marquee-band {
  background: var(--ink);
  color: var(--cream-warm);
  padding: 22px 0;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.marquee-track {
  display: flex;
  gap: 64px;
  align-items: center;
  width: max-content;
  animation: marquee 38s linear infinite;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 20px;
  letter-spacing: -0.01em;
}
.marquee-track span { display: flex; align-items: center; gap: 64px; white-space: nowrap; }
.marquee-track .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================
   SECTION COMMONS
   ============================================ */
section { position: relative; }

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 600;
  margin-bottom: 20px;
}
.section-tag::before {
  content: '';
  width: 24px; height: 1px;
  background: var(--gold-deep);
}

.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 0 0 24px;
  max-width: 700px;
}
.section-title em { color: var(--gold-deep); font-style: italic; }

.section-lead {
  font-size: 18px;
  color: var(--ink-mid);
  max-width: 580px;
  line-height: 1.55;
  margin: 0 0 64px;
}

/* ============================================
   HOW IT WORKS
   ============================================ */
.how {
  padding: 120px 0;
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 64px;
}
.how-step {
  padding: 40px 32px 32px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  position: relative;
  transition: transform 0.4s var(--ease), background 0.4s var(--ease);
}
.how-step:hover {
  transform: translateY(-6px);
  background: var(--cream-warm);
}
.how-step-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 64px;
  font-weight: 400;
  line-height: 1;
  color: var(--gold);
  display: block;
  margin-bottom: 24px;
}
.how-step h3 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  line-height: 1.15;
}
.how-step p {
  color: var(--ink-mid);
  margin: 0;
  font-size: 15.5px;
  line-height: 1.6;
}
.how-step-icon {
  position: absolute;
  top: 32px;
  right: 32px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--gold-light);
  display: grid; place-items: center;
}

@media (max-width: 860px) {
  .how-grid { grid-template-columns: 1fr; }
  .how { padding: 80px 0; }
}

/* ============================================
   FEATURES
   ============================================ */
.features {
  padding: 140px 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
  margin-top: 64px;
}
.feature-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px;
  position: relative;
  overflow: hidden;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.5s var(--ease);
}
.feature-card:hover { transform: translateY(-4px); }

.feature-card.tall { grid-row: span 2; }
.feature-card.dark { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.feature-card.dark .feature-eyebrow { color: var(--gold-light); }
.feature-card.dark p { color: rgba(245, 246, 236, 0.7); }

.feature-eyebrow {
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--gold-deep);
  font-weight: 600;
  margin-bottom: 16px;
}
.feature-card h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 32px;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 16px;
}
.feature-card p {
  color: var(--ink-mid);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
  max-width: 420px;
}

.feature-illus {
  margin-top: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Coin stack illustration */
.coin-stack {
  position: relative;
  width: 200px;
  height: 140px;
}
.coin {
  position: absolute;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--gold-light), var(--gold) 60%, var(--gold-deep));
  box-shadow: 0 12px 24px -8px rgba(154, 111, 48, 0.4), inset 0 -8px 16px rgba(0,0,0,0.15);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 600;
  font-style: italic;
  color: rgba(15, 42, 34, 0.6);
  text-shadow: 0 2px 4px rgba(255,255,255,0.4);
}
.coin-1 { top: 28px; left: 0; transform: rotate(-8deg); }
.coin-2 { top: 14px; left: 50px; transform: rotate(4deg); z-index: 2; }
.coin-3 { top: 36px; left: 100px; transform: rotate(12deg); }

.feature-card.dark .coin {
  box-shadow: 0 12px 30px -6px rgba(232, 200, 135, 0.2), inset 0 -8px 16px rgba(0,0,0,0.15);
}

/* Calendar streak illus */
.streak-cal {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  width: 100%;
  max-width: 280px;
  margin-top: 20px;
}
.streak-day {
  aspect-ratio: 1;
  border-radius: 8px;
  background: rgba(15, 42, 34, 0.06);
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-mid);
}
.streak-day.done { background: var(--gold); color: var(--ink); }
.streak-day.today { background: var(--ink); color: var(--gold-light); box-shadow: 0 0 0 3px rgba(200, 149, 74, 0.35); }
.feature-card.dark .streak-day { background: rgba(255,255,255,0.08); color: var(--cream-warm); }

@media (max-width: 960px) {
  .features { padding: 80px 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card.tall { grid-row: auto; }
}

/* ============================================
   STATS
   ============================================ */
.stats {
  padding: 100px 0;
  background: var(--ink);
  color: var(--paper);
  text-align: center;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
  margin-top: 56px;
}
.stat {
  position: relative;
}
.stat-num {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(48px, 6vw, 80px);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--gold-light);
}
.stat-num em { font-style: italic; }
.stat-label {
  font-size: 13px;
  color: rgba(245, 246, 236, 0.65);
  margin-top: 14px;
  letter-spacing: 0.05em;
}
.stats .section-title { color: var(--paper); margin: 0 auto 12px; }
.stats .section-title em { color: var(--gold-light); }
.stats .section-tag { color: var(--gold-light); justify-content: center; }
.stats .section-tag::before { background: var(--gold-light); }

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

/* ============================================
   REWARDS
   ============================================ */
.rewards {
  padding: 140px 0;
}

.reward-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 56px;
}
.reward-card {
  aspect-ratio: 1.6 / 1;
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--paper);
  position: relative;
  overflow: hidden;
  transition: transform 0.5s var(--ease);
  box-shadow: 0 18px 30px -12px rgba(15, 42, 34, 0.2);
}
.reward-card:hover { transform: translateY(-6px) rotate(-1deg); }
.reward-card .brand-name {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.reward-card .price {
  font-size: 13px;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(8px);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
}
.reward-card .price b { font-family: var(--font-display); font-style: italic; }
.reward-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 60%, rgba(255,255,255,0.12));
  pointer-events: none;
}

.r-amazon { background: linear-gradient(135deg, #232f3e, #FF9900); }
.r-starbucks { background: linear-gradient(135deg, #006241, #00754A); }
.r-walmart { background: linear-gradient(135deg, #0071CE, #FFC220); }
.r-target { background: linear-gradient(135deg, #CC0000, #870101); }
.r-nike { background: linear-gradient(135deg, #111, #333); }
.r-apple { background: linear-gradient(135deg, #555, #000); }
.r-google { background: linear-gradient(135deg, #4285F4, #34A853); }
.r-uber { background: linear-gradient(135deg, #000, #1A1A1A); }

@media (max-width: 860px) {
  .rewards { padding: 80px 0; }
  .reward-cards { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
  padding: 120px 0;
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.tm-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.tm-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
}
.tm-rating {
  display: flex;
  gap: 2px;
  margin-bottom: 18px;
  color: var(--gold);
  font-size: 14px;
}
.tm-quote {
  font-family: var(--font-display);
  font-size: 19px;
  line-height: 1.4;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 28px;
}
.tm-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.tm-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--gold);
  display: grid;
  place-items: center;
  color: var(--ink);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
}
.tm-author-info strong { display: block; font-size: 14px; }
.tm-author-info span { font-size: 12px; color: var(--ink-mid); }

@media (max-width: 860px) {
  .tm-grid { grid-template-columns: 1fr; }
  .testimonials { padding: 80px 0; }
}

/* ============================================
   FAQ
   ============================================ */
.faq {
  padding: 140px 0;
}
.faq-list {
  margin-top: 56px;
  border-top: 1px solid var(--line);
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-q {
  width: 100%;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--ink);
  gap: 24px;
  transition: color 0.3s var(--ease);
}
.faq-q:hover { color: var(--gold-deep); }
.faq-icon {
  width: 32px; height: 32px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-size: 18px;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
}
.faq-item.open .faq-icon {
  background: var(--ink);
  color: var(--gold-light);
  border-color: var(--ink);
  transform: rotate(45deg);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease);
  color: var(--ink-mid);
}
.faq-a-inner {
  padding: 0 0 28px;
  font-size: 16px;
  line-height: 1.65;
  max-width: 720px;
}
.faq-item.open .faq-a { max-height: 360px; }

/* ============================================
   CTA BANNER
   ============================================ */
.cta-band {
  padding: 0 0 120px;
}
.cta-card {
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius-lg);
  padding: 80px 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-card::before, .cta-card::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.cta-card::before {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(200, 149, 74, 0.4), transparent 70%);
  top: -100px; left: -100px;
}
.cta-card::after {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(232, 200, 135, 0.18), transparent 70%);
  bottom: -150px; right: -100px;
}
.cta-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 0 0 24px;
  position: relative;
  z-index: 2;
}
.cta-title em { color: var(--gold-light); font-style: italic; }
.cta-sub {
  font-size: 18px;
  color: rgba(245, 246, 236, 0.7);
  max-width: 540px;
  margin: 0 auto 40px;
  position: relative;
  z-index: 2;
}
.cta-card .btn-primary {
  background: var(--gold);
  color: var(--ink);
  position: relative;
  z-index: 2;
}
.cta-card .btn-primary:hover { background: var(--gold-light); }

@media (max-width: 860px) {
  .cta-card { padding: 60px 24px; }
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--ink);
  color: var(--cream-warm);
  padding: 80px 0 40px;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.footer-brand .brand-mark { background: var(--gold); color: var(--ink); }
.footer-tag {
  font-size: 15px;
  color: rgba(245, 246, 236, 0.6);
  max-width: 320px;
  line-height: 1.6;
}
.footer h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--gold-light);
  margin: 0 0 22px;
  font-weight: 600;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.footer ul a {
  font-size: 14.5px;
  color: rgba(245, 246, 236, 0.75);
  transition: color 0.3s var(--ease);
}
.footer ul a:hover { color: var(--gold-light); }
.footer-bottom {
  padding-top: 36px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(245, 246, 236, 0.5);
  flex-wrap: wrap;
  gap: 16px;
}
.footer-social {
  display: flex;
  gap: 14px;
}
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  display: grid;
  place-items: center;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.footer-social a:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }

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

/* ============================================
   LEGAL / DOC PAGES
   ============================================ */
.doc-hero {
  padding: 80px 0 60px;
  border-bottom: 1px solid var(--line);
}
.doc-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  background: var(--cream-warm);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-mid);
  margin-bottom: 24px;
}
.doc-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(40px, 6vw, 72px);
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 0 0 20px;
}
.doc-title em { font-style: italic; color: var(--gold-deep); }
.doc-meta {
  display: flex;
  gap: 24px;
  font-size: 14px;
  color: var(--ink-mid);
  flex-wrap: wrap;
  margin-top: 16px;
}
.doc-meta b { color: var(--ink); font-weight: 600; }

.doc-body {
  padding: 80px 0 120px;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 80px;
}
.doc-toc {
  position: sticky;
  top: 100px;
  align-self: start;
  font-size: 13.5px;
}
.doc-toc h5 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink-mid);
  margin: 0 0 16px;
  font-weight: 600;
}
.doc-toc ol {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: toc;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.doc-toc li {
  counter-increment: toc;
  position: relative;
  padding-left: 28px;
}
.doc-toc li::before {
  content: counter(toc, decimal-leading-zero);
  position: absolute;
  left: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--gold-deep);
  top: 2px;
}
.doc-toc a {
  color: var(--ink-soft);
  transition: color 0.3s var(--ease);
  line-height: 1.4;
}
.doc-toc a:hover { color: var(--gold-deep); }

.doc-content { font-size: 16px; line-height: 1.75; color: var(--ink-soft); }
.doc-content h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 32px;
  letter-spacing: -0.02em;
  margin: 56px 0 18px;
  color: var(--ink);
  scroll-margin-top: 100px;
  display: flex;
  align-items: baseline;
  gap: 16px;
}
.doc-content h2:first-of-type { margin-top: 0; }
.doc-content h2 .num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--gold-deep);
  font-weight: 500;
  letter-spacing: 0;
}
.doc-content h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 20px;
  margin: 32px 0 12px;
  color: var(--ink);
}
.doc-content p { margin: 0 0 18px; }
.doc-content ul, .doc-content ol { padding-left: 22px; margin: 0 0 22px; }
.doc-content li { margin-bottom: 8px; }
.doc-content strong { color: var(--ink); font-weight: 600; }
.doc-content a { color: var(--gold-deep); border-bottom: 1px solid var(--line); }
.doc-content a:hover { border-color: var(--gold-deep); }
.doc-content blockquote {
  border-left: 3px solid var(--gold);
  padding: 14px 24px;
  margin: 28px 0;
  background: var(--paper);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--ink-mid);
  font-style: italic;
}
.doc-content code {
  font-family: var(--font-mono);
  font-size: 14px;
  background: var(--cream-warm);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--gold-deep);
}
.doc-content hr {
  border: none;
  border-top: 1px solid var(--line);
  margin: 56px 0;
}

@media (max-width: 960px) {
  .doc-body { grid-template-columns: 1fr; gap: 40px; }
  .doc-toc { position: static; }
}

/* ============================================
   SUPPORT PAGE
   ============================================ */
.support-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 64px 0;
}
.support-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform 0.4s var(--ease), background 0.3s var(--ease);
}
.support-card:hover { transform: translateY(-4px); background: var(--cream-warm); }
.support-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--ink);
  color: var(--gold-light);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}
.support-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  margin: 0 0 8px;
  letter-spacing: -0.015em;
}
.support-card p {
  color: var(--ink-mid);
  font-size: 14.5px;
  margin: 0 0 16px;
  line-height: 1.6;
}
.support-card a {
  color: var(--gold-deep);
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid currentColor;
}

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

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }

::selection { background: var(--gold); color: var(--ink); }
