:root {
  --ink: #0f1b2d;
  --ink-2: #44526a;
  --muted: #6b7a90;
  --line: #e3e8f0;
  --bg: #ffffff;
  --bg-alt: #f5f7fb;
  --brand: #1f5eff;
  --brand-2: #0b3cc1;
  --accent: #14b8a6;
  --dark: #0b1424;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(15, 27, 45, .08);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 10px 14px; z-index: 100; }
.skip:focus { left: 10px; top: 10px; }

.eyebrow {
  display: inline-block;
  font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--brand); margin-bottom: .8em;
}
.lead { font-size: 1.15rem; color: var(--ink-2); max-width: 36em; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--brand); color: #fff; font-weight: 600;
  padding: 14px 24px; border-radius: 10px; border: 2px solid var(--brand);
  font: inherit; font-weight: 600; cursor: pointer;
  transition: background .2s, transform .2s;
}
.btn:hover { background: var(--brand-2); border-color: var(--brand-2); text-decoration: none; transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--brand); }
.btn--ghost:hover { background: var(--brand); color: #fff; }
.btn--sm { padding: 9px 16px; font-size: .95rem; }
.btn--block { width: 100%; }

/* Header */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header__in { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 800; font-size: 1.15rem; }
.brand:hover { text-decoration: none; }
.brand__mark svg { fill: var(--brand); }
.brand__txt em { font-style: normal; color: var(--brand); }
.brand--light { color: #fff; }
.brand--light .brand__mark svg { fill: #fff; }
.brand--light .brand__txt em { color: var(--accent); }

.mainnav__list { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.mainnav__list a:not(.btn) { color: var(--ink-2); font-weight: 500; }
.mainnav__list a:not(.btn):hover { color: var(--brand); text-decoration: none; }

.burger { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.burger span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; }

/* Hero */
.hero {
  padding: 90px 0 80px;
  background:
    radial-gradient(900px 400px at 85% 10%, rgba(31, 94, 255, .10), transparent 60%),
    radial-gradient(600px 300px at 10% 90%, rgba(20, 184, 166, .10), transparent 60%);
}
.hero__in { display: grid; grid-template-columns: 1.15fr .85fr; gap: 60px; align-items: center; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero__art { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.tile {
  aspect-ratio: 1; border-radius: 22px; display: flex; align-items: flex-end; padding: 20px;
  color: #fff; font-weight: 700; font-size: 1.1rem; box-shadow: var(--shadow);
}
.tile--1 { background: linear-gradient(135deg, #1f5eff, #4f83ff); }
.tile--2 { background: linear-gradient(135deg, #0b3cc1, #1f5eff); transform: translateY(24px); }
.tile--3 { background: linear-gradient(135deg, #14b8a6, #2dd4bf); }
.tile--4 { background: linear-gradient(135deg, #0f1b2d, #2b3c5a); transform: translateY(24px); }

/* Strip */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-alt); }
.strip__in { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding-top: 28px; padding-bottom: 28px; }
.strip__in div { display: flex; flex-direction: column; }
.strip__in b { font-size: 1rem; }
.strip__in span { color: var(--muted); font-size: .92rem; }

/* Sections */
.section { padding: 96px 0; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--dark); color: #dce4f2; }
.section--dark h2 { color: #fff; }
.section--dark .eyebrow { color: var(--accent); }
.section__head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.section__head p:last-child { color: var(--ink-2); }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card p { color: var(--ink-2); font-size: .97rem; margin: 0; }
.card__icon {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(31, 94, 255, .1); margin-bottom: 18px;
}
.card__icon svg { width: 24px; height: 24px; fill: none; stroke: var(--brand); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: none; }
.steps li { background: #fff; border-radius: var(--radius); padding: 28px 24px; border: 1px solid var(--line); position: relative; }
.steps__n { display: block; font-size: 2rem; font-weight: 800; color: var(--brand); opacity: .25; margin-bottom: 6px; }
.steps p { color: var(--ink-2); margin: 0; font-size: .97rem; }

/* About */
.about { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }
.about__copy p { color: var(--ink-2); }
.facts { margin: 0; background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 26px; }
.facts div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts div:last-child { border-bottom: 0; }
.facts dt { color: var(--muted); font-size: .92rem; }
.facts dd { margin: 0; font-weight: 600; text-align: right; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.contact__list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 18px; }
.contact__list li { display: flex; gap: 14px; align-items: flex-start; }
.contact__list svg { width: 22px; height: 22px; flex: none; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linejoin: round; margin-top: 2px; }
.contact__list a { color: #fff; }

.form { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 32px; box-shadow: 0 20px 50px rgba(0, 0, 0, .25); }
.form__row { margin-bottom: 18px; }
.form label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; }
.form input, .form select, .form textarea {
  width: 100%; font: inherit; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink);
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(31, 94, 255, .15); }
.form__note { margin: 14px 0 0; font-size: .92rem; min-height: 1.4em; }
.form__note.is-ok { color: #0f8a5f; }
.form__note.is-error { color: #c0362c; }

/* Footer */
.footer { background: #070e1a; color: #9aa8bf; padding: 48px 0 24px; }
.footer__in { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; flex-wrap: wrap; }
.footer__addr { margin: 12px 0 0; font-size: .92rem; }
.footer nav { display: flex; gap: 24px; flex-wrap: wrap; }
.footer nav a { color: #c9d3e4; }
.footer__legal { border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 32px; padding-top: 20px; font-size: .85rem; }
.footer__legal p { margin: 0; }

/* Legal pages */
.legal { padding: 64px 0 96px; }
.legal .wrap { max-width: 820px; }
.legal h2 { font-size: 1.35rem; margin-top: 2em; }
.legal p, .legal li { color: var(--ink-2); }

/* Responsive */
@media (max-width: 1000px) {
  .cards, .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .hero__in, .about, .contact { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 60px 0; }
  .hero__art { max-width: 380px; }
  .section { padding: 72px 0; }

  .burger { display: block; }
  .mainnav {
    position: absolute; top: 72px; left: 0; right: 0; background: #fff;
    border-bottom: 1px solid var(--line); display: none;
  }
  .mainnav.is-open { display: block; }
  .mainnav__list { flex-direction: column; align-items: stretch; gap: 0; padding: 12px 20px 20px; }
  .mainnav__list li a { display: block; padding: 12px 0; }
  .mainnav__list .btn { margin-top: 8px; text-align: center; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .cards, .steps, .strip__in { grid-template-columns: 1fr; }
  .form { padding: 24px; }
  .facts div { flex-direction: column; gap: 2px; }
  .facts dd { text-align: left; }
}
