/* Design tokens — Medium editorial system */
:root {
  --md-accent: #1A8917;
  --md-accent-hover: #156D12;
  --md-accent-soft: #E8F3E8;
  --md-ink: #191919;
  --md-text: #242424;
  --md-muted: #6B6B6B;
  --md-muted-soft: #757575;
  --md-canvas: #F7F4ED;
  --md-canvas-alt: #FFFFFF;
  --md-surface: #FFFFFF;
  --md-surface-warm: #F2EFE6;
  --md-border: #E6E6E6;
  --md-border-strong: #CFCFCF;
  --md-hero-green: #34AC45;
  --md-hero-moss: #48704B;
  --md-on-dark: #FFFFFF;
  --md-serif: Georgia, Cambria, "Times New Roman", serif;
  --md-sans: "Helvetica Neue", Arial, sans-serif;
  --md-radius-pill: 9999px;
  --md-radius-lg: 14px;
  --md-section: 84px;
  --md-hero: 112px;
  --md-container: 1192px;
  --transition: 160ms ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--md-sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--md-text);
  background-color: var(--md-canvas);
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
p {
  margin: 0;
}

.container {
  width: 100%;
  max-width: var(--md-container);
  margin-inline: auto;
  padding-inline: 24px;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 1000;
  padding: 12px 20px;
  background: var(--md-ink);
  color: var(--md-on-dark);
  border-radius: var(--md-radius-lg);
  font-size: 14px;
  text-decoration: none;
}

.skip-link:focus {
  top: 16px;
}

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

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 75px;
}

.wordmark {
  font-family: var(--md-serif);
  font-size: 22px;
  font-weight: 400;
  color: var(--md-ink);
  letter-spacing: -0.02em;
  text-decoration: none;
}

.wordmark:hover {
  text-decoration: none;
  opacity: 0.8;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-list {
  display: none;
  align-items: center;
  gap: 24px;
}

.nav-list a {
  font-size: 14px;
  color: var(--md-text);
  text-decoration: none;
}

.nav-list a:hover {
  color: var(--md-ink);
  text-decoration: underline;
}

.nav-cta {
  display: none;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--md-ink);
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  border-bottom: 1px solid var(--md-border);
  background-color: var(--md-canvas);
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
}

.mobile-nav-list a {
  font-size: 16px;
  color: var(--md-text);
  text-decoration: none;
}

.mobile-nav-list a:hover {
  text-decoration: underline;
}

.mobile-nav-list .btn {
  align-self: flex-start;
  margin-top: 8px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--md-sans);
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  text-decoration: none;
  border-radius: var(--md-radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color var(--transition), color var(--transition), border-color var(--transition);
  white-space: nowrap;
}

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

.btn-primary {
  height: 40px;
  padding: 11px 20px;
  background-color: var(--md-ink);
  color: var(--md-on-dark);
}

.btn-primary:hover {
  background-color: #333333;
}

.btn-green {
  height: 36px;
  padding: 9px 16px;
  background-color: var(--md-accent);
  color: var(--md-on-dark);
}

.btn-green:hover {
  background-color: var(--md-accent-hover);
}

.btn-secondary {
  height: 38px;
  padding: 10px 18px;
  background-color: var(--md-surface);
  color: var(--md-ink);
  border-color: var(--md-border-strong);
}

.btn-secondary:hover {
  background-color: var(--md-surface-warm);
}

.btn-lg {
  height: 48px;
  padding: 14px 28px;
  font-size: 16px;
}

/* Hero */
.hero {
  padding-block: var(--md-section);
  border-bottom: 1px solid var(--md-border);
}

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

.hero-eyebrow {
  font-size: 13px;
  color: var(--md-muted);
  margin-bottom: 16px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.hero-title {
  font-family: var(--md-serif);
  font-size: clamp(64px, 14vw, 106px);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.055em;
  color: var(--md-ink);
  margin-bottom: 24px;
}

.hero-subhead {
  font-size: clamp(18px, 2.5vw, 22px);
  line-height: 1.32;
  letter-spacing: -0.012em;
  color: var(--md-text);
  max-width: 430px;
  margin-bottom: 32px;
}

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

.hero-art {
  display: flex;
  justify-content: center;
}

.art-panel {
  position: relative;
  width: 100%;
  max-width: 440px;
  aspect-ratio: 1 / 1;
  background-color: var(--md-hero-moss);
  overflow: hidden;
}

.art-shape--circle {
  position: absolute;
  top: 18%;
  right: 12%;
  width: 42%;
  height: 42%;
  border-radius: 50%;
  background-color: var(--md-hero-green);
}

.art-shape--line {
  position: absolute;
  bottom: 22%;
  left: 8%;
  width: 55%;
  height: 3px;
  background-color: var(--md-ink);
  transform: rotate(-12deg);
}

.art-shape--line::after {
  content: "";
  position: absolute;
  top: -40px;
  right: 0;
  width: 3px;
  height: 80px;
  background-color: var(--md-ink);
}

.art-shape--dot-grid {
  position: absolute;
  top: 12%;
  left: 10%;
  width: 80px;
  height: 80px;
  background-image: radial-gradient(var(--md-ink) 1.5px, transparent 1.5px);
  background-size: 12px 12px;
  opacity: 0.35;
}

.art-shape--arrow {
  position: absolute;
  bottom: 28%;
  right: 18%;
  width: 0;
  height: 0;
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  border-left: 28px solid var(--md-on-dark);
  opacity: 0.9;
}

/* Sections */
.section {
  padding-block: var(--md-section);
  border-bottom: 1px solid var(--md-border);
}

.section--warm {
  background-color: var(--md-surface-warm);
}

.section-intro {
  max-width: 640px;
  margin-bottom: 48px;
}

.section-title {
  font-family: var(--md-serif);
  font-size: clamp(32px, 5vw, 44px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--md-ink);
  margin-bottom: 16px;
}

.section-lead {
  font-size: 18px;
  line-height: 1.45;
  color: var(--md-muted-soft);
}

.section-cta {
  margin-top: 48px;
}

/* Benefits */
.benefit-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.benefit-item {
  display: flex;
  gap: 20px;
  padding: 24px 0;
  border-top: 1px solid var(--md-border);
}

.benefit-item:last-child {
  border-bottom: 1px solid var(--md-border);
}

.benefit-icon {
  flex-shrink: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--md-accent);
}

