/* ═══════════════════════════════════════════════
   PAPERVIVA — Advanced Stylesheet
   Design: Warm editorial · Paper-meets-AI
   Palette: Cream · Forest green · Fox orange
═══════════════════════════════════════════════ */

/* ── TOKENS ── */
:root {
  --cream:        #F8F3EC;
  --cream-dark:   #EDE5D8;
  --cream-border: #DDD3C4;
  --ink:          #1A1208;
  --ink-soft:     #4A3F32;
  --ink-light:    #7A6E63;
  --green:        #2A5C45;
  --green-light:  #3D7A5E;
  --green-pale:   #EAF3EE;
  --orange:       #E8611A;
  --orange-light: #F4A261;
  --orange-pale:  #FDF0E8;
  --white:        #FDFAF6;
  --shadow-sm:    0 2px 8px rgba(26,18,8,0.08);
  --shadow-md:    0 8px 32px rgba(26,18,8,0.12);
  --shadow-lg:    0 24px 64px rgba(26,18,8,0.16);
  --radius-sm:    8px;
  --radius-md:    16px;
  --radius-lg:    24px;
  --radius-xl:    40px;
  --font-display: 'Fraunces', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;
  --ease-out:     cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring:  cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background-color: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }

/* ── CONTAINER ── */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 3rem);
}

/* ── TYPOGRAPHY SYSTEM ── */
.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 1rem;
}
.section-label.center { display: block; text-align: center; }

.section-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.section-headline em { font-style: italic; color: var(--orange); font-weight: 400; }
.section-headline.center { text-align: center; }

.body-large {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  line-height: 1.65;
  color: var(--ink-soft);
  margin-top: 1.5rem;
}
.body-text {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--ink-soft);
  margin-top: 1rem;
}

/* ── REVEAL ANIMATION ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.reveal:nth-child(2) { transition-delay: 0.08s; }
.reveal:nth-child(3) { transition-delay: 0.16s; }
.reveal:nth-child(4) { transition-delay: 0.24s; }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--green);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  padding: 0.9rem 2rem;
  border-radius: 100px;
  border: 2px solid var(--green);
  transition: background 0.22s, transform 0.18s var(--ease-spring), box-shadow 0.22s;
  white-space: nowrap;
}
.btn-primary:hover {
  background: var(--green-light);
  border-color: var(--green-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(42,92,69,0.35);
}
.btn-primary.full { width: 100%; justify-content: center; }
.btn-primary.large { font-size: 1.1rem; padding: 1.1rem 2.2rem; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink-soft);
  padding: 0.9rem 1.5rem;
  border-radius: 100px;
  border: 2px solid var(--cream-border);
  transition: border-color 0.2s, color 0.2s, transform 0.18s var(--ease-spring);
}
.btn-ghost:hover {
  border-color: var(--ink-soft);
  color: var(--ink);
  transform: translateY(-2px);
}

.btn-inverse {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: var(--orange);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  padding: 0.9rem 2rem;
  border-radius: 100px;
  border: 2px solid var(--orange);
  transition: background 0.22s, transform 0.18s var(--ease-spring), box-shadow 0.22s;
}
.btn-inverse:hover {
  background: #D4540F;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(232,97,26,0.35);
}

/* ══════════════════════════════════
   NAV
══════════════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.4s, box-shadow 0.4s, backdrop-filter 0.4s;
}
.nav.scrolled {
  background: rgba(248, 243, 236, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--cream-border);
}
.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 3rem);
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 0.6rem; }
.logo-text {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.logo-text em { font-style: italic; color: var(--orange); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}
.nav-links a:not(.nav-cta) {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.2s;
}
.nav-links a:not(.nav-cta):hover { color: var(--ink); }
.nav-cta {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white) !important;
  background: var(--green);
  padding: 0.55rem 1.3rem;
  border-radius: 100px;
  transition: background 0.2s, transform 0.18s var(--ease-spring);
}
.nav-cta:hover { background: var(--green-light); transform: translateY(-1px); }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-hamburger.open span:first-child { transform: rotate(45deg) translate(5px, 5px); }
.nav-hamburger.open span:last-child  { transform: rotate(-45deg) translate(5px, -5px); }

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 0;
  background: var(--cream);
  border-top: 1px solid var(--cream-border);
  padding: 1rem 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out), padding 0.3s;
}
.nav-mobile.open { max-height: 320px; padding: 1.25rem 0; }
.nav-mobile a {
  display: block;
  padding: 0.75rem clamp(1.25rem, 5vw, 3rem);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.2s, background 0.2s;
}
.nav-mobile a:hover { color: var(--ink); background: var(--cream-dark); }
.nav-mobile .nav-cta {
  margin: 0.5rem clamp(1.25rem, 5vw, 3rem);
  text-align: center;
  border-radius: 100px;
  padding: 0.8rem 1rem;
}

/* ══════════════════════════════════
   HERO
══════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(72px + 5rem) clamp(1.25rem, 5vw, 3rem) 6rem;
  max-width: 1180px;
  margin: 0 auto;
  overflow: visible;
}
.hero-eyebrow { margin-bottom: 1.5rem; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--green-pale);
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 0.45rem 1rem;
  border-radius: 100px;
  border: 1px solid #C5DDD3;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--ink);
  max-width: 720px;
  margin-bottom: 1.75rem;
}
.hero-headline em {
  font-style: italic;
  font-weight: 400;
  color: var(--orange);
}
.underline-word {
  position: relative;
  display: inline-block;
}
.underline-word::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 0; right: 0;
  height: 6px;
  background: var(--orange-light);
  border-radius: 4px;
  opacity: 0.6;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.9s var(--ease-out) 1.2s;
}
.underline-word.visible::after { transform: scaleX(1); }

.hero-sub {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  line-height: 1.75;
  color: var(--ink-soft);
  max-width: 560px;
  margin-bottom: 2.5rem;
}

.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.hero-proof {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.hero-proof span {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink-light);
}

/* Floating paper cards */
.paper-float {
  position: absolute;
  right: clamp(1rem, 8vw, 10%);
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}
.paper-float-1 { top: 30%; right: clamp(2rem, 14vw, 18%); animation: floatA 6s ease-in-out infinite; }
.paper-float-2 { top: 58%; right: clamp(1rem, 6vw, 8%); animation: floatB 7s ease-in-out infinite 1.5s; }

