/* ============================================================
   PureThread Kids — Styles
   Palette: ivory · sage green · dusty rose · warm sand
   ============================================================ */

/* --- Reset & Variables --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ivory:       #FAF7F2;
  --ivory-dark:  #F2EDE4;
  --sage:        #6B9470;
  --sage-light:  #A8C9AC;
  --sage-pale:   #DFF0E1;
  --rose:        #C89494;
  --rose-light:  #EDD6D6;
  --rose-pale:   #FAF0F0;
  --sand:        #E2CEAF;
  --sand-pale:   #F7F0E4;
  --text:        #2E2A27;
  --text-mid:    #5C5450;
  --text-light:  #9B918D;
  --white:       #FFFFFF;

  --font-serif:  'Lora', Georgia, serif;
  --font-sans:   'Inter', system-ui, sans-serif;

  --radius-sm:   8px;
  --radius-md:   14px;
  --radius-lg:   20px;
  --radius-xl:   28px;

  --shadow-sm:   0 1px 4px rgba(60,40,20,.07);
  --shadow-md:   0 4px 18px rgba(60,40,20,.10);
  --shadow-lg:   0 10px 40px rgba(60,40,20,.12);

  --max-w:       1120px;
  --nav-h:       68px;
  --transition:  .22s ease;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-sans);
  background: var(--ivory);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

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

ul { list-style: none; }

/* --- Utilities --- */
.container {
  width: min(var(--max-w), 100%);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 2.5rem);
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: .75rem;
}

.eyebrow--light { color: var(--sage-light); }

.section-intro {
  font-size: 1.05rem;
  color: var(--text-mid);
  max-width: 640px;
  margin-bottom: 2.5rem;
  line-height: 1.75;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-sans);
  font-size: .9rem;
  font-weight: 600;
  padding: .75rem 1.6rem;
  border-radius: 100px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--sage);
  color: var(--white);
  border-color: var(--sage);
}
.btn--primary:hover { background: #5a7d5f; border-color: #5a7d5f; }

.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--sand);
}
.btn--ghost:hover { background: var(--sand-pale); border-color: var(--sage-light); }

.btn--white {
  background: var(--white);
  color: var(--sage);
  border-color: var(--white);
}
.btn--white:hover { background: var(--sage-pale); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(250, 247, 242, .92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 206, 175, .4);
  transition: box-shadow var(--transition);
}
.nav.scrolled { box-shadow: var(--shadow-sm); }

.nav__inner {
  width: min(var(--max-w), 100%);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 2.5rem);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.nav__logo {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -.01em;
  flex-shrink: 0;
}
.nav__logo em {
  font-style: normal;
  color: var(--sage);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav__links a {
  font-size: .875rem;
  font-weight: 500;
  color: var(--text-mid);
  transition: color var(--transition);
}
.nav__links a:hover { color: var(--sage); }

.nav__cta {
  background: var(--sage);
  color: var(--white) !important;
  padding: .45rem 1.1rem;
  border-radius: 100px;
  font-size: .825rem !important;
  font-weight: 600 !important;
  transition: background var(--transition), transform var(--transition) !important;
}
.nav__cta:hover { background: #5a7d5f !important; transform: translateY(-1px); }

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

/* Mobile nav */
@media (max-width: 760px) {
  .nav__links {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--ivory);
    border-bottom: 1px solid var(--sand);
    padding: 1rem 1.5rem 1.5rem;
    box-shadow: var(--shadow-md);
  }
  .nav__links.open { display: flex; }
  .nav__links li { width: 100%; }
  .nav__links a {
    display: block;
    padding: .75rem 0;
    border-bottom: 1px solid var(--ivory-dark);
    font-size: 1rem !important;
  }
  .nav__links li:last-child a { border-bottom: none; }
  .nav__cta { margin-top: .5rem; display: inline-block; }
  .nav__hamburger { display: flex; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding-top: calc(var(--nav-h) + 4rem);
  padding-bottom: 0;
  background: linear-gradient(160deg, var(--ivory) 0%, var(--sand-pale) 60%, var(--sage-pale) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(168,201,172,.25) 0%, transparent 70%);
  pointer-events: none;
}

.hero__inner {
  padding-bottom: 3.5rem;
  max-width: 740px;
}

.hero__inner h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.5vw, 3.1rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 1.25rem;
  letter-spacing: -.02em;
}
.hero__inner h1 em {
  font-style: italic;
  color: var(--sage);
}

.hero__sub {
  font-size: 1.1rem;
  color: var(--text-mid);
  max-width: 560px;
  margin-bottom: 2rem;
  line-height: 1.75;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

/* Stats bar */
.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--sand);
  border-top: 1px solid var(--sand);
  margin-top: 1rem;
}

