:root {
  color-scheme: light;
  --ink: #171815;
  --muted: #62665f;
  --subtle: #858a82;
  --line: #dcded8;
  --canvas: #ffffff;
  --paper: #f4f2ec;
  --soft: #eeefe9;
  --green: #168321;
  --green-dark: #0f6418;
  --max: 1280px;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic UI", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--canvas);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: clip; background: var(--canvas); }
img { display: block; max-width: 100%; }
a { color: var(--green-dark); text-underline-offset: 3px; }
a:hover { color: var(--green); }
a:focus-visible { outline: 3px solid rgba(22, 131, 33, .35); outline-offset: 4px; border-radius: 5px; }
p, li { line-height: 1.8; overflow-wrap: anywhere; }
h1, h2, h3, p, dl, dd, figure { margin-top: 0; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  color: var(--canvas);
  background: var(--ink);
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }
.shell { width: min(calc(100% - 48px), var(--max)); margin-inline: auto; }

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid rgba(23, 24, 21, .12);
  background: rgba(244, 242, 236, .9);
  backdrop-filter: blur(18px);
}
.header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); font-size: 20px; font-weight: 780; text-decoration: none; letter-spacing: -.04em; }
.brand img { border-radius: 11px; }
.site-nav { display: flex; align-items: center; gap: clamp(18px, 2.8vw, 38px); }
.site-nav a { position: relative; color: #4f534d; font-size: 14px; font-weight: 650; text-decoration: none; }
.site-nav a::after { position: absolute; right: 0; bottom: -8px; left: 0; height: 2px; background: var(--green); content: ""; transform: scaleX(0); transform-origin: left; transition: transform .18s ease; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--ink); }
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }

.eyebrow { margin-bottom: 22px; color: var(--green-dark); font-size: 12px; font-weight: 850; letter-spacing: .18em; }
.eyebrow span { margin-right: 10px; padding: 4px 7px; color: var(--paper); background: var(--green-dark); letter-spacing: .1em; }