@keyframes floatA {
  0%, 100% { transform: translateY(0) rotate(-4deg); }
  50%       { transform: translateY(-18px) rotate(-2deg); }
}
@keyframes floatB {
  0%, 100% { transform: translateY(0) rotate(3deg); }
  50%       { transform: translateY(-12px) rotate(5deg); }
}

.paper-sheet {
  background: var(--white);
  border: 1px solid var(--cream-border);
  border-radius: var(--radius-md);
  padding: 1.4rem 1.6rem;
  width: 180px;
  box-shadow: var(--shadow-md), inset 0 0 0 4px rgba(255,255,255,0.6);
}
.paper-sheet.dark {
  background: var(--ink);
  border-color: transparent;
  width: 160px;
}
.paper-line {
  height: 2px;
  background: var(--cream-dark);
  border-radius: 2px;
  margin: 0.55rem 0;
}
.paper-line.short { width: 60%; }
.paper-line.med { width: 75%; }
.paper-check {
  font-size: 1.2rem;
  color: var(--green);
  font-weight: 700;
  margin: 0.3rem 0;
}
.paper-equation {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--cream);
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.paper-answer {
  font-size: 0.95rem;
  color: var(--orange-light);
  font-weight: 600;
}

/* Hero Fox */
.hero-fox {
  position: absolute;
  right: clamp(1rem, 4vw, 5%);
  top: 50%;
  transform: translateY(-50%);
  width: clamp(120px, 18vw, 220px);
  animation: foxBob 4s ease-in-out infinite;
  pointer-events: none;
  opacity: 0.15;
}
@media (min-width: 900px) { .hero-fox { opacity: 0.08; } }
@keyframes foxBob {
  0%, 100% { transform: translateY(-50%); }
  50%       { transform: translateY(calc(-50% - 10px)); }
}

/* Scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: clamp(1.25rem, 5vw, 3rem);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.hero-scroll-hint span {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-light);
  font-weight: 600;
}
.scroll-line {
  width: 40px;
  height: 1px;
  background: var(--ink-light);
  position: relative;
  overflow: hidden;
}
.scroll-line::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%;
  height: 100%;
  background: var(--orange);
  animation: scrollSlide 2s ease-in-out infinite 2s;
}
@keyframes scrollSlide {
  0%   { left: -100%; }
  100% { left: 100%; }
}

/* ══════════════════════════════════
   TICKER
══════════════════════════════════ */
.ticker-wrap {
  background: var(--green);
  overflow: hidden;
  padding: 0.85rem 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(0,0,0,0.1);
}
.ticker {
  display: flex;
  gap: 0;
  white-space: nowrap;
  animation: ticker 28s linear infinite;
}
.ticker span {
  display: inline-block;
  padding: 0 2.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
}
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ══════════════════════════════════
   PROBLEM SECTION
