/* RavenNET — site styles. No external fonts or resources by design.
   Palette is taken from the raven logo (graphite + silver beak) with
   Dannebrog red as the single accent. */

:root {
  --ink: #0F0F11;
  --bg: #151517;            /* matches the logo artwork background */
  --surface: #1B1B1E;
  --surface-2: #222226;
  --line: rgba(255, 255, 255, .07);
  --line-strong: rgba(255, 255, 255, .14);
  --text: #EEEEF0;
  --muted: #A3A3AB;
  --faint: #75757D;
  --silver: #C9C9CE;
  --silver-hi: #F4F4F6;
  --tile: rgba(255, 255, 255, .055);

  --red: #C8102E;           /* Dannebrog */
  --red-hi: #F0566A;        /* red for text on dark backgrounds */
  --red-soft: rgba(200, 16, 46, .13);

  --radius: 14px;
  --radius-lg: 22px;
  --wrap: 1160px;
  --gutter: clamp(16px, 4vw, 32px);

  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", "Cascadia Mono", Menlo, Consolas, monospace;

  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }

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

img, svg { display: block; max-width: 100%; }
figure { margin: 0; }
a { color: var(--silver-hi); text-decoration-color: rgba(255,255,255,.35); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--red-hi); }
:focus-visible { outline: 2px solid var(--silver-hi); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 { line-height: 1.12; letter-spacing: -.02em; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2.5rem, 6vw, 4.3rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.15rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--silver-hi); color: var(--ink); padding: 10px 14px; border-radius: 8px; font-weight: 600;
}
.skip:focus { top: 12px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--silver); margin: 0 0 18px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--red); }

.lead { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 40ch; }
.muted { color: var(--muted); }

/* Dannebrog */
.flag { width: 22px; height: auto; aspect-ratio: 37 / 28; flex: none; border-radius: 2px; box-shadow: 0 0 0 1px rgba(255,255,255,.12); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  font: 600 1rem/1 var(--font); text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--silver-hi); color: #111113; }
.btn-primary:hover { background: #fff; }
.btn-ghost { color: var(--text); border-color: var(--line-strong); background: rgba(255,255,255,.02); }
.btn-ghost:hover { border-color: rgba(255,255,255,.4); }
.btn svg { width: 18px; height: 18px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(15, 15, 17, .78);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--text); text-decoration: none; font-weight: 700; letter-spacing: .01em; font-size: 1.15rem; }
.brand img { height: 40px; width: auto; }
.brand span b { color: var(--silver); font-weight: 500; }

.header-end { display: flex; align-items: center; gap: 14px; }

