:root {
  color-scheme: dark;
  --ink: #05070d;
  --deep: #0d131d;
  --panel: rgba(13, 19, 29, 0.86);
  --panel-strong: rgba(16, 24, 36, 0.96);
  --line: rgba(114, 230, 225, 0.2);
  --text: #f4ebd8;
  --muted: #bcc6ca;
  --cyan: #72e6e1;
  --gold: #d8b36a;
  --danger: #f0a4a4;
  --shadow: 0 24px 72px rgba(0, 0, 0, 0.4);
  --radius: 22px;
  font-family: ui-rounded, "SF Pro Rounded", "SF Pro Display", -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 12% -10%, rgba(114, 230, 225, 0.15), transparent 34rem),
    radial-gradient(circle at 88% 18%, rgba(216, 179, 106, 0.11), transparent 31rem),
    linear-gradient(155deg, #05070d 0%, #09101a 52%, #111017 100%);
  font-size: 17px;
  line-height: 1.68;
}

body::before,
body::after {
  position: fixed;
  z-index: -1;
  width: 32rem;
  height: 32rem;
  border-radius: 50%;
  content: "";
  filter: blur(94px);
  opacity: 0.12;
  pointer-events: none;
}

body::before {
  top: 7rem;
  left: -18rem;
  background: var(--cyan);
}

body::after {
  right: -18rem;
  bottom: 3rem;
  background: var(--gold);
}

a {
  color: var(--cyan);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: #b9fbf8;
}

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

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.7rem 1rem;
  color: var(--ink);
  background: var(--gold);
  border-radius: 10px;
  font-weight: 850;
  transform: translateY(-180%);
}

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

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(5, 7, 13, 0.84);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.nav-shell,
.page-shell,
.footer-shell {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.7rem;
  color: var(--text);
  font-size: 1rem;
  font-weight: 850;
  letter-spacing: 0.03em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border: 1px solid rgba(114, 230, 225, 0.5);
  border-radius: 50%;
  color: var(--cyan);
  background: rgba(114, 230, 225, 0.08);
  box-shadow: 0 0 30px rgba(114, 230, 225, 0.16);
  font-size: 1.05rem;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.25rem;
}

.site-nav a {
  min-height: 44px;
  padding: 0.55rem 0.72rem;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 750;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--text);
  background: rgba(114, 230, 225, 0.1);
}

.page-shell {
  padding-block: clamp(2.8rem, 7vw, 6.5rem);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(2rem, 6vw, 4.5rem);
  border: 1px solid var(--line);
  border-radius: clamp(24px, 4vw, 36px);
  background:
    linear-gradient(135deg, rgba(13, 19, 29, 0.98), rgba(24, 21, 25, 0.9)),
    var(--panel-strong);
  box-shadow: var(--shadow);
}

.hero::after {
  position: absolute;
  top: -5rem;
  right: -5rem;
  width: 18rem;
  height: 18rem;
  border: 1px solid rgba(216, 179, 106, 0.2);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(216, 179, 106, 0.13), transparent 66%);
  content: "";
  pointer-events: none;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  line-height: 1.18;
  text-wrap: balance;
}

h1 {
  max-width: 18ch;
  margin: 0;
  font-size: clamp(2.35rem, 7vw, 5.2rem);
  letter-spacing: -0.045em;
}

h2 {
  margin: 0 0 0.9rem;
  color: var(--text);
  font-size: clamp(1.25rem, 3vw, 1.7rem);
  letter-spacing: -0.015em;
}

h3 {
  margin: 1.5rem 0 0.5rem;
  color: var(--gold);
  font-size: 1.05rem;
}

p,
ul,
ol {
  margin-top: 0;
}

.lead {
  max-width: 67ch;
  margin: 1.2rem 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2.4vw, 1.3rem);
}

.meta {
  margin-top: 1rem;
  color: #9ca9ae;
  font-size: 0.88rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.72rem 1.05rem;
  border: 1px solid rgba(114, 230, 225, 0.55);
  border-radius: 999px;
  color: var(--ink);
  background: var(--cyan);
  font-weight: 850;
  text-decoration: none;
}

