:root {
  --ink: #0a1220;
  --ink-2: #111c30;
  --ink-line: #1e2c45;
  --text: #1c2636;
  --muted: #5b6779;
  --line: #e3e8ef;
  --bg: #ffffff;
  --tint: #f3f6fa;
  --blue: #1e90ff;
  --blue-dark: #0b6fd6;
  --radius: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-dark); text-decoration: none; }
h1, h2, h3, h4 {
  font-family: Sora, Inter, system-ui, sans-serif;
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 .5em;
  text-transform: uppercase;
  letter-spacing: .01em;
}
h1 { font-size: clamp(2rem, 5.200vw, 3.700rem); font-weight: 800; }
h2 { font-size: clamp(1.500rem, 3.200vw, 2.300rem); font-weight: 700; }
h3 { font-size: 1.050rem; letter-spacing: .04em; }
p { margin: 0 0 1em; }
address { font-style: normal; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding-inline: 20px; }

.eyebrow {
  font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--blue-dark); margin-bottom: .9em;
}
.accent { color: var(--blue); }

/* Buttons */
.btn {
  display: inline-block; border: 0; cursor: pointer;
  background: var(--blue); color: #fff; font: inherit; font-weight: 600; font-size: .88rem;
  text-transform: uppercase; letter-spacing: .1em;
  padding: 1em 1.900em; border-radius: 6px;
  transition: background .2s, transform .2s, color .2s;
}
.btn:hover { background: var(--blue-dark); transform: translateY(-1px); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--ink); color: #fff; }
.btn-small { padding: .7em 1.300em; font-size: .8rem; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #fff; border-bottom: 1px solid var(--line);
  transition: box-shadow .2s;
}
.site-header.scrolled { box-shadow: 0 10px 30px -18px rgba(10, 18, 32, .45); }
.header-row { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo { display: block; line-height: 0; }
.logo img { width: 190px; height: 62px; object-fit: cover; filter: brightness(1.06) contrast(1.12); }
.nav { display: flex; align-items: center; gap: 30px; }
.nav > a:not(.btn), .nav-parent {
  color: var(--ink); font-weight: 600; font-size: .8rem;
  text-transform: uppercase; letter-spacing: .1em; padding-block: 8px;
}
.nav > a:not(.btn):hover, .nav-parent:hover { color: var(--blue-dark); }
.nav .btn { color: #fff; }
.nav-group { position: relative; }
.nav-parent::after {
  content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 8px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: translateY(-3px) rotate(45deg);
}
.nav-menu {
  position: absolute; top: 100%; left: -16px; min-width: 240px;
  background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--blue);
  border-radius: 0 0 10px 10px; padding: 8px 0;
  box-shadow: 0 24px 50px -24px rgba(10, 18, 32, .4);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .18s, transform .18s, visibility .18s;
}
.nav-group:hover .nav-menu, .nav-group:focus-within .nav-menu { opacity: 1; visibility: visible; transform: none; }
.nav-menu a { display: block; padding: 9px 18px; color: var(--text); font-size: .92rem; font-weight: 500; }
.nav-menu a:hover { background: var(--tint); color: var(--blue-dark); }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; }

