:root {
  --bg: #f6f7f2;
  --surface: #ffffff;
  --surface-soft: #edf2eb;
  --ink: #13212f;
  --ink-muted: #4b5f72;
  --brand: #2f8f67;
  --brand-dark: #1e6a4d;
  --accent: #d98f3d;
  --ring: rgba(47, 143, 103, 0.2);
  --shadow: 0 20px 40px rgba(19, 33, 47, 0.08);
  --radius-lg: 22px;
  --radius-md: 14px;
  --max: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Sora", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(1000px 420px at 20% -12%, rgba(47, 143, 103, 0.2), transparent 65%),
    radial-gradient(850px 360px at 90% -6%, rgba(217, 143, 61, 0.18), transparent 70%),
    var(--bg);
  line-height: 1.5;
}

img {
  max-width: 100%;
}

.container {
  width: min(var(--max), calc(100% - 2.25rem));
  margin-inline: auto;
}

.section {
  padding: 4.25rem 0;
}

.section-soft {
  background: linear-gradient(180deg, rgba(237, 242, 235, 0.8), rgba(237, 242, 235, 0.2));
}

.kicker {
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--brand-dark);
  font-size: 0.75rem;
}

h1,
h2,
h3,
h4 {
  font-family: "Fraunces", Georgia, serif;
  margin: 0;
  line-height: 1.1;
}

h1 {
  font-size: clamp(2.25rem, 3.9vw, 4.1rem);
  margin-top: 0.55rem;
  max-width: 16ch;
}

h2 {
  font-size: clamp(1.7rem, 2.8vw, 2.8rem);
}

p {
  margin: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(8px);
  background: rgba(246, 247, 242, 0.85);
  border-bottom: 1px solid rgba(19, 33, 47, 0.07);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
}

.brand-mark {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--brand);
  color: #fff;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.93rem;
  font-weight: 500;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--brand-dark);
}

.nav-cta {
  padding: 0.62rem 1rem;
  border-radius: 999px;
  background: var(--ink);
  color: #fff !important;
  box-shadow: var(--shadow);
}

.menu-toggle {
  display: none;
  border: 1px solid rgba(19, 33, 47, 0.2);
  background: #fff;
  border-radius: 999px;
  font: inherit;
  padding: 0.45rem 0.9rem;
}

.hero {
  position: relative;
  overflow: clip;
  padding-top: 5.5rem;
}

.hero-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
}

.hero-copy {
  margin-top: 1rem;
  color: var(--ink-muted);
  max-width: 52ch;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
}

.hero-actions {
  display: flex;
  gap: 0.8rem;
  margin-top: 1.4rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
  padding: 0.72rem 1.15rem;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(120deg, var(--brand), #47ab80);
  color: #fff;
  box-shadow: 0 12px 24px rgba(47, 143, 103, 0.27);
}

.btn-ghost {
  background: #fff;
  border-color: rgba(19, 33, 47, 0.18);
  color: var(--ink);
}

.hero-stats {
  margin-top: 1.6rem;
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hero-stats div {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(19, 33, 47, 0.08);
  border-radius: var(--radius-md);
  padding: 0.95rem;
}

.stat-value {
  font-size: 1.18rem;
  font-weight: 700;
}

.stat-label {
  margin-top: 0.2rem;
  color: var(--ink-muted);
  font-size: 0.78rem;
}

.hero-card {
  position: relative;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(19, 33, 47, 0.08);
  box-shadow: var(--shadow);
  padding: 1.5rem;
}

.card-kicker {
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--brand-dark);
}

.hero-card h2 {
  font-size: 1.65rem;
  margin-top: 0.5rem;
}

.hero-list {
  margin: 1rem 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.75rem;
}

.hero-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0.8rem;
  border-radius: 12px;
  background: #f9faf7;
  border: 1px solid rgba(19, 33, 47, 0.07);
}

.growth-chip {
  border-radius: 12px;
  background: #172938;
  color: #f4f7fa;
  padding: 0.8rem;
}

.growth-chip p {
  font-size: 0.77rem;
  opacity: 0.85;
}

.growth-chip strong {
  display: block;
  margin-top: 0.2rem;
}

.card-footnote {
  margin-top: 0.85rem;
  color: var(--ink-muted);
  font-size: 0.86rem;
}

.hero-glow {
  position: absolute;
  z-index: -1;
  filter: blur(38px);
  pointer-events: none;
}

.hero-glow-left {
  width: 300px;
  height: 300px;
  left: -120px;
  top: 60px;
  background: rgba(47, 143, 103, 0.3);
}

.hero-glow-right {
  width: 260px;
  height: 260px;
  right: -90px;
  top: 30px;
  background: rgba(217, 143, 61, 0.34);
}

.section-head {
  margin-bottom: 1.5rem;
}

.section-head h2 {
  margin-top: 0.45rem;
  max-width: 20ch;
}

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

