:root {
  --bg: #f7f8fa;
  --surface: #ffffff;
  --ink: #17202a;
  --muted: #5b6b7b;
  --line: #e3e8ee;
  --accent: #1657c8;
  --accent-ink: #ffffff;
  --radius: 14px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 720px; }

h1, h2, h3 { line-height: 1.25; margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); font-weight: 750; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 700; margin-bottom: 1.2rem; }
h3 { font-size: 1.12rem; font-weight: 650; }
p { margin: 0 0 1em; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 800; letter-spacing: .06em; font-size: 1.02rem;
  color: var(--ink); text-decoration: none;
}
.brand-mark { width: 28px; height: 28px; color: var(--accent); }
.nav { display: flex; gap: 22px; }
.nav a { color: var(--muted); text-decoration: none; font-size: .95rem; }
.nav a:hover { color: var(--ink); }

/* Hero */
.hero { padding: 88px 0 72px; background: linear-gradient(180deg, #eef3fb 0%, var(--bg) 100%); }
.eyebrow {
  text-transform: uppercase; letter-spacing: .12em; font-size: .8rem;
  font-weight: 700; color: var(--accent); margin-bottom: 14px;
}
.lead { max-width: 640px; font-size: 1.12rem; color: var(--muted); }
.hero-actions { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }

.btn {
  display: inline-block; padding: 12px 22px; border-radius: 10px;
  font-weight: 600; text-decoration: none; font-size: .98rem;
  border: 1px solid transparent; transition: transform .06s ease, background .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: #124aa8; }
.btn-ghost { border-color: var(--line); color: var(--ink); background: var(--surface); }
.btn-ghost:hover { border-color: #c8d2dd; }

/* Sections */
.section { padding: 64px 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 22px 14px;
}
.card p { color: var(--muted); margin-bottom: .6em; }
.section-alt .card { background: var(--bg); }
.tag {
  display: inline-block; font-size: .75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--accent); background: #e8effc;
  padding: 3px 10px; border-radius: 999px; margin-bottom: 10px;
}

/* Contacts */
.contacts { list-style: none; padding: 0; margin: 18px 0 0; }
.contacts li {
  display: flex; align-items: baseline; gap: 14px;
  padding: 12px 0; border-bottom: 1px dashed var(--line);
}
.contacts .label { min-width: 90px; color: var(--muted); font-size: .9rem; }
.contacts a { color: var(--accent); text-decoration: none; font-weight: 600; }
.contacts a:hover { text-decoration: underline; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 26px 0 34px; background: var(--surface); }
.footer-inner { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .9rem; }
.muted { color: var(--muted); }

@media (max-width: 640px) {
  .nav { gap: 14px; }
  .hero { padding: 60px 0 48px; }
  .contacts li { flex-direction: column; gap: 2px; }
}
