/* BeeRoot landing — stable Chrome layout */
:root {
  --bg: #f7f4ee;
  --bg2: #f0ebe3;
  --ink: #13271f;
  --muted: #5f6f66;
  --forest: #123d2e;
  --deep: #0b2b1f;
  --green: #2d6a4f;
  --gold: #9a9b3a;
  --line: rgba(18, 61, 46, 0.12);
  --safe: #2d6a4f;
  --safe-bg: #dff3e6;
  --caution: #c77700;
  --caution-bg: #fff0cf;
  --avoid: #b42318;
  --avoid-bg: #fde2de;
  --white: #ffffff;
  --shadow: 0 16px 40px rgba(13, 43, 31, 0.1);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", system-ui, -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
  overflow-x: hidden;
  min-width: 0;
}

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

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

ul {
  list-style: none;
}

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

.leaf {
  display: inline-block;
  width: 1em;
  height: 1em;
  vertical-align: -0.15em;
  margin-left: 0.15em;
}

.ph {
  background:
    radial-gradient(circle at 28% 28%, rgba(183, 228, 199, 0.95), transparent 55%),
    linear-gradient(145deg, #e8f6ec, #fff8ee 55%, #f1ebe2);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}

.ph > img {
  width: 36px;
  height: 36px;
  opacity: 0.45;
  filter: invert(30%) sepia(20%) saturate(700%) hue-rotate(100deg);
}

.ph > span {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  font-size: 10px;
  font-weight: 700;
  color: var(--forest);
}

/* ========== HEADER ========== */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  padding: 10px 16px;
  background: rgba(247, 244, 238, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 1px;
  flex: 0 1 auto;
  min-width: 0;
}

.brand-logo {
  height: 28px !important;
  width: auto !important;
  max-width: 150px;
  object-fit: contain;
}

.brand-tag {
  font-size: 10px;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
}

#navLinks {
  display: none;
}

#navLinks a,
#navLinks button {
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--forest);
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0;
  white-space: nowrap;
}

#navLinks a:hover,
#navLinks button:hover {
  color: var(--green);
}

.nav-dd {
  position: relative;
}

.nav-dd-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  min-width: 150px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 6px;
  box-shadow: var(--shadow);
  display: grid;
  z-index: 110;
}

.nav-dd-menu[hidden] {
  display: none !important;
}

.nav-dd-menu a {
  padding: 10px 12px !important;
  border-radius: 8px;
  white-space: normal;
}

.nav-dd-menu a:hover {
  background: #eef6f0;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.btn-dl {
  display: none;
  align-items: center;
  gap: 7px;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--deep);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.btn-dl img {
  width: 15px;
  height: 15px;
  filter: brightness(0) invert(1);
}

.burger {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--white);
  font-size: 18px;
  cursor: pointer;
  flex: 0 0 auto;
}

#navLinks.is-open {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  position: absolute;
  left: 12px;
  right: 12px;
  top: 68px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 8px;
  box-shadow: var(--shadow);
}

#navLinks.is-open > a,
#navLinks.is-open .nav-dd > button {
  padding: 14px;
  border-radius: 10px;
  text-align: left;
  width: 100%;
}

#navLinks.is-open > a:hover {
  background: #eef6f0;
}

#navLinks.is-open .nav-dd-menu {
  position: static;
  box-shadow: none;
  border: 0;
  padding: 0 8px 8px;
}

/* ========== HERO ========== */
.hero {
  padding: 28px 0 24px;
  background:
    radial-gradient(circle at 90% 10%, rgba(183, 228, 199, 0.35), transparent 40%),
    radial-gradient(circle at 10% 80%, rgba(255, 240, 207, 0.4), transparent 35%),
    var(--bg);
}

.hero-layout {
  display: grid;
  gap: 28px;
}

.hero-text h1 {
  font-family: var(--serif);
  font-size: clamp(2rem, 7vw, 3.5rem);
  line-height: 1.1;
  font-weight: 700;
  color: var(--forest);
  letter-spacing: -0.02em;
}

.hero-text h1 em {
  font-style: normal;
  color: var(--gold);
}

.lead {
  margin-top: 14px;
  font-size: 1rem;
  color: var(--muted);
  max-width: 34rem;
}

.stores {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
}

.store-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  line-height: 0;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.store-badge:hover,
.store-badge:focus-visible {
  transform: translateY(-1px);
}

