:root {
  color-scheme: dark;
  --ink: #f5f8ff;
  --muted: #aebad0;
  --faint: #7f8aa0;
  --line: rgba(174, 196, 255, 0.16);
  --line-strong: rgba(174, 196, 255, 0.26);
  --panel: rgba(19, 27, 52, 0.78);
  --panel-solid: #141d37;
  --navy: #080d1c;
  --navy-soft: #0e1630;
  --cyan: #6ee7f2;
  --blue: #70a5ff;
  --violet: #a58aff;
  --accent-ink: #06101d;
  --radius: 22px;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.3);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--navy);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(circle at 14% -10%, rgba(68, 107, 234, 0.2), transparent 34rem),
    radial-gradient(circle at 90% 12%, rgba(91, 224, 219, 0.13), transparent 28rem),
    linear-gradient(180deg, #0a1023 0%, #080d1c 44%, #080d1c 100%);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a:hover {
  color: #b7f7fb;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid #f9d970;
  outline-offset: 4px;
  border-radius: 6px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  transform: translateY(-180%);
  padding: 0.7rem 1rem;
  border-radius: 999px;
  color: var(--accent-ink);
  background: var(--cyan);
  font-weight: 750;
  text-decoration: none;
}

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

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(8, 13, 28, 0.82);
  backdrop-filter: blur(18px) saturate(135%);
  -webkit-backdrop-filter: blur(18px) saturate(135%);
}

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

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

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(153, 236, 244, 0.34);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(112, 165, 255, 0.26), rgba(110, 231, 242, 0.1));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.09);
}

.brand-mark svg {
  width: 24px;
  height: 24px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 0.5rem 0.78rem;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 650;
  text-decoration: none;
}

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

main {
  min-height: 68vh;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(4.5rem, 10vw, 8.5rem) 0 clamp(4rem, 8vw, 7rem);
}

.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 44rem;
  height: 44rem;
  top: -22rem;
  left: 50%;
  transform: translateX(-50%);
  border: 1px solid rgba(115, 175, 255, 0.12);
  border-radius: 50%;
  box-shadow:
    0 0 0 5rem rgba(93, 130, 255, 0.025),
    0 0 0 11rem rgba(74, 208, 222, 0.018);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: clamp(2.5rem, 7vw, 6.5rem);
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1.15rem;
  color: var(--cyan);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 13ch;
  margin-bottom: 1.35rem;
  font-size: clamp(2.75rem, 7vw, 5.7rem);
  font-weight: 820;
}

.gradient-text {
  color: transparent;
  background: linear-gradient(92deg, var(--cyan), #97b8ff 56%, #c7b9ff);
  background-clip: text;
  -webkit-background-clip: text;
}

.lede {
  max-width: 62ch;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.28rem);
  line-height: 1.65;
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.72rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--accent-ink);
  background: linear-gradient(100deg, var(--cyan), #91b5ff);
  box-shadow: 0 10px 30px rgba(57, 186, 220, 0.18);
  font-weight: 780;
  text-decoration: none;
}

.button:hover {
  color: var(--accent-ink);
  filter: brightness(1.08);
}

.button.secondary {
  border-color: var(--line-strong);
  color: var(--ink);
  background: rgba(22, 32, 61, 0.62);
  box-shadow: none;
}

.wave-card {
  position: relative;
  overflow: hidden;
  padding: clamp(1.5rem, 4vw, 2.25rem);
  border: 1px solid var(--line-strong);
  border-radius: 30px;
  background: linear-gradient(150deg, rgba(23, 36, 75, 0.88), rgba(12, 20, 43, 0.9));
  box-shadow: var(--shadow);
}

.wave-card::before {
  content: "";
  position: absolute;
  inset: auto -20% -55% 30%;
  height: 16rem;
  border-radius: 50%;
  background: rgba(89, 227, 234, 0.12);
  filter: blur(42px);
}