.step {
  background: #fff;
  border: 1px solid rgba(19, 33, 47, 0.08);
  border-radius: var(--radius-md);
  padding: 1.1rem;
}

.step-index {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--brand-dark);
}

.step h3 {
  font-size: 1.3rem;
  margin-top: 0.4rem;
}

.step p:last-child {
  margin-top: 0.45rem;
  color: var(--ink-muted);
}

.split {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr 1fr;
  align-items: start;
}

.check-list {
  margin: 1rem 0 0;
  padding-left: 1.2rem;
}

.check-list li {
  margin: 0.5rem 0;
  color: var(--ink-muted);
}

.panel-stack {
  display: grid;
  gap: 0.85rem;
}

.panel {
  background: #fff;
  border: 1px solid rgba(19, 33, 47, 0.08);
  border-radius: var(--radius-md);
  padding: 1rem;
}

.panel-label {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brand-dark);
  font-weight: 700;
}

.panel h3 {
  font-size: 1.25rem;
  margin-top: 0.45rem;
}

.panel p {
  margin-top: 0.4rem;
  color: var(--ink-muted);
}

.goal-preview h2 {
  margin-top: 0.5rem;
}

.goal-preview > p {
  margin-top: 0.75rem;
  color: var(--ink-muted);
  max-width: 52ch;
}

.goal-card {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(19, 33, 47, 0.09);
  background: #fff;
  box-shadow: var(--shadow);
}

.goal-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.8rem;
  align-items: center;
}

.goal-thumb {
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 10px;
  background: linear-gradient(135deg, #f9dab5, #edd5a8);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.76rem;
  font-weight: 700;
  color: #735628;
}

.goal-title {
  font-weight: 700;
}

.goal-meta {
  font-size: 0.82rem;
  color: var(--ink-muted);
}

.goal-percent {
  font-size: 0.86rem;
  font-weight: 700;
}

.goal-progress {
  margin: 0.75rem 0;
  height: 0.52rem;
  border-radius: 999px;
  background: #eef2ef;
  overflow: hidden;
}

.goal-progress span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand), #57bc8f);
}

.sim-teaser {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(19, 33, 47, 0.08);
  background: #fff;
  box-shadow: var(--shadow);
  padding: 1.2rem;
}

.sim-teaser h3 {
  margin-top: 0.45rem;
  font-size: 1.45rem;
}

.sim-teaser label {
  display: block;
  margin-top: 0.85rem;
  font-size: 0.82rem;
  color: var(--ink-muted);
}

.sim-teaser input[type="range"] {
  width: 100%;
  margin-top: 0.5rem;
  accent-color: var(--brand);
}

.sim-line {
  margin-top: 0.25rem;
  color: var(--ink-muted);
  font-size: 0.9rem;
}

.sim-results {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
}

.sim-results div {
  border: 1px solid rgba(19, 33, 47, 0.08);
  border-radius: 10px;
  background: #f9faf7;
  padding: 0.65rem;
}

.sim-results p {
  color: var(--ink-muted);
  font-size: 0.74rem;
}

.sim-results strong {
  display: block;
  margin-top: 0.2rem;
  font-size: 1rem;
}

.faq-grid {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.faq {
  border-radius: var(--radius-md);
  border: 1px solid rgba(19, 33, 47, 0.08);
  background: #fff;
  padding: 1rem;
}

.faq h3 {
  font-size: 1.18rem;
}

.faq p {
  margin-top: 0.5rem;
  color: var(--ink-muted);
}

.cta-section {
  padding-top: 1rem;
}

.cta-card {
  border-radius: calc(var(--radius-lg) + 4px);
  background: linear-gradient(135deg, #1b3144, #264b67);
  color: #eff6fd;
  padding: 2rem;
  box-shadow: var(--shadow);
}

.cta-card h2 {
  margin-top: 0.5rem;
}

.cta-card p {
  margin-top: 0.7rem;
  max-width: 56ch;
  color: #c7d8e9;
}

.cta-form {
  margin-top: 1rem;
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.cta-form input {
  flex: 1;
  min-width: 220px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
  padding: 0.72rem 1rem;
  font: inherit;
}

.cta-form input::placeholder {
  color: rgba(255, 255, 255, 0.72);
}

.cta-form .btn-primary {
  background: linear-gradient(120deg, var(--accent), #eaab64);
  box-shadow: none;
}

.site-footer {
  padding: 1.8rem 0 2rem;
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--ink-muted);
  font-size: 0.85rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  border: 0;
  clip: rect(0, 0, 0, 0);
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 500ms ease, transform 500ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .hero-grid,
  .split,
  .steps,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .sim-results {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    padding: 0.8rem 1.1rem 1rem;
    border-top: 1px solid rgba(19, 33, 47, 0.07);
    background: rgba(246, 247, 242, 0.97);
    display: none;
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav.is-open {
    display: flex;
  }

  .nav-cta {
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .btn {
    transition: none;
  }
}
