:root {
  --bg: #fbfaf7;
  --surface: #ffffff;
  --text: #17171a;
  --text-secondary: #5c5c66;
  --border: #e6e3dc;
  --accent: #3b4fd8;
  --accent-soft: #eceffd;
  --radius: 14px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111114;
    --surface: #1a1a1f;
    --text: #f2f2f4;
    --text-secondary: #a3a3ad;
    --border: #2b2b33;
    --accent: #8b9bff;
    --accent-soft: #1f2340;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Heebo", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 400;
  line-height: 1.6;
}
a { color: inherit; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }

header { padding: 22px 0; }
header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 500; font-size: 18px; text-decoration: none; }
.logo-mark {
  width: 28px; height: 28px; border-radius: 8px;
  background: var(--accent); color: #fff;
  display: grid; place-items: center; font-size: 15px;
}
.lang { font-size: 14px; color: var(--text-secondary); text-decoration: none; padding: 6px 10px; border-radius: 8px; }
.lang:hover { background: var(--accent-soft); color: var(--text); }

.hero { padding: 72px 0 56px; }
.eyebrow {
  display: inline-block; font-size: 14px; color: var(--accent);
  background: var(--accent-soft); padding: 4px 12px; border-radius: 999px; margin-bottom: 20px;
}
h1 {
  font-size: clamp(34px, 6vw, 56px); line-height: 1.15; font-weight: 500;
  margin: 0 0 20px; letter-spacing: -0.01em; max-width: 20ch; text-wrap: balance;
}
.lead { font-size: clamp(17px, 2.2vw, 20px); color: var(--text-secondary); max-width: 52ch; margin: 0 0 32px; }
.button {
  display: inline-block; background: var(--accent); color: #fff; text-decoration: none;
  padding: 12px 22px; border-radius: 10px; font-weight: 500;
}
.button:hover { filter: brightness(1.08); }
.button:focus-visible, .lang:focus-visible { outline: none; box-shadow: inset 0 0 0 2px var(--text); }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding-top: 24px; padding-bottom: 72px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.card h2 { font-size: 18px; font-weight: 500; margin: 0 0 8px; }
.card p { margin: 0; color: var(--text-secondary); font-size: 15px; }
.num { font-size: 14px; color: var(--accent); margin-bottom: 12px; display: block; }

.contact { border-top: 1px solid var(--border); padding: 56px 0; }
.contact h2 { font-size: 26px; font-weight: 500; margin: 0 0 8px; }
.contact p { color: var(--text-secondary); margin: 0 0 24px; }

footer { padding: 24px 0 40px; color: var(--text-secondary); font-size: 14px; }

@media (max-width: 760px) {
  .hero { padding: 40px 0 32px; }
  .features { grid-template-columns: 1fr; padding-bottom: 48px; }
}
