:root {
  color-scheme: dark;
  --bg: #050608;
  --bg-soft: #090b10;
  --surface: rgba(15, 18, 26, 0.78);
  --surface-strong: rgba(22, 26, 36, 0.92);
  --surface-soft: rgba(255, 255, 255, 0.07);
  --text: #f8fafc;
  --muted: #aeb8c9;
  --subtle: #778298;
  --line: rgba(255, 255, 255, 0.14);
  --line-strong: rgba(255, 255, 255, 0.22);
  --accent-cyan: #67e8f9;
  --accent-pink: #ff4fb8;
  --accent-orange: #ff8a00;
  --accent-green: #1af09b;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    linear-gradient(135deg, rgba(103, 232, 249, 0.08), transparent 34%, rgba(255, 79, 184, 0.08)),
    linear-gradient(180deg, #050608 0%, #090b10 46%, #030407 100%);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.6;
  margin: 0;
  min-height: 100vh;
}

body::before {
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.035), transparent 32%, rgba(255, 255, 255, 0.02)),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.026) 0,
      rgba(255, 255, 255, 0.026) 1px,
      transparent 1px,
      transparent 72px
    );
  content: "";
  inset: 0;
  pointer-events: none;
  position: fixed;
  z-index: -1;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: var(--accent-cyan);
  text-decoration: none;
}

a:hover {
  color: #ffffff;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent-cyan);
  outline-offset: 4px;
}

.skip-link {
  background: #ffffff;
  border-radius: 6px;
  color: #050608;
  font-weight: 800;
  left: 16px;
  padding: 10px 12px;
  position: fixed;
  top: 12px;
  transform: translateY(-140%);
  z-index: 100;
}

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

.site-header {
  background: rgba(5, 6, 8, 0.78);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
  position: sticky;
  top: 0;
  z-index: 20;
}

.nav {
  align-items: center;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: var(--max-width);
  padding: 16px 24px;
}

.brand-link {
  align-items: center;
  color: var(--text);
  display: inline-flex;
  font-size: 18px;
  font-weight: 900;
  gap: 10px;
}

.brand-link:hover,
.brand-link:focus {
  color: var(--text);
  text-decoration: none;
}

.brand-mark {
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(255, 79, 184, 0.22);
  height: 38px;
  width: 38px;
}

.nav-links {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.nav-links a {
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  padding: 8px 12px;
}

.nav-links a:hover,
.nav-links a:focus,
.nav-links a[aria-current="page"] {
  background: var(--surface-soft);
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--text);
  text-decoration: none;
}

main {
  overflow: hidden;
}

.hero {
  align-items: center;
  display: flex;
  isolation: isolate;
  min-height: min(680px, calc(100svh - 118px));
  overflow: hidden;
  position: relative;
}

.hero-media {
  height: 100%;
  inset: 0;
  object-fit: cover;
  object-position: center;
  position: absolute;
  transform: scale(1.02);
  width: 100%;
  z-index: -3;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(5, 6, 8, 0.98) 0%, rgba(5, 6, 8, 0.82) 38%, rgba(5, 6, 8, 0.22) 68%, rgba(5, 6, 8, 0.58) 100%),
    linear-gradient(180deg, rgba(5, 6, 8, 0.12) 0%, rgba(5, 6, 8, 0.18) 62%, var(--bg) 100%);
  inset: 0;
  position: absolute;
  z-index: -2;
}

.hero-inner,
.section,
.stats-band,
.footer-inner,
.page-main {
  margin-left: auto;
  margin-right: auto;
  max-width: var(--max-width);
}

.hero-inner {
  padding: 76px 24px 86px;
  position: relative;
  width: 100%;
}

.eyebrow {
  color: var(--accent-cyan);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  margin: 0 0 14px;
  text-transform: uppercase;
}

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

h1 {
  font-size: 86px;
  font-weight: 950;
  letter-spacing: 0;
  max-width: 760px;
}

h2 {
  font-size: 44px;
  font-weight: 900;
  letter-spacing: 0;
}

h3 {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0;
  margin-top: 8px;
}

p {
  margin: 0;
}

.lead {
  color: #d8deea;
  font-size: 22px;
  margin-top: 22px;
  max-width: 650px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 8px;
  display: inline-flex;
  font-weight: 900;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

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

.button.primary {
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-green));
  color: #04100d;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  color: var(--text);
}

.stats-band {
  background: rgba(12, 15, 22, 0.9);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: -30px;
  overflow: hidden;
  position: relative;
  z-index: 3;
}

.stat {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035)),
    var(--surface);
  padding: 22px 24px;
}