.stat {
  background: var(--ivory);
  padding: 1.5rem clamp(1.25rem, 5vw, 2.5rem);
  display: flex;
  flex-direction: column;
  gap: .25rem;
}
.stat strong {
  font-family: var(--font-serif);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--sage);
  letter-spacing: -.02em;
}
.stat span {
  font-size: .8rem;
  color: var(--text-light);
  line-height: 1.4;
  max-width: 160px;
}

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

/* ============================================================
   WHY
   ============================================================ */
.why {
  padding: 5rem 0;
  background: var(--white);
}

.why h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: .75rem;
  letter-spacing: -.02em;
}

.why__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.why__card {
  background: var(--ivory);
  border: 1px solid var(--ivory-dark);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: box-shadow var(--transition), transform var(--transition);
}
.why__card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.why__icon {
  width: 48px;
  height: 48px;
  color: var(--sage);
  margin-bottom: 1rem;
}

.why__card h3 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  margin-bottom: .6rem;
  color: var(--text);
}
.why__card p {
  font-size: .9rem;
  color: var(--text-mid);
  line-height: 1.65;
}

.why__source {
  font-size: .75rem;
  color: var(--text-light);
  margin-top: .25rem;
}

/* ============================================================
   DIRECTORY
   ============================================================ */
.directory {
  padding: 5rem 0;
  background: var(--ivory);
}

.directory h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: .75rem;
  letter-spacing: -.02em;
}

/* Filters */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 2rem;
}

.filter-btn {
  font-family: var(--font-sans);
  font-size: .85rem;
  font-weight: 500;
  padding: .5rem 1.15rem;
  border-radius: 100px;
  border: 1.5px solid var(--sand);
  background: var(--white);
  color: var(--text-mid);
  cursor: pointer;
  transition: all var(--transition);
}
.filter-btn:hover {
  border-color: var(--sage-light);
  color: var(--sage);
  background: var(--sage-pale);
}
.filter-btn.active {
  background: var(--sage);
  border-color: var(--sage);
  color: var(--white);
}

/* Brand grid */
.brand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

/* Brand card */
.brand-card {
  background: var(--white);
  border: 1px solid var(--ivory-dark);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: box-shadow var(--transition), transform var(--transition);
  animation: fadeUp .35s ease both;
}
.brand-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.brand-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.brand-card__logo {
  width: 48px; height: 48px;
  border-radius: var(--radius-sm);
  background: var(--sand-pale);
  border: 1px solid var(--sand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: .95rem;
  color: var(--sage);
  flex-shrink: 0;
  letter-spacing: -.02em;
}

.brand-card__price {
  font-size: .8rem;
  font-weight: 600;
  color: var(--text-light);
  background: var(--ivory);
  border: 1px solid var(--ivory-dark);
  padding: .25rem .6rem;
  border-radius: 100px;
}

.brand-card__name {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: .1rem;
}

.brand-card__ages {
  font-size: .78rem;
  color: var(--text-light);
}

.brand-card__desc {
  font-size: .875rem;
  color: var(--text-mid);
  line-height: 1.65;
  flex: 1;
}

.brand-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}

