:root {
  color-scheme: dark;
  --bg: #050713;
  --ink: #040611;
  --panel: rgba(255, 255, 255, 0.075);
  --panel-strong: rgba(255, 255, 255, 0.12);
  --stroke: rgba(255, 255, 255, 0.16);
  --text: #f7f8ff;
  --muted: rgba(247, 248, 255, 0.70);
  --soft: rgba(247, 248, 255, 0.50);
  --mint: #5ee6bc;
  --cyan: #68d4ef;
  --rose: #f15f83;
  --gold: #ffd866;
  --violet: #9d86ff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    linear-gradient(125deg, rgba(7, 19, 36, 0.72), rgba(4, 6, 17, 0) 38%),
    linear-gradient(180deg, #040611 0%, #060917 48%, #03040b 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 70px;
  padding: 14px clamp(18px, 5vw, 64px);
  background: rgba(4, 6, 17, 0.78);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 950;
  font-size: 1.05rem;
}

.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background:
    linear-gradient(90deg, transparent 48%, rgba(5, 7, 19, 0.72) 48% 55%, transparent 55%),
    linear-gradient(180deg, var(--mint), var(--cyan));
  box-shadow: 0 0 22px rgba(94, 230, 188, 0.45);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 800;
}

.nav-links a:hover {
  color: var(--text);
}

.language-picker select {
  color: var(--text);
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid var(--stroke);
  border-radius: 8px;
  padding: 9px 10px;
  font-weight: 750;
}

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

.hero {
  position: relative;
  isolation: isolate;
  min-height: min(820px, calc(100svh - 34px));
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: clamp(64px, 9vw, 118px) clamp(20px, 6vw, 86px) clamp(58px, 8vw, 92px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-art {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(4, 6, 17, 0.96) 0%, rgba(4, 6, 17, 0.82) 34%, rgba(4, 6, 17, 0.22) 74%, rgba(4, 6, 17, 0.52) 100%),
    linear-gradient(0deg, rgba(4, 6, 17, 0.55), rgba(4, 6, 17, 0.05) 42%, rgba(4, 6, 17, 0.36));
}

.hero-copy {
  width: 100%;
  min-width: 0;
  max-width: 640px;
}

.eyebrow {
  color: var(--mint);
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0;
}

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

h1 {
  margin: 0 0 18px;
  font-size: clamp(3.6rem, 10vw, 7.6rem);
  line-height: 0.88;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 5vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.hero-text,
.section p,
.legal-card p,
.legal-card li {
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.7;
}

.hero-text {
  width: 100%;
  max-width: 590px;
  font-size: clamp(1.08rem, 2vw, 1.28rem);
  white-space: pre-line;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid var(--stroke);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  font-weight: 950;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.button:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.12);
}

.button.primary {
  color: #06110f;
  background: linear-gradient(135deg, var(--mint), var(--cyan));
  border-color: transparent;
}

.button.disabled,
.button[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.62;
}

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
  color: var(--soft);
  font-size: 0.88rem;
  font-weight: 850;
}

.hero-metrics span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.section {
  padding: clamp(58px, 8vw, 112px) clamp(20px, 6vw, 86px);
}

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

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

.card,
.glass,
.legal-card {
  border: 1px solid var(--stroke);
  border-radius: 8px;
  background: var(--panel);
  backdrop-filter: blur(20px);
}

.card {
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.045));
}

.icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  border-radius: 8px;
  color: #06110f;
  background: linear-gradient(135deg, var(--mint), var(--cyan));
  font-weight: 950;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.72fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: start;
  background:
    linear-gradient(90deg, rgba(255, 216, 102, 0.06), rgba(241, 95, 131, 0.04) 45%, transparent);
}

.rule-list {
  margin: 0;
  padding: 22px 22px 22px 44px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid var(--stroke);
}

.rule-list li {
  padding: 8px 0;
  color: var(--muted);
  line-height: 1.6;
  font-weight: 750;
}

.support-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  background:
    linear-gradient(135deg, rgba(94, 230, 188, 0.14), rgba(104, 212, 239, 0.06)),
    #060a16;
  border-top: 1px solid rgba(94, 230, 188, 0.22);
  border-bottom: 1px solid rgba(94, 230, 188, 0.18);
}

.support-band h2 {
  max-width: 940px;
  margin-bottom: 12px;
}

.support-band p {
  max-width: 780px;
  margin-bottom: 0;
}

.glass {
  max-width: calc(100% - 40px);
  margin: 0 auto 72px;
  padding: clamp(30px, 5vw, 58px);
  background:
    linear-gradient(180deg, rgba(157, 134, 255, 0.10), rgba(255, 255, 255, 0.055));
}

.legal-page {
  padding: clamp(34px, 7vw, 88px) clamp(20px, 5vw, 72px);
}

.legal-card {
  max-width: 900px;
  margin: 0 auto;
  padding: clamp(24px, 5vw, 50px);
}

.legal-card h1 {
  font-size: clamp(2.5rem, 7vw, 5.4rem);
}

.legal-card h2 {
  margin-top: 34px;
  font-size: 1.4rem;
}

.support-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 24px 0 10px;
}

.support-box {
  margin-top: 34px;
  padding: 22px;
  border: 1px solid rgba(94, 230, 188, 0.28);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(94, 230, 188, 0.13), rgba(104, 212, 239, 0.07)),
    rgba(255, 255, 255, 0.06);
}

.support-box h2 {
  margin-top: 0;
}

.fine-print {
  font-size: 0.88rem !important;
  line-height: 1.55 !important;
  color: rgba(247, 248, 255, 0.55) !important;
}

.footer {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 32px 18px 48px;
  color: var(--muted);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer span {
  color: var(--text);
  font-weight: 950;
}

@media (max-width: 960px) {
  .site-header {
    flex-wrap: wrap;
  }

  .nav-links {
    order: 3;
    width: 100%;
    margin-left: 0;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero {
    min-height: 760px;
    align-items: flex-end;
  }

  .hero-art {
    object-position: 63% top;
    opacity: 0.82;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(4, 6, 17, 0.28), rgba(4, 6, 17, 0.74) 45%, rgba(4, 6, 17, 0.98) 100%),
      linear-gradient(90deg, rgba(4, 6, 17, 0.35), rgba(4, 6, 17, 0.10));
  }

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

  .support-band .button {
    width: fit-content;
  }
}

@media (max-width: 520px) {
  .hero {
    min-height: 690px;
    padding-top: 48px;
  }

  .hero-art {
    object-position: 57% top;
  }

  .hero-copy {
    max-width: calc(100vw - 40px);
  }

  .hero-text {
    max-width: 100%;
  }

  h1 {
    font-size: clamp(2.9rem, 14vw, 4.1rem);
  }

  .button {
    width: 100%;
  }

  .hero-metrics {
    display: none;
  }
}