.store-badge:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

.store-badge img {
  height: 54px;
  width: auto;
  max-width: min(180px, 46vw);
  display: block;
}

.store-badge[data-store="ios"] img {
  height: 54px;
  max-width: min(162px, 42vw);
}

.store-badge .soon {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(8, 20, 14, 0.88);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  opacity: 0;
  transform: translateY(4px);
  pointer-events: none;
  transition: 0.18s ease;
  border-radius: 8px;
}

.store-badge:hover .soon,
.store-badge:focus-visible .soon,
.store-badge.is-soon .soon {
  opacity: 1;
  transform: none;
}

.cta .stores {
  margin-top: 18px;
}

.cta .store-badge {
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.25));
}

.proof {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--forest);
}

.proof img {
  width: 16px;
  height: 16px;
}

.hero-art {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.bowl {
  height: 180px;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.phones {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.device {
  width: min(280px, 100%);
  background: #151515;
  border-radius: 36px;
  padding: 10px;
  box-shadow: 0 24px 50px rgba(8, 30, 21, 0.25);
}

.screen {
  background: #fbfaf6;
  border-radius: 28px;
  padding: 14px 12px;
  min-height: 420px;
  display: flex;
  flex-direction: column;
}

.island {
  width: 72px;
  height: 20px;
  border-radius: 999px;
  background: #0a0a0a;
  margin: 0 auto 12px;
}

.device h3 {
  font-family: var(--serif);
  font-size: 16px;
  color: var(--forest);
  margin-bottom: 10px;
}

.chip {
  display: flex;
  gap: 8px;
  align-items: center;
  background: #fff;
  border: 1px solid #e7e1d5;
  border-radius: 14px;
  padding: 8px;
  margin-bottom: 12px;
}

.chip img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.chip small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  font-weight: 600;
}

.chip strong {
  display: block;
  font-size: 12px;
}

.scan-big {
  background: linear-gradient(160deg, #1b513d, #2d6a4f);
  color: #fff;
  border-radius: 20px;
  padding: 20px 12px;
  text-align: center;
  margin-bottom: 12px;
}

.scan-big span {
  display: block;
  font-size: 20px;
  margin-bottom: 4px;
}

.scan-big strong {
  display: block;
  font-size: 14px;
}

.scan-big small {
  display: block;
  margin-top: 4px;
  opacity: 0.85;
  font-size: 11px;
}

.mini-row {
  display: flex;
  gap: 8px;
  align-items: center;
  background: #fff;
  border: 1px solid #e7e1d5;
  border-radius: 12px;
  padding: 8px;
  margin-bottom: 8px;
}

.mini-row b {
  display: block;
  font-size: 12px;
}

.mini-row small {
  font-size: 10px;
  color: var(--muted);
}

.ph.sm {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  flex: 0 0 34px;
}

.ph.sm > img {
  width: 14px;
  height: 14px;
}

.eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 4px 0 8px;
}

.safe-box {
  display: flex;
  gap: 10px;
  align-items: center;
  background: var(--safe-bg);
  border-radius: 14px;
  padding: 12px;
  margin-bottom: 10px;
}

.safe-box > span {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--safe);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  flex: 0 0 32px;
}

.safe-box strong {
  display: block;
  font-size: 14px;
  color: var(--safe);
}

.safe-box small {
  font-size: 11px;
  color: var(--green);
}

.ings {
  display: grid;
  gap: 6px;
}

.ings li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  border: 1px solid #e7e1d5;
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 600;
}

.ings em {
  font-style: normal;
  font-size: 10px;
  font-weight: 800;
  color: var(--safe);
  background: var(--safe-bg);
  padding: 3px 8px;
  border-radius: 999px;
}

/* ========== FEATURES ========== */
.features {
  padding: 8px 0 28px;
}

.feat-row {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr;
}

.feat-row article {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px 16px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(13, 43, 31, 0.04);
}

.fi {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: #eef6f0;
  margin: 0 auto 10px;
  display: grid;
  place-items: center;
}

.fi img {
  width: 22px;
  height: 22px;
}

.feat-row h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--forest);
  margin-bottom: 6px;
}

.feat-row p {
  font-size: 12px;
  color: var(--muted);
}

/* ========== SECTIONS ========== */
.block {
  padding: 48px 0;
}

.block.tint {
  background: var(--bg2);
}

