:root {
  --bg: #FCFAF6;
  --surface: #FFFFFF;
  --primary: #204B38;
  --secondary: #2F7D4B;
  --tint: #B5DEC1;
  --tint-soft: #E4F1E8;
  --panel: #E8F3EC;
  --ink: #16281F;
  --muted: #5C6B63;
  --border: rgba(32, 75, 56, 0.16);
  --shadow: 0 1px 2px rgba(18, 36, 27, 0.04), 0 12px 32px rgba(18, 36, 27, 0.07);
  --shadow-lg: 0 24px 60px rgba(18, 36, 27, 0.14);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 28px;
  --font-display: 'Fraunces', serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
  --nav-h: 76px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font: inherit; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 32px; }
section[id] { scroll-margin-top: 96px; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--primary);
  margin: 0;
  letter-spacing: -0.02em;
}
.lede, .section-head p, .muted { color: var(--muted); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  font-size: 13px;
  color: var(--secondary);
  background: var(--tint-soft);
  border-radius: 999px;
  padding: 8px 16px;
  margin-bottom: 18px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14.5px;
  padding: 13px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--primary); color: var(--bg); }
.btn-primary:hover { background: #1a3e2d; }
.btn-ghost { background: transparent; color: var(--primary); border-color: var(--border); }
.btn-ghost:hover { background: var(--tint-soft); }
.btn-light { background: var(--bg); color: var(--primary); }
.btn-light:hover { background: var(--tint); }

/* ---------- NAV ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(252, 250, 246, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  gap: 20px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: 20px;
  color: var(--primary);
  flex-shrink: 0;
}
.logo img { width: 36px; height: 36px; object-fit: contain; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14.5px;
  color: var(--muted);
}
.nav-links a.is-active,
.nav-links a:hover { color: var(--primary); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--primary);
}
.nav-toggle svg { width: 24px; height: 24px; }

.has-dropdown { position: relative; }
.dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 220px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 10px;
  z-index: 60;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown { display: grid; gap: 2px; }
.dropdown a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--ink);
  font-size: 14px;
}
.dropdown a:hover { background: var(--tint-soft); color: var(--primary); }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  padding: 72px 0 88px;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: -10% -10% auto -10%;
  height: 640px;
  background:
    radial-gradient(circle at 16% 18%, rgba(181, 222, 193, 0.55), transparent 55%),
    radial-gradient(circle at 88% 12%, rgba(228, 241, 232, 0.9), transparent 42%),
    repeating-radial-gradient(circle at 50% -10%, transparent 0, transparent 64px, rgba(32, 75, 56, 0.04) 65px);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}
.hero-copy {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.hero h1 {
  font-size: clamp(2.4rem, 4.4vw, 3.5rem);
  line-height: 1.06;
  margin-left: auto;
  margin-right: auto;
  white-space: nowrap;
}
.hero h1 em { font-style: italic; color: var(--secondary); }
.hero .lede {
  font-size: 18px;
  max-width: 540px;
  margin: 20px auto 28px;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
  justify-content: center;
}
.hero-support {
  font-size: 13.5px;
  color: var(--muted);
  max-width: 460px;
  margin: 0 auto;
}
.patch-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; justify-content: center; }
.patch {
  font-size: 13px;
  font-weight: 500;
  color: var(--primary);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 16px;
}

.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
}
.hero-visual--infographic {
  max-width: 1100px;
  margin: 0 auto;
}
.hero-infographic {
  width: 100%;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(32, 75, 56, 0.12);
  background: #fff;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16 / 9;
}
.hero-infographic img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  background: #f4f6f4;
}
.hero-dots {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
}
.hero-dots .hero-strip__item {
  width: 10px;
  height: 10px;
  padding: 0;
  border-radius: 50%;
  border: 0;
  background: rgba(32, 75, 56, 0.22);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}
.hero-dots .hero-strip__item.is-active,
.hero-dots .hero-strip__item:hover,
.hero-dots .hero-strip__item:focus-visible {
  background: var(--primary);
  transform: scale(1.15);
  outline: none;
}
.hero-shot,
.hero-strip__item {
  border-radius: 28px;
  overflow: hidden;
  background: #fff;
}

/* ---------- SECTIONS ---------- */
.section { padding: 88px 0; border-top: 1px solid var(--border); }
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.7rem, 2.8vw, 2.35rem); }
.section-head p { margin: 14px 0 0; font-size: 16px; }
.page-hero {
  padding: 72px 0 40px;
  background:
    radial-gradient(circle at 12% 20%, rgba(181, 222, 193, 0.4), transparent 42%),
    linear-gradient(180deg, #F3F8F4 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--border);
}
.page-hero h1 {
  font-size: clamp(2.1rem, 3.6vw, 3rem);
  white-space: nowrap;
}
.page-hero .lede { max-width: 560px; margin: 16px 0 0; font-size: 17px; }

/* ---------- FEATURE TABS (Circle-inspired) ---------- */
.feature-showcase { padding-top: 72px; }
.feature-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 28px;
}
.feature-tab {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-weight: 500;
  font-size: 14.5px;
  padding: 10px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.feature-tab:hover { color: var(--primary); background: rgba(32, 75, 56, 0.06); }
.feature-tab.is-active {
  background: #E7ECE9;
  color: var(--ink);
  font-weight: 600;
}
.feature-panel {
  display: none;
  background: linear-gradient(160deg, #EAF5EE 0%, #DCEFE3 100%);
  border-radius: var(--radius-lg);
  padding: 40px;
  gap: 36px;
  align-items: stretch;
}
.feature-panel.is-active,
.feature-panel:not([hidden]).is-active {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  animation: panelIn 0.35s ease;
}
.feature-panel[hidden] { display: none !important; }
@keyframes panelIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
.feature-copy h3 {
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  line-height: 1.2;
  max-width: 18ch;
  margin-bottom: 22px;
}
.check-list { display: grid; gap: 12px; margin-bottom: 28px; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--ink);
}
.check-list .check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--secondary);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.check-list .check svg { width: 12px; height: 12px; }

