:root {
  --navy: #0b1f2e;
  --navy-2: #0f2a3d;
  --ink: #183245;
  --muted: #5d7385;
  --line: #e2eaf0;
  --tint: #f3f7fa;
  --teal: #4fe0c2;
  --teal-dark: #0f8f7c;
  --warm: #ffb54d;
  --red: #ff6b6b;
  --radius: 14px;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: #fff;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; line-height: 1.55; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { line-height: 1.1; margin: 0; letter-spacing: -0.02em; }
h2 { font-size: clamp(30px, 4.2vw, 50px); font-weight: 800; margin-bottom: 18px; }
h3 { font-size: 20px; }
h4 { font-size: 16px; margin-bottom: 6px; }
.eyebrow { font-size: 12px; letter-spacing: 0.16em; font-weight: 700; color: var(--teal); margin: 0 0 14px; }
.eyebrow.dark { color: var(--teal-dark); }
.sub { font-size: 18px; color: var(--muted); max-width: 640px; margin: 0 0 32px; }
.sub.light { color: #b9cbd8; }
.note { font-size: 12px; color: #8aa2b3; }

/* buttons */
.btn, .btn-outline, .ghost { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; font-weight: 700; border-radius: 10px; transition: transform .15s, background .15s; }
.btn { background: var(--teal); color: #052a24; padding: 11px 18px; border: 0; cursor: pointer; font: inherit; font-weight: 700; }
.btn:hover { transform: translateY(-1px); background: #6ff0d6; }
.btn-outline { border: 1.5px solid #ffffff66; color: #fff; padding: 11px 18px; }
.btn-outline:hover { background: #ffffff14; }
.big { padding: 15px 24px; font-size: 16px; }
.wide { width: 100%; }
.ghost { color: #dbe7ef; padding: 10px 14px; }
.link { color: var(--teal-dark); font-weight: 700; text-decoration: none; }

/* nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 20; display: flex; align-items: center; gap: 24px; padding: 14px clamp(16px, 4vw, 48px); background: #0b1f2ecc; backdrop-filter: blur(10px); }
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.brand img { height: 40px; width: auto; background: #fff; border-radius: 8px; padding: 3px 6px; }
.brand span { color: var(--teal); font-weight: 800; letter-spacing: .08em; }
.nav nav { display: flex; gap: 22px; margin-left: auto; }
.nav nav a { color: #c9d8e3; text-decoration: none; font-size: 14px; font-weight: 500; }
.nav nav a:hover { color: #fff; }
.nav-cta { display: flex; gap: 6px; align-items: center; }
.menu { display: none; margin-left: auto; background: none; border: 0; color: #fff; font-size: 24px; cursor: pointer; }

/* hero */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; color: #fff; overflow: hidden; background: var(--navy); }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(100deg, #071824f2 15%, #0718249c 55%, #07182440); }
.hero-inner { position: relative; padding: 120px clamp(16px, 6vw, 96px) 80px; max-width: 1000px; }
.hero h1 { font-size: clamp(40px, 5.6vw, 74px); font-weight: 800; margin-bottom: 22px; }
.hero h1 span { color: var(--teal); }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: #d3e1ea; max-width: 660px; margin: 0 0 30px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-points { display: flex; gap: 22px; flex-wrap: wrap; list-style: none; padding: 0; margin: 26px 0 0; color: #a9c0cf; font-size: 14px; }
.hero-points li::before { content: "✓ "; color: var(--teal); font-weight: 800; }

/* strip */
.strip { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--navy-2); color: #fff; }
.strip div { padding: 28px clamp(16px, 3vw, 36px); border-right: 1px solid #ffffff14; }
.strip strong { display: block; font-size: 34px; color: var(--teal); font-weight: 800; }
.strip span { color: #b7c9d6; font-size: 14px; }

/* sections */
.section { padding: clamp(64px, 9vw, 120px) clamp(16px, 6vw, 96px); }
.section.dark { background: var(--navy); color: #fff; }
.section.tint { background: var(--tint); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.checks { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 10px; }
.checks li::before { content: "●"; color: var(--teal); margin-right: 10px; font-size: 10px; vertical-align: 2px; }
.checks.light { color: #d5e3ec; }

/* fit */
.fit-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.fit { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 12px; transition: border-color .2s, box-shadow .2s, transform .2s; }
.fit:hover { border-color: var(--teal-dark); box-shadow: 0 12px 30px #0b1f2e14; transform: translateY(-3px); }
.fit-icon { font-size: 30px; }
.fit ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: 14px; display: grid; gap: 4px; flex: 1; }
.tags { font-size: 12px; color: var(--teal-dark); font-weight: 600; margin: 0; }

/* tower */
.tower { background: #071722; border: 1px solid #1d3b50; border-radius: 18px; padding: 14px; box-shadow: 0 30px 60px #00000055; }
.tower-head { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; margin-bottom: 10px; }
.tower-head em { color: #7f99ab; font-style: normal; font-weight: 400; }
.clock { margin-left: auto; font-variant-numeric: tabular-nums; color: #8fb0c4; }
.dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.dot.live { background: var(--teal); box-shadow: 0 0 0 0 #4fe0c299; animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px #4fe0c200; } 100% { box-shadow: 0 0 0 0 #4fe0c200; } }
.map { width: 100%; height: auto; }
.road { fill: none; stroke: #2a5574; stroke-width: 3; stroke-dasharray: 6 6; }
.city circle { fill: #8fb0c4; }
.city text { fill: #8fb0c4; font-size: 11px; }
.truck circle { stroke: #071722; stroke-width: 2; }
.truck text { fill: #fff; font-size: 10px; font-weight: 700; }
.feed { margin-top: 10px; display: grid; gap: 6px; max-height: 150px; overflow: hidden; }
.alert { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; padding: 8px 10px; border-radius: 9px; background: #0f2a3d; animation: slide .4s ease-out; }
.alert b { white-space: nowrap; }
.alert.warn b { color: var(--warm); }
.alert.bad b { color: var(--red); }
.alert.ok b { color: var(--teal); }
@keyframes slide { from { opacity: 0; transform: translateY(-6px); } }

/* chat */
.chat { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: 0 24px 50px #0b1f2e14; background: #fff; }
.chat-head { padding: 14px 16px; border-bottom: 1px solid var(--line); font-weight: 700; display: flex; align-items: center; gap: 8px; }
.chat-head em { color: var(--muted); font-style: normal; font-weight: 400; font-size: 13px; }
.ai-badge { background: var(--navy); color: var(--teal); font-size: 11px; padding: 3px 7px; border-radius: 6px; }
.chat-body { padding: 16px; display: flex; flex-direction: column; gap: 10px; min-height: 290px; max-height: 340px; overflow-y: auto; background: var(--tint); }
.msg { max-width: 88%; padding: 10px 13px; border-radius: 12px; font-size: 14px; animation: slide .3s ease-out; }
.msg.bot { background: #fff; border: 1px solid var(--line); align-self: flex-start; }
.msg.me { background: var(--navy); color: #fff; align-self: flex-end; }
.msg table { border-collapse: collapse; margin-top: 6px; font-size: 13px; }
.msg td { padding: 3px 10px 3px 0; border-bottom: 1px solid var(--line); }
.msg .how { display: block; margin-top: 6px; font-size: 11px; color: var(--muted); }
.typing { color: var(--muted); font-style: italic; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 16px; }
.chips button { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 7px 12px; font: inherit; font-size: 13px; cursor: pointer; color: var(--ink); }
.chips button:hover { border-color: var(--teal-dark); color: var(--teal-dark); }
.ai-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 26px; }
.ai-grid p { margin: 0; color: var(--muted); font-size: 14px; }
.split.reverse > :first-child { order: 0; }

/* journey */
.journey { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: s; }
.journey li { background: #fff; border-radius: var(--radius); padding: 22px; border: 1px solid var(--line); }
.journey span { color: var(--teal-dark); font-weight: 800; font-size: 13px; }
.journey h4 { margin-top: 8px; font-size: 18px; }
.journey p { margin: 0; color: var(--muted); font-size: 14px; }

/* modules */
.modules { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.modules div { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.modules p { margin: 0; color: var(--muted); font-size: 14px; }
.modules .mobile-card { background: var(--navy); color: #fff; border-color: var(--navy); }
.modules .mobile-card p { color: #b9cbd8; }

/* industries */
.industries { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.industries figure { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5; }
.industries img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.industries figure:hover img { transform: scale(1.05); }
.industries figcaption { position: absolute; inset: auto 0 0; padding: 40px 16px 14px; color: #fff; font-weight: 700; background: linear-gradient(transparent, #071824dd); }

/* steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.steps div { padding: 24px; border-radius: var(--radius); background: var(--tint); }
.steps span { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: var(--teal); font-weight: 800; margin-bottom: 12px; }
.steps p { margin: 0; color: var(--muted); font-size: 14px; }

/* form */
.contact { list-style: none; padding: 0; display: grid; gap: 10px; }
.contact a { color: #dbe7ef; text-decoration: none; font-weight: 600; }
.contact a:hover { color: var(--teal); }
.trial-form { background: #fff; color: var(--ink); border-radius: 18px; padding: clamp(20px, 3vw, 32px); display: grid; gap: 14px; box-shadow: 0 30px 60px #00000044; }
.trial-form label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: #3d566a; }
.trial-form input, .trial-form select, .trial-form textarea { font: inherit; font-size: 15px; padding: 11px 12px; border: 1px solid #cfdbe4; border-radius: 9px; color: var(--ink); background: #fff; width: 100%; }
.trial-form input:focus, .trial-form select:focus, .trial-form textarea:focus { outline: 2px solid var(--teal); border-color: transparent; }
.trial-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.opt { color: var(--muted); font-weight: 400; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { margin: 0; font-size: 14px; font-weight: 600; min-height: 1em; }
.form-msg.ok { color: var(--teal-dark); }
.form-msg.err { color: #c0392b; }
.fine { margin: 0; font-size: 12px; color: var(--muted); }

/* footer */
.footer { background: #071722; color: #9fb5c4; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 24px; padding: 48px clamp(16px, 6vw, 96px) 24px; font-size: 14px; }
.footer img { background: #fff; border-radius: 8px; padding: 3px 6px; height: 36px; width: auto; margin-bottom: 10px; }
.footer h5 { color: #fff; margin: 0 0 10px; font-size: 14px; }
.footer a { display: block; text-decoration: none; margin-bottom: 6px; }
.footer a:hover { color: var(--teal); }
.copy { grid-column: 1 / -1; border-top: 1px solid #ffffff14; padding-top: 18px; margin: 0; font-size: 12px; }

/* responsive */
@media (max-width: 1100px) {
  .fit-grid, .modules, .steps { grid-template-columns: repeat(2, 1fr); }
  .journey { grid-template-columns: repeat(2, 1fr); }
  .industries { grid-template-columns: repeat(2, 1fr); }
  .nav nav a:nth-child(n+4) { display: none; }
}
@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 2; }
  .strip { grid-template-columns: 1fr 1fr; }
  .nav nav, .nav-cta .ghost { display: none; }
  .menu { display: block; }
  .nav.open nav { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--navy); padding: 16px; gap: 14px; }
  .nav.open nav a { display: block !important; }
  .nav-cta { margin-left: auto; }
  .menu { margin-left: 0; }
}
@media (max-width: 560px) {
  .fit-grid, .modules, .steps, .journey, .ai-grid, .trial-form .row { grid-template-columns: 1fr; }
  .industries { grid-template-columns: 1fr 1fr; }
  .footer { grid-template-columns: 1fr; }
  .nav-cta .btn { padding: 9px 12px; font-size: 13px; }
  .brand img { height: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .hero-video { display: none; }
}

/* products menu (nav) */
.products-btn { display: inline-flex; align-items: center; gap: 7px; background: #ffffff14; border: 1px solid #ffffff26; color: #fff; border-radius: 9px; padding: 7px 12px; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.products-btn svg { fill: var(--teal); }
.products-btn[aria-expanded="true"] { background: #ffffff26; }
.products-btn[aria-expanded="true"] .caret { display: inline-block; transform: rotate(180deg); }
.caret { font-size: 10px; color: #9fb5c4; }
.nav nav { align-items: center; }
.products-menu { position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%); width: min(980px, calc(100vw - 32px)); background: #fff; color: var(--ink); border-radius: 16px; box-shadow: 0 30px 70px #00000055; padding: 20px; z-index: 30; }
.products-menu[hidden] { display: none; }
.pm-title { margin: 0 0 14px; font-size: 12px; letter-spacing: .14em; font-weight: 700; color: var(--teal-dark); }
.pm-title span { letter-spacing: 0; font-weight: 400; color: var(--muted); margin-left: 8px; }
.pm-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.pm-item { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 10px; text-decoration: none; }
.pm-item:hover { background: var(--tint); }
.pm-item b { display: block; font-size: 14px; }
.pm-item small { color: var(--muted); font-size: 12px; }
.pt-icon { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--navy); font-size: 18px; flex-shrink: 0; }

/* products section */
.product-tiles { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin-bottom: 18px; }
.product-tile { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; font: inherit; color: var(--ink); text-align: left; transition: border-color .2s, box-shadow .2s; }
.product-tile small { font-size: 9px; letter-spacing: .14em; color: var(--muted); margin-top: 6px; }
.product-tile b { font-size: 14px; }
.product-tile:hover { border-color: var(--teal-dark); }
.product-tile.on { border-color: var(--navy); background: var(--navy); color: #fff; box-shadow: 0 12px 30px #0b1f2e22; }
.product-tile.on small { color: var(--teal); }
.product-detail { display: grid; grid-template-columns: 120px 1fr; gap: 24px; align-items: start; border-radius: 18px; padding: clamp(20px, 3vw, 36px); background: var(--tint); }
.product-detail h3 { font-size: clamp(22px, 2.6vw, 32px); margin-bottom: 10px; }
.product-detail p { color: var(--muted); max-width: 680px; }
.pd-icon { width: 120px; height: 120px; border-radius: 24px; background: var(--navy); display: grid; place-items: center; font-size: 54px; }
.product-detail .checks li::before { color: var(--teal-dark); }
.signin-note { margin: 0; font-size: 13px; color: var(--muted); text-align: center; }
.signin-note a { color: var(--teal-dark); font-weight: 600; }
@media (max-width: 1100px) { .product-tiles { grid-template-columns: repeat(4, 1fr); } .pm-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 820px) {
  .products-menu { position: fixed; top: 64px; max-height: calc(100vh - 80px); overflow-y: auto; }
  .nav.open .products-btn { align-self: flex-start; }
}
@media (max-width: 560px) {
  .product-tiles { grid-template-columns: repeat(2, 1fr); }
  .product-detail { grid-template-columns: 1fr; }
  .pd-icon { width: 72px; height: 72px; font-size: 34px; border-radius: 16px; }
  .pm-grid { grid-template-columns: 1fr; }
}