.title {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 4vw, 2.35rem);
  font-weight: 700;
  color: var(--forest);
  text-align: center;
  margin-bottom: 28px;
}

.how {
  display: grid;
  gap: 22px;
}

.how article {
  text-align: center;
}

.how-arrow {
  display: none;
  color: var(--green);
  font-size: 28px;
  font-weight: 700;
  align-items: center;
  justify-content: center;
}

.mini-device {
  width: 130px;
  margin: 0 auto 14px;
  background: #151515;
  border-radius: 22px;
  padding: 6px;
  box-shadow: 0 12px 24px rgba(13, 43, 31, 0.15);
}

.mini-device .screen {
  min-height: 220px;
  border-radius: 18px;
  padding: 10px 8px;
}

.mini-device .island {
  width: 44px;
  height: 12px;
  margin-bottom: 8px;
}

.mini-device p {
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  color: var(--forest);
}

.ph.cam {
  height: 110px;
  border-radius: 12px;
  margin-bottom: 8px;
}

.ph.cam img {
  width: 28px;
  height: 28px;
}

.tiny {
  font-size: 10px !important;
  margin-bottom: 6px;
}

.line {
  font-size: 9px;
  font-weight: 700;
  padding: 7px;
  border-radius: 8px;
  background: #efe8dc;
  color: #5a6b61;
  margin-bottom: 5px;
  text-align: left;
}

.line.on {
  background: var(--safe-bg);
  color: var(--safe);
}

.pill {
  border-radius: 10px;
  padding: 9px 6px;
  font-size: 10px;
  font-weight: 800;
  margin-bottom: 6px;
}

.pill.g {
  background: var(--safe-bg);
  color: var(--safe);
}

.pill.y {
  background: var(--caution-bg);
  color: var(--caution);
}

.pill.r {
  background: var(--avoid-bg);
  color: var(--avoid);
}

.num {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--forest);
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  margin-bottom: 8px;
}

.how h3 {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--forest);
  margin-bottom: 6px;
}

.how article > p {
  font-size: 14px;
  color: var(--muted);
  max-width: 28ch;
  margin: 0 auto;
}

.profiles {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}

.profiles article {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(13, 43, 31, 0.05);
  padding-bottom: 18px;
}

.portrait {
  height: 180px;
}

.badge {
  position: absolute;
  left: 14px;
  top: 156px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid #fff;
  box-shadow: 0 8px 16px rgba(13, 43, 31, 0.14);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.badge img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.badge.pregnant {
  background: #ffe8d6;
}

.badge.kids {
  background: #e4f0ff;
}

.badge.senior {
  background: #e7f5e8;
}

.badge.adults {
  background: #e8eefc;
}

.profiles h3 {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--forest);
  margin: 40px 16px 6px;
}

.profiles p {
  margin: 0 16px;
  font-size: 14px;
  color: var(--muted);
}

.results {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}

.results article {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px 18px;
  text-align: center;
  box-shadow: 0 10px 24px rgba(13, 43, 31, 0.05);
}

.stamp {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  margin: 0 auto 12px;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 22px;
  font-weight: 800;
}

.results .safe .stamp {
  background: var(--safe);
}

.results .caution .stamp {
  background: var(--caution);
}

.results .avoid .stamp {
  background: var(--avoid);
}

.results h3 {
  font-family: var(--serif);
  font-size: 24px;
  color: var(--forest);
}

.results article > p {
  color: var(--muted);
  margin: 4px 0 14px;
  font-size: 14px;
}

.shot {
  height: 140px;
  border-radius: 16px;
  margin-bottom: 14px;
}

.results ul {
  text-align: left;
  display: grid;
  gap: 8px;
}

.results li {
  font-size: 14px;
  font-weight: 600;
}

.results .safe li {
  color: var(--safe);
}

.results .caution li {
  color: var(--caution);
}

.results .avoid li {
  color: var(--avoid);
}

.trust {
  background: var(--deep);
  color: #fff;
  padding: 28px 0;
}

.trust-row {
  display: grid;
  gap: 18px;
}

.trust-row > div {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.trust-row img {
  width: 22px;
  height: 22px;
  filter: brightness(0) invert(1);
  flex: 0 0 22px;
  margin-top: 2px;
}

.trust-row h3 {
  font-family: var(--serif);
  font-size: 17px;
  margin-bottom: 4px;
}

.trust-row p {
  font-size: 13px;
  color: #d5e7dc;
}

.faq {
  display: grid;
  gap: 10px;
}

.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}

