:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #07111f;
  color: #e8f0fa;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  --bg: #07111f;
  --surface: #0b192b;
  --surface-strong: #102238;
  --line: rgba(161, 190, 220, .18);
  --line-strong: rgba(161, 190, 220, .3);
  --text: #e8f0fa;
  --muted: #a7b8cc;
  --faint: #748aa4;
  --accent: #75d3bc;
  --accent-strong: #93e5d0;
  --blue: #79afff;
  --shadow: 0 28px 90px rgba(0, 0, 0, .3);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 12% -8%, rgba(45, 125, 236, .24), transparent 34rem),
    radial-gradient(circle at 92% 32%, rgba(50, 196, 162, .11), transparent 30rem),
    var(--bg);
  color: var(--text);
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .018) 1px, transparent 1px);
  background-size: 44px 44px;
  content: "";
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .88), transparent 86%);
}

a { color: inherit; }

img { display: block; max-width: 100%; }

.container { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }

.skip-link {
  position: fixed;
  z-index: 20;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--text);
  color: var(--bg);
  transform: translateY(-160%);
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: relative;
  z-index: 5;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 17, 31, .72);
  backdrop-filter: blur(16px);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  font-size: 14px;
  font-weight: 760;
  letter-spacing: .055em;
  text-decoration: none;
  text-transform: uppercase;
}

.brand img { border-radius: 9px; box-shadow: 0 8px 24px rgba(0, 0, 0, .2); }

nav { display: flex; align-items: center; gap: 6px; }

nav a,
.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

nav a {
  padding: 9px 12px;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 650;
}

nav a:hover,
nav a:focus-visible,
nav a[aria-current="page"] {
  background: rgba(255, 255, 255, .055);
  color: var(--text);
}

.hero {
  min-height: 650px;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr);
  align-items: center;
  gap: clamp(40px, 8vw, 90px);
  padding-block: 88px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 780;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.live-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #4ad5af;
  box-shadow: 0 0 14px rgba(74, 213, 175, .85);
}

h1,
h2,
h3,
p { overflow-wrap: break-word; }

h1 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(46px, 7vw, 78px);
  letter-spacing: -.055em;
  line-height: .98;
}

h2 { margin: 0; font-size: clamp(30px, 4vw, 45px); letter-spacing: -.035em; line-height: 1.08; }

h3 { margin: 0; font-size: 20px; letter-spacing: -.015em; }

.lead {
  max-width: 62ch;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 19px);
  line-height: 1.75;
}

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 11px 17px;
  border: 1px solid transparent;
  border-radius: 11px;
  font-size: 14px;
  font-weight: 720;
  text-decoration: none;
}

.button.primary { background: var(--accent); color: #06130f; }
.button.primary:hover,
.button.primary:focus-visible { background: var(--accent-strong); }
.button.secondary { border-color: var(--line-strong); background: rgba(255, 255, 255, .025); color: var(--text); }
.button.secondary:hover,
.button.secondary:focus-visible { background: rgba(255, 255, 255, .07); }

.summary-card,
.fact-panel,
.info-card,
.note,
.error-card {
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(16, 34, 56, .92), rgba(9, 23, 40, .92));
  box-shadow: var(--shadow);
}

.summary-card { padding: 28px; border-radius: 20px; }

.summary-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; color: var(--faint); font-size: 13px; }
.summary-heading strong { color: var(--accent-strong); }

.summary-list { margin: 26px 0 22px; }
.summary-list div,
.fact-panel dl div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 0;
  border-top: 1px solid var(--line);
}
.summary-list div:last-child,
.fact-panel dl div:last-child { border-bottom: 1px solid var(--line); }
.summary-list dt,
.fact-panel dt { color: var(--muted); }
.summary-list dd,
.fact-panel dd { margin: 0; font-weight: 720; text-align: right; }

.text-link { color: var(--accent-strong); font-size: 14px; font-weight: 700; text-decoration: none; }
.text-link:hover,
.text-link:focus-visible { text-decoration: underline; text-underline-offset: 4px; }

.section { padding-block: 92px; }
.section-heading { max-width: 700px; }
.section-heading > p:last-child,
.callout > p,
.note p,
.info-card p,
.service-list p { color: var(--muted); line-height: 1.7; }
.section-heading > p:last-child { margin: 22px 0 0; font-size: 17px; }

.card-grid { display: grid; gap: 18px; margin-top: 42px; }
.card-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.info-card { min-height: 240px; padding: 28px; border-radius: 17px; box-shadow: none; }
.info-card .card-index { display: inline-block; margin-bottom: 44px; color: var(--blue); font-size: 12px; font-weight: 780; letter-spacing: .1em; }
.info-card p { margin: 14px 0 0; }

