:root {
  --bg: #04102c;
  --bg-alt: #0b2f78;
  --panel: rgba(9, 24, 61, 0.78);
  --panel-strong: rgba(6, 17, 44, 0.94);
  --line: rgba(82, 176, 255, 0.18);
  --line-strong: rgba(111, 230, 79, 0.3);
  --text: #f4fbff;
  --muted: #b6cae2;
  --cyan: #33b3ff;
  --mint: #73e64d;
  --warning: #ffd98e;
  --shadow: 0 28px 90px rgba(1, 6, 18, 0.46);
  --radius: 28px;
  --container: min(1120px, calc(100% - 32px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--text);
  font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 16% 0%, rgba(51, 179, 255, 0.34), transparent 28%),
    radial-gradient(circle at 84% 12%, rgba(115, 230, 77, 0.28), transparent 24%),
    radial-gradient(circle at 50% 108%, rgba(18, 82, 221, 0.28), transparent 32%),
    linear-gradient(180deg, #10347f 0%, #081b4a 26%, #030b1f 72%, #020611 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.55;
  background:
    linear-gradient(rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 100% 100%, 42px 42px, 42px 42px;
  background-position: 0 0, center, center;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.45), transparent 88%);
}

.site-nav,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

code {
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.95em;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(4, 11, 31, 0.68);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

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

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark-shell,
.hero-mark-shell {
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04)),
    rgba(6, 18, 47, 0.82);
  box-shadow: 0 18px 38px rgba(7, 16, 58, 0.24);
}

.brand-mark-shell {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
}

.brand-mark,
.hero-mark {
  display: block;
  width: 164%;
  height: 164%;
  object-fit: cover;
  object-position: center 24%;
  transform: translateY(-12%);
}

.brand-wordmark,
.footer-wordmark {
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.01em;
  color: var(--text);
}

.brand-wordmark {
  font-size: 1.02rem;
}

.footer-brand {
  gap: 14px;
}

.footer-brand .brand-mark-shell {
  width: 46px;
  height: 46px;
  border-radius: 16px;
}

.footer-wordmark {
  font-size: 1.24rem;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.nav-links a {
  padding: 10px 14px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--muted);
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.nav-links a[aria-current="page"],
.nav-links a:hover {
  color: var(--text);
  background: linear-gradient(135deg, rgba(51, 179, 255, 0.18), rgba(115, 230, 77, 0.12));
}

.nav-toggle {
  display: none;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  font: inherit;
}

.hero,
.page-header {
  padding: 88px 0 40px;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(220px, 280px);
  gap: 30px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mint);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.04;
}

h1 {
  max-width: 12ch;
  font-size: clamp(2.8rem, 7vw, 5.3rem);
}

h2 {
  font-size: clamp(1.7rem, 4vw, 2.5rem);
}

h3 {
  font-size: 1.1rem;
}

p,
li {
  color: var(--muted);
  line-height: 1.7;
}

.hero-copy,
.page-header p,
.section-intro p {
  max-width: 52rem;
  margin-top: 18px;
  font-size: 1.08rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero-art {
  display: flex;
  justify-content: flex-end;
}

.hero-badge {
  position: relative;
  width: min(100%, 248px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 36px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    var(--panel);
  box-shadow: var(--shadow);
}

.hero-badge::before {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-mark-shell {
  position: relative;
  width: 158px;
  height: 158px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-mark {
  width: 176%;
  height: 176%;
  object-position: center 24%;
  transform: translateY(-11%);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease,
    background-color 160ms ease;
}

.button.primary {
  color: #041126;
  background: linear-gradient(135deg, var(--cyan), var(--mint));
  box-shadow: 0 18px 46px rgba(23, 111, 255, 0.34);
}

.button.ghost {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.button:hover,
.link-card:hover {
  transform: translateY(-2px);
}

.button.ghost:hover {
  border-color: var(--line-strong);
}

.section {
  padding: 28px 0 56px;
}

.section-alt {
  padding-top: 18px;
}

.section-intro {
  margin-bottom: 24px;
}

.feature-grid,
.link-grid,
.footer-grid,
.metric-grid,
.step-grid,
.support-grid {
  display: grid;
  gap: 18px;
}

.feature-grid,
.link-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.metric-grid,
.step-grid,
.support-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.footer-grid {
  grid-template-columns: 1.3fr repeat(2, minmax(180px, 1fr));
}

.card,
.faq-item,
.callout,
.notice {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    var(--panel);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
  transition: transform 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.card {
  padding: 24px;
}

.card h2,
.card strong {
  display: block;
  margin-bottom: 10px;
}

.link-card {
  text-decoration: none;
}

.link-card span {
  color: var(--muted);
}

.link-card:hover,
.card:hover,
.faq-item:hover,
.callout:hover,
.notice:hover {
  border-color: var(--line-strong);
}

.page-shell {
  padding-bottom: 56px;
}

.prose {
  display: grid;
  gap: 18px;
}

.prose h2 {
  margin-top: 18px;
}

.prose h3 {
  margin-top: 8px;
}

.prose ul,
.prose ol {
  margin: 0;
  padding-left: 20px;
}

.prose a,
.site-footer a,
.faq-item__body a,
.support-contact a {
  color: var(--cyan);
}

.notice {
  padding: 18px 20px;
  margin-bottom: 24px;
}

.notice strong {
  color: var(--mint);
}

.support-hero {
  display: grid;
  grid-template-columns: 1.25fr minmax(280px, 360px);
  gap: 18px;
  align-items: start;
}

.callout {
  padding: 24px;
}

.callout h2 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.metric-list,
.footer-grid ul,
.support-checklist,
.support-contact ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.metric-list li,
.footer-grid li,
.support-checklist li,
.support-contact li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.metric-list li:last-child,
.footer-grid li:last-child,
.support-checklist li:last-child,
.support-contact li:last-child {
  border-bottom: 0;
}

.support-contact {
  display: grid;
  gap: 18px;
  margin-top: 26px;
}

.faq-toolbar {
  display: flex;
  align-items: center;
  margin-bottom: 18px;
}

.faq-search {
  width: min(640px, 100%);
}

.faq-search input {
  width: 100%;
  min-height: 50px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font: inherit;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  padding: 0 20px;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 0;
  font-weight: 700;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item__body {
  padding: 0 0 18px;
  color: var(--muted);
}

.site-footer {
  padding: 40px 0 56px;
  background: linear-gradient(180deg, transparent, rgba(2, 7, 18, 0.32));
}

.footer-copy {
  max-width: 32rem;
}

.footer-grid h3 {
  margin-bottom: 12px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@media (max-width: 860px) {
  .hero-layout,
  .support-hero,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-art {
    justify-content: flex-start;
  }

  .hero-badge {
    max-width: 220px;
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
  }

  .nav-links {
    position: absolute;
    top: 82px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--panel-strong);
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    border-radius: 14px;
  }

  .brand-mark-shell {
    width: 34px;
    height: 34px;
    border-radius: 12px;
  }

  .brand-wordmark {
    font-size: 0.98rem;
  }

  .hero,
  .page-header {
    padding-top: 48px;
  }

  .card,
  .callout,
  .faq-item,
  .notice {
    border-radius: 22px;
  }
}
