:root {
  color-scheme: dark;
  --space: #08070d;
  --space-soft: #0d1019;
  --panel: rgba(14, 18, 30, 0.86);
  --panel-solid: #111724;
  --ink: #fff8e9;
  --body: #e7dccb;
  --muted: #aaa9ad;
  --line: rgba(255, 255, 255, 0.14);
  --line-strong: rgba(113, 167, 255, 0.34);
  --gold: #ffcf56;
  --mint: #2ee6a6;
  --sky: #71a7ff;
  --rose: #ff6b9a;
  --max: 1120px;
  --radius: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  background: var(--space);
}

body {
  min-width: 280px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 12% 8%, rgba(113, 167, 255, 0.14), transparent 28rem),
    radial-gradient(circle at 88% 20%, rgba(255, 207, 86, 0.1), transparent 30rem),
    linear-gradient(180deg, #08070d 0%, #0a0e18 52%, #08070d 100%);
  color: var(--body);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
  opacity: 0.24;
  background-image:
    linear-gradient(rgba(113, 167, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(113, 167, 255, 0.12) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, #000, transparent 86%);
}

a {
  color: var(--mint);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: #baffeb;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

img,
svg {
  max-width: 100%;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--space);
  font-weight: 900;
  transform: translateY(-150%);
}

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

.site-shell {
  width: min(calc(100% - 36px), var(--max));
  margin: 0 auto;
}

.site-header {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  min-height: 82px;
  border-bottom: 1px solid var(--line);
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 950;
  letter-spacing: -0.02em;
  text-decoration: none;
  white-space: nowrap;
}

.brand-orbit {
  position: relative;
  display: inline-block;
  width: 29px;
  height: 29px;
  border: 1px solid rgba(255, 207, 86, 0.62);
  border-radius: 50%;
  box-shadow: 0 0 18px rgba(255, 207, 86, 0.18);
}

.brand-orbit::before,
.brand-orbit::after {
  position: absolute;
  content: "";
  border-radius: 50%;
}

.brand-orbit::before {
  inset: 7px;
  background: var(--gold);
  box-shadow: 0 0 14px rgba(255, 207, 86, 0.72);
}

.brand-orbit::after {
  top: 13px;
  left: -5px;
  width: 37px;
  height: 7px;
  border-top: 1px solid rgba(113, 167, 255, 0.82);
  transform: rotate(-18deg);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
}

.site-nav a {
  padding: 8px 9px;
  border-radius: 7px;
  color: rgba(231, 220, 203, 0.78);
  font-size: 0.79rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: rgba(113, 167, 255, 0.12);
  color: var(--ink);
}

.site-cta,
.button-link {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 9px 15px;
  border: 1px solid rgba(46, 230, 166, 0.56);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(46, 230, 166, 0.22), rgba(113, 167, 255, 0.14));
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.05em;
  text-decoration: none;
  text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.site-cta:hover,
.button-link:hover {
  border-color: var(--mint);
  background: rgba(46, 230, 166, 0.26);
  color: #fff;
}

.button-link.secondary {
  border-color: var(--line-strong);
  background: rgba(113, 167, 255, 0.08);
}

.page-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(260px, 0.65fr);
  gap: clamp(32px, 7vw, 88px);
  align-items: end;
  padding: clamp(64px, 11vw, 126px) 0 clamp(54px, 8vw, 92px);
}

.page-hero::after {
  position: absolute;
  right: 4%;
  bottom: 21%;
  z-index: -1;
  width: min(32vw, 330px);
  aspect-ratio: 1;
  border: 1px solid rgba(113, 167, 255, 0.18);
  border-radius: 50%;
  content: "";
  opacity: 0.64;
  background:
    radial-gradient(circle at 36% 31%, rgba(255, 248, 233, 0.64) 0 1.2%, transparent 2%),
    radial-gradient(circle at 43% 41%, #2c5260 0 26%, #172d38 43%, #07111f 63%, transparent 64%),
    repeating-radial-gradient(circle, rgba(113, 167, 255, 0.28) 0 1px, transparent 2px 20px);
  box-shadow: 0 0 70px rgba(113, 167, 255, 0.12);
}

.eyebrow,
.section-kicker,
.signal-label {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  color: var(--ink);
  line-height: 1.08;
  text-wrap: balance;
}

h1 {
  max-width: 14ch;
  margin: 0;
  font-size: clamp(3rem, 8vw, 6.6rem);
  letter-spacing: -0.055em;
}

h2 {
  margin: 0;
  font-size: clamp(1.9rem, 4vw, 3.3rem);
  letter-spacing: -0.035em;
}

h3 {
  margin: 0;
  font-size: 1.1rem;
  letter-spacing: -0.015em;
}

.hero-dek {
  max-width: 720px;
  margin: 22px 0 0;
  color: #eee4d5;
  font-size: clamp(1.04rem, 2vw, 1.28rem);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.signal-card {
  position: relative;
  overflow: hidden;
  padding: 22px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(113, 167, 255, 0.1), transparent 48%),
    rgba(8, 12, 20, 0.82);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.signal-card::before {
  display: block;
  width: 54px;
  height: 3px;
  margin-bottom: 19px;
  content: "";
  background: linear-gradient(90deg, var(--gold), var(--mint));
  box-shadow: 0 0 16px rgba(46, 230, 166, 0.38);
}

.signal-card dl {
  display: grid;
  gap: 13px;
  margin: 0;
}

.signal-card div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 11px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.signal-card div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.signal-card dt {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.signal-card dd {
  margin: 0;
  color: var(--ink);
  font-weight: 900;
  text-align: right;
}

.content-section {
  padding: clamp(48px, 8vw, 90px) 0;
  border-top: 1px solid var(--line);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 7vw, 92px);
  align-items: start;
  margin-bottom: 36px;
}

.section-heading > p {
  max-width: 660px;
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.content-card {
  min-height: 100%;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(150deg, rgba(113, 167, 255, 0.07), transparent 52%),
    var(--panel);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.content-card .card-number {
  display: inline-grid;
  width: 32px;
  height: 32px;
  margin-bottom: 18px;
  place-items: center;
  border: 1px solid rgba(255, 207, 86, 0.42);
  border-radius: 50%;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 950;
}

.content-card p,
.content-card ul {
  margin: 12px 0 0;
  color: var(--muted);
}

.content-card ul {
  padding-left: 1.15rem;
}

.content-card li + li {
  margin-top: 7px;
}

.prose-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 0.34fr);
  gap: clamp(38px, 8vw, 96px);
  align-items: start;
}

.prose {
  min-width: 0;
}

.prose section + section {
  margin-top: 48px;
  padding-top: 48px;
  border-top: 1px solid var(--line);
}

.prose h2 {
  margin-bottom: 18px;
  font-size: clamp(1.65rem, 3.5vw, 2.45rem);
}

.prose h3 {
  margin-top: 30px;
  margin-bottom: 10px;
}

.prose p,
.prose ul,
.prose ol {
  max-width: 76ch;
  margin-top: 0;
}

.prose p + p {
  margin-top: 16px;
}

.prose ul,
.prose ol {
  padding-left: 1.25rem;
}

.prose li + li {
  margin-top: 9px;
}

.prose strong {
  color: var(--ink);
}

.side-rail {
  position: sticky;
  top: 24px;
  display: grid;
  gap: 14px;
}

.rail-card,
.callout {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(8, 12, 20, 0.76);
}

.rail-card h2,
.rail-card h3 {
  margin: 0 0 12px;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.rail-card nav {
  display: grid;
  gap: 8px;
}

.rail-card nav a {
  color: var(--muted);
  font-size: 0.87rem;
  font-weight: 750;
  text-decoration: none;
}

.rail-card nav a:hover {
  color: var(--mint);
}

.rail-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.callout {
  margin: 26px 0;
  border-color: rgba(46, 230, 166, 0.34);
  background: linear-gradient(135deg, rgba(46, 230, 166, 0.09), rgba(113, 167, 255, 0.06));
}

.callout p:last-child {
  margin-bottom: 0;
}

.control-table {
  width: 100%;
  margin: 24px 0 0;
  border-collapse: collapse;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  font-size: 0.93rem;
}

.control-table th,
.control-table td {
  padding: 13px 15px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.control-table tr:last-child th,
.control-table tr:last-child td {
  border-bottom: 0;
}

.control-table th {
  width: 30%;
  background: rgba(113, 167, 255, 0.08);
  color: var(--ink);
  font-weight: 850;
}

kbd {
  display: inline-block;
  min-width: 1.8em;
  margin: 0 0.1em;
  padding: 0.05em 0.42em;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-bottom-width: 2px;
  border-radius: 5px;
  background: #171c28;
  color: var(--ink);
  font: 750 0.84em ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  text-align: center;
}

.timeline {
  display: grid;
  gap: 16px;
}

.update-entry {
  display: grid;
  grid-template-columns: 145px minmax(0, 1fr);
  gap: 28px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
}

.update-entry time,
.update-meta {
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.update-entry h2 {
  margin-bottom: 10px;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
}

.update-entry p:last-child {
  margin-bottom: 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.contact-card {
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.contact-card.primary {
  border-color: rgba(46, 230, 166, 0.44);
  background: linear-gradient(145deg, rgba(46, 230, 166, 0.1), rgba(8, 12, 20, 0.88));
}

.contact-card p:last-child {
  margin-bottom: 0;
}

.contact-address {
  display: inline-block;
  margin: 10px 0;
  color: var(--ink);
  font-size: clamp(1.12rem, 3vw, 1.65rem);
  font-weight: 900;
  overflow-wrap: anywhere;
}

.policy-date {
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: end;
  margin-top: 40px;
  padding: 34px 0 42px;
  border-top: 1px solid var(--line);
}

.site-footer p {
  max-width: 620px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 16px;
}

.footer-links a {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--mint);
}

@media (max-width: 860px) {
  .site-header {
    grid-template-columns: 1fr auto;
    gap: 12px;
    padding: 14px 0;
  }

  .site-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .page-hero {
    grid-template-columns: 1fr;
  }

  .page-hero::after {
    right: -12%;
    bottom: 37%;
    width: min(62vw, 330px);
  }

  .signal-card {
    max-width: 520px;
  }

  .section-heading,
  .prose-layout {
    grid-template-columns: 1fr;
  }

  .side-rail {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-row: 1;
  }

  .card-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .site-shell {
    width: min(calc(100% - 26px), var(--max));
  }

  .site-brand {
    font-size: 0.94rem;
  }

  .site-cta {
    padding-inline: 11px;
    font-size: 0.7rem;
  }

  .site-nav a {
    padding-inline: 7px;
    font-size: 0.73rem;
  }

  .page-hero {
    padding-top: 58px;
  }

  h1 {
    font-size: clamp(2.8rem, 17vw, 4.4rem);
  }

  .card-grid,
  .contact-grid,
  .side-rail {
    grid-template-columns: 1fr;
  }

  .control-table,
  .control-table tbody,
  .control-table tr,
  .control-table th,
  .control-table td {
    display: block;
    width: 100%;
  }

  .control-table th {
    border-bottom: 0;
    padding-bottom: 5px;
  }

  .control-table td {
    padding-top: 5px;
  }

  .update-entry {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

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