/* =======================
   DESIGN TOKENS
   ======================= */
:root {
  --bg: #FAFAF5;
  --bg-alt: #F0EDE6;
  --fg: #1A1A1A;
  --fg-muted: #6B6560;
  --accent: #F59E0B;
  --accent-dark: #D97706;
  --accent-warm: #EA580C;
  --ink: #2C2416;
  --white: #FFFFFF;
  --radius: 12px;
  --radius-lg: 20px;
}

/* =======================
   BASE
   ======================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* =======================
   TYPOGRAPHY
   ======================= */
h1, h2, h3, h4 { font-family: 'Syne', sans-serif; font-weight: 800; line-height: 1.15; color: var(--ink); }

/* =======================
   NAV
   ======================= */
.nav {
  padding: 20px 48px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  background: var(--bg);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.nav-logo { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 18px; color: var(--ink); letter-spacing: -0.02em; }
.nav-tagline { font-size: 13px; color: var(--fg-muted); font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; }

/* =======================
   HERO
   ======================= */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  padding: 80px 48px 96px;
  max-width: 1280px;
  margin: 0 auto;
  align-items: center;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  background: #FEF3C7;
  padding: 6px 12px;
  border-radius: 99px;
}

.hero-headline {
  font-size: clamp(36px, 4vw, 56px);
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}

.hero-sub {
  font-size: 18px;
  color: var(--fg-muted);
  max-width: 480px;
  margin-bottom: 48px;
  line-height: 1.7;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
}

.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-num { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 28px; color: var(--ink); }
.stat-label { font-size: 12px; color: var(--fg-muted); max-width: 100px; line-height: 1.4; }
.stat-divider { width: 1px; height: 40px; background: rgba(0,0,0,0.1); }

/* =======================
   BILL MOCK
   ======================= */
.bill-mock {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.08), 0 4px 12px rgba(0,0,0,0.04);
  position: relative;
  overflow: hidden;
}

.bill-mock::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-warm));
}

.bill-header { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.bill-logo {
  width: 48px; height: 48px;
  background: var(--accent);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Syne', sans-serif; font-weight: 800; font-size: 16px; color: white;
  flex-shrink: 0;
}
.bill-label { font-size: 11px; color: var(--fg-muted); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; }
.bill-acct { font-size: 13px; color: var(--fg-muted); margin-top: 2px; }
.bill-divider { height: 1px; background: rgba(0,0,0,0.06); margin: 16px 0; }
.bill-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; }
.bill-row.muted .bill-key, .bill-row.muted .bill-val { color: var(--fg-muted); }
.bill-key { font-size: 14px; color: var(--fg); }
.bill-val { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 15px; color: var(--ink); }
.bill-val.highlight { font-size: 20px; color: var(--accent-dark); }

