:root {
  --ink: #0b1612;
  --ink-2: #0f1d18;
  --panel: #13241e;
  --panel-2: #1a2f28;
  --line: rgba(217, 178, 106, 0.22);
  --line-soft: rgba(241, 236, 226, 0.08);
  --gold: #d9b26a;
  --gold-2: #b8904d;
  --gold-3: #ecd7a6;
  --sage: #8fb3a0;
  --text: #f1ece2;
  --muted: #b5bfb6;
  --danger: #f0a39a;
  --success-bg: #173a2c;
  --success: #bfe8cf;
  --head: "Newsreader", "Iowan Old Style", Georgia, serif;
  --body: "Manrope", "Segoe UI", system-ui, sans-serif;
  --radius: 16px;
  color-scheme: dark;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html.is-locked, html.is-locked body { overflow: hidden; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
  background:
    radial-gradient(1100px 520px at 90% -10%, rgba(46, 110, 82, 0.35), transparent 60%),
    radial-gradient(820px 380px at -10% 20%, rgba(217, 178, 106, 0.08), transparent 55%),
    var(--ink);
}

img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }

a { color: var(--gold); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--gold-3); }
:focus-visible { outline: 2px solid var(--gold-3); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { font-family: var(--head); font-weight: 600; line-height: 1.2; margin: 0 0 0.6em; letter-spacing: -0.005em; }
p { margin: 0 0 1em; }

.wrap { width: min(1200px, calc(100% - 2rem)); margin-inline: auto; }
.narrow { width: min(820px, calc(100% - 2rem)); }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 200;
  padding: 0.5rem 1rem; background: var(--gold); color: var(--ink); border-radius: 8px; font-weight: 700;
}
.skip-link:focus { top: 1rem; }

.eyebrow {
  margin: 0 0 0.6rem;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--sage);
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  min-height: 46px; padding: 0.7rem 1.4rem;
  border: 1px solid transparent; border-radius: 999px;
  font: 700 0.95rem/1 var(--body); letter-spacing: 0.02em;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn--gold { background: linear-gradient(180deg, var(--gold-3), var(--gold)); color: #1b1408; }
.btn--gold:hover { color: #1b1408; transform: translateY(-1px); background: var(--gold-3); }
.btn--gold:disabled { opacity: 0.4; cursor: not-allowed; transform: none; background: var(--gold-2); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-3); }
.btn--sm { min-height: 40px; padding: 0.5rem 1.1rem; font-size: 0.88rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 22, 18, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 0.75rem; padding: 0.85rem 0;
}
.site-logo img { height: 40px; width: auto; }
.site-nav__list { display: flex; gap: 1.8rem; margin: 0; padding: 0; list-style: none; }
.site-nav__link {
  font-weight: 600; font-size: 0.86rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text); text-decoration: none; padding: 0.4rem 0; border-bottom: 2px solid transparent;
}
.site-nav__link:hover, .site-nav__link.is-active { color: var(--gold); border-bottom-color: var(--gold); }

.nav-toggle {
  display: none; width: 44px; height: 44px; padding: 11px 10px;
  flex-direction: column; justify-content: space-between;
  border: 1px solid var(--line); border-radius: 10px; background: rgba(217, 178, 106, 0.08); cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; background: var(--gold-3); border-radius: 2px; }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  padding: 4.5rem 0 3.5rem;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(11, 22, 18, 0.2), rgba(11, 22, 18, 0.85)),
    repeating-linear-gradient(135deg, rgba(217, 178, 106, 0.05) 0 2px, transparent 2px 22px),
    radial-gradient(700px 300px at 50% 0%, rgba(46, 110, 82, 0.45), transparent 70%);
}
.hero__inner { max-width: 860px; text-align: center; }
.hero__title { font-size: clamp(2rem, 5vw, 3.4rem); color: var(--gold-3); }
.hero__lead { max-width: 680px; margin-inline: auto; color: var(--muted); font-size: 1.1rem; }

