/* Top Clover And Crown — section-scoped Neo-Editorial Contrast */

:root {
  --white: #f7f8fa;
  --slate: #3d5a80;
  --slate-deep: #2c4260;
  --lime: #c8f542;
  --ink: #14181f;
  --muted: #5a6575;
  --rule: #c5ccd6;
  --band: #eef1f5;
  --space-xs: 0.35rem;
  --space-sm: 0.75rem;
  --space-md: 1.25rem;
  --space-lg: 2rem;
  --space-xl: 3.5rem;
  --font-display: "Newsreader", "Libre Baskerville", Georgia, serif;
  --font-body: "Lora", "Source Serif 4", Georgia, serif;
  --font-mono: "IBM Plex Mono", "Courier New", monospace;
  --max: 72rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--slate); text-decoration: underline; text-underline-offset: 0.15em; }
a:hover { color: var(--slate-deep); }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 var(--space-sm);
}
p { margin: 0 0 var(--space-md); }
ul, ol { margin: 0 0 var(--space-md); padding-left: 1.25rem; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}

/* —— age-notice —— */
.age-notice {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--ink);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  padding: 0.45rem var(--space-md);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  align-items: center;
  justify-content: space-between;
}
.age-notice a { color: var(--lime); }
.age-notice__mark {
  background: var(--lime);
  color: var(--ink);
  padding: 0.1rem 0.4rem;
  font-weight: 700;
  margin-right: 0.35rem;
}

/* —— masthead —— */
.masthead {
  border-bottom: 1px solid var(--rule);
  background: var(--white);
}
.masthead__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: var(--space-md) var(--space-md) var(--space-sm);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-md);
  align-items: end;
}
.masthead__brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--ink);
}
.masthead__brand:hover { color: var(--ink); }
.masthead__logo { width: 40px; height: 40px; flex-shrink: 0; }
.masthead__name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.1;
}
.masthead__tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-top: 0.15rem;
}
.masthead__meta {
  text-align: right;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  align-self: start;
}
.masthead__nav {
  grid-column: 1 / -1;
  border-top: double 3px var(--ink);
  border-bottom: 1px solid var(--ink);
  padding: 0.5rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
  margin-top: 0.25rem;
}
.masthead__nav a {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
  color: var(--ink);
  border-bottom: 2px solid transparent;
}
.masthead__nav a:hover { border-bottom-color: var(--lime); color: var(--slate); }
.masthead__toggle {
  display: none;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  background: transparent;
  border: 2px solid var(--ink);
  padding: 0.35rem 0.6rem;
  cursor: pointer;
  color: var(--ink);
}
@media (max-width: 720px) {
  .masthead__toggle { display: inline-block; justify-self: end; }
  .masthead__nav { display: none; }
  .masthead__nav.is-open { display: flex; }
  .masthead__meta { display: none; }
}

/* —— independence strip —— */
.indep {
  max-width: var(--max);
  margin: 0 auto;
  padding: var(--space-sm) var(--space-md);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  border-bottom: 1px solid var(--rule);
  color: var(--muted);
}
.indep strong { color: var(--ink); font-weight: 600; }

/* —— hero —— */
.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: var(--space-lg) var(--space-md) var(--space-md);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--space-lg);
  align-items: center;
  border-bottom: 1px solid var(--rule);
}
.hero__line {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4.5vw, 3.1rem);
  font-weight: 600;
  margin: 0;
  letter-spacing: -0.02em;
}
.hero__line em {
  font-style: italic;
  background: linear-gradient(180deg, transparent 60%, var(--lime) 60%);
}
.hero__aside {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  border-left: double 3px var(--slate);
  padding-left: var(--space-md);
}
.hero__aside span { display: block; color: var(--ink); margin-top: 0.35rem; }
.hero__visual { grid-column: 1 / -1; max-height: 160px; overflow: hidden; border: double 3px var(--slate); }
.hero__visual img { width: 100%; object-fit: cover; max-height: 160px; }
@media (max-width: 720px) {
  .hero { grid-template-columns: 1fr; }
}

/* —— section shared —— */
.sec {
  max-width: var(--max);
  margin: 0 auto;
  padding: var(--space-xl) var(--space-md);
  border-bottom: 1px solid var(--rule);
}
.sec__label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--slate);
  margin-bottom: var(--space-xs);
}
.sec__title {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-xs);
  border-bottom: 1px solid var(--rule);
}
.sec__lead { max-width: 40rem; color: var(--muted); }

