:root {
  --an-green: #123c2e;
  --an-green-soft: #e8f2ea;
  --an-plum: #4a193f;
  --an-amber: #c88a2d;
  --an-charcoal: #171514;
  --an-muted: #5c5550;
  --an-line: #e3ddd5;
  --an-cream: #fbfaf7;
  --an-white: #ffffff;
  --an-shadow: 0 18px 50px rgba(18, 60, 46, 0.12);
}

.an-site {
  color: var(--an-charcoal);
  background: var(--an-cream);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

.an-site * {
  box-sizing: border-box;
}

.an-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 22px clamp(18px, 4vw, 34px);
}

.an-logo {
  color: var(--an-green);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.an-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-size: 14px;
  font-weight: 700;
}

.an-nav a,
.an-header-email,
.an-footer a,
.an-waitlist a {
  color: var(--an-green);
  text-decoration: none;
}

.an-nav a:hover,
.an-header-email:hover,
.an-footer a:hover {
  color: var(--an-plum);
}

.an-header-email {
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.an-hero,
.an-section {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(46px, 7vw, 86px) clamp(18px, 4vw, 34px);
}

.an-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  min-height: 74vh;
  padding-top: clamp(24px, 4vw, 44px);
}

.an-hero h1,
.an-section h2 {
  margin: 0 0 18px;
  color: var(--an-green);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 850;
  letter-spacing: 0;
  line-height: 0.98;
}

.an-hero h1 {
  max-width: 760px;
  font-size: clamp(48px, 7vw, 92px);
}

.an-section h2 {
  font-size: clamp(34px, 5vw, 64px);
}

.an-site h3 {
  margin: 0 0 10px;
  color: var(--an-plum);
  font-size: clamp(20px, 2.4vw, 25px);
  line-height: 1.15;
}

.an-site p {
  margin: 0 0 18px;
  color: var(--an-muted);
  font-size: clamp(16px, 1.6vw, 19px);
}

.an-hero-copy p {
  max-width: 650px;
  font-size: clamp(18px, 2vw, 22px);
}

.an-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.an-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid var(--an-green);
  border-radius: 8px;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
}

.an-button-primary {
  color: var(--an-white);
  background: var(--an-green);
}

.an-button-secondary {
  color: var(--an-green);
  background: transparent;
}

.an-button:hover {
  transform: translateY(-1px);
}

.an-hero-media,
.an-media-card {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--an-shadow);
}

.an-hero-media img,
.an-media-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.an-hero-media {
  aspect-ratio: 5 / 4;
  background: var(--an-green-soft);
}

.an-section-heading {
  max-width: 850px;
  margin-bottom: 32px;
}

.an-card-grid,
.an-recipe-grid,
.an-safety-layout {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.an-card-grid-three,
.an-safety-layout {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.an-recipe-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 24px;
}

.an-card,
.an-callout,
.an-waitlist-form,
.an-quiz-result,
.an-note,
.an-source-list,
.an-faq {
  border: 1px solid var(--an-line);
  border-radius: 8px;
  background: var(--an-white);
  box-shadow: 0 8px 25px rgba(23, 21, 20, 0.04);
}

.an-card {
  padding: 22px;
}

.an-card p,
.an-callout li,
.an-note,
.an-source-list li {
  font-size: 15px;
}

.an-card-strong {
  background: var(--an-green);
}

.an-card-strong h3,
.an-card-strong p {
  color: var(--an-white);
}

.an-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
  gap: clamp(26px, 5vw, 64px);
  align-items: center;
}

.an-split-reverse {
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1fr);
}

.an-split-reverse > div:first-child {
  order: 2;
}

.an-callout {
  padding: 28px;
  background: var(--an-green-soft);
}

.an-callout ul,
.an-source-list ul,
.an-quiz-result ul {
  margin: 12px 0 0;
  padding-left: 20px;
}

.an-quiz {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  align-items: end;
}

.an-field {
  display: grid;
  gap: 8px;
  color: var(--an-charcoal);
  font-size: 14px;
  font-weight: 800;
}

.an-field input,
.an-field select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--an-line);
  border-radius: 8px;
  padding: 11px 12px;
  background: var(--an-white);
  color: var(--an-charcoal);
  font: inherit;
  font-weight: 600;
}

.an-quiz-result {
  margin-top: 22px;
  padding: 24px;
  border-left: 5px solid var(--an-amber);
}

.an-small {
  font-size: 14px !important;
}

.an-culture,
.an-flaxseed,
.an-waitlist {
  background: linear-gradient(90deg, rgba(232, 242, 234, 0.55), rgba(255, 255, 255, 0));
}

.an-safety {
  border-top: 1px solid var(--an-line);
  border-bottom: 1px solid var(--an-line);
}

.an-source-note {
  margin-top: 18px;
  font-size: 14px !important;
}

.an-media-card {
  aspect-ratio: 4 / 3;
}

.an-note,
.an-source-list {
  margin-top: 18px;
  padding: 20px;
}

.an-faq {
  margin-top: 18px;
  padding: 20px;
}

.an-faq details {
  border-top: 1px solid var(--an-line);
  padding: 14px 0;
}

.an-faq details:first-of-type {
  border-top: 0;
}

.an-faq summary {
  color: var(--an-green);
  font-weight: 850;
  cursor: pointer;
}

.an-faq p {
  margin-top: 10px;
  margin-bottom: 0;
  font-size: 15px;
}

.an-waitlist-form {
  display: grid;
  gap: 14px;
  padding: 24px;
}

.an-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--an-muted);
  font-size: 14px;
}

.an-check input {
  margin-top: 4px;
}

.an-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.an-form-message {
  border-radius: 8px;
  padding: 12px 14px;
  font-weight: 800;
}

.an-form-success {
  color: #0e5132;
  background: #e1f5e9;
}

.an-form-error {
  color: #7a1f1f;
  background: #f8e1df;
}

.an-footer {
  max-width: 1180px;
  margin: 0 auto;
  padding: 32px clamp(18px, 4vw, 34px) 48px;
  border-top: 1px solid var(--an-line);
}

.an-footer p {
  margin-bottom: 8px;
  font-size: 14px;
}

@media (max-width: 980px) {
  .an-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .an-nav {
    justify-content: flex-start;
  }

  .an-hero,
  .an-split,
  .an-split-reverse,
  .an-quiz {
    grid-template-columns: 1fr;
  }

  .an-split-reverse > div:first-child {
    order: 0;
  }

  .an-card-grid,
  .an-card-grid-three,
  .an-recipe-grid,
  .an-safety-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .an-header {
    padding-top: 18px;
  }

  .an-nav {
    gap: 10px 12px;
    font-size: 13px;
  }

  .an-hero,
  .an-section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .an-hero {
    min-height: auto;
  }

  .an-hero h1 {
    font-size: 46px;
  }

  .an-section h2 {
    font-size: 34px;
  }

  .an-card-grid,
  .an-card-grid-three,
  .an-recipe-grid,
  .an-safety-layout {
    grid-template-columns: 1fr;
  }

  .an-actions,
  .an-button {
    width: 100%;
  }
}
