:root {
  --bg: #f6f4ed;
  --bg-alt: #ede9df;
  --fg: #1f3d34;
  --fg-muted: #4f7a63;
  --accent: #4f7a63;
  --accent-light: #6a9b80;
  --accent-dark: #1f3d34;
  --green: #1f3d34;
  --green-light: #d6e8d1;
  --gold: #e6b24c;
  --gold-light: #fdf3da;
  --sage: #a8c5a1;
  --card-bg: #ffffff;
  --border: #dbd6cc;
  --radius: 18px;
  --max-w: 1120px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Nunito', sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Top Navigation ── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(246, 244, 237, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  padding: 0;
}

.site-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: 1.35rem;
  color: var(--fg);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.nav-logo .logo-leaf {
  display: inline-block;
  width: 28px;
  height: 28px;
  background: var(--fg);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  margin-right: 8px;
  vertical-align: middle;
  position: relative;
}

.nav-logo .logo-leaf::after {
  content: '';
  position: absolute;
  width: 14px;
  height: 14px;
  background: var(--bg);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-links a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--fg-muted);
  text-decoration: none;
  border-radius: 10px;
  transition: background 0.15s, color 0.15s;
}

.nav-links a:hover {
  background: var(--bg-alt);
  color: var(--fg);
}

.nav-links a.active {
  background: var(--fg);
  color: white;
}

.nav-links .nav-icon { font-size: 1rem; }

.nav-cta {
  display: inline-block;
  padding: 9px 20px;
  background: var(--gold);
  color: var(--fg);
  text-decoration: none;
  border-radius: 10px;
  font-weight: 800;
  font-size: 0.88rem;
  letter-spacing: -0.01em;
  transition: background 0.15s, transform 0.1s;
  box-shadow: 0 2px 8px rgba(230, 178, 76, 0.3);
}

.nav-cta:hover {
  background: #d9a23d;
  transform: translateY(-1px);
}

.nav-mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--fg);
  font-size: 1.4rem;
  cursor: pointer;
  padding: 8px;
}

/* ── Hero ── */
.hero {
  padding: 90px 0 80px;
  text-align: left;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -180px;
  right: -100px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, var(--gold) 0%, transparent 70%);
  opacity: 0.18;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, var(--sage) 0%, transparent 70%);
  opacity: 0.25;
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-tag {
  display: inline-block;
  background: var(--green-light);
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.hero h1 {
  font-family: 'Nunito', sans-serif;
  font-size: clamp(2.8rem, 5.5vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 20px;
}

.hero h1 .highlight {
  color: var(--accent);
  position: relative;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--fg-muted);
  max-width: 480px;
  line-height: 1.75;
  font-weight: 500;
}

/* Hero visual: stylized receipt */
.hero-visual {
  position: relative;
}

.receipt {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: 0 20px 60px rgba(31, 61, 52, 0.1);
  transform: rotate(2deg);
  position: relative;
}

.receipt::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 20px;
  right: 20px;
  height: 16px;
  background: repeating-linear-gradient(90deg, var(--bg) 0, var(--bg) 8px, transparent 8px, transparent 16px);
}

.receipt-header {
  text-align: center;
  border-bottom: 2px dashed var(--border);
  padding-bottom: 16px;
  margin-bottom: 16px;
}

.receipt-header h3 {
  font-family: 'Nunito', sans-serif;
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--fg);
}

.receipt-header p {
  font-size: 0.78rem;
  color: var(--fg-muted);
  margin-top: 2px;
}

.receipt-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 0.9rem;
}

.receipt-row.struck {
  text-decoration: line-through;
  color: var(--fg-muted);
  opacity: 0.5;
}

.receipt-row .price {
  font-weight: 700;
}

.receipt-row .price.savings {
  color: var(--accent);
  font-weight: 800;
}

.receipt-divider {
  border: none;
  border-top: 2px dashed var(--border);
  margin: 12px 0;
}

.receipt-total {
  display: flex;
  justify-content: space-between;
  font-weight: 800;
  font-size: 1.1rem;
  padding-top: 4px;
}

.receipt-badge {
  margin-top: 16px;
  background: var(--green-light);
  color: var(--green);
  text-align: center;
  padding: 10px;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 800;
}