.tag {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: .3rem .65rem;
  border-radius: 100px;
}
.tag--category {
  background: var(--sage-pale);
  color: var(--sage);
  border: 1px solid rgba(107,148,112,.2);
}
.tag--cert {
  background: var(--rose-pale);
  color: var(--rose);
  border: 1px solid rgba(200,148,148,.2);
}

.brand-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: .75rem;
  border-top: 1px solid var(--ivory-dark);
}

.brand-card__link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .85rem;
  font-weight: 600;
  color: var(--sage);
  transition: gap var(--transition), color var(--transition);
}
.brand-card__link:hover { gap: .55rem; color: #5a7d5f; }
.brand-card__link svg { transition: transform var(--transition); }
.brand-card__link:hover svg { transform: translateX(3px); }

.brand-card__affiliate {
  font-size: .7rem;
  color: var(--text-light);
}


/* Empty state */
.brand-grid__empty {
  grid-column: 1/-1;
  text-align: center;
  padding: 3rem 1rem;
  color: var(--text-light);
  font-size: .95rem;
}

/* Affiliate notice */
.directory__note {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  font-size: .8rem;
  color: var(--text-light);
  background: var(--ivory-dark);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  line-height: 1.6;
}
.directory__note svg { flex-shrink: 0; margin-top: 1px; }

/* ============================================================
   CERTIFICATIONS
   ============================================================ */
.certs {
  padding: 5rem 0;
  background: var(--white);
}

.certs h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: .75rem;
  letter-spacing: -.02em;
}

.certs__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.cert-card {
  background: var(--ivory);
  border: 1px solid var(--ivory-dark);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

.cert-card__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  background: var(--sage);
  color: var(--white);
  padding: .4rem .85rem;
  border-radius: var(--radius-sm);
  align-self: flex-start;
  margin-bottom: .25rem;
}

.cert-card h3 {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}
.cert-card p {
  font-size: .875rem;
  color: var(--text-mid);
  line-height: 1.65;
  flex: 1;
}

.cert-card__level {
  display: inline-flex;
  font-size: .7rem;
  font-weight: 600;
  padding: .25rem .65rem;
  border-radius: 100px;
  align-self: flex-start;
  margin-top: .25rem;
}
.cert-card__level--high { background: var(--sage-pale); color: var(--sage); }
.cert-card__level--mid  { background: var(--sand-pale); color: #8B6D3E; }
.cert-card__level--low  { background: var(--rose-pale); color: var(--rose); }

/* ============================================================
   PARTNER CTA
   ============================================================ */
.partner {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--sage) 0%, #4d7352 100%);
  color: var(--white);
}

.partner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  flex-wrap: wrap;
}

.partner__copy { max-width: 560px; }