.stat strong {
  color: #ffffff;
  display: block;
  font-size: 32px;
  font-weight: 950;
  line-height: 1;
}

.stat span {
  color: var(--muted);
  display: block;
  font-weight: 800;
  margin-top: 6px;
}

.section {
  padding: 74px 24px 0;
}

.section-heading {
  max-width: 780px;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 19px;
  margin-top: 16px;
}

.section-heading.compact {
  max-width: 680px;
}

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

.panel {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035)),
    var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.24);
  min-width: 0;
  padding: 24px;
}

.panel-kicker {
  color: var(--accent-orange);
  display: block;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.panel p,
.support-list,
.legal-section p,
.muted {
  color: var(--muted);
}

.panel p {
  margin-top: 12px;
}

.chip-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.chip-cloud span {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  color: #e8edf6;
  font-size: 14px;
  font-weight: 800;
  padding: 9px 12px;
}

.feature-band,
.support-band,
.legal-content {
  background:
    linear-gradient(135deg, rgba(103, 232, 249, 0.1), transparent 42%, rgba(255, 79, 184, 0.1)),
    var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.feature-band {
  align-items: start;
  display: grid;
  gap: 32px;
  grid-template-columns: 0.9fr 1.1fr;
  padding: 34px;
}

.content-section + .feature-band {
  margin-top: 56px;
}

.feature-list,
.support-list,
.legal-list {
  margin: 0;
  padding-left: 20px;
}

.feature-list li,
.support-list li,
.legal-list li {
  margin: 8px 0;
}

.support-band {
  align-items: center;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin-bottom: 74px;
  margin-top: 24px;
  padding: 32px 34px;
}

.support-band p:not(.eyebrow) {
  color: var(--muted);
  margin-top: 12px;
  max-width: 620px;
}

.page-main {
  padding: 66px 24px 78px;
}

.page-hero {
  max-width: 820px;
}

.page-hero h1 {
  font-size: 64px;
}

.page-hero .lead {
  font-size: 21px;
}

.content {
  max-width: 860px;
}

.legal-content {
  margin-top: 40px;
  padding: 10px 30px;
}

.legal-section {
  border-top: 1px solid var(--line);
  padding: 28px 0;
}

.legal-section:first-of-type {
  border-top: 0;
}

.legal-section h2,
.panel h2 {
  font-size: 24px;
}

.legal-section p {
  margin-top: 10px;
}

.contact-card {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
}

.contact-email {
  color: #ffffff;
  font-size: 22px;
  font-weight: 900;
  margin-top: 10px;
  overflow-wrap: anywhere;
}

.contact-email:hover {
  color: var(--accent-cyan);
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.11);
  color: var(--muted);
  font-size: 14px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  padding: 24px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-links a {
  color: var(--muted);
  font-weight: 800;
}

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

@media (max-width: 900px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

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

  .hero {
    min-height: min(620px, calc(100svh - 118px));
  }

  .hero-media {
    object-position: 58% center;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(5, 6, 8, 0.98) 0%, rgba(5, 6, 8, 0.78) 58%, rgba(5, 6, 8, 0.34) 100%),
      linear-gradient(180deg, rgba(5, 6, 8, 0.08) 0%, rgba(5, 6, 8, 0.22) 55%, var(--bg) 100%);
  }

  h1,
  .page-hero h1 {
    font-size: 58px;
  }

  h2 {
    font-size: 36px;
  }

  .lead,
  .page-hero .lead {
    font-size: 19px;
  }

  .grid,
  .feature-band {
    grid-template-columns: 1fr;
  }

  .support-band {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .nav,
  .hero-inner,
  .section,
  .page-main,
  .footer-inner {
    padding-left: 18px;
    padding-right: 18px;
  }

  .brand-link {
    font-size: 16px;
  }

  .nav-links {
    gap: 6px;
  }

  .nav-links a {
    padding: 7px 9px;
  }

  .hero {
    min-height: min(560px, calc(100svh - 112px));
  }

  .hero-inner {
    padding-bottom: 54px;
    padding-top: 54px;
  }

  h1,
  .page-hero h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 30px;
  }

  h3 {
    font-size: 20px;
  }

  .lead,
  .page-hero .lead {
    font-size: 18px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .stats-band {
    grid-template-columns: 1fr;
    margin-left: 18px;
    margin-right: 18px;
    margin-top: 18px;
  }

  .section {
    padding-top: 58px;
  }

  .content-section + .feature-band {
    margin-top: 40px;
  }

  .feature-band,
  .support-band,
  .legal-content {
    padding: 22px;
  }

  .legal-content {
    margin-top: 28px;
  }

  .support-band {
    margin-bottom: 58px;
    margin-top: 18px;
  }
}
