:root {
  --navy: #0a2342;
  --navy-2: #12355f;
  --blue: #1a4f8b;
  --cyan: #1bb8d1;
  --cyan-dark: #1296ac;
  --ink: #122033;
  --muted: #5b6b7c;
  --line: #d5dee8;
  --paper: #f4f7fb;
  --white: #ffffff;
  --max: 1120px;
  --radius: 14px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover {
  color: var(--cyan-dark);
}

h1, h2, h3, h4 {
  margin: 0 0 0.6em;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
h3 { font-size: 1.15rem; }

p { margin: 0 0 1rem; }

.wrap {
  width: min(var(--max), calc(100% - 2.4rem));
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
}

.skip:focus {
  left: 1rem;
  top: 1rem;
  z-index: 100;
  background: var(--white);
  padding: 0.5rem 0.8rem;
}

/* Header */

.site-header {
  background: var(--navy);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 40;
}

.site-header a {
  color: var(--white);
}

.site-header a:hover {
  color: var(--cyan);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-shrink: 0;
}

.brand img {
  height: 42px;
  width: auto;
  mix-blend-mode: screen;
}

.brand-name {
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--white);
  width: 44px;
  height: 44px;
  border-radius: 8px;
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  position: relative;
  margin: 0 auto;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu > li {
  position: relative;
}

.nav-menu > li > a {
  display: block;
  padding: 0.7rem 0.85rem;
  font-size: 0.95rem;
  font-weight: 600;
}

.nav-menu > li.is-active > a,
.nav-menu a[aria-current="page"] {
  color: var(--cyan);
}

.sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 280px;
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.4rem 0;
  list-style: none;
  margin: 0;
  z-index: 20;
}

.sub-menu a {
  color: var(--ink);
  display: block;
  padding: 0.55rem 1rem;
  font-size: 0.92rem;
}

.sub-menu a:hover {
  background: var(--paper);
  color: var(--blue);
}

.has-sub:hover > .sub-menu,
.has-sub:focus-within > .sub-menu,
.has-sub.open > .sub-menu {
  display: block;
}

.nav-cta {
  background: var(--cyan);
  color: var(--navy) !important;
  border-radius: 999px;
  padding: 0.55rem 1rem !important;
  font-weight: 700 !important;
  margin-left: 0.4rem;
}

.nav-cta:hover {
  background: #4fd0e4 !important;
  color: var(--navy) !important;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--cyan);
  color: var(--navy);
  font-weight: 700;
  padding: 0.75rem 1.2rem;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
}

.btn:hover {
  background: #4fd0e4;
  color: var(--navy);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.4);
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.08);
  color: var(--white);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
}

.btn-navy:hover {
  background: var(--navy-2);
  color: var(--white);
}

/* Hero / page banner */

.page-hero {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  background: var(--navy) center / cover no-repeat;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,35,66,0.25) 0%, rgba(10,35,66,0.82) 100%);
}

.page-hero .wrap {
  position: relative;
  z-index: 1;
  padding: 3.5rem 0 2.2rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--cyan);
  margin-bottom: 0.5rem;
}

.crumb {
  font-size: 0.85rem;
  opacity: 0.85;
  margin-bottom: 0.8rem;
}

.crumb a { color: #d7eef5; }

.home-intro {
  background: var(--navy);
  color: var(--white);
  padding: 3.2rem 0 3.6rem;
}

.home-intro .lede {
  max-width: 40rem;
  font-size: 1.15rem;
  color: #d5e2ef;
}

.home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

/* Sections */

.section {
  padding: 3.2rem 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 1.6rem;
}

.muted { color: var(--muted); }

.panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
}

/* Product grid */

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.product-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  color: inherit;
}

.product-card:hover {
  border-color: #b9c9db;
  color: inherit;
}

.product-card img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  background: var(--navy);
}

.product-card .body {
  padding: 1.05rem 1.1rem 1.2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card h3 {
  margin-bottom: 0.4rem;
  font-size: 1.05rem;
}

.product-card p {
  color: var(--muted);
  font-size: 0.94rem;
  flex: 1;
}

.product-card .more {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--blue);
}

/* Benefits */

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.benefit {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1.2rem;
}

.benefit h3 {
  color: var(--navy);
  margin-bottom: 0.35rem;
}

.benefit p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Screenshots */

.shot-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.shot-grid.three {
  grid-template-columns: repeat(3, 1fr);
}