/* —— stats strip —— */
.stats {
  max-width: var(--max);
  margin: 0 auto;
  padding: var(--space-md);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  border-bottom: 1px solid var(--rule);
  background: var(--band);
}
.stats__item {
  text-align: center;
  border: double 3px transparent;
  padding: var(--space-sm);
}
.stats__num {
  font-family: var(--font-mono);
  font-size: 1.75rem;
  color: var(--slate);
  display: block;
}
.stats__lbl {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}
@media (max-width: 560px) { .stats { grid-template-columns: 1fr; } }

/* —— ranked showcase —— */
.rank__list { list-style: none; padding: 0; margin: 0; }
.rank__row {
  display: grid;
  grid-template-columns: 4.5rem 5rem 1fr auto;
  gap: var(--space-md);
  align-items: center;
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--rule);
}
.rank__row:last-child { border-bottom: 0; }
.rank__num {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  line-height: 1;
  color: var(--slate);
  font-weight: 600;
}
.rank__logo-wrap {
  width: 72px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: double 3px var(--rule);
  padding: 4px;
}
.rank__logo-wrap img { max-height: 40px; max-width: 64px; object-fit: contain; }
.rank__logo-fallback {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  text-align: center;
  color: var(--muted);
}
.rank__body h3 {
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
}
.rank__body p {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
  color: var(--ink);
}
.rank__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.35rem;
}
.badge {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.45rem;
  border: 1px solid var(--slate);
  background: transparent;
  color: var(--slate);
  border-radius: 0;
}
.badge--fill {
  background: var(--slate);
  color: var(--white);
  border-color: var(--slate);
}
.badge--lime {
  background: var(--lime);
  color: var(--ink);
  border-color: var(--lime);
}
.rank__grade {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 700;
  color: var(--ink);
  background: var(--lime);
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: double 3px var(--ink);
}
.rank__actions {
  grid-column: 3 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  align-items: center;
  margin-top: 0.25rem;
}
.rank__note {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--muted);
  width: 100%;
}
@media (max-width: 720px) {
  .rank__row {
    grid-template-columns: 3rem 4rem 1fr;
  }
  .rank__grade { grid-column: 1; grid-row: 1; width: 2.5rem; height: 2.5rem; font-size: 1.4rem; }
  .rank__num { display: none; }
  .rank__actions { grid-column: 1 / -1; }
}

/* —— buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
  padding: 0.55rem 0.9rem;
  border: 2px solid var(--slate);
  background: var(--slate);
  color: var(--white);
  cursor: pointer;
  border-radius: 0;
  transition: transform 0.12s ease, background-color 0.12s ease, color 0.12s ease;
}
.btn:hover { background: var(--slate-deep); color: var(--white); text-decoration: none; }
.btn:active { transform: scale(0.97); background: var(--ink); }
.btn--ghost {
  background: transparent;
  color: var(--slate);
}
.btn--ghost:hover { background: var(--band); color: var(--slate-deep); }
.btn__ico { width: 0.85em; height: 0.85em; flex-shrink: 0; }
@media (prefers-reduced-motion: reduce) {
  .btn { transition: none; }
  .btn:active { transform: none; }
}

/* —— affiliate note —— */
.aff-note {
  max-width: var(--max);
  margin: 0 auto;
  padding: var(--space-md);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  background: var(--band);
  border-bottom: 1px solid var(--rule);
  color: var(--muted);
}
.aff-note a { color: var(--slate); }

/* —— compare table —— */
.compare__wrap { overflow-x: auto; }
.compare__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  min-width: 640px;
}
.compare__table th,
.compare__table td {
  border: 1px solid var(--rule);
  padding: 0.65rem 0.75rem;
  text-align: left;
  vertical-align: top;
}
.compare__table th {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--band);
  font-weight: 600;
}
.compare__table td:first-child,
.compare__table th:first-child {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  white-space: nowrap;
}
.compare__table tr:nth-child(even) td { background: #fafbfc; }
.compare__featured {
  border: double 3px var(--slate) !important;
}

/* —— method —— */
.method__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-lg);
}
.method__visual { border: double 3px var(--rule); }
.method__visual img { width: 100%; height: 100%; object-fit: cover; max-height: 280px; }
@media (max-width: 720px) { .method__grid { grid-template-columns: 1fr; } }

/* —— glossary —— */
.gloss {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: var(--space-md);
}
.gloss__item {
  border-top: 2px solid var(--ink);
  padding-top: var(--space-sm);
}
.gloss__term {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--slate);
  margin-bottom: 0.25rem;
}
.gloss__def { font-size: 0.92rem; margin: 0; color: var(--muted); }

