:root {
  --bg: #071012;
  --bg-soft: #0d1b1e;
  --panel: #102226;
  --panel-strong: #132a2f;
  --text: #eef7f4;
  --muted: #aabdb9;
  --line: rgba(196, 226, 218, .18);
  --teal: #79e2d2;
  --coral: #ff8b6f;
  --amber: #ffc66d;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 28px;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 85% -8%, rgba(51, 145, 130, .24), transparent 34rem),
    radial-gradient(circle at -10% 32%, rgba(255, 139, 111, .07), transparent 28rem),
    linear-gradient(180deg, #071012, #091619 56%, #071012);
  font: 16px/1.72 ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: var(--teal);
  text-underline-offset: .18em;
  text-decoration-thickness: .08em;
}

a:hover {
  color: #fff;
}

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

.skip-link {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 20;
  padding: 10px 14px;
  color: #071012;
  background: var(--amber);
  border-radius: 8px;
  transform: translateY(-160%);
}

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

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

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(7, 16, 18, .82);
  backdrop-filter: blur(14px);
}

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

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

.brand:hover {
  color: var(--text);
}

.brand svg {
  width: 32px;
  height: 32px;
  color: var(--teal);
}

.brand-dot {
  color: var(--coral);
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 25px;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.header-nav a {
  color: #d6e5e1;
  text-decoration: none;
}

.header-nav a[aria-current="page"] {
  color: var(--amber);
}

.hero {
  padding: 68px 0 33px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .16em;
  text-transform: uppercase;
}

h1 {
  max-width: 870px;
  margin: 0;
  font-size: clamp(43px, 6vw, 74px);
  font-weight: 830;
  letter-spacing: -.06em;
  line-height: .98;
}

.hero-lead {
  max-width: 800px;
  margin: 23px 0 0;
  color: #c8d8d4;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.55;
}

.updated {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 58px;
  padding: 35px 0 78px;
}

.toc {
  align-self: start;
  position: sticky;
  top: 24px;
  padding: 21px;
  border: 1px solid var(--line);
  background: rgba(14, 31, 34, .76);
}

.toc h2 {
  margin: 0 0 13px;
  font-size: 12px;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.toc ol {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: toc;
  font-size: 12px;
  line-height: 1.35;
}

.toc li {
  counter-increment: toc;
}

.toc a {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 7px;
  color: #bed0cc;
  text-decoration: none;
}

.toc a::before {
  content: counter(toc, decimal-leading-zero);
  color: #71938d;
  font-variant-numeric: tabular-nums;
}

.toc a:hover {
  color: #fff;
}

.legal-copy {
  min-width: 0;
}

.legal-copy > section {
  padding: 0 0 35px;
  margin: 0 0 35px;
  border-bottom: 1px solid var(--line);
}

.legal-copy > section:last-child {
  margin-bottom: 0;
  border-bottom: 0;
}

h2 {
  margin: 0 0 17px;
  font-size: clamp(25px, 3vw, 34px);
  line-height: 1.15;
  letter-spacing: -.035em;
}

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

p {
  margin: 0 0 15px;
  color: #d8e5e1;
}

ul,
ol {
  margin: 0 0 18px;
  padding-left: 23px;
  color: #d8e5e1;
}

li + li {
  margin-top: 7px;
}

strong {
  color: #fff;
}

.notice {
  margin: 0 0 28px;
  padding: 23px 24px;
  border: 1px solid rgba(121, 226, 210, .42);
  border-left: 4px solid var(--teal);
  background: linear-gradient(135deg, rgba(121, 226, 210, .12), rgba(13, 27, 30, .82));
}

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

.notice-label {
  display: block;
  margin-bottom: 6px;
  color: var(--teal);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.check-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  margin: 0;
  padding: 13px 14px 13px 38px;
  border: 1px solid var(--line);
  background: rgba(16, 34, 38, .72);
  color: #d9e7e3;
  font-size: 13px;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 14px;
  color: var(--teal);
  font-weight: 900;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 20px;
  font-size: 14px;
}

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

.data-table th {
  color: #fff;
  background: rgba(121, 226, 210, .08);
  font-size: 11px;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.data-table td {
  color: #d5e2de;
}

.inline-note {
  padding: 15px 17px;
  border: 1px solid rgba(255, 198, 109, .34);
  background: rgba(255, 198, 109, .07);
  color: #d9e4e1;
  font-size: 13px;
}

.contact-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  margin-top: 14px;
  padding: 25px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 100% 0%, rgba(121, 226, 210, .11), transparent 18rem),
    var(--panel);
}

.contact-card p {
  margin-bottom: 5px;
}

.contact-card .button {
  display: inline-block;
  padding: 11px 16px;
  color: #071012;
  background: var(--teal);
  font-size: 14px;
  font-weight: 850;
  text-decoration: none;
  white-space: nowrap;
}

.contact-card .button:hover {
  color: #071012;
  background: #fff;
}

.site-footer {
  padding: 34px 0 48px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.footer-grid {
  display: grid;
  grid-template-columns: .7fr 1fr auto;
  gap: 32px;
  align-items: start;
}

.site-footer strong {
  color: #fff;
}

.site-footer p {
  margin: 3px 0;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 18px;
}

@media (max-width: 860px) {
  .layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .toc {
    position: static;
  }

  .toc ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .footer-links {
    grid-column: 1 / -1;
  }
}

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

  .header-inner {
    min-height: 64px;
  }

  .header-nav {
    gap: 14px;
    font-size: 10px;
  }

  .header-nav a:first-child {
    display: none;
  }

  .brand {
    font-size: 19px;
  }

  .brand svg {
    width: 28px;
    height: 28px;
  }

  .hero {
    padding: 45px 0 25px;
  }

  h1 {
    font-size: clamp(34px, 9.7vw, 42px);
  }

  .layout {
    padding-top: 22px;
  }

  .toc ol,
  .check-list,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .contact-card .button {
    justify-self: start;
    white-space: normal;
  }

  .data-table,
  .data-table thead,
  .data-table tbody,
  .data-table tr,
  .data-table th,
  .data-table td {
    display: block;
  }

  .data-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }

  .data-table tr {
    margin-bottom: 12px;
    border: 1px solid var(--line);
  }

  .data-table td {
    border: 0;
    border-bottom: 1px solid var(--line);
  }

  .data-table td:last-child {
    border-bottom: 0;
  }

  .footer-links {
    grid-column: auto;
    flex-wrap: wrap;
  }
}

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

  * {
    backdrop-filter: none !important;
  }
}

@media print {
  :root {
    --bg: #fff;
    --text: #111;
    --muted: #444;
    --line: #ccc;
  }

  body {
    color: #111;
    background: #fff;
    font-size: 11pt;
  }

  .site-header,
  .toc,
  .skip-link,
  .site-footer .footer-links {
    display: none;
  }

  .shell {
    width: 100%;
  }

  .hero {
    padding-top: 0;
  }

  .layout {
    display: block;
    padding: 0;
  }

  .legal-copy > section {
    break-inside: avoid;
  }

  p,
  li,
  td {
    color: #111 !important;
  }

  .notice,
  .contact-card,
  .check-list li,
  .data-table th {
    background: #fff !important;
  }
}