.page-hero { padding: 3.5rem 0 2.5rem; border-bottom: 1px solid var(--line); }
.page-hero--center { text-align: center; padding: 6rem 0; }
.page-hero__title { font-size: clamp(1.9rem, 4.5vw, 3rem); color: var(--gold-3); }
.page-hero__lead { max-width: 760px; color: var(--muted); font-size: 1.08rem; }

/* Sections */
.section { padding: 3.5rem 0; }
.section--panel { background: linear-gradient(180deg, var(--ink-2), var(--ink)); border-block: 1px solid var(--line-soft); }
.section__title { font-size: clamp(1.5rem, 3.4vw, 2.2rem); text-align: center; margin-bottom: 1.6rem; }
.section__intro { max-width: 760px; margin: -0.6rem auto 2rem; text-align: center; color: var(--muted); }
.section__more { text-align: center; margin: 2rem 0 0; font-weight: 600; }

/* Offers */
.offers { display: grid; gap: 1.1rem; }

/* Brand card: one flat grid, rearranged per breakpoint with grid-template-areas. */
.offer {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr) 210px;
  grid-template-areas:
    "logo  name  score"
    "logo  text  cta"
    "logo  tags  cta"
    "facts facts facts";
  column-gap: 1.6rem;
  row-gap: 0.55rem;
  padding: 2rem 1.6rem 0;
  background: linear-gradient(135deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  position: relative;
  transition: border-color .2s, transform .2s;
}
.offer:hover { border-color: rgba(217, 178, 106, 0.5); transform: translateY(-2px); }

.offer__logo { grid-area: logo; align-self: start; width: 100%; max-width: 128px; }
.offer__logo img {
  width: 100%; height: auto; aspect-ratio: 1; border-radius: 22%;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}
.offer__rank {
  position: absolute; top: 0; left: 0; z-index: 1;
  padding: 0.3rem 0.75rem 0.3rem 0.7rem;
  border-radius: 0 0 12px 0; background: var(--gold); color: #1b1408;
  font: 700 0.8rem/1 var(--body); letter-spacing: 0.04em;
}
.offer__rank::before { content: "#"; opacity: 0.65; }

.offer__name { grid-area: name; align-self: center; margin: 0; font-size: 1.6rem; color: var(--text); min-width: 0; overflow-wrap: anywhere; }
.offer__score {
  grid-area: score; align-self: center; justify-self: center;
  margin: 0; white-space: nowrap; font: 600 1rem/1 var(--head); color: var(--muted);
}
.offer__score span { font-size: 2.3rem; color: var(--gold-3); }

.offer__text { grid-area: text; margin: 0; color: var(--muted); }

.offer__highlights { grid-area: tags; display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0.25rem 0 0; padding: 0; list-style: none; align-self: start; }
.offer__highlights li {
  padding: 0.2rem 0.7rem; font-size: 0.8rem; font-weight: 600; line-height: 1.5; color: var(--gold-3);
  background: rgba(217, 178, 106, 0.1); border: 1px solid var(--line); border-radius: 999px;
}

.offer__cta { grid-area: cta; display: flex; flex-direction: column; align-items: stretch; justify-content: center; gap: 0.4rem; text-align: center; }
.offer__btn { width: 100%; }
.offer__note { margin: 0; font-size: 0.75rem; color: var(--muted); opacity: 0.8; }

.offer__facts {
  grid-area: facts;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0.9rem -1.6rem 0; padding: 0.85rem 1.6rem;
  background: rgba(0, 0, 0, 0.18); border-top: 1px solid var(--line-soft);
  font-size: 0.84rem;
}
.offer__facts div { min-width: 0; }
.offer__facts dt { color: var(--sage); font-weight: 600; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; }
.offer__facts dd { margin: 0; color: var(--text); overflow-wrap: anywhere; }

.offers__note { max-width: 860px; margin: 1.6rem auto 0; text-align: center; font-size: 0.88rem; color: var(--muted); }

