:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #172033;
  background: #f6f8fb;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  --muted: #596579;
  --line: #e1e7ef;
  --accent: #3159d9;
  --surface: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
}

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

a:hover {
  text-decoration-thickness: 2px;
}

.site-header,
.site-footer {
  width: min(100% - 48px, 1080px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header {
  min-height: 76px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #172033;
  font-weight: 700;
  text-decoration: none;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: #fff;
  background: #243d87;
}

.site-header nav a,
.site-footer a {
  font-size: 0.94rem;
  font-weight: 600;
}

.container {
  width: min(100% - 48px, 1080px);
  margin: 0 auto;
}

.hero {
  padding: clamp(64px, 10vw, 112px) 0 72px;
  max-width: 790px;
}

.eyebrow,
.number {
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.12em;
}

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

h1 {
  max-width: 780px;
  margin-bottom: 22px;
  font-size: clamp(2.7rem, 7vw, 5.1rem);
  line-height: 1.02;
  letter-spacing: -0.065em;
}

h2 {
  font-size: 1.18rem;
  letter-spacing: -0.025em;
}

.lead {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(1.1rem, 2.4vw, 1.3rem);
  line-height: 1.7;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  margin-top: 32px;
}

.button {
  display: inline-block;
  padding: 13px 18px;
  border-radius: 8px;
  color: #fff;
  background: #243d87;
  font-weight: 650;
  text-decoration: none;
}

.button:hover {
  background: #192e6d;
}

.text-link {
  font-weight: 650;
  text-decoration: none;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.panel,
.notice {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}

.panel h2 {
  margin: 20px 0 10px;
}

.panel p,
.notice p,
.document section p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.75;
}

.notice {
  margin: 24px 0 72px;
  background: #eef2fb;
  border-color: #e1e8f8;
}

.notice h2 {
  margin-bottom: 10px;
}

.document {
  max-width: 820px;
  padding-top: 72px;
  padding-bottom: 72px;
}

.document h1 {
  margin-bottom: 18px;
  font-size: clamp(2.5rem, 6vw, 4rem);
}

.document .lead {
  margin-bottom: 48px;
}

.document section {
  margin: 34px 0;
}

.document section h2 {
  margin-bottom: 12px;
}

.document section p + p {
  margin-top: 12px;
}

.back-link {
  margin-top: 48px;
  font-weight: 650;
}

.site-footer {
  min-height: 76px;
  margin-top: auto;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
}

@media (max-width: 760px) {
  .content-grid {
    grid-template-columns: 1fr;
  }

  .site-header,
  .site-footer,
  .container {
    width: min(100% - 36px, 1080px);
  }

  .hero {
    padding-top: 64px;
  }

  .site-footer {
    gap: 16px;
  }
}