:root {
  --bg: #070b16;
  --bg-deep: #04070d;
  --panel: rgba(11, 18, 36, 0.78);
  --panel-strong: rgba(16, 25, 48, 0.92);
  --text: #ebf2ff;
  --muted: #9caecc;
  --border: rgba(136, 157, 214, 0.2);
  --accent: #8b5cf6;
  --accent-2: #38bdf8;
  --accent-3: #22d3ee;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "Space Grotesk", Arial, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(56, 189, 248, 0.2), transparent 26%),
    radial-gradient(circle at top right, rgba(139, 92, 246, 0.22), transparent 32%),
    radial-gradient(circle at 20% 80%, rgba(34, 211, 238, 0.12), transparent 22%),
    linear-gradient(180deg, #0a0f1f 0%, #05070f 56%, #030409 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.45) 0 1px, transparent 1.5px),
    radial-gradient(circle at 80% 30%, rgba(255, 255, 255, 0.4) 0 1px, transparent 1.5px),
    radial-gradient(circle at 65% 75%, rgba(255, 255, 255, 0.3) 0 1px, transparent 1.5px),
    radial-gradient(circle at 35% 65%, rgba(255, 255, 255, 0.26) 0 1px, transparent 1.5px);
  background-size: 240px 240px, 280px 280px, 320px 320px, 360px 360px;
  opacity: 0.55;
}

a {
  color: inherit;
}

.site-shell {
  position: relative;
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 32px;
}

.site-header,
.site-footer,
.panel,
.hero-panel,
.policy-page,
.support-card {
  backdrop-filter: blur(14px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 22px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: rgba(8, 13, 27, 0.72);
  box-shadow: var(--shadow);
}

.brand,
h1,
h2,
h3 {
  font-family: "Orbitron", Arial, sans-serif;
}

.brand {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
}

.nav-links,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.nav-links a,
.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.footer-links a:hover,
.footer-links a:focus-visible,
.brand:hover,
.brand:focus-visible {
  color: var(--text);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.9fr);
  gap: 24px;
  align-items: stretch;
  padding: 56px 0 28px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-2);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1,
.page-header h1 {
  margin: 0;
  font-size: clamp(2.6rem, 7vw, 4.8rem);
  line-height: 1.02;
}

.lead {
  margin: 22px 0 0;
  max-width: 62ch;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.75;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  color: #07101d;
  background: linear-gradient(135deg, var(--accent-3), var(--accent-2) 48%, #c084fc);
  box-shadow: 0 18px 34px rgba(56, 189, 248, 0.28);
}

.button-secondary {
  border: 1px solid rgba(139, 92, 246, 0.45);
  background: rgba(139, 92, 246, 0.12);
}

.hero-panel,
.support-card,
.policy-page,
.panel {
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.hero-panel {
  padding: 20px;
}

.stat-card + .stat-card {
  margin-top: 14px;
}

.stat-card {
  padding: 18px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(19, 31, 58, 0.92), rgba(10, 18, 36, 0.92));
  border: 1px solid rgba(109, 123, 182, 0.2);
}

.stat-label {
  display: block;
  margin-bottom: 8px;
  color: var(--accent-2);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 12px 0 28px;
}

.panel,
.support-card {
  padding: 24px;
}

.panel h2,
.feature-copy h2,
.support-card h1,
.support-card h2,
.policy-page h1,
.policy-page h2,
.policy-page h3 {
  letter-spacing: 0.02em;
}

.panel p,
.feature-copy p,
.support-card p,
.support-card li,
.policy-page p,
.policy-page li,
.policy-page td,
.policy-page th {
  color: var(--muted);
}

.feature-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.92fr);
  gap: 24px;
  align-items: start;
  margin: 14px 0 40px;
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(12, 19, 37, 0.9), rgba(6, 10, 21, 0.88));
  box-shadow: var(--shadow);
}

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

.feature-item {
  padding: 18px 20px;
  border-left: 3px solid var(--accent);
  border-radius: 18px;
  background: rgba(16, 25, 48, 0.7);
}

.page-main {
  padding: 46px 0 28px;
}

.page-header {
  margin-bottom: 18px;
}

.page-header p {
  max-width: 64ch;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.support-card ul {
  padding-left: 18px;
}

.support-email {
  display: inline-flex;
  margin-top: 8px;
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
}

.support-email:hover,
.support-email:focus-visible {
  color: var(--accent-2);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: rgba(8, 13, 27, 0.72);
}

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

.policy-page {
  width: min(980px, 100%);
  margin: 44px auto 28px;
  padding: 36px;
  background: var(--panel-strong);
}

.policy-page header {
  margin-bottom: 28px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border);
}

.policy-page h1 {
  font-size: clamp(2.2rem, 5vw, 3.3rem);
}

.policy-page .meta strong,
.policy-page td:first-child,
.policy-page th {
  color: var(--text);
}

.policy-page h2 {
  margin: 30px 0 12px;
  padding-left: 12px;
  border-left: 3px solid var(--accent);
  font-size: 1.2rem;
}

.policy-page h3 {
  margin: 32px 0 12px;
  font-size: 1.05rem;
}

.policy-page ul,
.policy-page ol {
  padding-left: 20px;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 18px;
}

.policy-page table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
}

.policy-page th,
.policy-page td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(136, 157, 214, 0.14);
  text-align: left;
  vertical-align: top;
}

.policy-page th {
  background: rgba(56, 189, 248, 0.08);
}

.policy-page tr:last-child td {
  border-bottom: 0;
}

.note {
  padding: 14px 16px;
  border: 1px solid rgba(251, 191, 36, 0.4);
  border-radius: 16px;
  background: rgba(120, 53, 15, 0.18);
  color: #fde68a !important;
}

@media (max-width: 900px) {
  .hero,
  .feature-band,
  .section-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .site-shell {
    width: min(100%, calc(100% - 20px));
    padding-top: 10px;
  }

  .nav,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .policy-page,
  .support-card,
  .panel,
  .hero-panel,
  .feature-band {
    border-radius: 20px;
  }

  .policy-page {
    padding: 24px 18px;
    margin-top: 30px;
  }

  .feature-band {
    padding: 24px;
  }
}