══════════════════════════════════ */
.problem {
  padding: 7rem 0;
  background: var(--cream);
  position: relative;
}
.problem::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23DDD3C4' fill-opacity='0.35'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
  pointer-events: none;
}
.problem-intro { margin-bottom: 4rem; }

.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-bottom: 4rem;
}
.problem-card {
  background: var(--white);
  border: 1px solid var(--cream-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}
.problem-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--orange-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}
.problem-card:hover::before { transform: scaleX(1); }
.problem-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.problem-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: block;
}
.problem-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}
.problem-card p {
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.7;
}

.problem-stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0;
  border: 1px solid var(--cream-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
}
.stat-block {
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  border-right: 1px solid var(--cream-border);
}
.stat-block:last-child { border-right: none; }
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 900;
  color: var(--orange);
  line-height: 1;
  letter-spacing: -0.04em;
}
.stat-num em { font-size: 0.55em; font-style: normal; }
.stat-label {
  font-size: 0.88rem;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* ══════════════════════════════════
   WHAT IS PAPERVIVA
══════════════════════════════════ */
.what-is {
  padding: 7rem 0;
  background: linear-gradient(180deg, var(--cream) 0%, var(--white) 100%);
}
.what-is-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
}
.what-is-text .section-headline { margin-top: 0.5rem; }

/* Phone mockup */
.what-is-visual {
  position: relative;
}
.phone-mockup {
  background: var(--ink);
  border-radius: 28px;
  padding: 1.5rem;
  box-shadow: var(--shadow-lg), 0 0 0 8px rgba(26,18,8,0.08);
  position: relative;
  z-index: 2;
}
.phone-screen {
  background: #111;
  border-radius: 18px;
  overflow: hidden;
}
.phone-header {
  background: var(--green);
  padding: 1rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.phone-logo {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  font-style: italic;
}
.phone-icon { font-size: 1.1rem; }
.phone-result {
  padding: 1.5rem;
  background: #1A1A1A;
}
.result-title {
  font-size: 0.8rem;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}
.result-score {
  display: flex;
  align-items: baseline;
  gap: 0.2rem;
  margin-bottom: 1.25rem;
}
.score-big {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
}
.score-denom {
  font-size: 1.5rem;
  color: #666;
  font-weight: 600;
}
.result-feedback { margin-bottom: 1.25rem; }
.feedback-item {
  font-size: 0.82rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.feedback-item.correct { color: #6EE7B7; }
.feedback-item.wrong   { color: #FCA5A5; }
.result-next {
  background: rgba(42,92,69,0.4);
  border: 1px solid rgba(61,122,94,0.4);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
}
.result-next span { display: block; font-size: 0.85rem; color: #6EE7B7; font-weight: 600; margin-bottom: 0.2rem; }
.result-next small { font-size: 0.75rem; color: #888; }

/* Worksheet peek */
.worksheet-peek {
  position: absolute;
  bottom: -2rem;
  left: -3rem;
  background: var(--white);
  border: 1px solid var(--cream-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 1.25rem 1.5rem;
  width: 200px;
  transform: rotate(-3deg);
  z-index: 1;
  animation: peekFloat 5s ease-in-out infinite;
}
@keyframes peekFloat {
  0%, 100% { transform: rotate(-3deg) translateY(0); }
  50%       { transform: rotate(-2deg) translateY(-8px); }
}
.ws-title {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 0.75rem;
}
.ws-q {
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--ink);
  margin-bottom: 0.3rem;
  display: flex;
  justify-content: space-between;
}
.ws-q.light { color: var(--ink-light); }
.ws-ans { color: var(--green); font-weight: 600; }
.ws-ans.ws-wrong { color: #DC2626; }

/* ══════════════════════════════════
   HOW IT WORKS
══════════════════════════════════ */
.how-it-works {
  padding: 7rem 0;
  background: var(--ink);
  position: relative;
  overflow: hidden;
}
.how-it-works::before {
  content: '';
  position: absolute;
  top: -50%; left: -20%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(232,97,26,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.how-it-works::after {
  content: '';
  position: absolute;
  bottom: -30%; right: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(42,92,69,0.2) 0%, transparent 70%);
  pointer-events: none;
}
.how-it-works .section-label { color: var(--orange-light); }
.how-it-works .section-headline { color: var(--white); }
.how-it-works .section-headline em { color: var(--orange-light); }

.steps-track {
  position: relative;
  margin-top: 4rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
}
.steps-line {
  display: none;
}

.step {
  position: relative;
  padding: 2rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  transition: background 0.3s, border-color 0.3s, transform 0.3s var(--ease-spring);
}
.step:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-4px);
}
.step-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 900;
  color: rgba(255,255,255,0.07);
  line-height: 1;
  margin-bottom: 1rem;
  letter-spacing: -0.05em;
}
.step-icon-wrap {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
  display: block;
}
.step-content h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.6rem;
}
.step-content p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
}

/* ══════════════════════════════════
   LOVE IT / FEATURES
══════════════════════════════════ */
.love-it {
  padding: 7rem 0;
  background: var(--cream);
}
.love-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
}
.love-intro .section-headline { margin: 0.5rem 0 2rem; }

.love-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 2.5rem;
}
.love-feature {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: transform 0.3s var(--ease-spring);
}
.love-feature:hover { transform: translateX(4px); }
.lf-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--white);
  border: 1px solid var(--cream-border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}
