:root {
  color-scheme: light dark;
  --bg: #f5f5f7;
  --surface: #ffffff;
  --text: #1d1d1f;
  --secondary: #6e6e73;
  --border: rgba(0, 0, 0, 0.12);
  --accent: #007aff;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --surface: #1c1c1e;
    --text: #f5f5f7;
    --secondary: #a1a1a6;
    --border: rgba(255, 255, 255, 0.16);
    --accent: #0a84ff;
  }
}

* {
  box-sizing: border-box;
}

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

main {
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
  padding: 56px 0;
}

header {
  margin-bottom: 32px;
}

.eyebrow {
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

h1 {
  margin: 8px 0 12px;
  font-size: clamp(2.35rem, 7vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
}

h2 {
  margin: 0 0 12px;
  font-size: 1.35rem;
}

p {
  margin: 0 0 16px;
}

.lead {
  color: var(--secondary);
  max-width: 720px;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  margin: 28px 0;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
}

ul {
  margin: 0;
  padding-left: 1.2rem;
}

li {
  margin: 8px 0;
}

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

a:hover {
  text-decoration: underline;
}

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

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

.button.secondary {
  background: var(--surface);
  color: var(--accent);
  border: 1px solid var(--border);
}

footer {
  margin-top: 40px;
  color: var(--secondary);
  font-size: 0.92rem;
}
