:root {
  color-scheme: light dark;
  --bg: #f4f6f8;
  --surface: #ffffff;
  --text: #172033;
  --muted: #637083;
  --line: #dbe1ea;
  --blue: #2f6fed;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1724;
    --surface: #151f2d;
    --text: #eef4fb;
    --muted: #9aa8bb;
    --line: #2b3a4d;
    --blue: #7aa7ff;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
}

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

.page-header,
.page-main,
.page-footer {
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 850;
}

.brand img {
  width: 40px;
  height: 40px;
}

.page-main {
  display: grid;
  gap: 22px;
  padding: 28px 0 36px;
}

.hero,
.section {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 24px;
}

.hero {
  display: grid;
  gap: 14px;
}

.eyebrow {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  line-height: 1.18;
}

h1 {
  font-size: clamp(32px, 5vw, 52px);
}

h2 {
  font-size: 24px;
}

p,
ul,
ol {
  margin: 0;
}

.lead {
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
}

.actions,
.link-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.button,
.link-grid a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  border-radius: 8px;
  padding: 9px 14px;
  font-weight: 750;
  text-decoration: none;
}

.button {
  background: var(--blue);
  color: #fff;
}

.link-grid a {
  border: 1px solid var(--line);
  color: var(--text);
  background: #fff;
}

.section {
  display: grid;
  gap: 12px;
}

.faq {
  display: grid;
  gap: 12px;
}

.faq div {
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

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

.page-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 20px;
  border-top: 1px solid var(--line);
  padding: 18px 0 28px;
  color: var(--muted);
  font-size: 13px;
}

.page-footer a {
  color: var(--muted);
  text-decoration: none;
}
