/* ============================================================
   The Quiet Web. Black theme.
   Committed single look: dark only, everything painted explicitly.
   ============================================================ */

:root {
  color-scheme: dark;

  --bg:         #08090b;
  --bg-alt:     #0d0f12;
  --surface:    #121519;
  --surface-2:  #171b21;
  --surface-3:  #1d222a;

  --ink:        #f2f4f6;
  --ink-soft:   #9ba5ae;
  --ink-faint:  #6c757e;

  --rule:       #22272e;
  --rule-firm:  #333b44;

  --accent:      #2ee6c5;
  --accent-ink:  #6df2da;
  --accent-dim:  #178f7a;
  --accent-soft: rgba(46, 230, 197, .09);
  --accent-glow: rgba(46, 230, 197, .28);

  --flag:      #ff8f57;
  --flag-soft: rgba(255, 143, 87, .10);
  --flag-rule: rgba(255, 143, 87, .30);

  --ok:        #43dd9b;
  --ok-soft:   rgba(67, 221, 155, .10);

  --maxw: 1120px;
  --readw: 700px;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(0,0,0,.5), 0 12px 40px rgba(0,0,0,.45);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  overflow-x: hidden;
}

/* soft aurora behind the page, cheap and static */
body::before {
  content: "";
  position: fixed;
  inset: -20% -20% auto -20%;
  height: 70vh;
  background:
    radial-gradient(60% 60% at 20% 0%, rgba(46,230,197,.07), transparent 70%),
    radial-gradient(50% 50% at 85% 10%, rgba(255,143,87,.05), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; position: relative; z-index: 1; }
.read { max-width: var(--readw); margin-left: auto; margin-right: auto; }

/* ============ header ============ */
.site-head {
  border-bottom: 1px solid var(--rule);
  background: rgba(8, 9, 11, .82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  position: sticky; top: 0; z-index: 40;
}
.site-head .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; min-height: 62px; flex-wrap: wrap;
}
.brand {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px; font-weight: 600; letter-spacing: -.015em;
  color: var(--ink); text-decoration: none; white-space: nowrap;
}
.brand span { color: var(--accent); }
.nav { display: flex; gap: 20px; font-size: 14.5px; flex-wrap: wrap; }
.nav a { color: var(--ink-soft); text-decoration: none; transition: color .15s ease; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--accent); }

/* ============ hero ============ */
.hero { padding: 62px 0 8px; }

.kicker {
  display: inline-block;
  font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent); background: var(--accent-soft);
  border: 1px solid rgba(46,230,197,.22);
  padding: 5px 12px; border-radius: 999px; margin-bottom: 18px;
}

h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 5.6vw, 50px); line-height: 1.12; letter-spacing: -.024em;
  margin: 0 0 18px; font-weight: 600;
}
h1 em {
  font-style: normal;
  background: linear-gradient(100deg, var(--accent) 10%, var(--accent-ink) 90%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--accent);
}
.standfirst { font-size: 19.5px; line-height: 1.58; color: var(--ink-soft); margin: 0 0 20px; }
.byline {
  font-size: 13.5px; color: var(--ink-faint);
  border-top: 1px solid var(--rule); padding-top: 14px; margin: 26px 0 0;
}

/* ============ hero canvas (3D globe) ============ */
.hero-stage { position: relative; }
#globe {
  display: block; width: 100%; height: 380px;
  margin: 8px 0 0;
  mask-image: radial-gradient(closest-side, #000 60%, transparent 100%);
  -webkit-mask-image: radial-gradient(closest-side, #000 60%, transparent 100%);
}
.globe-cap {
  text-align: center; font-size: 12.5px; color: var(--ink-faint);
  letter-spacing: .04em; margin: -18px 0 0;
}
@media (max-width: 640px) { #globe { height: 260px; } }

/* ============ typography ============ */
main { padding-bottom: 80px; position: relative; z-index: 1; }
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(25px, 3.6vw, 32px); line-height: 1.2; letter-spacing: -.02em;
  margin: 58px 0 14px; font-weight: 600;
}
h3 { font-size: 18.5px; margin: 34px 0 8px; font-weight: 650; letter-spacing: -.01em; }
p { margin: 0 0 18px; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--accent-ink); }
strong { font-weight: 650; color: var(--ink); }
ul, ol { padding-left: 22px; margin: 0 0 18px; }
li { margin-bottom: 9px; }

/* ============ scroll reveal ============ */
.rv { opacity: 0; transform: translateY(22px); }
.rv.in { opacity: 1; transform: none; transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1); }
.rv-d1.in { transition-delay: .07s; }
.rv-d2.in { transition-delay: .14s; }
.rv-d3.in { transition-delay: .21s; }

