:root {
  color-scheme: dark;
  --ink: #f6f9ff;
  --muted: #a9bad8;
  --line: rgba(161, 195, 255, 0.18);
  --panel: rgba(13, 33, 71, 0.72);
  --blue: #4aa8ff;
  --blue-bright: #78c6ff;
  --gold: #ffd44a;
  --navy: #061126;
  --navy-deep: #030916;
  --max: 1080px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 82% 3%, rgba(33, 120, 255, 0.24), transparent 30rem),
    radial-gradient(circle at 10% 32%, rgba(30, 203, 255, 0.1), transparent 22rem),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  font-family:
    Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--blue-bright);
  text-underline-offset: 0.2em;
}

a:hover {
  color: #ffffff;
}

a:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
  border-radius: 4px;
}

.site-header,
main,
footer {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

.site-header {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-bottom: 1px solid var(--line);
}

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

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 212, 74, 0.4);
  border-radius: 12px;
  color: var(--gold);
  background: rgba(255, 212, 74, 0.08);
  box-shadow: 0 0 30px rgba(255, 212, 74, 0.12);
}

nav {
  display: flex;
  gap: 24px;
}

nav a {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
}

nav a.active,
nav a:hover {
  color: var(--ink);
}

.hero {
  max-width: 830px;
  padding: 104px 0 82px;
}

.eyebrow {
  margin-bottom: 18px;
  color: var(--blue-bright);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 820px;
  margin-bottom: 26px;
  font-size: clamp(3.25rem, 8vw, 6.6rem);
  line-height: 0.95;
  letter-spacing: -0.065em;
}

h1 span {
  color: var(--blue-bright);
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.2;
  letter-spacing: -0.025em;
}

h3 {
  margin-bottom: 7px;
  font-size: 1.08rem;
  line-height: 1.35;
}

.hero-copy,
.document-intro {
  max-width: 690px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

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

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #041127;
  background: linear-gradient(135deg, #85d2ff, #4b9eff);
  box-shadow: 0 14px 38px rgba(32, 125, 255, 0.2);
}

.button-primary:hover {
  color: #020a16;
}

.button-secondary {
  color: var(--ink);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.035);
}

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

.feature-card {
  min-height: 300px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(47, 112, 217, 0.09), transparent 58%),
    var(--panel);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.18);
}

.feature-card p {
  max-width: 440px;
  color: var(--muted);
}

.card-number {
  margin-bottom: auto;
  color: var(--blue-bright);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.text-link {
  margin-top: 20px;
  font-weight: 800;
  text-decoration: none;
}

.text-link span {
  display: inline-block;
  margin-left: 4px;
  transition: transform 160ms ease;
}

.text-link:hover span {
  transform: translateX(4px);
}

.document-shell {
  max-width: 850px;
  padding-top: 86px;
  padding-bottom: 105px;
}

.document-shell h1 {
  margin-bottom: 24px;
  font-size: clamp(3rem, 7vw, 5.3rem);
}

.document-shell section {
  padding-top: 32px;
  margin-top: 32px;
  border-top: 1px solid var(--line);
}

.document-shell section p,
.faq article p {
  color: var(--muted);
}

.contact-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 30px !important;
  border: 1px solid rgba(90, 174, 255, 0.34) !important;
  border-radius: 20px;
  background: rgba(28, 88, 172, 0.13);
}

.contact-panel p {
  max-width: 580px;
  margin-bottom: 0;
}

.contact-panel .button {
  flex: 0 0 auto;
}

.faq article {
  padding: 22px 0 4px;
}

.faq article + article {
  border-top: 1px solid rgba(161, 195, 255, 0.1);
}

.version-note {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
}

.version-note strong {
  color: var(--ink);
}

.policy section {
  max-width: 760px;
}

footer {
  min-height: 104px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 0.84rem;
}

footer p {
  margin: 0;
}

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

@media (max-width: 680px) {
  body {
    font-size: 16px;
  }

  .site-header,
  main,
  footer {
    width: min(calc(100% - 28px), var(--max));
  }

  .site-header {
    min-height: 74px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

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

  nav {
    gap: 16px;
  }

  .hero {
    padding: 76px 0 60px;
  }

  h1 {
    letter-spacing: -0.052em;
  }

  .card-grid {
    grid-template-columns: 1fr;
    padding-bottom: 74px;
  }

  .feature-card {
    min-height: 250px;
    padding: 26px;
  }

  .document-shell {
    padding-top: 64px;
    padding-bottom: 76px;
  }

  .contact-panel {
    align-items: stretch;
    flex-direction: column;
    padding: 24px !important;
  }

  .contact-panel .button {
    width: 100%;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 25px 0;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

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

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
