:root {
  color-scheme: light;
  --bg: #f6f8fb;
  --panel: #ffffff;
  --text: #15202b;
  --muted: #5c6b7a;
  --line: #d9e1ea;
  --accent: #247c7a;
  --accent-strong: #135f5d;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  letter-spacing: 0;
  line-height: 1.65;
}

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

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

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
}

.brand {
  color: var(--text);
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 14px;
}

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

.page {
  width: min(960px, calc(100% - 32px));
  margin: 0 auto 48px;
}

.hero,
.content {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 18px 45px rgba(21, 32, 43, 0.08);
}

.hero {
  padding: clamp(34px, 7vw, 72px);
}

.hero h1,
.content h1 {
  margin: 0 0 16px;
  font-size: clamp(34px, 6vw, 64px);
  line-height: 1.02;
  letter-spacing: 0;
}

.hero p {
  max-width: 720px;
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 18px;
}

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

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

.button.secondary {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
}

.content {
  padding: clamp(24px, 5vw, 46px);
}

.content h1 {
  font-size: clamp(30px, 5vw, 48px);
}

.content h2 {
  margin: 34px 0 8px;
  font-size: 22px;
}

.content p,
.content li {
  color: var(--muted);
}

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

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

.card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: #fbfcfe;
}

.card h2,
.card h3 {
  margin-top: 0;
}

.small {
  color: var(--muted);
  font-size: 14px;
}

.site-footer {
  padding: 0 0 34px;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 720px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

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