.lang { display: inline-flex; flex: none; padding: 3px; border: 1px solid var(--line-strong); border-radius: 999px; background: rgba(255,255,255,.03); }
.lang a {
  display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 32px; padding: 0 10px;
  border-radius: 999px; font: 600 .78rem var(--mono); letter-spacing: .08em; color: var(--muted); text-decoration: none;
}
.lang a:hover { color: var(--text); }
.lang a[aria-current] { background: var(--silver-hi); color: #111113; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a { color: var(--muted); text-decoration: none; font-size: .95rem; padding: 8px 12px; border-radius: 8px; white-space: nowrap; }
.nav a:hover { color: var(--text); background: rgba(255,255,255,.05); }
.nav .btn { margin-left: 8px; min-height: 40px; padding: 0 18px; font-size: .92rem; color: #111113; }
.nav .btn:hover { background: #fff; color: #111113; }

.nav-toggle { display: none; }

@media (max-width: 1040px) {
  .header-end { gap: 10px; }
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line-strong);
    background: transparent; color: var(--text); cursor: pointer;
  }
  .nav-toggle svg { width: 22px; height: 22px; }
  .nav {
    position: absolute; left: 0; right: 0; top: 68px;
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 12px var(--gutter) 20px;
    background: rgba(15, 15, 17, .98); border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px; font-size: 1.05rem; }
  .nav .btn { margin: 8px 0 0; min-height: 48px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(40px, 7vw, 88px) 0 clamp(56px, 8vw, 104px); overflow: hidden; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(42% 60% at 74% 42%, rgba(255, 255, 255, .075), transparent 70%),
    radial-gradient(30% 40% at 0% 0%, rgba(200, 16, 46, .07), transparent 70%),
    linear-gradient(180deg, var(--ink), var(--bg));
}
.facets { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }
.facets polygon { fill: #fff; }

.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.hero h1 { margin-bottom: 22px; }
.hero h1 em {
  font-style: normal;
  background: linear-gradient(180deg, #FFFFFF 10%, #A9A9B0 95%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .lead { margin-bottom: 32px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 36px; }

.origin {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px;
  padding: 7px 14px 7px 9px; border-radius: 999px; border: 1px solid var(--line-strong); background: rgba(255,255,255,.03);
  font-size: .88rem; color: var(--muted);
}
.origin b { color: var(--text); font-weight: 600; white-space: nowrap; }

.trust-row { display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 0; margin: 0; list-style: none; color: var(--muted); font-size: .92rem; }
.trust-row li { display: inline-flex; align-items: center; gap: 8px; }
.trust-row svg { width: 16px; height: 16px; color: var(--silver); flex: none; }

.hero-raven { --rw: min(34vw, 430px); position: relative; display: grid; place-items: center; min-height: calc(var(--rw) * 1.3); }
.hero-raven > * { grid-area: 1 / 1; }
.hero-raven .halo, .hero-raven .rings { pointer-events: none; }
.hero-raven picture { position: relative; z-index: 1; width: var(--rw); }
.hero-raven img { width: 100%; height: auto; filter: drop-shadow(0 40px 60px rgba(0,0,0,.55)); }
.hero-raven .halo {
  z-index: 0; width: calc(var(--rw) * 1.25); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255,255,255,.085), rgba(255,255,255,.025) 60%, transparent 100%);
}
.hero-raven .rings { z-index: 0; width: calc(var(--rw) * 1.5); aspect-ratio: 1; }
.hero-raven .rings circle { fill: none; stroke: rgba(255,255,255,.07); }
.hero-raven .rings .sweep { stroke: rgba(255,255,255,.2); stroke-dasharray: 60 1200; transform-origin: 200px 200px; animation: sweep 9s linear infinite; }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-raven { --rw: min(52vw, 280px); order: -1; }
}

@keyframes sweep { to { transform: rotate(360deg); } }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 112px) 0; border-top: 1px solid var(--line); }
.section.alt { background: linear-gradient(180deg, var(--surface), var(--bg)); }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head p { color: var(--muted); font-size: 1.1rem; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: step; }
.steps li {
  position: relative; padding: 26px 22px 24px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line);
}
.steps li::before {
  counter-increment: step; content: "0" counter(step);
  display: block; font: 600 .8rem var(--mono); letter-spacing: .14em; color: var(--red-hi); margin-bottom: 18px;
}
.steps .icon, .card .icon { display: grid; place-items: center; background: var(--tile); color: var(--silver-hi); border: 1px solid var(--line); }
.steps .icon { width: 44px; height: 44px; border-radius: 12px; margin-bottom: 18px; }
.steps .icon svg { width: 22px; height: 22px; }
.steps p { color: var(--muted); font-size: .97rem; margin: 0; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Fusion split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: clamp(36px, 5vw, 56px) 0 0; }
@media (max-width: 960px) { .facts { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .facts { grid-template-columns: 1fr; } }
.fact { padding: 20px 22px; border-radius: var(--radius); border: 1px solid var(--line); background: rgba(255,255,255,.02); }
.fact dt { font: 600 .74rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--red-hi); margin-bottom: 10px; }
.fact dd { margin: 0; }
.fact dd strong { display: block; font-size: 1.05rem; margin-bottom: 2px; }
.fact dd span { color: var(--muted); font-size: .95rem; }

/* Fusion illustration */
.map-card {
  position: relative; border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line); box-shadow: 0 40px 80px -40px rgba(0,0,0,.8);
  padding: 10px;
}
.map-card figcaption {
  display: flex; justify-content: space-between; gap: 12px;
  font-family: var(--mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--faint);
  padding: 8px 10px 4px;
}
.map-card figcaption .live { color: var(--silver); display: inline-flex; align-items: center; gap: 8px; }
.map-card figcaption .live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--red); animation: blink 1.6s ease-in-out infinite; }

