/* Stratosphere ATC — site.css (part 1: tokens, base, nav, hero) */
:root {
  --bg: #060716;
  --bg-2: #0a0d1f;
  --surface: #0d152a;
  --surface-2: #121c38;
  --line: #1c2a4a;
  --blue: #41809d;
  --blue-bright: #5fa3c0;
  --blue-deep: #072755;
  --red: #c03a2b;
  --text: #e0e0e0;
  --muted: #9d9d9d;
  --serif: "Georgia", "Times New Roman", serif;
  --mono: "SFMono-Regular", ui-monospace, "Menlo", "Consolas", monospace;
  --sans: -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue-bright); text-decoration: none; }
a:hover { color: #8fc4dd; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
.narrow { max-width: 860px; }

/* ---------- type ---------- */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.15; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.25rem; }
.kicker {
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #7db9d4;
  display: block;
  margin-bottom: 14px;
}
.kicker.red { color: var(--red); }
h2 .thin, h1 .thin { font-weight: 300; color: var(--muted); }
.section { padding: 84px 0; }
.section.tint { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 760px; margin-bottom: 42px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.lead { font-size: 1.13rem; color: #c7c7c7; }
p + p { margin-top: 14px; }
.muted { color: var(--muted); }
.small { font-size: 0.86rem; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  padding: 13px 30px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  border: 1px solid transparent;
  transition: all 0.18s ease;
  cursor: pointer;
}
.btn-primary {
  background: linear-gradient(135deg, var(--blue-deep), var(--blue));
  color: #fff;
  box-shadow: 0 6px 24px rgba(65, 128, 157, 0.35);
}
.btn-primary:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 10px 32px rgba(65, 128, 157, 0.5); }
.btn-ghost { border-color: var(--line); color: var(--text); background: rgba(13, 21, 42, 0.4); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue-bright); }

/* ---------- header ---------- */
header.site {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(6, 7, 22, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  gap: 24px;
}
.nav .logo img { height: 42px; width: auto; }
.nav ul { display: flex; gap: 30px; list-style: none; align-items: center; }
.nav ul a {
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.nav ul a:hover, .nav ul a.active { color: #fff; border-bottom-color: var(--blue); }
.nav a.btn.active { background: linear-gradient(135deg, var(--blue), var(--blue-bright)); }
.nav .btn { padding: 10px 22px; }
.nav-toggle { display: none; background: none; border: 0; color: var(--text); font-size: 1.5rem; cursor: pointer; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #000;
}
.hero video, .hero .hero-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}
.hero .scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6,7,22,0.82) 0%, rgba(6,7,22,0.25) 40%, rgba(6,7,22,0.92) 100%),
    radial-gradient(ellipse 60% 50% at 50% 40%, rgba(7, 39, 85, 0.35), transparent 70%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  padding: 120px 0 140px;
  max-width: 780px;
}
.hero h1 { text-shadow: 0 2px 30px rgba(0,0,0,0.6); }
.hero .lead { margin: 22px 0 34px; max-width: 640px; color: #d8d8d8; }
.hero .cta-row { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats {
  position: absolute;
  z-index: 2;
  bottom: 0;
  left: 0;
  right: 0;
  border-top: 1px solid rgba(65, 128, 157, 0.25);
  background: rgba(6, 7, 22, 0.72);
  backdrop-filter: blur(10px);
}
.hero-stats .row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 1180px;
  margin: 0 auto;
}
.hero-stats .stat {
  padding: 22px 26px;
  border-left: 1px solid rgba(65, 128, 157, 0.18);
}
.hero-stats .stat:first-child { border-left: 0; }
.hero-stats .num {
  font-family: var(--mono);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--blue-bright);
}
.hero-stats .lbl { font-size: 0.8rem; color: var(--muted); letter-spacing: 0.05em; text-transform: uppercase; }
/* part 2: cards, grids, science tables, compare, timeline, people, forms, footer */