/* —— safety cards —— */
.safety__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  gap: var(--space-md);
}
.safety__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md);
  border: double 3px var(--rule);
  text-decoration: none;
  color: var(--ink);
  background: #fff;
  text-align: center;
  transition: border-color 0.12s ease;
}
.safety__card:hover { border-color: var(--slate); text-decoration: none; }
.safety__card img { height: 36px; width: auto; object-fit: contain; }
.safety__card span {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* —— faq prose —— */
.faq-prose article {
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--rule);
}
.faq-prose article:last-child { border-bottom: 0; }
.faq-prose h3 {
  font-size: 1.25rem;
  margin-bottom: var(--space-sm);
}

/* —— page layout —— */
.page-hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: var(--space-xl) var(--space-md) var(--space-lg);
  border-bottom: 1px solid var(--rule);
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: var(--space-lg);
}
.page-hero__visual { border: double 3px var(--slate); overflow: hidden; }
.page-hero__visual img { width: 100%; height: 100%; object-fit: cover; max-height: 220px; }
.page-body {
  max-width: var(--max);
  margin: 0 auto;
  padding: var(--space-xl) var(--space-md);
}
.page-body h2 { margin-top: var(--space-lg); font-size: 1.5rem; }
.page-body .deco-inline {
  margin: var(--space-lg) 0;
  border: double 3px var(--rule);
  max-width: 100%;
}
@media (max-width: 720px) { .page-hero { grid-template-columns: 1fr; } }

/* —— contact form —— */
.form label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.35rem;
}
.form input,
.form textarea {
  width: 100%;
  max-width: 32rem;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.55rem 0.65rem;
  border: 2px solid var(--rule);
  background: #fff;
  margin-bottom: var(--space-md);
  border-radius: 0;
  color: var(--ink);
}
.form input:focus,
.form textarea:focus {
  outline: 2px solid var(--lime);
  border-color: var(--slate);
}
.form__msg {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--slate);
  display: none;
}
.form__msg.is-visible { display: block; }

/* —— disclaimer —— */
.disclaimer {
  max-width: var(--max);
  margin: 0 auto;
  padding: var(--space-md);
  font-size: 0.85rem;
  color: var(--muted);
  border-bottom: 1px solid var(--rule);
}

/* —— footer —— */
.site-footer {
  background: var(--ink);
  color: #c5ccd6;
  padding: var(--space-xl) var(--space-md);
  position: relative;
  overflow: hidden;
}
.site-footer a { color: var(--lime); }
.site-footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: var(--space-lg);
  position: relative;
  z-index: 1;
}
.site-footer__brand {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  margin-bottom: var(--space-sm);
}
.site-footer__brand img { width: 36px; height: 36px; opacity: 0.85; }
.site-footer__name {
  font-family: var(--font-display);
  color: var(--white);
  font-size: 1.1rem;
}
.site-footer h4 {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--lime);
  margin-bottom: var(--space-sm);
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.4rem; font-size: 0.88rem; }
.site-footer__mark {
  position: absolute;
  right: -2rem;
  bottom: -2rem;
  width: 180px;
  height: 180px;
  opacity: 0.08;
  pointer-events: none;
}
.site-footer__base {
  max-width: var(--max);
  margin: var(--space-lg) auto 0;
  padding-top: var(--space-md);
  border-top: 1px solid #3a4250;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  position: relative;
  z-index: 1;
}
@media (max-width: 720px) {
  .site-footer__inner { grid-template-columns: 1fr; }
}

/* —— cookie banner (ONLY box-shadow on site) —— */
.cookie {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: #fff;
  border-top: double 3px var(--ink);
  padding: var(--space-md);
  box-shadow: 0 -8px 28px rgba(20, 24, 31, 0.18);
  display: none;
}
.cookie.is-visible { display: block; }
.cookie__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  align-items: center;
  justify-content: space-between;
}
.cookie__text {
  flex: 1 1 16rem;
  font-size: 0.9rem;
  margin: 0;
  color: var(--muted);
}
.cookie__actions { display: flex; gap: var(--space-sm); flex-wrap: wrap; }

/* —— newspaper columns helper —— */
.cols-2 {
  columns: 2;
  column-gap: var(--space-lg);
}
.cols-2 p { break-inside: avoid; }
@media (max-width: 640px) { .cols-2 { columns: 1; } }

.highlight {
  background: linear-gradient(180deg, transparent 62%, var(--lime) 62%);
}