.map .ring { fill: none; stroke: rgba(255, 255, 255, .07); }
.map .coast { fill: rgba(255, 255, 255, .03); stroke: rgba(255, 255, 255, .14); stroke-width: 1; }
.map .bearing { stroke: var(--silver); stroke-width: 1.3; stroke-dasharray: 4 5; opacity: .6; animation: dash 1.2s linear infinite; }
.map .track { fill: none; stroke: var(--red-hi); stroke-width: 1.6; stroke-dasharray: 2 7; stroke-linecap: round; opacity: .85; animation: dash 1.4s linear infinite; }
.map .track-head { fill: var(--red-hi); }
.map .observer circle.dot { fill: var(--silver-hi); }
.map .observer circle.ping { fill: none; stroke: var(--silver-hi); stroke-width: 1.2; transform-box: fill-box; transform-origin: center; animation: ping 2.8s ease-out infinite; }
.map .observer:nth-of-type(2) circle.ping { animation-delay: .9s; }
.map .observer:nth-of-type(3) circle.ping { animation-delay: 1.8s; }
.map .tag rect { fill: rgba(15, 15, 17, .9); stroke: var(--line-strong); }
.map .tag text { fill: var(--muted); font: 600 10px var(--mono); letter-spacing: .08em; }
.map .drone .halo { fill: var(--red-soft); stroke: var(--red-hi); stroke-opacity: .6; transform-box: fill-box; transform-origin: center; animation: pulse 2.4s ease-in-out infinite; }
.map .drone .body { fill: var(--red-hi); }
.map .drone .arm { stroke: var(--red-hi); stroke-width: 2; stroke-linecap: round; }
.map .readout rect { fill: rgba(15, 15, 17, .92); stroke: rgba(240, 86, 106, .4); }
.map .readout .k { fill: var(--faint); font: 600 9px var(--mono); letter-spacing: .12em; }
.map .readout .v { fill: var(--text); font: 600 12px var(--mono); }
.map .readout .v.hi { fill: var(--red-hi); }

@keyframes dash { to { stroke-dashoffset: -18; } }
@keyframes ping { 0% { transform: scale(.4); opacity: .9; } 100% { transform: scale(2.6); opacity: 0; } }
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.18); opacity: .6; } }
@keyframes blink { 50% { opacity: .25; } }

.capture { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 24px; }
.capture div { padding: 16px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.capture svg { width: 22px; height: 22px; color: var(--silver-hi); margin-bottom: 10px; }
.capture b { display: block; font-size: .98rem; }
.capture small { color: var(--muted); font-size: .85rem; }
@media (max-width: 480px) { .capture { grid-template-columns: 1fr; } }

/* Privacy cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 960px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .cards { grid-template-columns: 1fr; } }
.card { padding: 26px 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.card .icon { width: 40px; height: 40px; border-radius: 11px; margin-bottom: 18px; }
.card .icon svg { width: 20px; height: 20px; }
.card p { color: var(--muted); margin: 0; font-size: .97rem; }
.card p small { display: block; margin-top: 10px; color: var(--faint); font-size: .85rem; }
.section-foot { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* Denmark */
.dk { position: relative; overflow: hidden; isolation: isolate; }
.dk::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(50% 70% at 20% 50%, rgba(200, 16, 46, .10), transparent 70%);
}
.dk-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
@media (max-width: 900px) { .dk-grid { grid-template-columns: 1fr; } }
.dk-flag { position: relative; max-width: 440px; width: 100%; }
.dk-flag svg { width: 100%; height: auto; border-radius: 10px; box-shadow: 0 50px 90px -40px rgba(200, 16, 46, .55), 0 0 0 1px rgba(255,255,255,.08); }
.dk-flag .sheen { position: absolute; inset: 0; border-radius: 10px; pointer-events: none;
  background: linear-gradient(115deg, rgba(255,255,255,.07) 0%, rgba(255,255,255,0) 30%, rgba(0,0,0,.1) 60%, rgba(255,255,255,.04) 80%, rgba(0,0,0,.14) 100%); }
