@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=DM+Serif+Display:ital@0;1&display=swap');

/* ── TOKENS ── */
:root {
  --bg-base:        #f4f8f5;
  --bg-surface:     #edf4ef;
  --bg-raised:      #ffffff;
  --bg-subtle:      #e4efe7;

  --border-dim:     #d0e3d5;
  --border-mid:     #b8d4bf;
  --border-bright:  #8fb8a0;

  --green-bright:   #3d9e62;
  --green-mid:      #2d7a4f;
  --green-dim:      #1f5c3a;
  --green-deep:     #13402a;

  --text-primary:   #152b1e;
  --text-secondary: #3d5c47;
  --text-muted:     #5a7d66;
  --text-faint:     #7a9e86;

  --red-dim:        #c0392b;

  --font-serif: 'DM Serif Display', Georgia, serif;
  --font-sans:  'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --radius-sm:  8px;
  --radius-md:  12px;
  --radius-lg:  16px;

  --ease:       cubic-bezier(0.4, 0, 0.2, 1);
  --dur-fast:   150ms;
  --dur-mid:    220ms;
  --dur-slow:   350ms;

  --max-width:  1200px;
}

/* ── RESET ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-top: 72px;
}
h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: 0;
}
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  padding: 14px 0;
  background: rgba(244, 248, 245, 0.88);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--border-dim);
  z-index: 100;
}
nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--green-bright);
  text-decoration: none;
}
.nav-cta {
  background: var(--green-dim);
  color: #fff;
  padding: 10px 24px;
  border-radius: 100px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.875rem;
  transition: background var(--dur-mid) var(--ease), transform var(--dur-mid) var(--ease);
}
.nav-cta:hover {
  background: var(--green-mid);
  transform: translateY(-1px);
}

/* ── SECTION DEFAULTS ── */
section { padding: 96px 0; }
.centered { text-align: center; }
.centered .section-sub { margin-left: auto; margin-right: auto; }

section h2 {
  font-size: 2.25rem;
  color: var(--text-primary);
  margin-bottom: 16px;
}
section .section-sub {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  max-width: 620px;
  margin-bottom: 52px;
  line-height: 1.7;
}

/* ── HERO ── */
.hero {
  padding: 100px 0 90px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -15%;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(93, 158, 114, 0.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(27, 94, 58, 0.15) 0%, transparent 70%);
  pointer-events: none;
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  line-height: 1.1;
  color: var(--text-primary);
  max-width: 800px;
  margin: 0 auto 24px;
  letter-spacing: -0.02em;
  position: relative;
}
.hero .subhead {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto 44px;
  line-height: 1.7;
  position: relative;
}
.hero .cta-group {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}
.trust-line {
  margin-top: 36px;
  font-size: 0.875rem;
  color: var(--text-faint);
  position: relative;
}
.trust-line strong { color: var(--text-muted); }
.trust-line span { display: inline-block; margin: 0 10px; }

/* ── BUTTONS ── */
.btn-primary {
  background: var(--green-dim);
  color: #fff;
  padding: 13px 32px;
  border-radius: 100px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: background var(--dur-mid) var(--ease), transform var(--dur-mid) var(--ease);
  display: inline-block;
}
.btn-primary:hover {
  background: var(--green-mid);
  transform: translateY(-2px);
}
.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
  padding: 13px 32px;
  border: 1px solid var(--border-mid);
  border-radius: 100px;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition: background var(--dur-mid) var(--ease), border-color var(--dur-mid) var(--ease), transform var(--dur-mid) var(--ease);
  cursor: pointer;
  display: inline-block;
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--border-bright);
  transform: translateY(-2px);
}

/* ── ANIMATIONS ── */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero h1,
.hero .subhead,
.hero .cta-group,
.hero .trust-line,
.problem-card,
.step,
.use-case,
.roi-box,
.ab-heading,
.ab-grid,
.final-cta h2,
.final-cta p,
.final-cta .cta-group,
.final-cta .cta-note {
  opacity: 0;
  animation: fade-up 700ms var(--ease) forwards;
}

.hero h1          { animation-delay: 80ms; }
.hero .subhead    { animation-delay: 170ms; }
.hero .cta-group  { animation-delay: 260ms; }
.hero .trust-line { animation-delay: 340ms; }

