:root {
  color-scheme: light;
  --background: #f4f6fb;
  --surface: #ffffff;
  --surface-muted: #eef2ff;
  --text: #172033;
  --muted: #667085;
  --accent: #4f46e5;
  --accent-hover: #4338ca;
  --border: #dfe4ee;
  --shadow: 0 18px 50px rgba(23, 32, 51, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 12% 0%, rgba(99, 102, 241, 0.12), transparent 30rem),
    var(--background);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--accent);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

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

a:focus-visible {
  border-radius: 4px;
  outline: 3px solid rgba(79, 70, 229, 0.35);
  outline-offset: 3px;
}

.site-header {
  border-bottom: 1px solid rgba(223, 228, 238, 0.9);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
}

.site-header__inner,
.page,
.site-footer__inner {
  width: min(100% - 40px, 920px);
  margin-inline: auto;
}

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

.brand {
  color: var(--text);
  font-size: 19px;
  font-weight: 750;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 15px;
  font-weight: 650;
}

.site-nav a {
  text-decoration: none;
}

.page {
  padding-block: 64px 80px;
}

.hero {
  padding: 56px;
  border: 1px solid rgba(223, 228, 238, 0.86);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2 {
  text-wrap: balance;
}

h1 {
  margin: 0;
  font-size: clamp(38px, 7vw, 62px);
  line-height: 1.06;
  letter-spacing: -0.045em;
}

.hero__lead {
  max-width: 680px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 3vw, 22px);
  line-height: 1.55;
}

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

.card {
  display: block;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.card:hover {
  transform: translateY(-2px);
  border-color: rgba(79, 70, 229, 0.4);
  box-shadow: 0 14px 34px rgba(23, 32, 51, 0.08);
  color: var(--text);
}

.card h2 {
  margin: 0;
  font-size: 24px;
  letter-spacing: -0.025em;
}

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

.contact-note {
  margin: 28px 0 0;
  padding: 20px 24px;
  border-radius: 16px;
  background: var(--surface-muted);
}

.document-header {
  max-width: 760px;
  margin-bottom: 36px;
}

.document-header h1 {
  font-size: clamp(38px, 6vw, 56px);
}

.document-meta {
  margin: 14px 0 0;
  color: var(--muted);
}

.legal-document {
  padding: 48px 56px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.legal-document section + section {
  margin-top: 42px;
  padding-top: 42px;
  border-top: 1px solid var(--border);
}

.legal-document h2 {
  margin: 0 0 12px;
  font-size: clamp(22px, 4vw, 28px);
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.legal-document p {
  margin: 0;
}

.legal-document p + p {
  margin-top: 16px;
}

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

.site-footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-block: 28px 40px;
}

@media (max-width: 680px) {
  .site-header__inner {
    align-items: flex-start;
    flex-direction: column;
    padding-block: 16px;
  }

  .page {
    padding-block: 36px 56px;
  }

  .hero,
  .legal-document {
    padding: 30px 24px;
    border-radius: 20px;
  }

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

  .site-footer__inner {
    flex-direction: column;
  }
}

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

  .card {
    transition: none;
  }
}