.callout {
  display: grid;
  grid-template-columns: minmax(250px, .85fr) minmax(0, 1.15fr);
  align-items: end;
  gap: 50px;
  border-top: 1px solid var(--line);
}
.callout > p { margin: 0; font-size: 17px; }

.page-hero { padding-block: 112px 70px; }
.page-hero h1 { max-width: 14ch; font-size: clamp(46px, 7vw, 72px); }
.page-hero.compact h1 { max-width: 10ch; }
.status-hero h1 { max-width: 13ch; }

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  align-items: start;
  gap: clamp(48px, 8vw, 100px);
  padding-top: 24px;
}

.prose { max-width: 730px; }
.prose h2 { margin-top: 54px; font-size: 30px; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin: 16px 0 0; color: var(--muted); font-size: 17px; line-height: 1.8; }

.fact-panel { position: sticky; top: 28px; padding: 28px; border-radius: 18px; box-shadow: none; }
.fact-panel h2 { font-size: 24px; }
.fact-panel dl { margin: 24px 0 0; }
.fact-panel .updated { margin: 22px 0 0; color: var(--faint); font-size: 13px; }

.service-list { display: grid; gap: 12px; }
.service-list article {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 26px 28px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(12, 29, 49, .76);
}
.service-list h2 { font-size: 21px; }
.service-list p { margin: 7px 0 0; }
.state { display: inline-flex; align-items: center; gap: 9px; color: var(--accent-strong); font-size: 14px; font-weight: 720; white-space: nowrap; }

.split-panels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; padding-top: 10px; }
.split-panels .info-card { min-height: 210px; }
.split-panels .eyebrow { margin-bottom: 36px; }
.split-panels h2 { font-size: 28px; }

.note { padding: 30px; border-radius: 16px; box-shadow: none; }
.note h2 { font-size: 24px; }
.note p { max-width: 75ch; margin: 12px 0 0; }

.site-footer { margin-top: 80px; border-top: 1px solid var(--line); background: rgba(5, 14, 26, .72); }
.footer-inner { min-height: 180px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 18px 40px; }
.footer-inner > div:first-child { display: grid; gap: 7px; }
.footer-inner > div:first-child span,
.footer-inner small { color: var(--faint); }
.footer-links { display: flex; gap: 18px; font-size: 14px; }
.footer-links a:hover,
.footer-links a:focus-visible { color: var(--text); }
.footer-inner small { grid-column: 1 / -1; padding-bottom: 24px; }

.error-page { display: grid; place-items: center; padding: 24px; }
.error-card { width: min(620px, 100%); padding: clamp(30px, 7vw, 58px); border-radius: 22px; }
.error-code { margin: 54px 0 18px; color: var(--accent-strong); font-size: 13px; font-weight: 780; letter-spacing: .12em; text-transform: uppercase; }
.error-card h1 { max-width: 12ch; font-size: clamp(42px, 7vw, 62px); }
.error-card > p:not(.error-code) { margin: 20px 0 30px; color: var(--muted); font-size: 17px; line-height: 1.7; }

:focus-visible { outline: 3px solid rgba(121, 175, 255, .75); outline-offset: 3px; }

@media (max-width: 820px) {
  .hero { min-height: 0; grid-template-columns: 1fr; padding-block: 76px; }
  .summary-card { max-width: 560px; }
  .card-grid.three { grid-template-columns: 1fr; }
  .info-card { min-height: 0; }
  .info-card .card-index { margin-bottom: 28px; }
  .callout,
  .content-grid { grid-template-columns: 1fr; }
  .fact-panel { position: static; }
}

@media (max-width: 620px) {
  .container { width: min(100% - 28px, 1120px); }
  .header-inner { min-height: 0; align-items: flex-start; flex-direction: column; padding-block: 18px; }
  nav { width: 100%; overflow-x: auto; padding-bottom: 2px; }
  nav a { padding-inline: 10px; white-space: nowrap; }
  .hero { padding-block: 62px; }
  h1 { font-size: clamp(42px, 14vw, 60px); }
  .page-hero { padding-block: 72px 40px; }
  .section { padding-block: 66px; }
  .summary-card { padding: 22px; }
  .callout { gap: 28px; }
  .service-list article { align-items: flex-start; flex-direction: column; padding: 22px; }
  .split-panels { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; padding-block: 42px 20px; }
  .footer-inner small { grid-column: auto; padding-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
