:root {
  color-scheme: dark;
  --bg: #020713;
  --panel: rgba(7, 19, 39, 0.86);
  --panel-strong: rgba(9, 24, 48, 0.96);
  --line: rgba(61, 225, 255, 0.2);
  --line-bright: rgba(61, 225, 255, 0.55);
  --cyan: #3de1ff;
  --violet: #b66cff;
  --text: #edf8ff;
  --muted: #9eb3c8;
  --dim: #6f849c;
  --max-width: 1240px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: var(--bg);
  color: var(--text);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background:
    radial-gradient(circle at 18% 0%, rgba(73, 46, 173, 0.24), transparent 34rem),
    radial-gradient(circle at 95% 9%, rgba(0, 198, 240, 0.14), transparent 32rem),
    linear-gradient(180deg, #020713 0%, #030817 48%, #02050d 100%);
  color: var(--text);
  line-height: 1.72;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  background-image:
    linear-gradient(rgba(61, 225, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(61, 225, 255, 0.025) 1px, transparent 1px);
  background-size: 36px 36px;
  content: "";
  mask-image: linear-gradient(to bottom, black, transparent 90%);
}

a {
  color: var(--cyan);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

a:hover {
  color: #fff;
}

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

.site-header {
  display: flex;
  min-height: 92px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
}

.brand img {
  border: 1px solid var(--line-bright);
  border-radius: 10px;
  box-shadow: 0 0 22px rgba(182, 108, 255, 0.24);
}

.brand span {
  display: flex;
  flex-direction: column;
  letter-spacing: 0.16em;
  line-height: 1.2;
}

.brand b {
  font-size: 0.86rem;
}

.brand small {
  color: var(--cyan);
  font-size: 0.62rem;
}

.back-link {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
}

.header-links,
.footer-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.site-header .header-links {
  order: 2;
}

.site-header .brand {
  order: 1;
}

.mobile-site-menu {
  display: none;
  position: relative;
}

.mobile-site-menu summary {
  display: flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-bright);
  background: rgba(2, 7, 12, 0.84);
  color: var(--cyan);
  cursor: pointer;
  list-style: none;
}

.mobile-site-menu summary::-webkit-details-marker {
  display: none;
}

.mobile-site-menu summary:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.mobile-menu-icon,
.mobile-menu-icon::before,
.mobile-menu-icon::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentcolor;
  content: "";
  transition: transform 180ms ease, opacity 180ms ease;
}

.mobile-menu-icon {
  position: relative;
}

.mobile-menu-icon::before,
.mobile-menu-icon::after {
  position: absolute;
  left: 0;
}

.mobile-menu-icon::before {
  top: -6px;
}

.mobile-menu-icon::after {
  top: 6px;
}

.mobile-site-menu[open] .mobile-menu-icon {
  background: transparent;
}

.mobile-site-menu[open] .mobile-menu-icon::before {
  transform: translateY(6px) rotate(45deg);
}

.mobile-site-menu[open] .mobile-menu-icon::after {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-menu-links {
  display: grid;
  position: absolute;
  z-index: 10;
  top: calc(100% + 10px);
  right: 0;
  min-width: 166px;
  gap: 4px;
  margin: 0;
  padding: 8px;
  border: 1px solid var(--line-bright);
  background: rgba(2, 7, 12, 0.96);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
}

.mobile-menu-links a {
  display: block;
  padding: 12px 14px;
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}

.mobile-menu-links a:hover,
.mobile-menu-links a[aria-current="page"] {
  background: rgba(61, 225, 255, 0.08);
  color: var(--cyan);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 64px;
  border-bottom: 1px solid var(--line);
}

.hero::after {
  position: absolute;
  top: 54px;
  right: 1%;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(182, 108, 255, 0.2);
  border-radius: 50%;
  box-shadow:
    inset 0 0 40px rgba(182, 108, 255, 0.07),
    0 0 60px rgba(61, 225, 255, 0.04);
  content: "";
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--cyan);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.24em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 800px;
  margin-bottom: 24px;
  font-size: clamp(3.2rem, 8vw, 6.4rem);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 0.95;
  text-shadow: 0 0 38px rgba(61, 225, 255, 0.13);
}

.lede {
  max-width: 790px;
  margin-bottom: 36px;
  color: #c6d7e7;
  font-size: clamp(1.04rem, 2vw, 1.24rem);
  line-height: 1.7;
}

.policy-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.policy-meta span {
  min-width: 180px;
  padding: 13px 17px;
  border: 1px solid var(--line);
  background: rgba(6, 18, 38, 0.65);
  color: #dfeeff;
  font-size: 0.84rem;
  font-weight: 700;
}

.policy-meta small {
  display: block;
  margin-bottom: 3px;
  color: var(--dim);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.content-grid {
  display: grid;
  grid-template-columns: 245px minmax(0, 1fr);
  gap: 62px;
  padding: 70px 0 92px;
}

.contents {
  position: sticky;
  top: 24px;
  align-self: start;
  padding: 22px;
  border: 1px solid var(--line);
  background: rgba(4, 14, 31, 0.7);
  backdrop-filter: blur(14px);
}

.contents p {
  margin-bottom: 14px;
  color: var(--cyan);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.contents ol {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  counter-reset: policy-links;
  list-style: none;
}

.contents li {
  counter-increment: policy-links;
}

.contents a {
  display: grid;
  grid-template-columns: 24px 1fr;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.35;
  text-decoration: none;
}

.contents a::before {
  color: var(--dim);
  content: counter(policy-links, decimal-leading-zero);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.65rem;
}

.contents a:hover {
  color: var(--cyan);
}

.policy {
  min-width: 0;
}

.policy section {
  position: relative;
  padding: 0 0 60px;
  scroll-margin-top: 24px;
}

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

.section-number {
  margin-bottom: 12px;
  color: var(--violet);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

h2 {
  margin-bottom: 26px;
  font-size: clamp(1.8rem, 4vw, 2.55rem);
  letter-spacing: -0.035em;
  line-height: 1.1;
}

h3 {
  margin: 34px 0 9px;
  color: #f3f9ff;
  font-size: 1.08rem;
  line-height: 1.3;
}

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

.policy ul {
  display: grid;
  gap: 9px;
  padding-left: 21px;
}

.policy li::marker {
  color: var(--cyan);
}

.policy strong {
  color: var(--text);
}

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

.summary-grid div {
  min-height: 150px;
  padding: 24px;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(61, 225, 255, 0.055), transparent 60%),
    var(--panel);
}

.summary-grid strong {
  display: block;
  margin-bottom: 10px;
}

.summary-grid p {
  margin-bottom: 0;
  font-size: 0.9rem;
}

.provider-list {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.provider-list a {
  display: grid;
  grid-template-columns: minmax(120px, 0.3fr) 1fr;
  gap: 18px;
  align-items: center;
  padding: 18px 20px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
  text-decoration: none;
}

.provider-list a:hover {
  border-color: var(--line-bright);
  background: var(--panel-strong);
}

.provider-list span {
  font-weight: 800;
}

.provider-list small {
  color: var(--muted);
}

.contact-card {
  margin-top: 8px;
  padding: 44px !important;
  border: 1px solid var(--line-bright) !important;
  background:
    linear-gradient(135deg, rgba(61, 225, 255, 0.08), rgba(182, 108, 255, 0.05)),
    var(--panel-strong);
  box-shadow: 0 18px 80px rgba(0, 0, 0, 0.2);
}

.contact-link {
  display: flex;
  width: fit-content;
  max-width: 100%;
  min-height: 48px;
  align-items: center;
  justify-content: flex-start;
  margin-top: 8px;
  padding: 0 20px;
  border: 1px solid var(--cyan);
  background: rgba(61, 225, 255, 0.08);
  color: var(--text);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.25;
  overflow-wrap: anywhere;
  text-align: left;
  text-decoration: none;
  text-transform: uppercase;
}

.contact-link:hover {
  background: var(--cyan);
  color: #001018;
}

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

.support-card {
  min-height: 180px;
  padding: 24px;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(61, 225, 255, 0.055), transparent 60%),
    var(--panel);
}

.support-card h3 {
  margin-top: 0;
}

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

.steps {
  display: grid;
  gap: 14px;
  margin: 24px 0 0;
  padding: 0;
  counter-reset: support-steps;
  list-style: none;
}

.steps li {
  position: relative;
  min-height: 56px;
  padding: 14px 18px 14px 58px;
  border: 1px solid var(--line);
  background: var(--panel);
  counter-increment: support-steps;
}

.steps li::before {
  position: absolute;
  top: 13px;
  left: 16px;
  color: var(--cyan);
  content: counter(support-steps, decimal-leading-zero);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

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

.policy .diagnostic-list {
  padding-left: 0;
}

.diagnostic-list li {
  padding: 15px 17px;
  border: 1px solid var(--line);
  background: rgba(4, 14, 31, 0.7);
}

.diagnostic-list li::marker {
  content: "";
}

footer {
  display: flex;
  min-height: 92px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  color: var(--dim);
  font-size: 0.74rem;
}

footer a {
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 860px) {
  .hero {
    padding-top: 64px;
  }

  .hero::after {
    opacity: 0.45;
    transform: translate(40%, -20%);
  }

  .content-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .contents {
    position: static;
  }

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

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

  .site-header {
    min-height: 76px;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0;
    padding: 16px 0;
  }

  .site-header .brand,
  .site-header .header-links {
    order: initial;
  }

  .site-header .header-links {
    display: none;
  }

  .mobile-site-menu {
    display: block;
  }

  .brand img {
    width: 40px;
    height: 40px;
  }

  .back-link {
    font-size: 0.61rem;
  }

  .hero {
    padding: 52px 0 44px;
  }

  h1 {
    font-size: clamp(3rem, 18vw, 4.6rem);
  }

  .policy-meta {
    display: grid;
  }

  .policy-meta span {
    min-width: 0;
  }

  .content-grid {
    padding: 42px 0 70px;
  }

  .contents ol,
  .summary-grid,
  .support-grid,
  .diagnostic-list {
    grid-template-columns: 1fr;
  }

  .policy section {
    padding-bottom: 44px;
  }

  .policy section + section {
    padding-top: 44px;
  }

  .provider-list a {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .contact-card {
    padding: 28px !important;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
  }
}

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