:root {
  --ink: #07131d;
  --ink-soft: #112432;
  --blue: #08a9df;
  --blue-bright: #36c4f0;
  --paper: #f5f8fa;
  --white: #fff;
  --line: #d8e2e8;
  --muted: #586b78;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid var(--blue-bright); outline-offset: 4px; }
.wrap { width: min(calc(100% - 2rem), var(--max)); margin-inline: auto; }
.skip-link {
  position: fixed;
  z-index: 100;
  top: .75rem;
  left: .75rem;
  padding: .7rem 1rem;
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }
.eyebrow {
  margin: 0 0 .8rem;
  color: var(--blue-bright);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.site-header { color: var(--white); background: var(--ink); border-bottom: 1px solid #29404f; }
.header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: flex; align-items: center; gap: .8rem; color: var(--white); text-decoration: none; }
.brand img { width: 48px; height: 48px; object-fit: contain; background: var(--white); border-radius: 8px; }
.brand strong { display: block; font-size: 1.05rem; letter-spacing: .04em; }
.brand span { display: block; color: #b7c8d2; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
nav { display: flex; align-items: center; gap: 1.35rem; }
nav a { color: #d7e5ec; text-decoration: none; font-size: .92rem; font-weight: 700; }
nav a[aria-current="page"], nav a:hover, nav a:focus-visible { color: var(--blue-bright); }

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 7rem 0 6rem;
  color: var(--white);
  background: linear-gradient(135deg, #07131d, #123247);
}
.page-hero::after {
  content: "";
  position: absolute;
  top: -15rem;
  right: -10rem;
  width: 38rem;
  height: 38rem;
  border: 1px solid rgba(54,196,240,.18);
  border-radius: 50%;
  box-shadow: 0 0 0 6rem rgba(54,196,240,.035), 0 0 0 12rem rgba(54,196,240,.02);
}
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { max-width: 850px; margin: 0; font-size: clamp(2.7rem, 6vw, 5rem); line-height: 1; letter-spacing: -.045em; }
.page-hero .lead { max-width: 760px; margin: 1.5rem 0 0; color: #c9d9e1; font-size: clamp(1.05rem, 2vw, 1.25rem); }
.breadcrumbs { margin: 0 0 2rem; color: #a9bdc8; font-size: .9rem; }
.breadcrumbs a { color: var(--blue-bright); text-underline-offset: .2rem; }

section { padding: 5.5rem 0; scroll-margin-top: 1rem; }
.section-head { display: grid; grid-template-columns: .8fr 1.2fr; gap: 3rem; margin-bottom: 2.5rem; }
.section-head h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.08; letter-spacing: -.035em; }
.section-head > p { margin: 0; color: var(--muted); font-size: 1.08rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
.panel {
  padding: 1.7rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
}
.panel h2, .panel h3 { margin: .7rem 0 .55rem; line-height: 1.18; }
.panel p { margin: 0; color: var(--muted); }
.panel p + p, .panel ul + p { margin-top: 1rem; }
.panel ul { margin: 1rem 0 0; padding-left: 1.2rem; color: var(--muted); }
.panel li + li { margin-top: .35rem; }
.badge {
  display: inline-flex;
  padding: .3rem .58rem;
  border-radius: 999px;
  color: #006f98;
  background: #e3f6fc;
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.badge.fictional { color: #725600; background: #fff3c7; }
.badge.public { color: #1f6c3b; background: #def5e6; }
.tags { display: flex; flex-wrap: wrap; gap: .45rem; margin: 1.2rem 0 0; padding: 0; list-style: none; }
.tags li { padding: .3rem .6rem; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: .78rem; }
.text-link { display: inline-block; margin-top: 1.2rem; color: #007fae; font-weight: 850; text-underline-offset: .24rem; }
.download-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
  margin-bottom: 1rem;
  padding: 1.7rem;
  border: 1px solid #b9dce9;
  border-left: 5px solid var(--blue);
  border-radius: 12px;
  background: #eefaff;
}
.download-panel h3 { margin: .7rem 0 .35rem; font-size: 1.45rem; line-height: 1.15; }
.download-panel p { max-width: 760px; margin: 0; color: var(--muted); }

.dark { color: var(--white); background: var(--ink); }
.dark .section-head > p, .dark .panel p, .dark .panel ul { color: #b7c8d2; }
.dark .panel { border-color: #29404f; background: var(--ink-soft); }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid #29404f; }
.fact { padding: 1.5rem 1.3rem 1.5rem 0; }
.fact + .fact { padding-left: 1.3rem; border-left: 1px solid #29404f; }
.fact strong { display: block; color: var(--blue-bright); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; }
.fact span { display: block; margin-top: .4rem; color: #dbe7ec; font-weight: 750; }
.facts.light { border-color: var(--line); }
.facts.light .fact + .fact { border-color: var(--line); }
.facts.light .fact span { color: var(--ink); }

.document {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr);
  gap: 3rem;
  align-items: start;
}
.document h2 { margin: 0 0 1rem; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.1; }
.document h3 { margin: 2rem 0 .5rem; }
.document p { color: var(--muted); }
.document ol, .document ul { padding-left: 1.25rem; color: var(--muted); }
.document li + li { margin-top: .45rem; }
.side-card { position: sticky; top: 1rem; padding: 1.5rem; border-top: 4px solid var(--blue); background: var(--white); box-shadow: 0 18px 45px rgba(7,19,29,.08); }
.side-card h3 { margin-top: 0; }
.notice { padding: 1rem 1.2rem; border-left: 4px solid #e5b600; background: #fff8dc; color: #5d4d0a; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: .75rem 1.25rem;
  border: 1px solid var(--blue);
  border-radius: 6px;
  background: var(--blue);
  color: #031018;
  font-weight: 850;
  text-decoration: none;
}
.button:hover, .button:focus-visible { background: var(--blue-bright); border-color: var(--blue-bright); }
.cta { padding-top: 1rem; background: linear-gradient(180deg, var(--paper) 0 50%, #03090e 50%); }
.cta-box { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center; padding: 3rem; border-top: 5px solid var(--blue); background: var(--white); box-shadow: 0 24px 60px rgba(7,19,29,.12); }
.cta h2 { margin: 0 0 .5rem; font-size: clamp(2rem, 4vw, 3.1rem); line-height: 1.08; }
.cta p { margin: 0; color: var(--muted); }

footer { padding: 2.5rem 0; color: #aebfc9; background: #03090e; font-size: .9rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 2rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1rem; }
footer a { color: var(--white); }

@media (max-width: 860px) {
  nav { gap: .9rem; }
  .section-head, .document { grid-template-columns: 1fr; gap: 1.5rem; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .facts { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(3) { border-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid #29404f; }
  .side-card { position: static; }
  .cta-box, .download-panel { grid-template-columns: 1fr; }
  .download-panel .button { justify-self: start; }
}

@media (max-width: 720px) {
  nav a:not(.nav-contact) { display: none; }
  .page-hero { padding: 5rem 0 4.5rem; }
}

@media (max-width: 560px) {
  .wrap { width: min(calc(100% - 1.25rem), var(--max)); }
  .header-inner { min-height: 70px; }
  .brand img { width: 42px; height: 42px; }
  .brand span { display: none; }
  .page-hero h1 { font-size: clamp(2.45rem, 12vw, 3.6rem); }
  section { padding: 4rem 0; }
  .grid-3, .grid-2, .facts { grid-template-columns: 1fr; }
  .fact, .fact + .fact { padding: 1.2rem 0; border-left: 0; }
  .fact + .fact { border-top: 1px solid #29404f; }
  .facts.light .fact + .fact { border-color: var(--line); }
  .cta-box { padding: 1.5rem; }
  .cta .button, .download-panel .button { width: 100%; overflow-wrap: anywhere; }
  .footer-inner { flex-direction: column; }
}

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