/* Hero */
.hero {
  background:
    radial-gradient(900px 480px at 85% 0%, rgba(30, 144, 255, .32), transparent 62%),
    radial-gradient(700px 420px at 0% 100%, rgba(30, 144, 255, .18), transparent 60%),
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 100% 44px,
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 44px 100%,
    var(--ink);
  color: #c4cfde;
  padding-block: clamp(56px, 8vw, 104px);
  text-align: center;
}
.hero-inner { max-width: 940px; }
.hero h1 { color: #fff; }
.hero .eyebrow { color: #7dbdff; }
.lead { font-size: 1.120rem; max-width: 42em; margin: 0 auto 28px; }

.marquee {
  overflow: hidden; margin-block: clamp(28px, 4vw, 48px);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee figure {
  margin: 0 12px; width: 200px; flex: none;
  background: #fff; border-radius: var(--radius); padding: 16px 16px 12px;
}
.marquee img { width: 100%; height: 150px; object-fit: contain; }
.marquee figcaption {
  margin-top: 10px; font-family: Sora, sans-serif; font-weight: 700; font-size: .85rem;
  letter-spacing: .1em; color: var(--ink);
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* Tagline band */
.band { background: var(--blue); color: #eaf4ff; padding-block: 40px; }
.band-row { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.band h2 { color: #fff; margin-bottom: .25em; }
.band p { margin: 0; }

/* Sections */
.section { padding-block: clamp(56px, 8vw, 104px); }
.section-head { text-align: center; max-width: 780px; margin: 0 auto clamp(32px, 5vw, 56px); }
.section-head h2::after {
  content: ""; display: block; width: 64px; height: 4px; border-radius: 2px;
  background: var(--blue); margin: 18px auto 0;
}
.section-lead { color: var(--muted); font-size: 1.050rem; margin: 18px 0 0; }
.section-tint { background: var(--tint); }
.section-dark { background: var(--ink); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .eyebrow { color: #7dbdff; }
.section-dark p { color: #a9b6c8; }

/* Capabilities */
.caps { display: grid; grid-template-columns: repeat(7, 1fr); gap: 14px; }
.cap {
  text-align: center; padding: 24px 10px; border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.cap:hover { border-color: var(--blue); transform: translateY(-3px); box-shadow: 0 20px 40px -28px rgba(10, 18, 32, .4); }
.cap svg, .card svg, .contact-card svg {
  fill: none; stroke: var(--blue); stroke-width: 1.600; stroke-linecap: round; stroke-linejoin: round;
}
.cap svg {
  width: 56px; height: 56px; padding: 14px; border-radius: 50%; background: #e8f3ff; margin: 0 auto 14px;
}
.cap h3 { font-size: .74rem; letter-spacing: .08em; margin: 0; line-height: 1.4; }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: clamp(40px, 6vw, 72px); }
.pillar { border-left: 4px solid var(--blue); padding-left: 20px; }
.pillar h3 { font-size: 1.250rem; }
.pillar p { color: var(--muted); margin: 0; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: var(--ink-2); border: 1px solid var(--ink-line); border-radius: var(--radius);
  padding: 32px 28px; text-align: center;
}
.card svg { width: 44px; height: 44px; margin: 0 auto 18px; }
.card p { margin: 0; font-size: .96rem; }
.cards-light .card { background: #fff; border-color: var(--line); border-top: 4px solid var(--blue); }
.cards-light .card p { color: var(--muted); }
.step { display: block; font-family: Sora, sans-serif; font-weight: 800; font-size: 2.400rem; color: var(--blue); line-height: 1; margin-bottom: 14px; }

/* Device filter + cards */
.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 36px; }
.tab {
  font: inherit; font-weight: 600; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em;
  padding: .75em 1.500em; border-radius: 6px; cursor: pointer;
  background: #fff; color: var(--ink); border: 1.500px solid var(--line);
  transition: background .2s, color .2s, border-color .2s;
}
.tab:hover { border-color: var(--blue); }
.tab.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: box-shadow .25s, transform .25s;
}
.product[hidden] { display: none; }
.product:hover { box-shadow: 0 24px 50px -28px rgba(10, 18, 32, .35); transform: translateY(-3px); }
.product-media {
  position: relative; background: #fff; border-bottom: 1px solid var(--line);
  height: 240px; display: flex; align-items: center; justify-content: center; padding: 20px;
}
.product-media img { max-height: 100%; width: auto; object-fit: contain; }
.badge {
  position: absolute; top: 14px; left: 14px;
  background: var(--blue); color: #fff; font-size: .7rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .1em; padding: .35em .8em; border-radius: 4px;
}
.product-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.product-body h3 { font-size: 1.500rem; margin-top: .6em; }
.product-body ul { list-style: none; padding: 0; margin: 0 0 20px; color: var(--muted); font-size: .95rem; }
.product-body li { padding-left: 24px; position: relative; margin-bottom: 6px; }
.product-body li::before { content: "✓"; position: absolute; left: 0; color: var(--blue); font-weight: 700; }
.tag {
  align-self: flex-start; font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--blue-dark); background: #e8f3ff; padding: .35em .8em; border-radius: 4px;
}
.link { margin-top: auto; font-weight: 600; font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; }
.link:hover { text-decoration: underline; }

/* Zig-zag rows */
.rows { display: grid; gap: clamp(32px, 5vw, 64px); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.row:nth-child(even) .row-media { order: 2; }
.row-media {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  height: 320px; display: flex; align-items: center; justify-content: center; gap: 12px; padding: 28px;
}
.row-media img { max-height: 100%; width: auto; object-fit: contain; }
.row-media-duo img { max-width: 47%; }
.row-copy h3 { font-size: clamp(1.250rem, 2.400vw, 1.700rem); letter-spacing: .01em; }
.row-copy p { color: var(--muted); margin-bottom: 24px; }

/* Counters */
.stats {
  background:
    radial-gradient(700px 300px at 50% 0%, rgba(30, 144, 255, .3), transparent 65%),
    var(--ink);
  padding-block: clamp(48px, 6vw, 80px);
}
.stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; text-align: center; }
.stat strong {
  display: block; font-family: Sora, sans-serif; font-weight: 800;
  font-size: clamp(2.800rem, 7vw, 4.500rem); line-height: 1; color: #fff;
}
.stat span {
  display: block; margin-top: 12px; color: #7dbdff;
  font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .14em;
}

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.400fr 1fr; gap: 32px; align-items: start; }
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 6px; font-size: .85rem; font-weight: 600; color: var(--ink); }
.form input, .form select, .form textarea {
  font: inherit; font-weight: 400; color: var(--text); width: 100%;
  padding: .75em .9em; border: 1px solid #cfd7e2; border-radius: 8px; background: #fff;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--blue); outline-offset: 0; border-color: var(--blue); }
.form .btn { justify-self: start; }
.form-note { margin: 0; font-size: .82rem; color: var(--muted); }
.contact-cards { display: grid; gap: 16px; }
.contact-card {
  display: flex; gap: 18px; align-items: flex-start;
  background: var(--tint); border-radius: var(--radius); padding: 24px;
}
.contact-card svg { width: 48px; height: 48px; flex: none; padding: 11px; border-radius: 50%; background: #fff; }
.contact-card h3 { font-size: .85rem; letter-spacing: .12em; margin-bottom: .4em; }
.contact-card a { font-weight: 600; overflow-wrap: anywhere; }
.contact-card address { color: var(--muted); font-size: .95rem; }

/* Footer */
.site-footer { background: var(--ink); color: #a9b6c8; padding-block: 64px 28px; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.500fr .8fr 1.100fr 1.200fr; gap: 40px; }
.site-footer h4 { font-size: .78rem; letter-spacing: .14em; color: #fff; margin: 0 0 16px; }
.site-footer address { line-height: 1.700; margin-top: 10px; }
.site-footer p { margin: 0 0 6px; }
.site-footer a { color: #dbe4f0; }
.site-footer a:hover { color: #fff; }
.footer-brand p { margin-top: 18px; max-width: 30em; }
.logo-footer { background: #fff; border-radius: 10px; padding: 4px 12px; display: inline-block; }
.logo-footer img { width: 170px; height: 56px; }
.social { display: inline-flex; align-items: center; gap: 10px; margin-top: 14px; font-weight: 500; }
.social svg { width: 28px; height: 28px; fill: #fff; transition: fill .2s; }
.social:hover svg { fill: #0a66c2; }
.footer-nav { display: grid; gap: 9px; }
.footer-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--ink-line); color: #8d9bb0; font-size: .85rem; }
.footer-bottom p { margin: 0; }

/* Current page in the header menu */
.nav [aria-current="page"] { color: var(--blue-dark); box-shadow: inset 0 -2px 0 var(--blue); }

/* Hero buttons */
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.btn-ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.500px rgba(255, 255, 255, .55); }
.btn-ghost:hover { background: #fff; color: var(--ink); }

/* Inner page banner */
.page-hero {
  background:
    radial-gradient(800px 320px at 90% 0%, rgba(30, 144, 255, .32), transparent 62%),
    var(--ink);
  color: #c4cfde; padding-block: clamp(44px, 6vw, 76px);
}
.page-hero h1 { color: #fff; font-size: clamp(1.800rem, 4.200vw, 2.900rem); }
.page-hero .lead { margin: 0; max-width: 40em; }
.page-hero .hero-actions { justify-content: flex-start; margin-top: 28px; }
.crumbs { font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #7dbdff; margin-bottom: 1em; }
.crumbs a { color: #c4cfde; }
.crumbs a:hover { color: #fff; }

/* Links under a section or inside a card */
.section-more { text-align: center; margin: clamp(28px, 4vw, 44px) 0 0; color: var(--muted); }
.card .link { display: inline-block; margin-top: 18px; }
.section-dark .link { color: #7dbdff; }
.pillars-flush { margin-top: 0; }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.cards-4 .card { text-align: left; padding: 28px 24px; }

/* Device category tiles */
.cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.cat {
  display: flex; flex-direction: column; color: var(--text);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 20px 24px;
  transition: box-shadow .25s, transform .25s, border-color .25s;
}
.cat:hover { border-color: var(--blue); box-shadow: 0 24px 50px -28px rgba(10, 18, 32, .35); transform: translateY(-3px); }
.cat-media { height: 170px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.cat-media img { max-height: 100%; width: auto; object-fit: contain; }
.cat p { color: var(--muted); font-size: .95rem; }
.cat .link { color: var(--blue-dark); }

/* Product detail page */
.detail { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.detail-media {
  border: 1px solid var(--line); border-radius: var(--radius);
  height: 380px; display: flex; align-items: center; justify-content: center; padding: 32px;
}
.detail-media img { max-height: 100%; width: auto; object-fit: contain; }
.detail-copy h2 { margin-top: .7em; font-size: clamp(1.300rem, 2.600vw, 1.800rem); }
.detail-copy p { color: var(--muted); }
.ticks { list-style: none; padding: 0; margin: 0 0 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; font-size: .95rem; }
.ticks li { padding-left: 24px; position: relative; }
.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--blue); font-weight: 700; }

.specs-title { margin-top: clamp(48px, 7vw, 80px); padding-bottom: 14px; border-bottom: 4px solid var(--blue); display: inline-block; }
.specs-note { color: var(--muted); margin-top: 18px; }
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 48px; margin-top: 12px; }
.specs h3 { font-size: .8rem; letter-spacing: .14em; color: var(--blue-dark); margin: 28px 0 6px; }
.specs dl { margin: 0; }
.specs dl > div { display: grid; grid-template-columns: 42% 1fr; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: .93rem; }
.specs dt { font-weight: 600; color: var(--ink); }
.specs dd { margin: 0; color: var(--muted); overflow-wrap: anywhere; }

/* Scroll reveal (only when JS is running) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s, transform .6s; }
.js .reveal.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1040px) {
  .caps { grid-template-columns: repeat(4, 1fr); }
  .products, .cats, .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; top: 76px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 6px;
    background: #fff; padding: 16px 20px 24px; border-bottom: 1px solid var(--line);
    max-height: calc(100vh - 76px); overflow-y: auto;
  }
  .nav.open { display: flex; }
  .nav .btn { align-self: flex-start; margin-top: 10px; }
  .nav-parent::after { display: none; }
  .nav-menu {
    position: static; opacity: 1; visibility: visible; transform: none;
    border: 0; border-left: 3px solid var(--blue); border-radius: 0; box-shadow: none;
    padding: 0; margin: 4px 0 8px; min-width: 0;
  }
  .contact-grid, .row, .detail, .specs { grid-template-columns: 1fr; }
  .detail-media { height: 280px; }
  .row:nth-child(even) .row-media { order: 0; }
  .row-media { height: 260px; }
  .cards, .pillars { grid-template-columns: 1fr; }
  .nav [aria-current="page"] { box-shadow: none; }
}
@media (max-width: 600px) {
  .caps { grid-template-columns: repeat(2, 1fr); }
  .products, .cats, .cards-4, .form-row, .footer-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr; gap: 36px; }
  .ticks { grid-template-columns: 1fr; }
  .marquee figure { width: 160px; }
  .marquee img { height: 120px; }
  .band-row { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
  .marquee { overflow-x: auto; }
  .marquee-track { animation: none; }
  .js .reveal { opacity: 1; transform: none; }
}