.quote-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  max-width: 420px;
}
.quote-card p {
  margin: 0 0 16px;
  font-size: 14.5px;
  color: var(--ink);
  line-height: 1.55;
}
.quote-card footer {
  display: flex;
  align-items: center;
  gap: 12px;
}
.quote-card .avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--tint-soft);
}
.quote-card strong { display: block; font-size: 14px; color: var(--ink); }
.quote-card span { font-size: 12.5px; color: var(--muted); }

.feature-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
}
.phone-frame {
  width: min(100%, 320px);
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(32, 75, 56, 0.14);
  box-shadow: var(--shadow-lg);
  background: #fff;
  aspect-ratio: 9 / 16;
}
.phone-frame img { width: 100%; height: 100%; object-fit: cover; }
.web-frame {
  width: 100%;
  max-width: 520px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(32, 75, 56, 0.14);
  box-shadow: var(--shadow-lg);
  background: #fff;
}
.web-frame img { width: 100%; height: auto; display: block; }

.mock-card {
  width: 100%;
  background: #fff;
  border-radius: 18px;
  border: 1px solid rgba(32, 75, 56, 0.12);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.mock-card__bar {
  display: flex;
  gap: 8px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(32, 75, 56, 0.08);
  font-size: 12.5px;
  color: var(--muted);
  flex-wrap: wrap;
}
.mock-card__bar span {
  padding: 5px 10px;
  border-radius: 999px;
  background: #F3F6F4;
}
.mock-card__bar span.is-on { background: var(--tint-soft); color: var(--primary); font-weight: 600; }
.mock-card__body { padding: 18px; }
.mock-row {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(32, 75, 56, 0.08);
}
.mock-row:last-child { border-bottom: 0; }
.mock-thumb {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  object-fit: cover;
  background: var(--tint-soft);
}
.mock-row h4 { margin: 0; font-family: var(--font-body); font-size: 14px; font-weight: 600; color: var(--ink); }
.mock-row p { margin: 4px 0 0; font-size: 12.5px; color: var(--muted); }
.mock-chip {
  font-size: 12px;
  font-weight: 600;
  color: var(--secondary);
  background: var(--tint-soft);
  border-radius: 999px;
  padding: 6px 10px;
}
.chart-lines {
  height: 180px;
  margin: 8px 0 12px;
  background:
    linear-gradient(transparent 0 98%, rgba(32,75,56,.08) 98%),
    linear-gradient(90deg, transparent 0 98%, rgba(32,75,56,.08) 98%);
  background-size: 100% 24px, 40px 100%;
  position: relative;
}
.chart-lines svg { width: 100%; height: 100%; }

/* ---------- GRIDS ---------- */
.card-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.card-grid.three { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--secondary);
}
.card.soft { background: var(--tint-soft); border-color: transparent; }
.card h3 {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}
.card p { margin: 0 0 18px; color: var(--muted); font-size: 14.5px; }
.card .btn { margin-top: auto; }

