:root {
  --ink: #050505;
  --panel: rgba(18, 15, 15, 0.9);
  --panel-raised: rgba(27, 22, 21, 0.92);
  --paper: #f5efe7;
  --muted: #aaa19a;
  --line: rgba(255, 241, 231, 0.11);
  --red: #d9271b;
  --red-bright: #ff4534;
  --max: 1080px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(180deg, rgba(3,3,3,0.62), #050505 480px),
    url("../../world-war-z-dashboard-bg.webp") center top / cover fixed no-repeat,
    #050505;
  color: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.7;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1000;
  pointer-events: none;
  opacity: .16;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.18'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}
a { color: inherit; }
.shell { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 2000; padding: 10px 14px; background: var(--paper); color: var(--ink); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

.page-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: 82px;
  border-bottom: 1px solid rgba(255,69,52,.18);
  background: rgba(5,5,5,.91);
  box-shadow: 0 14px 42px rgba(0,0,0,.34);
  backdrop-filter: blur(22px) saturate(1.2);
}
.page-header .shell { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.page-brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.page-brand-mark {
  width: 52px;
  aspect-ratio: 1;
  overflow: hidden;
  border: 0;
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
}
.page-brand-mark img { width: 100%; height: 100%; display: block; object-fit: contain; border-radius: 50%; filter: drop-shadow(0 0 8px rgba(217,39,27,.28)); }
.page-brand strong { font-size: 13px; letter-spacing: .16em; }
.page-nav { display: flex; flex-wrap: wrap; gap: 21px; }
.page-nav a { color: #aaa19a; font-size: 10px; font-weight: 850; letter-spacing: .1em; text-decoration: none; text-transform: uppercase; }
.page-nav a:hover { color: white; }
.page-nav .accent { color: var(--red-bright); }

.page-hero { position: relative; overflow: hidden; padding: 104px 0 72px; border-bottom: 1px solid var(--line); }
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(217,39,27,.12), transparent 46%), linear-gradient(180deg, transparent, rgba(5,5,5,.7));
}
.page-hero .shell { position: relative; }
.eyebrow { margin: 0 0 15px; color: #ff7668; font-size: 10px; font-weight: 900; letter-spacing: .19em; text-transform: uppercase; }
.page-hero h1, .content-card h2, .version-heading h2 { margin: 0; font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif; font-weight: 400; line-height: .94; letter-spacing: .03em; text-transform: uppercase; }
.page-hero h1 { max-width: 880px; font-size: clamp(54px,8vw,96px); text-shadow: 0 12px 34px rgba(0,0,0,.65); }
.page-hero > div > p:last-child { max-width: 760px; margin: 26px 0 0; color: #c1b7b0; font-size: 15px; }

.page-content { padding: 70px 0 110px; background: linear-gradient(180deg, rgba(5,5,5,.78), #050505 260px); }
.content-grid { display: grid; grid-template-columns: 235px minmax(0,1fr); gap: 52px; }
.content-nav { position: sticky; top: 112px; align-self: start; display: grid; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: rgba(13,11,11,.75); box-shadow: 0 22px 60px rgba(0,0,0,.28); }
.content-nav a { padding: 12px 14px; border-bottom: 1px solid var(--line); color: #948a84; font-size: 10px; text-decoration: none; }
.content-nav a:last-child { border-bottom: 0; }
.content-nav a:hover { background: rgba(217,39,27,.08); color: #ff8174; }
.content-stack { display: grid; gap: 17px; }
.content-card, .version {
  position: relative;
  overflow: hidden;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(255,255,255,.045), transparent 44%), var(--panel);
  box-shadow: 0 26px 72px rgba(0,0,0,.3);
  backdrop-filter: blur(16px);
}
.content-card::before, .version::before { content: ""; position: absolute; inset: 0 0 auto; height: 2px; background: linear-gradient(90deg, var(--red-bright), rgba(255,69,52,.07) 48%, transparent); }
.content-card h2 { margin-bottom: 17px; font-size: 32px; }
.content-card h3 { margin: 25px 0 8px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.content-card p, .content-card li { color: #aaa19a; font-size: 12px; }
.content-card p:last-child { margin-bottom: 0; }
.content-card ul { padding-left: 20px; }
.notice { padding: 17px 19px; border: 1px solid rgba(255,69,52,.24); border-left: 3px solid var(--red-bright); border-radius: 10px; background: linear-gradient(90deg, rgba(217,39,27,.12), rgba(13,10,10,.78)); color: #c9bfb8; font-size: 11px; box-shadow: 0 18px 48px rgba(0,0,0,.22); }
.notice strong { color: white; }
.version + .version { margin-top: 0; }
.version-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.version-heading h2 { font-size: 34px; }
.version-heading span { padding: 7px 10px; border: 1px solid rgba(255,69,52,.3); border-radius: 999px; background: rgba(217,39,27,.07); color: #ff9185; font-size: 8px; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.version h3 { margin: 22px 0 8px; color: #f0e8e0; font-size: 10px; letter-spacing: .13em; text-transform: uppercase; }
.version ul { margin: 0; padding-left: 19px; }
.version li { padding: 4px 0; color: #aaa19a; font-size: 11px; }

.page-footer { padding: 32px 0; border-top: 1px solid rgba(255,69,52,.13); background: #040404; }
.page-footer .shell { display: flex; justify-content: space-between; gap: 30px; color: #746b66; font-size: 9px; }
.page-footer p { max-width: 760px; margin: 0; line-height: 1.6; }
.page-footer div { display: flex; gap: 18px; }
.page-footer a { text-decoration: none; text-transform: uppercase; }
.page-footer a:hover { color: white; }

@media (max-width: 760px) {
  body { background-image: linear-gradient(180deg, rgba(3,3,3,.54), #050505 460px), url("../../world-war-z-dashboard-bg-mobile.webp"); }
  .page-header { padding: 12px 0; }
  .page-header .shell { align-items: flex-start; flex-direction: column; }
  .page-nav { width: 100%; gap: 14px; }
  .page-hero { padding: 72px 0 52px; }
  .content-grid { grid-template-columns: 1fr; }
  .content-nav { position: static; }
  .content-card, .version { padding: 24px; }
  .page-footer .shell { flex-direction: column; }
  .version-heading { flex-direction: column; }
}
@media (max-width: 460px) {
  .shell { width: min(calc(100% - 28px), var(--max)); }
  .page-brand-mark { width: 45px; }
  .page-brand strong { font-size: 10px; }
  .page-hero h1 { font-size: 48px; }
  .page-nav a { font-size: 8px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }


/* Version 1.14.2 — policy suite */
.content-card a { color: #ff8174; text-underline-offset: 3px; }
.content-card a:hover { color: #fff; }
.content-card code { padding: 2px 5px; border: 1px solid rgba(255,255,255,.1); border-radius: 4px; background: rgba(0,0,0,.36); color: #f3ddd6; font-size: .95em; }
.policy-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; margin-top: 20px; }
.policy-link-card { display: grid; grid-template-columns: 38px minmax(0,1fr); gap: 3px 13px; padding: 20px; border: 1px solid rgba(255,241,231,.1); border-radius: 10px; background: rgba(255,255,255,.025); text-decoration: none; transition: transform .18s ease, border-color .18s ease, background .18s ease; }
.policy-link-card:hover { transform: translateY(-2px); border-color: rgba(255,69,52,.42); background: rgba(217,39,27,.08); }
.policy-link-card > span { grid-row: 1 / span 2; color: #ff6252; font: 28px/1 Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif; }
.policy-link-card strong { color: #f5efe7; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; }
.policy-link-card small { color: #9e948d; font-size: 10px; line-height: 1.55; }
.external-list { display: grid; gap: 8px; list-style: none; padding-left: 0 !important; }
.external-list a { display: inline-flex; align-items: center; gap: 8px; }
.external-list a::after { content: "↗"; font-size: 10px; }
@media (max-width: 680px) { .policy-grid { grid-template-columns: 1fr; } }