.partner__copy h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: .75rem;
  letter-spacing: -.02em;
  color: var(--white);
}
.partner__copy p {
  font-size: 1rem;
  color: rgba(255,255,255,.82);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.partner__benefits {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.partner__benefits li {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .9rem;
  color: rgba(255,255,255,.9);
}
.partner__benefits li::before {
  content: '';
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(255,255,255,.2);
  border: 1.5px solid rgba(255,255,255,.5);
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 18 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4.5 9l3 3 6-6' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: cover;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--text);
  color: var(--ivory);
  padding: 3.5rem 0 0;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 3rem;
  flex-wrap: wrap;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.footer__brand .nav__logo { color: var(--ivory); font-size: 1.15rem; margin-bottom: .75rem; display: block; }
.footer__brand .nav__logo em { color: var(--sage-light); }
.footer__brand p { font-size: .85rem; color: rgba(250,247,242,.55); line-height: 1.6; }

.footer__nav {
  display: flex;
  gap: 4rem;
  flex-wrap: wrap;
}
.footer__col {
  display: flex;
  flex-direction: column;
  gap: .65rem;
}
.footer__col strong {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(250,247,242,.4);
  margin-bottom: .25rem;
}
.footer__col a {
  font-size: .875rem;
  color: rgba(250,247,242,.65);
  transition: color var(--transition);
}
.footer__col a:hover { color: var(--sage-light); }

.footer__fine {
  padding: 1.5rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 2rem;
}
.footer__fine p {
  font-size: .75rem;
  color: rgba(250,247,242,.35);
  line-height: 1.6;
}

/* brand card name is now an h3 — reset size to match design */
.brand-card__name {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 .1rem;
}

/* Directory intro sentence */
.directory__intro {
  font-size: .95rem;
  color: var(--text-mid);
  margin-bottom: 1.25rem;
  padding: .85rem 1.1rem;
  background: var(--sage-pale);
  border-left: 3px solid var(--sage);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  line-height: 1.5;
}

/* Filter label */
.filters__label {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-light);
  align-self: center;
  flex-shrink: 0;
}

/* Secondary filter row spacing */
.filters--secondary {
  margin-top: .5rem;
  margin-bottom: 2rem;
}

/* Featured card */
.brand-card--featured {
  border-color: var(--sage-light);
  position: relative;
  overflow: visible;
}

.brand-card__badge-ribbon {
  position: absolute;
  top: -11px;
  left: 1.25rem;
  background: var(--sage);
  color: var(--white);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .25rem .75rem;
  border-radius: 100px;
  box-shadow: 0 2px 8px rgba(107,148,112,.35);
}

/* Tagline */
.brand-card__tagline {
  font-family: var(--font-serif);
  font-size: .88rem;
  font-style: italic;
  color: var(--sage);
  font-weight: 600;
  line-height: 1.4;
  margin: 0;
}

/* Best for callout */
.brand-card__best-for {
  display: flex;
  align-items: flex-start;
  gap: .4rem;
  font-size: .8rem;
  color: var(--text-mid);
  background: var(--sand-pale);
  border-radius: var(--radius-sm);
  padding: .5rem .75rem;
  line-height: 1.5;
}
.brand-card__best-for svg {
  flex-shrink: 0;
  color: #C8921A;
  margin-top: 1px;
}
.brand-card__best-for strong {
  color: var(--text);
  margin-right: .2rem;
}

/* Verified date */
.brand-card__verified {
  font-size: .7rem;
  color: var(--text-light);
}

/* ============================================================
   FAQ
   ============================================================ */
.faq {
  padding: 5rem 0;
  background: var(--ivory);
}

.faq h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: .75rem;
  letter-spacing: -.02em;
  max-width: 680px;
}

.faq__list {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  max-width: 780px;
}

.faq__item {
  background: var(--white);
  border: 1px solid var(--ivory-dark);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow var(--transition);
}
.faq__item[open] { box-shadow: var(--shadow-md); }

.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  transition: background var(--transition);
}
.faq__question::-webkit-details-marker { display: none; }
.faq__question:hover { background: var(--ivory); }

.faq__question::after {
  content: '+';
  font-family: var(--font-sans);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--sage);
  flex-shrink: 0;
  transition: transform var(--transition);
}
.faq__item[open] .faq__question::after {
  transform: rotate(45deg);
}

.faq__answer {
  padding: 0 1.5rem 1.25rem;
  border-top: 1px solid var(--ivory-dark);
}
.faq__answer p {
  font-size: .9rem;
  color: var(--text-mid);
  line-height: 1.75;
  margin-top: 1rem;
}
.faq__answer p + p { margin-top: .75rem; }

/* ============================================================
   FTC DISCLOSURE
   ============================================================ */