.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); background: var(--paper); }
.hero-grid { min-height: min(720px, calc(100svh - 78px)); display: flex; align-items: center; padding-block: clamp(72px, 11vh, 120px); }
.hero-copy { position: relative; z-index: 2; max-width: 900px; min-width: 0; }
.hero h1 { max-width: 780px; margin-bottom: 30px; font-size: clamp(54px, 5.35vw, 78px); line-height: 1; letter-spacing: -.075em; }
.headline-line { display: block; color: var(--ink); white-space: nowrap; }
.headline-line em { color: var(--green); font-style: normal; }
.section-heading h2 span, .final-cta h2 span { color: var(--green); }
.hero-lead { max-width: 640px; margin-bottom: 32px; color: #454a43; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.9; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 22px; padding: 12px 21px; border: 1px solid transparent; border-radius: 7px; font-size: 14px; font-weight: 750; text-decoration: none; transition: color .18s ease, background .18s ease, transform .18s ease; }
.button:hover { transform: translateY(-2px); }
.button.primary { color: var(--canvas); background: var(--green-dark); }
.button.primary:hover { color: var(--canvas); background: var(--green); }
.button.text-button { min-height: 44px; padding-inline: 8px; color: var(--ink); border-bottom: 1px solid var(--ink); border-radius: 0; }
.button.text-button:hover { color: var(--green-dark); border-color: var(--green-dark); }
.hero-facts { display: grid; grid-template-columns: repeat(3, max-content); gap: clamp(22px, 3.2vw, 46px); margin: 44px 0 0; }
.hero-facts div { display: grid; gap: 5px; padding-left: 12px; border-left: 1px solid #b9bcb5; }
.hero-facts dt { color: var(--green-dark); font-size: 10px; font-weight: 850; letter-spacing: .16em; }
.hero-facts dd { margin: 0; color: #555a53; font-size: 13px; font-weight: 650; }

.section { padding-block: clamp(88px, 11vw, 156px); }
.section-heading { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(280px, .55fr); align-items: end; gap: clamp(50px, 10vw, 150px); margin-bottom: 78px; }
.section-heading h2, .final-cta h2 { margin-bottom: 0; font-size: clamp(44px, 6vw, 78px); line-height: 1.04; letter-spacing: -.065em; }
.section-heading > p { margin-bottom: 6px; color: var(--muted); font-size: 16px; }

.feature-section { background: var(--canvas); }
.feature-list { border-top: 1px solid var(--ink); }
.feature-list article { min-height: 190px; display: grid; grid-template-columns: 90px minmax(0, 1fr) 80px; align-items: center; gap: 28px; border-bottom: 1px solid var(--line); }
.feature-number { align-self: start; padding-top: 36px; color: var(--green-dark); font-size: 11px; font-weight: 850; letter-spacing: .18em; }
.feature-list article > div { display: grid; grid-template-columns: minmax(250px, .85fr) minmax(260px, 1fr); align-items: center; gap: 56px; }
.feature-list h3 { margin-bottom: 0; font-size: clamp(25px, 3vw, 38px); line-height: 1.2; letter-spacing: -.045em; }
.feature-list p { margin-bottom: 0; color: var(--muted); }
.feature-mark { color: var(--green); font-size: 45px; font-weight: 300; text-align: right; }

.light-eyebrow { color: #79c47e; }
.final-cta { color: #f2f4ee; background: var(--green-dark); }
.final-cta-inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(300px, .55fr); align-items: end; gap: clamp(60px, 10vw, 160px); }
.final-cta h2 span { color: #b8dfb7; }
.final-cta-copy > p { margin-bottom: 32px; color: #d0decf; font-size: 16px; }
.light-button { color: var(--green-dark); background: #f0f4ed; }
.light-button:hover { color: var(--green-dark); background: var(--canvas); }
.outline-button { color: #f0f4ed; border-color: rgba(240, 244, 237, .5); }
.outline-button:hover { color: var(--green-dark); background: #f0f4ed; }

.site-footer { padding-block: 48px; border-top: 1px solid var(--line); background: var(--paper); }
.footer-inner { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 42px; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { border-radius: 10px; }
.footer-inner strong { font-size: 18px; }
.footer-inner > div p { margin: 3px 0 0; color: var(--muted); font-size: 12px; }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: 16px 24px; }
.footer-inner nav a { color: var(--muted); font-size: 13px; text-decoration: none; }
.copyright { margin: 0; color: var(--subtle); font-size: 12px; }
.compact-footer { margin-top: 80px; }

/* Shared legal and support pages */
.legal-shell { width: min(calc(100% - 40px), 780px); margin-inline: auto; }
.legal-hero { padding: 88px 0 56px; border-bottom: 1px solid var(--line); }
.legal-hero h1, .support-hero h1 { margin-bottom: 18px; font-size: clamp(42px, 7vw, 68px); line-height: 1.08; letter-spacing: -.045em; }
.legal-hero > p:last-child { margin-bottom: 0; color: var(--muted); font-size: 17px; }
.updated { color: var(--subtle); font-size: 13px; }
.legal-content { padding-block: 20px; }
.legal-content section { padding-block: 34px; border-bottom: 1px solid var(--line); }
.legal-content h2 { margin-bottom: 16px; font-size: 24px; letter-spacing: -.025em; }
.legal-content p, .legal-content li { color: #454a46; }
.legal-content p:last-child, .legal-content ul:last-child { margin-bottom: 0; }
.support-shell { padding-block: 88px 20px; }
.support-hero { max-width: 760px; margin-bottom: 64px; }
.support-hero > p:not(.eyebrow) { margin-bottom: 30px; color: var(--muted); font-size: 19px; }
.support-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.support-card { padding: 28px; border: 1px solid var(--line); border-radius: 16px; }
.support-card h2 { margin-bottom: 16px; font-size: 22px; }
.support-card p, .support-card li { color: var(--muted); }
.support-card p:last-child, .support-card ul:last-child { margin-bottom: 0; }

@media (max-width: 1040px) {
  .hero h1 { font-size: clamp(50px, 5.7vw, 68px); }
  .feature-list article > div { grid-template-columns: 1fr; gap: 12px; }
}

@media (max-width: 820px) {
  .shell { width: min(calc(100% - 40px), var(--max)); }
  .hero-grid { min-height: auto; padding-block: 68px 84px; }
  .hero-copy { max-width: 680px; }
  .hero h1 { font-size: clamp(52px, 10.5vw, 78px); }
  .section-heading, .final-cta-inner { grid-template-columns: 1fr; }
  .section-heading { align-items: start; gap: 30px; margin-bottom: 58px; }
  .section-heading > p { max-width: 620px; }
  .feature-list article { grid-template-columns: 56px minmax(0, 1fr) 48px; }
  .final-cta-inner { align-items: start; gap: 44px; }
  .final-cta-copy { max-width: 620px; }
  .support-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; align-items: start; gap: 24px; }
}

@media (max-width: 560px) {
  .shell, .legal-shell { width: min(calc(100% - 32px), var(--max)); }
  .header-inner { min-height: 66px; gap: 14px; }
  .brand { gap: 8px; font-size: 18px; }
  .brand img { width: 34px; height: 34px; border-radius: 9px; }
  .site-nav { min-width: 0; flex: 0 0 auto; gap: 16px; }
  .site-nav a { font-size: 12px; }
  .site-nav { display: none; }
  .hero-grid { padding-block: 52px 68px; }
  .hero h1 { margin-bottom: 24px; font-size: clamp(37px, 10.3vw, 48px); line-height: 1.04; }
  .headline-line { width: 100%; white-space: nowrap; }
  .hero-lead { margin-bottom: 26px; font-size: 15px; line-height: 1.85; }
  .hero-actions { gap: 12px; }
  .button { min-height: 48px; gap: 16px; padding-inline: 17px; }
  .button.text-button { padding-inline: 4px; }
  .hero-facts { grid-template-columns: 1fr; gap: 10px; margin-top: 34px; }
  .hero-facts div { grid-template-columns: 28px 1fr; align-items: center; gap: 5px; padding: 6px 0 6px 10px; }
  .section { padding-block: 84px; }
  .section-heading h2, .final-cta h2 { font-size: clamp(39px, 11.2vw, 53px); }
  .section-heading { margin-bottom: 48px; }
  .feature-list article { min-height: auto; grid-template-columns: 34px minmax(0, 1fr); gap: 14px; padding-block: 30px; }
  .feature-number { align-self: start; padding-top: 5px; }
  .feature-list h3 { font-size: 24px; }
  .feature-list p { margin-top: 12px; font-size: 14px; }
  .feature-mark { display: none; }
  .final-cta-copy > p { font-size: 15px; }
  .legal-hero, .support-shell { padding-top: 62px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