/* ============ tables ============ */
.grid-sub { font-size: 15px; color: var(--ink-faint); margin: 0 0 22px; }
.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  margin: 0 0 12px;
  -webkit-overflow-scrolling: touch;
}
table { border-collapse: collapse; width: 100%; min-width: 760px; font-size: 15px; }
thead th {
  font-size: 11.5px; text-transform: uppercase; letter-spacing: .07em;
  color: var(--ink-faint); font-weight: 700; background: var(--bg-alt);
  padding: 13px 15px; text-align: left; border-bottom: 1px solid var(--rule-firm);
  white-space: nowrap;
}
tbody td { padding: 13px 15px; border-bottom: 1px solid var(--rule); vertical-align: top; }
tbody tr:last-child td { border-bottom: none; }
tbody tr.is-flagged { background: var(--flag-soft); }
tbody tr.is-subject { background: var(--accent-soft); }
td.brand-cell { font-weight: 640; white-space: nowrap; color: var(--ink); }
.owner-flag { color: var(--flag); font-weight: 640; }
.owner-clear { color: var(--ok); font-weight: 640; }

.pill {
  display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: .04em;
  padding: 3px 9px; border-radius: 999px; white-space: nowrap;
}
.pill-flag { background: var(--flag-soft); color: var(--flag); border: 1px solid var(--flag-rule); }
.pill-ok   { background: var(--ok-soft);   color: var(--ok);   border: 1px solid rgba(67,221,155,.28); }
.table-note { font-size: 13.5px; color: var(--ink-faint); margin: 0 0 8px; }

/* ============ stats ============ */
.stats {
  display: grid; gap: 14px; margin: 30px 0 8px;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}
.stat {
  background: var(--surface); border: 1px solid var(--rule);
  border-radius: var(--radius); padding: 20px;
  position: relative; overflow: hidden;
}
.stat::after {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-glow), transparent);
}
.stat .num {
  font-family: Georgia, serif; font-size: 36px; line-height: 1.02;
  letter-spacing: -.03em; color: var(--accent); display: block; margin-bottom: 6px;
  font-variant-numeric: tabular-nums;
}
.stat .num.flagged { color: var(--flag); }
.stat .lbl { font-size: 13.5px; color: var(--ink-soft); line-height: 1.45; }

/* ============ callouts ============ */
.callout {
  background: var(--accent-soft); border-left: 3px solid var(--accent);
  padding: 18px 20px; border-radius: 0 var(--radius) var(--radius) 0;
  margin: 28px 0; font-size: 15.5px; line-height: 1.6; color: var(--ink-soft);
}
.callout.flag { background: var(--flag-soft); border-left-color: var(--flag); }
.callout p:last-child { margin-bottom: 0; }

/* ============ answer box ============ */
.answer {
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--rule-firm);
  border-radius: var(--radius); padding: 24px; margin: 0 0 8px;
  box-shadow: var(--shadow);
}
.answer h2 {
  margin: 0 0 10px; font-size: 12.5px; font-family: inherit;
  letter-spacing: .1em; text-transform: uppercase; color: var(--accent); font-weight: 700;
}
.answer p { font-size: 17.5px; line-height: 1.62; color: var(--ink-soft); }
.answer p:last-child { margin-bottom: 0; }

/* ============ rank cards ============ */
.ranks { display: grid; gap: 18px; margin: 28px 0 0; }
.rank {
  position: relative;
  background: var(--surface); border: 1px solid var(--rule);
  border-radius: var(--radius); padding: 24px 24px 22px;
  box-shadow: var(--shadow);
  transition: border-color .2s ease, transform .2s ease;
}
.rank:hover { border-color: var(--rule-firm); transform: translateY(-2px); }
.rank.pick { border-color: rgba(46,230,197,.38); }
.rank.pick::before {
  content: ""; position: absolute; inset: -1px; border-radius: var(--radius);
  background: linear-gradient(180deg, var(--accent-glow), transparent 45%);
  opacity: .5; pointer-events: none; z-index: 0;
}
.rank.warn { border-color: var(--flag-rule); }
.rank > * { position: relative; z-index: 1; }

.rank-top { display: flex; align-items: flex-start; gap: 14px; flex-wrap: wrap; margin-bottom: 6px; }
.rank-badge {
  font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent); border: 1px solid rgba(46,230,197,.3);
  white-space: nowrap;
}
.rank.warn .rank-badge { background: var(--flag-soft); color: var(--flag); border-color: var(--flag-rule); }
.rank h3 { margin: 0; font-family: Georgia, serif; font-size: 24px; font-weight: 600; letter-spacing: -.015em; }
.rank .verdict { font-size: 15.5px; color: var(--ink-soft); margin: 8px 0 16px; }
.rank .pays { font-size: 12.5px; color: var(--ink-faint); margin: 0 0 16px; }
.rank .pays b { color: var(--ink-soft); font-weight: 640; }