.dk-flag figcaption { margin-top: 16px; font: 600 .74rem var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.dk-points { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.dk-points li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 18px 20px; border-radius: var(--radius); background: rgba(255,255,255,.025); border: 1px solid var(--line); }
.dk-points .n { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--red-soft); color: var(--red-hi); font: 700 .85rem var(--mono); }
.dk-points b { display: block; font-size: 1.05rem; }
.dk-points span { color: var(--muted); font-size: .96rem; }
@media (max-width: 900px) { .dk-flag { max-width: 280px; } }

/* Authorities */
.panel {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(80% 120% at 100% 0%, rgba(255, 255, 255, .06), transparent 60%),
    var(--surface);
  padding: clamp(28px, 5vw, 56px);
}
.checklist { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 14px; }
.checklist li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; }
.checklist svg { width: 20px; height: 20px; color: var(--silver-hi); margin-top: 3px; }
.checklist b { display: block; }
.checklist span { color: var(--muted); font-size: .96rem; }
.spec { border-radius: var(--radius); border: 1px solid var(--line); background: rgba(0, 0, 0, .25); padding: 22px; font-family: var(--mono); font-size: .84rem; }
.spec-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.spec-row:last-child { border-bottom: 0; }
.spec-row span { flex: none; color: var(--faint); text-transform: uppercase; letter-spacing: .1em; font-size: .74rem; }
.spec-row b { display: inline-flex; align-items: center; gap: 8px; color: var(--text); font-weight: 600; text-align: right; }
.spec-row .flag { width: 18px; }

/* Safety */
.safety {
  display: grid; grid-template-columns: auto 1fr auto; gap: 20px 28px; align-items: center;
  border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 36px);
  background: var(--red-soft); border: 1px solid rgba(240, 86, 106, .35);
}
.safety .icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: rgba(200, 16, 46, .22); color: var(--red-hi); }
.safety .icon svg { width: 26px; height: 26px; }
.safety h2 { font-size: 1.35rem; margin-bottom: 6px; }
.safety p { margin: 0; color: #DCC9CC; }
.safety .num { font: 700 2.4rem/1 var(--mono); color: var(--red-hi); letter-spacing: -.02em; text-align: center; }
.safety .num small { display: block; font-size: .7rem; letter-spacing: .14em; color: #C9A3A9; font-weight: 600; margin-top: 6px; text-transform: uppercase; }
@media (max-width: 720px) { .safety { grid-template-columns: 1fr; } .safety .num { text-align: left; } }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; position: relative;
  font-weight: 600; font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg);
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details > div { padding: 0 22px 20px; color: var(--muted); }
.faq details > div p:last-child { margin: 0; }

/* Download */
.download { text-align: center; position: relative; overflow: hidden; isolation: isolate; }
.download .raven-mark { width: 92px; height: auto; margin: 0 auto 22px; filter: drop-shadow(0 18px 30px rgba(0,0,0,.6)); }
.download .section-head { margin-left: auto; margin-right: auto; }
.stores { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.store {
  display: inline-flex; align-items: center; gap: 12px; min-width: 210px; padding: 12px 22px; border-radius: 14px;
  background: #000; color: #fff; text-decoration: none; border: 1px solid var(--line-strong);
  transition: border-color .15s ease, transform .15s ease;
}
.store:hover { border-color: rgba(255,255,255,.45); transform: translateY(-1px); }
.store svg { width: 26px; height: 26px; flex: none; }
.store span { display: grid; text-align: left; line-height: 1.15; }
.store small { font-size: .72rem; color: #B9B9C0; }
.store b { font-size: 1.15rem; font-weight: 600; letter-spacing: -.01em; }
.store[aria-disabled="true"] { opacity: .65; cursor: default; }
.store[aria-disabled="true"]:hover { transform: none; border-color: var(--line-strong); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 40px; background: var(--ink); color: var(--muted); font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; margin-bottom: 36px; }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: var(--text); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; font-family: var(--mono); font-weight: 600; margin: 0 0 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--text); text-decoration: underline; }
.site-footer .brand { margin-bottom: 14px; }
.made-in { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 600; margin: 4px 0 0; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--faint); }
.footer-bottom p { margin: 0; display: inline-flex; align-items: center; gap: 8px; }
.footer-bottom .flag { width: 16px; }