.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 18px;
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 700;
  color: var(--forest);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  font-family: var(--sans);
  font-size: 20px;
  color: var(--green);
  flex: 0 0 auto;
}

.faq details[open] summary::after {
  content: "–";
}

.faq p {
  padding: 0 18px 16px;
  font-size: 14px;
  color: var(--muted);
}

.more {
  text-align: center;
  margin-top: 18px;
}

.more a {
  font-weight: 700;
  color: var(--green);
  font-size: 14px;
}

.cta {
  padding: 20px 0 48px;
}

.cta-box {
  background: linear-gradient(120deg, #0a241a, #14543d 55%, #1f6e50);
  border-radius: 28px;
  padding: 28px 20px;
  color: #fff;
  display: grid;
  gap: 20px;
  box-shadow: var(--shadow);
}

.cta-box h2 {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 4vw, 2.35rem);
  line-height: 1.15;
  margin-bottom: 8px;
}

.cta-box > div > p {
  color: #d5e7dc;
  margin-bottom: 4px;
}

.cta-photo {
  height: 200px;
  border-radius: 50%;
  width: min(240px, 80%);
  margin: 0 auto;
  border: 6px solid rgba(255, 255, 255, 0.18);
}

.foot {
  background: var(--bg2);
  border-top: 1px solid var(--line);
  padding: 36px 0 28px;
}

.foot-grid {
  display: grid;
  gap: 24px;
}

.foot-brand p {
  margin-top: 12px;
  font-size: 13px;
  color: var(--muted);
}

.foot-brand a[href^="mailto"] {
  display: inline-block;
  margin-top: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--green);
}

.foot-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.foot-cols h4 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--forest);
  margin-bottom: 10px;
}

.foot-cols a {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 7px;
}

.foot-cols a:hover {
  color: var(--green);
}

.note {
  background: #fff8ee;
  border: 1px solid #f0dfc4;
  border-radius: 14px;
  padding: 14px;
  color: #6a4a28;
}

.note strong {
  display: block;
  font-size: 13px;
  margin-bottom: 4px;
  color: #5a3b1c;
}

.note p {
  font-size: 12px;
}

