:root {
  --rate-green: #2d8659;
  --rate-green-deep: #1a5d3a;
  --rate-green-soft: #d4ebde;
  --rate-orange: #e8782e;
  --rate-orange-deep: #c45a1a;
  --rate-yellow: #f4c430;

  --ink: #131818;
  --ink-soft: #2a3439;
  --muted: #5a646b;
  --paper: #fbfaf6;
  --cream: #f5f1e8;
  --panel: #ffffff;
  --line: #e2e0d8;
  --line-soft: #ecebe4;
  --dark: #0e1614;
}

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

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--rate-green-deep); text-decoration: none; transition: opacity .15s ease; }
a:hover { opacity: .8; }

/* ---------- Micro bar ---------- */
.micro-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  background: var(--ink);
  color: rgba(255,255,255,.92);
  font-size: 13px;
  font-weight: 500;
  flex-wrap: wrap;
}

.micro-mark {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: var(--rate-green);
  color: #fff;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 12px;
}

.micro-text { font-weight: 600; }
.micro-divider { color: var(--rate-orange); font-weight: 800; margin: 0 4px; }

.micro-pill {
  margin-left: auto;
  padding: 4px 12px;
  background: rgba(255,255,255,.1);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--rate-yellow);
}

/* ---------- Background video ---------- */
.has-bg-video {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.has-bg-video > .bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  z-index: 0;
  pointer-events: none;
  animation: bgVideoFade 15s ease-in-out infinite;
}

.has-bg-video > .bg-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(251,250,246,.55) 0%, rgba(251,250,246,.92) 100%);
  pointer-events: none;
}

.has-bg-video > .hero-inner,
.has-bg-video > .container {
  position: relative;
  z-index: 2;
}

@keyframes bgVideoFade {
  0%, 100% { opacity: 0; }
  15%, 85% { opacity: 0.40; }
}

@media (max-width: 700px), (prefers-reduced-motion: reduce) {
  .has-bg-video > .bg-video { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 72px 24px 56px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -150px;
  right: -150px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(45,134,89,.15), rgba(45,134,89,0) 70%);
  pointer-events: none;
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -200px;
  left: -100px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232,120,46,.12), rgba(232,120,46,0) 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 920px;
  margin: 0 auto;
}

.kicker {
  display: inline-block;
  padding: 5px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

h1 {
  margin: 22px 0 18px;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: clamp(36px, 5.6vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--ink);
}

h1 em {
  font-style: italic;
  font-weight: 500;
  color: var(--rate-green-deep);
}

h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--ink);
}

h2 {
  margin: 0 0 16px;
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 600;
}

.h2-light { color: #fff; }

h3 {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 600;
}

h4 { margin: 0 0 6px; font-size: 17px; font-weight: 700; }

p { margin: 0 0 14px; color: var(--ink-soft); }

.lead {
  max-width: 680px;
  font-size: clamp(17px, 1.6vw, 20px);
  color: var(--ink-soft);
  line-height: 1.5;
  margin-bottom: 32px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
}

.btn-primary {
  background: var(--rate-green);
  color: #fff;
}
.btn-primary:hover {
  background: var(--rate-green-deep);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px -8px rgba(26,93,58,.55);
  opacity: 1;
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-ghost:hover {
  background: var(--ink);
  color: #fff;
  opacity: 1;
}

/* ---------- Sections ---------- */
.container {
  max-width: 1100px;
  margin: 0 auto;
}

.eyebrow {
  display: inline-block;
  padding: 5px 12px;
  margin-bottom: 14px;
  background: var(--cream);
  border-radius: 999px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.eyebrow-light {
  background: rgba(255,255,255,.12);
  color: var(--rate-yellow);
}

/* ---------- Moves ---------- */
.moves {
  padding: 64px 24px;
  background: var(--paper);
}

.moves-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.move {
  position: relative;
  padding: 28px 26px 26px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.move:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px -16px rgba(0,0,0,.12);
  border-color: var(--rate-green-soft);
}

.move-num {
  font-family: 'Playfair Display', serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--rate-orange);
  letter-spacing: .14em;
  margin-bottom: 10px;
}

.move h3 { font-size: 19px; margin-bottom: 8px; }
.move p { font-size: 15px; line-height: 1.5; margin: 0; }

/* ---------- Stats ---------- */
.stats {
  padding: 56px 24px;
  background: var(--cream);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.stat {
  text-align: center;
  padding: 24px 12px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 3.5vw, 38px);
  font-weight: 700;
  color: var(--rate-green-deep);
  line-height: 1;
  letter-spacing: -0.02em;
}

.stat-label {
  margin-top: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Callout band ---------- */
.callout-band {
  padding: 48px 24px;
  background: var(--paper);
}

.callout {
  display: flex;
  gap: 18px;
  padding: 22px 26px;
  background: var(--panel);
  border-left: 4px solid var(--rate-orange);
  border-radius: 0 14px 14px 0;
  box-shadow: 0 8px 24px -16px rgba(0,0,0,.1);
  max-width: 820px;
  margin: 0 auto;
}

.callout-icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--rate-orange);
  color: #fff;
  font-weight: 900;
  font-size: 16px;
}

.callout p { margin-bottom: 0; font-size: 15px; }

/* ---------- CTA band ---------- */
.cta-band {
  padding: 80px 24px;
  background: var(--dark);
  color: #fff;
}

.cta-band h2 { color: #fff; margin-bottom: 32px; }

.cta-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.cta-card {
  display: block;
  padding: 32px 28px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 18px;
  color: #fff;
  transition: transform .25s ease, background .25s ease, border-color .25s ease;
}

.cta-card:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,.1);
  opacity: 1;
}

.cta-primary { border-color: var(--rate-green); background: rgba(45,134,89,.18); }
.cta-primary:hover { background: rgba(45,134,89,.28); }

.cta-warm { border-color: var(--rate-yellow); background: rgba(244,196,48,.12); }
.cta-warm:hover { background: rgba(244,196,48,.2); }

.cta-emoji {
  font-size: 36px;
  margin-bottom: 14px;
}

.cta-card h3 {
  color: #fff;
  font-size: 22px;
  margin-bottom: 10px;
}

.cta-card p {
  color: rgba(255,255,255,.78);
  font-size: 14px;
  line-height: 1.55;
  margin-bottom: 18px;
}

.cta-arrow {
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  font-size: 14px;
  color: var(--rate-yellow);
}

.cta-warm .cta-arrow { color: var(--rate-yellow); }

/* ---------- Footer ---------- */
.footer {
  padding: 28px 24px;
  background: var(--ink);
  color: rgba(255,255,255,.6);
  font-size: 13px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
}

.footer strong { color: #fff; }
.footer a { color: var(--rate-yellow); }

/* ---------- Responsive ---------- */
@media (max-width: 800px) {
  .micro-bar { flex-wrap: wrap; }
  .micro-pill { margin-left: 0; }

  .hero { padding: 48px 20px 40px; }

  .moves-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-grid { grid-template-columns: 1fr; }

  .footer-inner { flex-direction: column; align-items: flex-start; }
}
