:root {
  color-scheme: light;
  --ink: #10251f;
  --muted: #5f7069;
  --line: #dde4df;
  --paper: #fffdf6;
  --soft: #f3f7ef;
  --green: #1f6f5b;
  --mint: #43aa8b;
  --gold: #f2c14e;
  --brick: #b75d45;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(16, 37, 31, .13);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}

body.modal-open { overflow: hidden; }

a { color: inherit; }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 5vw, 64px);
  background: rgba(255, 253, 246, .93);
  border-bottom: 1px solid rgba(16, 37, 31, .1);
  backdrop-filter: blur(18px);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 850;
  font-size: 1.07rem;
}

.logo img {
  width: 38px;
  height: 38px;
}

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

.main-nav a {
  padding: 10px 13px;
  border-radius: 7px;
  color: #254139;
  text-decoration: none;
  font-size: .94rem;
  font-weight: 700;
}

.main-nav a:hover,
.main-nav a.active {
  background: #e8f3ec;
}

.menu-btn {
  display: none;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 7px;
  padding: 9px 12px;
  font-weight: 800;
  color: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(320px, 1.05fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  padding: clamp(36px, 7vw, 88px) clamp(18px, 5vw, 64px) 34px;
  min-height: calc(100svh - 68px);
}

.hero h1,
.page-hero h1 {
  margin: 0;
  max-width: 790px;
  font-size: clamp(2.15rem, 5.5vw, 5.25rem);
  line-height: .96;
  letter-spacing: 0;
}

.hero p,
.page-hero p {
  max-width: 700px;
  color: #465d55;
  font-size: 1.1rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--green);
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-actions,
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.button,
.brand-cta,
button {
  cursor: pointer;
}

.button,
.brand-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 7px;
  background: var(--ink);
  color: var(--white);
  text-decoration: none;
  font-weight: 850;
  border: 1px solid var(--ink);
}

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

.hero-visual {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
  background: var(--ink);
  min-height: 330px;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 330px;
  object-fit: cover;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  margin: 0 clamp(18px, 5vw, 64px) 34px;
  border: 1px solid var(--line);
}

.trust-row div {
  background: var(--white);
  padding: 18px;
}

.trust-row strong {
  display: block;
  font-size: .85rem;
}

.trust-row span {
  color: var(--muted);
  font-size: .9rem;
}

.alert-strip {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
  margin: 0 clamp(18px, 5vw, 64px) clamp(42px, 6vw, 74px);
  padding: 18px;
  border: 1px solid #eed89b;
  background: #fff5d8;
  border-radius: 8px;
}

.alert-strip strong {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  color: var(--white);
  background: var(--brick);
}

.alert-strip p { margin: 0; }

.section,
.page-hero,
.legal-body {
  padding: clamp(46px, 7vw, 88px) clamp(18px, 5vw, 64px);
}

.section-head {
  max-width: 820px;
  margin-bottom: 28px;
}

.section-head h2,
.responsible-band h2,
.legal-body h2 {
  margin: 0;
  font-size: clamp(1.75rem, 3.5vw, 3rem);
  line-height: 1.06;
}

.section-head p,
.responsible-band p,
.legal-body p,
.legal-body li {
  color: var(--muted);
}

.brand-stack {
  display: grid;
  gap: 18px;
}

.brand-card {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) 180px;
  gap: 22px;
  align-items: stretch;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 34px rgba(16, 37, 31, .06);
}

.brand-card.featured {
  border-color: rgba(31, 111, 91, .45);
}

.brand-logo-box {
  display: grid;
  place-items: center;
  padding: 14px;
  background: var(--soft);
  border-radius: 7px;
}