/* ---------- cards & grids ---------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 28px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.card:hover { border-color: rgba(65, 128, 157, 0.55); }
.card h3 { margin-bottom: 10px; color: #fff; }
.card .num-badge {
  font-family: var(--mono);
  color: var(--blue-bright);
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  display: block;
  margin-bottom: 12px;
}
.icon-tile {
  width: 46px; height: 46px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--blue-deep), rgba(65,128,157,0.25));
  border: 1px solid rgba(65,128,157,0.4);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  font-size: 1.3rem;
}
.card ul { margin: 12px 0 0 18px; color: #c7c7c7; }
.card ul li { margin: 6px 0; }

/* benefit pillar cards with icon + list */
.pillar .icon-tile { margin-bottom: 14px; }
.pillar h3 { font-size: 1.1rem; letter-spacing: 0.06em; text-transform: uppercase; }

/* ---------- image blocks ---------- */
.img-frame {
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: #000;
}
.img-frame img { width: 100%; }
.figure { margin: 26px 0; }
.figure .cap {
  padding: 12px 16px;
  font-size: 0.82rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: var(--surface);
}
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split.reverse .col-media { order: 2; }

/* ---------- mode compare (3-up) ---------- */
.mode-compare { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.mode-card { position: relative; padding: 30px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); }
.mode-card.winner {
  border-color: var(--blue);
  background: linear-gradient(180deg, rgba(7,39,85,0.5), var(--surface) 55%);
  box-shadow: 0 0 40px rgba(65,128,157,0.15);
}
.mode-card .mode-tag {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.mode-card.winner .mode-tag { color: var(--blue-bright); }
.mode-card h3 { margin: 8px 0 4px; font-size: 1.3rem; }
.mode-card .alt { color: var(--muted); font-size: 0.9rem; margin-bottom: 14px; }
.mode-card ul { margin-left: 18px; color: #c7c7c7; font-size: 0.95rem; }
.mode-card ul li { margin: 7px 0; }
.mode-card ul li.no { color: #777; }
.mode-card .winner-badge {
  position: absolute; top: -13px; right: 18px;
  background: var(--blue); color: #fff;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.14em; padding: 5px 12px; border-radius: 3px;
  text-transform: uppercase;
}

/* ---------- science table ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; }
table.science { width: 100%; border-collapse: collapse; font-size: 0.92rem; background: var(--surface); }
table.science th {
  text-align: left; padding: 14px 16px;
  background: var(--surface-2);
  color: #fff; font-size: 0.8rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
table.science td { padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: top; color: #cfcfcf; }
table.science tr:last-child td { border-bottom: 0; }
table.science td .ref { color: var(--blue-bright); font-size: 0.82rem; }
table.science tr:hover td { background: rgba(65,128,157,0.05); }

/* ---------- timeline ---------- */
.timeline { position: relative; margin-left: 8px; padding-left: 34px; border-left: 2px solid var(--line); }
.timeline .t-item { position: relative; padding: 0 0 34px 0; }
.timeline .t-item:last-child { padding-bottom: 0; }
.timeline .t-item::before {
  content: ""; position: absolute; left: -41px; top: 6px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--blue); box-shadow: 0 0 12px rgba(65,128,157,0.8);
}
.timeline .t-year {
  font-family: var(--mono); color: var(--blue-bright);
  font-size: 0.85rem; letter-spacing: 0.16em;
}
.timeline h3 { margin: 6px 0 8px; font-size: 1.05rem; }
.timeline p { color: #b9b9b9; font-size: 0.95rem; }

/* ---------- people ---------- */
.person { display: grid; grid-template-columns: 220px 1fr; gap: 30px; align-items: start; }
.person .img-frame img { aspect-ratio: 1; object-fit: cover; }
.person .role {
  font-family: var(--mono); font-size: 0.75rem;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--blue-bright); margin-bottom: 12px; display: block;
}
.person h3 { margin-bottom: 10px; }
.person .bio { color: #c7c7c7; }
.person .bio p + p { margin-top: 12px; }

/* ---------- stats band ---------- */
.stats-band { background: linear-gradient(180deg, var(--blue-deep), #051228); border-top: 1px solid rgba(65,128,157,0.3); border-bottom: 1px solid rgba(65,128,157,0.3); }
.stats-band .row { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats-band .stat { padding: 40px 26px; text-align: center; border-left: 1px solid rgba(65,128,157,0.2); }
.stats-band .stat:first-child { border-left: 0; }
.stats-band .num { font-family: var(--mono); font-size: 2.3rem; font-weight: 700; color: #fff; }
.stats-band .num em { font-style: normal; color: var(--blue-bright); }
.stats-band .lbl { color: #a9c3d4; font-size: 0.85rem; margin-top: 6px; letter-spacing: 0.04em; }

/* ---------- alt strip ---------- */
.alt-strip { display: flex; gap: 12px; flex-wrap: wrap; }
.alt-chip {
  font-family: var(--mono); font-size: 0.78rem;
  padding: 7px 14px; border-radius: 20px;
  border: 1px solid var(--line); color: var(--muted);
  background: var(--surface);
}

/* ---------- forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
label { display: block; font-size: 0.85rem; color: var(--muted); margin-bottom: 7px; letter-spacing: 0.04em; }
input[type=text], input[type=email], select, textarea {
  width: 100%; padding: 13px 15px;
  background: var(--bg-2); color: var(--text);
  border: 1px solid var(--line); border-radius: 6px;
  font-family: inherit; font-size: 0.95rem;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(65,128,157,0.18); }
textarea { min-height: 140px; resize: vertical; }
.form-status { margin-top: 14px; font-size: 0.9rem; }
.form-status.ok { color: #6fcf97; }
.form-status.err { color: var(--red); }

/* ---------- faq ---------- */
details.faq { border: 1px solid var(--line); border-radius: 8px; background: var(--surface); margin-bottom: 12px; }
details.faq summary {
  cursor: pointer; padding: 18px 22px;
  font-weight: 600; color: #fff;
  list-style: none; position: relative;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after {
  content: "+"; position: absolute; right: 22px; top: 50%;
  transform: translateY(-50%); color: var(--blue-bright); font-size: 1.3rem;
}
details.faq[open] summary::after { content: "–"; }
details.faq .body { padding: 0 22px 20px; color: #c7c7c7; }

/* ---------- spec dl ---------- */
dl.spec { display: grid; grid-template-columns: max-content 1fr; gap: 10px 26px; }
dl.spec dt { color: var(--muted); font-size: 0.88rem; letter-spacing: 0.03em; }
dl.spec dd { color: #d5d5d5; font-size: 0.95rem; }

/* ---------- cta band ---------- */
.cta-band {
  background:
    radial-gradient(ellipse 70% 90% at 50% 120%, rgba(7,39,85,0.85), transparent 70%),
    var(--bg-2);
  border-top: 1px solid var(--line);
  text-align: center;
}

/* ---------- footer ---------- */
footer.site { background: #04050f; border-top: 1px solid var(--line); padding: 56px 0 40px; font-size: 0.9rem; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.foot-grid > div { min-width: 0; }
footer.site h4 { font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
footer.site ul { list-style: none; }
footer.site ul li { margin: 9px 0; }
footer.site a { color: var(--muted); overflow-wrap: anywhere; }
footer.site a:hover { color: var(--blue-bright); }
.foot-bottom {
  margin-top: 44px; padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  color: #6f6f6f; font-size: 0.82rem;
}
.disclaimer {
  margin-top: 30px; padding: 18px 20px;
  border: 1px solid var(--line); border-radius: 8px;
  background: rgba(13, 21, 42, 0.5);
  color: #8a8a8a; font-size: 0.8rem; line-height: 1.6;
}

/* ---------- legal pages ---------- */
.legal h3 { margin-top: 30px; color: #fff; font-size: 1.05rem; }
.legal h3:first-child { margin-top: 0; }
.legal p { color: #c7c7c7; font-size: 0.97rem; }

/* ---------- page hero (interior pages) ---------- */
.page-hero {
  padding: 92px 0 60px;
  background:
    radial-gradient(ellipse 55% 80% at 50% -10%, rgba(7,39,85,0.55), transparent 70%),
    var(--bg-2);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { margin-bottom: 18px; }
.page-hero .lead { max-width: 720px; }

/* ---------- breadcrumbs ---------- */
.crumbs { font-size: 0.82rem; color: var(--muted); margin-bottom: 26px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--blue-bright); }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .grid-3, .grid-4, .mode-compare { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 30px; }
  .split.reverse .col-media { order: 0; }
  .hero-stats .row { grid-template-columns: 1fr 1fr; }
  .stats-band .row { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .person { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .section { padding: 60px 0; }
  .grid-2, .grid-3, .grid-4, .mode-compare, .form-grid { grid-template-columns: 1fr; }
  .nav ul {
    display: none; position: absolute; top: 74px; left: 0; right: 0;
    background: var(--bg-2); border-bottom: 1px solid var(--line);
    flex-direction: column; padding: 18px 28px; gap: 14px;
  }
  .nav ul.open { display: flex; }
  .nav-toggle { display: block; }
  .hero-stats .row { grid-template-columns: 1fr; }
  .stats-band .stat { border-left: 0; border-top: 1px solid rgba(65,128,157,0.2); }
}

/* ---------- part 3: evidence library (2026-09-10) ---------- */
.verdict { border:1px solid var(--line); border-radius:10px; padding:20px 22px; margin-bottom:26px; background:var(--surface); }
.verdict .v-head { display:flex; align-items:center; gap:12px; flex-wrap:wrap; margin-bottom:10px; }
.verdict .v-badge { font-family:var(--mono); font-size:0.72rem; letter-spacing:0.14em; text-transform:uppercase; padding:5px 12px; border-radius:999px; border:1px solid; white-space:nowrap; }
.verdict .v-sub { color:var(--muted); font-size:0.85rem; }
.verdict p { color:#c7c7c7; font-size:0.98rem; margin:0; }
.v-ok .v-badge { color:#7dd87d; border-color:rgba(125,216,125,0.45); }
.v-dose .v-badge { color:#e6c86e; border-color:rgba(230,200,110,0.45); }
.v-no .v-badge { color:#ff8f7d; border-color:rgba(255,143,125,0.45); }
.v-split .v-badge { color:#c9a7ff; border-color:rgba(201,167,255,0.45); }
.v-animal .v-badge { color:#8fc4dd; border-color:rgba(143,196,221,0.45); }
.v-early .v-badge { color:#7dd8d3; border-color:rgba(125,216,211,0.4); }
.v-context .v-badge { color:#d8c07d; border-color:rgba(216,192,125,0.45); }
.dom-nav { display:flex; flex-wrap:wrap; gap:10px; }
.dom-nav .chip { border:1px solid var(--line); border-radius:999px; padding:7px 14px; font-size:0.85rem; color:#c7c7c7; background:var(--surface); transition:border-color .15s, color .15s; }
.dom-nav .chip:hover { border-color:var(--blue-bright); color:#fff; }
.dom-nav .chip-n { font-family:var(--mono); font-size:0.75rem; color:var(--blue-bright); margin-left:6px; }
.ev-table table.science td { font-size:0.88rem; }
.ev-year { font-family:var(--mono); color:var(--blue-bright); white-space:nowrap; }
.ev-auth { color:#fff; font-weight:600; }
.ev-title { color:#a8a8a8; font-size:0.8rem; display:block; margin-top:2px; font-style:italic; }
.ev-design { font-family:var(--mono); font-size:0.7rem; letter-spacing:0.08em; text-transform:uppercase; padding:3px 9px; border-radius:6px; border:1px solid var(--line); white-space:nowrap; }
.d-RCT { color:#7dd87d; border-color:rgba(125,216,125,0.4); }
.d-meta-analysis { color:#7dd8d3; border-color:rgba(125,216,211,0.4); }
.d-review { color:#8fc4dd; border-color:rgba(143,196,221,0.4); }
.d-observational { color:#e6c86e; border-color:rgba(202,174,90,0.4); }
.d-animal { color:#c9a7ff; border-color:rgba(201,167,255,0.4); }
.d-other { color:#9d9d9d; }
.ev-cites { display:inline-block; margin-left:8px; font-family:var(--mono); font-size:0.68rem; color:var(--muted); border:1px solid var(--line); border-radius:5px; padding:1px 6px; vertical-align:middle; }
.ev-doi a { font-family:var(--mono); font-size:0.74rem; word-break:break-all; }
@media (max-width:720px) {
  .stats-band .row[style*="repeat(6,1fr)"] { grid-template-columns:repeat(2,1fr) !important; }
  .verdict .v-head { flex-direction:column; align-items:flex-start; gap:6px; }
}