.icon-badge {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--tint-soft);
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.icon-badge svg { width: 20px; height: 20px; }

.steps { display: grid; gap: 14px; }
.step {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 16px;
  align-items: start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}
.step-num {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 20px;
}
.step h3 { font-family: var(--font-body); font-size: 16px; font-weight: 600; color: var(--ink); }
.step p { margin: 6px 0 0; color: var(--muted); font-size: 14px; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.bullet-list { display: grid; gap: 10px; margin-top: 18px; }
.bullet-list li {
  display: flex;
  gap: 10px;
  color: var(--muted);
  font-size: 15px;
}
.bullet-list li::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--secondary);
  margin-top: 8px;
  flex-shrink: 0;
}

/* ---------- CTA / FOOTER ---------- */
.cta-band {
  background: var(--primary);
  color: var(--bg);
  border-radius: var(--radius-lg);
  padding: 64px 48px;
  text-align: center;
}
.cta-band h2 { color: var(--bg); font-size: clamp(1.7rem, 3vw, 2.3rem); }
.cta-band p {
  color: rgba(252, 250, 246, 0.78);
  max-width: 480px;
  margin: 14px auto 28px;
}
.cta-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.cta-band .btn-ghost {
  color: var(--bg);
  border-color: rgba(252, 250, 246, 0.35);
}
.cta-band .btn-ghost:hover { background: rgba(252, 250, 246, 0.1); }

.footer {
  padding: 64px 0 36px;
  border-top: 1px solid var(--border);
  margin-top: 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 40px;
}
.footer h4 {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--primary);
  margin: 0 0 14px;
}
.footer-col a {
  display: block;
  color: var(--muted);
  font-size: 14px;
  padding: 5px 0;
}
.footer-col a:hover { color: var(--primary); }
.footer-brand p { color: var(--muted); font-size: 14px; margin: 12px 0 18px; max-width: 280px; }
.footer-contact { color: var(--muted); font-size: 13.5px; display: grid; gap: 6px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 13px;
}
.socials { display: flex; gap: 14px; }
.legacy-note {
  font-size: 12px;
  color: var(--muted);
  opacity: 0.8;
}

/* ---------- FORMS ---------- */
.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.form-field { display: grid; gap: 6px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 13.5px; font-weight: 600; color: var(--primary); }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}
.form-field textarea { min-height: 110px; resize: vertical; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 2px solid rgba(47, 125, 75, 0.25);
  border-color: var(--secondary);
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 960px) {
  .hero-inner,
  .feature-panel.is-active,
  .split,
  .card-grid,
  .card-grid.three,
  .footer-grid,
  .form-grid { grid-template-columns: 1fr; }
  .nav-toggle { display: block; }
  .nav-inner { position: relative; }
  .nav-links {
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(252, 250, 246, 0.98);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 18px 34px rgba(18, 36, 27, 0.08);
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    visibility: hidden;
    pointer-events: none;
    transition: max-height 0.35s ease, opacity 0.22s ease, visibility 0s linear 0.35s;
    z-index: 49;
  }
  .nav.is-open .nav-links {
    max-height: 520px;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    padding: 12px 20px 18px;
    transition: max-height 0.35s ease, opacity 0.22s ease, visibility 0s;
  }
  .nav-links > a,
  .has-dropdown > a {
    padding: 12px 0;
    font-size: 16px;
  }
  .has-dropdown .dropdown {
    display: none;
    position: static;
    transform: none;
    box-shadow: none;
    border: 0;
    background: transparent;
    padding: 0 0 8px 12px;
  }
  .nav.is-open .has-dropdown .dropdown { display: grid; }
  .nav-actions { display: none; width: 100%; flex-direction: column; }
  .nav.is-open .nav-actions { display: flex; padding-top: 8px; }
  .nav-actions .btn { width: 100%; }
  .hero { padding: 36px 0 56px; }
  .hero h1 {
    max-width: 12ch;
    font-size: clamp(2rem, 8.5vw, 2.8rem);
    white-space: normal;
  }
  .page-hero h1 {
    max-width: 16ch;
    white-space: normal;
  }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .hero-infographic { border-radius: 18px; }
  .feature-panel { padding: 24px; }
  .feature-visual { min-height: 0; }
  .section { padding: 64px 0; }
  .wrap { padding: 0 20px; }
  .cta-band { padding: 48px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}