.bill-verdict {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  border-radius: 10px;
  padding: 14px 18px;
  margin-top: 8px;
}
.verdict-icon {
  width: 32px; height: 32px;
  background: #22C55E;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white;
  font-size: 16px;
  flex-shrink: 0;
}
.verdict-text { display: flex; flex-direction: column; gap: 2px; }
.verdict-text strong { font-size: 13px; color: #166534; }
.verdict-text span { font-size: 12px; color: #15803D; }

/* =======================
   SECTION SHARED
   ======================= */
.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-headline {
  font-size: clamp(28px, 3.5vw, 44px);
  letter-spacing: -0.02em;
  max-width: 640px;
}

/* =======================
   HOW IT WORKS
   ======================= */
.howitworks {
  background: var(--bg-alt);
  padding: 96px 48px;
}
.howitworks .section-headline { margin-bottom: 64px; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  max-width: 1280px;
  margin: 0 auto;
}

.step { position: relative; }
.step-num {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 64px;
  color: rgba(245, 158, 11, 0.15);
  line-height: 1;
  margin-bottom: 16px;
}
.step-body h3 { font-size: 20px; margin-bottom: 10px; }
.step-body p { font-size: 15px; color: var(--fg-muted); line-height: 1.65; }

/* =======================
   ECONOMICS
   ======================= */
.economics { padding: 96px 48px; background: var(--ink); color: var(--white); }
.econ-inner { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.econ-headline { color: var(--white); }
.econ-headline br { display: none; }
.econ-comparison { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.econ-col { padding: 32px 28px; border-radius: var(--radius); }
.econ-col.old { background: rgba(255,255,255,0.05); }
.econ-col.new { background: var(--accent); color: var(--ink); }
.econ-col-label { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 20px; opacity: 0.7; }
.econ-col.new .econ-col-label { opacity: 1; }
.econ-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.econ-list li { font-size: 14px; line-height: 1.5; padding-left: 20px; position: relative; }
.econ-col.old .econ-list li::before { content: '×'; position: absolute; left: 0; color: #F87171; font-weight: 700; }
.econ-col.new .econ-list li::before { content: '✓'; position: absolute; left: 0; color: var(--ink); font-weight: 700; }
.econ-list li { padding-left: 28px; }

/* =======================
   QUALIFICATION
   ======================= */
.qualification { padding: 96px 48px; background: var(--bg); }
.qual-sub { font-size: 18px; color: var(--fg-muted); margin-top: 16px; margin-bottom: 56px; max-width: 520px; }
.qual-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; max-width: 1280px; margin: 0 auto; }
.qual-item {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--radius);
  padding: 28px 24px;
}
.qual-icon { font-size: 28px; margin-bottom: 16px; }
.qual-item h4 { font-size: 16px; margin-bottom: 8px; }
.qual-item p { font-size: 14px; color: var(--fg-muted); line-height: 1.6; }

/* =======================
   CLOSING
   ======================= */
.closing {
  padding: 96px 48px;
  background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 50%, #FDE68A 100%);
}
.closing-inner { max-width: 800px; margin: 0 auto; text-align: center; }
.closing-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-dark);
  background: rgba(255,255,255,0.6);
  padding: 6px 14px;
  border-radius: 99px;
  margin-bottom: 28px;
}
.closing-headline {
  font-size: clamp(28px, 3.5vw, 44px);
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 24px;
}
.closing-sub { font-size: 18px; color: #78350F; line-height: 1.7; max-width: 600px; margin: 0 auto; }

/* =======================
   FOOTER
   ======================= */
.footer { padding: 56px 48px 40px; background: var(--bg); border-top: 1px solid rgba(0,0,0,0.06); }
.footer-inner { max-width: 1280px; margin: 0 auto; }
.footer-logo { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 16px; color: var(--ink); margin-bottom: 8px; }
.footer-note { font-size: 14px; color: var(--fg-muted); max-width: 400px; margin-bottom: 32px; }
.footer-rule { height: 1px; background: rgba(0,0,0,0.06); margin-bottom: 24px; }
.footer-copy { font-size: 13px; color: var(--fg-muted); }

.hero-cta {
  display: inline-block;
  margin-bottom: 32px;
  padding: 12px 24px;
  background: var(--accent);
  color: var(--ink);
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 15px;
  border-radius: 99px;
  text-decoration: none;
  transition: background 0.2s, transform 0.1s;
}
.hero-cta:hover { background: var(--accent-dark); transform: translateY(-1px); }

/* =======================
   RESPONSIVE
   ======================= */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; gap: 48px; padding: 64px 32px 80px; }
  .hero-right { order: -1; }
  .bill-mock { max-width: 400px; }
  .steps { grid-template-columns: 1fr; gap: 40px; }
  .econ-inner { grid-template-columns: 1fr; gap: 48px; }
  .econ-headline br { display: block; }
  .qual-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .nav { padding: 16px 24px; }
  .hero { padding: 48px 24px 64px; }
  .hero-headline { font-size: 32px; }
  .hero-stats { flex-direction: column; align-items: flex-start; gap: 16px; }
  .stat-divider { display: none; }
  .howitworks, .economics, .qualification, .closing, .footer { padding: 64px 24px; }
  .qual-grid { grid-template-columns: 1fr; }
  .econ-comparison { grid-template-columns: 1fr; }
  .steps { gap: 32px; }
  .step-num { font-size: 48px; }
}