:root {
  color-scheme: dark;
  --background: #080c20;
  --surface: rgba(26, 34, 68, 0.72);
  --surface-strong: #192248;
  --line: rgba(154, 168, 217, 0.2);
  --text: #f7f8ff;
  --muted: #aeb8dc;
  --accent: #23d1bb;
  --accent-soft: rgba(35, 209, 187, 0.13);
  --violet: #8b7cff;
  --max-width: 1080px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 8% 0%, rgba(35, 209, 187, 0.12), transparent 30rem),
    radial-gradient(circle at 92% 18%, rgba(139, 124, 255, 0.13), transparent 32rem),
    var(--background);
  color: var(--text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(154, 168, 217, 0.12);
  background: rgba(8, 12, 32, 0.78);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(calc(100% - 40px), var(--max-width));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-size: 1.02rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(35, 209, 187, 0.5);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(35, 209, 187, 0.24), rgba(139, 124, 255, 0.2));
  color: #bffcf3;
  box-shadow: 0 10px 30px rgba(35, 209, 187, 0.12);
  font-size: 0.95rem;
}

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

.nav-links a,
.footer-links a {
  color: var(--muted);
  font-size: 0.92rem;
  text-decoration: none;
  transition: color 160ms ease;
}

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

.container {
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto;
}

.hero {
  min-height: 650px;
  padding: 120px 0 96px;
  display: grid;
  align-items: center;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(3rem, 8vw, 6.7rem);
}

.hero-copy {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.06rem, 2vw, 1.28rem);
}

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

.button {
  min-height: 50px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  color: var(--text);
  font-weight: 720;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button.primary {
  border-color: transparent;
  background: var(--accent);
  color: #071a19;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(35, 209, 187, 0.6);
}

.section {
  padding: 88px 0;
}

.section-heading {
  max-width: 640px;
  margin-bottom: 36px;
}

.section-heading h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 5vw, 3.4rem);
}

.section-heading p,
.card p {
  color: var(--muted);
}

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

.card {
  min-height: 248px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(28, 37, 77, 0.88), rgba(16, 23, 51, 0.82));
  box-shadow: 0 25px 65px rgba(0, 0, 0, 0.18);
}

.card-number {
  width: 46px;
  height: 46px;
  margin-bottom: 32px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 850;
}

.card h3 {
  margin-bottom: 10px;
  font-size: 1.55rem;
}

.card p {
  margin: 0;
}

.legal-callout {
  padding: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  border: 1px solid rgba(35, 209, 187, 0.28);
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(35, 209, 187, 0.1), rgba(139, 124, 255, 0.1));
}

.legal-callout h2 {
  margin-bottom: 8px;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.legal-callout p {
  margin: 0;
  color: var(--muted);
}

.legal-actions {
  display: flex;
  flex-shrink: 0;
  gap: 12px;
}

.legal-page {
  padding: 88px 0 120px;
}

.legal-heading {
  max-width: 760px;
  padding-bottom: 52px;
  border-bottom: 1px solid var(--line);
}

.legal-heading h1 {
  margin-bottom: 18px;
  font-size: clamp(2.7rem, 7vw, 5.3rem);
}

.legal-heading p {
  margin: 8px 0 0;
  color: var(--muted);
}

.legal-content {
  max-width: 820px;
  padding-top: 28px;
}

.legal-content section {
  padding-top: 36px;
}

.legal-content h2 {
  margin-bottom: 14px;
  font-size: 1.55rem;
}

.legal-content h3 {
  margin: 28px 0 10px;
  font-size: 1.08rem;
}

.legal-content p,
.legal-content li {
  color: #c8d0ec;
}

.legal-content a {
  color: #81eee0;
}

.legal-content ul {
  padding-left: 1.3rem;
}

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

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}

th,
td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  color: #c8d0ec;
  text-align: left;
  vertical-align: top;
}

th {
  background: rgba(139, 124, 255, 0.08);
  color: var(--text);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

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

.site-footer {
  padding: 32px 0 46px;
  border-top: 1px solid rgba(154, 168, 217, 0.12);
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
  font-size: 0.9rem;
}

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

:focus-visible {
  outline: 3px solid rgba(35, 209, 187, 0.45);
  outline-offset: 4px;
}

@media (max-width: 760px) {
  .nav-links a:not(:last-child) {
    display: none;
  }

  .hero {
    min-height: 570px;
    padding: 92px 0 72px;
  }

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

  .legal-callout,
  .footer-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .legal-actions {
    width: 100%;
    flex-direction: column;
  }

  .legal-callout {
    padding: 30px;
  }

  .legal-page {
    padding-top: 62px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
