/* ==========================================================
   Watching the Watchers — site styles
   Palette: a living room at night. Matte TV-plastic walls,
   a deep indigo screen, its blue glow, and the red standby LED
   reserved for privacy problems.
   ========================================================== */
:root{
  --wall:      #E4E7EC;  /* page background */
  --paper:     #F6F7F9;  /* alternate sections, cards */
  --ink:       #18203A;  /* text, bezel */
  --ink-2:     #4A5470;  /* secondary text */
  --rule:      #C9CED8;  /* borders on light */
  --screen:    #121A44;  /* TV screen, dark panels */
  --screen-2:  #1C2560;
  --glow:      #5B7CFF;  /* screen light, links, opted-in traffic */
  --glow-soft: #C9D3FF;
  --led:       #E2382B;  /* standby LED: violations, opted-out traffic */
  --led-soft:  #F8D3CF;
  --display: 'Anybody', 'Arial Narrow', sans-serif;
  --body: 'Schibsted Grotesk', system-ui, sans-serif;
  color-scheme: light;
}
*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; scroll-padding-top:80px; }
body{
  margin:0; background:var(--wall); color:var(--ink);
  font-family:var(--body); font-size:18px; line-height:1.6;
  -webkit-font-smoothing:antialiased;
  padding-bottom:env(safe-area-inset-bottom,0px);
}
a{ color:var(--ink); text-decoration-color:var(--glow); text-underline-offset:3px; }
a:hover{ color:var(--glow); }
a:focus-visible, button:focus-visible{ outline:3px solid var(--glow); outline-offset:3px; border-radius:4px; }
.wrap{ max-width:1160px; margin:0 auto; padding:0 32px; }
.measure{ max-width:66ch; }
h1,h2,h3{ font-family:var(--display); font-weight:800; line-height:1.02; margin:0; letter-spacing:-0.01em; }
h2{ font-size:clamp(2rem,4.2vw,3.1rem); font-stretch:118%; margin-bottom:20px; }
h3{ font-size:1.35rem; font-stretch:110%; font-weight:700; margin-bottom:8px; }
p{ margin:0 0 16px; }
.lede{ font-size:1.25rem; line-height:1.5; color:var(--ink-2); }

/* ---------- nav ---------- */
nav.top{
  position:sticky; top:0; z-index:50; background:rgba(228,231,236,0.92);
  backdrop-filter:blur(8px); border-bottom:1px solid var(--rule);
  padding-top:env(safe-area-inset-top,0px);
}
nav.top .wrap{ display:flex; align-items:center; justify-content:space-between; gap:20px; min-height:64px; flex-wrap:wrap; }
.brand{ display:flex; align-items:center; gap:10px; text-decoration:none; font-family:var(--display); font-weight:800; font-stretch:115%; font-size:1.05rem; }
.brand .led{ width:10px; height:10px; border-radius:50%; background:var(--led); box-shadow:0 0 0 3px var(--led-soft); }
.links{ display:flex; gap:4px; flex-wrap:wrap; }
.links a{ text-decoration:none; font-size:0.95rem; padding:8px 14px; border-radius:6px; color:var(--ink-2); }
.links a:hover{ color:var(--ink); background:var(--paper); }
.links a.active{ color:var(--ink); background:var(--paper); box-shadow:inset 0 -2px 0 var(--glow); }

