: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-col.weather {
  grid-column: 1 / -1;
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.tk-col.weather .tk-rows { display: grid; grid-template-columns: 1fr 1fr; gap: 0 34px; }

/* --- regional weather reveal (intro) --- */
.tk-weather { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); text-align: center; }
.tk-wx-kicker { color: var(--red2); font-size: 0.58rem; letter-spacing: 0.24em; }
.tk-wx-temp {
  font-size: clamp(2.6rem, 9vw, 4.6rem);
  font-weight: 900;
  line-height: 1;
  color: #fff;
  margin: 8px 0 4px;
  text-shadow: 0 0 34px rgba(229, 9, 20, 0.5);
}
.tk-wx-temp.flash { animation: tkrowflash 0.9s ease 1; }
.tk-wx-cond { color: var(--red2); font-weight: 900; letter-spacing: 0.18em; font-size: clamp(1rem, 4vw, 1.5rem); }
.tk-wx-area { color: var(--white); font-weight: 700; letter-spacing: 0.22em; font-size: clamp(0.78rem, 2.6vw, 1rem); margin-top: 5px; }
.tk-wx-reveal { animation: wxreveal 0.5s ease; }
@keyframes wxreveal { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.tk-wx-publick { margin-top: 20px; color: var(--red2); letter-spacing: 0.24em; font-size: 0.6rem; }
.tk-wx-q { color: #fff; font-weight: 800; font-size: clamp(0.95rem, 3vw, 1.25rem); margin: 5px 0; }
.tk-wx-strong { color: var(--red2); }
.tk-wx-p { color: #c9c9d2; font-size: 0.8rem; line-height: 1.6; margin: 7px auto; max-width: 660px; }
.tk-wx-sub { margin: 18px 0 6px; color: var(--red2); letter-spacing: 0.2em; font-size: 0.58rem; }
.tk-wx-chain { color: #fff; font-size: 0.68rem; letter-spacing: 0.04em; line-height: 1.6; }
.tk-wx-x { list-style: none; display: inline-flex; flex-direction: column; gap: 5px; text-align: left; margin: 0; padding: 0; }
.tk-wx-x li { color: #c9c9d2; font-size: 0.68rem; }
.tk-wx-slogan { margin-top: 20px; color: #fff; font-weight: 800; letter-spacing: 0.14em; font-size: 0.8rem; line-height: 1.65; }
.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;
  display: grid;
  place-items: center;
  background: #000;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.tk-art.on { opacity: 1; }
/* Full-bleed blurred backdrop fills any letterbox area on tall/narrow or
   ultrawide screens so the scene still reads as WEHATESKIDS without ever
   cropping the subject. */
.tk-art::before {
  content: "";
  position: absolute;
  inset: -8%;
  z-index: 0;
  background: url("images/lkcwehateskids.png") center / cover no-repeat;
  filter: blur(46px) brightness(0.30) saturate(1.15);
  transform: scale(1.05);
  pointer-events: none;
}
/* The real artwork is always fully visible: contained, never stretched,
   never cropped. On the 16:9 desktop reference this is still full-bleed. */
.tk-art-img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  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-rev-slogan { font-size: clamp(1.15rem, 4.4vw, 2.05rem); font-weight: 900; letter-spacing: 0.06em; line-height: 1.3; margin-top: 12px; }
.tk-rev-slogan .tk-rev-red { color: var(--red2); }
.tk-rev-slogan .tk-rev-white { color: #fff; }
.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-col.weather { grid-column: auto; }
  .tk-col.weather .tk-rows { grid-template-columns: 1fr; }
  .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; }
.row-v.hl { color: var(--red2); }

.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; }

/* --- 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; }
  .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; }

/* (removed: intro dox simulation — the Exposure Session stays focused on network/region/weather) */

.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%; }
}

/* ============================================================
   RESPONSIVE HARDENING — fluid 320px -> 3840px
   Continuous scaling only; no device-specific patches. Preserves the
   existing black/red/white system, artwork, animations and content.
   ============================================================ */

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html, body { max-width: 100%; }
img, video, svg, canvas { max-width: 100%; }

/* Overlay uses the dynamic viewport so mobile browser chrome never hides
   the intro, and falls back to vh where dvh is unsupported. */
.takeover { height: 100vh; height: 100dvh; }

/* Fixed bottom/edge controls clear the notch, Dynamic Island, home
   indicator and mobile browser chrome via safe-area insets. */
.audio-control {
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
}
.quick-exit {
  right: max(12px, env(safe-area-inset-right));
  bottom: calc(70px + env(safe-area-inset-bottom));
}
.toast { bottom: calc(30px + env(safe-area-inset-bottom)); }
.intro-disclosure {
  left: max(20px, env(safe-area-inset-left));
  bottom: calc(18px + env(safe-area-inset-bottom));
  max-width: min(70vw, 700px);
}
body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }

/* Nav respects side insets; stays compact on the smallest phones. */
.nav-inner {
  padding-left: max(28px, env(safe-area-inset-left));
  padding-right: max(28px, env(safe-area-inset-right));
}

/* Intro adapts to short viewports instead of clipping content. */
.tk-console { max-height: min(88vh, 88dvh); }
.tk-body { min-height: min(240px, 34dvh); }
.tk-reveal {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding-top: calc(env(safe-area-inset-top) + 4vh);
  padding-bottom: calc(env(safe-area-inset-bottom) + 4vh);
  gap: clamp(8px, 2.2vh, 14px);
}
.tk-threat {
  padding-left: max(8vw, env(safe-area-inset-left));
  padding-right: max(8vw, env(safe-area-inset-right));
  overflow-y: auto;
}

/* Modals scroll rather than clip on short screens. */
.cert-modal {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: calc(env(safe-area-inset-top) + 20px) 20px calc(env(safe-area-inset-bottom) + 20px);
}
.cert-close { top: calc(14px + env(safe-area-inset-top)); right: calc(14px + env(safe-area-inset-right)); }
.welcome {
  overflow-y: auto;
  padding: calc(env(safe-area-inset-top) + 20px) 20px calc(env(safe-area-inset-bottom) + 20px);
}

/* Long values can never force horizontal page scroll. */
.tk-row, .row, .dc-row, .cert-meta span, .community-mini-t { min-width: 0; }
.tk-rv, .row-v, .cert-name, .dc-user, .resource-card .inline-link, .footer-maintain { overflow-wrap: anywhere; }

@media (max-width: 560px) {
  .audio-control { right: max(10px, env(safe-area-inset-right)); bottom: max(10px, env(safe-area-inset-bottom)); }
  .intro-disclosure { bottom: calc(78px + env(safe-area-inset-bottom)); left: max(12px, env(safe-area-inset-left)); }
}
@media (max-width: 420px) {
  .nav-inner { padding-left: max(14px, env(safe-area-inset-left)); padding-right: max(14px, env(safe-area-inset-right)); gap: 12px; }
  .brand-logo { height: 48px; max-width: 150px; }
}

/* Short landscape phones (e.g. 844x390, 667x375): tighten the takeover so
   nothing is cut off and the artwork stays legible. */
@media (max-height: 560px) and (orientation: landscape) {
  .tk-console { width: min(940px, 78vw); max-height: min(94vh, 94dvh); }
  .tk-body { font-size: 0.72rem; line-height: 1.6; min-height: 0; padding: 12px 16px 4px; }
  .tk-statusbar { padding: 9px 14px; }
  .tk-reveal { gap: 6px; }
  .tk-rev-l1 { font-size: clamp(1.25rem, 5.2vw, 2.2rem); }
  .tk-rev-l2 { font-size: clamp(0.7rem, 1.9vw, 0.92rem); letter-spacing: 0.1em; }
  .tk-rev-l5 { font-size: clamp(0.86rem, 2.6vw, 1.15rem); margin-top: 2px; }
  .tk-reveal .btn { margin-top: 12px; padding: 11px 18px; }
  .cert-card { min-height: 0; aspect-ratio: auto; }
}

/* Large / ultrawide / 4K: use the space smoothly without inventing a
   different design or producing giant empty gutters. */
@media (min-width: 1600px) {
  .section, .page-head, .breadcrumbs { max-width: 1360px; }
  .nav-inner { max-width: 1480px; }
}
@media (min-width: 2000px) {
  html { font-size: 17px; }
  .section, .page-head, .breadcrumbs { max-width: 1580px; }
  .nav-inner { max-width: 1700px; }
}
@media (min-width: 2800px) {
  html { font-size: 18px; }
  .section, .page-head, .breadcrumbs { max-width: 1800px; }
  .nav-inner { max-width: 1900px; }
}

/* ============================================================
   SKID TERMINAL — free simulated educational sandbox
   Layering: background image -> dark overlay -> red vignette -> UI
   Existing black/red/white terminal language only.
   ============================================================ */
.skid-terminal {
  position: relative;
  isolation: isolate;
  background-color: #050506;
  background-image: url("images/skid-terminal-background.jpeg");
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  padding: 34px clamp(14px, 3vw, 40px) 46px;
  overflow: hidden;
}
.skid-terminal::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(120% 85% at 50% 6%, rgba(229, 9, 20, 0.18), transparent 55%),
    radial-gradient(90% 70% at 50% 100%, rgba(229, 9, 20, 0.08), transparent 60%),
    linear-gradient(180deg, rgba(2, 2, 2, 0.62), rgba(2, 2, 2, 0.80) 52%, rgba(2, 2, 2, 0.90));
}
.skid-terminal::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: repeating-linear-gradient(to bottom, rgba(255, 255, 255, 0.022) 0 1px, transparent 1px 3px);
  opacity: 0.5;
}
.skid-terminal > * { position: relative; z-index: 1; }

