:root {
  color-scheme: light;
  --ink: #172033;
  --muted: #667085;
  --line: #e7eaf0;
  --paper: #ffffff;
  --wash: #f6f8fc;
  --accent: #5b67f1;
  --accent-soft: #eef0ff;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--wash);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  color: var(--ink);
}

body {
  margin: 0;
  min-height: 100vh;
  line-height: 1.6;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(23, 32, 51, 0.08);
  background: rgba(246, 248, 252, 0.9);
  backdrop-filter: blur(18px);
}

.nav,
.shell,
.site-footer {
  width: min(920px, calc(100% - 40px));
  margin: 0 auto;
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 750;
  letter-spacing: -0.02em;
}

.mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 22px rgba(91, 103, 241, 0.24);
}

.links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

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

.shell {
  padding: 74px 0 84px;
}

.hero {
  padding: 52px;
  border: 1px solid rgba(91, 103, 241, 0.13);
  border-radius: 30px;
  background:
    radial-gradient(circle at 90% 0%, rgba(111, 210, 255, 0.24), transparent 36%),
    radial-gradient(circle at 0% 100%, rgba(169, 139, 255, 0.2), transparent 35%),
    var(--paper);
  box-shadow: 0 24px 80px rgba(29, 41, 76, 0.08);
}

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

h1,
h2 {
  letter-spacing: -0.035em;
}

h1 {
  max-width: 700px;
  margin: 0;
  font-size: clamp(38px, 8vw, 68px);
  line-height: 1.02;
}

.lede {
  max-width: 680px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 2.6vw, 21px);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 14px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

.button.secondary {
  background: var(--accent-soft);
  color: var(--accent);
}

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

.card,
.document {
  border: 1px solid var(--line);
  background: var(--paper);
}

.card {
  min-height: 180px;
  padding: 24px;
  border-radius: 22px;
}

.card h2 {
  margin: 0 0 8px;
  font-size: 21px;
}

.card p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 14px;
}

.card a {
  font-weight: 700;
  text-decoration: none;
}

.document {
  padding: clamp(28px, 6vw, 58px);
  border-radius: 28px;
  box-shadow: 0 22px 72px rgba(29, 41, 76, 0.07);
}

.document header {
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
}

.document h1 {
  font-size: clamp(36px, 6vw, 54px);
}

.document h2 {
  margin: 36px 0 10px;
  font-size: 23px;
}

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

.document ul {
  padding-left: 22px;
}

.meta {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
}

.callout {
  margin: 28px 0;
  padding: 20px 22px;
  border-radius: 18px;
  background: var(--accent-soft);
}

.callout strong {
  display: block;
  margin-bottom: 4px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 0 0 42px;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 720px) {
  .nav {
    align-items: flex-start;
    padding: 16px 0;
  }

  .links {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px 14px;
  }

  .shell {
    padding-top: 34px;
  }

  .hero {
    padding: 30px 24px;
    border-radius: 24px;
  }

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

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