/* ---------- hero ---------- */
.hero{ padding:72px 0 56px; }
.hero-grid{ display:grid; grid-template-columns:1.05fr 1fr; gap:56px; align-items:center; }
.hero h1{ font-size:clamp(3rem,7.4vw,6.2rem); font-stretch:125%; letter-spacing:-0.025em; margin-bottom:18px; }
.hero .subtitle{ font-size:1.3rem; line-height:1.4; font-weight:500; margin-bottom:24px; max-width:30ch; }
.hero .lede{ max-width:46ch; }
.hero-actions{ display:flex; gap:12px; flex-wrap:wrap; margin-top:28px; }
.btn{
  display:inline-block; font-family:var(--body); font-weight:600; font-size:0.98rem; text-decoration:none;
  padding:12px 20px; border-radius:8px; border:2px solid var(--ink); color:var(--ink); background:transparent; cursor:pointer;
}
.btn.solid{ background:var(--ink); color:var(--paper); }
.btn.solid:hover{ background:var(--screen-2); color:#fff; }
.btn:hover{ color:var(--glow); border-color:var(--glow); }
.btn.solid:hover{ border-color:var(--screen-2); }

/* The TV: the one memorable object on the page */
.tv{ position:relative; }
.tv-set{
  background:var(--ink); border-radius:14px; padding:12px 12px 22px; position:relative;
  box-shadow:0 30px 60px -20px rgba(91,124,255,0.45);
}
.tv-set::after{ /* standby LED */
  content:""; position:absolute; bottom:8px; right:22px; width:6px; height:6px; border-radius:50%; background:var(--led);
}
.tv-screen{
  position:relative; aspect-ratio:16/9; border-radius:6px; overflow:hidden;
  background:radial-gradient(120% 90% at 30% 20%, #2B3A9A 0%, var(--screen) 60%);
}
.tv-scene{ position:absolute; inset:0; display:flex; align-items:flex-end; padding:22px; transition:opacity .4s ease; }
.tv-scene .show{ font-family:var(--display); font-stretch:120%; font-weight:700; color:#fff; font-size:clamp(1.1rem,2.4vw,1.7rem); line-height:1.1; }
.tv-scene .genre{ display:block; font-family:var(--body); font-weight:500; font-size:0.85rem; color:var(--glow-soft); margin-top:4px; }
.tv-shape{ position:absolute; border-radius:50%; filter:blur(2px); opacity:0.9; transition:all 1.2s ease; }
.tv-flash{ position:absolute; inset:0; background:#fff; opacity:0; pointer-events:none; }
.tv-flash.on{ animation:flash .45s ease-out; }
@keyframes flash{ 0%{opacity:.55} 100%{opacity:0} }
.tv-stand{ width:34%; height:12px; margin:0 auto; background:var(--ink); border-radius:0 0 8px 8px; }

.capture-log{
  margin-top:22px; background:var(--paper); border:1px solid var(--rule); border-radius:10px; padding:14px 16px;
  font-size:0.88rem; min-height:150px;
}
.capture-log .log-head{ display:flex; justify-content:space-between; color:var(--ink-2); font-size:0.82rem; margin-bottom:8px; }
.capture-log ol{ list-style:none; margin:0; padding:0; }
.capture-log li{ display:grid; grid-template-columns:5.2em 1fr; gap:10px; padding:5px 0; border-top:1px solid var(--rule); font-variant-numeric:tabular-nums; }
.capture-log li:first-child{ border-top:none; }
.capture-log li .t{ color:var(--ink-2); }
.capture-log li b{ font-weight:600; }
.capture-log li.new{ animation:slidein .35s ease-out; }
@keyframes slidein{ from{ opacity:0; transform:translateY(-6px);} to{ opacity:1; transform:none;} }
.illustrative{ font-size:0.8rem; color:var(--ink-2); margin-top:8px; }

/* ---------- study at a glance ---------- */
.glance{ border-top:1px solid var(--rule); border-bottom:1px solid var(--rule); background:var(--paper); }
.glance .wrap{ display:grid; grid-template-columns:repeat(5,1fr); }
.glance div.cell{ padding:26px 20px 24px; border-left:1px solid var(--rule); }
.glance div.cell:first-child{ border-left:none; padding-left:0; }
.glance .num{ font-family:var(--display); font-weight:800; font-stretch:120%; font-size:2.4rem; line-height:1; font-variant-numeric:tabular-nums; }
.glance .lbl{ font-size:0.92rem; color:var(--ink-2); margin-top:6px; line-height:1.35; }

/* ---------- sections ---------- */
section{ padding:96px 0; }
section.alt{ background:var(--paper); }
.section-head{ display:grid; grid-template-columns:220px 1fr; gap:40px; margin-bottom:40px; }
.section-head .kicker{ font-size:0.95rem; color:var(--ink-2); padding-top:10px; border-top:3px solid var(--ink); }
.section-head .kicker.alert{ border-top-color:var(--led); }
.body-col{ margin-left:260px; }

/* pipeline: how ACR works (a real sequence, so it is numbered) */
.pipeline{ list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(4,1fr); counter-reset:step; position:relative; }
.pipeline li{ counter-increment:step; padding:0 24px 0 0; position:relative; }
.pipeline li::before{
  content:counter(step); display:flex; align-items:center; justify-content:center;
  width:44px; height:44px; border-radius:50%; background:var(--wall); border:2px solid var(--ink);
  font-family:var(--display); font-weight:800; font-size:1.1rem; margin-bottom:18px; position:relative; z-index:1;
}
.pipeline li:last-child::before{ background:var(--led); border-color:var(--led); color:#fff; }
.pipeline::before{ content:""; position:absolute; top:22px; left:22px; right:12%; height:2px; background:var(--rule); }
.pipeline p{ font-size:1rem; color:var(--ink-2); }

/* research questions */
.questions{ list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(3,1fr); gap:2px; background:var(--rule); border:2px solid var(--rule); border-radius:12px; overflow:hidden; }
.questions li{ background:var(--wall); padding:28px; font-size:1.2rem; line-height:1.4; font-weight:500; }
section.alt .questions li{ background:var(--paper); }
.questions li span{ display:block; font-size:0.9rem; color:var(--ink-2); font-weight:400; margin-top:10px; }

/* methods */
.method-grid{ display:grid; grid-template-columns:1fr 1fr; gap:48px; align-items:start; }
.figure{ margin:0; }
.figure img{ width:100%; display:block; border-radius:10px; border:1px solid var(--rule); }
.figure .photo-fallback{
  display:none; align-items:center; justify-content:center; text-align:center; aspect-ratio:4/3;
  border:2px dashed var(--rule); border-radius:10px; color:var(--ink-2); font-size:0.9rem; padding:20px; background:var(--wall);
}
.figure figcaption{ font-size:0.88rem; color:var(--ink-2); margin-top:10px; }
.states{ display:grid; grid-template-columns:1fr 1fr; gap:16px; margin:24px 0; }
.state{ border-radius:10px; padding:18px; border:2px solid var(--rule); background:var(--wall); }
.state h3{ font-size:1.1rem; display:flex; align-items:center; gap:8px; }
.state .dot{ width:10px; height:10px; border-radius:50%; }
.state p{ font-size:0.95rem; color:var(--ink-2); margin:0; }
.scenario-list{ columns:2; gap:28px; padding-left:1.2em; margin:0; font-size:1rem; }
.scenario-list li{ margin-bottom:6px; }

.table-wrap{ overflow-x:auto; margin-top:28px; border:1px solid var(--rule); border-radius:10px; background:var(--paper); }
table.devices{ width:100%; min-width:640px; border-collapse:collapse; font-size:0.98rem; }
table.devices th{ text-align:left; font-weight:600; font-size:0.88rem; color:var(--ink-2); padding:12px 16px; border-bottom:2px solid var(--rule); }
table.devices td{ padding:12px 16px; border-bottom:1px solid var(--rule); }
table.devices tr:last-child td{ border-bottom:none; }
table.devices td.os{ font-weight:600; }
.note{ font-size:0.9rem; color:var(--ink-2); margin-top:14px; }

/* method section additions */
.method-block{ margin-top:64px; }
.two-steps{ list-style:none; margin:0; padding:0; display:grid; grid-template-columns:1fr 1fr; gap:0; counter-reset:st; border:2px solid var(--ink); border-radius:12px; overflow:hidden; }
.two-steps li{ counter-increment:st; padding:24px 28px; position:relative; }
.two-steps li + li{ border-left:2px solid var(--ink); background:var(--paper); }
.two-steps li h3::before{ content:counter(st) ". "; color:var(--glow); }
.two-steps p{ margin:0; color:var(--ink-2); font-size:1rem; }
.routes{ display:grid; grid-template-columns:repeat(3,1fr); gap:16px; margin-top:20px; }
.route{ background:var(--paper); border:1px solid var(--rule); border-top:4px solid var(--glow); border-radius:10px; padding:20px; }
.route h4{ margin:0 0 6px; font-size:1.05rem; }
.route p{ margin:0; font-size:0.96rem; color:var(--ink-2); }
table.scenarios td{ vertical-align:top; }
table.scenarios tr.grp td{ border-top:2px solid var(--rule); }
table.scenarios tbody tr:first-child td{ border-top:none; }
table.scenarios td.os{ border-right:1px solid var(--rule); width:24%; }
table.scenarios td.muted{ color:var(--ink-2); }
table.signal td.c, table.signal th.c{ text-align:center; }
table.signal td.yes{ color:var(--screen); font-weight:600; background:rgba(91,124,255,0.12); }
table.signal td.no{ color:var(--ink-2); }
.rq-approach li{ font-size:1.08rem; }
@media (max-width:900px){
  .routes, .two-steps{ grid-template-columns:1fr; }
  .two-steps li + li{ border-left:none; border-top:2px solid var(--ink); }
}

table.oses td.share{ width:40%; }
table.oses .share-num{ display:inline-block; width:3.2em; font-weight:600; font-variant-numeric:tabular-nums; }
table.oses .share-cell{ display:flex; align-items:center; gap:8px; }
table.oses .share-track{ flex:1; max-width:260px; }
table.oses .share-bar{ display:block; height:10px; min-width:4px; background:var(--glow); border-radius:2px; }
table.oses tfoot td{ border-top:2px solid var(--rule); border-bottom:none; font-weight:600; }

/* ---------- finding: opt-out grid ---------- */
.finding-stat{ display:flex; gap:40px; flex-wrap:wrap; margin:8px 0 36px; }
.finding-stat div{ max-width:22ch; }
.finding-stat .big{ font-family:var(--display); font-weight:800; font-stretch:120%; font-size:3.2rem; line-height:1; }
.finding-stat .big.red{ color:var(--led); }
.finding-stat .small{ font-size:0.95rem; color:var(--ink-2); margin-top:6px; line-height:1.4; }

.grid-panel{ background:var(--screen); color:#E8ECFF; border-radius:14px; padding:28px; }
.grid-controls{ display:flex; justify-content:space-between; align-items:center; gap:16px; flex-wrap:wrap; margin-bottom:22px; }
.switch{ display:inline-flex; background:var(--screen-2); border-radius:10px; padding:4px; }
.switch button{
  font-family:var(--body); font-size:0.95rem; font-weight:600; border:none; background:transparent; color:var(--glow-soft);
  padding:9px 16px; border-radius:7px; cursor:pointer;
}
.switch button[aria-pressed="true"]{ background:#fff; color:var(--screen); }
.legend{ display:flex; gap:18px; font-size:0.88rem; color:var(--glow-soft); flex-wrap:wrap; }
.legend span{ display:inline-flex; align-items:center; gap:8px; }
.legend i{ width:14px; height:14px; border-radius:3px; display:inline-block; }
.og-scroll{ overflow-x:auto; }
table.optgrid{ border-collapse:separate; border-spacing:4px; min-width:820px; width:100%; table-layout:fixed; }
table.optgrid th{ font-weight:500; font-size:0.74rem; line-height:1.2; vertical-align:bottom; color:var(--glow-soft); padding:4px; text-align:center; }
table.optgrid th.row{ text-align:left; font-size:0.95rem; color:#fff; font-weight:600; white-space:nowrap; padding-right:12px; }
table.optgrid th.grp{ font-size:0.8rem; color:#fff; border-bottom:1px solid #34408A; padding-bottom:6px; }
table.optgrid td{ height:34px; border-radius:5px; background:#283272; cursor:pointer; transition:transform .12s ease; }
table.optgrid td.on-in{ background:var(--glow); }
table.optgrid td.on-out{ background:var(--led); }
table.optgrid td:hover{ transform:scale(1.08); }
table.optgrid td.sel{ outline:2px solid #fff; outline-offset:1px; }
table.optgrid td.rate{ background:transparent; cursor:default; text-align:right; font-variant-numeric:tabular-nums; font-size:0.9rem; color:var(--glow-soft); padding-left:10px; white-space:nowrap; }
table.optgrid td.rate:hover{ transform:none; }
.inspector{ margin-top:18px; padding:14px 16px; border-radius:8px; background:var(--screen-2); font-size:0.95rem; min-height:52px; }
.inspector b{ color:#fff; }
.sample-banner{
  display:none; background:#FFF3C4; color:#5A4500; border:1px solid #E7C95C; border-radius:8px;
  padding:10px 14px; font-size:0.9rem; margin-bottom:18px;
}
.sample-banner.show{ display:block; }

/* ---------- finding: exposure ---------- */
.exposure-grid{ display:grid; grid-template-columns:1fr 1fr; gap:24px; }
.exposure{ border-radius:12px; padding:28px; border:2px solid var(--rule); background:var(--wall); }
.exposure h3{ margin-bottom:12px; }
.exposure p{ font-size:1rem; color:var(--ink-2); }

.broker > div{ min-width:0; }
.broker{ margin-top:24px; background:var(--screen); color:#E8ECFF; border-radius:14px; padding:44px; display:grid; grid-template-columns:1.3fr 1fr; gap:44px; align-items:end; }
.broker .huge{ font-family:var(--display); font-weight:900; font-stretch:100%; font-size:clamp(2.4rem,4vw,5.6rem); line-height:0.9; letter-spacing:-0.03em; color:#fff; font-variant-numeric:tabular-nums; }
.broker .huge-lbl{ font-size:1.15rem; color:var(--glow-soft); margin-top:14px; max-width:30ch; }
.broker dl{ margin:0; display:grid; gap:18px; }
.broker dt{ font-family:var(--display); font-weight:800; font-stretch:120%; font-size:2rem; color:#fff; line-height:1; }
.broker dd{ margin:4px 0 0; font-size:0.95rem; color:var(--glow-soft); }
.broker .fixed{ grid-column:1 / -1; border-top:1px solid #34408A; padding-top:20px; font-size:1rem; color:var(--glow-soft); display:flex; gap:10px; align-items:baseline; }
.broker .fixed b{ color:#fff; white-space:nowrap; }

/* ---------- conclusion ---------- */
.takeaways{ list-style:none; margin:0; padding:0; }
.takeaways li{ padding:22px 0; border-top:1px solid var(--rule); font-size:1.2rem; line-height:1.45; max-width:62ch; }
.takeaways li:first-child{ border-top:none; padding-top:0; }
.closing{ margin-top:40px; font-family:var(--display); font-weight:700; font-stretch:115%; font-size:clamp(1.5rem,2.8vw,2.1rem); line-height:1.2; max-width:30ch; }
.caveat{ margin-top:36px; padding:18px 20px; border-left:3px solid var(--glow); background:var(--wall); font-size:0.98rem; color:var(--ink-2); max-width:70ch; }

/* ---------- inner pages ---------- */
.page-head{ padding:72px 0 48px; border-bottom:1px solid var(--rule); }
.page-head h1{ font-size:clamp(2.6rem,6vw,4.4rem); font-stretch:125%; letter-spacing:-0.02em; margin-bottom:14px; }
.page-head p{ max-width:60ch; color:var(--ink-2); font-size:1.15rem; margin:0; }
.cite-block{ background:var(--paper); border:1px solid var(--rule); border-radius:10px; padding:18px 20px; font-size:0.98rem; line-height:1.6; max-width:80ch; }
.paper-actions{ display:flex; gap:12px; flex-wrap:wrap; margin:22px 0 32px; }
.pdf-frame{ width:100%; height:82vh; border:1px solid var(--rule); border-radius:10px; background:var(--paper); }

.people{ display:grid; grid-template-columns:repeat(auto-fill,minmax(250px,1fr)); gap:20px; }
.person{ background:var(--paper); border:1px solid var(--rule); border-radius:12px; padding:22px; }
.person .avatar{ width:56px; height:56px; border-radius:50%; background:var(--screen); color:#fff; display:flex; align-items:center; justify-content:center; font-family:var(--display); font-weight:800; font-stretch:115%; margin-bottom:14px; overflow:hidden; }
.person .avatar img{ width:100%; height:100%; object-fit:cover; }
.person .name{ font-weight:600; font-size:1.1rem; }
.person .name a{ text-decoration:none; }
.person .name a:hover{ text-decoration:underline; }
.person .role{ font-size:0.9rem; color:var(--ink-2); margin:2px 0 10px; }
.person .email{ font-size:0.88rem; }

.press{ list-style:none; margin:0; padding:0; }
.press li{ border-top:1px solid var(--rule); }
.press li:last-child{ border-bottom:1px solid var(--rule); }
.press a{ display:grid; grid-template-columns:180px 1fr 120px; gap:24px; align-items:baseline; padding:22px 0; text-decoration:none; }
.press .outlet{ display:flex; align-items:center; gap:10px; font-weight:600; font-size:0.98rem; }
.press .outlet img{ width:20px; height:20px; border-radius:4px; }
.press .headline{ font-family:var(--display); font-weight:700; font-stretch:108%; font-size:1.3rem; line-height:1.25; }
.press a:hover .headline{ color:var(--glow); }
.press .date{ text-align:right; color:var(--ink-2); font-size:0.92rem; }

/* ---------- footer ---------- */
footer{ background:var(--ink); color:#AEB6CC; padding:44px 0; font-size:0.92rem; }
footer .wrap{ display:flex; justify-content:space-between; gap:20px; flex-wrap:wrap; }
footer a{ color:#fff; }

/* ---------- responsive ---------- */
@media (max-width:900px){
  .hero-grid, .method-grid, .exposure-grid, .broker{ grid-template-columns:1fr; }
  .section-head{ grid-template-columns:1fr; gap:14px; }
  .section-head .kicker{ max-width:220px; }
  .body-col{ margin-left:0; }
  .glance .wrap{ grid-template-columns:repeat(2,1fr); }
  .glance div.cell, .glance div.cell:first-child{ border-left:none; padding-left:0; border-top:1px solid var(--rule); }
  .pipeline{ grid-template-columns:1fr 1fr; row-gap:32px; }
  .pipeline::before{ display:none; }
  .questions{ grid-template-columns:1fr; }
  .press a{ grid-template-columns:1fr; gap:6px; }
  .press .date{ text-align:left; }
}
@media (max-width:560px){
  body{ font-size:17px; }
  .wrap{ padding:0 20px; }
  section{ padding:68px 0; }
  .states, .pipeline{ grid-template-columns:1fr; }
  .scenario-list{ columns:1; }
  .broker{ padding:28px; }
  .broker .fixed{ flex-direction:column; gap:4px; }
}
@media (prefers-reduced-motion:reduce){
  html{ scroll-behavior:auto; }
  *, *::before, *::after{ animation:none !important; transition:none !important; }
}

/* ================= results update ================= */
.takeaways.compact li{ font-size:1.05rem; padding:16px 0; }
.takeaways.compact{ margin-bottom:40px; }
.grid-title{ color:#fff; font-size:1.1rem; margin:0; }
table.optgrid th span{ display:block; font-weight:400; font-size:0.78rem; color:var(--glow-soft); }
table.optgrid thead th.end{ text-align:left; padding-left:10px; }
table.optgrid td{ font-size:0.72rem; font-weight:600; color:#fff; text-align:center; font-variant-numeric:tabular-nums; }
table.optgrid td.on-out{ background:rgba(226,56,43,var(--a,1)); }
table.optgrid td.on-in{ background:rgba(91,124,255,var(--a,1)); }
table.optgrid td.na{ background-image:repeating-linear-gradient(135deg, transparent 0 6px, rgba(255,255,255,0.28) 6px 8px); }
table.optgrid td.unk{ background:transparent; border:1px dashed #5A67B8; color:var(--glow-soft); }
table.optgrid td.rate{ text-align:left; font-weight:500; font-size:0.85rem; white-space:normal; line-height:1.25; }
table.optgrid td.verdict{ color:#9FE0C0; }
table.optgrid td.verdict.bad{ color:#FFB4AC; }
.legend .na-swatch{ background-color:#B5302A; background-image:repeating-linear-gradient(135deg, transparent 0 3px, rgba(255,255,255,0.4) 3px 5px); }
.legend .ramp{ width:90px; height:12px; border-radius:3px; }
.legend .ramp.blue{ background:linear-gradient(90deg, rgba(91,124,255,0.25), var(--glow)); }
.legend .ramp.red{ background:linear-gradient(90deg, rgba(226,56,43,0.25), var(--led)); }
.figure.fig6{ max-width:560px; }
.figure.fig6 img{ background:#fff; }
.method-block.first{ margin-top:0; }
.tag{ display:inline-block; font-size:0.85rem; font-weight:600; padding:3px 10px; border-radius:20px; background:var(--wall); border:1px solid var(--rule); color:var(--ink-2); }
.tag.video{ background:#E6EBFF; border-color:var(--glow-soft); color:var(--screen); }
.tag.audio{ background:#FFF0D6; border-color:#F0C98A; color:#6B4300; }
.packet, .dns{ margin:0; background:var(--screen); color:#E8ECFF; border-radius:12px; padding:22px; }
.packet-head{ font-size:0.88rem; color:var(--glow-soft); margin-bottom:12px; }
.packet dl{ margin:0; }
.packet dl div{ display:flex; justify-content:space-between; gap:16px; padding:8px 0; border-top:1px solid #2C3778; font-size:0.95rem; }
.packet dl div:first-child{ border-top:none; }
.packet dt{ color:var(--glow-soft); }
.packet dd{ margin:0; color:#fff; font-weight:600; text-align:right; }
.packet .reply{ border-top:2px solid var(--led) !important; }
.packet .reply dd{ color:#FFB4AC; }
.packet figcaption, .dns figcaption{ font-size:0.8rem; color:#97A2D6; margin-top:12px; }
.dns code{ display:block; font-family:ui-monospace, 'SF Mono', Menlo, Consolas, monospace; font-size:clamp(0.9rem,2vw,1.15rem); color:#fff; background:#0B1033; border-radius:8px; padding:16px; overflow-x:auto; white-space:nowrap; }
.dns .slug{ background:rgba(226,56,43,0.35); border-bottom:2px solid var(--led); }
.dns .plat{ background:rgba(91,124,255,0.3); border-bottom:2px solid var(--glow); }
.dns-key{ margin:14px 0 0; display:grid; gap:6px; font-size:0.9rem; }
.dns-key div{ display:flex; gap:10px; }
.dns-key dt{ font-weight:600; display:flex; align-items:center; gap:8px; min-width:9em; }
.dns-key dd{ margin:0; color:var(--glow-soft); }
.dns-key i{ width:12px; height:12px; border-radius:2px; display:inline-block; }
.k-slug{ background:var(--led); } .k-plat{ background:var(--glow); }
.broker{ margin-top:64px; }

.fig-row{ grid-template-columns:1fr; gap:32px; margin-top:20px; }
.fig-row .table-wrap{ margin-top:0; }
@media (max-width:900px){ .fig-row{ grid-template-columns:1fr; } }

/* mitigations */
.mitigations{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; margin-top:48px; }
.mit{ background:var(--paper); border:1px solid var(--rule); border-top:4px solid var(--ink); border-radius:12px; padding:24px; }
.mit:first-child{ border-top-color:var(--glow); }
.mit h3{ margin-bottom:14px; }
.mit ul{ margin:0; padding-left:1.1em; }
.mit li{ font-size:0.98rem; line-height:1.5; margin-bottom:10px; }
.mit-note{ margin:14px 0 0; padding-top:12px; border-top:1px solid var(--rule); font-size:0.9rem; color:var(--ink-2); }
@media (max-width:900px){ .mitigations{ grid-template-columns:1fr; } }