:root {
  --bg: #020202;
  --bg2: #08080A;
  --bg3: #101014;
  --line: #1C1C22;
  --red: #E50914;
  --red2: #FF1825;
  --white: #F5F5F5;
  --muted: #96969F;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.tk-lock { overflow: hidden; }

.mono { font-family: var(--mono); }
.hidden { display: none !important; }
.red { color: var(--red2); }
code {
  font-family: var(--mono);
  font-size: 0.9em;
  color: var(--white);
  background: var(--bg3);
  border: 1px solid var(--line);
  padding: 1px 6px;
}

/* ================= BUTTONS ================= */
.btn {
  font-family: var(--sans);
  font-weight: 800;
  font-size: 0.76rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  border: 1px solid transparent;
  padding: 15px 24px;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, border-color 0.18s, transform 0.18s;
}
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red2); }
.btn-ghost { background: transparent; color: var(--white); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--red); color: var(--red2); }
.btn-outline { background: transparent; color: var(--red2); border-color: var(--red); }
.btn-outline:hover { background: var(--red); color: #fff; }
.btn-sm { padding: 10px 16px; font-size: 0.68rem; }

.link-btn {
  background: none;
  border: none;
  color: var(--muted);
  font: inherit;
  font-size: 0.85rem;
  cursor: pointer;
  padding: 0;
}
.link-btn:hover { color: var(--red2); }

/* ================= TAKEOVER / INTRO ================= */
.takeover {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #000;
  overflow: hidden;
}
.takeover.out { opacity: 0; transition: opacity 0.42s ease; }

.tk-noise,
.tk-scanlines,
.tk-vig,
.tk-interf {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.tk-noise {
  opacity: 0.05;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/></filter><rect width='120' height='120' filter='url(%23n)' opacity='0.5'/></svg>");
}
.tk-scanlines {
  opacity: 0.25;
  background: repeating-linear-gradient(to bottom, rgba(255,255,255,0.045) 0 1px, transparent 1px 3px);
}
.tk-vig {
  background: radial-gradient(ellipse at center, transparent 38%, rgba(0,0,0,0.78) 100%);
}
.tk-interf.on { animation: interflash 0.5s steps(2, end) 1; }
.tk-interf.hard { animation: interhard 0.6s steps(3, end) 1; }
@keyframes interflash { 0%,100% { background: transparent; } 50% { background: rgba(229,9,20,0.06); } }
@keyframes interhard {
  0% { background: rgba(229,9,20,0.22); }
  20% { background: transparent; }
  40% { background: rgba(255,255,255,0.08); }
  60% { background: transparent; }
  80% { background: rgba(229,9,20,0.14); }
  100% { background: transparent; }
}

/* --- terminal --- */
.tk-console {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(0.98);
  width: min(940px, 92vw);
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #0A0A0D, #050506);
  border: 1px solid #202027;
  box-shadow: 0 0 0 1px rgba(229,9,20,0.10), 0 30px 90px rgba(0,0,0,0.85);
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.4s ease;
  overflow: hidden;
}
.tk-console.on { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.tk-console.dim { opacity: 0.28; }
.tk-console.boost { box-shadow: 0 0 0 1px rgba(229,9,20,0.45), 0 0 80px rgba(229,9,20,0.18); }

.tk-statusbar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 18px;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  color: var(--white);
  background: #0C0C10;
}
.tk-status-l::before { content: "\25AE"; color: var(--red); margin-right: 10px; }
.tk-status-r { color: var(--muted); }
.tk-rule { height: 1px; background: linear-gradient(90deg, var(--red), transparent 65%); }

.tk-body {
  padding: 18px 20px 6px;
  overflow-y: auto;
  font-size: 0.84rem;
  line-height: 1.75;
  flex: 1;
  min-height: 240px;
}
.tk-log { margin-bottom: 6px; }
.tk-line {
  color: #C6C6CE;
  opacity: 0;
  transform: translateY(4px);
  animation: tkline 0.22s ease forwards;
}
.tk-line-num { color: var(--red); }
.tk-line-txt { color: var(--white); }
.tk-line.ok .tk-line-txt { color: var(--red2); font-weight: 600; }
@keyframes tkline { to { opacity: 1; transform: translateY(0); } }

.tk-caret {
  display: inline-block;
  width: 8px;
  height: 1em;
  margin-left: 3px;
  vertical-align: -2px;
  background: var(--red2);
  animation: tkblink 0.9s steps(1) infinite;
}
@keyframes tkblink { 50% { opacity: 0; } }

.tk-data {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 34px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.tk-colhead,
.tk-expohead {
  font-size: 0.66rem;
  letter-spacing: 0.28em;
  color: var(--red2);
  margin-bottom: 8px;
}
.tk-rows { display: flex; flex-direction: column; }
.tk-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 3px 0;
  border-bottom: 1px dashed #17171C;
  opacity: 0;
  transform: translateY(4px);
  animation: tkline 0.22s ease forwards;
}
.tk-rk { color: var(--muted); font-size: 0.7rem; letter-spacing: 0.08em; }
.tk-rv { color: var(--white); font-weight: 600; text-align: right; font-size: 0.8rem; }
.tk-rv.warn { color: var(--red2); }
.tk-row.flash { animation: tkline 0.22s ease forwards, tkrowflash 0.75s ease 0.22s 1; }
@keyframes tkrowflash {
  0% { background: transparent; }
  35% { background: rgba(229,9,20,0.20); }
  100% { background: transparent; }
}

.tk-expo {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.tk-expo .tk-row { border-bottom-color: #131318; }

.tk-prog {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 20px;
  background: #0A0A0D;
  border-top: 1px solid var(--line);
  font-size: 0.66rem;
  letter-spacing: 0.2em;
}
.tk-prog-label { color: var(--red2); white-space: nowrap; }
.tk-prog-track {
  flex: 1;
  height: 3px;
  background: #1A1A20;
  overflow: hidden;
}
.tk-prog-track span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--red), var(--red2));
  transition: width 0.3s ease;
}

/* --- threat simulation --- */
.tk-threat {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 10px;
  padding: 0 8vw;
  background: linear-gradient(180deg, rgba(2,2,2,0.62), rgba(2,2,2,0.74));
  z-index: 4;
}
.tk-threat .th {
  font-family: var(--mono);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: clamp(1.05rem, 3.4vw, 2.05rem);
  color: var(--white);
  opacity: 0;
  transform: translateX(-14px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.tk-threat .th.in { opacity: 1; transform: translateX(0); }
.tk-threat .th.send { color: var(--red2); font-size: 0.72rem; letter-spacing: 0.3em; }
.tk-threat .th.quote { color: var(--red2); }
.tk-threat .th.minor {
  color: var(--muted);
  font-size: clamp(0.72rem, 1.9vw, 0.98rem);
  letter-spacing: 0.3em;
  margin-top: 8px;
}
.tk-threat .th.panic {
  color: var(--white);
  font-size: clamp(1.55rem, 5.6vw, 3.15rem);
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.05;
  border-left: 4px solid var(--red);
  padding-left: 16px;
  text-shadow: 0 0 26px rgba(229,9,20,0.35);
}

/* --- artwork --- */
.tk-art {
  position: absolute;
  inset: 0;
  z-index: 6;
  background: #000;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.tk-art.on { opacity: 1; }
.tk-art-img {
  display: block;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  object-position: center;
}

/* --- reveal --- */
.tk-reveal {
  position: absolute;
  inset: 0;
  z-index: 7;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 6vw;
  gap: 14px;
  background: #000;
}
.tk-reveal p {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.tk-reveal p.in { opacity: 1; transform: translateY(0); }
.tk-rev-l1 { font-size: clamp(1.6rem, 6vw, 3.4rem); font-weight: 900; letter-spacing: 0.01em; line-height: 1.05; }
.tk-rev-l2 { font-size: clamp(0.82rem, 2.4vw, 1.18rem); color: var(--muted); letter-spacing: 0.16em; text-transform: uppercase; font-weight: 700; }
.tk-rev-l2.accent { color: var(--red2); }
.tk-rev-l5 { font-size: clamp(1rem, 3.2vw, 1.5rem); font-weight: 900; margin-top: 8px; }
.tk-reveal .btn { margin-top: 26px; opacity: 0; transform: translateY(10px); transition: opacity 0.45s ease, transform 0.45s ease; }
.tk-reveal .btn.in { opacity: 1; transform: translateY(0); }

/* no skip controls: the awareness sequence is mandatory in order */

@media (max-width: 720px) {
  .tk-body { font-size: 0.74rem; }
  .tk-data { grid-template-columns: 1fr; gap: 16px; }
  .tk-status-r { display: none; }
  .tk-threat { padding: 0 7vw; gap: 7px; }
  .tk-threat .th.panic { font-size: clamp(1.35rem, 8.5vw, 2.1rem); }
  .tk-threat .th.minor { margin-top: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tk-line, .tk-row, .tk-reveal p, .tk-reveal .btn, .tk-threat .th {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .tk-interf.on, .tk-interf.hard { animation: none !important; }
}

/* ================= SITE ================= */
#app { opacity: 1; transition: opacity 0.5s ease; }
#app.blinded { opacity: 0; pointer-events: none; }

/* --- nav --- */
.nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(2,2,2,0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 10px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { text-decoration: none; display: flex; align-items: center; flex: 0 0 auto; line-height: 1.15; }
.brand-logo { height: clamp(64px, 5vw, 82px); width: auto; max-width: 240px; object-fit: contain; display: block; }
.brand-name { font-weight: 900; letter-spacing: 0.04em; font-size: 1.05rem; color: var(--white); }
.brand-name::first-letter { color: var(--red2); }
.brand-sub { font-size: 0.6rem; letter-spacing: 0.2em; color: var(--muted); font-family: var(--mono); }
@media (min-width: 1500px) { .nav-inner { max-width: 1400px; } }
@media (max-width: 1100px) { .brand-logo { height: clamp(60px, 5.5vw, 74px); max-width: 220px; } }
@media (max-width: 900px) { .brand-logo { height: clamp(56px, 7vw, 66px); max-width: 200px; } }
@media (max-width: 560px) { .brand-logo { height: 58px; max-width: 175px; } }
.nav-menu { display: flex; gap: 20px; }
.nav-menu a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}
.nav-menu a:hover { color: var(--red2); }
.nav-right { display: flex; align-items: center; gap: 12px; }
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--white);
  font-size: 1.2rem;
  padding: 4px 10px;
  cursor: pointer;
}

/* --- hero --- */
.hero {
  position: relative;
  padding: 110px 24px 100px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(ellipse 60% 70% at 80% 0%, rgba(229,9,20,0.13), transparent 60%),
    var(--bg);
}
.hero-inner { max-width: 1000px; margin: 0 auto; }
.kicker {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  color: var(--red2);
  text-transform: uppercase;
  margin-bottom: 18px;
}
.hero-h1 {
  font-size: clamp(2.3rem, 7.5vw, 5rem);
  line-height: 1.02;
  font-weight: 900;
  letter-spacing: -0.01em;
  margin-bottom: 22px;
}
.hero-lede { font-size: clamp(1rem, 2.2vw, 1.25rem); color: var(--muted); max-width: 680px; margin-bottom: 32px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.hero-badge {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 18px;
  display: inline-block;
}

/* --- sections --- */
.section { max-width: 1240px; margin: 0 auto; padding: 92px 24px; border-bottom: 1px solid var(--line); }
.section-head { max-width: 860px; margin-bottom: 42px; }
.h2 {
  font-size: clamp(1.6rem, 4.2vw, 2.7rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}
.sub { color: var(--muted); font-size: 1rem; }
.kicker + .h2 { margin-top: 0; }

.loud {
  margin-top: 34px;
  font-family: var(--mono);
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--red2);
  font-size: clamp(0.9rem, 2.4vw, 1.25rem);
  border-left: 2px solid var(--red);
  padding-left: 16px;
}

/* --- mission --- */
.mission-list { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; }
.mission-list li { background: var(--bg3); border: 1px solid var(--line); padding: 18px 20px; color: var(--muted); font-size: 0.92rem; }
.mission-list b { color: var(--white); }

/* --- grid / cards --- */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 16px; }
.card { background: var(--bg3); border: 1px solid var(--line); padding: 22px; }
.card-label { font-size: 0.62rem; letter-spacing: 0.26em; color: var(--red2); margin-bottom: 14px; }
.card-h { font-size: 1.05rem; font-weight: 800; letter-spacing: 0.02em; margin-bottom: 10px; }
.card > p:not(.card-label) { color: var(--muted); font-size: 0.9rem; }
.card-note { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line); font-size: 0.78rem !important; color: #7A7A84 !important; }

.row { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid #17171C; }
.row-k { color: var(--muted); font-size: 0.8rem; }
.row-v { color: var(--white); font-weight: 600; text-align: right; font-size: 0.86rem; word-break: break-word; }

.ul-check, .ul-x { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.ul-check li { position: relative; padding-left: 22px; color: var(--muted); font-size: 0.9rem; }
.ul-check li::before { content: "\2192"; position: absolute; left: 0; color: var(--red2); }
.ul-x li { position: relative; padding-left: 22px; color: var(--muted); font-size: 0.9rem; }
.ul-x li::before { content: "\00D7"; position: absolute; left: 0; color: var(--red2); font-weight: 700; }
.ul-check b, .ul-x b { color: var(--white); }

/* --- exposure shell --- */
.exposure-shell { border: 1px solid var(--line); background: #060608; padding: 26px; }
.scan-stage { text-align: center; padding: 40px 10px; }
.scan-q { font-weight: 800; letter-spacing: 0.08em; font-size: clamp(1rem, 3vw, 1.4rem); margin-bottom: 26px; }
.scan-init { font-family: var(--mono); color: var(--red2); font-size: 0.8rem; letter-spacing: 0.12em; margin-bottom: 18px; }
.scan-progress { height: 3px; background: var(--line); max-width: 560px; margin: 0 auto 22px; overflow: hidden; }
.scan-line { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--red), var(--red2)); transition: width 0.5s ease; }
.scan-steps { max-width: 560px; margin: 0 auto; text-align: left; font-family: var(--mono); font-size: 0.78rem; }
.scan-step { color: var(--muted); padding: 4px 0; opacity: 0; animation: tkline 0.25s ease forwards; }
.scan-step.done { color: var(--white); }
.scan-step .st-num { color: var(--red2); }
.scan-ready { margin-top: 22px; font-family: var(--mono); color: var(--red2); letter-spacing: 0.2em; font-size: 0.78rem; }

.report-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 24px; flex-wrap: wrap; }
.report-title { font-size: 1.2rem; font-weight: 800; }
.report-sub { color: var(--muted); font-size: 0.86rem; }

.pivot { margin-top: 30px; padding: 26px; border: 1px solid var(--line); background: var(--bg2); }
.pivot-h { font-size: 1.3rem; font-weight: 900; margin-bottom: 8px; }
.pivot-sub { color: var(--muted); margin-bottom: 18px; font-size: 0.9rem; }
.pivot-card { border-left: 2px solid var(--red); padding-left: 18px; }
.pivot-kicker { font-family: var(--mono); color: var(--red2); letter-spacing: 0.18em; font-size: 0.7rem; margin-bottom: 8px; }
.pivot-text { color: var(--muted); font-size: 0.92rem; }

/* --- transparency --- */
.trans-list { list-style: none; display: flex; flex-direction: column; gap: 2px; border-top: 1px solid var(--line); }
.trans-list li { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 0.9rem; color: var(--muted); }
.trans-list li b { color: var(--white); margin-right: 8px; }
.trans-list li.trans-yes b::before { content: "\2713"; color: var(--red2); margin-right: 8px; }
.trans-list li.trans-no b::before { content: "\2715"; color: #5D5D68; margin-right: 8px; }

/* --- split columns --- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.split-col { border: 1px solid var(--line); background: var(--bg3); padding: 24px; }
.split-head { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.2em; color: var(--red2); margin-bottom: 16px; }
.split-col.yes { border-top: 2px solid var(--red); }
.split-col.no { border-top: 2px solid #3A3A44; }
.split-col p { color: var(--muted); font-size: 0.9rem; }

.note-box { margin-top: 18px; border: 1px solid var(--line); border-left: 2px solid var(--red); background: var(--bg2); padding: 22px; }
.note-box p { color: var(--muted); font-size: 0.94rem; }
.note-box b { color: var(--white); }
.note-inline { margin-top: 20px; color: var(--muted); font-size: 0.88rem; font-style: italic; }

/* --- steps --- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-bottom: 8px; }
.steps li { background: var(--bg3); border: 1px solid var(--line); padding: 22px; }
.steps-num { font-family: var(--mono); color: var(--red2); font-size: 0.8rem; letter-spacing: 0.2em; display: block; margin-bottom: 10px; }
.steps h3 { font-size: 1rem; font-weight: 800; margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: 0.86rem; }
.steps-compact { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

.bars { margin-top: 30px; display: flex; flex-direction: column; gap: 1px; border-top: 1px solid var(--line); }
.bars p {
  padding: 14px 6px;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-weight: 600;
  letter-spacing: 0.06em;
  font-size: clamp(0.82rem, 2.2vw, 1.05rem);
  color: var(--muted);
}
.bars p:first-child { color: var(--white); }

/* --- check list --- */
.check-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.check-list li { list-style: none; background: var(--bg3); padding: 20px 22px; }
.check-list h4 { font-size: 1rem; font-weight: 800; margin-bottom: 8px; }
.check-list p { color: var(--muted); font-size: 0.86rem; }
.check-list b { color: var(--white); }

/* --- certificate claim --- */
.claim-panel {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  border: 1px solid var(--line);
  background: linear-gradient(120deg, var(--bg3), var(--bg2));
  padding: 30px;
}
.claim-badge { width: 62px; height: 62px; flex: 0 0 auto; border: 1px solid var(--red); display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 3px; padding: 7px; }
.claim-badge span { background: var(--red); }
.claim-badge span:nth-child(2), .claim-badge span:nth-child(3) { background: transparent; border: 1px solid var(--red); }
.claim-copy { flex: 1; min-width: 220px; }
.claim-h { font-size: 1.4rem; font-weight: 900; margin: 4px 0 8px; }
.claim-sub { color: var(--muted); font-size: 0.88rem; }
.claim-sub b { color: var(--red2); }
.claim-sub a { color: var(--red2); }
.cert-tag { color: var(--white); }

/* --- final --- */
.final { border-bottom: none; }
.final-msg { text-align: center; padding: 50px 10px; border: 1px solid var(--line); background: radial-gradient(ellipse at center, rgba(229,9,20,0.08), transparent 65%); }
.fm-line { font-size: clamp(1.2rem, 4vw, 2.2rem); font-weight: 900; letter-spacing: 0.01em; line-height: 1.25; }
.fm-red { color: var(--red2); }
.fm-brand { margin-top: 30px; font-size: clamp(1.5rem, 5vw, 2.6rem); font-weight: 900; letter-spacing: 0.04em; }
.fm-sub { font-family: var(--mono); color: var(--muted); letter-spacing: 0.24em; font-size: 0.74rem; margin-top: 6px; }

/* --- about --- */
.section-about { border-bottom: none; }
.about-inner { max-width: 820px; }
.about-text { color: var(--muted); font-size: 1rem; margin-bottom: 16px; }
.about-strong { color: var(--white); font-weight: 600; }
.about-brand { margin-top: 30px; font-size: 1.6rem; font-weight: 900; letter-spacing: 0.06em; color: var(--red2); }
.about-mono { color: var(--muted); letter-spacing: 0.24em; font-size: 0.72rem; }

/* --- safety / identity sections --- */
.note-lead { font-family: var(--mono); color: var(--red2); letter-spacing: 0.14em; font-size: 0.86rem; margin-bottom: 12px; }
.note-box p + p { margin-top: 14px; }
.dox-response { margin-top: 18px; }
.dox-response > p { color: var(--muted); font-size: 0.9rem; margin-bottom: 12px; }
.block-gap { margin-top: 24px; }
.h3-sub {
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  margin: 46px 0 8px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.h3-sub + .sub { margin-bottom: 20px; }
.free-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; }

.resource { margin-top: 26px; border: 1px solid var(--line); border-top: 2px solid var(--red); background: var(--bg2); padding: 28px; }
.badge-optional { display: inline-block; font-size: 0.6rem; letter-spacing: 0.2em; color: var(--red2); border: 1px solid var(--red); padding: 5px 10px; }
.resource-name { font-size: 1.9rem; font-weight: 900; letter-spacing: 0.08em; margin: 16px 0 4px; }
.resource-tag { font-size: 0.68rem; letter-spacing: 0.22em; color: var(--muted); margin-bottom: 16px; }
.resource p { color: var(--muted); font-size: 0.92rem; }
.resource .ul-check { margin-top: 14px; }
.resource-link {
  display: inline-block;
  margin-top: 20px;
  color: var(--red2);
  font-family: var(--mono);
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-decoration: none;
  border-bottom: 1px solid var(--red);
  padding-bottom: 3px;
}
.resource-link:hover { color: var(--white); }
.disclaimer { color: #7A7A84; font-size: 0.82rem; }
.disclaimer.stand-alone {
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.why .about-inner { max-width: 820px; }
.why-bg { position: relative; overflow: hidden; }
.why-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2,2,2,0.94), rgba(2,2,2,0.97)), url("images/wehateskids-main-art-v2.png") center / cover no-repeat;
  opacity: 0.5;
  pointer-events: none;
}
.why-bg > * { position: relative; z-index: 1; }

/* --- learn more expanders --- */
.learn-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.learn { background: var(--bg3); border: 1px solid var(--line); padding: 0; }
.learn[open] { border-color: #2A2A32; }
.learn summary {
  cursor: pointer;
  list-style: none;
  padding: 15px 18px;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--white);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}
.learn summary::-webkit-details-marker { display: none; }
.learn summary::after { content: "+"; color: var(--red2); font-size: 1rem; }
.learn[open] summary::after { content: "\2212"; }
.learn summary:hover { color: var(--red2); }
.learn p { color: var(--muted); font-size: 0.86rem; padding: 0 18px 16px; }

/* --- scenarios --- */
.scenario { border: 1px solid var(--line); border-left: 2px solid var(--red); background: var(--bg3); padding: 22px 24px; margin-bottom: 14px; }
.scenario-q { font-size: 0.78rem; letter-spacing: 0.1em; color: var(--red2); margin-bottom: 14px; }

/* --- myths --- */
.myth { border-top: 2px solid var(--red); }
.myth-real { color: var(--muted); font-size: 0.9rem; }
.myth-real b { color: var(--white); }

/* --- digital footprint spacing --- */
.section-head.block-gap { margin-top: 46px; margin-bottom: 26px; }

/* --- transparency groups --- */
.trans-group {
  list-style: none;
  margin-top: 26px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
  color: var(--red2) !important;
  font-size: 0.66rem;
  letter-spacing: 0.24em;
}
.trans-list li.trans-group:first-child { margin-top: 0; }

/* --- knowledge check --- */
.quiz-list { display: flex; flex-direction: column; gap: 14px; }
.quiz-q { border: 1px solid var(--line); background: var(--bg3); padding: 20px 22px; }
.quiz-text { font-weight: 700; font-size: 0.98rem; margin-bottom: 16px; }
.quiz-opts { display: flex; flex-wrap: wrap; gap: 10px; }
.quiz-opt {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--white);
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 11px 16px;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.quiz-opt:hover:not(:disabled) { border-color: var(--red); color: var(--red2); }
.quiz-opt:disabled { cursor: default; opacity: 0.85; }
.quiz-opt.chosen-ok { background: rgba(229,9,20,0.16); border-color: var(--red); color: #fff; }
.quiz-opt.chosen-bad { background: rgba(90,90,100,0.12); border-color: #3A3A44; color: var(--muted); text-decoration: line-through; }
.quiz-explain { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line); color: var(--muted); font-size: 0.86rem; }
.quiz-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 24px; }
.quiz-progress { font-size: 0.7rem; letter-spacing: 0.2em; color: var(--red2); }
.quiz-done { font-size: 0.82rem; color: var(--white); font-weight: 700; }

/* --- protection lab --- */
.lab-note {
  margin: -14px 0 40px;
  padding: 12px 16px;
  border-left: 2px solid var(--red);
  background: var(--bg3);
  color: var(--muted);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
}
.lab-block { margin-top: 54px; padding-top: 34px; border-top: 1px solid var(--line); }
.lab-block:first-of-type { margin-top: 8px; padding-top: 0; border-top: none; }
.lab-kicker { font-size: 0.66rem; letter-spacing: 0.26em; color: var(--red2); margin-bottom: 10px; }
.lab-h { font-size: clamp(1.2rem, 3vw, 1.7rem); font-weight: 900; letter-spacing: -0.01em; margin-bottom: 14px; }
.sub-h { margin-top: 34px; font-size: 1.15rem; }
.lab-p { color: var(--muted); font-size: 0.96rem; max-width: 820px; margin-bottom: 18px; }
.lab-block .flow { margin: 6px 0 18px; }
.lab-block .split { margin-bottom: 10px; }
.lab-block > .ul-check { margin-bottom: 8px; }

.pattern { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); margin: 20px 0; }
.pattern-cell { background: var(--bg3); padding: 18px 20px; }
.pattern-cell p { color: var(--muted); font-size: 0.86rem; margin-top: 8px; }
.pattern-k { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.2em; color: var(--red2); margin: 0 !important; }

.flow {
  font-family: var(--mono);
  font-size: 0.78rem;
  line-height: 1.5;
  letter-spacing: 0.08em;
  color: var(--white);
  background: #060608;
  border: 1px solid var(--line);
  border-left: 2px solid var(--red);
  padding: 16px 18px;
  white-space: normal;
}
.loud-inline {
  font-family: var(--mono);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--red2);
  font-size: clamp(0.95rem, 2.4vw, 1.2rem);
}

.details-inline { border: 1px solid var(--line); background: var(--bg2); padding: 18px 20px; margin: 18px 0; }
.detail-h { font-size: 0.62rem; letter-spacing: 0.22em; color: var(--red2); margin-bottom: 12px; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); }
.compare { width: 100%; border-collapse: collapse; min-width: 520px; }
.compare th, .compare td { text-align: left; padding: 15px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare th { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.2em; color: var(--red2); background: var(--bg2); }
.compare td { color: var(--muted); font-size: 0.88rem; }
.compare td:first-child { color: var(--white); font-weight: 700; white-space: nowrap; }
.compare tr:last-child td { border-bottom: none; }

.decision { border: 1px solid var(--line); background: var(--bg2); padding: 22px; }
.decision-targets { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.decision-btn {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--white);
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  padding: 12px 16px;
  cursor: pointer;
  text-transform: uppercase;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.decision-btn:hover { border-color: var(--red); color: var(--red2); }
.decision-btn.active { background: var(--red); border-color: var(--red); color: #fff; }
.decision-panel { border-top: 1px dashed var(--line); padding-top: 20px; min-height: 60px; }
.decision-title { color: var(--red2); font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.18em; margin-bottom: 14px; }
.decision-placeholder { color: var(--muted); font-size: 0.9rem; }
.decision-panel .ul-check { margin-bottom: 14px; }
.branch-btns { display: flex; gap: 10px; margin: 14px 0; flex-wrap: wrap; }
.branch-btn {
  background: transparent; border: 1px solid var(--line); color: var(--white);
  font-family: var(--sans); font-weight: 700; font-size: 0.7rem; letter-spacing: 0.12em;
  padding: 10px 16px; cursor: pointer; text-transform: uppercase;
}
.branch-btn:hover { border-color: var(--red); color: var(--red2); }

.glossary { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.gloss { background: var(--bg3); padding: 16px 18px; }
.gloss dt { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.14em; color: var(--red2); margin-bottom: 6px; }
.gloss dd { color: var(--muted); font-size: 0.84rem; margin: 0; }

/* --- where the risk shows up --- */
.big-message {
  border: 1px solid var(--line);
  border-left: 3px solid var(--red);
  background: var(--bg3);
  padding: 26px 28px;
  margin: 26px 0 10px;
}
.big-message p { font-size: clamp(1rem, 2.6vw, 1.35rem); font-weight: 900; line-height: 1.4; letter-spacing: 0.01em; }
.big-message .bm-red { color: var(--red2); }
.big-message .fm-brand { margin-top: 16px; font-size: clamp(1.3rem, 4vw, 2rem); }

.platform { margin-top: 54px; padding-top: 34px; border-top: 1px solid var(--line); }
.platform:first-of-type { margin-top: 8px; padding-top: 0; border-top: none; }
.platform-h { font-size: clamp(1.45rem, 4vw, 2.2rem); font-weight: 900; letter-spacing: 0.02em; margin-bottom: 8px; }
.platform-sub { font-family: var(--mono); color: var(--red2); font-size: 0.66rem; line-height: 1.7; letter-spacing: 0.16em; margin-bottom: 16px; }
.risk-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.risk-tag {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  color: var(--red2);
  border: 1px solid var(--red);
  padding: 5px 10px;
}
.risklist-h { font-size: 0.64rem; letter-spacing: 0.24em; color: var(--white); margin: 26px 0 12px; }
.riskcard { border: 1px solid var(--line); margin: 22px 0; }
.riskcard-row { display: grid; grid-template-columns: 230px 1fr; border-bottom: 1px solid var(--line); }
.riskcard-row:last-child { border-bottom: none; }
.risk-k {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  color: var(--red2);
  background: var(--bg2);
  padding: 14px 16px;
}
.risk-v { color: var(--muted); font-size: 0.88rem; padding: 14px 16px; }

/* --- awareness progress --- */
.progress {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 300;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 10px 14px;
  background: rgba(8,8,10,0.92);
  border: 1px solid var(--line);
  border-left: 2px solid var(--red);
  backdrop-filter: blur(6px);
}
.progress-title { font-size: 0.56rem; letter-spacing: 0.2em; color: var(--muted); }
.progress-line { font-family: var(--mono); font-size: 0.7rem; color: var(--white); display: flex; gap: 8px; align-items: baseline; }
.progress-line b { color: var(--red2); }

/* --- ordered module gates --- */
.module-gate { border-bottom: none; }
.gate-inner { text-align: center; padding: 28px; border: 1px solid var(--line); background: var(--bg2); }
.gate-label { font-size: 0.64rem; letter-spacing: 0.22em; color: var(--red2); margin-bottom: 14px; }
.gate-hint { margin-top: 12px; font-size: 0.62rem; letter-spacing: 0.16em; color: var(--muted); min-height: 1em; }

/* --- welcome back --- */
.welcome { position: fixed; inset: 0; z-index: 600; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(2,2,2,0.9); backdrop-filter: blur(6px); }
.welcome-panel { width: min(520px, 100%); border: 1px solid var(--line); border-top: 3px solid var(--red); background: var(--bg3); padding: 36px; text-align: center; }
.welcome-title { font-size: clamp(1.8rem, 6vw, 2.8rem); font-weight: 900; margin: 10px 0 12px; }
.welcome-sub { color: var(--muted); font-size: 0.92rem; margin-bottom: 26px; }
.welcome-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.welcome-note { margin-top: 22px; font-size: 0.6rem; letter-spacing: 0.22em; color: var(--muted); }

/* --- footer --- */
.footer { border-top: 1px solid var(--line); padding: 54px 24px; text-align: center; background: var(--bg2); }
.footer-brand { font-weight: 900; font-size: 1.2rem; letter-spacing: 0.04em; }
.footer-tag { font-family: var(--mono); color: var(--red2); font-size: 0.68rem; letter-spacing: 0.22em; margin: 8px 0; }
.footer-sub { color: var(--muted); font-size: 0.82rem; margin-bottom: 22px; }
.footer-links { display: flex; justify-content: center; gap: 22px; flex-wrap: wrap; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: 0.8rem; }
.footer-links a:hover { color: var(--red2); }

/* ================= MODALS ================= */
.cert-modal { position: fixed; inset: 0; z-index: 500; display: flex; align-items: center; justify-content: center; padding: 20px; }
.cert-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.82); backdrop-filter: blur(4px); }
.cert-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 4;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--muted);
  width: 34px;
  height: 34px;
  cursor: pointer;
  font-size: 0.9rem;
}
.cert-close:hover { color: var(--red2); border-color: var(--red); }

.name-sheet {
  position: relative;
  z-index: 3;
  width: min(440px, 100%);
  background: var(--bg3);
  border: 1px solid var(--line);
  padding: 32px;
}
.name-kicker { font-size: 0.62rem; letter-spacing: 0.26em; color: var(--red2); margin-bottom: 12px; }
.name-title { font-size: 1.1rem; font-weight: 800; margin-bottom: 8px; }
.name-sub { color: var(--muted); font-size: 0.84rem; margin-bottom: 20px; }
.name-input {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--white);
  padding: 14px;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.name-input:focus { outline: none; border-color: var(--red); }
.name-actions { display: flex; gap: 12px; }

/* certificate card */
.cert-stage { position: relative; z-index: 3; width: min(760px, 100%); display: flex; flex-direction: column; align-items: center; gap: 18px; }
.cert-card {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  min-height: 580px;
  border: 1px solid #3A0F13;
  padding: 34px;
  overflow: hidden;
  background: #050506;
  box-shadow: 0 30px 90px rgba(0,0,0,0.8), inset 0 0 0 1px rgba(229,9,20,0.18);
}
.cert-bg {
  position: absolute;
  inset: 0;
  background: url("images/wehateskids-main-art-v2.png") center / cover no-repeat;
}
.cert-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(2,2,2,0.50) 0%, rgba(2,2,2,0.66) 45%, rgba(2,2,2,0.86) 100%),
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(229,9,20,0.30), transparent 72%);
}
.cert-corner { position: absolute; width: 22px; height: 22px; border: 2px solid var(--red); z-index: 3; }
.cert-corner.c1 { top: 10px; left: 10px; border-right: none; border-bottom: none; }
.cert-corner.c2 { top: 10px; right: 10px; border-left: none; border-bottom: none; }
.cert-corner.c3 { bottom: 10px; left: 10px; border-right: none; border-top: none; }
.cert-corner.c4 { bottom: 10px; right: 10px; border-left: none; border-top: none; }
.cert-scans { position: absolute; inset: 0; z-index: 2; opacity: 0.06; background: repeating-linear-gradient(to bottom, rgba(255,255,255,0.6) 0 1px, transparent 1px 4px); pointer-events: none; }

