:root {
  --bg: #ffffff;
  --bg-alt: #f3f6fb;
  --text: #16202e;
  --muted: #56637a;
  --border: #dbe2ec;
  --accent: #1976d2;
  --accent-hover: #125ea8;
  --on-accent: #ffffff;
  --shadow: 0 18px 50px rgba(22, 32, 46, 0.16);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #11161d;
    --bg-alt: #19212b;
    --text: #e8edf4;
    --muted: #9aa8bb;
    --border: #2b3644;
    --accent: #5aa9f5;
    --accent-hover: #86c0f8;
    --on-accent: #0b1622;
    --shadow: 0 18px 50px rgba(0, 0, 0, 0.5);
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
}

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

img {
  max-width: 100%;
  height: auto;
}

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Header */

.top {
  border-bottom: 1px solid var(--border);
}

.top .wrap {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 20px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  color: var(--text);
  font-weight: 700;
  font-size: 1.15rem;
  text-decoration: none;
}

.top nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
}

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

.top nav a:hover {
  color: var(--accent);
}

/* Hero */

.hero {
  padding: 64px 0 56px;
  text-align: center;
}

.hero h1 {
  max-width: 800px;
  margin: 0 auto 16px;
  font-size: clamp(2rem, 5vw, 3.1rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.lead {
  max-width: 660px;
  margin: 0 auto 28px;
  color: var(--muted);
  font-size: 1.15rem;
}

.buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.button {
  display: inline-block;
  padding: 11px 22px;
  border: 1px solid var(--accent);
  border-radius: 8px;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 600;
  text-decoration: none;
}

.button:hover {
  border-color: var(--accent-hover);
  background: var(--accent-hover);
}

.button.secondary {
  background: transparent;
  color: var(--accent);
}

.button.secondary:hover {
  background: var(--bg-alt);
}

.note {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.shot {
  display: block;
  margin: 44px auto 0;
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: var(--shadow);
}

/* Sections */

section {
  padding: 56px 0;
}

section.alt {
  background: var(--bg-alt);
}

h2 {
  margin: 0 0 28px;
  font-size: 1.7rem;
  letter-spacing: -0.01em;
  text-align: center;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.card {
  padding: 20px 22px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg);
}

.card h3 {
  margin: 0 0 6px;
  font-size: 1.08rem;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.97rem;
}

.steps {
  counter-reset: step;
}

.steps .card::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-bottom: 10px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 700;
}

/* Footer */

footer {
  padding: 28px 0 36px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.9rem;
}

footer p {
  margin: 0 0 6px;
}