/* ========== TABLET ========== */
@media (min-width: 768px) {
  .wrap {
    width: min(1120px, calc(100% - 48px));
  }

  .feat-row {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .results {
    grid-template-columns: repeat(3, 1fr);
  }

  .trust-row {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .phones {
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
  }

  .device {
    width: min(260px, 46%);
  }

  .bowl {
    height: 240px;
  }

  .foot-cols {
    grid-template-columns: repeat(3, 1fr);
  }

  .cta-box {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    padding: 40px;
  }

  .cta-photo {
    margin: 0;
    width: 240px;
    height: 240px;
  }

  .block {
    padding: 64px 0;
  }
}

/* ========== DESKTOP ========== */
@media (min-width: 1100px) {
  .topbar {
    padding: 12px max(24px, calc((100% - 1120px) / 2));
  }

  .brand-logo {
    height: 32px !important;
    max-width: 170px;
  }

  .burger {
    display: none;
  }

  .btn-dl {
    display: inline-flex;
  }

  #navLinks {
    display: flex;
    align-items: center;
    gap: 22px;
    flex: 1 1 auto;
    justify-content: center;
  }

  #navLinks.is-open {
    position: static;
    flex-direction: row;
    border: 0;
    box-shadow: none;
    padding: 0;
    background: transparent;
    left: auto;
    right: auto;
    top: auto;
  }

  .hero {
    padding: 48px 0 32px;
  }

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

  /* Stable hero visual: no absolute overflow */
  .hero-art {
    display: grid;
    grid-template-rows: auto 1fr;
    gap: 18px;
  }

  .bowl {
    height: 220px;
  }

  .phones {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    align-items: start;
  }

  .device {
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
    transform: none !important;
    position: static !important;
  }

  .device.left {
    margin-top: 0;
  }

  .device.right {
    margin-top: 24px;
  }

  .feat-row {
    grid-template-columns: repeat(5, 1fr);
  }

  .how {
    grid-template-columns: 1fr 40px 1fr 40px 1fr;
    align-items: start;
  }

  .how-arrow {
    display: flex;
    padding-top: 110px;
  }

  .profiles {
    grid-template-columns: repeat(4, 1fr);
  }

  .portrait {
    height: 210px;
  }

  .badge {
    top: 186px;
  }

  .foot-grid {
    grid-template-columns: 1.1fr 2.2fr 1.1fr;
    align-items: start;
  }

  .foot-cols {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* ========== Legal / stub pages (header.nav) ========== */
header.nav {
  position: sticky;
  top: 10px;
  z-index: 50;
  width: min(1120px, calc(100% - 24px));
  margin: 10px auto 0;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(247, 244, 238, 0.95);
  backdrop-filter: blur(12px);
}

header.nav .logo {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
}

header.nav .logo-wordmark,
header.nav img.logo-wordmark {
  height: 32px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
}

header.nav .logo-tagline {
  font-size: 10px;
  font-weight: 700;
  color: var(--muted);
}

header.nav .nav-links {
  display: none;
}

header.nav .nav-links.is-open {
  display: flex;
  flex-direction: column;
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 8px;
  box-shadow: var(--shadow);
}

header.nav .nav-links.is-open a {
  padding: 12px 14px;
  border-radius: 10px;
}

header.nav .mobile-menu {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
}

header.nav .btn {
  min-height: 44px;
  padding: 0 18px;
  border-radius: 14px;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 14px;
  font-family: inherit;
}

header.nav .btn-primary {
  background: var(--deep);
  color: #fff;
}

header.nav .btn-secondary {
  background: #fff;
  border-color: var(--line);
  color: var(--forest);
}

@media (min-width: 900px) {
  header.nav .nav-links {
    display: flex;
    gap: 18px;
    font-size: 14px;
    font-weight: 600;
  }

  header.nav .mobile-menu {
    display: none;
  }
}

.legal-shell {
  width: min(820px, calc(100% - 32px));
  margin: 0 auto;
  padding: 36px 0 64px;
}

.legal-shell .page-title {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 5vw, 2.4rem);
  color: var(--forest);
  margin-bottom: 0.5rem;
}

.legal-meta {
  margin: 0 0 1.25rem;
  padding: 1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  font-size: 0.9375rem;
  color: var(--muted);
}

.legal-meta p {
  margin: 0 0 0.35rem;
}

.legal-meta a,
.legal-shell .content a {
  color: var(--green);
}

.toc {
  margin: 0 0 1.5rem;
  padding: 1rem 1.25rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.toc h2 {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  font-family: var(--serif);
  color: var(--forest);
}

.toc ol {
  margin: 0;
  padding-left: 1.25rem;
  font-size: 0.9375rem;
}

.legal-shell .content h2 {
  margin: 2rem 0 0.75rem;
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--forest);
}

.legal-shell .content h3 {
  margin: 1.25rem 0 0.5rem;
  font-size: 1rem;
}

.legal-shell .content p,
.legal-shell .content ul,
.legal-shell .content ol {
  margin: 0 0 1rem;
  line-height: 1.65;
}

.legal-shell .content ul,
.legal-shell .content ol {
  padding-left: 1.35rem;
  list-style: disc;
}

.legal-shell .content code {
  font-size: 0.9em;
  background: #edf7ef;
  padding: 0.1em 0.35em;
  border-radius: 6px;
}

.disclaimer {
  margin-top: 1.5rem;
  padding: 1rem;
  background: #e8f6ec;
  border-radius: 12px;
  border-left: 4px solid var(--green);
}

.info-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
  margin: 1rem 0;
}

.info-table th,
.info-table td {
  text-align: left;
  padding: 0.65rem 0.75rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.info-table th {
  width: 35%;
  color: var(--forest);
}

.legal-shell .faq-item {
  border-bottom: 1px solid var(--line);
  padding: 1.1rem 0;
}

.legal-shell .faq-item h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
  font-family: var(--serif);
  color: var(--forest);
}

.stub-shell {
  width: min(680px, calc(100% - 32px));
  margin: 0 auto;
  padding: 64px 0 80px;
  text-align: center;
}

.stub-shell h1 {
  font-family: var(--serif);
  font-size: 2rem;
  color: var(--forest);
  margin-bottom: 10px;
}

.stub-shell p {
  color: var(--muted);
  margin-bottom: 22px;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 24px 0;
  color: var(--muted);
  font-size: 13px;
}

.footer-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

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