.benefit-title {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.005em;
  color: var(--md-ink);
  margin-bottom: 6px;
}

.benefit-text {
  font-size: 16px;
  color: var(--md-muted-soft);
  line-height: 1.55;
}

/* Steps */
.steps-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  counter-reset: step;
}

.step-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px 20px;
  align-items: start;
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--md-accent-soft);
  color: var(--md-accent);
  font-size: 16px;
  font-weight: 500;
}

.step-title {
  font-size: 18px;
  font-weight: 500;
  color: var(--md-ink);
  margin-bottom: 6px;
  grid-column: 2;
  margin-top: 8px;
}

.step-text {
  font-size: 16px;
  color: var(--md-muted-soft);
  grid-column: 2;
}

/* Trust */
.trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: start;
}

.trust-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 32px;
}

.trust-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.trust-stat-value {
  font-family: var(--md-serif);
  font-size: 28px;
  color: var(--md-ink);
  letter-spacing: -0.02em;
}

.trust-stat-label {
  font-size: 13px;
  color: var(--md-muted);
}

.testimonial {
  margin: 0;
  padding: 28px;
  background-color: var(--md-surface);
  border-left: 3px solid var(--md-accent);
}

.testimonial-text {
  font-family: var(--md-serif);
  font-size: 22px;
  line-height: 1.4;
  color: var(--md-ink);
  margin-bottom: 20px;
}

.testimonial-author {
  font-size: 14px;
  color: var(--md-muted);
  font-style: normal;
}

.testimonial-author cite {
  font-style: normal;
}

/* Final CTA */
.final-cta {
  background-color: var(--md-canvas);
}

.cta-card {
  padding: 48px 32px;
  background-color: var(--md-ink);
  color: var(--md-on-dark);
  border-radius: var(--md-radius-lg);
  text-align: center;
}

.cta-card-title {
  font-family: var(--md-serif);
  font-size: clamp(32px, 5vw, 44px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin-bottom: 16px;
}

.cta-card-text {
  font-size: 18px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.82);
  max-width: 480px;
  margin-inline: auto;
  margin-bottom: 32px;
}

.cta-card .btn-primary {
  background-color: var(--md-accent);
}

.cta-card .btn-primary:hover {
  background-color: var(--md-accent-hover);
}

/* Footer */
.site-footer {
  padding-block: 48px;
  background-color: var(--md-canvas);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-brand {
  font-size: 14px;
  color: var(--md-muted);
}

.footer-brand a {
  color: var(--md-text);
  text-decoration: none;
}

.footer-brand a:hover {
  text-decoration: underline;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
}

.footer-links a {
  font-size: 13px;
  color: var(--md-muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--md-text);
  text-decoration: underline;
}

.footer-disclaimer {
  font-size: 13px;
  color: var(--md-muted);
  max-width: 560px;
  line-height: 1.45;
}

.footer-copy {
  font-size: 13px;
  color: var(--md-muted);
}

/* Responsive */
@media (min-width: 768px) {
  .nav-list {
    display: flex;
  }

  .nav-cta {
    display: inline-flex;
  }

  .nav-toggle {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 56% 44%;
    gap: 32px;
  }

  .benefit-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 0 48px;
  }

  .benefit-item:nth-child(2) {
    border-bottom: 1px solid var(--md-border);
  }

  .steps-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }

  .step-item {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .step-title,
  .step-text {
    grid-column: auto;
    margin-top: 0;
  }

  .trust-grid {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }

  .cta-card {
    padding: 64px 48px;
  }
}

@media (min-width: 1024px) {
  .hero {
    padding-block: var(--md-hero);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
