:root {
  --bg: #080d1c;
  --surface: #11182b;
  --surface-soft: #18223a;
  --text: #f7f8ff;
  --muted: #a9b2cb;
  --primary: #7c5cff;
  --secondary: #18b7ad;
  --border: rgba(255, 255, 255, 0.09);
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  line-height: 1.7;
}

a {
  color: inherit;
}

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

.narrow {
  max-width: 760px;
}

.hero {
  min-height: 680px;
  background:
    radial-gradient(circle at 85% 15%, rgba(24, 183, 173, 0.28), transparent 28%),
    radial-gradient(circle at 15% 25%, rgba(124, 92, 255, 0.35), transparent 32%),
    linear-gradient(135deg, #090e20 0%, #171040 48%, #093b48 100%);
  display: flex;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 28px;
  font-size: 1.25rem;
  font-weight: 800;
}

.logo {
  width: 44px;
  height: 44px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  box-shadow: var(--shadow);
}

.hero-content {
  max-width: 780px;
  padding: 100px 0 130px;
}

.badge {
  display: inline-block;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #d8ddff;
  font-size: 0.9rem;
}

h1 {
  margin: 24px 0 18px;
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 1.04;
  letter-spacing: -0.06em;
}

.hero p {
  max-width: 680px;
  color: #c2cae0;
  font-size: 1.15rem;
}

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

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 15px;
  text-decoration: none;
  font-weight: 750;
}

.button.primary {
  background: linear-gradient(135deg, var(--primary), #9d70ff);
  box-shadow: var(--shadow);
}

.button.secondary {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.06);
}

.section {
  padding: 96px 0;
}

.section.alt {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section h2 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: -0.035em;
}

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

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 42px;
}

.card {
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: linear-gradient(145deg, var(--surface), var(--surface-soft));
  box-shadow: var(--shadow);
}

.card .icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  font-size: 1.3rem;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 1.25rem;
}

.card p {
  margin: 0;
}

.email {
  display: inline-block;
  margin-top: 10px;
  color: #b9adff;
  font-weight: 750;
  text-decoration: none;
}

.legal-header {
  padding: 66px 0 52px;
  background:
    radial-gradient(circle at 80% 10%, rgba(24, 183, 173, 0.22), transparent 30%),
    linear-gradient(135deg, #11152b, #20164d);
  border-bottom: 1px solid var(--border);
}

.legal-header h1 {
  margin: 24px 0 8px;
  font-size: clamp(2.6rem, 7vw, 4.8rem);
}

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

.back-link {
  text-decoration: none;
  color: #ccc5ff;
  font-weight: 700;
}

.legal-page {
  padding: 70px 0 90px;
}

.legal-content {
  max-width: 860px;
}

.legal-content section {
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}

.legal-content h2 {
  margin: 0 0 12px;
  font-size: 1.35rem;
}

.legal-content p,
.legal-content li {
  color: var(--muted);
}

.legal-content ul {
  padding-left: 24px;
}

footer {
  border-top: 1px solid var(--border);
  padding: 30px 0;
  color: var(--muted);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}

footer nav {
  display: flex;
  gap: 20px;
}

footer a {
  text-decoration: none;
}

@media (max-width: 820px) {
  .grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    padding: 80px 0 100px;
  }

  .footer-content {
    flex-direction: column;
    align-items: flex-start;
  }

  footer nav {
    flex-wrap: wrap;
  }
}