.lf-text h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.4rem;
}
.lf-text p {
  font-size: 0.88rem;
  color: var(--ink-soft);
  line-height: 1.65;
}

/* ══════════════════════════════════
   ORIGIN / QUOTE
══════════════════════════════════ */
.origin {
  padding: 5rem 0;
  background: var(--green);
  position: relative;
  overflow: hidden;
}
.origin::before {
  content: '"';
  position: absolute;
  top: -0.5rem; left: 5%;
  font-family: var(--font-display);
  font-size: 20rem;
  color: rgba(255,255,255,0.04);
  line-height: 1;
  pointer-events: none;
  font-weight: 900;
}
.origin-inner {
  position: relative;
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  padding: 0 clamp(1.25rem, 5vw, 3rem);
}
.origin-quote-mark {
  font-family: var(--font-display);
  font-size: 5rem;
  color: var(--orange-light);
  line-height: 0.7;
  margin-bottom: 1.5rem;
}
.origin-quote {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 3vw, 2rem);
  font-style: italic;
  font-weight: 400;
  color: var(--white);
  line-height: 1.55;
  margin-bottom: 1.5rem;
}
.origin-cite {
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  font-style: normal;
}

/* ══════════════════════════════════
   COMPARISON TABLE
══════════════════════════════════ */
.compare {
  padding: 7rem 0;
  background: var(--white);
}
.compare-table-wrap {
  margin-top: 3.5rem;
  overflow-x: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--cream-border);
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  background: var(--white);
}
.compare-table thead tr {
  background: var(--cream);
}
.compare-table th {
  padding: 1.25rem 1.5rem;
  text-align: left;
  font-weight: 700;
  color: var(--ink);
  border-bottom: 2px solid var(--cream-border);
}
.compare-table th:not(:first-child) { text-align: center; }
.th-us {
  background: var(--green);
  color: var(--white) !important;
  border-radius: 0 var(--radius-md) 0 0;
}
.th-them { color: var(--ink-light) !important; }
.compare-table td {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--cream-border);
  color: var(--ink-soft);
}
.compare-table td:not(:first-child) { text-align: center; font-weight: 600; }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table tr:hover td { background: var(--cream); }
.compare-table td.yes { color: var(--green); }
.compare-table td.no  { color: #DC2626; }
.compare-table td.partial { color: var(--orange); }
.compare-table td:last-child {
  background: rgba(42,92,69,0.04);
  font-weight: 700;
}
.compare-table td:last-child.yes { color: var(--green); font-weight: 700; }

/* ══════════════════════════════════
   PRICING
══════════════════════════════════ */
.pricing {
  padding: 7rem 0;
  background: var(--cream);
  position: relative;
}
.pricing-sub {
  font-size: 1.05rem;
  color: var(--ink-soft);
  margin-top: 1rem;
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin: 3.5rem 0 2rem;
  align-items: start;
}
.pricing-card {
  background: var(--white);
  border: 1px solid var(--cream-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s;
}
.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.pricing-card.featured {
  background: var(--ink);
  border-color: transparent;
  transform: scale(1.04);
}
.pricing-card.featured:hover { transform: scale(1.04) translateY(-6px); }

.pc-badge {
  display: inline-flex;
  background: var(--orange);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  margin-bottom: 1.25rem;
}
.pc-label {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-light);
  margin-bottom: 0.75rem;
}
.pricing-card.featured .pc-label { color: rgba(255,255,255,0.5); }

.pc-price {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  margin-bottom: 0.5rem;
}
.pc-amount {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--ink);
  line-height: 1;
  letter-spacing: -0.04em;
}
.pricing-card.featured .pc-amount { color: var(--white); }
.pc-period {
  font-size: 0.88rem;
  color: var(--ink-light);
}
.pricing-card.featured .pc-period { color: rgba(255,255,255,0.5); }

