:root {
  --green-50: #f0f9f0;
  --green-100: #dcf0dc;
  --green-500: #43a047;
  --green-600: #2e7d32;
  --green-700: #1b5e20;
  --ink: #1a1f1a;
  --ink-soft: #4a534a;
  --bg: #ffffff;
  --bg-alt: #f7faf7;
  --border: #e2e8e2;
  --card-shadow: 0 4px 24px rgba(27, 94, 32, 0.08);
  --max-width: 1080px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #eef2ee;
    --ink-soft: #b6c2b6;
    --bg: #12160f;
    --bg-alt: #171d15;
    --border: #263127;
    --card-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
    --green-50: #17251a;
    --green-100: #1d2e20;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

a {
  color: var(--green-600);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
}

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--ink);
}

.brand:hover {
  text-decoration: none;
}

.brand .logo-dot {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--green-500), var(--green-700));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 14px;
}

.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}

.nav-links a {
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--green-600);
  text-decoration: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--green-600);
  color: white;
}

.btn-primary:hover {
  box-shadow: 0 6px 16px rgba(46, 125, 50, 0.35);
}

.btn-outline {
  border-color: var(--border);
  color: var(--ink);
}

/* Hero */
.hero {
  padding: 88px 0 64px;
  background: linear-gradient(180deg, var(--green-50), var(--bg) 70%);
}

.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

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

.eyebrow {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--green-100);
  color: var(--green-700);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 20px;
}

h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  margin: 0 0 20px;
  letter-spacing: -0.02em;
}

.hero p.lead {
  font-size: 1.15rem;
  color: var(--ink-soft);
  margin: 0 0 32px;
  max-width: 46ch;
}

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

.hero-visual {
  aspect-ratio: 4 / 5;
  border-radius: 28px;
  background: linear-gradient(160deg, var(--green-600), var(--green-700));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--card-shadow);
  position: relative;
  overflow: hidden;
}

.hero-visual .phone-mock {
  width: 78%;
  background: var(--bg);
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.phone-mock .mock-goal {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.phone-mock .mock-bar {
  height: 8px;
  border-radius: 999px;
  background: var(--border);
  overflow: hidden;
  margin-bottom: 20px;
}

.phone-mock .mock-bar span {
  display: block;
  height: 100%;
  width: 62%;
  background: var(--green-500);
}

.phone-mock .mock-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}

.phone-mock .mock-row:last-child {
  border-bottom: none;
}

.mock-tag {
  font-size: 0.72rem;
  color: var(--green-700);
  background: var(--green-100);
  padding: 2px 8px;
  border-radius: 999px;
}

/* Sections */
section {
  padding: 72px 0;
}

.section-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 48px;
}

.section-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}

.section-head p {
  color: var(--ink-soft);
  margin: 0;
}

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

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

.feature-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px;
}

.feature-card .icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--green-100);
  color: var(--green-700);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 16px;
}

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.feature-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.94rem;
}

.compare {
  background: var(--bg-alt);
  border-radius: 24px;
  padding: 48px;
}

@media (max-width: 640px) {
  .compare {
    padding: 28px;
  }
}

.compare-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

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

.compare-col {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
}

.compare-col h3 {
  margin-top: 0;
}

.compare-col ul {
  padding-left: 20px;
  margin: 0;
  color: var(--ink-soft);
}

.compare-col.good {
  border-color: var(--green-500);
}

.compare-col li {
  margin-bottom: 10px;
}

.cta-band {
  background: linear-gradient(135deg, var(--green-600), var(--green-700));
  border-radius: 24px;
  padding: 56px;
  text-align: center;
  color: white;
}

.cta-band h2 {
  margin: 0 0 12px;
  color: white;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 28px;
}

.cta-band .btn-outline {
  border-color: rgba(255, 255, 255, 0.5);
  color: white;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 48px 0 32px;
  background: var(--bg-alt);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

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

.footer-grid h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  margin: 0 0 14px;
}

.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-grid li {
  margin-bottom: 10px;
}

.footer-grid a {
  color: var(--ink-soft);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--ink-soft);
}

/* Legal pages */
.legal-page {
  padding: 56px 0 96px;
}

.legal-page .container {
  max-width: 760px;
}

.legal-page h1 {
  font-size: 2rem;
  margin-bottom: 8px;
}

.legal-page .updated {
  color: var(--ink-soft);
  font-size: 0.9rem;
  margin-bottom: 40px;
}

.legal-page h2 {
  font-size: 1.25rem;
  margin-top: 40px;
  margin-bottom: 12px;
}

.legal-page p,
.legal-page li {
  color: var(--ink-soft);
}

.legal-page ul {
  padding-left: 20px;
}

.placeholder {
  background: #fff3cd;
  color: #664d03;
  padding: 1px 6px;
  border-radius: 4px;
  font-weight: 600;
}

@media (prefers-color-scheme: dark) {
  .placeholder {
    background: #4a3c10;
    color: #ffe08a;
  }
}

.back-link {
  display: inline-block;
  margin-bottom: 24px;
  font-size: 0.9rem;
}
