:root {
  color-scheme: dark;
  --page: #070a12;
  --surface: rgba(18, 24, 39, 0.88);
  --surface-strong: #121827;
  --line: rgba(255, 255, 255, 0.1);
  --text: #f7f8fb;
  --muted: #aeb7cb;
  --brand: #8b5cf6;
  --brand-2: #22d3ee;
  --success: #5eead4;
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 0%, rgba(139, 92, 246, 0.24), transparent 34rem),
    radial-gradient(circle at 88% 9%, rgba(34, 211, 238, 0.13), transparent 27rem),
    var(--page);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: #c4b5fd;
  text-underline-offset: 0.18em;
}

a:hover {
  color: #ddd6fe;
}

.shell {
  width: min(100% - 32px, 1060px);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 10, 18, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  text-decoration: none;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(140deg, var(--brand), #5b21b6 58%, #164e63);
  box-shadow: 0 9px 25px rgba(124, 58, 237, 0.32);
  font-weight: 900;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.92rem;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--text);
}

.hero {
  padding: 96px 0 64px;
}

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

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

h1 {
  max-width: 820px;
  margin-bottom: 22px;
  font-size: clamp(2.55rem, 7vw, 5.25rem);
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
}

h3 {
  margin-bottom: 8px;
  font-size: 1.08rem;
}

.lead {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 2.2vw, 1.2rem);
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 19px;
  border: 1px solid var(--line);
  border-radius: 15px;
  color: var(--text);
  background: var(--surface-strong);
  font-weight: 760;
  text-decoration: none;
}

.button.primary {
  border-color: transparent;
  background: linear-gradient(135deg, #7c3aed, #6d28d9 62%, #0e7490);
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding-bottom: 96px;
}

.card,
.document {
  border: 1px solid var(--line);
  background: linear-gradient(150deg, rgba(27, 35, 57, 0.9), rgba(13, 18, 30, 0.92));
  box-shadow: var(--shadow);
}

.card {
  min-height: 220px;
  padding: 27px;
  border-radius: 24px;
}

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

.card-link {
  display: inline-flex;
  margin-top: 8px;
  font-weight: 750;
}

.document-wrap {
  padding: 68px 0 100px;
}

.document {
  max-width: 850px;
  margin-inline: auto;
  padding: clamp(25px, 6vw, 62px);
  border-radius: 28px;
}

.document h1 {
  font-size: clamp(2.2rem, 6vw, 4rem);
}

.document h2 {
  margin-top: 42px;
}

.document h3 {
  margin-top: 24px;
}

.document p,
.document li {
  color: #c6cede;
}

.document strong {
  color: var(--text);
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 34px;
  color: var(--muted);
  font-size: 0.92rem;
}

.pill {
  padding: 6px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
}

.notice {
  margin: 27px 0;
  padding: 19px 21px;
  border: 1px solid rgba(94, 234, 212, 0.22);
  border-radius: 18px;
  background: rgba(13, 148, 136, 0.08);
}

.contact-card {
  margin-top: 28px;
  padding: 24px;
  border: 1px solid rgba(139, 92, 246, 0.28);
  border-radius: 21px;
  background: rgba(124, 58, 237, 0.08);
}

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer-inner {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 0.9rem;
}

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

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

@media (max-width: 760px) {
  .nav {
    min-height: 64px;
  }

  .nav-links {
    gap: 13px;
    font-size: 0.82rem;
  }

  .hero {
    padding-top: 64px;
  }

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

  .footer-inner {
    padding: 24px 0;
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 470px) {
  .shell {
    width: min(100% - 22px, 1060px);
  }

  .brand span:last-child {
    display: none;
  }

  .nav-links {
    gap: 11px;
  }

  .document-wrap {
    padding-top: 28px;
  }

  .document {
    border-radius: 22px;
  }
}