/* ── How it works ── */
.how-it-works {
  padding: 80px 0;
}

.section-label {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-title {
  font-family: 'Nunito', sans-serif;
  font-size: clamp(1.9rem, 3.5vw, 2.7rem);
  font-weight: 900;
  letter-spacing: -0.025em;
  margin-bottom: 52px;
  max-width: 600px;
  color: var(--fg);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.step {
  position: relative;
  padding: 36px 28px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.step:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(31, 61, 52, 0.09);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: 1rem;
  margin-bottom: 20px;
}

.step:nth-child(1) .step-num { background: var(--gold-light); color: #9a6e10; }
.step:nth-child(2) .step-num { background: var(--green-light); color: var(--green); }
.step:nth-child(3) .step-num { background: #e8f1e6; color: #3a6e4a; }

.step h3 {
  font-family: 'Nunito', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--fg);
}

.step p {
  font-size: 0.92rem;
  color: var(--fg-muted);
  line-height: 1.7;
}

/* ── Comparison ── */
.comparison {
  padding: 80px 0;
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 48px;
}

.comp-card {
  padding: 36px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.comp-card.old {
  background: var(--bg-alt);
}

.comp-card.new {
  background: var(--card-bg);
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}

.comp-card h3 {
  font-family: 'Nunito', sans-serif;
  font-size: 1.2rem;
  font-weight: 900;
  margin-bottom: 20px;
}

.comp-card.old h3 { color: var(--fg-muted); }
.comp-card.new h3 { color: var(--accent); }

.comp-card ul {
  list-style: none;
  padding: 0;
}

.comp-card ul li {
  padding: 10px 0;
  font-size: 0.92rem;
  color: var(--fg-muted);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.comp-card ul li:last-child { border-bottom: none; }

.comp-card ul li .icon {
  flex-shrink: 0;
  width: 20px;
  text-align: center;
  font-size: 0.85rem;
  margin-top: 2px;
}

.comp-card.old .icon { color: #b34040; }
.comp-card.new .icon { color: var(--accent); }

/* ── Closing ── */
.closing {
  padding: 100px 0 60px;
  text-align: center;
}

.closing-inner {
  max-width: 640px;
  margin: 0 auto;
}

.closing h2 {
  font-family: 'Nunito', sans-serif;
  font-size: clamp(2rem, 4vw, 2.9rem);
  font-weight: 900;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
  color: var(--fg);
}

.closing p {
  font-size: 1.1rem;
  color: var(--fg-muted);
  line-height: 1.75;
  font-weight: 500;
}

/* ── Footer ── */
footer {
  padding: 48px 0;
  border-top: 1px solid var(--border);
}

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

footer p {
  font-size: 0.82rem;
  color: var(--fg-muted);
  font-weight: 500;
}

footer a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.footer-nav {
  display: flex;
  gap: 20px;
  list-style: none;
}

.footer-nav a {
  font-size: 0.82rem;
  color: var(--fg-muted);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.15s;
}

.footer-nav a:hover { color: var(--fg); }

/* ── CTA Button ── */
.hero-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-block;
  padding: 14px 28px;
  background: var(--fg);
  color: white;
  text-decoration: none;
  border-radius: 12px;
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  transition: background 0.15s, transform 0.1s, box-shadow 0.15s;
  box-shadow: 0 4px 20px rgba(31, 61, 52, 0.2);
}

.btn-primary:hover {
  background: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(79, 122, 99, 0.3);
}

.btn-primary:active { transform: translateY(0); }

.cta-note {
  font-size: 0.82rem;
  color: var(--fg-muted);
  font-weight: 600;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero { padding: 60px 0 40px; text-align: center; }
  .hero-sub { margin: 0 auto; }
  .receipt { transform: rotate(0deg); }
  .steps { grid-template-columns: 1fr; }
  .comparison-grid { grid-template-columns: 1fr; }
  .hero-tag { margin: 0 auto 24px; }
  .hero-cta { justify-content: center; }

  .nav-links { display: none; }
  .nav-mobile-toggle { display: block; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(246, 244, 237, 0.98);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    padding: 12px 24px 16px;
    gap: 2px;
  }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2.2rem; }
  .section-title { font-size: 1.7rem; }
  .receipt { padding: 24px 20px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
