:root {
  --bg: #f7f0e6;
  --bg-soft: #fff8f0;
  --surface: rgba(255, 250, 243, 0.9);
  --surface-soft: rgba(255, 247, 238, 0.94);
  --surface-strong: #fffaf4;
  --text: #20120c;
  --muted: #5e4a3a;
  --muted-2: #7a6553;
  --saffron: #cb8114;
  --saffron-soft: #f2aa31;
  --sage: #6f8f66;
  --copper: #b56834;
  --border: rgba(182, 120, 46, 0.18);
  --border-soft: rgba(64, 38, 20, 0.08);
  --shadow: 0 24px 56px rgba(79, 55, 27, 0.12);
}

html {
  background: #f7f0e6;
}

body {
  color: var(--text);
  background:
    radial-gradient(circle at 10% 0%, rgba(242, 170, 49, 0.22), transparent 26%),
    radial-gradient(circle at 88% 8%, rgba(111, 143, 102, 0.15), transparent 22%),
    radial-gradient(circle at 50% 100%, rgba(181, 104, 52, 0.12), transparent 22%),
    linear-gradient(180deg, #fffaf4 0%, #f8efe4 42%, #f4eadf 100%);
}

body:before {
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.9), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.45), transparent 18%);
}

body::selection {
  background: rgba(242, 170, 49, 0.22);
}

main {
  padding-bottom: 5rem;
}

p,
li {
  color: var(--muted);
}

a {
  color: #935512;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(149, 85, 18, 0.26);
}

a:hover,
.button:hover,
.nav a:hover,
.nav-guides-summary:hover,
.floating-affiliate-dock:hover {
  cursor: pointer;
}

h1,
h2,
h3 {
  color: var(--text);
}

h1 {
  max-width: 14ch;
  letter-spacing: -0.05em;
  line-height: 0.98;
}

.skip-link:focus {
  background: #ffffff;
  color: var(--text);
  box-shadow: 0 14px 30px rgba(55, 36, 19, 0.12);
}

.site-header {
  padding: 1rem 0 0;
}

.topbar {
  border-color: rgba(149, 101, 43, 0.12);
  background: rgba(255, 249, 241, 0.78);
  box-shadow: 0 18px 42px rgba(65, 43, 20, 0.1);
}

.brand {
  color: var(--text);
}

.brand-mark {
  background: linear-gradient(180deg, #ffd37a 0%, #f2aa31 100%);
  color: #3a2414;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.72), 0 14px 24px rgba(203, 129, 20, 0.24);
}

.nav a,
.nav-guides-summary {
  color: #685544;
}

.nav a:hover,
.nav a:focus-visible,
.nav a.is-active,
.nav-guides-summary:hover,
.nav-guides-summary:focus-visible,
.nav-guides-summary.is-active,
.nav-guides[open] > .nav-guides-summary {
  background: rgba(242, 170, 49, 0.12);
  color: var(--text);
}

.nav a.nav-review {
  background: rgba(242, 170, 49, 0.12);
  border-color: rgba(242, 170, 49, 0.18);
  color: var(--text);
}

.nav a.nav-review:hover,
.nav a.nav-review:focus-visible,
.nav a.nav-review.is-active {
  background: rgba(242, 170, 49, 0.18);
  border-color: rgba(242, 170, 49, 0.32);
}

.nav-cta,
.vision-chip-primary,
.hero-direct-affiliate,
.button-primary,
.floating-affiliate-dock {
  color: #fff9f2;
  background: linear-gradient(135deg, #c87412 0%, #f0ad37 100%);
}

.nav-cta {
  border-color: rgba(200, 116, 18, 0.18);
  box-shadow: 0 16px 28px rgba(187, 118, 26, 0.18);
}

.nav-cta:hover,
.nav-cta:focus-visible,
.vision-chip-primary:hover,
.vision-chip-primary:focus-visible,
.hero-direct-affiliate:hover,
.hero-direct-affiliate:focus-visible,
.button-primary:hover,
.button-primary:focus-visible,
.floating-affiliate-dock:hover,
.floating-affiliate-dock:focus-visible {
  color: #fffdf8;
  transform: translateY(-1px);
  box-shadow: 0 20px 34px rgba(187, 118, 26, 0.24);
}

.nav-guides-menu {
  border-color: rgba(182, 120, 46, 0.16);
  background: linear-gradient(180deg, rgba(255, 250, 244, 0.98), rgba(250, 241, 230, 0.98));
}

.nav-guide-links a,
.nav-guides-all {
  color: var(--muted);
}

.nav-guide-links a:hover,
.nav-guide-links a:focus-visible,
.nav-guide-links a.is-active,
.nav-guides-all:hover,
.nav-guides-all:focus-visible,
.nav-guides-all.is-active {
  background: rgba(242, 170, 49, 0.12);
  border-color: rgba(242, 170, 49, 0.22);
  color: var(--text);
}

.nav-guides-all {
  color: var(--text);
  border-top-color: rgba(64, 38, 20, 0.08);
}

.vision-route-banner {
  padding: 0.8rem 0 0;
}

.vision-route-banner-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.15rem;
  border: 1px solid rgba(182, 120, 46, 0.16);
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(242, 170, 49, 0.16), transparent 28%),
    linear-gradient(180deg, rgba(255, 251, 246, 0.97), rgba(249, 239, 226, 0.97));
  box-shadow: 0 18px 42px rgba(76, 53, 28, 0.1);
}

