:root {
  --bg: #05060f;
  --gridline: rgba(186, 215, 247, 0.06);
  --frost: #d1e4fa;
  --mist: #c7d3ea;
  --fog: #9da7ba;
  --hairline: rgba(186, 215, 247, 0.12);
  --teal: #0d9488;
  --cyan: #22d3ee;
  --ember: #e46d4c;
  --ember-soft: rgba(228, 109, 76, 0.08);
  --glass: rgba(186, 214, 247, 0.03);
  --skywash: linear-gradient(180deg, #d8ecf8 0%, #98c0ef 100%);
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--mist);
  font-family: "Instrument Sans", ui-sans-serif, system-ui, sans-serif;
  font-size: 15.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--cyan); }
.root { position: relative; min-height: 100%; }
.grid {
  position: fixed; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--gridline) 1px, transparent 1px),
    linear-gradient(90deg, var(--gridline) 1px, transparent 1px);
  background-size: 88px 88px;
  -webkit-mask-image: linear-gradient(180deg, #000 0px, transparent 700px);
  mask-image: linear-gradient(180deg, #000 0px, transparent 700px);
}

.bar {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: space-between;
  max-width: 760px; margin: 0 auto; padding: 26px 24px;
}
.brand { display: flex; align-items: center; gap: 9px; text-decoration: none; }
.brand span {
  font-family: "Schibsted Grotesk", sans-serif; font-weight: 500; font-size: 17px; color: var(--frost);
}
.navlink { color: var(--fog); font-size: 13.5px; text-decoration: none; }
.navlink:hover { color: var(--mist); }

.doc {
  position: relative; z-index: 1;
  max-width: 680px; margin: 0 auto; padding: 20px 24px 80px;
}
.eyebrow {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  color: #2dd4bf; margin-bottom: 14px;
}
h1 {
  font-family: "Schibsted Grotesk", sans-serif; font-weight: 600;
  font-size: clamp(1.9rem, 4vw, 2.5rem); line-height: 1.15; margin: 0 0 10px;
  background: var(--skywash); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.updated {
  font-family: "JetBrains Mono", monospace; font-size: 12px; color: var(--fog);
  margin: 0 0 32px;
}
h2 {
  font-family: "Schibsted Grotesk", sans-serif; font-weight: 600;
  font-size: 18px; color: var(--frost); margin: 40px 0 12px;
}
p { margin: 0 0 16px; }
ul { margin: 0 0 16px; padding-left: 20px; }
li { margin-bottom: 8px; }
strong { color: var(--frost); font-weight: 600; }

.callout {
  border-radius: 10px; background: var(--glass); box-shadow: inset 0 0 0 1px var(--hairline);
  padding: 18px 20px; margin-bottom: 32px;
}
.callout--risk {
  background: var(--ember-soft); box-shadow: inset 0 0 0 1px rgba(228,109,76,0.28);
}
.callout--risk p { color: #e8c4b8; }
.callout-title {
  font-family: "Schibsted Grotesk", sans-serif; font-weight: 600; font-size: 14px;
  color: var(--frost); margin-bottom: 8px;
}
.callout p:last-child { margin-bottom: 0; }

.qa-section { margin-top: 8px; }
.qa-section + .qa-section { margin-top: 36px; }
.qa {
  border-radius: 10px; background: var(--glass); box-shadow: inset 0 0 0 1px var(--hairline);
  margin-bottom: 10px; overflow: hidden;
}
.qa summary {
  list-style: none; cursor: pointer; padding: 16px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  font-family: "Schibsted Grotesk", sans-serif; font-weight: 500; font-size: 15px; color: var(--frost);
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary .chev { flex: none; color: var(--fog); transition: transform 0.2s ease; }
.qa[open] summary .chev { transform: rotate(180deg); }
.qa[open] summary { box-shadow: inset 0 -1px 0 var(--hairline); }
.qa-body { padding: 6px 20px 18px; font-size: 14.5px; color: var(--mist); line-height: 1.62; }
.qa-body p { margin: 0 0 12px; }
.qa-body p:last-child { margin-bottom: 0; }

.foot-note {
  margin-top: 48px; padding-top: 20px; box-shadow: inset 0 1px 0 var(--hairline);
  font-size: 12.5px; color: var(--fog); font-style: italic;
}

.sitefoot {
  position: relative; z-index: 1;
  max-width: 760px; margin: 0 auto; padding: 24px 24px 40px;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  box-shadow: inset 0 1px 0 var(--hairline);
  font-family: "JetBrains Mono", monospace; font-size: 11.5px; color: var(--fog);
}
.sitefoot-links { display: flex; gap: 18px; }
.sitefoot-links a { color: var(--fog); text-decoration: none; }
.sitefoot-links a:hover { color: var(--mist); }

@media (max-width: 560px) {
  .bar, .doc, .sitefoot { padding-left: 20px; padding-right: 20px; }
}
