:root {
  --bg: #f8fbff;
  --surface: #ffffff;
  --ink: #07182f;
  --muted: #52657d;
  --line: #dce5f1;
  --primary: #0c2f63;
  --blue: #1b5dbf;
  --red: #d51f35;
  --soft: #edf4ff;
  --shadow: 0 20px 55px rgba(7, 24, 47, .11);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.56;
}
a { color: inherit; }
img { max-width: 100%; height: auto; }
.wrap { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  background: var(--ink);
  color: #fff;
  padding: 10px 14px;
  border-radius: 6px;
  z-index: 20;
}
.skip-link:focus { top: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(248, 251, 255, .94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand img { display: block; width: 170px; }
.nav-links { display: flex; align-items: center; gap: 18px; color: var(--muted); font-size: 14px; font-weight: 800; }
.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--blue); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 7px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 900;
  cursor: pointer;
  transition: transform .18s ease, background-color .18s ease, border-color .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible, a:focus-visible, button:focus-visible { outline: 3px solid #9ec3ff; outline-offset: 3px; }
.btn.primary { background: var(--red); color: #fff; }
.btn.blue { background: var(--blue); color: #fff; }
.btn.ghost { border-color: var(--line); background: #fff; color: var(--primary); }

.hero {
  padding: 78px 0 54px;
  background:
    linear-gradient(90deg, rgba(27,93,191,.1), transparent 22%, transparent 78%, rgba(213,31,53,.1)),
    #f8fbff;
}
.hero-grid { display: grid; grid-template-columns: .98fr 1.02fr; align-items: center; gap: 48px; }
.eyebrow {
  display: inline-flex;
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--blue);
  background: #e7f0ff;
  border: 1px solid #cfe0fb;
  font-weight: 900;
  font-size: 13px;
  margin: 0 0 18px;
}
h1, h2, h3 { margin: 0; line-height: 1.1; letter-spacing: 0; }
h1 { font-size: clamp(36px, 6vw, 64px); max-width: 780px; }
.hero p { color: var(--muted); font-size: 19px; max-width: 660px; }
.hero-actions, .section-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 20px;
}
.hero-panel img { display: block; border-radius: 6px; background: #f2f7ff; }
.media-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 15px; }
.media-strip span { min-height: 48px; display: grid; place-items: center; border-radius: 7px; background: var(--soft); border: 1px solid var(--line); font-weight: 900; color: var(--primary); }

section { padding: 72px 0; }
.section-head { max-width: 790px; margin-bottom: 32px; }
.section-head p { color: var(--muted); font-size: 18px; }
.kicker { color: var(--red); font-weight: 900; text-transform: uppercase; font-size: 13px; margin-bottom: 10px; }
h2 { font-size: clamp(29px, 4vw, 44px); }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card, .step, .faq {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 10px 28px rgba(7,24,47,.05);
}
.card h3, .step h3 { font-size: 21px; margin-bottom: 10px; }
.card p, .step p, .faq p { color: var(--muted); margin-bottom: 0; }
.icon {
  width: 44px;
  height: 44px;
  border-radius: 7px;
  background: linear-gradient(135deg, #e8f1ff, #fff2f4);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}
.icon svg { width: 24px; height: 24px; stroke: var(--blue); }

.band { background: var(--soft); }
.devices { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.device { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 18px 12px; text-align: center; font-weight: 900; }

.pricing-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; align-items: start; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; box-shadow: var(--shadow); }
.plan.featured { border-color: rgba(213,31,53,.55); }
.plan-head { padding: 26px; background: var(--primary); color: #fff; }
.plan-head p { color: #dce8f7; margin-bottom: 0; }
.price-table { display: grid; gap: 10px; padding: 18px; }
.price-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
}
.price-row strong { font-size: 20px; }
.price-row .btn { min-height: 42px; padding: 9px 13px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: steps; }
.step::before {
  counter-increment: steps;
  content: counter(steps);
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 7px;
  background: var(--blue);
  color: #fff;
  font-weight: 900;
  margin-bottom: 16px;
}
.faq-list { display: grid; gap: 12px; }
.faq h3 { font-size: 19px; }
.final-cta { background: var(--primary); color: #fff; }
.final-cta p { color: #dce8f7; font-size: 18px; max-width: 720px; }
.site-footer { background: #061226; color: #dce8f7; padding: 54px 0 22px; border-top: 3px solid var(--red); }
.footer-main { display: grid; grid-template-columns: 1.4fr .8fr .9fr; gap: 42px; padding-bottom: 38px; }
.footer-logo { color: #fff; font-size: 25px; font-weight: 900; text-decoration: none; }
.footer-brand p, .footer-trust p { color: #b9c9db; max-width: 360px; margin: 14px 0 18px; }
.footer-contact { color: #ffb8c0; font-weight: 900; text-decoration: none; }
.footer-nav { display: grid; gap: 9px; align-content: start; }
.footer-nav strong, .footer-trust strong { color: #fff; margin-bottom: 3px; }
.footer-nav a, .footer-trust a { color: #dce8f7; text-decoration: none; }
.footer-nav a:hover, .footer-trust a:hover, .footer-contact:hover { color: #ffb8c0; }
.footer-bottom { border-top: 1px solid rgba(220,232,247,.18); padding-top: 18px; display: flex; justify-content: space-between; gap: 18px; color: #92a8c0; font-size: 13px; }

@media (max-width: 860px) {
  .hero-grid, .pricing-grid { grid-template-columns: 1fr; }
  .grid-3, .steps { grid-template-columns: 1fr; }
  .devices { grid-template-columns: repeat(2, 1fr); }
  .nav { align-items: flex-start; padding: 14px 0; }
  .nav-links { flex-wrap: wrap; justify-content: flex-end; }
  .footer-main { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .brand img { width: 150px; }
  .nav { display: block; }
  .nav-links { margin-top: 12px; justify-content: flex-start; }
  .hero { padding-top: 52px; }
  .price-row { grid-template-columns: 1fr; }
  .price-row .btn { width: 100%; }
  .footer-main { grid-template-columns: 1fr; gap: 26px; }
  .footer-bottom { display: grid; gap: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto; transition: none !important; }
}