/* Tablet: score beside the name, CTA moves to a full-width row. */
@media (max-width: 960px) {
  .offer {
    grid-template-columns: 96px minmax(0, 1fr) auto;
    grid-template-areas:
      "logo  name  score"
      "logo  text  text"
      "tags  tags  tags"
      "facts facts facts"
      "cta   cta   cta";
    column-gap: 1.1rem;
    padding: 1.9rem 1.3rem 1.2rem;
  }
  .offer__logo { max-width: 96px; }
  .offer__score span { font-size: 2rem; }
  .offer__highlights { margin-top: 0.4rem; }
  .offer__facts { margin: 0.5rem -1.3rem 0.4rem; padding: 0.8rem 1.3rem; }
  .offer__cta { flex-direction: row; align-items: center; justify-content: space-between; gap: 1rem; }
  .offer__btn { width: auto; flex: 0 1 280px; order: 2; }
  .offer__note { order: 1; text-align: left; }
}

/* Phone: compact header (logo · name · score), everything else stacks full width. */
@media (max-width: 600px) {
  .offer {
    grid-template-columns: 60px minmax(0, 1fr) auto;
    grid-template-areas:
      "logo  name  score"
      "text  text  text"
      "tags  tags  tags"
      "facts facts facts"
      "cta   cta   cta";
    column-gap: 0.85rem;
    row-gap: 0.7rem;
    padding: 1.75rem 1rem 1rem;
  }
  .offer:hover { transform: none; }
  .offer__logo { max-width: 60px; align-self: center; }
  .offer__rank { font-size: 0.72rem; padding: 0.25rem 0.6rem; }
  .offer__name { font-size: 1.25rem; line-height: 1.15; }
  .offer__score { font-size: 0.85rem; }
  .offer__score span { font-size: 1.65rem; }
  .offer__text { font-size: 0.97rem; }
  .offer__highlights { margin-top: 0; }
  .offer__highlights li { font-size: 0.75rem; }
  .offer__facts {
    grid-template-columns: 1fr; gap: 0.35rem;
    margin: 0 -1rem; padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--line-soft);
  }
  .offer__facts div { display: flex; justify-content: space-between; gap: 1rem; }
  .offer__facts dt { flex-shrink: 0; }
  .offer__facts dd { text-align: right; }
  .offer__cta { flex-direction: column; align-items: stretch; gap: 0.35rem; }
  .offer__btn { flex: none; width: 100%; order: 0; }
  .offer__note { order: 0; text-align: center; }
}

/* Pillars */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.pillars--wide { grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
.pillar {
  padding: 1.6rem; border: 1px solid var(--line-soft); border-radius: var(--radius);
  background: rgba(19, 36, 30, 0.7);
}
.pillar p:last-child { margin-bottom: 0; color: var(--muted); }
.pillar__num { margin: 0 0 0.5rem; font: 700 0.85rem/1 var(--body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold) !important; }
.pillar__title { font-size: 1.3rem; }

/* Split */
.split { display: grid; grid-template-columns: 1.6fr 1fr; gap: 2rem; align-items: start; }
.split .section__title { text-align: left; }
.split__main p { color: var(--muted); }
.split__aside {
  padding: 1.6rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel);
}
.checklist { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.7rem; }
.checklist li { position: relative; padding-left: 1.7rem; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 0.55em; width: 0.7rem; height: 0.7rem;
  border: 2px solid var(--gold); border-radius: 50%;
}

/* FAQ */
.faq { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1rem; }
.faq__item { padding: 1.5rem; border: 1px solid var(--line-soft); border-radius: var(--radius); background: rgba(19, 36, 30, 0.6); }
.faq__q { font-size: 1.2rem; color: var(--gold-3); }
.faq__item p { margin: 0; color: var(--muted); }

/* Legal */
.legal h2 { font-size: 1.35rem; margin-top: 2rem; color: var(--gold-3); }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { color: var(--muted); }
.legal ul { padding-left: 1.2rem; }
.legal li { margin-bottom: 0.6rem; }
.legal strong { color: var(--text); }
.legal code { font-size: 0.9em; color: var(--gold-3); }

