:root {
  --ink: #101827;
  --ink-2: #18243a;
  --paper: #f4f0e7;
  --paper-2: #eae4d8;
  --white: #fffdf8;
  --lime: #c8f04b;
  --lime-dark: #759300;
  --coral: #ed705d;
  --blue: #86a9ff;
  --muted: #667083;
  --line: rgba(16, 24, 39, .15);
  --line-dark: rgba(255, 255, 255, .14);
  --shadow: 0 24px 70px rgba(16, 24, 39, .14);
  --radius: 28px;
  --content: 1220px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 94px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input { font: inherit; }
button { cursor: pointer; }
::selection { color: var(--ink); background: var(--lime); }

.skip-link {
  position: fixed;
  z-index: 200;
  left: 16px;
  top: -80px;
  padding: 12px 18px;
  color: var(--ink);
  background: var(--lime);
  border-radius: 0 0 12px 12px;
  font-weight: 800;
  transition: top .2s ease;
}
.skip-link:focus { top: 0; }

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  color: #fff;
  background: rgba(16, 24, 39, .92);
  border-bottom: 1px solid var(--line-dark);
  backdrop-filter: blur(18px);
}
.nav-wrap {
  width: min(calc(100% - 40px), var(--content));
  min-height: 76px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  font-weight: 850;
  letter-spacing: -.02em;
  white-space: nowrap;
}
.brand-mark {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: inline-block;
  background: #101827 url('../images/altivexa-logo-mark.webp') center / cover no-repeat;
  border-radius: 9px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.1), 0 6px 16px rgba(0,0,0,.15);
}
.brand-mark::before,
.brand-mark::after {
  content: none;
}
.brand small {
  color: #aeb7c7;
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.brand-copy { display: grid; line-height: 1.1; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  color: #cdd4df;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  transition: color .2s ease;
}
.nav-links a:hover, .nav-links a:focus-visible { color: var(--lime); }
.nav-links .nav-pill {
  padding: 10px 15px;
  color: var(--ink);
  background: var(--lime);
  border-radius: 999px;
}
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  color: #fff;
  background: transparent;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
}
.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  transition: transform .2s, opacity .2s;
}

.hero {
  min-height: calc(100vh - 76px);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  align-items: center;
  color: #fff;
  background: var(--ink);
}
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, rgba(16,24,39,.98) 0%, rgba(16,24,39,.85) 34%, rgba(16,24,39,.18) 73%, rgba(16,24,39,.28) 100%);
}
.hero-bg {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% center;
}
.hero-inner {
  width: min(calc(100% - 40px), var(--content));
  margin: auto;
  padding: 90px 0 110px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.2;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; }
.hero .eyebrow { color: var(--lime); }
h1, h2, h3 { margin: 0; line-height: 1.05; letter-spacing: -.045em; }
h1 { max-width: 820px; font-size: clamp(58px, 7.5vw, 112px); font-weight: 820; }
h1 em { color: var(--lime); font-family: Georgia, serif; font-weight: 400; }
.hero-lead {
  max-width: 640px;
  margin: 30px 0 34px;
  color: #d2d9e3;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.5;
}
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 850;
  transition: transform .2s, background .2s, color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: var(--ink); background: var(--lime); }