.wave-label {
  position: relative;
  margin: 0 0 2.5rem;
  color: var(--faint);
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.frequency {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
  margin-bottom: 0.7rem;
}

.frequency strong {
  font-size: clamp(3.2rem, 8vw, 5.2rem);
  line-height: 1;
  letter-spacing: -0.07em;
}

.frequency span {
  color: var(--cyan);
  font-weight: 760;
}

.signal {
  position: relative;
  display: flex;
  height: 84px;
  align-items: center;
  gap: 5px;
  margin: 2.2rem 0 1.7rem;
}

.signal span {
  flex: 1;
  max-width: 8px;
  min-height: 8px;
  border-radius: 99px;
  background: linear-gradient(180deg, var(--cyan), var(--blue));
  opacity: 0.9;
}

.signal span:nth-child(1),
.signal span:nth-child(13) { height: 18%; }
.signal span:nth-child(2),
.signal span:nth-child(12) { height: 34%; }
.signal span:nth-child(3),
.signal span:nth-child(11) { height: 58%; }
.signal span:nth-child(4),
.signal span:nth-child(10) { height: 86%; }
.signal span:nth-child(5),
.signal span:nth-child(9) { height: 64%; }
.signal span:nth-child(6),
.signal span:nth-child(8) { height: 40%; }
.signal span:nth-child(7) { height: 22%; }

.mini-note {
  position: relative;
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.section {
  padding: clamp(3.8rem, 8vw, 6.7rem) 0;
  border-top: 1px solid var(--line);
}

.section-heading {
  max-width: 680px;
  margin-bottom: 2.3rem;
}

.section-heading h2 {
  margin-bottom: 0.75rem;
  font-size: clamp(2rem, 4.5vw, 3.25rem);
}

.section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

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

.card {
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.card-kicker {
  display: block;
  margin-bottom: 0.75rem;
  color: var(--cyan);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.card h3 {
  margin-bottom: 0.6rem;
  font-size: 1.14rem;
  letter-spacing: -0.015em;
}

.card p {
  margin: 0;
  color: var(--muted);
}

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

.step-number {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  margin-bottom: 1.2rem;
  border: 1px solid rgba(110, 231, 242, 0.25);
  border-radius: 50%;
  color: var(--cyan);
  background: rgba(110, 231, 242, 0.08);
  font-size: 0.88rem;
  font-weight: 800;
}

.notice {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1.25rem 1.35rem;
  border: 1px solid rgba(249, 217, 112, 0.24);
  border-radius: 18px;
  background: rgba(249, 217, 112, 0.06);
}

.notice-symbol {
  color: #f9d970;
  font-size: 1.25rem;
  line-height: 1.45;
}

.notice strong {
  display: block;
  margin-bottom: 0.2rem;
}

.notice p {
  margin: 0;
  color: var(--muted);
}

.page-hero {
  padding: clamp(4rem, 8vw, 6.5rem) 0 3.5rem;
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  max-width: 17ch;
  margin-bottom: 1rem;
  font-size: clamp(2.6rem, 6vw, 4.75rem);
}

.page-meta {
  margin-top: 1.25rem;
  color: var(--faint);
  font-size: 0.9rem;
}

.document-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: clamp(2.5rem, 7vw, 6rem);
  align-items: start;
  padding: 3.5rem 0 6rem;
}

.document {
  max-width: 760px;
}

.document section {
  padding-top: 2.2rem;
  margin-top: 2.2rem;
  border-top: 1px solid var(--line);
}

.document section:first-child {
  padding-top: 0;
  margin-top: 0;
  border-top: 0;
}

.document h2 {
  margin-bottom: 0.8rem;
  font-size: clamp(1.45rem, 3vw, 1.9rem);
  letter-spacing: -0.02em;
}

.document h3 {
  margin: 1.5rem 0 0.5rem;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.document p,
.document li {
  color: #c9d2e4;
}

.document p {
  margin: 0.75rem 0;
}

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

.document li + li {
  margin-top: 0.55rem;
}

.side-nav {
  position: sticky;
  top: 104px;
  padding: 1.15rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(14, 22, 48, 0.72);
}

.side-nav strong {
  display: block;
  margin-bottom: 0.75rem;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.side-nav a {
  display: block;
  padding: 0.42rem 0;
  color: var(--muted);
  font-size: 0.9rem;
  text-decoration: none;
}

.side-nav a:hover {
  color: var(--ink);
}

.contact-card {
  padding: clamp(1.5rem, 4vw, 2.25rem);
  border: 1px solid rgba(110, 231, 242, 0.25);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(42, 74, 126, 0.36), rgba(18, 35, 60, 0.58));
}

.contact-card h2 {
  margin-bottom: 0.65rem;
}

.contact-card p {
  max-width: 60ch;
  margin: 0 0 1.3rem;
  color: var(--muted);
}

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

.contact-details div {
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.contact-details dt {
  margin-bottom: 0.25rem;
  color: var(--faint);
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-details dd {
  margin: 0;
  color: var(--ink);
}

.faq-list {
  display: grid;
  gap: 0.85rem;
}

details {
  border: 1px solid var(--line);
  border-radius: 17px;
  background: var(--panel);
}

summary {
  position: relative;
  padding: 1.05rem 3rem 1.05rem 1.1rem;
  cursor: pointer;
  font-weight: 720;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 1.1rem;
  transform: translateY(-50%);
  color: var(--cyan);
  font-size: 1.3rem;
  font-weight: 400;
}

details[open] summary::after {
  content: "−";
}

.detail-content {
  padding: 0 1.1rem 1.1rem;
  color: var(--muted);
}

.detail-content p,
.detail-content ol,
.detail-content ul {
  margin: 0;
}

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

.link-card {
  display: block;
  min-height: 100%;
  color: var(--ink);
  text-decoration: none;
}

.link-card span {
  display: block;
  margin-top: 1rem;
  color: var(--cyan);
  font-weight: 700;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(4, 8, 19, 0.5);
}

.footer-shell {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: end;
  padding: 2.5rem 0;
}

.footer-brand p {
  max-width: 48ch;
  margin: 0.7rem 0 0;
  color: var(--faint);
  font-size: 0.88rem;
}

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

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

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

.copyright {
  grid-column: 1 / -1;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 0.82rem;
}

.error-page {
  min-height: 72vh;
  display: grid;
  place-items: center;
  padding: 4rem 0;
  text-align: center;
}

.error-code {
  margin-bottom: 0.5rem;
  color: var(--cyan);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.error-page h1 {
  max-width: none;
  font-size: clamp(2.5rem, 8vw, 5rem);
}

.error-page p {
  max-width: 42ch;
  margin: 0 auto 1.5rem;
  color: var(--muted);
}

@media (max-width: 880px) {
  .nav-shell {
    min-height: auto;
    padding: 0.75rem 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 0.1rem;
    scrollbar-width: none;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .nav-links a {
    white-space: nowrap;
  }

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

  .hero-grid {
    gap: 3rem;
  }

  .side-nav {
    display: none;
  }

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

@media (max-width: 640px) {
  .nav-shell,
  .page-shell,
  .footer-shell {
    width: min(100% - 1.25rem, 1120px);
  }

  .brand {
    padding-inline: 0.15rem;
  }

  .nav-links a {
    padding-inline: 0.68rem;
    font-size: 0.86rem;
  }

  .hero {
    padding-top: 3.5rem;
  }

  h1 {
    font-size: clamp(2.65rem, 15vw, 4rem);
  }

  .feature-grid,
  .step-grid,
  .link-grid,
  .contact-details,
  .footer-shell {
    grid-template-columns: 1fr;
  }

  .wave-card {
    border-radius: 24px;
  }

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

  .copyright {
    grid-column: auto;
  }
}

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

@media (prefers-contrast: more) {
  :root {
    --muted: #d4dded;
    --faint: #b8c3d8;
    --line: rgba(220, 231, 255, 0.34);
    --line-strong: rgba(220, 231, 255, 0.5);
  }
}