.problem-card:nth-child(1) { animation-delay: 120ms; }
.problem-card:nth-child(2) { animation-delay: 220ms; }
.problem-card:nth-child(3) { animation-delay: 320ms; }

.step:nth-child(1) { animation-delay: 100ms; }
.step:nth-child(2) { animation-delay: 200ms; }
.step:nth-child(3) { animation-delay: 300ms; }

.use-case:nth-child(1) { animation-delay: 100ms; }
.use-case:nth-child(2) { animation-delay: 190ms; }
.use-case:nth-child(3) { animation-delay: 280ms; }

.roi-box    { animation-delay: 120ms; }
.ab-heading { animation-delay: 80ms; }
.ab-grid    { animation-delay: 180ms; }

.final-cta h2           { animation-delay: 100ms; }
.final-cta p            { animation-delay: 180ms; }
.final-cta .cta-group   { animation-delay: 260ms; }
.final-cta .cta-note    { animation-delay: 340ms; }

@media (prefers-reduced-motion: reduce) {
  .hero h1, .hero .subhead, .hero .cta-group, .hero .trust-line,
  .problem-card, .step, .use-case, .roi-box,
  .ab-heading, .ab-grid,
  .final-cta h2, .final-cta p, .final-cta .cta-group, .final-cta .cta-note {
    opacity: 1;
    animation: none;
  }
}

/* ── PROBLEM ── */
.problem { background: var(--bg-surface); }
.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}
.problem-card {
  background: var(--bg-raised);
  border: 1px solid var(--border-mid);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: left;
  transition: transform var(--dur-mid) var(--ease), border-color var(--dur-mid) var(--ease);
}
.problem-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-bright);
}
.problem-card .icon {
  width: 48px;
  height: 48px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-mid);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-mid);
  margin-bottom: 16px;
}
.problem-card h3 {
  font-size: 1.125rem;
  margin-bottom: 10px;
  color: var(--text-primary);
  font-weight: 500;
}
.problem-card p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ── SOLUTION ── */
#how { background: var(--bg-base); }
.solution-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  text-align: left;
}
.step {
  background: var(--bg-raised);
  border: 1px solid var(--border-mid);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: transform var(--dur-mid) var(--ease), border-color var(--dur-mid) var(--ease);
}
.step:hover {
  transform: translateY(-3px);
  border-color: var(--border-bright);
}
.step-number {
  width: 44px;
  height: 44px;
  background: var(--green-dim);
  color: #fff;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 16px;
}
.step h3 {
  font-size: 1.0625rem;
  margin-bottom: 8px;
  color: var(--text-primary);
  font-weight: 600;
}
.step p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ── USE CASES ── */
.use-cases { background: var(--bg-surface); }
.use-case-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.use-case {
  background: var(--bg-raised);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-mid);
  padding: 28px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  align-items: center;
  gap: 28px;
  text-align: left;
  transition: transform var(--dur-mid) var(--ease), border-color var(--dur-mid) var(--ease);
}
.use-case:hover {
  transform: translateY(-2px);
  border-color: var(--border-bright);
}
.use-case .label {
  display: inline-block;
  background: var(--bg-subtle);
  color: var(--green-mid);
  border: 1px solid var(--border-mid);
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 14px;
}
.use-case h3 {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  margin-bottom: 12px;
  color: var(--text-primary);
  font-weight: 500;
  line-height: 1.2;
}
.use-case p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
}
.use-case-metric {
  background: var(--bg-subtle);
  border: 1px solid var(--border-mid);
  border-radius: var(--radius-md);
  min-height: 160px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 24px;
  text-align: center;
}
.metric-number {
  font-size: 2.8rem;
  line-height: 1;
  font-weight: 700;
  color: var(--green-bright);
  margin-bottom: 10px;
}
.metric-label {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.4;
  max-width: 160px;
}

/* ── ROI ── */
.roi-box {
  background: var(--bg-raised);
  border-radius: var(--radius-lg);
  padding: 48px;
  border: 1px solid var(--border-mid);
}
.roi-box h2 {
  color: var(--text-primary);
  margin-bottom: 28px;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}
