: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-pad: 112px;
  --nav-height: 75px;
  --container: min(1192px, 100% - 48px);
  --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: var(--md-canvas);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

:focus-visible {
  outline: 2px solid var(--md-accent);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  padding: 12px 16px;
  background: var(--md-ink);
  color: var(--md-on-dark);
}

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

.container {
  width: var(--container);
  margin-inline: auto;
}

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

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 24px;
}

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

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

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

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

.nav-desktop a:hover {
  color: var(--md-ink);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

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

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

.btn-ghost {
  padding: 9px 14px;
  background: transparent;
  color: var(--md-ink);
}

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

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

.btn-primary:hover {
  background: #333;
}

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

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

.menu-toggle {
  display: none;
  padding: 8px;
  background: none;
  border: 1px solid var(--md-border);
  border-radius: 4px;
  cursor: pointer;
  color: var(--md-ink);
}

.menu-toggle svg {
  display: block;
}

.nav-mobile {
  display: none;
  position: absolute;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: var(--md-surface);
  border-bottom: 1px solid var(--md-border);
  padding: 16px 24px 24px;
}

.nav-mobile.is-open {
  display: block;
}

.nav-mobile ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.nav-mobile a {
  font-size: 16px;
  display: block;
  padding: 4px 0;
}

.nav-mobile .nav-actions-mobile {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.nav-mobile .btn {
  width: 100%;
}

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

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

.hero-brand {
  display: block;
  font-family: var(--md-serif);
  font-size: clamp(42px, 8vw, 72px);
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: -0.045em;
  color: var(--md-accent);
  margin-bottom: 16px;
}

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

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

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.hero-art {
  position: relative;
  aspect-ratio: 4 / 3.2;
  min-height: 280px;
  background: var(--md-hero-moss);
  overflow: hidden;
}

.hero-art__layer {
  position: absolute;
  inset: 0;
}

.hero-art__blob {
  position: absolute;
  width: 55%;
  height: 55%;
  right: -5%;
  top: 15%;
  background: var(--md-hero-green);
  border-radius: 45% 55% 60% 40% / 50% 45% 55% 50%;
}

.hero-art__flower {
  position: absolute;
  left: 18%;
  top: 28%;
  width: 120px;
  height: 120px;
  border: 3px solid var(--md-ink);
  border-radius: 50%;
  background: transparent;
}

.hero-art__flower::before,
.hero-art__flower::after {
  content: "";
  position: absolute;
  background: var(--md-ink);
}

.hero-art__flower::before {
  width: 3px;
  height: 80%;
  left: 50%;
  top: 10%;
  transform: translateX(-50%);
}

.hero-art__flower::after {
  width: 80%;
  height: 3px;
  top: 50%;
  left: 10%;
  transform: translateY(-50%);
}

.hero-art__lines {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    12deg,
    transparent,
    transparent 18px,
    rgba(25, 25, 25, 0.15) 18px,
    rgba(25, 25, 25, 0.15) 19px
  );
}

.hero-art__speckles {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, var(--md-ink) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.12;
}

/* Section */
.section {
  padding: var(--md-section) 0;
}

.section--surface {
  background: var(--md-surface);
  border-top: 1px solid var(--md-border);
  border-bottom: 1px solid var(--md-border);
}

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

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

.section-head p {
  font-size: 18px;
  line-height: 1.45;
  color: var(--md-muted);
  margin: 0;
}

/* Topic rail */
.topic-rail {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.topic-pill {
  display: inline-block;
  padding: 8px 14px;
  font-size: 14px;
  background: var(--md-surface-warm);
  color: var(--md-text);
  border-radius: var(--md-radius-pill);
}

/* Story rows */
.story-list {
  border-top: 1px solid var(--md-border);
}

.story-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--md-border);
  align-items: start;
}

.story-row__meta {
  font-size: 13px;
  color: var(--md-muted);
  margin-bottom: 8px;
}

.story-row__title {
  font-size: 22px;
  font-weight: 500;
  line-height: 1.22;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
  color: var(--md-ink);
}

.story-row__title a:hover {
  color: var(--md-accent);
  text-decoration: none;
}

.story-row__excerpt {
  font-size: 16px;
  color: var(--md-muted-soft);
  margin: 0 0 12px;
  max-width: 560px;
}

.story-row__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--md-muted);
}

.story-row__foot .dot::before {
  content: "·";
  margin-right: 8px;
}

.story-row__bookmark {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  color: var(--md-muted);
  cursor: pointer;
  border-radius: 4px;
}

.story-row__bookmark:hover {
  color: var(--md-ink);
  background: var(--md-surface-warm);
}

/* Features grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.feature-card {
  padding: 28px 0 0;
  border-top: 2px solid var(--md-border);
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 500;
  margin: 0 0 12px;
  color: var(--md-ink);
}

.feature-card p {
  margin: 0;
  font-size: 16px;
  color: var(--md-muted-soft);
}

/* Membership callout */
.membership {
  background: var(--md-ink);
  color: var(--md-on-dark);
  border-radius: var(--md-radius-lg);
  padding: 48px 40px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
}

.membership h2 {
  font-family: var(--md-serif);
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 400;
  line-height: 1.12;
  margin: 0 0 12px;
}

.membership p {
  margin: 0;
  font-size: 16px;
  opacity: 0.88;
  max-width: 480px;
}

.membership .btn-green {
  background: var(--md-hero-green);
}

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

/* Trust strip */
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 32px 48px;
  padding: 32px 0;
  border-top: 1px solid var(--md-border);
  font-size: 14px;
  color: var(--md-muted);
}

.trust-strip strong {
  color: var(--md-text);
  font-weight: 500;
}

/* Footer */
.site-footer {
  padding: 48px 0 64px;
  border-top: 1px solid var(--md-border);
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 40px;
}

.footer-brand {
  font-family: var(--md-serif);
  font-size: 22px;
  color: var(--md-ink);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 13px;
  color: var(--md-muted);
}

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

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

.footer-legal p {
  margin: 0 0 12px;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-art {
    order: -1;
    max-height: 320px;
    aspect-ratio: 16 / 10;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .membership {
    grid-template-columns: 1fr;
    padding: 32px 24px;
  }

  .story-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-desktop,
  .header-inner > .nav-actions {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .site-header {
    position: relative;
  }
}