.vision-route-label {
  margin: 0;
  white-space: nowrap;
  color: #7f430c;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.vision-route-copy {
  margin: 0;
  color: #3f2718;
  font-size: 0.97rem;
  font-weight: 650;
  line-height: 1.45;
}

.vision-route-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.65rem;
}

.vision-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.72rem 1rem;
  border: 1px solid rgba(182, 120, 46, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
  font-size: 0.93rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 20px rgba(78, 55, 28, 0.06);
}

.vision-chip:hover,
.vision-chip:focus-visible {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.9);
}

.page-hero,
.home-hero-simple {
  padding-top: clamp(1.9rem, 4.4vw, 3.3rem);
}

.hero-card,
.card,
.boundary-card,
.evidence-card,
.callout,
.safety-note,
.cta-box,
.metric-card,
.section-panel,
.trust-item,
.question-card,
.link-card,
.affiliate-cta,
.glance-card,
.table-wrap {
  border-color: rgba(182, 120, 46, 0.14);
  background: linear-gradient(180deg, rgba(255, 251, 246, 0.94), rgba(252, 245, 236, 0.96));
  box-shadow: var(--shadow);
}

.hero-card:before,
.card:before,
.boundary-card:before,
.evidence-card:before,
.callout:before,
.safety-note:before,
.cta-box:before,
.metric-card:before,
.section-panel:before,
.trust-item:before,
.question-card:before,
.link-card:before,
.affiliate-cta:before {
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.8);
}

.hero-card {
  overflow: hidden;
  background:
    radial-gradient(circle at top center, rgba(242, 170, 49, 0.16), transparent 38%),
    radial-gradient(circle at 85% 18%, rgba(111, 143, 102, 0.1), transparent 20%),
    linear-gradient(180deg, rgba(255, 251, 246, 0.97), rgba(249, 240, 230, 0.97));
}

.hero-card-editorial:after {
  height: 3px;
  width: 104px;
  margin-top: 1.5rem;
  background: linear-gradient(90deg, rgba(240, 173, 55, 0), rgba(240, 173, 55, 0.95), rgba(111, 143, 102, 0.45), rgba(111, 143, 102, 0));
}

.hero-intro,
.section-intro,
.editorial-image-copy,
.footer-copy {
  color: var(--muted);
}

.eyebrow,
.boundary-status,
.evidence-confidence,
.callout-title,
.meta-label,
.card-eyebrow,
.editorial-image-label {
  color: #8f4c11;
}

.footer-meta,
.evidence-meta,
.editorial-image-credit,
.editorial-image-credit a,
.muted,
.affiliate-cta-disclosure,
.cta-note,
.hero-disclosure-note {
  color: var(--muted-2);
}

.chip-list li {
  border-color: rgba(182, 120, 46, 0.14);
  background: rgba(255, 255, 255, 0.62);
  color: var(--muted);
}

.button {
  min-height: 3rem;
  box-shadow: 0 10px 20px rgba(78, 55, 28, 0.08);
}

.button-primary {
  box-shadow: 0 16px 28px rgba(200, 116, 18, 0.18);
}

.button-secondary,
.button-quiet,
.glance-cta {
  border-color: rgba(182, 120, 46, 0.14);
  color: var(--text);
  background: rgba(255, 255, 255, 0.72);
}

.button-quiet:hover,
.button-quiet:focus-visible,
.button-secondary:hover,
.button-secondary:focus-visible,
.glance-cta:hover,
.glance-cta:focus-visible {
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
}

