/* TurboMedia — the honest guide (pre-launch edition)
   Modern-minimal identity: warm off-white, near-black grotesk type, soft
   gradient blur art, coral accent. Self-contained: system fonts, no assets. */

:root {
  --bg: #f7f7f5;
  --card: #ffffff;
  --ink: #0a0a0a;
  --body: #3b3b3b;
  --muted: #8a8a86;
  --hairline: rgba(10, 10, 10, 0.08);
  --accent: #ff5233;
  --accent-ink: #c2371d;
  --blue-wash: rgba(0, 140, 255, 0.16);
  --coral-wash: rgba(255, 82, 51, 0.15);
  --amber-wash: rgba(255, 176, 32, 0.14);
  --shadow-card: 0 1px 2px rgba(10,10,10,0.04), 0 12px 32px rgba(10,10,10,0.06);
  --radius: 20px;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, Helvetica, Arial, sans-serif;
  --wrap: 760px;
  --wrap-text: 680px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }
.wrap-text { max-width: var(--wrap-text); margin: 0 auto; padding: 0 22px; }

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

.k {
  font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Masthead ---------- */
.masthead {
  position: sticky; top: 0; z-index: 30;
  background: rgba(247, 247, 245, 0.82);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--hairline);
}
.masthead .wrap { display: flex; align-items: center; justify-content: space-between; height: 62px; max-width: 1080px; }
.wordmark { font-weight: 800; font-size: 21px; letter-spacing: -0.03em; color: var(--ink); text-decoration: none; }
.wordmark .dot { color: var(--accent); }
.lang-switch { display: inline-flex; gap: 4px; background: rgba(10,10,10,0.05); border-radius: 999px; padding: 3px; }
.lang-switch a {
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.04em; text-decoration: none;
  color: var(--muted); padding: 6px 13px; border-radius: 999px; line-height: 1;
}
.lang-switch a.is-active { background: var(--ink); color: #fff; }

/* ---------- Language suggestion banner ---------- */
.lang-banner[hidden] { display: none; }
.lang-banner {
  background: var(--ink); color: #fff;
  display: flex; align-items: center; justify-content: center; gap: 14px;
  flex-wrap: wrap; padding: 11px 16px; text-align: center; font-size: 14px;
}
.lang-banner__go { color: #fff; font-weight: 700; }
.lang-banner__x {
  background: rgba(255,255,255,0.12); color: #fff; border: 0; cursor: pointer;
  width: 25px; height: 25px; border-radius: 999px; font-size: 15px; line-height: 1;
}
.lang-banner__x:hover { background: rgba(255,255,255,0.25); }

/* ---------- TOC chips ---------- */
.toc { padding: 18px 0 0; }
.toc .wrap { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; max-width: 900px; }
.toc a {
  font-size: 13px; font-weight: 600; text-decoration: none; color: var(--body);
  background: var(--card); border: 1px solid var(--hairline); border-radius: 999px;
  padding: 8px 15px; line-height: 1;
  transition: border-color .18s ease, transform .18s ease;
}
.toc a:hover { border-color: rgba(10,10,10,0.25); transform: translateY(-1px); color: var(--ink); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 74px 0 40px; text-align: center; }
.blur-field {
  position: absolute; left: 50%; top: -140px; transform: translateX(-50%);
  width: min(1100px, 140vw); height: 520px; pointer-events: none;
  background:
    radial-gradient(closest-side at 32% 42%, var(--blue-wash), transparent 72%),
    radial-gradient(closest-side at 68% 34%, var(--coral-wash), transparent 72%),
    radial-gradient(closest-side at 52% 72%, var(--amber-wash), transparent 72%);
  filter: blur(46px);
}
.hero .wrap { position: relative; max-width: 860px; }
.hero .k { color: var(--accent-ink); }
h1 {
  font-size: clamp(36px, 6.6vw, 62px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  font-weight: 800;
  color: var(--ink);
  margin: 16px auto 22px;
  max-width: 18ch;
}
.standfirst { font-size: clamp(17px, 2.3vw, 20px); line-height: 1.6; color: var(--body); max-width: 56ch; margin: 0 auto 20px; }
.dateline { font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 12px; justify-content: center; }
.dateline b { color: var(--body); font-weight: 600; }
.pill {
  display: inline-block; margin-top: 28px;
  background: var(--ink); color: #fff; text-decoration: none;
  font-size: 15px; font-weight: 700; letter-spacing: -0.01em;
  padding: 15px 28px; border-radius: 999px;
  transition: transform .18s ease, box-shadow .18s ease;
  box-shadow: 0 10px 26px rgba(10,10,10,0.18);
}
.pill:hover { transform: translateY(-2px); color: #fff; box-shadow: 0 16px 34px rgba(10,10,10,0.24); }
.pill:active { transform: translateY(0); }

/* ---------- Answer card ---------- */
.answer {
  margin: 44px auto 0; padding: 30px 32px; max-width: 640px;
  background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow-card);
  text-align: left;
}
.answer .k { display: block; margin-bottom: 10px; color: var(--accent-ink); }
.answer p { font-size: 17.5px; line-height: 1.62; margin: 0; }
.answer strong { color: var(--ink); }

/* ---------- Stat band ---------- */
.stats { padding: 54px 0 10px; }
.stats .wrap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 900px; text-align: center; }
.stats b {
  display: block; font-size: clamp(34px, 5.4vw, 54px); font-weight: 800;
  letter-spacing: -0.03em; color: var(--ink); font-variant-numeric: tabular-nums;
}
.stats span { display: block; font-size: 13.5px; line-height: 1.5; color: var(--muted); max-width: 24ch; margin: 6px auto 0; }
@media (max-width: 620px) { .stats .wrap { grid-template-columns: 1fr; gap: 26px; } }

/* ---------- Chapters ---------- */
section.chapter { padding: 64px 0 10px; }
.chapter-head { text-align: center; max-width: 720px; margin: 0 auto 10px; padding: 0 22px; }
h2 {
  font-size: clamp(27px, 4.4vw, 38px); line-height: 1.12; letter-spacing: -0.03em;
  font-weight: 800; color: var(--ink); margin: 10px 0 14px;
}
h3 { font-size: 19px; font-weight: 700; color: var(--ink); margin: 26px 0 8px; letter-spacing: -0.01em; }
p { margin: 0 0 16px; }
strong { color: var(--ink); font-weight: 700; }

/* ---------- Numbered cost cards ---------- */
ol.costs { list-style: none; margin: 30px auto 0; padding: 0 22px; max-width: 760px; counter-reset: cost; display: grid; gap: 14px; }
ol.costs li {
  counter-increment: cost;
  background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow-card);
  padding: 24px 26px 24px 74px; position: relative;
}
ol.costs li::before {
  content: "0" counter(cost);
  position: absolute; left: 26px; top: 26px;
  font-size: 15px; font-weight: 800; letter-spacing: 0.06em;
  color: var(--accent); font-variant-numeric: tabular-nums;
}
ol.costs b { display: block; font-size: 18.5px; color: var(--ink); letter-spacing: -0.015em; margin-bottom: 4px; }

/* ---------- Tactics list ---------- */
ol.tactics { list-style: none; margin: 26px auto 0; padding: 0 22px; max-width: 680px; counter-reset: tac; }
ol.tactics li { position: relative; padding: 0 0 18px 44px; counter-increment: tac; }
ol.tactics li::before {
  content: counter(tac);
  position: absolute; left: 0; top: 2px;
  width: 27px; height: 27px; border-radius: 999px;
  background: var(--ink); color: #fff;
  font-size: 13px; font-weight: 800;
  display: grid; place-items: center;
}
ol.tactics b { color: var(--ink); }
.honest-note {
  font-size: 14.5px; line-height: 1.6; color: var(--body);
  background: var(--card); border: 1px solid var(--hairline); border-radius: 14px;
  padding: 16px 20px; margin: 26px auto 0; max-width: 636px;
}
.honest-note strong { color: var(--ink); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 680px; margin: 26px auto 0; padding: 0 22px; }
.faq-list details {
  background: var(--card); border-radius: 16px; box-shadow: var(--shadow-card);
  padding: 4px 22px; margin-bottom: 10px;
}
.faq-list summary {
  cursor: pointer; list-style: none; position: relative;
  font-size: 16.5px; font-weight: 700; color: var(--ink); letter-spacing: -0.01em;
  padding: 16px 30px 16px 0;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; position: absolute; right: 0; top: 11px;
  font-size: 24px; font-weight: 400; color: var(--accent);
}
.faq-list details[open] summary::after { content: "\2212"; }
.faq-list details p { margin: 0 0 18px; }

/* ---------- Prose blocks ---------- */
.prose { max-width: var(--wrap-text); margin: 0 auto; padding: 0 22px; }
.prose.center { text-align: center; }

/* ---------- Footer ---------- */
.colophon { margin-top: 72px; background: var(--ink); color: rgba(247,247,245,0.72); }
.colophon .wrap { padding: 46px 22px 52px; text-align: center; max-width: 720px; }
.colophon .wordmark { color: #fff; display: inline-block; margin-bottom: 14px; }
.colophon p { font-size: 14px; line-height: 1.65; margin: 0 auto 18px; max-width: 58ch; }
.colophon nav { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: center; }
.colophon nav a { font-size: 13.5px; font-weight: 600; color: rgba(247,247,245,0.85); text-decoration: none; }
.colophon nav a:hover { color: #fff; text-decoration: underline; }

/* ---------- Legal subpages ---------- */
.legal { padding: 56px 0 20px; }
.legal .wrap-text { text-align: left; }
.legal h1 { font-size: clamp(30px, 5vw, 42px); text-align: left; margin-left: 0; max-width: none; }
.legal .dateline { justify-content: flex-start; }

@media (max-width: 480px) {
  body { font-size: 16.5px; }
  ol.costs li { padding: 20px 20px 20px 60px; }
  ol.costs li::before { left: 20px; top: 22px; }
  .answer { padding: 24px 22px; }
}