.cert-top { position: relative; z-index: 3; display: flex; justify-content: space-between; gap: 14px; font-size: 0.6rem; letter-spacing: 0.2em; color: var(--muted); margin-bottom: 24px; }
.cert-clear { color: var(--red2); }

.cert-main { position: relative; z-index: 3; text-align: center; padding: 8px 0 22px; }
.cert-eyebrow { font-size: 0.58rem; letter-spacing: 0.26em; color: var(--muted); margin-bottom: 12px; }
.cert-title { font-size: clamp(1.5rem, 5vw, 2.3rem); font-weight: 900; letter-spacing: 0.02em; margin-bottom: 16px; text-shadow: 0 2px 18px rgba(0,0,0,0.9); }
.cert-cr { color: var(--red2); }
.cert-name { font-family: var(--mono); font-size: 1.25rem; font-weight: 600; letter-spacing: 0.1em; color: var(--white); margin-bottom: 16px; word-break: break-word; text-shadow: 0 2px 14px rgba(0,0,0,0.9); }
.cert-who { color: #D8D8DE; font-size: 0.86rem; max-width: 480px; margin: 0 auto 12px; }
.cert-body { color: #C0C0C8; font-size: 0.86rem; max-width: 480px; margin: 0 auto 18px; }
.cert-q2 { color: var(--white); font-weight: 700; }
.cert-mission { margin: 0 auto 12px; font-size: 0.68rem; letter-spacing: 0.18em; color: var(--red2); }
.cert-extortion { margin: 0 auto 16px; max-width: 520px; font-size: 0.6rem; line-height: 1.6; letter-spacing: 0.12em; color: #C9C9D2; }
.cert-foot { font-size: 0.66rem; letter-spacing: 0.24em; color: var(--red2); }

.cert-bottom { position: relative; z-index: 3; border-top: 1px solid rgba(255,255,255,0.18); padding-top: 20px; display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.cert-meta { display: flex; flex-direction: column; gap: 8px; font-size: 0.68rem; letter-spacing: 0.12em; }
.cert-meta span { color: #B9B9C2; }
.cert-meta b { color: #7A7A84; margin-right: 10px; font-weight: 600; }
.cert-meta em { color: var(--white); font-style: normal; }
.cert-forever { font-size: 0.62rem; letter-spacing: 0.24em; color: #B9B9C2; }
.cert-skids {
  position: relative;
  z-index: 3;
  margin: 18px 0 0;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.14);
  font-size: 0.6rem;
  line-height: 1.65;
  letter-spacing: 0.12em;
  color: #B9B9C2;
}
.cert-brandmark { position: relative; z-index: 3; display: block; text-align: right; margin-top: 10px; font-size: 0.58rem; letter-spacing: 0.24em; color: rgba(255,255,255,0.55); }
.cert-actions { position: relative; z-index: 3; display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* ================= TOAST ================= */
.toast {
  position: fixed;
  left: 50%;
  bottom: 30px;
  transform: translate(-50%, 20px);
  z-index: 900;
  background: var(--bg3);
  border: 1px solid var(--red);
  color: var(--white);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  padding: 14px 22px;
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ================= RESPONSIVE ================= */
@media (max-width: 1150px) {
  .nav-menu { gap: 12px; flex-wrap: wrap; row-gap: 6px; justify-content: flex-end; }
  .nav-menu a { font-size: 0.6rem; letter-spacing: 0.08em; }
}

@media (max-width: 900px) {
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--bg2);
    border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav-menu.open { display: flex; }
  .nav-menu a { padding: 15px 24px; border-bottom: 1px solid var(--line); }
  .nav-toggle { display: block; }
  .split { grid-template-columns: 1fr; }
  .free-list { grid-template-columns: 1fr; }
  .learn-list { grid-template-columns: 1fr; }
  .pattern { grid-template-columns: 1fr; }
  .glossary { grid-template-columns: 1fr; }
  .riskcard-row { grid-template-columns: 1fr; }
  .risk-k { padding-bottom: 6px; }
  .section { padding: 66px 20px; }
  .hero { padding: 74px 20px 70px; }
}

@media (max-width: 560px) {
  .claim-panel { flex-direction: column; align-items: flex-start; }
  .progress { left: 10px; bottom: 10px; padding: 8px 10px; }
  .cert-card { aspect-ratio: auto; min-height: 0; padding: 28px 20px 56px; }
  .cert-bottom { flex-direction: column; align-items: flex-start; }
  .cert-actions { width: 100%; }
  .btn { width: 100%; text-align: center; }
  .hero-cta .btn { width: 100%; }
  .nav-right .btn-ghost { display: none; }
}

/* ================= PRINT ================= */
@page { size: A4 landscape; margin: 10mm; }
@media print {
  body { background: #fff; }
  #app, .takeover, #nameModal, .cert-actions, .cert-close { display: none !important; }
  .cert-modal { position: static; display: block; padding: 0; }
  .cert-backdrop { display: none; }
  .cert-stage { width: 100%; gap: 0; }
  .cert-card {
    width: 100%;
    aspect-ratio: auto;
    min-height: 0;
    border: 1px solid #222;
    box-shadow: none;
    color: #fff;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .cert-bg, .cert-overlay { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* ================= MULTI-PAGE SHELL ================= */
.page-head { max-width: 1240px; margin: 0 auto; padding: 60px 24px 6px; }
.page-h1 { font-size: clamp(2rem, 6vw, 3.6rem); font-weight: 900; line-height: 1.05; letter-spacing: -0.01em; margin-bottom: 14px; }
.page-lede { color: var(--muted); font-size: clamp(1rem, 2.2vw, 1.2rem); max-width: 760px; }
.breadcrumbs { max-width: 1240px; margin: 0 auto; padding: 22px 24px 0; font-size: 0.62rem; letter-spacing: 0.16em; color: var(--muted); }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--red2); }
.breadcrumbs span { color: #5D5D68; margin: 0 8px; }

.nav-drop { position: relative; display: flex; align-items: center; }
.nav-drop-btn { background: none; border: none; color: var(--muted); font-family: var(--sans); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; cursor: pointer; display: flex; align-items: center; gap: 6px; }
.nav-drop-btn:hover { color: var(--red2); }
.caret { font-size: 0.6rem; }
.nav-drop-menu { position: absolute; top: 100%; left: 50%; transform: translateX(-50%); background: var(--bg2); border: 1px solid var(--line); padding: 10px; display: none; grid-template-columns: repeat(2, minmax(200px, 1fr)); gap: 2px 10px; z-index: 250; }
.nav-drop-btn[aria-expanded="true"] + .nav-drop-menu { display: grid; }
.nav-menu a.nav-link { font-family: var(--sans); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; color: var(--muted); text-decoration: none; white-space: nowrap; }
.nav-menu a.nav-link:hover { color: var(--red2); }
.nav-menu a.nav-link.active { color: var(--red2); }
.nav-menu a.nav-link.locked { opacity: 0.5; }
.nav-menu a.nav-link .lock { color: var(--red); font-size: 0.5rem; margin-left: 6px; }

.footer-creator { font-family: var(--mono); color: var(--white); letter-spacing: 0.18em; font-size: 0.78rem; margin: 10px 0; font-weight: 700; }
.footer-anti { color: var(--red2); letter-spacing: 0.22em; font-size: 0.6rem; margin-bottom: 18px; }
.creator .h2 { color: var(--red2); letter-spacing: 0.08em; }

.hero-credit { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.2em; color: var(--muted); border-top: 1px solid var(--line); padding-top: 18px; display: inline-block; }
.home-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.home-card { display: block; text-decoration: none; background: var(--bg3); border: 1px solid var(--line); padding: 22px; transition: border-color 0.15s, transform 0.15s; }
.home-card:hover { border-color: var(--red); transform: translateY(-2px); }
.home-card .card-h { color: var(--white); }
.home-card p { color: var(--muted); font-size: 0.88rem; }
.home-card .card-label { color: var(--red2); margin-bottom: 10px; }

.gate-nav { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 20px; }
.gate-prev, .gate-next { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.14em; color: var(--muted); text-decoration: none; border: 1px solid var(--line); padding: 11px 15px; }
.gate-prev:hover, .gate-next:hover { color: var(--red2); border-color: var(--red); }

.cert-modal.inline { position: static; display: block; padding: 0; background: none; }
.cert-nameform-wrap { padding-top: 0; }
.cert-nameform { max-width: 760px; margin: 0 auto; display: flex; gap: 12px; flex-wrap: wrap; align-items: flex-end; }
.cert-nameform .name-input { flex: 1; min-width: 220px; margin-bottom: 0; }
.field-label { display: block; width: 100%; font-size: 0.62rem; letter-spacing: 0.2em; color: var(--muted); margin-bottom: 4px; }

@media (max-width: 900px) {
  .nav-drop-menu { position: static; transform: none; display: none; border: none; background: transparent; padding: 0; grid-template-columns: 1fr; }
  .nav-drop-btn[aria-expanded="true"] + .nav-drop-menu { display: block; }
  .nav-drop { display: block; }
  .nav-drop-btn { padding: 15px 24px; width: 100%; justify-content: space-between; border-bottom: 1px solid var(--line); }
  .nav-menu a.nav-link { padding: 15px 24px 15px 36px; border-bottom: 1px solid var(--line); }
}
.gate-next.disabled { opacity: 0.45; pointer-events: none; }
.hero-credit { margin-top: 22px; }

/* homepage hidden while the approved intro is active */
body.intro-active #app { visibility: hidden; }

/* ================= A NOTE FROM LKC (personal letter) ================= */
.letter { position: relative; overflow: hidden; background: #060608; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.letter::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(2,2,2,0.90) 0%, rgba(2,2,2,0.86) 40%, rgba(2,2,2,0.94) 100%),
    url("images/wehateskids-main-art-v2.png") center / cover no-repeat;
  pointer-events: none;
}
.letter > .letter-inner { position: relative; z-index: 1; }
.letter-inner { max-width: 720px; margin: 0 auto; padding: 78px 24px; }
.letter-label { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.3em; color: var(--red2); margin-bottom: 30px; }
.letter-accent { border-left: 2px solid var(--red); padding-left: 26px; }
.letter-accent p { color: #C9C9D2; font-size: 1.03rem; line-height: 1.9; margin-bottom: 20px; }
.letter-accent p.letter-line { color: var(--white); font-weight: 700; }
.letter-sign { margin-top: 38px; padding-top: 24px; border-top: 1px solid var(--line); }
.letter-sign p { margin: 0; }
.letter-name { font-family: var(--mono); color: var(--white); font-size: 1.15rem; letter-spacing: 0.1em; margin-bottom: 8px; }
.letter-role { color: var(--red2); font-family: var(--mono); letter-spacing: 0.16em; font-size: 0.7rem; margin-bottom: 4px; }
.letter-forever { color: var(--muted); font-family: var(--mono); letter-spacing: 0.18em; font-size: 0.68rem; margin-top: 12px; }
.home-note-link { display: inline-block; margin-top: 26px; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.16em; color: var(--red2); text-decoration: none; border-bottom: 1px solid var(--red); padding-bottom: 4px; }
.home-note-link:hover { color: var(--white); }
/* ================= LKC CONTACT / DISCORD PRESENCE ================= */
.contact-section { border-bottom: 1px solid var(--line); }
.contact-grid { display: grid; grid-template-columns: 45fr 55fr; gap: 18px; align-items: start; }
.dc-card { position: relative; border: 1px solid var(--line); border-top: 2px solid var(--red); background: var(--bg2); padding: 26px; box-shadow: 0 0 40px rgba(229,9,20,0.08); }
.dc-head { display: flex; gap: 16px; align-items: center; }
.dc-avatar { width: 84px; height: 84px; flex: 0 0 auto; border-radius: 50%; overflow: hidden; border: 2px solid var(--red); background: #0b0b0e; display: flex; align-items: center; justify-content: center; }
.dc-avatar-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dc-avatar-fallback { font-family: var(--mono); font-weight: 900; letter-spacing: 0.06em; color: var(--red2); font-size: 1.55rem; }
.dc-idwrap { min-width: 0; }
.dc-name { font-size: clamp(1.3rem, 4vw, 1.8rem); font-weight: 900; letter-spacing: 0.02em; color: var(--white); }
.dc-user { color: var(--muted); font-size: 0.8rem; margin: 2px 0 8px; word-break: break-all; }
.dc-status { display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.16em; color: var(--white); }
.dc-dot { width: 9px; height: 9px; border-radius: 50%; background: #80848E; display: inline-block; }
.dc-meta { margin: 22px 0 0; border-top: 1px solid var(--line); }
.dc-row { display: flex; justify-content: space-between; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.dc-row dt { font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.18em; color: var(--muted); margin: 0; }
.dc-row dd { color: var(--white); font-size: 0.84rem; font-weight: 600; text-align: right; word-break: break-all; margin: 0; }
.dc-activity { margin-top: 16px; padding: 12px 14px; border-left: 2px solid var(--red); background: var(--bg3); }
.dc-activity-k { font-size: 0.58rem; letter-spacing: 0.2em; color: var(--red2); margin-bottom: 6px; }
.dc-activity-v { color: var(--white); font-size: 0.86rem; }
.dc-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.dc-refresh { margin-top: 18px; font-size: 0.6rem; letter-spacing: 0.16em; color: var(--muted); }
.dc-forever { margin-top: 6px; font-size: 0.62rem; letter-spacing: 0.2em; color: var(--red2); }

.contact-side { display: flex; flex-direction: column; gap: 18px; }
.verify, .impersonation, .identity-block { border: 1px solid var(--line); background: var(--bg3); padding: 22px; }
.verify-h { font-size: 0.66rem; letter-spacing: 0.2em; color: var(--red2); margin-bottom: 14px; }
.verify-warn { margin-top: 16px; font-family: var(--mono); font-weight: 700; letter-spacing: 0.06em; color: var(--red2); font-size: 0.95rem; }
.verify-note { margin-top: 10px; color: var(--muted); font-size: 0.84rem; }
.impersonation .lab-p { margin-bottom: 12px; }
.identity-name { font-size: 1.3rem; font-weight: 900; letter-spacing: 0.02em; margin-bottom: 12px; }
.identity-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.identity-tags li { font-family: var(--mono); font-size: 0.58rem; letter-spacing: 0.14em; color: var(--red2); border: 1px solid var(--red); padding: 4px 8px; }
.identity-credit { font-size: 0.64rem; letter-spacing: 0.16em; color: var(--white); }
.identity-forever { font-size: 0.62rem; letter-spacing: 0.2em; color: var(--muted); margin-top: 8px; }
.contact-note { margin-top: 44px; max-width: 720px; }
.contact-note-link { margin-top: 34px; }
.contact-note-link a { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.16em; color: var(--red2); text-decoration: none; border-bottom: 1px solid var(--red); padding-bottom: 4px; }
.contact-note-link a:hover { color: var(--white); }

.footer-contact { margin: 18px auto; max-width: 520px; padding: 16px; border: 1px solid var(--line); background: var(--bg3); }
.footer-contact-k { font-size: 0.56rem; letter-spacing: 0.22em; color: var(--muted); }
.footer-discord { font-weight: 900; letter-spacing: 0.04em; color: var(--white); margin-top: 6px; }
.footer-discord-user { font-size: 0.72rem; color: var(--muted); margin: 4px 0 12px; }
.footer-contact-link { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.16em; color: var(--red2); text-decoration: none; border: 1px solid var(--red); padding: 8px 12px; display: inline-block; }
.footer-contact-link:hover { background: var(--red); color: #fff; }

a:focus-visible, button:focus-visible, .btn:focus-visible, .decision-btn:focus-visible, .quiz-opt:focus-visible { outline: 2px solid var(--red2); outline-offset: 2px; }

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
  .dc-row { flex-direction: column; gap: 4px; }
  .dc-row dd { text-align: left; }
}
/* ================= WEHATESKIDS DEFENSIVE LAB ================= */
.lab-section { border-bottom: 1px solid var(--line); }
.lab-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.lab-chip { background: transparent; border: 1px solid var(--line); color: var(--white); font-family: var(--sans); font-weight: 700; font-size: 0.72rem; letter-spacing: 0.1em; padding: 11px 15px; cursor: pointer; text-transform: uppercase; transition: border-color .15s, color .15s, background .15s; }
.lab-chip:hover { border-color: var(--red); color: var(--red2); }
.lab-chip.active { background: var(--red); border-color: var(--red); color: #fff; }
.lab-panel { border: 1px solid var(--line); border-top: 2px solid var(--red); background: var(--bg2); padding: 24px; }
.lab-placeholder { color: var(--muted); font-size: 0.9rem; }
.lab-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.lab-block { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.lab-block-k { font-size: 0.62rem; letter-spacing: 0.2em; color: var(--red2); margin-bottom: 10px; }
.lab-p { color: var(--muted); font-size: 0.92rem; }

.lab-quiz { border: 1px solid var(--line); }
.lab-q { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 18px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.lab-q:last-child { border-bottom: none; }
.lab-q-text { color: var(--white); font-size: 0.9rem; }
.lab-q-opts { display: flex; gap: 8px; }
.lab-opt { background: transparent; border: 1px solid var(--line); color: var(--white); font-family: var(--sans); font-weight: 700; font-size: 0.68rem; letter-spacing: 0.1em; padding: 9px 13px; cursor: pointer; transition: border-color .15s, color .15s, background .15s; text-align: left; }
.lab-opt:hover:not(:disabled) { border-color: var(--red); color: var(--red2); }
.lab-opt.active { background: var(--red); border-color: var(--red); color: #fff; }
.lab-opt:disabled { cursor: default; opacity: 0.9; }
.lab-opt.wide { width: 100%; margin-bottom: 8px; }
.lab-opt.is-ok { border-color: #3BA55D; }
.lab-opt.is-bad { border-color: #ED4245; opacity: 0.7; }
.lab-opt.picked { background: rgba(229,9,20,0.14); }
.lab-opt.warn { border-color: #FAA81A; color: #FAA81A; }

.lab-result { margin-top: 22px; border: 1px solid var(--line); border-left: 3px solid var(--red); background: var(--bg3); padding: 22px; }
.lab-result-k { font-size: 0.6rem; letter-spacing: 0.2em; color: var(--muted); margin-bottom: 8px; }
.lab-result-level { font-size: clamp(1.3rem, 4vw, 1.9rem); font-weight: 900; color: var(--red2); margin-bottom: 10px; }
.lab-actions { margin: 18px 0; }

.myth-feature { border: 1px solid var(--line); border-top: 2px solid var(--red); background: var(--bg2); padding: 26px; margin-bottom: 18px; }
.myth-k { font-size: 0.6rem; letter-spacing: 0.22em; color: var(--red2); margin-bottom: 6px; }
.myth-m { font-size: clamp(1rem, 2.6vw, 1.3rem); font-weight: 800; color: var(--white); margin-bottom: 18px; }
.myth-r { color: var(--muted); font-size: 0.95rem; }
.myth-all { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 22px; }
.myth-item { border: 1px solid var(--line); background: var(--bg3); padding: 16px 18px; }
.myth-item .myth-m { font-size: 0.86rem; margin-bottom: 8px; }
.myth-item .myth-r { font-size: 0.82rem; }

.lab-scenarios { display: flex; flex-direction: column; gap: 16px; }
.lab-scenario { border: 1px solid var(--line); border-left: 3px solid var(--red); background: var(--bg3); padding: 20px 22px; }
.lab-scenario-q { font-weight: 800; color: var(--white); font-size: 0.98rem; margin-bottom: 14px; }
.lab-outcome { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line); color: var(--muted); font-size: 0.9rem; }
.lab-outcome b { color: var(--white); }
.lab-outcome.ok { border-top-color: #3BA55D; }
.lab-outcome.bad { border-top-color: #ED4245; }

.tl-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
.tl-col { border: 1px solid var(--line); background: var(--bg3); padding: 20px; }
.tl-col.before { border-top: 2px solid #5D5D68; }
.tl-col.during { border-top: 2px solid var(--red); }
.tl-col.after { border-top: 2px solid #3BA55D; }
.tl-k { font-size: 0.66rem; letter-spacing: 0.22em; color: var(--red2); margin-bottom: 14px; }

.audit-cat { margin-bottom: 18px; border: 1px solid var(--line); background: var(--bg2); }
.audit-cat-k { font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.2em; color: var(--red2); padding: 14px 18px; border-bottom: 1px solid var(--line); background: var(--bg3); }
.audit-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 18px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.audit-row:last-child { border-bottom: none; }
.audit-q { color: var(--muted); font-size: 0.88rem; }
.audit-opts { display: flex; gap: 8px; flex-wrap: wrap; }
.audit-summary { margin-top: 24px; border: 1px solid var(--line); border-left: 3px solid var(--red); background: var(--bg3); padding: 20px; }

.chain-wrap { display: grid; grid-template-columns: 260px 1fr; gap: 20px; align-items: start; }
.chain { display: flex; flex-direction: column; }
.chain-node { width: 100%; background: transparent; border: 1px solid var(--line); color: var(--white); font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.12em; padding: 12px; cursor: pointer; text-align: left; transition: border-color .15s, color .15s, background .15s; }
.chain-node:hover { border-color: var(--red); color: var(--red2); }
.chain-node.active { background: var(--red); border-color: var(--red); color: #fff; }
.chain-arrow { text-align: center; color: var(--red); font-size: 0.8rem; line-height: 1.2; }
.chain-panel { border: 1px solid var(--line); background: var(--bg2); padding: 24px; }
.chain-k { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.16em; color: var(--red2); margin-bottom: 16px; }
.chain-row { padding: 12px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 180px 1fr; gap: 14px; }
.chain-row:last-child { border-bottom: none; }
.chain-row b { font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.16em; color: var(--muted); }
.chain-row span { color: var(--white); font-size: 0.88rem; }

/* LKC note */
.lkc-note { border: 1px solid var(--line); border-left: 3px solid var(--red); background: #060608; padding: 20px 22px; margin: 26px 0; }
.lkc-note-k { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.24em; color: var(--red2); margin-bottom: 10px; }
.lkc-note p { color: #C9C9D2; font-size: 0.92rem; line-height: 1.75; }
.lkc-note p + p { margin-top: 10px; }

@media (max-width: 900px) {
  .lab-grid { grid-template-columns: 1fr; }
  .myth-all { grid-template-columns: 1fr; }
  .tl-grid { grid-template-columns: 1fr; }
  .chain-wrap { grid-template-columns: 1fr; }
  .chain-row { grid-template-columns: 1fr; gap: 4px; }
  .lab-q { align-items: flex-start; }
}
/* ================= DEMO LOOKUP CARD (fake data) ================= */
.lookup { border: 1px solid #24242C; background: #050506; margin: 22px 0; max-width: 760px; box-shadow: inset 0 0 0 1px rgba(229,9,20,0.12); }
.lookup-banner { font-size: 0.6rem; letter-spacing: 0.2em; color: var(--red2); background: var(--bg3); padding: 10px 16px; border-bottom: 1px solid var(--line); }
.lookup-body { padding: 20px 22px; }
.lookup-userline { margin-bottom: 10px; }
.lookup-user { font-family: var(--mono); font-size: 1.05rem; font-weight: 700; color: var(--white); background: #1A1A22; padding: 4px 8px; display: inline-block; }
.lookup-h { font-size: 0.62rem; letter-spacing: 0.22em; color: var(--red2); margin: 20px 0 8px; padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.lookup-row { display: flex; justify-content: space-between; gap: 14px; padding: 7px 0; border-bottom: 1px solid #131318; font-size: 0.84rem; }
.lookup-k { color: var(--muted); font-size: 0.74rem; letter-spacing: 0.06em; }
.lookup-row b { color: var(--white); font-weight: 700; text-align: right; word-break: break-all; }
.lookup-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 26px; }
.lookup-redact { color: #7A7A84 !important; }
.inline-link { color: var(--red2); font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.12em; text-decoration: none; border-bottom: 1px solid var(--red); }
.inline-link:hover { color: var(--white); }

.verify-divider { height: 1px; background: var(--line); margin: 22px 0; }
.dc-status[data-status="online"] .dc-status-text,
.dc-status[data-status="idle"] .dc-status-text,
.dc-status[data-status="dnd"] .dc-status-text { color: var(--white); }
@media (max-width: 900px) {
  .dc-avatar { width: 64px; height: 64px; }
  .dc-avatar-fallback { font-size: 1.2rem; }
  .dc-actions .btn { flex: 1 1 auto; }
}

/* intro sound control (not a skip) */
.tk-sound { position: fixed; bottom: 20px; right: 20px; z-index: 10000; background: rgba(8,8,10,0.92); border: 1px solid var(--red); color: var(--red2); font-family: var(--sans); font-weight: 700; font-size: 0.64rem; letter-spacing: 0.16em; padding: 10px 14px; cursor: pointer; text-transform: uppercase; backdrop-filter: blur(6px); }
.tk-sound:hover { background: var(--red); color: #fff; }
.takeover[data-scene="art"] .tk-sound { display: none; }

/* ================= REAL SCENARIOS ================= */
.scenario-section { border-bottom: 1px solid var(--line); }
.video-shell { margin: 0 0 22px; }
.scenario-video { display: block; width: 78vw; max-width: 1080px; margin: 0 auto; background: #000; border: 1px solid var(--red); box-shadow: 0 0 60px rgba(229,9,20,0.18); }
.video-credit { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; width: 78vw; max-width: 1080px; margin: 0 auto; padding: 18px 0; border-bottom: 1px solid var(--line); }
.credit-k { font-size: 0.6rem; letter-spacing: 0.22em; color: var(--red2); margin-bottom: 6px; }
.credit-title { font-size: 1rem; font-weight: 800; color: var(--white); }
.credit-creator { color: var(--muted); font-size: 0.82rem; margin-top: 4px; }
.credit-creator b { color: var(--white); }
.video-edit { width: 78vw; max-width: 1080px; margin: 12px auto 0; font-size: 0.6rem; letter-spacing: 0.2em; color: var(--muted); text-align: right; }
.part-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 36px 0 8px; }
.part-card { border: 1px solid var(--line); border-top: 2px solid var(--red); background: var(--bg3); padding: 22px; }
.part-k { font-size: 0.62rem; letter-spacing: 0.24em; color: var(--red2); margin-bottom: 8px; }
.part-h { font-size: 1.1rem; font-weight: 900; margin-bottom: 10px; }
.part-time { margin-top: 12px; font-size: 0.6rem; letter-spacing: 0.18em; color: var(--muted); }
.chapter-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.chapter-btn { display: flex; gap: 12px; align-items: baseline; text-align: left; width: 100%; background: var(--bg2); border: 1px solid var(--line); color: var(--white); padding: 12px 14px; cursor: pointer; transition: border-color .15s, color .15s; }
.chapter-btn:hover { border-color: var(--red); }
.chapter-time { color: var(--red2); font-size: 0.68rem; letter-spacing: 0.08em; flex: 0 0 auto; }
.chapter-title { color: var(--muted); font-size: 0.82rem; }
.chapter-btn:hover .chapter-title { color: var(--white); }
@media (max-width: 900px) {
  .scenario-video, .video-credit, .video-edit { width: 100%; }
  .part-grid { grid-template-columns: 1fr; }
  .chapter-list { grid-template-columns: 1fr; }
  .video-edit { text-align: left; }
}
/* live activity + spotify (compact) */
.dc-live { margin-top: 16px; padding: 14px 16px; border-left: 2px solid var(--red); background: var(--bg3); }
.dc-custom { color: var(--muted); font-size: 0.86rem; font-style: italic; margin-bottom: 8px; }
.dc-activity-v { color: var(--white); font-size: 0.88rem; }
.dc-spotify { display: flex; gap: 12px; align-items: center; margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--line); }
.dc-spotify-art { width: 56px; height: 56px; border-radius: 6px; object-fit: cover; flex: 0 0 auto; border: 1px solid var(--line); }
.dc-spotify-meta { min-width: 0; }
.dc-spotify-k { font-size: 0.56rem; letter-spacing: 0.2em; color: #1DB954; margin-bottom: 4px; }
.dc-spotify-song { color: var(--white); font-weight: 700; font-size: 0.9rem; }
.dc-spotify-artist { color: var(--muted); font-size: 0.82rem; }
.dc-spotify-album { color: #7A7A84; font-size: 0.66rem; letter-spacing: 0.08em; margin-top: 2px; }
/* ================= PROTECTION CENTER ================= */
.resource-tools { margin-bottom: 22px; }
.resource-search { width: 100%; max-width: 520px; background: var(--bg); border: 1px solid var(--line); color: var(--white); padding: 13px 16px; font-size: 0.78rem; letter-spacing: 0.1em; margin-bottom: 14px; }
.resource-search:focus { outline: none; border-color: var(--red); }
.resource-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.resource-filter { background: transparent; border: 1px solid var(--line); color: var(--muted); font-family: var(--mono); font-size: 0.58rem; letter-spacing: 0.14em; padding: 7px 10px; cursor: pointer; }
.resource-filter:hover { border-color: var(--red); color: var(--red2); }
.resource-filter.active { background: var(--red); border-color: var(--red); color: #fff; }
.resource-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.resource-card { border: 1px solid var(--line); border-top: 2px solid var(--red); background: var(--bg3); padding: 22px; }
.resource-kind { font-size: 0.56rem; letter-spacing: 0.2em; color: var(--red2); margin-bottom: 8px; }
.resource-name { font-size: 1.15rem; font-weight: 900; margin-bottom: 12px; }
.resource-row { color: var(--muted); font-size: 0.84rem; margin-bottom: 8px; }
.resource-row b { color: var(--white); font-size: 0.66rem; letter-spacing: 0.12em; display: block; margin-bottom: 2px; }
.resource-card .inline-link { display: inline-block; margin-top: 8px; }

.matcher-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.matcher-col { border-top: 2px solid var(--red); padding-top: 12px; }

.pipe-lab { border: 1px solid var(--line); background: var(--bg2); padding: 24px; }
.pipe-row { display: block; font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.16em; color: var(--muted); margin-bottom: 20px; }
.pipe-row span { color: var(--red2); float: right; }
.pipe-row input[type=range] { width: 100%; margin-top: 10px; accent-color: var(--red); }
.pipe-toggles { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.pipe-toggle { font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.1em; color: var(--muted); border: 1px solid var(--line); padding: 8px 12px; cursor: pointer; display: flex; align-items: center; gap: 8px; }
.pipe-toggle input { accent-color: var(--red); }
.pipe-bar { height: 18px; background: #16161C; border: 1px solid var(--line); margin-bottom: 12px; overflow: hidden; }
.pipe-bar span { display: block; height: 100%; background: linear-gradient(90deg, #3BA55D, var(--red)); }
.pipe-bar span.over { background: var(--red2); }
.pipe-status { font-family: var(--mono); font-weight: 700; letter-spacing: 0.2em; color: var(--red2); margin-bottom: 12px; }
.pipe-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; margin-bottom: 16px; }
.pipe-stats span { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.1em; color: var(--muted); display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px solid var(--line); padding-bottom: 6px; }
.pipe-stats b { color: var(--white); }
.pipe-note p { color: var(--muted); font-size: 0.84rem; margin-bottom: 6px; }
.pipe-note b { color: var(--white); font-size: 0.66rem; letter-spacing: 0.1em; }

.dynip { border: 1px solid var(--line); background: var(--bg2); padding: 24px; }
.dynip-modes { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.dynip-body { display: grid; grid-template-columns: 1fr; gap: 4px; }
.dynip-k { font-size: 0.58rem; letter-spacing: 0.2em; color: var(--muted); margin-top: 12px; }
.dynip-ip { font-size: 1.4rem; font-weight: 800; color: var(--white); }
.dynip-result { margin-top: 16px; color: var(--muted); font-size: 0.86rem; }
.dynip-stale { color: var(--red2); font-weight: 800; }
.dynip-live { color: #3BA55D; font-weight: 800; }
.dynip-msg { color: var(--muted); }
.dynip-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }

.lesson-deeper { margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--line); }

@media (max-width: 900px) {
  .resource-grid { grid-template-columns: 1fr; }
  .matcher-grid { grid-template-columns: 1fr; }
  .pipe-stats { grid-template-columns: 1fr; }
}
/* ================= SITE-WIDE AUDIO CONTROL ================= */
.audio-control { position: fixed; right: 18px; bottom: 18px; z-index: 400; display: flex; align-items: center; gap: 10px; padding: 8px 10px; background: rgba(8,8,10,0.92); border: 1px solid var(--line); border-left: 2px solid var(--red); backdrop-filter: blur(6px); }
.audio-btn { background: transparent; border: 1px solid var(--line); color: var(--red2); font-family: var(--mono); font-size: 0.58rem; letter-spacing: 0.16em; padding: 7px 10px; cursor: pointer; text-transform: uppercase; }
.audio-btn:hover { border-color: var(--red); color: #fff; }
.audio-vol { width: 84px; accent-color: var(--red); }
@media (max-width: 560px) { .audio-control { right: 10px; bottom: 10px; } .audio-vol { width: 60px; } }

/* ================= QUICK EXIT ================= */
.quick-exit { position: fixed; top: 12px; right: 12px; z-index: 950; background: #000; border: 1px solid var(--red); color: var(--red2); font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.16em; padding: 8px 12px; text-decoration: none; text-transform: uppercase; }
.quick-exit:hover { background: var(--red); color: #fff; }

/* ================= WHAT CAN THEY SEE ================= */
.see-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
.see-col { border-top: 2px solid var(--red); padding-top: 12px; }
.see-col .cannormallysee { color: #3BA55D; }
.see-col .maycollectlog { color: #FAA81A; }
.see-col .cannotmagicallysee { color: var(--muted); }
.triage-urgent { color: #ED4245 !important; }
.triage-act { color: var(--red2) !important; }
.triage-understand { color: #3BA55D !important; }
@media (max-width: 900px) { .see-grid { grid-template-columns: 1fr; } }

/* printable worksheet */
@media print {
  #siteHeader, #siteFooter, .audio-control, .quick-exit, #pageGate, .page-head { display: none !important; }
  body { background: #fff; color: #000; }
  .note-box { border-color: #333; }
}
/* about music credit */
.about-credit { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); }
.about-credit-k { font-size: 0.6rem; letter-spacing: 0.22em; color: var(--red2); margin-bottom: 6px; }
.about-credit-line { color: var(--white); font-size: 0.9rem; }
.about-credit-note { color: var(--muted); font-size: 0.78rem; margin-top: 6px; }

/* Shared layout repairs; retain the existing visual system. */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible, [role="button"]:focus-visible, [role="tab"]:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.page-h1:focus, .page-h1:focus-visible, .page-head:focus, .page-head:focus-visible, main:focus, main:focus-visible, #routeView:focus, #routeView:focus-visible { outline: none; }
.skip-link { position: fixed; left: 12px; top: -80px; z-index: 10002; background: #111; color: #fff; padding: 12px; }
.skip-link:focus { top: 12px; }
.intro-active .audio-control { z-index: 10001; }
.intro-disclosure { position: absolute; bottom: 18px; left: 20px; max-width: min(60vw, 700px); font-size: 12px; color: #aaa; }
main { min-width: 0; }
.home-card { min-width: 0; }
.home-card p:not(.kicker) { color: #b4b4bd; line-height: 1.65; }
.nav-drop-menu { max-height: 75vh; overflow-y: auto; }
.nav-drop-btn.active { color: var(--red2); }
.lab-panel, .dc-card, .resource-card, .flow, .lookup-card { min-width: 0; overflow-wrap: anywhere; }
video, img { max-width: 100%; }
.quick-exit { top: auto; bottom: 70px; min-height: 44px; }
body { padding-bottom: 68px; }
@media (max-width: 900px) {
  .nav-menu { max-height: calc(100dvh - 78px); overflow-y: auto; }
  .nav-drop-btn, .nav-toggle, .lab-opt, .lab-chip, .chapter-btn, .audio-btn { min-height: 44px; }
  .page-h1 { overflow-wrap: anywhere; }
  .flow { overflow-x: auto; }
}
@media (max-width: 560px) {
  .intro-disclosure { bottom: 78px; left: 12px; max-width: calc(100vw - 24px); font-size: 10px; }
  .contact-grid, .pipe-stats { grid-template-columns: 1fr; }
  .section { padding-left: 18px; padding-right: 18px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }

/* file:// development guard */
html.file-protocol #app, html.file-protocol .nav, html.file-protocol #siteFooter, html.file-protocol .audio-control, html.file-protocol .quick-exit, html.file-protocol .intro-overlay, html.file-protocol #introOverlay { display: none !important; }
#fileGuard { position: fixed; inset: 0; z-index: 100000; display: grid; place-items: center; padding: 24px; background: radial-gradient(ellipse at 50% 0%, rgba(229,9,20,0.12), transparent 60%), #050506; }
#fileGuard .fg-card { width: min(620px, 100%); border: 1px solid var(--line); border-top: 3px solid var(--red); background: var(--bg3); padding: 40px 38px; text-align: left; }
#fileGuard .fg-kicker { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.24em; color: var(--red2); margin-bottom: 12px; }
#fileGuard .fg-title { font-size: clamp(1.6rem, 5vw, 2.4rem); font-weight: 900; letter-spacing: 0.02em; color: var(--white); margin-bottom: 18px; }
#fileGuard .fg-body { color: var(--muted); font-size: 0.98rem; line-height: 1.65; margin-bottom: 14px; }
#fileGuard code { font-family: var(--mono); color: var(--red2); background: #0d0d10; border: 1px solid var(--line); padding: 2px 6px; font-size: 0.85em; }
#fileGuard .fg-url { font-family: var(--mono); font-size: 1.05rem; color: var(--white); border: 1px solid var(--line); background: #0d0d10; padding: 14px 16px; margin-top: 18px; }

/* ===== EDITORIAL PASS COMPONENTS ===== */

/* long-form readable column */
.prose { max-width: 820px; }
.prose p { color: var(--muted); font-size: 1rem; line-height: 1.7; margin-bottom: 16px; }
.prose p:last-child { margin-bottom: 0; }
.prose b, .prose strong { color: var(--white); }
.prose h3 { font-size: 1.12rem; font-weight: 800; color: var(--white); margin: 30px 0 10px; letter-spacing: 0.01em; }
.prose .lead { font-size: 1.08rem; color: #c9c9d2; }

/* compact action / decision hub */
.action-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.action-card { display: block; text-decoration: none; background: var(--bg3); border: 1px solid var(--line); border-left: 2px solid var(--red); padding: 20px 22px; transition: border-color .15s, transform .15s, background .15s; }
.action-card:hover { border-color: var(--red); border-left-color: var(--red2); background: var(--bg2); transform: translateY(-2px); }
.action-card .kicker { margin-bottom: 8px; }
.action-card h3 { font-size: 1.02rem; font-weight: 800; color: var(--white); margin-bottom: 8px; letter-spacing: 0.01em; }
.action-card p { color: var(--muted); font-size: 0.87rem; line-height: 1.55; margin: 0; }
.action-card .go { display: inline-block; margin-top: 12px; font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.16em; color: var(--red2); }

/* trust signals */
.trust-strip { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 20px; }
.trust-strip span { font-family: var(--mono); font-size: 0.58rem; letter-spacing: 0.16em; color: #6d6d78; }
.last-verified { font-family: var(--mono); font-size: 0.58rem; letter-spacing: 0.14em; color: #5d5d68; margin-top: 10px; }

/* call-to-action row */
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 26px; }

/* compact resource directory cards */
.resource-card { padding: 20px 22px; }
.resource-card .resource-one { color: #c9c9d2; font-size: 0.92rem; line-height: 1.55; margin: 6px 0 12px; }
.resource-card .resource-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-bottom: 12px; }
.resource-card .resource-meta span { font-family: var(--mono); font-size: 0.58rem; letter-spacing: 0.13em; color: var(--muted); }
.resource-card .resource-meta .rv { color: var(--red2); }
.resource-card .resource-more { margin-top: 14px; border-top: 1px dashed var(--line); padding-top: 12px; }
.resource-card .resource-more summary { cursor: pointer; font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.16em; color: var(--red2); }
.resource-card .resource-more p { color: var(--muted); font-size: 0.86rem; line-height: 1.6; margin: 10px 0 0; }
.resource-card .resource-more p b { color: var(--white); }
.resource-card .resource-links { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 14px; }

@media (max-width: 560px) {
  .prose p { font-size: 0.98rem; }
  .action-grid { gap: 12px; }
}

.resource-card .resource-name { font-size: 1.3rem; margin: 6px 0 8px; }
.resource-card .resource-kind { margin-bottom: 2px; }

/* Discord data aggregation example */
.agg-figure { max-width: 1000px; margin: 26px auto 0; }
.agg-figure img { width: 100%; height: auto; display: block; border: 1px solid var(--line); background: #000; }
.agg-figure figcaption { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-top: 10px; }

/* OSINT self-audit + fictional demo */
.osint-audit { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 10px; margin: 16px 0; }
.osint-audit .lab-opt { text-align: left; padding: 12px 14px; }
.osint-note { color: #6d6d78; font-size: 0.82rem; }

/* intro educational simulation */
.tk-sim { margin-top: 18px; border-top: 1px dashed #2c2c33; padding-top: 14px; }
.tk-sim-banner { color: #FAA81A; font-weight: 800; letter-spacing: 0.2em; font-size: 0.72rem; }
.tk-sim-sub { color: #9a9aa4; font-size: 0.66rem; line-height: 1.5; margin-top: 5px; }
.tk-sim-panel { margin-top: 14px; border: 1px solid #26262c; background: rgba(255,255,255,0.02); padding: 12px 14px; }
.tk-sim-panel .tk-sim-head { color: #FAA81A; font-size: 0.62rem; letter-spacing: 0.18em; margin-bottom: 8px; }
.tk-sim-panel .sim-row { display: flex; justify-content: space-between; gap: 12px; font-size: 0.68rem; padding: 4px 0; border-bottom: 1px solid #1b1b20; }
.tk-sim-panel .sim-row:last-child { border-bottom: none; }
.tk-sim-panel .sim-k { color: #c9c9d2; }
.tk-sim-panel .sim-v { color: #FAA81A; text-align: right; }
.tk-sim-panel .sim-v.no { color: #7A7A84; }
.tk-sim-lesson { margin-top: 16px; }
.tk-sim-lesson .sim-big { color: #fff; font-weight: 800; font-size: 0.86rem; line-height: 1.5; margin-bottom: 8px; }
.tk-sim-lesson .sim-eq { color: #9a9aa4; font-size: 0.68rem; line-height: 1.7; margin-bottom: 8px; }
.tk-sim-lesson .sim-line { color: #c9c9d2; font-size: 0.74rem; line-height: 1.6; margin-top: 8px; }
.tk-sim-conf { color: #FAA81A; }
.conf-confirmed { color: #3BA55D; } .conf-likely { color: #FAA81A; } .conf-possible { color: #c9c9d2; } .conf-unverified { color: #7A7A84; }
.tk-sim-warn { margin-top: 16px; border-left: 2px solid #E50914; padding-left: 13px; }
.tk-sim-warn p { font-size: 0.72rem; line-height: 1.65; color: #c9c9d2; margin-bottom: 6px; }
.tk-sim-warn .warn-red { color: #E50914; font-weight: 800; }
.tk-sim-warn .warn-white { color: #fff; font-weight: 700; }

.footer-maintain { color: #5d5d68; font-size: 0.58rem; letter-spacing: 0.1em; line-height: 1.6; margin-top: 10px; }
.footer-maintain a { color: var(--red2); }

/* ===== WEHATESKIDS COMMUNITY ===== */
.community-section { scroll-margin-top: 104px; }
.community-headline {
  font-size: clamp(1.05rem, 3vw, 1.5rem);
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--red2);
  margin-top: 4px;
}
.community-callout {
  margin-top: 22px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--red);
  background: var(--bg2);
  padding: 18px 22px;
  color: var(--white);
  font-weight: 700;
  font-size: clamp(0.98rem, 2.2vw, 1.12rem);
  line-height: 1.5;
}
.community-topics-line {
  color: var(--red2);
  font-size: 0.64rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-top: 16px;
}
.community-subh { font-size: clamp(1.2rem, 3vw, 1.7rem); }
.community-topics {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 10px;
}
.community-topics li {
  background: var(--bg3);
  border: 1px solid var(--line);
  border-left: 2px solid var(--red);
  padding: 13px 15px;
  min-width: 0;
}
.community-topics .ct-name {
  display: block;
  font-weight: 800;
  color: var(--white);
  font-size: 0.86rem;
  letter-spacing: 0.01em;
}
.community-topics .ct-sub {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.45;
  margin-top: 4px;
}
.community-not {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 9px 24px;
  margin-top: 18px;
}
.community-not-2 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.community-warn {
  border: 1px solid var(--line);
  border-top: 3px solid var(--red);
  background: var(--bg2);
  padding: 26px;
  box-shadow: 0 0 40px rgba(229, 9, 20, 0.07);
}
.community-warn .prose, .community-warn .community-note { max-width: 880px; }
.community-note {
  margin-top: 20px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.65;
}
.community-signoff {
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  text-align: center;
}
.community-signoff-brand { font-weight: 900; letter-spacing: 0.1em; color: var(--white); font-size: 1rem; }
.community-signoff-line { color: var(--red2); font-size: 0.62rem; letter-spacing: 0.24em; text-transform: uppercase; margin-top: 6px; }
.community-signoff-url { color: var(--muted); font-size: 0.62rem; letter-spacing: 0.18em; margin-top: 4px; }
.community-mini {
  margin-top: 26px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--red);
  background: var(--bg3);
  padding: 18px 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
}
.community-mini-k { color: var(--red2); font-size: 0.6rem; letter-spacing: 0.22em; }
.community-mini-t { color: var(--white); font-size: 0.92rem; font-weight: 600; flex: 1; min-width: 200px; margin: 0; }
.community-mini .btn { flex: 0 0 auto; }
@media (max-width: 560px) {
  .community-warn { padding: 20px; }
  .community-mini .btn { width: 100%; }
}
