:root {
  color-scheme: light;
  --bg: #f5f7fb;
  --surface: #ffffff;
  --surface-muted: #eef2ff;
  --text: #172033;
  --text-muted: #58627a;
  --border: #d9dfeb;
  --accent: #6f52ff;
  --accent-strong: #5638f0;
  --shadow: 0 18px 44px rgba(23, 32, 51, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: linear-gradient(180deg, #f8f9ff 0%, var(--bg) 100%);
  color: var(--text);
}

a {
  color: var(--accent-strong);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.page {
  width: min(1040px, calc(100% - 32px));
  margin: 0 auto;
  padding: 40px 0 64px;
}

.hero {
  padding: 48px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-compact {
  padding-bottom: 36px;
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-strong);
}

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

h1 {
  margin-bottom: 16px;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.05;
}

h2 {
  margin-bottom: 12px;
  font-size: 20px;
}

.lede,
p,
li {
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.65;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  background: var(--accent);
  color: #ffffff;
  font-weight: 600;
}

.button:hover {
  background: var(--accent-strong);
  text-decoration: none;
}

.button-secondary {
  background: var(--surface-muted);
  color: var(--accent-strong);
}

.section {
  margin-top: 24px;
}

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

.single {
  max-width: 760px;
}

.card {
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

ul {
  padding-left: 20px;
  margin-bottom: 0;
}

@media (max-width: 820px) {
  .page {
    width: min(100% - 24px, 1040px);
    padding-top: 24px;
  }

  .hero {
    padding: 28px 22px;
  }

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

  h1 {
    font-size: 34px;
  }
}
