:root {
  color-scheme: light;
  --bg: #f5f7fb;
  --surface: #ffffff;
  --text: #17212b;
  --muted: #566179;
  --primary: #3366ff;
  --primary-soft: #e6edff;
  --border: rgba(23, 33, 43, 0.08);
}

html, body {
  margin: 0;
  padding: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
}

body.dark {
  color-scheme: dark;
  --bg: #121524;
  --surface: #1c2238;
  --text: #f4f6fc;
  --muted: #9ba3c0;
  --primary: #7193ff;
  --primary-soft: rgba(113, 147, 255, 0.15);
  --border: rgba(255, 255, 255, 0.08);
}

* {
  box-sizing: border-box;
}

.container {
  width: min(1100px, calc(100% - 2rem));
  margin: 0 auto;
}

.hero {
  padding: 5rem 0 4rem;
  background: linear-gradient(180deg, rgba(51, 102, 255, 0.12), transparent 60%);
}

.hero h1 {
  font-size: clamp(2.5rem, 4vw, 4rem);
  margin: 0 0 1rem;
}

.hero p {
  max-width: 44rem;
  line-height: 1.8;
  margin: 0 0 1.5rem;
  color: var(--muted);
}

.section {
  padding: 3rem 0;
}

.section h2 {
  margin: 0 0 1rem;
  font-size: 2rem;
}

.section p {
  max-width: 42rem;
  line-height: 1.75;
  color: var(--muted);
}

.cards {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card {
  padding: 1.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

.card h3 {
  margin-top: 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.75rem;
  background: var(--primary);
  color: #ffffff;
  border: none;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.button.secondary {
  background: var(--primary-soft);
  color: var(--text);
}

.footer {
  padding: 1.5rem 0 2rem;
}

.footer p {
  margin: 0;
  color: var(--muted);
}