.roi-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44%;
  gap: 36px;
  align-items: start;
}
.roi-intro {
  margin-bottom: 16px;
  color: var(--text-muted);
  font-size: 0.9375rem;
}
.roi-input-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-dim);
  padding: 16px 0;
}
.roi-input-row .label {
  color: var(--text-secondary);
  font-size: 1rem;
}
.roi-input-row .value {
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 700;
}
.roi-input-row .value-negative { color: #c0392b; }
.roi-outcomes {
  background: var(--bg-subtle);
  border: 1px solid var(--border-mid);
  border-radius: var(--radius-md);
  padding: 28px;
}
.roi-outcomes h3 {
  margin: 0 0 20px;
  color: var(--text-muted);
  font-size: 1.1rem;
  font-weight: 500;
}
.roi-outcome-block { margin-bottom: 22px; }
.roi-outcome-block:last-of-type { margin-bottom: 0; }
.outcome-label {
  color: var(--text-muted);
  font-size: 0.9375rem;
  margin-bottom: 4px;
}
.outcome-value {
  color: var(--green-bright);
  font-size: 2.8rem;
  line-height: 1.05;
  font-weight: 700;
}

/* ── ABOUT ── */
.about { background: var(--bg-surface); }

.ab-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-mid);
  margin-bottom: 14px;
}
.ab-heading {
  font-family: var(--font-serif);
  font-size: clamp(26px, 3.5vw, 42px);
  font-weight: 400;
  line-height: 1.2;
  color: var(--text-primary);
  margin: 0 0 48px;
  max-width: 580px;
}
.ab-heading em {
  font-style: italic;
  color: var(--green-bright);
}
.ab-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 52px;
  align-items: start;
}
.ab-photo-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.ab-photo-frame {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-lg);
  background: var(--bg-raised);
  border: 1px solid var(--border-mid);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ab-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ab-photo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
}
.ab-initials {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-dim), var(--green-bright));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 26px;
  color: #ffffff;
}
.ab-badge {
  background: var(--bg-raised);
  border: 1px solid var(--border-mid);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.ab-badge-icon {
  font-size: 18px;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}
.ab-badge-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 2px;
}
.ab-badge-sub {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
  margin: 0;
}
.ab-text p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin: 0 0 20px;
}
.ab-text p:last-child { margin-bottom: 0; }
.ab-text strong {
  color: var(--text-primary);
  font-weight: 500;
}
.ab-quote {
  border-left: 3px solid var(--green-dim);
  padding: 16px 20px;
  margin: 28px 0;
  background: var(--bg-subtle);
}
.ab-quote p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 18px;
  color: var(--green-dim);
  margin: 0;
  line-height: 1.6;
}

/* ── FINAL CTA ── */
.final-cta {
  text-align: center;
  padding: 110px 0;
  background: var(--bg-raised);
  border-top: 1px solid var(--border-mid);
}
.final-cta h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin-bottom: 18px;
  color: var(--text-primary);
}
.final-cta p {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto 40px;
  line-height: 1.7;
}
.final-cta .cta-group {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.cta-note {
  margin-top: 18px;
  font-size: 0.8125rem;
  color: var(--text-faint);
}

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--border-dim);
  padding: 36px 0;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--text-faint);
  background: var(--bg-base);
}
footer a {
  color: var(--text-faint);
  text-decoration: none;
  margin: 0 12px;
  transition: color var(--dur-fast) var(--ease);
}
footer a:hover { color: var(--green-mid); }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  section { padding: 64px 0; }
  section h2 { font-size: 1.875rem; }

  .hero { padding: 72px 0 64px; }

  .use-case {
    grid-template-columns: 1fr;
    padding: 22px;
    gap: 16px;
  }
  .use-case h3 { font-size: 1.7rem; }
  .use-case-metric { min-height: 120px; width: 100%; }
  .metric-number { font-size: 2.2rem; }

  .roi-box { padding: 24px 20px; }
  .roi-layout { grid-template-columns: 1fr; gap: 16px; }
  .outcome-value { font-size: 2.2rem; }

  .ab-grid { grid-template-columns: 1fr; gap: 32px; }
  .ab-photo-frame { aspect-ratio: 4 / 3; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2rem; }
  .roi-box h2 { font-size: 1.7rem; }
}
