:root {
  --ink: #1b1f24;
  --muted: #5c6770;
  --paper: #ffffff;
  --paper-2: #f4f6f8;
  --card: #ffffff;
  --blue: #0b5cab;
  --blue-deep: #084a8a;
  --line: #e3e6ea;
  --danger: #8d2d2d;
  --ok: #0b5cab;
  --header: 64px;
  --max: 1120px;
  --sans: "Source Sans 3", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.55;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--blue); }
button, input, select, textarea { font: inherit; }
h1, h2, h3, h4 {
  font-family: var(--sans);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0;
  color: var(--ink);
}
p { margin: 0; }

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: #fff;
  color: var(--ink);
  padding: 8px 12px;
  z-index: 20;
}
.skip:focus { top: 12px; }
section[id], article[id] { scroll-margin-top: 84px; }
main h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin: 8px 0 12px; }

.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.narrow { width: min(760px, calc(100% - 40px)); margin: 0 auto; }

.topbar {
  background: var(--paper-2);
  color: var(--muted);
  font-size: 0.92rem;
  border-bottom: 1px solid var(--line);
}
.topbar-inner, .nav-inner, .footer-grid, .hero-grid, .split, .price-grid, .why-grid, .contact-grid, .pillar-grid {
  display: grid;
  gap: 18px;
}
.topbar-inner {
  grid-template-columns: 1fr auto auto;
  align-items: center;
  min-height: 36px;
}
.topbar a { color: var(--ink); text-decoration: none; }
.topbar a:hover { color: var(--blue); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: var(--header);
}
.brand { display: flex; align-items: center; text-decoration: none; color: var(--ink); }
.brand .logo { height: 48px; width: auto; }
.menu { display: flex; align-items: center; justify-content: center; gap: 22px; }
.menu a { text-decoration: none; color: var(--ink); font-weight: 600; }
.menu a:hover { color: var(--blue); }
.nav-cta { display: flex; gap: 10px; align-items: center; }
.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 4px;
  padding: 8px 10px;
  cursor: pointer;
}
.menu-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); margin: 4px 0; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  border-radius: 4px;
  padding: 11px 16px;
  border: 1px solid transparent;
  font-weight: 700;
  cursor: pointer;
  line-height: 1;
}
.btn-primary, .btn-gold { background: var(--blue); color: #fff; }
.btn-primary:hover, .btn-gold:hover { background: var(--blue-deep); }
.btn-ghost, .btn-line { background: #fff; color: var(--ink); border-color: #c5ced6; }
.btn-ghost:hover, .btn-line:hover { border-color: var(--blue); color: var(--blue); }

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: min(920px, calc(100svh - var(--header)));
  background:
    radial-gradient(860px 460px at 82% 46%, rgba(11, 92, 171, 0.18), transparent 68%),
    linear-gradient(180deg, #e4edf6 0%, #f6f8fb 62%, #ffffff 100%);
  color: var(--ink);
  padding: 88px 0 80px;
}
.hero .wrap { width: min(1440px, calc(100% - 48px)); }
.hero-grid { grid-template-columns: minmax(360px, 500px) minmax(0, 1fr); align-items: center; gap: 56px; width: 100%; }
.hero-copy { padding: 12px 0; }
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue-deep);
  background: #fff;
  border: 1px solid #c5d5e6;
  border-radius: 999px;
  padding: 6px 12px 6px 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.78rem;
  text-decoration: none;
}
.kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #1a8f4a;
  box-shadow: 0 0 0 4px rgba(26, 143, 74, 0.16);
}
.hero h1 { font-size: clamp(2.9rem, 4.6vw, 4.15rem); line-height: 1.06; margin: 20px 0 18px; }
.lede { font-size: 1.35rem; color: #3d4a55; max-width: 38rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 22px; }
.hero .btn { padding: 16px 22px; font-size: 1.08rem; }
.trust { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0; list-style: none; }
.trust li {
  border: 1px solid #d5dee8;
  background: #fff;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #33404c;
}

.stage {
  border: 0;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(160deg, #12385f 0%, #0b5cab 58%, #3d86c9 100%);
  box-shadow: 0 28px 64px rgba(12, 40, 72, 0.28);
  padding: 20px 20px 14px;
}
.stage-window {
  overflow: hidden;
  border-radius: 10px;
  background: #d5e0ea;
  box-shadow: 0 10px 24px rgba(8, 24, 44, 0.18);
}
.stage-note {
  margin: 10px 4px 2px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.stage-track {
  display: flex;
  width: 500%;
  animation: stage-scroll 24s ease-in-out infinite;
}
.stage-track img {
  width: 20%;
  height: auto;
  flex: 0 0 20%;
  display: block;
}
@keyframes stage-scroll {
  0%, 14% { transform: translateX(0); }
  18%, 32% { transform: translateX(-20%); }
  36%, 50% { transform: translateX(-40%); }
  54%, 68% { transform: translateX(-60%); }
  72%, 86% { transform: translateX(-80%); }
  100% { transform: translateX(-80%); }
}
.app { background: #f7f8fa; color: var(--ink); }
.app-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #243040;
  color: #eef2f6;
  padding: 8px 12px;
  font-size: 0.88rem;
}
.dots { display: flex; gap: 5px; }
.dots i { width: 8px; height: 8px; border-radius: 50%; background: #8ea0b3; display: block; }
.app-bar strong { font-weight: 700; }
.app-bar em { margin-left: auto; font-style: normal; color: #b7c4d1; font-size: 0.78rem; }
.app-body { display: grid; grid-template-columns: 132px 1fr; min-height: 280px; }
.app-side { background: #1c2836; color: #d5dee8; padding: 12px 8px; font-size: 0.82rem; }
.app-side p { opacity: 0.55; font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 8px; }
.app-side span { display: block; padding: 6px 8px; border-radius: 3px; }
.app-side span.on { background: var(--blue); color: #fff; }
.app-main { padding: 12px; }
.app-main h3 { font-size: 1rem; }
.meta { color: var(--muted); font-size: 0.8rem; margin: 2px 0 10px; }
.cols { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 8px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: 8px 10px; }
.panel h4 { font-size: 0.72rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.row { display: flex; justify-content: space-between; gap: 8px; font-size: 0.82rem; padding: 3px 0; border-bottom: 1px solid #eef1f4; }
.row b { font-weight: 700; }
.cost {
  margin-top: 8px;
  background: #243040;
  color: #fff;
  border-radius: 4px;
  padding: 8px 10px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.cost strong { color: #fff; font-size: 1.05rem; }

.customers { padding: 20px 0 12px; border-bottom: 1px solid var(--line); background: #fff; }
.customers h2 {
  text-align: center;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 10px;
}
.brand-logos {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 28px;
  margin: 0 auto;
  padding: 2px 0 6px;
  max-width: 1000px;
}
.brand-logos li {
  flex: 0 0 calc((100% - 5 * 28px) / 6);
  width: calc((100% - 5 * 28px) / 6);
  height: 52px;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.brand-logos img {
  max-width: 100%;
  max-height: 42px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.section { padding: 56px 0; }
.section h2 { font-size: clamp(1.7rem, 3vw, 2.15rem); margin: 6px 0 10px; }
.eyebrow { color: var(--blue); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.75rem; }
.intro { color: var(--muted); max-width: 46rem; }

.band { background: var(--paper-2); border-block: 1px solid var(--line); }
.pillar-grid, .why-grid { grid-template-columns: repeat(4, 1fr); margin-top: 22px; }
.card, .price, .quote, .info, .legal-block {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
}
.card, .quote, .info { padding: 16px 16px 18px; }
.card h3, .why-grid h3, .info h3 { font-size: 1.15rem; margin-bottom: 6px; }
.card p, .quote p, .info p, .legal-block p, .legal-block li { color: var(--muted); }
.num { color: var(--blue); font-size: 0.85rem; font-weight: 700; }

.group { margin-top: 26px; }
.group h3 { font-size: 1.25rem; margin-bottom: 10px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: 12px 14px; }
.feature h4 { font-size: 1rem; margin-bottom: 4px; }
.feature p { color: var(--muted); font-size: 0.98rem; }

.why-grid { grid-template-columns: repeat(3, 1fr); }
.why-grid article { padding: 2px 8px 8px 0; }
.why-grid p { color: var(--muted); }

.split { grid-template-columns: 0.9fr 1.1fr; align-items: center; gap: 32px; }
.video {
  margin-top: 0;
  border-radius: 6px;
  overflow: hidden;
  background: #11181f;
  border: 1px solid var(--line);
}
.video video { display: block; width: 100%; height: auto; background: #11181f; }

.price-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; margin-top: 22px; }
.price { padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.price.featured { border: 2px solid var(--blue); }
.tag {
  align-self: flex-start;
  background: #e8f1fa;
  color: var(--blue-deep);
  border-radius: 2px;
  padding: 3px 8px;
  font-size: 0.75rem;
  font-weight: 700;
}
.amount { font-size: 2.4rem; line-height: 1; }
.amount span { font-size: 1rem; font-weight: 600; color: var(--muted); }
.price ul { margin: 0; padding-left: 18px; color: var(--muted); }
.price .btn { margin-top: auto; }
.fine { color: var(--muted); font-size: 0.92rem; margin-top: 14px; }

.quote-grid { columns: 2 320px; column-gap: 14px; margin-top: 20px; }
.quote { margin: 0 0 14px; break-inside: avoid; display: block; width: 100%; padding: 18px 18px 14px; }
.quote p { color: var(--ink); }
.quote footer {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-style: normal;
  font-weight: 700;
  color: var(--ink);
}
.quote footer small { display: block; font-weight: 600; color: var(--muted); }
.avatar {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #e8f1fa;
  color: var(--blue-deep);
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 700;
}

.faq { display: grid; gap: 8px; margin-top: 16px; }
details { background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: 12px 14px; }
summary { cursor: pointer; font-weight: 700; }
details p { margin-top: 8px; color: var(--muted); }

.contact-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 18px; }
.info + .info { margin-top: 10px; }

.site-footer { background: #1b1f24; color: #d5dbe1; padding: 36px 0 18px; }
.footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 24px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer p { color: #c5ced6; margin-top: 10px; }
.site-footer h3 { color: #fff; font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 10px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.legal-line { border-top: 1px solid rgba(255,255,255,0.12); margin-top: 22px; padding-top: 12px; font-size: 0.9rem; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

.legal-block { padding: 20px; margin: 14px 0 24px; }
.legal-block h2 { margin-bottom: 8px; }
.legal-block h3 { font-size: 1.05rem; margin: 16px 0 4px; }
.missing { min-height: 60vh; display: grid; align-content: center; }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

@media (max-width: 980px) {
  .hero { display: block; min-height: 0; padding: 56px 0 48px; }
  .hero-grid, .split, .contact-grid, .footer-grid, .pillar-grid { grid-template-columns: 1fr; }
  .quote-grid { columns: 1; }
  .why-grid, .feature-grid, .price-grid { grid-template-columns: 1fr 1fr; }
  .topbar-inner { grid-template-columns: 1fr; padding: 8px 0; }
  .menu-toggle { display: block; }
  .menu {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 100%;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 12px 16px 16px;
    flex-direction: column;
    align-items: flex-start;
  }
  .menu.open { display: flex; }
  .nav-inner { grid-template-columns: 1fr auto auto; }
  .nav-cta .btn-line { display: none; }
  .site-header { position: sticky; }
}

@media (max-width: 680px) {
  .why-grid, .feature-grid, .price-grid, .cols, .app-body { grid-template-columns: 1fr; }
  .app-side { display: none; }
  .hero { padding: 40px 0 36px; }
  .hero h1 { font-size: clamp(2.15rem, 8vw, 2.7rem); }
  .section { padding: 40px 0; }
  .brand-logos { gap: 12px 16px; max-width: none; }
  .brand-logos li { flex-basis: calc((100% - 2 * 10px) / 3); width: calc((100% - 2 * 10px) / 3); max-width: none; height: 48px; }
  .brand-logos img { max-height: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .stage-track { animation: none; width: 100%; }
  .stage-track img { width: 100%; flex-basis: 100%; }
  .stage-track img + img { display: none; }
}