.btn-ghost { color: #fff; border-color: rgba(255,255,255,.28); background: rgba(255,255,255,.06); }
.hero-meta {
  position: absolute;
  right: max(20px, calc((100vw - var(--content)) / 2));
  bottom: 32px;
  display: flex;
  gap: 24px;
  color: #c3cbd7;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.hero-meta span { display: flex; align-items: center; gap: 8px; }
.hero-meta i { width: 7px; height: 7px; background: var(--lime); border-radius: 50%; }

.age-gate {
  position: fixed;
  z-index: 500;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(9, 14, 24, .86);
  backdrop-filter: blur(14px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s, visibility .25s;
}
.age-gate.is-visible { opacity: 1; visibility: visible; }
.age-card {
  width: min(100%, 520px);
  padding: 38px;
  color: #fff;
  background: var(--ink-2);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius);
  box-shadow: 0 40px 120px rgba(0,0,0,.42);
}
.age-badge {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: var(--lime);
  border-radius: 50%;
  font-size: 22px;
  font-weight: 900;
}
.age-card h2 { margin: 28px 0 14px; font-size: 37px; }
.age-card p { color: #c9d1dd; }
.age-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 26px; }
.age-actions .btn { width: 100%; }
.age-note { margin: 18px 0 0; font-size: 12px; }

.content { overflow: clip; }
.container { width: min(calc(100% - 40px), var(--content)); margin-inline: auto; }
.section { padding: 110px 0; }
.section-soft { background: var(--paper-2); }
.section-dark { color: #fff; background: var(--ink); }
.section-head { display: grid; grid-template-columns: .7fr 1.3fr; gap: 60px; align-items: end; margin-bottom: 54px; }
.section-head h2 { font-size: clamp(42px, 5.2vw, 76px); }
.section-head p { max-width: 600px; margin: 0; color: var(--muted); font-size: 19px; }
.section-dark .section-head p { color: #b8c1ce; }
.section-dark .eyebrow { color: var(--lime); }

.manifesto {
  padding: 70px 0;
  background: var(--lime);
}
.manifesto-grid { display: grid; grid-template-columns: .65fr 1.35fr; gap: 80px; align-items: start; }
.manifesto-label { font-size: 13px; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.manifesto blockquote { margin: 0; font-family: Georgia, serif; font-size: clamp(30px, 4.4vw, 62px); line-height: 1.12; letter-spacing: -.035em; }

.topic-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.topic-card {
  min-height: 300px;
  position: relative;
  overflow: hidden;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  text-decoration: none;
  transition: transform .25s, box-shadow .25s;
}
.topic-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.topic-number { color: var(--coral); font-size: 12px; font-weight: 900; letter-spacing: .12em; }
.topic-card h3 { max-width: 270px; font-size: 30px; }
.topic-card p { margin: 14px 0 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.topic-arrow {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  align-self: flex-end;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 21px;
}
.topic-card:nth-child(3n+2) { background: #e2e9ff; }
.topic-card:nth-child(5n) { background: #fedcd5; }
.topic-card.feature { grid-column: span 2; color: #fff; background: var(--ink-2); }
.topic-card.feature p { color: #bcc5d2; }
.topic-card.feature .topic-arrow { border-color: var(--line-dark); }

.article-block { display: grid; grid-template-columns: 300px 1fr; gap: 70px; padding: 64px 0; border-top: 1px solid var(--line); }
.article-block:first-child { border-top: 0; padding-top: 0; }
.article-kicker { color: var(--coral); font-size: 12px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.article-block h2 { margin-top: 12px; font-size: clamp(34px, 4vw, 54px); }
.article-content { max-width: 780px; }
.article-content > p:first-child { margin-top: 0; font-size: 21px; line-height: 1.6; }
.article-content h3 { margin: 34px 0 12px; font-size: 26px; letter-spacing: -.025em; }
.article-content p { color: #435064; }
.article-content ul { padding-left: 20px; color: #435064; }
.article-content li + li { margin-top: 8px; }
.note {
  margin: 30px 0;
  padding: 24px 26px;
  background: var(--white);
  border-left: 4px solid var(--lime-dark);
  border-radius: 0 16px 16px 0;
}
.note strong { display: block; margin-bottom: 6px; color: var(--ink); }
.note p { margin: 0; }
.formula {
  margin: 30px 0;
  padding: 26px;
  color: #fff;
  background: var(--ink);
  border-radius: 18px;
}
.formula code { color: var(--lime); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: clamp(17px, 2vw, 22px); }
.formula small { display: block; margin-top: 10px; color: #aeb8c6; }
.example-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 28px 0; }
.example-card { padding: 22px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; }
.example-card strong { display: block; margin-bottom: 5px; font-size: 25px; }
.example-card span { color: var(--muted); font-size: 13px; }

.split-visual { display: grid; grid-template-columns: 1.05fr .95fr; min-height: 650px; }
.split-visual figure { margin: 0; min-height: 560px; }
.split-visual img { width: 100%; height: 100%; object-fit: cover; }
.split-copy { padding: clamp(50px, 7vw, 110px); align-self: center; }
.split-copy h2 { max-width: 650px; font-size: clamp(42px, 5.2vw, 76px); }
.split-copy p { color: #b9c3d0; }
.bias-list { display: grid; gap: 10px; margin-top: 30px; }
.bias-item { padding: 17px 18px; border: 1px solid var(--line-dark); border-radius: 14px; }
.bias-item strong { display: block; color: var(--lime); }
.bias-item span { color: #c5ced9; font-size: 14px; }

.calculator-wrap { display: grid; grid-template-columns: .85fr 1.15fr; gap: 28px; align-items: stretch; }
.calc-panel, .calc-result { padding: 34px; border-radius: 22px; }
.calc-panel { background: var(--white); border: 1px solid var(--line); }
.calc-panel label { display: block; margin: 20px 0 7px; font-size: 13px; font-weight: 800; }
.calc-panel input {
  width: 100%;
  padding: 14px 16px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  outline: none;
}
.calc-panel input:focus { border-color: var(--lime-dark); box-shadow: 0 0 0 3px rgba(200,240,75,.35); }
.calc-result { display: flex; flex-direction: column; justify-content: center; color: #fff; background: var(--ink); }
.result-label { color: #aeb8c6; font-size: 12px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.result-value { display: block; margin: 8px 0 18px; color: var(--lime); font-size: clamp(54px, 7vw, 90px); line-height: 1; letter-spacing: -.06em; }
.result-copy { margin: 0; color: #c4ccd7; }

.myth-list { display: grid; gap: 12px; }
.myth {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 20px;
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
}
.myth-tag { font-size: 11px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.myth-tag span { display: block; }
.myth-tag .false { color: var(--coral); }
.myth-tag .true { color: var(--lime-dark); }
.myth h3 { margin-bottom: 8px; font-size: 22px; }
.myth p { margin: 0; color: var(--muted); }

.glossary-tools { display: flex; gap: 12px; margin-bottom: 28px; }
.search-box { flex: 1; position: relative; }
.search-box input {
  width: 100%;
  padding: 16px 18px 16px 48px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  outline: none;
}
.search-box::before { content: "⌕"; position: absolute; top: 10px; left: 18px; color: var(--muted); font-size: 25px; }
.glossary-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.term { padding: 24px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; }
.term dt { margin-bottom: 7px; font-weight: 850; font-size: 18px; }
.term dd { margin: 0; color: var(--muted); font-size: 14px; }
.term[hidden] { display: none; }
.no-results { display: none; padding: 30px; text-align: center; color: var(--muted); }
.no-results.visible { display: block; }

.faq { max-width: 900px; margin: auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-question {
  width: 100%;
  padding: 26px 4px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--ink);
  background: transparent;
  border: 0;
  text-align: left;
  font-size: 20px;
  font-weight: 800;
}
.faq-question::after { content: "+"; flex: none; color: var(--coral); font-size: 26px; transition: transform .2s; }
.faq-question[aria-expanded="true"]::after { transform: rotate(45deg); }
.faq-answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .25s ease; }
.faq-answer > div { overflow: hidden; }
.faq-answer p { margin: 0 40px 24px 4px; color: var(--muted); }
.faq-item.is-open .faq-answer { grid-template-rows: 1fr; }

.responsible-banner {
  padding: 80px 0;
  color: #fff;
  background: var(--coral);
}
.responsible-grid { display: grid; grid-template-columns: 1fr .75fr; gap: 80px; align-items: center; }
.responsible-banner h2 { font-size: clamp(42px, 5vw, 72px); }
.responsible-banner p { max-width: 720px; font-size: 19px; }
.support-card { padding: 28px; color: var(--ink); background: var(--white); border-radius: 20px; }
.support-card strong { display: block; margin-bottom: 10px; font-size: 20px; }
.support-card a { font-weight: 850; }

.site-footer { padding: 70px 0 30px; color: #c2cad5; background: #0a101b; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr .8fr; gap: 70px; }
.footer-grid .brand { margin-bottom: 20px; }
.footer-copy { max-width: 430px; color: #909cad; font-size: 14px; }
.footer-title { margin: 0 0 16px; color: #fff; font-size: 13px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.footer-links { display: grid; gap: 9px; }
.footer-links a { color: #aab4c2; text-decoration: none; font-size: 14px; }
.footer-links a:hover { color: var(--lime); }
.footer-bottom { margin-top: 54px; padding-top: 24px; display: flex; justify-content: space-between; gap: 30px; border-top: 1px solid var(--line-dark); color: #7d8999; font-size: 12px; }
.eighteen { color: var(--lime); font-weight: 900; }

.legal-hero { padding: 100px 0 70px; color: #fff; background: var(--ink); }
.legal-hero h1 { max-width: 900px; font-size: clamp(48px, 7vw, 90px); }
.legal-hero p { max-width: 680px; color: #c2cad5; font-size: 19px; }
.legal-content { max-width: 850px; padding: 80px 0 120px; }
.legal-content h2 { margin: 48px 0 14px; font-size: 32px; }
.legal-content h3 { margin: 32px 0 10px; font-size: 22px; }
.legal-content p, .legal-content li { color: #475266; }
.legal-content a { font-weight: 750; }
.policy-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 0;
}
.policy-meta span {
  padding: 8px 12px;
  color: #d2d9e3;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 750;
}
.legal-toc {
  margin: 0 0 56px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
}
.legal-toc h2 { margin: 0 0 16px; font-size: 22px; }
.legal-toc ol { margin: 0; padding-left: 24px; columns: 2; column-gap: 48px; }
.legal-toc li { break-inside: avoid; padding: 4px 0; }
.legal-toc a { color: var(--ink); text-decoration-color: var(--lime-dark); text-underline-offset: 3px; }
.legal-callout {
  margin: 30px 0;
  padding: 26px;
  background: #e2e9ff;
  border-radius: 18px;
}
.legal-callout h3 { margin: 0 0 8px; }
.legal-callout p:last-child { margin-bottom: 0; }
.policy-table-wrap { margin: 26px 0; overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; }
.policy-table { width: 100%; min-width: 650px; border-collapse: collapse; background: var(--white); font-size: 14px; }
.policy-table th, .policy-table td { padding: 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.policy-table th { color: var(--ink); background: var(--paper-2); font-size: 12px; letter-spacing: .05em; text-transform: uppercase; }
.policy-table tr:last-child td { border-bottom: 0; }
.legal-content code { padding: 2px 6px; background: var(--paper-2); border-radius: 6px; font-size: .88em; }
.policy-updated { margin-top: 60px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .65s ease, transform .65s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .menu-toggle { display: block; }
  .nav-links {
    position: fixed;
    inset: 76px 0 auto;
    max-height: calc(100vh - 76px);
    overflow-y: auto;
    display: grid;
    gap: 0;
    padding: 18px 20px 30px;
    background: var(--ink);
    border-bottom: 1px solid var(--line-dark);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform .25s, opacity .25s, visibility .25s;
  }
  .nav-links.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav-links a { padding: 16px 4px; border-bottom: 1px solid var(--line-dark); }
  .nav-links .nav-pill { margin-top: 14px; border: 0; text-align: center; }
  .topic-grid { grid-template-columns: repeat(2, 1fr); }
  .section-head, .manifesto-grid, .responsible-grid { grid-template-columns: 1fr; gap: 28px; }
  .article-block { grid-template-columns: 240px 1fr; gap: 38px; }
  .split-visual { grid-template-columns: 1fr; }
  .split-visual figure { min-height: 430px; order: 2; }
  .calculator-wrap { grid-template-columns: 1fr; }
  .glossary-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav-wrap, .container, .hero-inner { width: min(calc(100% - 28px), var(--content)); }
  .brand small { display: none; }
  .hero { min-height: 780px; }
  .hero::after { background: linear-gradient(180deg, rgba(16,24,39,.98) 0%, rgba(16,24,39,.88) 58%, rgba(16,24,39,.52) 100%); }
  .hero-bg { object-position: 68% center; opacity: .62; }
  .hero-inner { padding: 80px 0 150px; }
  h1 { font-size: clamp(47px, 14vw, 68px); }
  .hero-meta { left: 14px; right: 14px; bottom: 24px; justify-content: center; flex-wrap: wrap; gap: 10px 16px; }
  .section { padding: 78px 0; }
  .section-head { margin-bottom: 36px; }
  .topic-grid, .glossary-grid, .footer-grid { grid-template-columns: 1fr; }
  .topic-card.feature { grid-column: auto; }
  .article-block { grid-template-columns: 1fr; gap: 24px; padding: 48px 0; }
  .article-content > p:first-child { font-size: 18px; }
  .example-grid { grid-template-columns: 1fr; }
  .split-copy { padding: 70px 22px; }
  .split-visual figure { min-height: 340px; }
  .myth { grid-template-columns: 1fr; gap: 8px; }
  .age-card { padding: 28px; }
  .age-actions { grid-template-columns: 1fr; }
  .footer-grid { gap: 38px; }
  .footer-bottom { flex-direction: column; }
  .legal-toc ol { columns: 1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