.shot {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: zoom-in;
}

.shot img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: top;
}

.shot.fit {
  cursor: zoom-in;
}

.shot.fit img {
  height: auto;
  max-height: min(70vh, 560px);
  object-fit: contain;
  object-position: center;
  background: var(--paper);
}

.shot.phone img {
  height: 360px;
  object-fit: contain;
  background: #111;
}

.shot figcaption {
  padding: 0.6rem 0.8rem 0.8rem;
  font-size: 0.85rem;
  color: var(--muted);
}

/* Steps / numbered */

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.8rem;
}

.steps li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.1rem 1rem 3.4rem;
  position: relative;
}

.steps li::before {
  content: attr(data-n);
  position: absolute;
  left: 1rem;
  top: 1rem;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}

/* Quotes */

.quotes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.quote {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.3rem;
}

.quote img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 0.8rem;
}

.quote p {
  font-size: 1rem;
}

.quote cite {
  display: block;
  font-style: normal;
  color: var(--muted);
  font-size: 0.9rem;
}

/* FAQ */

.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.9rem 1.1rem;
  margin-bottom: 0.6rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
}

.faq details p {
  margin: 0.7rem 0 0;
  color: var(--muted);
}

/* Split */

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.6rem;
  align-items: center;
}

.split.reverse {
  grid-template-columns: 0.9fr 1.1fr;
}

.media-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #000;
}

.media-frame video,
.media-frame iframe,
.media-frame img {
  width: 100%;
  display: block;
}

.media-frame iframe {
  min-height: 320px;
  border: 0;
}

.media-frame.video-compact {
  max-width: 420px;
  margin-inline: auto;
}

.media-frame.video-compact video {
  width: 100%;
  max-height: min(46vh, 360px);
  height: auto;
  object-fit: contain;
  background: #000;
}

/* Contact */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 1.4rem;
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-list li {
  margin-bottom: 1.1rem;
}

.contact-list strong {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.2rem;
}

.map-wrap iframe {
  width: 100%;
  min-height: 380px;
  border: 0;
  border-radius: var(--radius);
}

/* Footer */

.site-footer {
  background: var(--navy);
  color: #d7e3ef;
  padding: 2.6rem 0 0;
  margin-top: 2rem;
}

.site-footer a {
  color: #d7e3ef;
}

.site-footer a:hover {
  color: var(--cyan);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 1.5rem;
  padding-bottom: 2rem;
}

.site-footer h2 {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li {
  margin-bottom: 0.4rem;
}

.footer-brand > img {
  height: 40px;
  mix-blend-mode: screen;
  margin-bottom: 0.8rem;
}

.socials {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 0.8rem;
}

.social-linkedin {
  display: inline-flex;
  line-height: 0;
}

.social-linkedin img {
  width: 32px;
  height: 32px;
}

.copyright {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 0.9rem 0;
  font-size: 0.9rem;
  text-align: center;
}

/* Lightbox */

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(8, 18, 32, 0.88);
  z-index: 80;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox.is-open {
  display: flex;
}

.lightbox img {
  max-width: min(1100px, 100%);
  max-height: 90vh;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1.2rem;
  background: transparent;
  border: 0;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
}

/* Hardware row */

.hw-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.hw-row img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.8rem;
}

.cta-band {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.cta-band p { margin: 0; color: #d5e2ef; }

/* Responsive */

@media (max-width: 960px) {
  .card-grid,
  .benefit-grid,
  .quotes,
  .split,
  .split.reverse,
  .contact-grid,
  .footer-grid,
  .hw-row {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav-toggle { display: block; }

  .nav-menu {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 72px;
    background: var(--navy-2);
    flex-direction: column;
    align-items: stretch;
    padding: 0.6rem 0 1rem;
  }

  .nav-menu.is-open { display: flex; }

  .sub-menu {
    position: static;
    min-width: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
  }

  .sub-menu a { color: #d7e3ef; }

  .nav-cta {
    margin: 0.4rem 1rem;
    text-align: center;
    justify-content: center;
  }

  .card-grid,
  .benefit-grid,
  .shot-grid,
  .shot-grid.three,
  .quotes,
  .split,
  .split.reverse,
  .contact-grid,
  .footer-grid,
  .hw-row,
  .cta-band {
    grid-template-columns: 1fr;
    display: grid;
  }

  .cta-band { text-align: left; }
}