/* ---------- Privacy policy page ---------- */
.doc-hero { padding: clamp(40px, 6vw, 72px) 0 clamp(28px, 4vw, 40px); border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--ink), var(--bg)); }
.doc-hero .wrap { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: end; }
.doc-hero .doc-raven { width: 110px; height: auto; opacity: .95; filter: drop-shadow(0 20px 30px rgba(0,0,0,.6)); }
@media (max-width: 640px) { .doc-hero .doc-raven { display: none; } .doc-hero .wrap { grid-template-columns: 1fr; } }
.doc-hero h1 { font-size: clamp(2.1rem, 5vw, 3.2rem); margin-bottom: 14px; }
.doc-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--muted); font-size: .95rem; margin: 0; }
.doc-meta b { color: var(--text); font-weight: 600; }
.doc-meta .flag { display: inline-block; width: 18px; vertical-align: -2px; margin-right: 8px; }

.doc-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); padding-top: clamp(36px, 5vw, 56px); padding-bottom: clamp(64px, 8vw, 96px); }
@media (max-width: 900px) { .doc-layout { grid-template-columns: 1fr; } .toc { display: none; } }
.toc { position: sticky; top: 92px; align-self: start; font-size: .92rem; }
.toc h2 { font: 600 .74rem var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--faint); margin: 0 0 12px; }
.toc ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; border-left: 1px solid var(--line); }
.toc a { display: block; padding: 6px 0 6px 16px; margin-left: -1px; border-left: 2px solid transparent; color: var(--muted); text-decoration: none; }
.toc a:hover { color: var(--text); border-left-color: var(--red); }

.summary { border-radius: var(--radius); border: 1px solid var(--line-strong); background: var(--surface); padding: 22px 24px; margin-bottom: 44px; }
.summary h2 { font-size: 1.05rem; margin-bottom: 12px; }
.summary ul { margin: 0 0 12px; padding-left: 20px; display: grid; gap: 6px; }
.summary p { margin: 0; font-size: .88rem; color: var(--muted); }

.prose { max-width: 72ch; }
.prose section { padding-bottom: 12px; margin-bottom: 28px; border-bottom: 1px solid var(--line); }
.prose section:last-child { border-bottom: 0; }
.prose h2 { font-size: 1.4rem; display: flex; gap: 14px; align-items: baseline; margin-bottom: 14px; }
.prose h2 .n { font: 600 .9rem var(--mono); color: var(--red-hi); min-width: 1.6em; }
.prose p, .prose li { color: #D0D0D6; }
.prose ul { padding-left: 22px; margin: 0 0 1em; display: grid; gap: 6px; }
.prose address { font-style: normal; color: #D0D0D6; line-height: 1.7; }

.back { display: inline-flex; align-items: center; gap: 8px; font-size: .95rem; color: var(--muted); text-decoration: none; margin-bottom: 24px; }
.back:hover { color: var(--text); }
.back svg { width: 16px; height: 16px; }

/* 404 */
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; padding-top: 64px; padding-bottom: 64px; }
.notfound img { width: 120px; height: auto; margin: 0 auto 20px; }
.notfound .code { font: 700 .9rem var(--mono); letter-spacing: .2em; color: var(--red-hi); margin-bottom: 10px; }
.notfound .actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ---------- Motion & print ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

@media print {
  :root { color-scheme: light; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .site-header, .site-footer, .toc, .back, .skip, .doc-raven { display: none !important; }
  .doc-hero { background: none; border: 0; padding: 0 0 12pt; }
  .doc-layout { display: block; padding: 0; }
  .summary { background: none; border: 1px solid #999; }
  .prose p, .prose li, .prose address, .doc-meta, .summary p, .doc-meta b { color: #000; }
  .prose h2 .n { color: #000; }
  .prose section { break-inside: avoid; border-color: #ccc; }
  a { color: #000; }
}
