@font-face {
  font-family: "Sora";
  src: url("/assets/fonts/Sora-VariableFont_wght.ttf") format("truetype-variations");
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --green: #2a4238;
  --green-deep: #22352d;
  --sage: #cfe3d8;
  --sage-soft: #e9f1ec;
  --cream: #f7f5ef;
  --paper: #ffffff;
  --ink: #1c2722;
  --muted: #5c6b62;
  --line: #dfe4dd;
  --water: #03a6ee;
  --food: #fda616;
  --med: #fe542d;
  --radius: 18px;
  --shadow: 0 18px 50px rgba(34, 53, 45, 0.08);
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-display: "Sora", var(--font-body);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--green);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: #14231c;
}

:focus-visible {
  outline: 3px solid var(--water);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--paper);
  color: var(--ink);
  padding: 10px 16px;
  border-radius: 0 0 10px 0;
}

.skip-link:focus {
  left: 0;
}

.wrap {
  width: min(760px, calc(100% - 40px));
  margin-inline: auto;
}

.wrap-wide {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 245, 239, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(140%) blur(10px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
  padding-block: 10px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--ink);
}

.brand img {
  width: 32px;
  height: 32px;
}

.wordmark {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 21px;
  letter-spacing: -0.02em;
  line-height: 1;
}

.wordmark .accent {
  color: #5e8b76;
}

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

.site-nav a {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

.site-nav a:hover {
  background: var(--sage-soft);
  color: var(--green);
}

.site-nav a[aria-current="page"] {
  color: var(--green);
  background: var(--sage-soft);
}

.hero {
  padding: clamp(48px, 8vw, 96px) 0 clamp(40px, 6vw, 72px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--food);
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--ink);
}

.hero h1 {
  margin: 0 0 20px;
  font-size: clamp(38px, 6vw, 62px);
}

.lede {
  margin: 0 0 28px;
  max-width: 36ch;
  color: var(--muted);
  font-size: clamp(18px, 2.2vw, 21px);
  line-height: 1.55;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
}

.button-primary {
  background: var(--green);
  color: #fff;
}

.button-primary:hover {
  background: var(--green-deep);
  color: #fff;
}

.button-ghost {
  border-color: var(--line);
  background: var(--paper);
  color: var(--green);
}

.button-ghost:hover {
  border-color: var(--green);
  color: var(--green);
}

.hero-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.hero-art {
  position: relative;
}

.mark-tile {
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
}

.mark-tile img {
  width: 92%;
  height: auto;
}

.art-caption {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 7px;
  border-radius: 50%;
  vertical-align: 1px;
}

.dot-water {
  background: var(--water);
}

.dot-food {
  background: var(--food);
}

.dot-med {
  background: var(--med);
}

.section {
  padding: clamp(40px, 6vw, 72px) 0;
}

.section-heading {
  max-width: 640px;
  margin: 0 0 34px;
}

.section-heading h2 {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 40px);
}

.section-heading p {
  margin: 0;
  color: var(--muted);
}

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

.feature {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.feature h3 {
  margin: 18px 0 10px;
  font-size: 19px;
}

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 15.5px;
}

.rule-icon {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 30px;
}

.rule-icon span {
  display: block;
  width: 10px;
  border-radius: 3px;
  background: var(--green);
}

.rule-icon span:nth-child(1) {
  height: 16px;
  background: var(--water);
}

.rule-icon span:nth-child(2) {
  height: 24px;
  background: var(--food);
}

.rule-icon span:nth-child(3) {
  height: 20px;
  background: var(--med);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.local-card {
  padding: clamp(26px, 4vw, 40px);
  border-radius: 24px;
  background: var(--green);
  color: #fff;
  box-shadow: var(--shadow);
}

.local-card h2 {
  margin: 0 0 14px;
  color: #fff;
  font-size: clamp(26px, 3.4vw, 34px);
}

.local-card p {
  margin: 0;
  color: var(--sage);
}

.local-card .fine {
  margin-top: 18px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.7);
}

