:root {
  --bg: #091422;
  --bg-soft: #10233a;
  --surface: rgba(17, 34, 56, 0.72);
  --surface-solid: #142a45;
  --line: rgba(173, 205, 240, 0.25);
  --text: #eff7ff;
  --text-soft: #bdd0e5;
  --accent: #8ad8ff;
  --accent-strong: #31b9ff;
  --gold: #f2c97d;
  --radius: 20px;
  --shadow: 0 18px 42px rgba(2, 8, 18, 0.38);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(1100px 620px at 8% -12%, rgba(49, 185, 255, 0.18), transparent 52%),
    radial-gradient(920px 580px at 100% 0%, rgba(242, 201, 125, 0.14), transparent 46%),
    linear-gradient(160deg, #07101b 0%, #0b192b 48%, #0d2036 100%);
  line-height: 1.6;
}

.ambient {
  position: fixed;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
  z-index: -1;
}

.ambient-one {
  width: 320px;
  height: 320px;
  left: -120px;
  top: -70px;
  background: rgba(49, 185, 255, 0.24);
}

.ambient-two {
  width: 280px;
  height: 280px;
  right: -100px;
  top: 160px;
  background: rgba(242, 201, 125, 0.18);
}

.topbar {
  width: min(1160px, calc(100% - 32px));
  margin: 18px auto 0;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(11, 25, 42, 0.75);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 14px;
  z-index: 20;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-family: "Sora", sans-serif;
  font-weight: 700;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(49, 185, 255, 0.3);
}

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

.nav-links a {
  color: var(--text-soft);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: color 0.2s ease;
}

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

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(12, 28, 47, 0.85);
  color: var(--text);
  padding: 8px 12px;
  font-weight: 700;
}

.section {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 64px 0;
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: stretch;
}

.hero-copy h1,
.section h2,
.legal-section h1 {
  font-family: "Sora", sans-serif;
  line-height: 1.12;
  margin: 0;
}

.hero-copy h1 {
  font-size: clamp(34px, 6vw, 58px);
  letter-spacing: -0.02em;
}

.eyebrow {
  font-weight: 800;
  letter-spacing: 0.14em;
  font-size: 12px;
  color: var(--gold);
  margin: 0 0 8px;
}

.lead {
  color: var(--text-soft);
  font-size: 18px;
  max-width: 65ch;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  border-radius: 14px;
  padding: 12px 20px;
  font-weight: 800;
  border: 1px solid transparent;
}

.btn-primary {
  color: #03203a;
  background: linear-gradient(135deg, #9ce2ff 0%, #66ccff 52%, #f2c97d 100%);
  box-shadow: 0 14px 30px rgba(25, 142, 201, 0.35);
}

.btn-secondary {
  color: var(--text);
  border-color: var(--line);
  background: rgba(15, 33, 55, 0.66);
}

.hero-card,
.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 24px;
  display: grid;
  align-content: center;
  gap: 16px;
  min-height: 100%;
}

.hero-card img {
  width: 96px;
  height: 96px;
  border-radius: 24px;
  box-shadow: 0 20px 38px rgba(49, 185, 255, 0.3);
}

.hero-card h2 {
  margin: 0;
  font-size: 24px;
}

.hero-card p,
.section p,
.section li,
.legal-card p,
.legal-card li,
.legal-card td,
.legal-card th {
  color: var(--text-soft);
}

.section-head {
  margin-bottom: 20px;
}

.section-head h2 {
  font-size: clamp(28px, 4.4vw, 44px);
  margin: 0;
}

.grid {
  display: grid;
  gap: 16px;
}

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

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

.card {
  padding: 20px;
}

.feature h3,
.trust-card h3,
.legal-card h2 {
  margin-top: 0;
  font-family: "Sora", sans-serif;
}

.text-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 700;
}

.section-accent {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(130deg, rgba(22, 50, 82, 0.9), rgba(15, 35, 57, 0.9)),
    radial-gradient(circle at 12% 18%, rgba(49, 185, 255, 0.18), transparent 60%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px;
}

.footer {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto 30px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(11, 25, 42, 0.75);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
}

.footer-brand p {
  margin: 0;
  color: var(--text-soft);
  font-size: 14px;
}

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

.footer-links a {
  text-decoration: none;
  color: var(--text-soft);
  font-weight: 700;
  font-size: 14px;
}

.legal-topbar {
  position: static;
}

.legal-section {
  padding-top: 42px;
}

.legal-section h1 {
  font-size: clamp(32px, 5vw, 52px);
}

.legal-card {
  margin-top: 24px;
  padding: 24px;
}

.legal-card ul {
  padding-left: 20px;
}

.table-wrap {
  overflow-x: auto;
  margin: 16px 0 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.safety-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 780px;
}

.safety-table th,
.safety-table td {
  text-align: left;
  padding: 12px;
  border-bottom: 1px solid rgba(173, 205, 240, 0.2);
  vertical-align: top;
}

.safety-table th {
  color: var(--text);
  background: rgba(17, 41, 67, 0.9);
}

code {
  background: rgba(10, 30, 52, 0.9);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 2px 6px;
  color: #ccedff;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1024px) {
  .cards-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 760px) {
  .topbar {
    flex-wrap: wrap;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav-links {
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding-top: 8px;
  }

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

  .legal-nav {
    display: flex;
    width: auto;
    flex-direction: row;
    padding-top: 0;
  }

  .cards-3,
  .cards-2 {
    grid-template-columns: 1fr;
  }

  .section-accent,
  .footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-copy h1 {
    font-size: clamp(30px, 11vw, 44px);
  }

  .lead {
    font-size: 16px;
  }
}