.glance-card,
.question-card,
.trust-item,
.link-card {
  background:
    radial-gradient(circle at top right, rgba(242, 170, 49, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(255, 250, 243, 0.95), rgba(251, 244, 235, 0.97));
}

.glance-card:hover,
.card:hover,
.metric-card:hover,
.section-panel:hover,
.evidence-card:hover,
.boundary-card:hover,
.link-card:hover,
.question-card:hover,
.trust-item:hover {
  border-color: rgba(203, 129, 20, 0.24);
  box-shadow: 0 24px 46px rgba(76, 53, 28, 0.14);
}

.section-panel-accent,
.cta-box,
.affiliate-cta-strong,
.affiliate-cta-homepage {
  background:
    radial-gradient(circle at top right, rgba(242, 170, 49, 0.16), transparent 30%),
    linear-gradient(180deg, rgba(255, 248, 236, 0.97), rgba(248, 236, 220, 0.98));
}

.section-panel-soft,
.affiliate-cta-cautious,
.callout,
.callout-neutral,
.affiliate-cta-moderate {
  background:
    radial-gradient(circle at top right, rgba(111, 143, 102, 0.1), transparent 26%),
    linear-gradient(180deg, rgba(255, 250, 243, 0.95), rgba(247, 239, 229, 0.98));
}

.callout,
.safety-note {
  border-left: 5px solid rgba(111, 143, 102, 0.65);
}

.callout-medical,
.boundary-card.unsupported {
  border-left-color: rgba(181, 104, 52, 0.76);
  background: linear-gradient(180deg, rgba(255, 246, 240, 0.97), rgba(250, 237, 229, 0.98));
}

.boundary-card.supported {
  background: linear-gradient(180deg, rgba(249, 253, 247, 0.96), rgba(244, 249, 240, 0.98));
  border-color: rgba(111, 143, 102, 0.18);
}

.boundary-card.mixed {
  background: linear-gradient(180deg, rgba(255, 249, 238, 0.96), rgba(250, 241, 225, 0.98));
  border-color: rgba(242, 170, 49, 0.2);
}

.boundary-card.unsupported {
  border-color: rgba(181, 104, 52, 0.2);
}

.table-wrap {
  background: linear-gradient(180deg, rgba(255, 250, 243, 0.96), rgba(248, 240, 230, 0.98));
}

.study-table th {
  background: rgba(242, 170, 49, 0.12);
  color: var(--text);
}

.study-table td,
.study-table th {
  border-bottom-color: rgba(64, 38, 20, 0.08);
}

.study-table tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.48);
}

.editorial-image-frame {
  border-color: rgba(182, 120, 46, 0.14);
  background: linear-gradient(180deg, rgba(255, 251, 246, 0.9), rgba(248, 239, 228, 0.92));
}

.editorial-image-frame:before {
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.84);
}

.editorial-image-frame:after {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(29, 17, 8, 0.16)),
    radial-gradient(circle at 14% 18%, rgba(242, 170, 49, 0.16), transparent 28%),
    radial-gradient(circle at 84% 78%, rgba(181, 104, 52, 0.12), transparent 24%);
}

img[data-astro-cid-o7rknfdv] {
  filter: saturate(1) contrast(1.02) brightness(0.93);
}

.editorial-image-chip {
  border-color: rgba(182, 120, 46, 0.18);
  background: rgba(255, 249, 241, 0.8);
  color: var(--text);
}

.site-footer {
  margin-top: 4.5rem;
  border-top-color: rgba(64, 38, 20, 0.08);
  background: linear-gradient(180deg, rgba(255, 251, 246, 0.45), rgba(244, 234, 223, 0.92));
}

.footer-list a,
.footer-copy,
.footer-meta {
  color: var(--muted);
}

.hero-actions {
  align-items: center;
}

.hero-disclosure-note {
  width: 100%;
  margin: 0.4rem 0 0;
  font-size: 0.88rem;
  text-align: center;
}

.hero-direct-affiliate {
  order: -1;
}

.floating-affiliate-dock {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 60;
  display: grid;
  gap: 0.2rem;
  width: min(21rem, calc(100vw - 2rem));
  padding: 0.95rem 1.1rem;
  border: 1px solid rgba(200, 116, 18, 0.16);
  border-radius: 24px;
  text-decoration: none;
  box-shadow: 0 24px 50px rgba(76, 53, 28, 0.2);
}

.floating-affiliate-dock strong {
  display: block;
  font-size: 0.98rem;
  line-height: 1.2;
}

.floating-affiliate-dock span {
  display: block;
  color: rgba(255, 249, 242, 0.84);
  font-size: 0.84rem;
  line-height: 1.35;
}

@media (max-width: 960px) {
  .vision-route-banner-inner {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .vision-route-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .site-header {
    position: static;
  }

  .topbar {
    background: rgba(255, 249, 241, 0.92);
  }

  .vision-route-banner {
    padding-top: 0.7rem;
  }

  .vision-chip,
  .vision-chip-primary {
    width: 100%;
  }

  .floating-affiliate-dock {
    right: 1rem;
    left: 1rem;
    width: auto;
    border-radius: 22px;
  }
}