.button:hover {
  color: var(--ink);
  background: #a4f5f1;
}

.button.secondary {
  color: var(--text);
  background: rgba(114, 230, 225, 0.07);
}

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

.card {
  display: block;
  min-height: 100%;
  padding: 1.45rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  background: var(--panel);
  box-shadow: 0 14px 42px rgba(0, 0, 0, 0.2);
  text-decoration: none;
}

.card:hover {
  border-color: rgba(114, 230, 225, 0.5);
  color: var(--muted);
  transform: translateY(-2px);
}

.card h2 {
  margin-top: 0.35rem;
}

.card p:last-child,
.section > :last-child,
.notice > :last-child {
  margin-bottom: 0;
}

.card-label {
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.document-layout {
  display: grid;
  grid-template-columns: minmax(210px, 0.29fr) minmax(0, 1fr);
  align-items: start;
  gap: 1.25rem;
  margin-top: 1.25rem;
}

.document {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.22);
}

.section {
  padding: clamp(1.35rem, 4vw, 2.35rem);
  scroll-margin-top: 6rem;
}

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

.section p,
.section li,
.notice {
  color: var(--muted);
}

.section strong,
.notice strong {
  color: var(--text);
}

.section ul,
.section ol {
  padding-left: 1.3rem;
}

.section li + li {
  margin-top: 0.42rem;
}

.toc {
  position: sticky;
  top: 6rem;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.toc h2 {
  font-size: 1rem;
}

.toc ol {
  margin: 0;
  padding-left: 1.25rem;
}

.toc li + li {
  margin-top: 0.42rem;
}

.toc a {
  color: var(--muted);
  font-size: 0.88rem;
}

.notice {
  margin: 1rem;
  padding: 1.1rem 1.2rem;
  border: 1px solid rgba(216, 179, 106, 0.35);
  border-radius: 16px;
  background: rgba(216, 179, 106, 0.07);
}

.status-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  padding: 0;
  list-style: none;
}

.status-list li {
  padding: 0.9rem 1rem;
  border: 1px solid rgba(114, 230, 225, 0.14);
  border-radius: 14px;
  background: rgba(114, 230, 225, 0.04);
}

.steps {
  padding: 0;
  counter-reset: steps;
  list-style: none;
}

.steps li {
  display: grid;
  grid-template-columns: 2.1rem 1fr;
  align-items: start;
  gap: 0.75rem;
  counter-increment: steps;
}

.steps li::before {
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border: 1px solid rgba(114, 230, 225, 0.4);
  border-radius: 50%;
  color: var(--cyan);
  content: counter(steps);
  font-weight: 850;
}

address {
  color: var(--muted);
  font-style: normal;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(5, 7, 13, 0.7);
}

.footer-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 92px;
  gap: 1rem;
  color: #9ca9ae;
  font-size: 0.85rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 1rem;
}

@media (max-width: 820px) {
  .nav-shell,
  .footer-shell {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding-block: 0.8rem;
  }

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

  .grid,
  .document-layout {
    grid-template-columns: 1fr;
  }

  .toc {
    position: static;
  }

  .status-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  body {
    font-size: 16px;
  }

  .nav-shell,
  .page-shell,
  .footer-shell {
    width: min(100% - 1.1rem, 1120px);
  }

  .site-nav a {
    padding-inline: 0.55rem;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}

@media print {
  :root {
    color-scheme: light;
  }

  body {
    color: #111;
    background: #fff;
  }

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

  .page-shell {
    width: 100%;
    padding: 0;
  }

  .hero,
  .document,
  .section {
    color: #111;
    border: 0;
    background: #fff;
    box-shadow: none;
  }

  .section p,
  .section li,
  .lead,
  .meta,
  .eyebrow,
  address {
    color: #222;
  }

  a,
  .section a,
  .notice,
  .notice a {
    color: #111;
  }
}