.ftc-disclosure {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  background: #FFFBEB;
  border: 1px solid #F0D060;
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  font-size: .82rem;
  color: #7A5C00;
  line-height: 1.65;
  margin-bottom: 2rem;
}
.ftc-disclosure svg { flex-shrink: 0; margin-top: 1px; color: #D4A000; }
.ftc-disclosure a { color: #7A5C00; text-decoration: underline; }
.ftc-disclosure a:hover { color: #3D2E00; }

/* ============================================================
   MEDICAL DISCLAIMER
   ============================================================ */
.why__disclaimer {
  font-size: .8rem;
  color: var(--text-light);
  background: var(--ivory-dark);
  border-radius: var(--radius-sm);
  padding: .75rem 1rem;
  margin-top: .75rem;
  line-height: 1.6;
}
.why__source a {
  color: var(--sage);
  text-decoration: underline;
}
.why__source a:hover { color: #4a6b4f; }

/* ============================================================
   COOKIE CONSENT BANNER
   ============================================================ */
.cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: min(680px, calc(100% - 2rem));
  background: var(--text);
  color: var(--ivory);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  box-shadow: var(--shadow-lg);
  z-index: 200;
  animation: slideUp .3s ease both;
}
.cookie-banner.hidden { display: none; }

@keyframes slideUp {
  from { opacity: 0; transform: translateX(-50%) translateY(20px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.cookie-banner__text {
  flex: 1;
  min-width: 200px;
}
.cookie-banner__text strong {
  display: block;
  font-size: .9rem;
  margin-bottom: .25rem;
  color: var(--white);
}
.cookie-banner__text p {
  font-size: .8rem;
  color: rgba(250,247,242,.65);
  line-height: 1.5;
}
.cookie-banner__text a {
  color: var(--sage-light);
  text-decoration: underline;
}

.cookie-banner__actions {
  display: flex;
  gap: .6rem;
  flex-shrink: 0;
}
.cookie-banner__actions .btn {
  padding: .55rem 1.1rem;
  font-size: .82rem;
}
.cookie-banner__actions .btn--ghost {
  border-color: rgba(255,255,255,.2);
  color: rgba(255,255,255,.7);
}
.cookie-banner__actions .btn--ghost:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.3);
}

/* footer fine print links */
.footer__fine a {
  color: rgba(250,247,242,.5);
  text-decoration: underline;
}
.footer__fine a:hover { color: var(--sage-light); }

/* ============================================================
   LEGAL PAGES (privacy.html, terms.html)
   ============================================================ */
.legal-page {
  padding-top: calc(var(--nav-h) + 3rem);
  padding-bottom: 5rem;
  max-width: 760px;
}

.legal-page__header {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--ivory-dark);
}
.legal-page__header h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: .5rem;
  letter-spacing: -.02em;
}
.legal-page__meta {
  font-size: .82rem;
  color: var(--text-light);
}

.legal-page__body h2 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text);
  margin: 2.5rem 0 .75rem;
}
.legal-page__body h3 {
  font-family: var(--font-sans);
  font-size: .95rem;
  font-weight: 600;
  color: var(--text);
  margin: 1.25rem 0 .5rem;
}
.legal-page__body p {
  font-size: .9rem;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: .75rem;
}
.legal-page__body ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: .75rem;
}
.legal-page__body ul li {
  font-size: .9rem;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: .25rem;
}
.legal-page__body a {
  color: var(--sage);
  text-decoration: underline;
}
.legal-page__body a:hover { color: #4a6b4f; }
.legal-page__body strong { color: var(--text); }

/* ============================================================
   RESPONSIVE TWEAKS
   ============================================================ */
@media (max-width: 760px) {
  .hero__inner h1 { font-size: clamp(1.75rem, 6vw, 2.4rem); }

  .partner__inner { flex-direction: column; align-items: flex-start; }
  .partner__inner .btn { width: 100%; text-align: center; justify-content: center; }

  .footer__inner { flex-direction: column; gap: 2rem; }
  .footer__nav { gap: 2rem; }
}

@media (max-width: 480px) {
  .brand-grid { grid-template-columns: 1fr; }
  .certs__grid { grid-template-columns: 1fr; }
  .why__grid { grid-template-columns: 1fr; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { text-align: center; justify-content: center; }
}