.pc-saving {
  display: inline-flex;
  background: var(--orange-pale);
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(232,97,26,0.2);
}

.pc-features {
  margin: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.pc-features li {
  font-size: 0.9rem;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.pricing-card.featured .pc-features li { color: rgba(255,255,255,0.75); }

.pricing-compare {
  font-size: 0.9rem;
  color: var(--ink-light);
  font-style: italic;
}

/* ══════════════════════════════════
   REGISTER / FORM
══════════════════════════════════ */
.register {
  padding: 7rem 0;
  background: linear-gradient(135deg, var(--cream-dark) 0%, var(--cream) 100%);
  position: relative;
  overflow: hidden;
}
.register::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Ccircle cx='40' cy='40' r='1' fill='%23DDD3C4' fill-opacity='0.6'/%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.8;
  pointer-events: none;
}
.register-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
  position: relative;
}
.register-text .section-headline { margin-top: 0.5rem; }

.signup-form {
  background: var(--white);
  border: 1px solid var(--cream-border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.form-row input,
.form-row select {
  width: 100%;
  padding: 0.9rem 1.1rem;
  border: 1.5px solid var(--cream-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--cream);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  appearance: none;
}
.form-row input::placeholder { color: var(--ink-light); }
.form-row input:focus,
.form-row select:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(42,92,69,0.12);
}
.form-small {
  font-size: 0.78rem;
  color: var(--ink-light);
  text-align: center;
}
.form-success {
  background: var(--white);
  border: 1px solid var(--cream-border);
  border-radius: var(--radius-xl);
  padding: 3rem 2.5rem;
  box-shadow: var(--shadow-md);
  text-align: center;
}
.success-icon { font-size: 3rem; margin-bottom: 1rem; }
.form-success h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--ink);
}
.form-success p { color: var(--ink-soft); }

/* ══════════════════════════════════
   FOOTER
══════════════════════════════════ */
.footer {
  background: var(--ink);
  padding: 4rem 0 2rem;
  color: rgba(255,255,255,0.7);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .logo-text { color: var(--white); }
.footer-brand p {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.7;
}
.footer-links-col h5 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 1rem;
}
.footer-links-col a {
  display: block;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 0.6rem;
  transition: color 0.2s;
}
.footer-links-col a:hover { color: var(--white); }
.footer-bottom {
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.3);
}

/* ══════════════════════════════════
   RESPONSIVE
══════════════════════════════════ */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-mobile { display: flex; }

  .hero { padding-top: calc(72px + 3rem); }
  .paper-float { display: none; }
  .hero-fox { display: none; }

  .what-is-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .worksheet-peek {
    left: -1rem;
    bottom: -1.5rem;
    width: 160px;
  }

  .love-grid { grid-template-columns: 1fr; }
  .love-features { grid-template-columns: 1fr; }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand { grid-column: 1 / -1; }

  .register-inner { grid-template-columns: 1fr; }

  .stat-block { border-right: none; border-bottom: 1px solid var(--cream-border); }
  .stat-block:last-child { border-bottom: none; }
}

@media (max-width: 600px) {
  .hero-cta-row { flex-direction: column; align-items: flex-start; }
  .hero-proof { flex-direction: column; gap: 0.5rem; }
  .steps-track { grid-template-columns: 1fr; gap: 1rem; }
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .pricing-card.featured { transform: none; }
  .pricing-card.featured:hover { transform: translateY(-6px); }
  .compare-table td, .compare-table th { padding: 0.8rem 1rem; font-size: 0.85rem; }
  .problem-stat-row { grid-template-columns: 1fr; }
}

/* ── Custom scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--cream-border); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--ink-light); }

/* ── Selection color ── */
::selection {
  background: var(--orange-light);
  color: var(--ink);
}
