:root {
  --accent: #e53935;
  --accent-dark: #c62828;
  --bg: #ffffff;
  --bg-soft: #f7f7f8;
  --text: #1a1a1a;
  --muted: #6b7280;
  --border: #e6e6e9;
  --radius: 14px;
  --maxw: 1080px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1115;
    --bg-soft: #171a21;
    --text: #e8eaed;
    --muted: #9aa0a6;
    --border: #262a33;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* Header */
header.site {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; color: var(--text); }
.brand img { width: 30px; height: 30px; }
.nav-links { display: flex; gap: 22px; align-items: center; }
.nav-links a { color: var(--text); font-size: 15px; }
.nav-links a:hover { color: var(--accent); text-decoration: none; }
.btn {
  display: inline-block; background: var(--accent); color: #fff !important;
  padding: 10px 18px; border-radius: 10px; font-weight: 600; font-size: 15px;
  border: none; cursor: pointer; transition: background .15s;
}
.btn:hover { background: var(--accent-dark); text-decoration: none; }
.btn.ghost { background: transparent; color: var(--accent) !important; border: 1px solid var(--accent); }

/* Hero */
.hero { text-align: center; padding: 80px 0 64px; }
.hero h1 { font-size: 46px; line-height: 1.1; margin: 0 0 18px; letter-spacing: -1px; }
.hero p.lead { font-size: 20px; color: var(--muted); max-width: 640px; margin: 0 auto 32px; }
.hero .cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.badge {
  display: inline-block; font-size: 13px; color: var(--accent);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  padding: 5px 12px; border-radius: 999px; margin-bottom: 20px; font-weight: 600;
}

/* Sections */
section.block { padding: 56px 0; }
section.block.alt { background: var(--bg-soft); }
h2.section-title { font-size: 30px; text-align: center; margin: 0 0 12px; }
p.section-sub { text-align: center; color: var(--muted); max-width: 620px; margin: 0 auto 40px; }

/* Feature grid */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px;
}
.card .ic { font-size: 26px; margin-bottom: 10px; }
.card h3 { margin: 0 0 6px; font-size: 17px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; padding: 24px; border: 1px solid var(--border); border-radius: var(--radius); }
.step::before {
  counter-increment: step; content: counter(step);
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%; background: var(--accent);
  color: #fff; font-weight: 700; margin-bottom: 12px;
}

/* Content pages */
.page { padding: 56px 0 72px; }
.page h1 { font-size: 34px; margin: 0 0 8px; }
.page h2 { font-size: 20px; margin: 32px 0 8px; }
.page .muted { color: var(--muted); }
.page ul { padding-left: 20px; }
.prose { max-width: 760px; }

/* Contact */
.contact-card {
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; max-width: 520px;
}
.contact-card .row { display: flex; gap: 12px; align-items: center; margin: 12px 0; }
.contact-card .row .k { width: 90px; color: var(--muted); font-size: 14px; }

/* Footer */
footer.site { border-top: 1px solid var(--border); padding: 32px 0; color: var(--muted); font-size: 14px; }
.foot { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; }
.foot a { color: var(--muted); }
.foot a:hover { color: var(--accent); }

@media (max-width: 780px) {
  .grid, .steps { grid-template-columns: 1fr; }
  .hero h1 { font-size: 34px; }
  .nav-links a:not(.btn) { display: none; }
}