/* ============================================================
   ATTACK LAB — tabbed synthetic training workspace
   ============================================================ */
.attack-lab { padding-bottom: 54px; }
.atk-hero, .atk-tabs, .atk-workspace, .atk-foot { max-width: 1240px; margin-left: auto; margin-right: auto; }
.atk-hero { margin-bottom: 20px; }
.atk-title {
  font-family: var(--sans);
  font-size: clamp(2.1rem, 7vw, 4rem);
  font-weight: 900; letter-spacing: 0.02em; line-height: 1.02;
  color: var(--white);
  text-shadow: 0 0 26px rgba(229, 9, 20, 0.35);
}
.atk-sub { color: #c9c9d2; margin-top: 10px; font-size: clamp(1rem, 2.4vw, 1.2rem); max-width: 720px; }
.atk-global {
  margin-top: 16px;
  border: 1px solid var(--red);
  background: rgba(229, 9, 20, 0.08);
  color: var(--red2);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  line-height: 1.5;
  padding: 10px 12px;
}

.atk-tabs {
  display: flex;
  gap: 0;
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
  margin-bottom: 0;
  -webkit-overflow-scrolling: touch;
}
.atk-tab {
  flex: 0 0 auto;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  padding: 14px 16px;
  min-height: 46px;
  background: transparent;
  border: 1px solid var(--line);
  border-bottom: none;
  border-right: none;
  color: var(--muted);
  cursor: pointer;
  white-space: nowrap;
}
.atk-tab:last-child { border-right: 1px solid var(--line); }
.atk-tab:hover { color: var(--red2); }
.atk-tab.is-active { background: var(--red); border-color: var(--red); color: #fff; }

.atk-workspace { margin-top: 0; }
.atk-panel {
  background: rgba(5, 5, 7, 0.9);
  border: 1px solid var(--line);
  border-top: 2px solid var(--red);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.5);
}
.atk-chrome {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  background: rgba(10, 10, 12, 0.94);
}
.atk-dots { display: inline-flex; gap: 5px; flex: 0 0 auto; }
.atk-dots i { width: 9px; height: 9px; border-radius: 50%; background: #2a2a31; }
.atk-dots i:first-child { background: var(--red); }
.atk-chrome-title { flex: 1; min-width: 0; font-size: 0.75rem; letter-spacing: 0.14em; color: #b9b9c2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.atk-chrome-tag { flex: 0 0 auto; font-size: 0.75rem; letter-spacing: 0.12em; color: var(--red2); border: 1px solid var(--line); background: #0b0b0e; padding: 4px 8px; white-space: nowrap; }
.atk-body { padding: 16px; display: flex; flex-direction: column; gap: 14px; }
.atk-lede { color: var(--muted); font-size: 0.75rem; line-height: 1.6; margin: 0; }

/* output */
.atk-out-head { display: flex; justify-content: space-between; gap: 10px; font-size: 0.75rem; letter-spacing: 0.14em; color: #a0a0ab; border-bottom: 1px solid var(--line); padding-bottom: 6px; }
.atk-out {
  font-size: 0.75rem; line-height: 1.65; color: #c9c9d2;
  background: #070709; border: 1px solid var(--line);
  padding: 10px 12px; height: 200px; overflow-y: auto; overflow-wrap: anywhere;
}
.atk-out-tall { height: 250px; }
.atk-out-short { height: 140px; }
.atk-line { margin: 0; }
.atk-line-t { color: #96969F; margin-right: 6px; }
.atk-line.dim { color: #8b8b95; }
.atk-line.ok { color: #54d17a; }
.atk-line.warn { color: #FAA81A; }
.atk-k { color: #a0a0ab; }
.atk-v { color: var(--white); }
.atk-v.hl { color: var(--red2); }

.atk-shell { display: flex; flex-direction: column; gap: 0; border: 1px solid var(--line); background: #070709; padding: 12px; }
.atk-cmdline { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-top: none; background: #050506; padding: 8px 10px; }
.atk-prompt { flex: 0 0 auto; color: #3BA55D; font-size: 0.75rem; }
.atk-input { flex: 1; min-width: 0; background: transparent; border: none; outline: none; color: var(--white); font-family: var(--mono); font-size: 0.75rem; }
.atk-input::placeholder { color: #4a4a52; }
.atk-quick { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 10px; }
.atk-quick-k { color: #a0a0ab; font-size: 0.75rem; letter-spacing: 0.12em; margin-right: 4px; }

.atk-chip {
  font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.06em;
  padding: 9px 11px; min-height: 36px;
  border: 1px solid var(--line); background: transparent; color: var(--muted); cursor: pointer;
}
.atk-chip:hover { border-color: var(--red); color: var(--red2); }
.atk-chip.is-active { border-color: var(--red); color: var(--red2); background: rgba(229, 9, 20, 0.1); }
.atk-chip.danger { border-color: #7a1a1a; color: #ff6b6b; }
.atk-chip.danger:hover { background: rgba(229, 9, 20, 0.16); color: #fff; }
.atk-chip:disabled { opacity: 0.4; cursor: not-allowed; }
.atk-controls { display: flex; flex-wrap: wrap; gap: 8px; }

/* reality check */
.atk-reality { border-left: 2px solid var(--red); background: rgba(229, 9, 20, 0.05); padding: 12px 14px; }
.atk-reality-k { color: var(--red2); font-size: 0.75rem; letter-spacing: 0.16em; margin-bottom: 6px; }
.atk-reality-b { color: #c9c9d2; font-size: 0.75rem; line-height: 1.6; margin: 0; }
.atk-reality-b b { color: #fff; }

/* C2 banner */
.atk-c2-banner { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; border: 1px solid var(--line); background: #050506; padding: 14px; }
.atk-ascii { font-family: var(--mono); white-space: pre; overflow-x: auto; margin: 0; line-height: 1.04; }
.atk-ascii-lg { font-size: clamp(0.42rem, 1.35vw, 0.66rem); color: #c9c9d2; text-shadow: 0 0 10px rgba(229, 9, 20, 0.35); }
@media (max-width: 900px) {
  .atk-ascii-lg { font-size: clamp(0.3rem, 4vw, 0.5rem); }
}
.atk-c2-head { min-width: 180px; }
.atk-c2-head p { margin: 0 0 4px; font-size: 0.75rem; letter-spacing: 0.1em; color: #9a9aa4; }
.atk-c2-head span { color: var(--white); }
.atk-c2-head span.ok { color: #54d17a; }

/* tables */
.atk-tablewrap { overflow-x: auto; border: 1px solid var(--line); background: #070709; }
.atk-tablewrap-tall { max-height: 300px; overflow-y: auto; }
.atk-table { width: 100%; border-collapse: collapse; font-size: 0.75rem; white-space: nowrap; min-width: 720px; }
.atk-table th { text-align: left; color: #a0a0ab; font-weight: 600; letter-spacing: 0.08em; font-size: 0.75rem; padding: 7px 9px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: #070709; }
.atk-table td { padding: 6px 9px; border-bottom: 1px solid #131318; color: #c9c9d2; }
.atk-table td.ok { color: #54d17a; }
.atk-table td.warn { color: #FAA81A; }
.atk-table td.bad { color: #ff6b6b; }
.atk-agent-row { cursor: pointer; }
.atk-agent-row:hover td { background: rgba(229, 9, 20, 0.06); }
.atk-agent-row.is-selected td { background: rgba(229, 9, 20, 0.12); color: #fff; }

.atk-agent-detail { border: 1px solid var(--line); border-left: 2px solid var(--red); background: #070709; padding: 12px; display: flex; flex-direction: column; gap: 10px; }
.atk-field-k { color: #a0a0ab; font-size: 0.75rem; letter-spacing: 0.12em; margin: 0; }
.atk-grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 8px 18px; }
.atk-griditem { display: flex; flex-direction: column; gap: 3px; min-width: 0; border-bottom: 1px solid #131318; padding-bottom: 6px; }

/* views */
.atk-views { display: flex; flex-wrap: wrap; gap: 6px; }
.atk-view {
  font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.1em;
  padding: 9px 12px; min-height: 38px;
  border: 1px solid var(--line); background: transparent; color: var(--muted); cursor: pointer;
}
.atk-view:hover { border-color: var(--red); color: var(--red2); }
.atk-view.is-active { background: var(--red); border-color: var(--red); color: #fff; }
.atk-viewpanel { display: flex; flex-direction: column; gap: 12px; }

.atk-linkrow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.atk-link { color: var(--red2); font-size: 0.75rem; overflow-wrap: anywhere; }

.atk-fakepage { border: 1px dashed var(--line); background: #070709; padding: 14px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.atk-fake-title { color: #fff; font-size: 0.75rem; letter-spacing: 0.12em; margin: 0; }
.atk-fake-title .warn { color: var(--red2); font-size: 0.75rem; }
.atk-fake-body { color: var(--muted); font-size: 0.75rem; line-height: 1.6; margin: 0; }
.atk-hint { color: #a0a0ab; font-size: 0.75rem; margin: 0; }

.atk-request { border: 1px solid var(--line); border-left: 2px solid var(--red); background: #070709; padding: 12px; }
.atk-logentry { margin-top: 10px; }
.atk-logreq { color: #54d17a; font-size: 0.75rem; margin: 0 0 8px; overflow-wrap: anywhere; }
.atk-kv { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; border-bottom: 1px solid #131318; min-width: 0; }
.atk-kv .atk-k { font-size: 0.75rem; letter-spacing: 0.08em; }
.atk-kv .atk-v { font-size: 0.75rem; text-align: right; overflow-wrap: anywhere; }

.atk-findings { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; }
.atk-findcol { border: 1px solid var(--line); background: #070709; padding: 12px; }
.atk-findhead { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.12em; margin: 0 0 8px; }
.atk-findhead.ok { color: #54d17a; }
.atk-findhead.warn { color: #FAA81A; }
.atk-findhead.bad { color: #ff6b6b; }
.atk-findlist { list-style: none; display: flex; flex-direction: column; gap: 7px; margin: 0; padding: 0; }
.atk-findlist li { position: relative; padding-left: 15px; color: #b9b9c2; font-size: 0.75rem; line-height: 1.5; overflow-wrap: anywhere; }
.atk-findlist li::before { content: "\2192"; position: absolute; left: 0; color: var(--red2); }

.atk-fragments { border: 1px solid var(--line); background: #070709; padding: 12px; }
.atk-fragments-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 8px; margin: 8px 0 14px; }
.atk-frag { border: 1px solid var(--line); border-left: 2px solid var(--red); padding: 9px 11px; color: #c9c9d2; font-size: 0.75rem; }
.atk-frag b { display: block; color: #a0a0ab; font-size: 0.75rem; letter-spacing: 0.1em; margin-bottom: 4px; }
.atk-assembled { border-top: 1px dashed var(--line); padding-top: 10px; color: #c9c9d2; font-size: 0.75rem; }
.atk-assembled p { margin: 0 0 5px; }
.atk-assembled .atk-k { font-size: 0.75rem; letter-spacing: 0.12em; }
.atk-assembled .atk-v { color: var(--red2); }

.atk-phish { border: 1px solid var(--line); background: #0b0b0e; padding: 14px; }
.atk-phish-row { display: flex; flex-direction: column; gap: 4px; font-size: 0.75rem; letter-spacing: 0.1em; color: #a0a0ab; margin-bottom: 10px; }
.atk-phish-row input { font-family: var(--mono); background: #050506; border: 1px solid var(--line); color: #c9c9d2; padding: 8px; font-size: 0.75rem; }
.atk-phish-note { color: #96969F; font-size: 0.75rem; letter-spacing: 0.06em; margin: 0; }

/* dstat */
.atk-scenario { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; border: 1px solid var(--line); background: #050506; padding: 10px 12px; }
.atk-dstat-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 14px; align-items: start; }
.atk-dstat-main, .atk-dstat-side { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.atk-spark { color: var(--red2); font-size: 0.85rem; letter-spacing: 1px; background: #070709; border: 1px solid var(--line); padding: 8px 10px; margin: 0; overflow: hidden; white-space: nowrap; }
.atk-spark:empty::before { content: "awaiting samples..."; color: #4a4a52; font-size: 0.75rem; letter-spacing: 0.1em; }
.atk-compare { border: 1px solid var(--line); background: #070709; padding: 12px; }
.atk-claim { color: #ff6b6b; font-size: 0.75rem; }
.atk-obs { color: var(--white); font-size: 0.75rem; }
.atk-verdict { color: var(--red2); font-size: 0.75rem; line-height: 1.5; margin: 10px 0 0; }
.atk-mini { border: 1px solid var(--line); background: #070709; padding: 12px; }
.atk-terms { list-style: none; display: flex; flex-direction: column; gap: 6px; margin: 8px 0 0; padding: 0; }
.atk-terms li { color: #b9b9c2; font-size: 0.75rem; line-height: 1.5; }
.atk-terms b { color: var(--red2); }

.atk-foot { margin-top: 20px; color: #96969F; font-size: 0.75rem; letter-spacing: 0.06em; line-height: 1.7; text-align: center; }
.atk-global-1 { color: var(--red2); font-size: 0.75rem; letter-spacing: 0.22em; margin: 0; }
.atk-global-2 { color: #c9c9d2; font-size: 0.75rem; letter-spacing: 0.1em; margin: 6px 0 0; line-height: 1.5; }

/* categorized data (dox) + inspections (phishing) + source explanation (logger) */
.atk-doxpost { border: 1px solid #7a1a1a; border-left: 3px solid var(--red); background: rgba(229, 9, 20, 0.06); padding: 12px 14px; margin: 10px 0 14px; }
.atk-doxpost p { margin: 0 0 6px; color: #ff6b6b; font-size: 0.75rem; line-height: 1.55; letter-spacing: 0.04em; }
.atk-doxpost p:last-child { margin-bottom: 0; color: #fff; font-weight: 700; }
.atk-doxtable { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--line); }
.atk-doxrow { display: grid; grid-template-columns: 120px minmax(0, 1fr) 190px minmax(0, 1.2fr); gap: 4px 14px; padding: 8px 2px; border-bottom: 1px solid #131318; align-items: baseline; }
.atk-doxrow-k { color: #a0a0ab; font-size: 0.75rem; letter-spacing: 0.1em; }
.atk-doxrow-v { color: #fff; font-size: 0.75rem; overflow-wrap: anywhere; }
.atk-doxrow-n { color: #8b8b95; font-size: 0.75rem; line-height: 1.5; overflow-wrap: anywhere; }
.atk-cat { font-size: 0.75rem; letter-spacing: 0.08em; text-align: right; }
.atk-cat.ok { color: #54d17a; }
.atk-cat.warn { color: #FAA81A; }
.atk-cat.bad { color: #ff6b6b; }
.atk-cat.none { color: #a0a0ab; }
.atk-inspect { border: 1px solid var(--line); background: #070709; padding: 12px; margin-bottom: 12px; }
.atk-inspect .atk-kv .atk-v.bad { color: #ff6b6b; }
.atk-source { grid-column: 1 / -1; border: 1px solid var(--line); border-left: 2px solid var(--red); background: #070709; padding: 12px; margin-top: 12px; }
.atk-source p { color: #b9b9c2; font-size: 0.75rem; line-height: 1.6; margin: 6px 0 0; }
.atk-source .atk-findhead { margin-bottom: 4px; }
.atk-source .atk-findlist { margin-top: 6px; }
@media (max-width: 700px) {
  .atk-doxrow { grid-template-columns: 1fr; gap: 2px; padding: 10px 2px; }
  .atk-cat { text-align: left; }
}

@media (max-width: 900px) {
  .atk-dstat-grid { grid-template-columns: 1fr; }
  .atk-body { padding: 13px; }
  .atk-out { height: 180px; }
}
@media (max-width: 560px) {
  .atk-ascii-lg { display: block; font-size: clamp(0.16rem, 3vw, 0.31rem); overflow-x: auto; }
  .atk-c2-banner { gap: 10px; }
  .atk-title { font-size: 2rem; }
  .atk-table { min-width: 640px; }
  .atk-tab { padding: 12px 11px; font-size: 0.75rem; }
  .atk-global { font-size: 0.75rem; }
}

/* ===== BOOTER / DSTAT TRAINING ===== */
.atk-target, .atk-cmdlesson, .atk-home, .atk-mitigation, .atk-job, .atk-botnet, .atk-joblink {
  border: 1px solid var(--line); background: #070709; padding: 12px;
}
.atk-flow { margin: 12px 0 0; color: var(--red2); font-size: 0.75rem; letter-spacing: 0.04em; line-height: 1.6; overflow-wrap: anywhere; }
.atk-job .atk-grid2, .atk-botnet .atk-grid2, .atk-joblink .atk-grid2 { margin-top: 10px; }
.atk-botnet .atk-grid2 { margin-bottom: 10px; }
.atk-regions { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 4px 20px; border-top: 1px dashed var(--line); padding-top: 10px; }
.atk-region { display: flex; justify-content: space-between; gap: 10px; }
.atk-region-k { color: #a0a0ab; font-size: 0.75rem; letter-spacing: 0.08em; }
.atk-region-v { color: var(--white); font-size: 0.75rem; }
.atk-target-grid { margin-top: 10px; }
.atk-cmdhelp { margin: 10px 0; padding: 10px 12px; background: #050506; border: 1px solid var(--line); border-left: 2px solid var(--red); color: #fff; font-size: 0.75rem; }
.atk-cmdlesson .atk-cmdline { margin: 0; }
.atk-legend { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 4px 18px; margin-top: 10px; }
.atk-legend span { color: #8b8b95; font-size: 0.75rem; }
.atk-legend b { color: var(--red2); }
.atk-cmdlesson .atk-out { margin-top: 10px; }
.atk-teach { display: flex; flex-wrap: wrap; gap: 6px; }
.atk-teachbox { margin: 10px 0 0; color: #c9c9d2; font-size: 0.75rem; line-height: 1.6; }
.atk-split-head { margin-top: 12px; }
.atk-home-grid { margin: 10px 0; }
.atk-home-cap { color: #fff; font-size: 0.8rem; font-weight: 700; }
.atk-home-load { color: var(--red2); font-size: 0.8rem; font-weight: 700; }
.atk-home-bar { height: 12px; background: #131318; border: 1px solid var(--line); overflow: hidden; }
.atk-home-bar span { display: block; height: 100%; width: 2%; background: linear-gradient(90deg, #3BA55D, var(--red2)); transition: width 0.4s linear; }
.atk-home-problem { color: var(--red2); font-size: 0.75rem; letter-spacing: 0.16em; margin: 12px 0 4px; }
.atk-home-text { color: #b9b9c2; font-size: 0.75rem; line-height: 1.6; margin: 0 0 8px; }
.atk-home-tag { color: #fff; font-size: 0.75rem; letter-spacing: 0.1em; font-weight: 700; margin: 0; }
.atk-mitigation .atk-controls { margin: 10px 0; }
.atk-mitigation .atk-out { height: auto; }
.atk-reality-slogan { margin: 12px 0 0; color: #fff; font-weight: 800; letter-spacing: 0.12em; font-size: 0.75rem; }
.atk-chip.is-on, .btn.is-on { background: var(--red); border-color: var(--red); color: #fff; }

/* Final presentation pass: shared terminal rhythm and readable education. */
:root { color-scheme: dark; }
:focus-visible { outline: 2px solid var(--red2); outline-offset: 4px; }
.btn { min-height: 44px; line-height: 1.4; text-align: center; }
.nav-drop-menu a { padding: 8px 10px; line-height: 1.5; }
.nav-drop-menu a:hover { background: var(--bg3); }
.footer-maintain { max-width: 760px; margin: 18px auto; padding: 0 20px; font-size: .75rem; line-height: 1.7; }
.skid-terminal::before { background: linear-gradient(180deg, rgba(2,2,2,.86), rgba(2,2,2,.96) 620px); }
.skid-terminal::after { opacity: .12; }
.attack-lab { --line: #29292f; }
.atk-hero { display: grid; grid-template-columns: minmax(0,1fr) auto; column-gap: 24px; }
.atk-hero > :not(.atk-brand-logo) { grid-column: 1; }
.atk-hero .atk-global { grid-column: 1 / -1; }
.atk-brand-logo { width: 150px; height: auto; object-fit: contain; }
.atk-hero > .atk-brand-logo { grid-column: 2; grid-row: 1 / 4; align-self: center; }
.atk-title { font-size: clamp(2rem, 4.5vw, 3.25rem); text-shadow: none; }
.atk-hero .kicker { margin-bottom: 10px; }
.atk-global { border-color: var(--line); border-left: 2px solid var(--red); background: #0d090a; }
.atk-global-1 { letter-spacing: .12em; }
.atk-global-2 { letter-spacing: .04em; }
.atk-tabs { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); overflow: visible; background: #08080a; }
.atk-tab { white-space: normal; letter-spacing: .06em; padding: 14px 8px; }
.atk-chrome { min-height: 50px; padding: 12px 16px; }
.atk-chrome-title { white-space: normal; line-height: 1.5; letter-spacing: .08em; }
.atk-chrome-tag { letter-spacing: .06em; }
.atk-body { padding: clamp(14px,2vw,24px); gap: 18px; }
.atk-body > *, .atk-c2-banner > *, .atk-grid2 > * { min-width: 0; }
.atk-lede, .atk-reality-b, .atk-fake-body, .atk-home-text, .atk-teachbox, .atk-source p { font-size: .875rem; line-height: 1.75; }
.atk-findlist li, .atk-terms li, .atk-doxrow-n, .atk-verdict { font-size: .8125rem; line-height: 1.65; }
.atk-reality, .atk-source { border: 1px solid var(--line); border-left: 3px solid var(--red); padding: 18px 20px; background: #11090b; }
.atk-reality-k, .atk-findhead { font-weight: 600; letter-spacing: .1em; }
.atk-out-head { flex-wrap: wrap; align-items: baseline; padding-bottom: 10px; letter-spacing: .07em; }
.atk-out { font-size: .8125rem; scrollbar-width: thin; }
.atk-out-short { height: 110px; }
.atk-input { font-size: .875rem; min-height: 44px; }
.atk-input::placeholder { color: var(--muted); }
.atk-cmdline:focus-within { border-color: var(--red2); }
.atk-chip, .atk-view { min-height: 44px; letter-spacing: .04em; }
.atk-c2-banner { gap: 24px; padding: 20px; }
.atk-ascii { max-width: 100%; overflow: visible; flex-shrink: 0; }
.atk-c2-head { flex: 1 1 360px; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px 24px; }
.atk-c2-head p { margin: 0; font-size: .75rem; letter-spacing: .05em; }
.atk-c2-head p:first-child { grid-column: 1 / -1; color: var(--white); font-weight: 600; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.atk-c2-head span { display: block; font-size: 1rem; font-variant-numeric: tabular-nums; }
.atk-grid2 > div { display: flex; flex-direction: column; gap: 4px; }
.atk-field-k { display: block; letter-spacing: .07em; }
.atk-v, .atk-claim, .atk-obs { font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.atk-grid2 .atk-v { font-size: .9375rem; }
.atk-tablewrap { max-width: 100%; scrollbar-width: thin; }
.atk-table th, .atk-table td { padding: 10px 12px; }
.atk-kv { align-items: baseline; gap: 16px; padding: 8px 0; }
.atk-kv .atk-k { flex: 1; }
.atk-kv .atk-v { flex: 1; font-size: .8125rem; }
.atk-findings { grid-template-columns: repeat(auto-fit,minmax(min(100%,250px),1fr)); }
.atk-findcol { padding: 16px; }
.atk-doxrow { grid-template-columns: 110px minmax(0,1fr) 180px minmax(0,1.2fr); padding: 12px 0; }
.atk-cmdhelp { white-space: pre-wrap; overflow-wrap: anywhere; }
.atk-reality-slogan { font-size: 1rem; letter-spacing: .06em; }
.tk-rev-l1 { font-size: clamp(1.5rem,4vw,2.7rem); }
.tk-rev-slogan { font-size: clamp(1.65rem,4.5vw,3.25rem); letter-spacing: .025em; }
.tk-wx-temp { font-size: clamp(3rem,9vw,5rem); }
.tk-wx-kicker, .tk-wx-publick, .tk-wx-sub, .tk-wx-chain, .tk-wx-x li { font-size: .75rem; }
.tk-wx-p { font-size: .875rem; }
@media (max-width: 900px) {
  .atk-c2-head { flex-basis: 100%; }
  .atk-doxrow { grid-template-columns: 1fr 1fr; gap: 6px 16px; }
  .atk-doxrow-n { grid-column: 1 / -1; }
  .atk-cat { text-align: left; }
}
@media (max-width: 560px) {
  .atk-hero { column-gap: 12px; }
  .atk-brand-logo { width: 92px; }
  .atk-hero > .atk-brand-logo { width: 80px; grid-row: 1 / 3; }
  .atk-hero .atk-sub { grid-column: 1 / -1; font-size: 1rem; }
  .atk-tabs { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .atk-tab { font-size: .75rem; padding: 12px 6px; border-bottom: 1px solid var(--line); }
  .atk-dots { display: none; }
  .atk-chrome { padding: 12px; gap: 8px; }
  .atk-cmdline { flex-wrap: wrap; }
  .atk-prompt { flex-basis: 100%; }
  .atk-input { flex-basis: 100%; font-size: 1rem; }
  .atk-cmdline .btn { width: 100%; }
  .atk-c2-banner { gap: 16px; padding: 14px; }
  .atk-c2-head { gap: 12px; }
  .atk-reality, .atk-source { padding: 16px; }
  .atk-doxrow { grid-template-columns: 1fr; }
  .atk-out-short { height: 110px; }
  .tk-reveal { padding-bottom: 100px; }
}

/* ============================================================
   Polish pass 2 — identity block, tab rhythm, terminal chrome
   ============================================================ */
.atk-brand-logo { filter: drop-shadow(0 0 18px rgba(229, 9, 20, 0.18)); }
.atk-hero > .atk-brand-logo { width: 138px; }
.atk-c2-banner { align-items: center; }
.atk-ascii-lg { color: #b9b9c2; text-shadow: 0 0 7px rgba(229, 9, 20, 0.22); }
.atk-c2-head { align-self: center; }
.atk-c2-head p:first-child { letter-spacing: .1em; }

/* tabs: 6-up desktop, 3-up tablet/mobile; active is never clipped */
@media (max-width: 820px) {
  .atk-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .atk-tab { border-bottom: 1px solid var(--line); }
}
.atk-tab:focus-visible { position: relative; z-index: 2; }

/* terminal scrollbars: thin, on-brand, no bright track */
.atk-out, .atk-tablewrap, .atk-tablewrap-tall, .nav-drop-menu { scrollbar-width: thin; scrollbar-color: #3a3a42 #0b0b0e; }
.atk-out::-webkit-scrollbar, .atk-tablewrap::-webkit-scrollbar, .atk-tablewrap-tall::-webkit-scrollbar { width: 9px; height: 9px; }
.atk-out::-webkit-scrollbar-track, .atk-tablewrap::-webkit-scrollbar-track, .atk-tablewrap-tall::-webkit-scrollbar-track { background: #0b0b0e; }
.atk-out::-webkit-scrollbar-thumb, .atk-tablewrap::-webkit-scrollbar-thumb, .atk-tablewrap-tall::-webkit-scrollbar-thumb { background: #3a3a42; border: 2px solid #0b0b0e; }
.atk-out::-webkit-scrollbar-thumb:hover, .atk-tablewrap::-webkit-scrollbar-thumb:hover { background: #55555f; }

/* monitor box shouldn't look empty at idle */
.atk-tablewrap-tall { max-height: 260px; }
#atkC2Log { height: 168px; }

/* consistent control feedback */
.atk-chip:hover, .atk-view:hover { background: #14111a; }
.atk-chip:disabled, .atk-view:disabled { opacity: .45; cursor: not-allowed; }
.atk-cmdhelp { font-size: .8125rem; }
.atk-flow { font-size: .8125rem; }
.atk-legend span { font-size: .8125rem; }
.atk-hint { font-size: .8125rem; }
.atk-quick-k { font-size: .8125rem; }

/* ============================================================
   Polish pass 3 — idle terminal copy + floating-control clearance
   ============================================================ */

/* Empty logs introduce themselves, then the copy disappears the moment
   real output is appended (CSS-only; no duplicated markup, no JS state). */
#atkCmdOut:empty::before,
#atkPullerOut:empty::before {
  display: block;
  white-space: pre-line;
  color: #6b6b76;
  font-family: var(--mono);
  font-size: .8125rem;
  line-height: 1.65;
  pointer-events: none;
}
#atkCmdOut:empty::before { content: "> CONTROL NODE READY\A > WAITING FOR TRAINING JOB"; }
#atkPullerOut:empty::before { content: "> PULLER READY\A > ENTER /search <discord-id>"; }

/* Site-wide fixed controls must not cover the end of the content.
   Reserve room equal to their height + offset, then shrink them on short
   viewports so the reserved space (and the controls) stay proportionate. */
body { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
@media (max-height: 860px) {
  body { padding-bottom: calc(78px + env(safe-area-inset-bottom)); }
  .audio-control { padding: 6px 9px; gap: 8px; bottom: max(12px, env(safe-area-inset-bottom)); }
  .audio-btn { min-height: 38px; font-size: .56rem; padding: 6px 9px; }
  .audio-vol { width: 76px; }
}
@media (max-height: 680px) {
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .audio-control { padding: 4px 7px; gap: 6px; bottom: max(8px, env(safe-area-inset-bottom)); }
  .audio-btn { min-height: 32px; font-size: .54rem; padding: 4px 8px; }
  .audio-vol { width: 60px; }
}
/* Narrow screens: keep the two controls from meeting/overlapping. */
@media (max-width: 430px) {
  .audio-vol { width: 54px; }
}


/* ============================================================
   Sources & further reading — consistent verify-it component
   ============================================================ */
.sources { margin-top: 20px; border: 1px solid var(--line); border-top: 2px solid var(--red); background: var(--bg3); padding: 20px 22px; }
.sources-k { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.2em; color: var(--red2); margin: 0 0 6px; }
.sources-note { color: var(--muted); font-size: 0.8rem; margin: 0 0 14px; }
.sources-list { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 6px 20px; margin: 0; padding: 0; }
.sources-list li { font-size: 0.82rem; color: var(--muted); position: relative; padding-left: 14px; }
.sources-list li::before { content: "\2192"; position: absolute; left: 0; color: var(--red2); }
.sources-list a { color: var(--red2); text-decoration: none; border-bottom: 1px solid rgba(229,9,20,0.35); overflow-wrap: anywhere; }
.sources-list a:hover { color: var(--white); }
.sources-list b { color: var(--white); }
@media (max-width: 560px) { .sources { padding: 16px; } }

/* ============================================================
   Claim -> reality teaching strip (WHAT THEY CLAIM / WHAT'S REAL)
   ============================================================ */
.claim-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 14px; }
.claim-col { background: var(--bg3); padding: 18px 20px; }
.claim-col p { font-size: 0.9rem; line-height: 1.65; color: var(--muted); margin: 0; }
.claim-col p + p { margin-top: 10px; }
.claim-k { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.18em; margin: 0 0 10px; }
.claim-col.claim-what { border-left: 2px solid #6a6a74; }
.claim-col.claim-what .claim-k { color: #9a9aa4; }
.claim-col.claim-real { border-left: 2px solid var(--red); }
.claim-col.claim-real .claim-k { color: var(--red2); }
.claim-col b { color: var(--white); }
@media (max-width: 700px) { .claim-grid { grid-template-columns: 1fr; } }

/* ============================================================
   Accounts / dashboard / knowledge check
   ============================================================ */
.acct-wrap { max-width: 860px; margin: 0 auto; }
.acct-card { border: 1px solid var(--line); background: var(--bg3); padding: 24px; margin: 18px 0; }
.acct-card h3 { font-size: 1rem; letter-spacing: .04em; margin: 0 0 14px; }
.acct-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.acct-row:last-child { border-bottom: none; }
.acct-k { font-family: var(--mono); font-size: .66rem; letter-spacing: .16em; color: var(--muted); }
.acct-v { font-weight: 700; color: var(--white); }
.acct-st { font-family: var(--mono); font-size: .66rem; letter-spacing: .14em; padding: 3px 9px; border: 1px solid var(--line); }
.acct-st.locked { color: var(--muted); }
.acct-st.available { color: #fff; border-color: var(--red); background: rgba(229,9,20,.14); }
.acct-st.done { color: var(--red2); border-color: var(--red); }
.acct-hubs { list-style: none; margin: 0; padding: 0; }
.acct-hubs li { display: flex; justify-content: space-between; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
.acct-hubs li:last-child { border-bottom: none; }
.acct-hubs .num { font-family: var(--mono); font-size: .68rem; color: var(--muted); margin-right: 10px; }
.acct-hubs .dot { color: var(--muted); font-family: var(--mono); font-size: .7rem; white-space: nowrap; }
.acct-hubs .dot.on { color: var(--red2); }
.acct-form { display: flex; gap: 10px; flex-wrap: wrap; align-items: flex-end; margin-top: 8px; }
.acct-form .acct-input { flex: 1; min-width: 220px; }
.acct-input {
  width: 100%; background: var(--bg2); border: 1px solid var(--line); color: var(--white);
  padding: 12px 14px; font-family: var(--mono); font-size: .84rem; letter-spacing: .04em;
}
.acct-input:focus { outline: 2px solid var(--red2); outline-offset: 1px; }
.acct-note { color: var(--muted); font-size: .84rem; line-height: 1.6; }
.acct-note a { color: var(--red2); }
.acct-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.acct-danger { border-color: #6a1a1f; }
.acct-msg { font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; color: var(--red2); min-height: 1.1em; margin-top: 10px; }
.kc-subject { font-family: var(--mono); font-size: .6rem; letter-spacing: .18em; color: var(--red2); margin: 0 0 8px; }
.kc-q { border: 1px solid var(--line); background: var(--bg3); padding: 18px 20px; }
.kc-q.ok { border-left: 2px solid #2f8f4e; }
.kc-q.bad { border-left: 2px solid var(--red); }
.kc-opt { display: block; width: 100%; text-align: left; margin-top: 8px; }
.kc-result { font-family: var(--mono); font-size: .8rem; letter-spacing: .1em; margin-top: 16px; }
.kc-result.pass { color: #57c67a; }
.kc-result.fail { color: var(--red2); }
@media (max-width: 560px) { .acct-form .btn { width: 100%; } }

/* Small phones: keep the fixed sound control compact so it covers as little
   page content as possible. Touch target height is preserved elsewhere. */
@media (max-width: 560px) {
  .audio-control { right: 8px; bottom: 8px; padding: 4px 8px; gap: 6px; max-width: 64vw; }
  .audio-btn { font-size: 0.5rem; padding: 6px 8px; letter-spacing: 0.08em; }
  .audio-vol { width: 40px; }
}

/* ============================================================
   Real Scenario — LKC dox case study (redacted reconstruction)
   ============================================================ */
.dox-panel { border: 1px solid var(--line); border-top: 2px solid var(--red); background: var(--bg2); max-width: 760px; }
.dox-panel-head { padding: 18px 20px 12px; border-bottom: 1px solid var(--line); }
.dox-panel-k { font-size: 0.66rem; letter-spacing: 0.24em; color: var(--red2); margin: 0 0 4px; }
.dox-panel-sub { font-size: 0.58rem; letter-spacing: 0.18em; color: var(--muted); margin: 0; }
.dox-line { display: flex; gap: 16px; align-items: baseline; padding: 12px 20px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.dox-k { flex: 0 0 150px; font-size: 0.66rem; letter-spacing: 0.14em; color: var(--muted); }
.dox-v { font-weight: 700; color: var(--white); }
.dox-v.redact { color: #8a8a94; background: #141418; border: 1px dashed #3A3A44; padding: 3px 8px; letter-spacing: 0.1em; }
.dox-panel-foot { padding: 16px 20px; }
.dox-panel-foot p { font-size: 0.62rem; letter-spacing: 0.2em; color: var(--red2); margin: 0; }
.dox-panel-foot p + p { color: var(--muted); margin-top: 4px; }

.source-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.source-tags span { font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.12em; color: var(--muted); border: 1px solid var(--line); background: var(--bg2); padding: 7px 11px; }

.case-fields { display: flex; flex-direction: column; gap: 10px; }
.case-field { border: 1px solid var(--line); border-left: 3px solid var(--red); background: var(--bg3); }
.case-field > summary { display: flex; align-items: center; gap: 12px; padding: 14px 18px; cursor: pointer; list-style: none; flex-wrap: wrap; }
.case-field > summary::-webkit-details-marker { display: none; }
.case-field > summary::after { content: "+"; margin-left: auto; font-family: var(--mono); color: var(--red2); font-size: 1rem; }
.case-field[open] > summary::after { content: "\2013"; }
.case-field > summary:hover { background: var(--bg2); }
.cf-field { font-size: 0.72rem; letter-spacing: 0.12em; color: var(--white); font-weight: 700; }
.cf-class { font-size: 0.58rem; letter-spacing: 0.14em; color: var(--muted); }
.cf-risk { font-size: 0.58rem; letter-spacing: 0.12em; }
.cf-risk.risk-high { color: var(--red2); }
.cf-risk.risk-med { color: #d7a24a; }
.cf-risk.risk-low { color: #6f9f6f; }
.cf-body { padding: 4px 18px 18px; border-top: 1px dashed var(--line); }
.cf-row { color: var(--muted); font-size: 0.88rem; line-height: 1.6; margin: 10px 0 0; }
.cf-row b { display: block; font-family: var(--mono); font-size: 0.56rem; letter-spacing: 0.16em; color: var(--red2); margin-bottom: 2px; }

.steps { display: flex; flex-direction: column; gap: 14px; }
.step-row { display: flex; gap: 16px; align-items: flex-start; border: 1px solid var(--line); background: var(--bg3); padding: 18px 20px; }
.step-row .steps-num { font-size: 1.1rem; color: var(--red2); margin: 0; flex: 0 0 auto; }
.step-row .card-h { margin: 0 0 6px; }
.step-row .lab-p { margin: 0; }
@media (max-width: 560px) {
  .dox-k { flex: 0 0 100%; }
  .case-field > summary { gap: 8px; }
}

/* ============ NAV DROPDOWN VIEWPORT SAFETY + ACCOUNT MENU ============ */
/* Menus size to content but can never exceed the viewport or clip labels. */
.nav-drop-menu {
  width: max-content;
  max-width: calc(100vw - 24px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 18px;
}
.nav-drop-menu a.nav-link { white-space: normal; overflow-wrap: anywhere; }
.nav-drop-menu--account { grid-template-columns: 1fr; min-width: 220px; }
.nav-link-btn {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--muted);
  padding: 8px 10px;
}
.nav-link-btn:hover { color: var(--red2); background: var(--bg3); }
.nav-link-btn.active { color: var(--red2); }
@media (max-width: 900px) {
  .nav-drop-menu { width: auto; max-width: none; grid-template-columns: 1fr; }
  .nav-drop-menu--account { min-width: 0; }
  .nav-drop-menu a.nav-link, .nav-drop-menu .nav-link-btn { display: block; width: 100%; }
  .nav-link-btn { padding: 15px 24px 15px 36px; border-bottom: 1px solid var(--line); }
}

/* ============ CASE EVIDENCE (redacted real-incident recreation) ============ */
.evidence-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 22px; }
.evidence-tags span { font-family: var(--mono); font-size: 0.58rem; letter-spacing: 0.14em; color: var(--white); border: 1px solid var(--red); background: rgba(229,9,20,0.08); padding: 7px 11px; }
.evidence-tags span.warn { border-color: #d7a24a; color: #d7a24a; background: rgba(215,162,74,0.08); }
.redact-bar {
  display: inline-block;
  height: 0.95em;
  min-width: 120px;
  vertical-align: middle;
  background: repeating-linear-gradient(90deg, #26262c 0, #26262c 6px, #1a1a1f 6px, #1a1a1f 12px);
  border: 1px solid #3a3a44;
}
.redact-bar.w-sm { min-width: 84px; }
.redact-bar.w-lg { min-width: 190px; }

/* Shared visual system — editorial learning, restrained technical chrome. */
:root {
  --bg: #080808;
  --bg2: #101010;
  --bg3: #161616;
  --line: #303030;
  --white: #f3f1ed;
  --muted: #b0afac;
  --red: #d81924;
  --red2: #ff525c;
  --display: "Space Grotesk", var(--sans);
  --space-1: 8px;
  --space-2: 12px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 32px;
  --space-6: 48px;
  --space-7: 64px;
  --space-8: 96px;
  --content: 1200px;
  --gutter: clamp(20px, 4vw, 48px);
}
body { font-size: 16px; line-height: 1.7; }
h1, h2, h3, h4, .h2, .card-h, .fm-line, .fm-brand, .tk-rev-slogan {
  font-family: var(--display); font-weight: 700; letter-spacing: -.025em;
}
.page-h1, .hero-h1, .action-card h3, .welcome-title, .acct-card h3 { font-weight: 700; }
.page-h1, .hero-h1 { font-size: clamp(2.5rem, 5.2vw, 4.5rem); line-height: 1.05; letter-spacing: -.045em; max-width: 20ch; margin-bottom: var(--space-4); text-wrap: balance; overflow-wrap: anywhere; }
.h2 { font-size: clamp(1.8rem, 3.1vw, 2.6rem); line-height: 1.15; margin-bottom: var(--space-3); text-wrap: balance; }
.card-h, .steps h3, .acct-card h3, .prose h3 { font-size: 1.2rem; line-height: 1.3; }
.kicker, .card-label, .claim-k, .myth-k, .note-lead, .sources-k, .acct-k {
  font-family: var(--sans); font-size: .75rem; font-weight: 600; letter-spacing: .14em; line-height: 1.5;
}
.kicker { margin-bottom: var(--space-3); }
.section, .page-head, .breadcrumbs, .nav-inner { max-width: var(--content); padding-left: var(--gutter); padding-right: var(--gutter); }
.section { padding-top: var(--space-7); padding-bottom: var(--space-7); }
.page-head { padding-top: var(--space-7); padding-bottom: var(--space-5); }
.section-head { max-width: 760px; margin-bottom: var(--space-5); }
.page-lede, .hero-lede { font-size: clamp(1.0625rem, 1.4vw, 1.25rem); line-height: 1.65; max-width: 62ch; }
.prose, .lab-p, .about-text, .section > .sub { max-width: 70ch; }
.prose p, .lab-p, .card > p:not(.card-label), .home-card p, .action-card > p:not(.kicker), .ul-check li, .ul-x li, .steps p, .split-col p, .note-box p:not(.note-lead), .claim-col p:not(.claim-k), .myth-r, .myth-item .myth-r, .acct-note { font-size: 1rem; line-height: 1.75; }
.lab-p.mono { font-family: var(--mono); font-size: .875rem; }
.h3-sub { font-size: 1.4rem; margin-top: var(--space-6); padding-top: var(--space-4); }
.chapter-btn { font-family: var(--sans); padding: 16px; background: transparent; border: 0; border-bottom: 1px solid var(--line); }
.chapter-title { font-size: 1rem; line-height: 1.6; }
.chapter-time { font-size: .75rem; }
.breadcrumbs { font-family: var(--sans); font-size: .75rem; letter-spacing: .03em; padding-top: var(--space-4); }
.breadcrumbs span { color: var(--muted); }
.loud, .bars p { font-family: var(--display); letter-spacing: .015em; }
.loud { color: var(--white); font-size: 1.125rem; margin-top: var(--space-5); }
.grid, .home-cards, .action-grid, .steps, .split { gap: var(--space-4); }
.card, .home-card, .action-card, .acct-card, .split-col, .kc-q { border-radius: 4px; padding: var(--space-4); background: var(--bg2); box-shadow: none; }
.home-card:hover, .action-card:hover { background: var(--bg3); transform: none; border-color: #686868; }
.action-card { display: flex; flex-direction: column; }
.action-card .go { margin-top: auto; padding-top: var(--space-4); font-size: .6rem; letter-spacing: .14em; white-space: nowrap; }
.action-card h3 { font-family: var(--display); font-size: 1.4rem; line-height: 1.2; letter-spacing: -.025em; }
.card-note { color: var(--muted) !important; font-size: .875rem !important; }
.home-cards .home-card { background: transparent; border: 0; border-top: 1px solid var(--line); border-radius: 0; padding: var(--space-4) 0; }
.steps li { background: transparent; border: 0; border-top: 1px solid var(--line); padding: var(--space-4) 0; }
.note-box, .atk-reality { background: var(--bg2); border: 0; border-left: 2px solid var(--red); padding: var(--space-4); }
.note-lead { color: var(--white); }
.claim-grid { margin-top: var(--space-4); }
.claim-col { padding: var(--space-4); background: var(--bg2); }
.claim-col .claim-k { font-size: .75rem; font-weight: 600; }
.claim-col.claim-real .claim-k { color: var(--white); }
.myth-feature { background: transparent; border: 0; border-left: 2px solid var(--red); padding: var(--space-4); }
.myth-item { background: var(--bg2); padding: var(--space-4); }
.sources { background: transparent; border: 0; border-top: 1px solid var(--line); padding: var(--space-4) 0; margin-top: var(--space-5); }
.sources-note, .sources-list li { font-size: .875rem; }
.sources-list a { color: var(--white); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 20px; border-radius: 3px; font-size: .75rem; font-weight: 700; letter-spacing: .08em; line-height: 1.5; text-align: center; text-decoration: none; white-space: normal; }
.btn-sm { min-height: 44px; padding: 10px 16px; }
.btn-primary:hover { background: #b9131d; }
.btn-ghost, .btn-outline { background: var(--bg2); border-color: #484848; color: var(--white); }
.btn-ghost:hover, .btn-outline:hover { background: #202020; color: var(--white); border-color: var(--red); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--red2); outline-offset: 4px; }
.nav-inner { gap: var(--space-4); }
.brand-logo { height: 60px; max-width: 180px; filter: none; }
.nav-menu { gap: 20px; }
.nav-menu a.nav-link, .nav-drop-btn, .nav-link-btn { font-size: .75rem; letter-spacing: .065em; }
.nav-menu > a.nav-link, .nav-drop-btn { min-height: 44px; display: flex; align-items: center; }
.nav-drop-menu { background: #111; border-color: #383838; border-radius: 4px; padding: var(--space-2); gap: 4px 12px; box-shadow: 0 20px 48px #0009; overflow-x: hidden; }
.nav-drop-menu a.nav-link, .nav-drop-menu .nav-link-btn { padding: 12px; min-height: 44px; font-size: .75rem; line-height: 1.55; border-left: 2px solid transparent; }
.nav-drop-menu a.nav-link:hover, .nav-drop-menu .nav-link-btn:hover { background: #232323; color: var(--white); border-left-color: var(--red); }
.nav-menu a.nav-link.locked { opacity: .8; }
.acct-wrap { max-width: 900px; }
.acct-card { margin: 0 0 var(--space-4); padding: var(--space-5); }
.acct-row { padding: var(--space-3) 0; }
.acct-st { font-size: .75rem; letter-spacing: .08em; }
.acct-st.available { background: transparent; }
.acct-input { font-family: var(--sans); font-size: 1rem; letter-spacing: 0; min-width: 0; border-radius: 3px; }
.acct-form .acct-input { min-width: min(220px, 100%); }
.acct-actions { gap: var(--space-2); margin-top: var(--space-4); }
.dox-panel { max-width: 100%; }
.dox-panel-k, .dox-k, .dox-panel-sub, .dox-panel-foot p, .source-tags span, .evidence-tags span { font-size: .75rem; letter-spacing: .08em; }
.case-field { border-left-width: 2px; background: var(--bg2); }
.case-field > summary { padding: var(--space-4); }
.atk-brand-logo { filter: none; }
.atk-ascii-lg { text-shadow: none; }
.atk-chip:hover, .atk-view:hover { background: #232323; }
.atk-reality-b, .atk-lede, .atk-source p { font-size: .9375rem; }
.tk-scanlines, .tk-interf, .tk-art::before { display: none; }
.tk-noise { opacity: .018; }
.tk-art-img { filter: none; animation: none; }
.tk-reveal { gap: 16px; padding: 32px 20px 120px; }
.tk-reveal-logo { display: block; width: min(360px, 65vw); height: min(220px, 24dvh); object-fit: contain; }
.tk-rev-l1 { font-family: var(--display); font-size: clamp(1.7rem, 4vw, 2.5rem); letter-spacing: -.035em; }
.tk-rev-l2, .tk-rev-l5 { display: none; }
.tk-rev-slogan { font-size: clamp(1.3rem, 3vw, 2rem); margin: 0; letter-spacing: -.02em; }
.tk-rev-slogan .tk-rev-red { color: var(--muted); }
.tk-reveal .btn { margin-top: 8px; }
@media (min-width: 901px) {
  .nav-drop-menu { width: 560px; }
  .nav-drop-menu--account { width: 250px; }
  .nav-drop:last-child .nav-drop-menu, .nav-drop:nth-last-child(2) .nav-drop-menu { left: auto; right: 0; transform: none; }
  body[data-page="home"] .page-head { padding-top: var(--space-8); padding-bottom: var(--space-6); }
  body[data-page="home"] .page-h1 { font-size: clamp(3.5rem, 7.3vw, 6.25rem); max-width: none; }
}
@media (max-width: 900px) {
  .nav-inner { padding-left: 20px; padding-right: 20px; }
  .brand-logo { height: 52px; max-width: 160px; }
  .nav-menu { gap: 0; }
  .nav-drop-menu { width: auto; box-shadow: none; border-radius: 0; padding: 8px 16px; }
  .nav-drop-menu a.nav-link, .nav-drop-menu .nav-link-btn { padding: 12px 16px; }
}
@media (max-width: 560px) {
  .section { padding-top: var(--space-6); padding-bottom: var(--space-6); }
  .page-head { padding-top: var(--space-6); padding-bottom: var(--space-3); }
  .section-head { margin-bottom: var(--space-4); }
  .grid, .home-cards, .action-grid, .steps, .split { grid-template-columns: minmax(0, 1fr); gap: var(--space-3); }
  .acct-card { padding: var(--space-4); }
  .acct-hubs li { flex-wrap: wrap; }
  .riskcard-row { grid-template-columns: minmax(0, 1fr); }
  .section, .page-head { overflow-wrap: anywhere; }
  .tk-reveal { gap: 12px; }
  .intro-disclosure { font-size: .6875rem; line-height: 1.5; max-width: calc(100vw - 40px); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ============================================================
   EXPERIENCE PASS — investigation patterns, progressive reveals,
   section personalities, microinteractions
   ============================================================ */

/* ---- progressive reveal ---- */
.whk-reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .45s ease, transform .45s ease;
}
.whk-reveal.is-visible {
  opacity: 1;
  transform: none;
}
.whk-reveal-stagger > * {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .35s ease, transform .35s ease;
}
.whk-reveal-stagger.is-visible > * { opacity: 1; transform: none; }
.whk-reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0ms; }
.whk-reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 80ms; }
.whk-reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 160ms; }
.whk-reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 240ms; }
.whk-reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 320ms; }
.whk-reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 400ms; }
.whk-reveal-stagger.is-visible > *:nth-child(7) { transition-delay: 480ms; }
.whk-reveal-stagger.is-visible > *:nth-child(8) { transition-delay: 560ms; }

/* ---- investigation chain (IP → region → weather) ---- */
.inv-chain {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: var(--space-4) 0;
  max-width: 600px;
}
.inv-chain-step {
  display: flex;
  align-items: baseline;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  border-left: 2px solid var(--line);
  position: relative;
  transition: border-color .2s ease;
}
.inv-chain-step::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line);
  transition: background .2s ease;
}
.inv-chain-step.is-active::before { background: var(--red); }
.inv-chain-step.is-active { border-left-color: var(--red); }
.inv-chain-label {
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .12em;
  color: var(--muted);
  min-width: 100px;
  flex-shrink: 0;
}
.inv-chain-value {
  font-family: var(--mono);
  font-size: .85rem;
  color: var(--white);
  font-weight: 600;
}
.inv-chain-step.is-active .inv-chain-label { color: var(--red2); }

/* ---- click-to-reveal for claim → reality ---- */
.inv-reveal-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 1px solid var(--line);
  border-left: 2px solid var(--red);
  color: var(--white);
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .12em;
  padding: 10px 16px;
  cursor: pointer;
  transition: border-color .2s ease, color .2s ease, background .2s ease;
  margin-top: var(--space-3);
}
.inv-reveal-trigger:hover {
  border-color: var(--red);
  color: var(--red2);
  background: rgba(229, 9, 20, .06);
}
.inv-reveal-trigger::after {
  content: "\25B6";
  font-size: .6rem;
  transition: transform .2s ease;
}
.inv-reveal-trigger.is-open::after { transform: rotate(90deg); }
.inv-reveal-target {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, opacity .25s ease;
  opacity: 0;
}
.inv-reveal-target.is-open {
  max-height: 2000px;
  opacity: 1;
  transition: max-height .5s ease, opacity .35s ease .1s;
}

/* ---- reality check interactive panel ---- */
.inv-reality {
  border-left: 2px solid var(--red);
  background: var(--bg2);
  padding: var(--space-4);
  margin-top: var(--space-4);
}
.inv-reality-k {
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .18em;
  color: var(--red2);
  margin-bottom: var(--space-2);
}
.inv-reality-verdict {
  font-family: var(--display);
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--white);
  margin-bottom: var(--space-2);
}
.inv-reality-body { color: var(--muted); font-size: .95rem; line-height: 1.7; }

/* ---- enhanced claim grid with hover states ---- */
.claim-grid { position: relative; }
.claim-col {
  transition: background .2s ease, box-shadow .2s ease;
  position: relative;
}
.claim-col::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 2px;
  height: 100%;
  background: transparent;
  transition: background .2s ease;
}
.claim-col:hover::before { background: var(--red); }
.claim-col.claim-what::before { background: var(--muted); opacity: .3; }
.claim-col.claim-real::before { background: var(--red); opacity: .5; }

/* ---- section personality: LEARN pages (editorial) ---- */
body[data-page^="start-here"] .section,
body[data-page^="network-ip"] .section,
body[data-page^="ddos-school"] .section,
body[data-page^="c2"] .section,
body[data-page^="doxxing"] .section,
body[data-page^="phishing"] .section,
body[data-page^="evidence"] .section,
body[data-page^="myths"] .section {
  border-bottom-color: var(--line);
}

/* ---- section personality: REAL SCENARIOS (case file) ---- */
body[data-page="real-scenarios"] .page-head {
  border-bottom: 1px solid var(--red);
  position: relative;
}
body[data-page="real-scenarios"] .page-head::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--red);
}

.case-header {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3) var(--space-5);
  margin-top: var(--space-4);
  padding: var(--space-4);
  border: 1px solid var(--line);
  border-top: 2px solid var(--red);
  background: var(--bg2);
}
.case-header-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 120px;
}
.case-header-k {
  font-family: var(--mono);
  font-size: .62rem;
  letter-spacing: .18em;
  color: var(--muted);
}
.case-header-v {
  font-family: var(--mono);
  font-size: .8rem;
  letter-spacing: .06em;
  color: var(--white);
  font-weight: 600;
}
.case-header-v.status-red { color: var(--red2); }
.case-header-v.status-green { color: #3BA55D; }
.case-header-v.status-amber { color: #FAA81A; }

/* ---- section personality: ACCOUNT (command center) ---- */
body[data-page="account"] .page-head {
  border-bottom: 1px solid var(--line);
  padding-bottom: var(--space-5);
}
body[data-page="account"] .acct-card {
  border: 1px solid var(--line);
  transition: border-color .2s ease;
}
body[data-page="account"] .acct-card:hover {
  border-color: #484848;
}

.acct-progress {
  margin: var(--space-4) 0;
}
.acct-progress-bar {
  height: 4px;
  background: var(--line);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}
.acct-progress-fill {
  height: 100%;
  background: var(--red);
  transition: width .6s ease;
  position: relative;
}
.acct-progress-fill::after {
  content: "";
  position: absolute;
  right: 0;
  top: -2px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red2);
}
.acct-progress-label {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .1em;
  color: var(--muted);
}

.acct-hubs {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.acct-hubs li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left .2s ease;
}
.acct-hubs li:hover { padding-left: 8px; }
.acct-hubs li .num {
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .08em;
  color: var(--red2);
  margin-right: 12px;
  min-width: 24px;
}
.acct-hubs li .dot {
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .08em;
  color: var(--muted);
  white-space: nowrap;
  transition: color .2s ease;
}
.acct-hubs li .dot.on { color: #3BA55D; }

.acct-st {
  display: inline-block;
  padding: 4px 10px;
  font-family: var(--mono);
  font-weight: 600;
  border-radius: 2px;
  transition: background .2s ease, color .2s ease;
}
.acct-st.locked { background: var(--bg3); color: var(--muted); border: 1px solid var(--line); }
.acct-st.available { background: rgba(229, 9, 20, .1); color: var(--red2); border: 1px solid var(--red); }
.acct-st.done { background: rgba(59, 165, 93, .1); color: #3BA55D; border: 1px solid #3BA55D; }

/* master badge enhancement */
body[data-page="account"] .acct-st.available[style*="display:inline"] {
  background: rgba(255, 82, 92, .08);
  border: 1px solid var(--red);
  padding: 6px 14px;
  font-size: .72rem;
}

/* ---- microinteractions: cards ---- */
.card, .home-card, .action-card, .acct-card {
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.riskcard-row {
  transition: background .15s ease, padding-left .15s ease;
}
.riskcard-row:hover {
  background: rgba(255, 255, 255, .02);
  padding-left: 4px;
}

/* ---- microinteractions: chapter buttons ---- */
.chapter-btn {
  transition: background .15s ease, border-color .15s ease, padding-left .2s ease;
  cursor: pointer;
}
.chapter-btn:hover {
  background: var(--bg3);
  border-bottom-color: var(--red);
  padding-left: 8px;
}
.chapter-btn:hover .chapter-title { color: var(--white); }
.chapter-btn:hover .chapter-time { color: var(--red2); }

/* ---- microinteractions: evidence/source tags ---- */
.evidence-tags span, .source-tags span {
  transition: border-color .15s ease, background .15s ease;
}
.evidence-tags span:hover {
  background: rgba(229, 9, 20, .14);
}
.source-tags span:hover {
  background: rgba(255, 255, 255, .04);
}
.evidence-tags span.warn {
  border-color: #d7a24a;
  color: #d7a24a;
  background: rgba(215, 162, 74, .08);
}
.evidence-tags span.warn:hover {
  background: rgba(215, 162, 74, .14);
}

/* ---- microinteractions: case field details ---- */
.case-field {
  transition: border-color .2s ease;
  margin-bottom: 0;
  border-bottom: 1px solid var(--line);
}
.case-field[open] {
  border-left-color: var(--red);
}
.case-field > summary {
  transition: background .15s ease, padding-left .2s ease;
  cursor: pointer;
  list-style: none;
}
.case-field > summary::-webkit-details-marker { display: none; }
.case-field > summary::after {
  content: "+";
  color: var(--red2);
  font-size: 1.1rem;
  font-weight: 700;
  flex-shrink: 0;
  transition: transform .2s ease;
}
.case-field[open] > summary::after { content: "\2212"; }
.case-field > summary:hover {
  background: rgba(255, 255, 255, .02);
  padding-left: calc(var(--space-4) + 4px);
}

.cf-field { color: var(--white); font-weight: 600; margin-right: var(--space-3); }
.cf-class { color: var(--muted); }
.cf-risk { margin-left: auto; }
.risk-low { color: #3BA55D; }
.risk-med { color: #FAA81A; }
.risk-high { color: var(--red2); }

/* ---- microinteractions: dox panel ---- */
.dox-panel {
  border: 1px solid var(--line);
  border-top: 2px solid var(--red);
  background: var(--bg2);
  transition: box-shadow .2s ease;
}
.dox-panel:hover {
  box-shadow: 0 0 30px rgba(229, 9, 20, .06);
}
.dox-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-3);
  padding: 12px 20px;
  border-bottom: 1px solid #1a1a20;
  transition: padding-left .15s ease;
}
.dox-line:hover { padding-left: 28px; }
.dox-v.redact { color: var(--red2); font-size: .72rem; letter-spacing: .06em; }

/* ---- microinteractions: steps (response timeline) ---- */
.step-row {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
  padding: var(--space-4);
  border-top: 1px solid var(--line);
  transition: padding-left .2s ease;
}
.step-row:hover { padding-left: calc(var(--space-4) + 8px); }
.step-row .steps-num { flex-shrink: 0; }
.step-row h3 { margin-bottom: 6px; }

/* ---- microinteractions: flow diagram ---- */
.flow {
  font-family: var(--mono);
  padding: var(--space-4);
  border: 1px solid var(--line);
  border-left: 2px solid var(--red);
  background: var(--bg2);
  transition: box-shadow .2s ease;
  text-align: center;
  line-height: 2;
}
.flow:hover { box-shadow: 0 0 20px rgba(229, 9, 20, .06); }

/* ---- responsive: experience patterns ---- */
@media (max-width: 560px) {
  .case-header { gap: var(--space-2) var(--space-3); }
  .case-header-item { min-width: 100px; }
  .inv-chain-step { padding: var(--space-2) var(--space-3); }
  .inv-chain-label { min-width: 70px; font-size: .62rem; }
  .inv-chain-value { font-size: .78rem; }
  .acct-hubs li:hover { padding-left: 4px; }
  .step-row:hover { padding-left: calc(var(--space-4) + 4px); }
  .riskcard-row:hover { padding-left: 2px; }
  .case-field > summary:hover { padding-left: var(--space-4); }
}
@media (max-width: 900px) {
  .case-header { flex-direction: column; gap: var(--space-2); }
}

/* ============================================================
   Fake training PC — workstation, PuTTY terminal, booter panel
   Fully synthetic. No real connection, shell, traffic or data.
   Palette: black / charcoal / white / red only.
   ============================================================ */

/* ---- training gate (shown before the workstation starts) ---- */
.atk-labgate {
  border: 1px solid var(--line);
  border-top: 3px solid var(--red);
  background:
    linear-gradient(180deg, rgba(229, 9, 20, 0.06), rgba(2, 2, 4, 0.4)),
    #070709;
  padding: clamp(18px, 4vw, 36px);
}
.atk-labgate-box { max-width: 760px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; gap: 14px; align-items: center; }
.atk-labgate-k { margin: 0; color: var(--red2); font-size: 0.72rem; letter-spacing: 0.24em; }
.atk-labgate-h { margin: 0; color: var(--white); font-size: clamp(1.15rem, 3vw, 1.8rem); letter-spacing: 0.04em; line-height: 1.3; }
.atk-labgate-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; width: 100%; }
.atk-labgate-list li { color: #c9c9d2; font-size: 0.78rem; letter-spacing: 0.12em; line-height: 1.6; }
.atk-labgate-t { margin: 0; color: var(--red2); font-size: 0.78rem; letter-spacing: 0.08em; line-height: 1.7; max-width: 620px; }
.atk-labgate .btn { min-width: 240px; }
