:root {
  --PrimaryLight: #3F5BD9;
  --PrimaryDark: #7C8CFF;

  --Background: #F7F8FC;
  --Surface: #FFFFFF;
  --SurfaceElevated: #F1F3FA;
  --Border: #E2E6F0;

  --TextPrimary: #101828;
  --TextSecondary: #475467;
  --TextMuted: #667085;

  --Primary: var(--PrimaryLight);
  --PrimarySoft: rgba(63, 91, 217, 0.10);

  --RadiusLarge: 28px;
  --RadiusMedium: 18px;
  --MaxWidth: 960px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --Background: #0B1020;
    --Surface: #111827;
    --SurfaceElevated: #182235;
    --Border: #273449;

    --TextPrimary: #F9FAFB;
    --TextSecondary: #B7C0D0;
    --TextMuted: #8A94A6;

    --Primary: var(--PrimaryDark);
    --PrimarySoft: rgba(124, 140, 255, 0.14);
  }
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  margin: 0;

  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  color: var(--TextPrimary);
  background:
    radial-gradient(circle at top left, var(--PrimarySoft), transparent 34rem),
    var(--Background);
}

a {
  color: inherit;
}

.Page {
  min-height: 100vh;
  padding: 32px 20px;
}

.Container {
  width: 100%;
  max-width: var(--MaxWidth);
  margin: 0 auto;
}

.TopBar {
  display: flex;
  align-items: center;
  justify-content: space-between;

  margin-bottom: 64px;
}

.Brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;

  color: var(--TextPrimary);
  text-decoration: none;
}

.BrandLogo {
  width: 44px;
  height: 44px;

  border-radius: 12px;
}

.BrandName {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

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

.TopNavigation a {
  color: var(--TextSecondary);

  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
}

.TopNavigation a:hover {
  color: var(--Primary);
}

.Hero,
.Document {
  padding: 56px;

  border: 1px solid var(--Border);
  border-radius: var(--RadiusLarge);

  background: color-mix(in srgb, var(--Surface) 92%, transparent);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.10);
}

.Eyebrow {
  display: inline-flex;

  margin: 0 0 20px;
  padding: 8px 14px;

  border: 1px solid color-mix(in srgb, var(--Primary) 34%, transparent);
  border-radius: 999px;

  background: var(--PrimarySoft);
  color: var(--Primary);

  font-size: 0.85rem;
  font-weight: 700;
}

.HeroTitle {
  max-width: 760px;
  margin: 0;

  font-size: clamp(2.5rem, 6vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.HeroText {
  max-width: 680px;
  margin: 24px 0 0;

  color: var(--TextSecondary);

  font-size: 1.15rem;
  line-height: 1.7;
}

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

  margin-top: 36px;
}

.LegalCard {
  display: block;

  padding: 26px;

  border: 1px solid var(--Border);
  border-radius: var(--RadiusMedium);

  background: var(--SurfaceElevated);

  text-decoration: none;

  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

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

  border-color: color-mix(in srgb, var(--Primary) 60%, var(--Border));
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}

.CardLabel {
  color: var(--Primary);

  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.LegalCard h2 {
  margin: 12px 0 8px;

  font-size: 1.25rem;
  letter-spacing: -0.03em;
}

.LegalCard p {
  margin: 0;

  color: var(--TextSecondary);

  line-height: 1.6;
}

.Footer {
  margin-top: 40px;

  color: var(--TextMuted);

  font-size: 0.9rem;
}

@media (max-width: 720px) {
  .Page {
    padding: 20px 14px;
  }

  .TopBar {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;

    margin-bottom: 36px;
  }

  .TopNavigation {
    flex-wrap: wrap;
    gap: 16px;
  }

  .Hero,
  .Document {
    padding: 30px;
    border-radius: 22px;
  }

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

  .BrandLogo {
    width: 40px;
    height: 40px;
  }
}