/* FleetAsset360 brand and website design system.
   Navy for trust, teal for live signal, amber for the one thing that needs attention. */
:root {
  --navy: #0B1F3A; --navy-2: #13294B; --ink: #0F172A; --muted: #51607A; --line: #E3E8F0; --paper: #FFFFFF; --mist: #F4F7FB;
  --teal: #0E9F90; --teal-bright: #2DD4BF; --teal-soft: #E6F7F5; --amber: #F59E0B; --red: #DC2626;
  --radius: 14px; --shadow: 0 1px 2px rgb(15 23 42 / .06), 0 8px 24px rgb(15 23 42 / .06);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif; --display: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 16px/1.6 var(--font); color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; display: block; }
a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.02em; line-height: 1.15; margin: 0 0 .5em; color: var(--navy); }
h1 { font-size: clamp(34px, 5.2vw, 58px); font-weight: 800; }
h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; }
h3 { font-size: 19px; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); margin-bottom: 12px; }
.lead { font-size: clamp(17px, 2vw, 20px); color: var(--muted); max-width: 640px; }
.muted { color: var(--muted); }
.center { text-align: center; } .center .lead { margin-inline: auto; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border-radius: 11px; font: 600 15px/1 var(--font); border: 0; cursor: pointer; transition: transform .12s, box-shadow .12s, background .12s; text-decoration: none !important; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--teal); color: #fff; box-shadow: 0 6px 18px rgb(14 159 144 / .28); }
.btn-primary:hover { background: #0B8A7D; }
.btn-dark { background: var(--navy); color: #fff; }
.btn-ghost { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--navy); }
.btn-light { background: #fff; color: var(--navy); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* header */
.site-head { position: sticky; top: 0; z-index: 50; background: rgb(255 255 255 / .92); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.site-head .logo img { height: 34px; width: auto; }
.nav { display: flex; gap: 24px; margin-left: 8px; }
.nav a { color: var(--ink); font-weight: 500; font-size: 15px; }
.nav a[aria-current="page"] { color: var(--teal); }
.head-cta { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.head-cta .signin { color: var(--navy); font-weight: 600; font-size: 15px; padding: 10px 6px; }
.menu-btn { display: none; margin-left: auto; background: none; border: 0; padding: 8px; cursor: pointer; }
.menu-btn span { display: block; width: 22px; height: 2px; background: var(--navy); margin: 5px 0; border-radius: 2px; }
@media (max-width: 900px) {
  .nav, .head-cta { display: none; }
  .menu-btn { display: block; }
  .site-head.open .nav, .site-head.open .head-cta { display: flex; }
  .site-head.open .wrap { flex-wrap: wrap; height: auto; padding: 14px 0; }
  .site-head.open .nav { flex-direction: column; width: 100%; gap: 4px; margin: 8px 0 0; }
  .site-head.open .nav a { padding: 10px 0; border-bottom: 1px solid var(--line); }
  .site-head.open .head-cta { width: 100%; margin: 8px 0 6px; }
  .site-head.open .head-cta .btn { flex: 1; }
}

/* sections */
section { padding: clamp(56px, 8vw, 96px) 0; }
.band { background: var(--mist); }
.dark { background: var(--navy); color: #C9D5E6; }
.dark h1, .dark h2, .dark h3 { color: #fff; }
.dark .lead, .dark .muted { color: #A9B8CF; }
.grid { display: grid; gap: 22px; }
.g2 { grid-template-columns: repeat(2, 1fr); } .g3 { grid-template-columns: repeat(3, 1fr); } .g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .g3, .g4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.card h3 { margin-top: 14px; }
.icon { width: 44px; height: 44px; border-radius: 12px; background: var(--teal-soft); color: var(--teal); display: grid; place-items: center; }
.icon svg { width: 22px; height: 22px; }

/* hero */
.hero { padding: clamp(48px, 7vw, 88px) 0 clamp(40px, 6vw, 72px); background: radial-gradient(900px 420px at 85% 0%, #E1F5F2 0%, transparent 60%), linear-gradient(#fff, #fff); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero .lead { margin-bottom: 28px; }
.hero-note { margin-top: 14px; font-size: 14px; color: var(--muted); }
@media (max-width: 960px) { .hero .wrap { grid-template-columns: 1fr; } }

/* the product picture: a drawn dashboard, not a stock photo */
.screen { background: var(--navy); border-radius: 18px; padding: 14px; box-shadow: 0 30px 70px rgb(11 31 58 / .28); }
.screen-bar { display: flex; gap: 6px; padding: 2px 4px 12px; } .screen-bar i { width: 9px; height: 9px; border-radius: 50%; background: #2B4266; }
.screen-body { background: #F4F7FB; border-radius: 11px; padding: 14px; display: grid; gap: 12px; grid-template-columns: repeat(3, 1fr); }
.tile { background: #fff; border-radius: 10px; padding: 12px; border: 1px solid var(--line); }
.tile b { display: block; font: 800 22px/1.1 var(--display); color: var(--navy); }
.tile small { font-size: 11px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.tile.wide { grid-column: span 3; }
.map { height: 150px; border-radius: 8px; background: linear-gradient(135deg, #E8EFE9 0%, #DCE8F0 100%); position: relative; overflow: hidden; }
.map::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(#ffffff80 1px, transparent 1px), linear-gradient(90deg, #ffffff80 1px, transparent 1px); background-size: 28px 28px; }
.pin { position: absolute; width: 14px; height: 14px; border-radius: 4px; border: 2px solid #fff; box-shadow: 0 2px 6px rgb(0 0 0 / .25); }
.pin.on { background: #16A34A; } .pin.off { background: var(--red); } .pin.idle { background: var(--amber); }
.bar { height: 7px; border-radius: 4px; background: #E3E8F0; overflow: hidden; margin-top: 8px; } .bar span { display: block; height: 100%; background: var(--teal); }
.bar.over span { background: var(--red); }
.row { display: flex; justify-content: space-between; font-size: 12px; color: var(--ink); margin-top: 8px; }
.chip { display: inline-block; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 99px; background: var(--teal-soft); color: var(--teal); }
.chip.amber { background: #FEF3C7; color: #92400E; } .chip.red { background: #FEE2E2; color: #991B1B; }

/* lists, steps */
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checks li { padding-left: 30px; position: relative; }
.checks li::before { content: ''; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--teal-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%230E9F90' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.steps { counter-reset: s; display: grid; gap: 18px; }
.step { counter-increment: s; position: relative; padding-left: 58px; }
.step::before { content: counter(s); position: absolute; left: 0; top: 0; width: 40px; height: 40px; border-radius: 12px; background: var(--navy); color: #fff; font: 800 17px/40px var(--display); text-align: center; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 32px; } }

/* pricing */
.toggle { display: inline-flex; padding: 4px; background: var(--mist); border: 1px solid var(--line); border-radius: 12px; margin: 8px 0 34px; }
.toggle button { border: 0; background: none; padding: 10px 18px; border-radius: 9px; font: 600 14px var(--font); color: var(--muted); cursor: pointer; }
.toggle button[aria-pressed="true"] { background: #fff; color: var(--navy); box-shadow: var(--shadow); }
.plan { display: flex; flex-direction: column; gap: 14px; text-align: left; }
.plan.featured { border: 2px solid var(--teal); position: relative; }
.plan.featured::before { content: 'Most chosen'; position: absolute; top: -12px; left: 24px; background: var(--teal); color: #fff; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 99px; }
.price { font: 800 40px/1 var(--display); color: var(--navy); } .price small { font: 500 15px var(--font); color: var(--muted); }
.plan .btn { margin-top: auto; }
.plan .checks { font-size: 14.5px; }

/* faq */
details { border-bottom: 1px solid var(--line); padding: 18px 0; }
summary { cursor: pointer; font-weight: 600; font-size: 17px; color: var(--navy); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::after { content: '+'; font-size: 22px; line-height: 1; color: var(--teal); }
details[open] summary::after { content: '–'; }
details p { margin: 12px 0 0; color: var(--muted); }

/* forms */
.form { display: grid; gap: 14px; }
.form label { font-size: 13px; font-weight: 600; color: var(--muted); display: grid; gap: 6px; }
.form input, .form select, .form textarea { font: 16px var(--font); padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); width: 100%; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--teal); border-color: transparent; }
.form .hp { position: absolute; left: -9999px; }
.note { padding: 12px 14px; border-radius: 10px; font-size: 14px; }
.note.ok { background: var(--teal-soft); color: #065F55; } .note.err { background: #FEE2E2; color: #991B1B; }

/* legal pages */
.legal { max-width: 780px; } .legal h2 { font-size: 22px; margin-top: 34px; } .legal p, .legal li { color: #334155; }

/* footer */
.site-foot { background: var(--navy); color: #A9B8CF; padding: 56px 0 30px; font-size: 14px; }
.site-foot .cols { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.site-foot h4 { color: #fff; font-size: 14px; margin: 0 0 12px; }
.site-foot a { color: #C9D5E6; display: block; padding: 4px 0; }
.site-foot .base { border-top: 1px solid #22385C; margin-top: 40px; padding-top: 22px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; }
.site-foot img { height: 34px; width: auto; }
@media (max-width: 760px) { .site-foot .cols { grid-template-columns: 1fr 1fr; } }
:focus-visible { outline: 3px solid var(--teal-bright); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* app store style buttons and the phone drawn in CSS */
.store-row { margin-top: 6px; }
.store { display: inline-flex; align-items: center; gap: 10px; background: var(--navy); color: #fff; padding: 10px 18px 10px 14px; border-radius: 12px; text-decoration: none !important; min-width: 168px; }
.store svg { width: 26px; height: 26px; }
.store span { display: flex; flex-direction: column; font: 700 17px/1.1 var(--display); }
.store small { font: 500 11px var(--font); opacity: .8; }
.store:hover { background: var(--navy-2); }
.phone { width: 270px; margin-inline: auto; background: #0B1F3A; border-radius: 40px; padding: 12px; box-shadow: 0 30px 70px rgb(11 31 58 / .3); position: relative; }
.phone-notch { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); width: 84px; height: 20px; background: #0B1F3A; border-radius: 12px; z-index: 2; }
.phone-screen { background: #F4F7FB; border-radius: 30px; padding: 44px 14px 12px; display: grid; gap: 10px; min-height: 500px; align-content: start; }
.ph-top small { color: var(--muted); font-size: 12px; } .ph-top b { display: block; font: 800 19px var(--display); color: var(--navy); }
.ph-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px; }
.ph-card small { font-size: 11px; color: var(--muted); font-weight: 600; }
.ph-row { display: flex; gap: 6px; margin-top: 8px; }
.ph-k { flex: 1; background: var(--mist); border-radius: 10px; padding: 8px; font: 800 20px var(--display); }
.ph-k i { display: block; font: 600 10px var(--font); color: var(--muted); font-style: normal; }
.ph-k.on { color: #16A34A; } .ph-k.off { color: var(--red); } .ph-k.nr { color: #64748B; }
.ph-line { font-size: 13px; margin-top: 7px; color: var(--ink); } .ph-line b { font-weight: 800; margin-right: 4px; }
.ph-line .amber { color: #B45309; } .ph-line .red { color: var(--red); }
.ph-tabs { display: flex; justify-content: space-around; background: #fff; border-radius: 14px; padding: 10px 4px; font-size: 11px; color: var(--muted); font-weight: 600; margin-top: auto; }
.ph-tabs .on { color: var(--teal); }