/* Contact form */
.contact-form { display: grid; gap: 1rem; }
.field { display: grid; gap: 0.35rem; }
.field label { font-weight: 600; font-size: 0.92rem; }
.field input, .field textarea {
  width: 100%; padding: 0.8rem 1rem;
  font: inherit; color: var(--text);
  background: var(--ink); border: 1px solid var(--line); border-radius: 10px;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(217, 178, 106, 0.2); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field__error { margin: 0; font-size: 0.85rem; color: var(--danger); }
.field--hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-form .btn { justify-self: start; }
.form-success { padding: 1rem 1.2rem; border-radius: 10px; background: var(--success-bg); color: var(--success); border: 1px solid rgba(191, 232, 207, 0.3); }

/* Footer */
.site-footer { padding: 3rem 0 2rem; border-top: 1px solid var(--line); background: #08110e; }
.footer-badges {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1.2rem 1.8rem;
  padding-bottom: 2rem; border-bottom: 1px solid var(--line-soft);
}
.footer-badge img { height: 40px; width: auto; opacity: 0.85; transition: opacity .2s; }
.footer-badge:hover img { opacity: 1; }
.footer-badge--invert img { filter: brightness(0) invert(1); }
.footer-copy { max-width: 940px; margin: 2rem auto 0; font-size: 0.88rem; color: var(--muted); text-align: center; }
.footer-copy__age { color: var(--text); letter-spacing: 0.08em; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem 1.6rem; margin: 1.5rem 0 1rem; font-size: 0.9rem; }
.footer-legal a { color: var(--text); text-decoration: none; }
.footer-legal a:hover { color: var(--gold); }
.footer-rights { margin: 0; text-align: center; font-size: 0.82rem; color: var(--muted); }

/* Overlays */
.age-gate, .verify-modal {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center; padding: 1rem;
  background: rgba(5, 10, 8, 0.86); backdrop-filter: blur(6px);
}
.verify-modal { z-index: 90; }
.age-gate__box, .verify-modal__box {
  position: relative; width: min(480px, 100%);
  padding: 2rem 1.6rem; text-align: center;
  background: linear-gradient(160deg, var(--panel-2), var(--ink-2));
  border: 1px solid var(--line); border-radius: 20px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}
.age-gate__title, .verify-modal__title { margin: 0 0 0.6rem; font: 600 1.7rem/1.2 var(--head); color: var(--gold-3); }
.age-gate__text, .verify-modal__text { color: var(--muted); }
.age-gate__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; }
.age-gate__denied { margin: 1rem 0 0; color: var(--danger); }
.verify-modal__widget { display: flex; justify-content: center; min-height: 70px; margin: 0.5rem 0 1rem; }
.verify-modal__error { color: var(--danger); font-size: 0.9rem; }
.verify-modal__go { width: 100%; }
.verify-modal__close {
  position: absolute; top: 0.6rem; right: 0.6rem; width: 40px; height: 40px;
  border: 0; border-radius: 50%; background: transparent; color: var(--muted);
  font-size: 1.6rem; line-height: 1; cursor: pointer;
}
.verify-modal__close:hover { color: var(--gold-3); background: rgba(255, 255, 255, 0.05); }

.cookie-banner {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 80;
  margin-inline: auto; max-width: 900px;
  background: var(--panel-2); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}
.cookie-banner__inner { display: flex; align-items: center; gap: 1rem 1.4rem; padding: 1rem 1.2rem; }
.cookie-banner p { margin: 0; font-size: 0.9rem; color: var(--muted); }
.cookie-banner__actions { display: flex; gap: 0.6rem; flex-shrink: 0; }

/* Responsive */
@media (max-width: 980px) {
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .site-nav { display: none; width: 100%; }
  .site-nav.is-open { display: block; }
  .site-nav__list { flex-direction: column; gap: 0; padding: 0.5rem 0; }
  .site-nav__link { display: block; padding: 0.8rem 0; border-bottom: 1px solid var(--line-soft); }


  .pillars, .pillars--wide { grid-template-columns: 1fr; }
  .cookie-banner__inner { flex-direction: column; align-items: stretch; }
  .cookie-banner__actions .btn { flex: 1; }
  .footer-badge img { height: 32px; }
}