/* criteria bars */
.crit { margin: 0 0 16px; }
.crit-row { display: grid; grid-template-columns: 1fr 88px; gap: 12px; align-items: center; margin-bottom: 9px; }
.crit-name { font-size: 13.5px; color: var(--ink-soft); }
.crit-track { height: 6px; background: var(--surface-3); border-radius: 99px; overflow: hidden; }
.crit-fill {
  height: 100%; width: 0; border-radius: 99px;
  background: linear-gradient(90deg, var(--accent-dim), var(--accent));
  transition: width 1.1s cubic-bezier(.2,.8,.2,1);
}
.crit-fill.warn { background: linear-gradient(90deg, #a8542c, var(--flag)); }
.in .crit-fill { width: var(--w, 0%); }

.rank ul.pros { margin: 0 0 6px; padding-left: 20px; font-size: 15px; color: var(--ink-soft); }
.rank ul.pros li { margin-bottom: 6px; }
.rank .cons { font-size: 14.5px; color: var(--ink-faint); margin: 12px 0 0; }
.rank .cons b { color: var(--flag); font-weight: 640; }

/* ============ cta ============ */
.cta-block {
  border: 1px solid var(--rule-firm);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border-radius: var(--radius); padding: 26px; margin: 34px 0;
  box-shadow: var(--shadow);
}
.cta-block h3 { margin: 0 0 8px; font-size: 20px; }
.cta-block p { font-size: 15.5px; color: var(--ink-soft); margin: 0 0 18px; }
.btn {
  display: inline-block; position: relative;
  background: linear-gradient(180deg, var(--accent), var(--accent-dim));
  color: #04140f;
  font-size: 16px; font-weight: 700; text-decoration: none;
  padding: 14px 28px; border-radius: 9px;
  box-shadow: 0 0 0 0 var(--accent-glow), 0 8px 26px rgba(46,230,197,.18);
  transition: box-shadow .25s ease, transform .15s ease;
}
.btn:hover {
  color: #04140f; transform: translateY(-1px);
  box-shadow: 0 0 0 5px var(--accent-soft), 0 10px 32px rgba(46,230,197,.3);
}
.btn:active { transform: translateY(0); }
.btn-sm { font-size: 14.5px; padding: 11px 20px; }
.cta-fine { font-size: 13px; color: var(--ink-faint); margin: 14px 0 0; }

/* ============ faq ============ */
.faq { border-top: 1px solid var(--rule); margin-top: 12px; }
.faq details { border-bottom: 1px solid var(--rule); padding: 4px 0; }
.faq summary {
  cursor: pointer; padding: 16px 0; font-weight: 640; font-size: 16.5px;
  list-style: none; display: flex; justify-content: space-between; gap: 14px; align-items: baseline;
  color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details > *:not(summary) { margin-bottom: 16px; font-size: 16px; color: var(--ink-soft); }

/* ============ cards ============ */
.cards { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin: 24px 0 0; }
.card {
  display: block; background: var(--surface); border: 1px solid var(--rule);
  border-radius: var(--radius); padding: 22px; text-decoration: none; color: inherit;
  transition: border-color .2s ease, transform .2s ease;
}
.card:hover { border-color: var(--accent); transform: translateY(-3px); }
.card .card-kicker {
  font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em;
  color: var(--accent); font-weight: 700; display: block; margin-bottom: 8px;
}
.card h3 { margin: 0 0 7px; font-size: 17.5px; font-family: Georgia, serif; font-weight: 600; }
.card p { margin: 0; font-size: 14.5px; color: var(--ink-soft); line-height: 1.55; }
.card.soon { opacity: .5; pointer-events: none; }
.card.soon .card-kicker { color: var(--ink-faint); }

/* ============ disclosure ============ */
.disclosure {
  border: 1px solid var(--rule); background: var(--bg-alt);
  border-radius: var(--radius); padding: 24px; margin: 46px 0 0;
  font-size: 15px; color: var(--ink-soft); line-height: 1.62;
}
.disclosure h2 {
  margin: 0 0 10px; font-size: 17px; font-family: inherit;
  letter-spacing: 0; color: var(--ink); font-weight: 650;
}
.disclosure p:last-child { margin-bottom: 0; }

/* ============ sources ============ */
.sources { font-size: 14px; color: var(--ink-faint); margin-top: 44px; }
.sources h2 { font-size: 12.5px; font-family: inherit; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 10px; color: var(--ink-faint); }
.sources li { margin-bottom: 7px; }

/* ============ footer ============ */
.site-foot {
  border-top: 1px solid var(--rule); background: var(--bg-alt);
  padding: 32px 0 54px; font-size: 13.5px; color: var(--ink-faint);
  position: relative; z-index: 1;
}
.site-foot p { margin: 0 0 9px; max-width: 640px; }
.site-foot a { color: var(--ink-soft); }

/* ============ a11y ============ */
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 3px; }
.skip {
  position: absolute; left: -9999px; top: 0; background: var(--accent); color: #04140f;
  padding: 10px 16px; z-index: 60; border-radius: 0 0 6px 0; font-weight: 700;
}
.skip:focus { left: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .rv { opacity: 1; transform: none; }
  .crit-fill { width: var(--w, 0%); }
}

@media (max-width: 560px) {
  .hero { padding-top: 40px; }
  h2 { margin-top: 44px; }
  .site-head .wrap { min-height: 0; padding: 12px 22px; }
  .nav { gap: 14px; font-size: 13.5px; }
  .rank { padding: 20px; }
  .crit-row { grid-template-columns: 1fr 64px; }
}