.check-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  margin: 0 0 14px;
  padding-left: 32px;
  color: var(--muted);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--sage-soft);
  border: 1px solid var(--sage);
}

.check-list li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 9px;
  width: 8px;
  height: 4px;
  border-left: 2px solid var(--green);
  border-bottom: 2px solid var(--green);
  transform: rotate(-45deg);
}

.check-list strong {
  color: var(--ink);
}

.cta-band {
  margin: clamp(32px, 5vw, 56px) 0;
  padding: clamp(34px, 5vw, 56px);
  border-radius: 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  text-align: center;
}

.cta-band h2 {
  margin: 0 0 12px;
  font-size: clamp(26px, 3.6vw, 36px);
}

.cta-band p {
  margin: 0 auto 24px;
  max-width: 54ch;
  color: var(--muted);
}

.site-footer {
  margin-top: clamp(40px, 6vw, 72px);
  padding: 40px 0 48px;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
  justify-content: space-between;
}

.footer-brand {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  max-width: 340px;
}

.footer-brand img {
  width: 26px;
  height: 26px;
  margin-top: 2px;
}

.footer-brand p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  font-size: 14px;
  font-weight: 600;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

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

.fine-print {
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.6;
}

/* Legal and support pages */

.page-header {
  padding: clamp(40px, 7vw, 72px) 0 26px;
  border-bottom: 1px solid var(--line);
}

.page-header h1 {
  margin: 0 0 12px;
  font-size: clamp(32px, 5vw, 48px);
}

.page-header p {
  margin: 0;
  color: var(--muted);
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
}

.legal-body {
  padding: 20px 0 8px;
}

.legal-body h2 {
  margin: 40px 0 12px;
  font-size: 24px;
}

.legal-body h3 {
  margin: 26px 0 8px;
  font-size: 18px;
}

.legal-body p,
.legal-body li {
  color: #33423a;
}

.legal-body ul {
  padding-left: 22px;
}

.legal-body li {
  margin: 8px 0;
}

.legal-body hr {
  margin: 36px 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.callout {
  margin: 26px 0;
  padding: 20px 22px;
  border-left: 4px solid var(--food);
  border-radius: 0 12px 12px 0;
  background: #fdf6e7;
}

.callout strong {
  display: block;
  margin-bottom: 4px;
}

.callout p {
  margin: 0;
}

.legal-toc {
  margin: 26px 0 8px;
  padding: 20px 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
}

.legal-toc h2 {
  margin: 0 0 10px;
  font-size: 16px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.legal-toc ol {
  margin: 0;
  padding-left: 20px;
}

.legal-toc a {
  text-decoration: none;
}

.legal-toc a:hover {
  text-decoration: underline;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 28px 0;
}

.support-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.support-card h2 {
  margin: 0 0 8px;
  font-size: 18px;
}

.support-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.faq {
  margin: 28px 0;
}

.faq details {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.faq summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
}

.faq details p {
  margin: 12px 0 0;
  color: var(--muted);
}

.not-found {
  display: grid;
  place-items: center;
  min-height: 62vh;
  padding: 56px 0;
  text-align: center;
}

.not-found img {
  width: 72px;
  margin-bottom: 24px;
}

.not-found p {
  color: var(--muted);
}

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

  .hero-art {
    max-width: 420px;
    order: -1;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding-block: 12px;
  }

  .site-nav {
    width: 100%;
    gap: 2px;
  }

  .site-nav a {
    padding: 7px 10px;
    font-size: 14px;
  }

  .feature-grid,
  .support-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-actions .button {
    width: 100%;
  }

  .footer-inner {
    flex-direction: column;
  }
}

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

@media print {
  .site-header,
  .site-footer,
  .legal-toc,
  .hero-actions {
    display: none;
  }

  body {
    background: #fff;
    color: #000;
    font-size: 11pt;
  }

  .page-header {
    border-bottom: 1px solid #000;
  }

  .legal-body a {
    color: #000;
  }
}