.brand-title {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.brand-title span {
  flex: 0 0 auto;
  padding: 4px 8px;
  border-radius: 6px;
  background: #e8f3ec;
  color: var(--green);
  font-weight: 900;
}

.brand-title h3 {
  margin: 0;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.2;
}

.brand-main p {
  color: var(--muted);
  margin: 10px 0 14px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-row span {
  padding: 6px 9px;
  border-radius: 999px;
  background: #eef6f2;
  color: #255246;
  font-size: .82rem;
  font-weight: 800;
}

.license-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 16px 0 0;
}

.license-list div {
  padding: 10px;
  background: #fbfaf4;
  border: 1px solid #edf0ea;
  border-radius: 7px;
}

.license-list dt {
  color: var(--muted);
  font-size: .74rem;
  font-weight: 850;
  text-transform: uppercase;
}

.license-list dd {
  margin: 3px 0 0;
  overflow-wrap: anywhere;
  font-size: .9rem;
  font-weight: 700;
}

.brand-side {
  display: grid;
  align-content: center;
  gap: 14px;
}

.score {
  text-align: center;
  padding: 16px 8px;
  border-radius: 7px;
  background: var(--ink);
  color: var(--gold);
  font-size: 2.1rem;
  font-weight: 900;
}

.score small {
  display: block;
  margin-top: 3px;
  color: #dce8e1;
  font-size: .74rem;
  font-weight: 750;
}

.brand-cta {
  background: var(--green);
  border-color: var(--green);
}

.tint {
  background: var(--soft);
}

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

.info-card {
  padding: 22px;
  border-radius: 8px;
  background: var(--white);
  border: 1px solid var(--line);
}

.info-card strong {
  color: var(--brick);
  font-size: .85rem;
}

.info-card h3 { margin-bottom: 8px; }
.info-card p { color: var(--muted); margin-bottom: 0; }

.responsible-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}

.responsible-band > div {
  padding: clamp(34px, 5vw, 64px);
  background: var(--ink);
  color: var(--white);
}

.responsible-band p,
.responsible-band .eyebrow {
  color: #d7e7df;
}

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

.faq details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  cursor: pointer;
  font-weight: 850;
  font-size: 1.06rem;
}

.faq p {
  max-width: 820px;
  color: var(--muted);
}

.site-footer {
  padding: 42px clamp(18px, 5vw, 64px) 28px;
  background: #0c1b17;
  color: #f5f0e2;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr .7fr .8fr;
  gap: 28px;
}

.footer-grid p,
.footer-bottom {
  color: #b9c7c1;
}

.footer-grid a {
  display: block;
  width: fit-content;
  margin: 8px 0;
  color: #f5f0e2;
  text-decoration: none;
}

.footer-grid h3 {
  margin: 0 0 12px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .14);
  font-size: .9rem;
}

.age-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(7, 18, 15, .78);
}

.age-modal.is-visible { display: flex; }

.age-card {
  width: min(560px, 100%);
  padding: clamp(24px, 5vw, 38px);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.age-card h2 {
  margin: 0;
  font-size: clamp(1.55rem, 4vw, 2.35rem);
  line-height: 1.05;
}

.age-card p { color: var(--muted); }

.age-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.age-actions button {
  min-height: 46px;
  padding: 12px 16px;
  border: 1px solid var(--ink);
  border-radius: 7px;
  background: var(--ink);
  color: var(--white);
  font-weight: 850;
}

.age-actions button.ghost {
  background: transparent;
  color: var(--ink);
}

.legal-body {
  max-width: 960px;
}

.legal-body h2 {
  margin-top: 32px;
}

.contact-box {
  display: grid;
  gap: 12px;
  padding: 22px;
  border-radius: 8px;
  background: var(--soft);
  border: 1px solid var(--line);
}

.not-found {
  display: grid;
  place-items: center;
  min-height: 70svh;
  padding: 28px;
  text-align: center;
}

.not-found h1 {
  margin: 0;
  font-size: clamp(4rem, 14vw, 9rem);
  line-height: 1;
}

@media (max-width: 980px) {
  .hero,
  .brand-card,
  .footer-grid,
  .responsible-band {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

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

  .brand-side {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .site-header {
    align-items: flex-start;
  }

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

  .main-nav {
    position: absolute;
    top: 67px;
    left: 18px;
    right: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: flex;
  }

  .hero {
    padding-top: 34px;
  }

  .hero-actions,
  .cta-row,
  .age-actions,
  .brand-side {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button,
  .brand-cta,
  .age-actions button {
    width: 100%;
  }

  .trust-row,
  .method-grid,
  .article-grid,
  .license-list {
    grid-template-columns: 1fr;
  }

  .alert-strip {
    grid-template-columns: 1fr;
  }
}
