:root {
  --blue: #005a93;
  --blue-d: #004672;
  --cyan: #00c7fb;
  --navy: #0b1f33;
  --navy-2: #13304d;
  --ink: #0f1b2d;
  --text: #2a3b50;
  --muted: #4a5a6e;
  --line: #d9e1ea;
  --bg: #ffffff;
  --bg-2: #f4f7fa;
  --ok: #16a34a;
  --radius: 16px;
  --max: 1200px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
h1, h2, h3 { color: var(--ink); line-height: 1.15; margin: 0; letter-spacing: -0.02em; }
h1 { font-size: clamp(36px, 5vw, 56px); font-weight: 800; }
h2 { font-size: clamp(28px, 3.6vw, 44px); font-weight: 800; }
h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section.alt { background: var(--bg-2); }
.section.dark { background: var(--navy); color: #d6e3ef; }
.section.dark h2, .section.dark h3 { color: #f4f7fa; }
.section.blue { background: var(--blue); color: #d6e8f5; }
.section.blue h2, .section.blue h3 { color: #fff; }

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}
.dark .eyebrow, .blue .eyebrow, .contact .eyebrow { color: var(--cyan); }
.lead { font-size: 19px; color: var(--muted); max-width: 680px; margin-top: 16px; }
.dark .lead { color: #bfd3e6; }
.blue .lead { color: #d6e8f5; }
.head { margin-bottom: 48px; }
.head.center { text-align: center; }
.head.center .lead { margin-left: auto; margin-right: auto; }

.icon { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 12px;
  font-weight: 700; font-size: 16px; text-decoration: none;
  border: 2px solid transparent; transition: background .15s, border-color .15s;
}
.btn .icon { width: 20px; height: 20px; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-d); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-ghost:hover { border-color: var(--blue); }
.btn-light { background: #fff; color: var(--blue); }
.btn-light:hover { background: #e8f3fb; }
.btn-outline-light { border-color: rgba(255,255,255,.4); color: #fff; }
.btn-outline-light:hover { border-color: #fff; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--blue); font-weight: 800; font-size: 21px; letter-spacing: -0.02em; }
.brand img { width: 32px; height: 32px; }
.nav-links { display: flex; gap: 2px; margin-left: auto; }
.nav-links a { color: var(--text); text-decoration: none; font-weight: 600; font-size: 15px; padding: 8px 10px; border-radius: 8px; }
.nav-links a:hover { background: var(--bg-2); color: var(--blue); }
.nav .btn { padding: 10px 16px; font-size: 15px; }
.nav-cta-m { display: none !important; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; padding: 8px; color: var(--ink); cursor: pointer; }

/* hero */
.hero { padding: 64px 0 80px; background: var(--bg-2); overflow: hidden; }
.hero-top { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; }
.hero .lead { font-size: 20px; }
.hero .btns { margin-top: 32px; }
.checks { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 28px; font-size: 15px; font-weight: 600; color: var(--ink); }
.checks li { display: flex; align-items: center; gap: 8px; }
.checks .icon { width: 18px; height: 18px; color: var(--ok); }
.hero-devices { display: grid; grid-template-columns: 1fr 0.27fr; gap: 28px; align-items: end; margin-top: 56px; }

/* cards */
.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.g5 { grid-template-columns: repeat(5, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; display: flex; flex-direction: column; gap: 10px;
}
.card p { color: var(--muted); font-size: 16px; }
.card .ic {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: #e6f2fa; color: var(--blue); margin-bottom: 6px;
}
.dark .card { background: var(--navy-2); border-color: #1f3a57; }
.dark .card p { color: #bfd3e6; }
.dark .card .ic { background: #0b2a45; color: var(--cyan); }
.blue .card { background: #0b4c7c; border-color: #1a5f92; }
.blue .card p { color: #d6e8f5; }
.blue .card .ic { background: #063d66; color: var(--cyan); }
.card.problem { border-top: 4px solid var(--blue); }

.pillars a.card { text-decoration: none; transition: border-color .15s; }
.pillars a.card:hover { border-color: var(--blue); }
.pillars .more { margin-top: auto; font-size: 14px; font-weight: 700; color: var(--blue); display: flex; align-items: center; gap: 6px; }
.pillars .more .icon { width: 16px; height: 16px; }
.banner {
  margin-top: 28px; padding: 22px 28px; border-radius: var(--radius);
  background: var(--navy); color: #f4f7fa; font-size: 19px; font-weight: 600;
  display: flex; align-items: center; gap: 16px;
}
.banner .icon { color: var(--cyan); width: 28px; height: 28px; }

/* feature rows */
.feature { display: grid; grid-template-columns: 1fr 1.3fr; gap: 56px; align-items: center; }
.feature.rev { grid-template-columns: 1.3fr 1fr; }
.feature.rev .copy { order: 2; }
.feature + .feature, .feature + .gallery, .gallery + .feature, .steps-row + .feature { margin-top: 72px; }
.bullets { margin-top: 28px; display: grid; gap: 18px; }
.bullets li { display: flex; gap: 14px; }
.bullets .icon { color: var(--blue); margin-top: 2px; }
.bullets b { display: block; color: var(--ink); font-size: 17px; }
.bullets span { color: var(--muted); font-size: 16px; }
.dark .bullets .icon { color: var(--cyan); }
.dark .bullets b { color: #f4f7fa; }
.dark .bullets span { color: #bfd3e6; }
.phone-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 540px; margin: 0 auto; }
.phone-solo { max-width: 300px; margin: 0 auto; }

/* galleries: device mockups with a caption */
.gallery { display: grid; gap: 40px 28px; }
.gallery figure { margin: 0; display: flex; flex-direction: column; }
.gallery figure img { margin: 0 auto; }
.gallery figcaption { margin-top: 18px; font-size: 15px; color: var(--muted); }
.gallery figcaption b { color: var(--ink); display: block; font-size: 17px; margin-bottom: 2px; }
.dark .gallery figcaption { color: #bfd3e6; }
.dark .gallery figcaption b { color: #f4f7fa; }
.gallery.phones figure img { max-width: 260px; width: 100%; }
.gallery-title { font-size: 15px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 72px 0 24px; }
.dark .gallery-title { color: #9fb6cc; }

/* numbered steps with phones (QR) */
.steps-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.steps-row figure { margin: 0; }
.steps-row img { max-width: 250px; width: 100%; margin: 0 auto 18px; }
.step-n { font-size: 14px; font-weight: 800; color: var(--cyan); letter-spacing: .04em; display: block; margin-bottom: 4px; }
.steps-row h3 { margin-bottom: 6px; }
.steps-row p { font-size: 15px; color: #bfd3e6; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.chip { padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 14px; font-weight: 600; color: var(--ink); }
.dark .chip { background: transparent; border-color: #2a4a6b; color: #d6e3ef; }

.note { margin-top: 32px; font-size: 15px; color: var(--muted); }
.dark .note { color: #9fb6cc; }

/* table */
.trust { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.trust td { padding: 20px 24px; border-top: 1px solid var(--line); vertical-align: top; font-size: 16px; }
.trust tr:first-child td { border-top: 0; }
.trust td:first-child { width: 32%; font-weight: 700; color: var(--ink); }
.trust td:first-child span { display: flex; align-items: center; gap: 12px; }
.trust .icon { color: var(--blue); }

/* why */
.why .item { border-top: 3px solid var(--cyan); padding-top: 22px; }
.why .item p { margin-top: 8px; color: #d6e8f5; }

/* steps */
.steps .card { background: var(--bg-2); border: 0; }
.steps .num { font-size: 40px; font-weight: 800; color: var(--blue); line-height: 1; }

/* contact */
.contact { background: var(--navy); color: #bfd3e6; padding: 96px 0; }
.contact .wrap { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; }
.contact h2 { color: #f4f7fa; font-size: clamp(32px, 4.4vw, 52px); }
.contact .lead { color: #bfd3e6; }
.contact .btns { margin-top: 32px; }
.people { background: var(--navy-2); border: 1px solid #1f3a57; border-radius: 20px; padding: 32px; display: grid; gap: 22px; }
.people .row { display: flex; align-items: center; gap: 16px; }
.people .ic { width: 48px; height: 48px; border-radius: 12px; background: #0b2a45; color: var(--cyan); display: grid; place-items: center; flex: none; }
.people small { display: block; font-size: 14px; color: #9fb6cc; }
.people a, .people strong { color: #f4f7fa; font-weight: 700; font-size: 18px; text-decoration: none; word-break: break-word; }
.people a:hover { color: var(--cyan); }

footer { background: #071523; color: #7f97af; font-size: 14px; padding: 28px 0; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; }
footer a { color: #9fb6cc; text-decoration: none; }
footer a:hover { color: #fff; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.credit { flex-basis: 100%; font-size: 13px; color: #6b8299; }

main, .contact { overflow-x: clip; }

/* responsive */
@media (max-width: 1080px) {
  .g5 { grid-template-columns: repeat(3, 1fr); }
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .nav-links a { padding: 8px 6px; font-size: 14px; }
  .steps-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .section { padding: 72px 0; }
  .hero { padding: 48px 0 64px; }
  .hero-top, .feature, .feature.rev, .contact .wrap { grid-template-columns: 1fr; gap: 40px; }
  .feature.rev .copy { order: 0; }
  .g3, .g2 { grid-template-columns: 1fr 1fr; }
  .nav-toggle { display: block; }
  .nav .nav-cta { display: none; }
  .nav-links {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 16px 16px;
  }
  .nav.open .nav-links { display: flex; }
  .nav-links a { padding: 12px; font-size: 16px; }
  .nav-links .nav-cta-m { display: inline-flex !important; justify-content: center; margin-top: 8px; color: #fff; }
  .nav-links .nav-cta-m:hover { background: var(--blue-d); color: #fff; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .g2, .g3, .g4, .g5 { grid-template-columns: 1fr; }
  .gallery.phones { grid-template-columns: 1fr 1fr !important; gap: 28px 14px; }
  .gallery.phones figcaption { font-size: 14px; }
  .steps-row { grid-template-columns: 1fr 1fr; gap: 28px 14px; }
  .steps-row p { font-size: 14px; }
  .hero-devices { gap: 12px; margin-top: 40px; }
  .card { padding: 22px; }
  .trust td { display: block; width: 100% !important; padding: 14px 18px; }
  .trust td + td { border-top: 0; padding-top: 0; }
  .banner { font-size: 17px; padding: 18px 20px; }
  .people { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.gallery.g3 img[src$="pos-phone.webp"] { max-width: 180px; }
