/* cargotrue.com home page. Brand: blue #1D64D8 for actions and live, green #0B7A52 only for done/verified, navy #0B1A33. */
:root { --navy: #0b1a33; --navy-2: #071226; --sky: #e8f0fd; --mint: #3dd68c; --sky-blue: #7fb0ff; --blue: #1d64d8; --blue-2: #1752b8; --shadow: 0 1px 2px rgba(11, 26, 51, .06), 0 12px 32px rgba(11, 26, 51, .10); }
@media (prefers-color-scheme: dark) { :root { --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 12px 32px rgba(0, 0, 0, .45); } }

main.full { flex: 1; width: 100%; }
body[data-page="home"] .wrap, body[data-page="pricing"] .wrap { max-width: 1160px; padding-left: 20px; padding-right: 20px; }
.ico { width: 22px; height: 22px; flex: none; }

/* Buttons */
.btn.big { min-height: 52px; padding: 0 24px; border-radius: 12px; font-size: 16px; }
.btn.big .ico { width: 18px; height: 18px; }
.btn.light { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .28); color: #fff; }
.btn.light:hover { background: rgba(255, 255, 255, .14); }
.btn.white { background: #fff; border-color: #fff; color: var(--blue); }
.btn.outline-white { background: transparent; border-color: rgba(255, 255, 255, .6); color: #fff; }

/* Hero */
main.full .hero {
  position: relative; isolation: isolate; padding: 72px 20px 96px; color: #fff; text-align: center; overflow: hidden;
  background:
    radial-gradient(900px 420px at 50% -60px, rgba(29, 100, 216, .55), transparent 70%),
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(180deg, var(--navy-2), var(--navy));
}
/* The page colour starts halfway down the product shot, whatever the screen width. */
.shot::before { content: ""; position: absolute; z-index: -1; left: -100vw; right: -100vw; top: 55%; bottom: -260px; background: var(--bg); }
.hero-in { max-width: 860px; margin: 0 auto; }
.pill { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 22px; padding: 6px 14px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; background: rgba(255, 255, 255, .06); font-size: 14px; color: #dbe6fb; }
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sky-blue); box-shadow: 0 0 0 4px rgba(127, 176, 255, .2); }
main.full .hero h1 { font-size: clamp(36px, 6.2vw, 64px); line-height: 1.04; letter-spacing: -0.025em; margin: 0 0 20px; color: #fff; max-width: none; }
.hero h1 span { color: var(--mint); }
.hero-lead { font-size: clamp(17px, 2vw, 19px); line-height: 1.6; color: #c9d6ee; max-width: 720px; margin: 0 auto 28px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.chips { list-style: none; padding: 0; margin: 26px auto 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; font-size: 14.5px; color: #dbe6fb; }
.chips li { display: flex; align-items: center; gap: 7px; }
.chips .ico { width: 14px; height: 14px; color: #7fb0ff; }
.hero-note { margin: 16px auto 0; font-size: 14px; color: #9fb3d6; }
.shot-cap { position: relative; margin: 36px auto -40px; max-width: 1080px; font-size: 13px; color: var(--muted); text-align: center; }

.shot { position: relative; max-width: 1080px; margin: 56px auto 0; padding-bottom: 8px; }
.phone { position: relative; border-radius: 34px; padding: 9px; background: #0d1626; box-shadow: var(--shadow), 0 0 0 1px rgba(255, 255, 255, .06) inset; }
.phone img { display: block; width: 100%; height: auto; border-radius: 26px; background: #f4f7fb; }
.st { width: 30px; height: 30px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; flex: none; font-weight: 800; font-size: 15px; }
.st .ico { width: 17px; height: 17px; stroke-width: 2.4; }
.st.ok { background: #e6f4ee; color: #0b7a52; }
.st.no { background: #fde8e4; color: #b42318; }

/* The hero's moving picture (public/hero.js): one sample load on a close-up city map, in four steps a child could
   follow: the driver taps Accept, the truck moves live, GPS marks the arrival (the customer sees it), the phone is
   checked. 16 s a round, two rounds, with a pause button. Without the script, or with reduced motion: the finished
   picture and the four steps. */
.sx { position: relative; text-align: left; color: var(--navy); background: #fff; border-radius: 20px; padding: 20px 20px 22px; box-shadow: 0 2px 6px rgba(3, 10, 25, .12), 0 28px 56px -18px rgba(3, 10, 25, .38), 0 0 0 1px rgba(11, 26, 51, .08); }
.sx-head { display: flex; gap: 14px; align-items: flex-start; margin: 0 0 16px; }
.sx-steps { flex: 1; min-width: 0; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.sx-steps li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 10px; align-items: start; font-size: 15.5px; line-height: 1.35; font-weight: 600; color: var(--navy); transition: opacity .3s; }
.sx-bar { grid-column: 1 / -1; display: block; height: 5px; border-radius: 3px; background: #e3e8ef; overflow: hidden; }
.sx-bar i { display: block; height: 100%; width: 100%; background: var(--blue); transform-origin: 0 50%; }
.sx-steps b { width: 28px; height: 28px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; background: var(--blue); color: #fff; }
.sx.anim .sx-steps li { opacity: .7; }
.sx.anim .sx-steps li.done { opacity: .8; }
.sx.anim .sx-steps li.on { opacity: 1; }
.sx.anim .sx-steps li:not(.on) b { background: #e8effc; color: var(--blue); }
.sx.anim .sx-steps li.done b { background: #e6f4ee; color: #0b7a52; }
.sx-cap { display: none; }
/* Pause, play, play again (hero.js). Only there while the script runs. */
.sx-ctl { display: none; flex: none; align-items: center; justify-content: center; width: 36px; height: 36px; padding: 0; border-radius: 50%; border: 1px solid #cfd8e3; background: #fff; color: var(--navy); cursor: pointer; }
.sx.anim .sx-ctl { display: inline-flex; }
.sx-ctl:hover { border-color: var(--blue); color: var(--blue); }
.sx-ctl:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.sx-ctl svg { width: 16px; height: 16px; }
.sx-i-pause, .sx-i-play { fill: currentColor; }
.sx-i-again { fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.sx-i-play, .sx-i-again, .sx-ctl[data-state="paused"] .sx-i-pause, .sx-ctl[data-state="ended"] .sx-i-pause { display: none; }
.sx-ctl[data-state="paused"] .sx-i-play, .sx-ctl[data-state="ended"] .sx-i-again { display: inline; }
.sx-stage { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 236px; gap: 22px; align-items: center; }
.sx-map, .sx-phone { display: block; width: 100%; height: auto; font-family: inherit; }
.sx-map { border-radius: 14px; }
.sx-phone { filter: drop-shadow(0 18px 24px rgba(3, 10, 25, .28)); }

/* The map: land, water, parks, streets, the interstate. */
.sx-river { fill: none; stroke: #c9def3; stroke-width: 34; }
.sx-water { fill: #c9def3; }
.sx-park { fill: #d5ebd6; }
.sx-st { fill: none; stroke: #fff; stroke-width: 6; }
.sx-art { fill: none; stroke: #fff; stroke-width: 11; }
.sx-hw-c { fill: none; stroke: #e2b84f; stroke-width: 18; stroke-linecap: round; stroke-linejoin: round; }
.sx-hw { fill: none; stroke: #f9dc8a; stroke-width: 13; stroke-linecap: round; stroke-linejoin: round; }
.sx-shield path { fill: #1d64d8; stroke: #fff; stroke-width: 2.5; }
.sx-shield text { fill: #fff; font-size: 15px; font-weight: 800; text-anchor: middle; }
.sx-scale { fill: #6b7685; font-size: 14px; font-weight: 600; text-anchor: end; }
.sx-scale-l { fill: none; stroke: #6b7685; stroke-width: 2.5; }
.sx-route { fill: none; stroke: #1d64d8; stroke-opacity: .38; stroke-width: 6; stroke-dasharray: 2 12; stroke-linecap: round; stroke-linejoin: round; }
.sx-trail { fill: none; stroke: #1d64d8; stroke-width: 8; stroke-linecap: round; stroke-linejoin: round; }
.sx-tag rect { fill: #fff; stroke: rgba(11, 26, 51, .12); }
.sx-tag text { fill: #0b1a33; font-size: 16px; font-weight: 700; text-anchor: middle; }
.sx-pu .sx-ring { fill: none; stroke: #1d64d8; stroke-width: 3; opacity: 0; }
.sx-pu-a { fill: #fff; stroke: #1d64d8; stroke-width: 5; display: none; }
.sx-pu-b circle { fill: #0b7a52; stroke: #fff; stroke-width: 3; }
.sx-pu-b path, .sx-pin-ok, .sx-done path, .sx-chk path, .sx-shield-ck, .sx-p-ck path { fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.sx-van { display: none; }
.sx-van circle:not(.sx-wheel) { fill: #1d64d8; stroke: #fff; stroke-width: 4; }
.sx-wedge { fill: #1d64d8; stroke: #fff; stroke-width: 2.5; stroke-linejoin: round; }
.sx-glyph, .sx-wheel { fill: #fff; }
.sx-pin { fill: #0b1a33; stroke: #fff; stroke-width: 3; }
.sx-pin-g { fill: #0b7a52; stroke: #fff; stroke-width: 3; }
.sx-pin-dot { fill: #fff; display: none; }
.sx-burst { fill: none; stroke: #0b7a52; stroke-width: 5; opacity: 0; }

/* Cards on the map. */
.sx-stats rect, .sx-cust rect, .sx-real > rect { fill: #fff; }
.sx-big { fill: #0b1a33; font-size: 27px; font-weight: 800; letter-spacing: -.01em; }
.sx-mid { fill: #0b1a33; font-size: 21px; font-weight: 800; }
.sx-small { fill: #5b6675; font-size: 14.5px; font-weight: 500; }
.sx-pill text { font-size: 14px; font-weight: 700; text-anchor: middle; }
.sx-pill-sent rect { fill: #eef1f5; } .sx-pill-sent text { fill: #5b6675; }
.sx-pill-live rect { fill: #e8effc; } .sx-pill-live text { fill: #1d64d8; }
.sx-move { display: none; }
.sx-done circle { fill: #0b7a52; }
.sx-cust circle { fill: #e8effc; }
.sx-cust path { fill: none; stroke: #1d64d8; stroke-width: 2.4; stroke-linecap: round; }
.sx-dim { fill: #0b1a33; opacity: 0; }
/* The cards that pop in grow from their middle; on phones two of them are drawn bigger (see the 640 px block). */
.sx-cust, .sx-real, .sx-chk, .sx-stats { transform-box: fill-box; transform-origin: 50% 50%; }
.sx-shield-ok { fill: #0b7a52; }
.sx-title { fill: #0b1a33; font-size: 27px; font-weight: 800; letter-spacing: -.01em; }
.sx-chk circle { fill: #0b7a52; }
.sx-chk text { fill: #0b1a33; font-size: 18px; font-weight: 600; }

/* The driver's phone. */
.sx-body { fill: #0d1626; }
.sx-screen { fill: #f4f7fb; }
.sx-notch { fill: #1f2a3d; }
.sx-offer { opacity: 0; }
.sx-p-title { fill: #0b1a33; font-size: 22px; font-weight: 800; }
.sx-p-sub { fill: #5b6675; font-size: 15px; }
.sx-card { fill: #fff; stroke: #e3e8ef; }
.sx-ring-b { fill: #fff; stroke: #1d64d8; stroke-width: 3.5; }
.sx-p-line { stroke: #cfd8e3; stroke-width: 2.5; stroke-dasharray: 3 4; }
.sx-p-k { fill: #5b6675; font-size: 11.5px; font-weight: 700; letter-spacing: .04em; }
.sx-p-v { fill: #0b1a33; font-size: 14px; font-weight: 700; }
.sx-green { fill: #0b7a52; }
/* The app's own buttons: blue "Accept and share location", outlined "Reject" (app/app/loads/[id].tsx). */
.sx-btn rect { fill: #1d64d8; }
.sx-btn text { fill: #fff; font-size: 15.5px; font-weight: 700; text-anchor: middle; }
.sx-rej rect { fill: #fff; stroke: #cfd8e3; stroke-width: 1.5; }
.sx-rej text { fill: #0b1a33; font-size: 15.5px; font-weight: 700; text-anchor: middle; }
.sx-ripple { fill: #fff; opacity: 0; }
.sx-touch { fill: rgba(11, 26, 51, .28); stroke: #fff; stroke-width: 3; opacity: 0; }
.sx-p-blue { fill: #e8effc; stroke: #c6d8f8; }
.sx-p-loc { fill: #1d64d8; }
.sx-p-loc-i { fill: #fff; }
.sx-p-b { fill: #0b3a8f; font-size: 14.5px; font-weight: 800; }
.sx-p-s { fill: #3d4a5c; font-size: 12.5px; }
.sx-p-ck circle { fill: #0b7a52; }
.sx-pu-n, .sx-del-n { display: none; }
.sx-p-nav { fill: #fff; stroke: #cfd8e3; } .sx-p-navt { fill: #0b1a33; font-size: 14px; font-weight: 700; text-anchor: middle; }
.sx-p-here { fill: #1d64d8; } .sx-p-heret { fill: #fff; font-size: 14px; font-weight: 700; text-anchor: middle; }
.sx-del-d .sx-p-s { font-weight: 700; }
.sx-scan { fill: url(#sxScanG); opacity: 0; }
/* With the script running, it draws every moving part itself (the CSS above is the still picture). */
.sx-p-btns { display: none; }
.sx.anim .sx-van, .sx.anim .sx-move, .sx.anim .sx-pu-n, .sx.anim .sx-del-n, .sx.anim .sx-pin-dot, .sx.anim .sx-p-btns { display: inline; }

/* Facts strip */
.facts-strip { padding: 24px 0 8px; }
.facts4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.facts4 > div { padding: 18px 20px; border-left: 3px solid var(--accent); }
.facts4 b { display: block; font-family: Manrope, Inter, sans-serif; font-weight: 800; font-size: 30px; letter-spacing: -0.02em; color: var(--fg); line-height: 1.15; }
.facts4 span { display: block; margin-top: 4px; color: var(--muted); font-size: 15px; }

/* Sections */
.sec { padding: 88px 0; }
.sec.alt { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.eyebrow { margin: 0 0 10px; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.sec h2 { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 36px; max-width: 760px; }
.lead2 { font-size: 18px; line-height: 1.6; color: var(--muted); margin: -16px 0 24px; max-width: 560px; }
.badge-ico { width: 44px; height: 44px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: var(--accent-soft); color: var(--accent); margin-bottom: 16px; }

.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
main.full .card { border-radius: 16px; padding: 26px; margin: 0; box-shadow: 0 1px 2px rgba(11, 26, 51, .04); }
.who h3 { font-size: 22px; margin: 0; }
.who .tag { margin: 4px 0 16px; color: var(--accent); font-weight: 600; }
.ticks { list-style: none; padding: 0; margin: 0 0 8px; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; color: var(--muted); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d64d8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center / 12px no-repeat; }
.ticks.big li { color: var(--fg); font-size: 16.5px; }
.verify .card p { margin: 0; }

.steps3 { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: none; }
.steps3 li { position: relative; padding: 26px; border-radius: 16px; background: var(--bg); border: 1px solid var(--line); }
.steps3 .num { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: var(--accent-fg); font-family: Manrope, Inter, sans-serif; font-weight: 800; font-size: 18px; margin-bottom: 16px; }
.steps3 h3 { font-size: 20px; }
.steps3 p { margin: 0; color: var(--muted); }
.steps3 li:not(:last-child)::after { content: ""; position: absolute; top: 45px; right: -21px; width: 22px; height: 2px; background: var(--line); }

.grid-f { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feat { padding: 26px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); transition: border-color .15s, transform .15s; }
.feat:hover { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); transform: translateY(-2px); }
.feat h3 { font-size: 19px; }
.feat p { margin: 0; color: var(--muted); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split h2 { margin-bottom: 28px; }

/* Fraud band */
.sec.dark { background: var(--navy); color: #fff; }
.sec.dark .eyebrow { color: var(--sky-blue); }
.sec.dark h2 { color: #fff; }
.sec.dark .lead2 { color: #c9d6ee; }
.sub2 { margin: 0 0 12px; font-weight: 700; color: #fff; }
.checks8 { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.checks8 li { display: flex; gap: 10px; align-items: flex-start; color: #e6edf9; font-size: 15.5px; }
.checks8 .n { flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; color: #cfe0ff; background: rgba(127, 176, 255, .16); border: 1px solid rgba(127, 176, 255, .35); }
.sec.dark .fine { margin: 18px 0 0; font-size: 13.5px; color: #9fb3d6; }
.fraud-card { background: #fff; color: var(--navy); border-radius: 18px; padding: 22px; box-shadow: 0 30px 70px rgba(0, 0, 0, .35); }
.fc-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid #e3e8ef; }
.fc-head b { font-size: 17px; }
.fc-head span { font-size: 13.5px; color: #5b6675; }
.fraud-card ul { list-style: none; padding: 0; margin: 0; }
.fraud-card li { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid #eef2f7; font-size: 15px; }
.fraud-card li span:nth-child(2) { flex: 1; }
.fraud-card em { font-style: normal; font-size: 13.5px; font-weight: 600; color: #0b7a52; }
.fraud-card li.bad { background: #fff7f5; margin: 0 -10px; padding: 11px 10px; border-radius: 10px; border-bottom-color: transparent; }
.fraud-card li.bad span:nth-child(2) { font-weight: 600; color: #9f1c10; }
.fraud-card li.bad em { color: #9f1c10; }
.fc-foot { margin: 14px 0 0; font-size: 13.5px; color: #5b6675; }

/* Drivers */
.split.rev { grid-template-columns: 1fr 1fr; }
.phones { position: relative; height: 560px; }
.phones .phone { position: absolute; width: 250px; }
.phones .p1 { left: 6%; top: 0; transform: rotate(-4deg); }
.phones .p2 { left: 44%; top: 50px; transform: rotate(3deg); }

/* Driver app page (/app): as wide as the header, like the home page. */
body[data-page="app"] main.wrap { max-width: 1160px; padding-left: 20px; padding-right: 20px; }
.app-hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; align-items: center; padding: 16px 0 40px; }
.app-hero .phones { width: 100%; max-width: 480px; justify-self: center; }
.app-cards { max-width: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: start; }
.app-cards .card { margin: 0; }
.phones .phones-cap { position: absolute; left: 0; right: 0; bottom: -28px; margin: 0; text-align: center; }
.app-cards h2 { font-size: 17px; margin: 0 0 10px; }
.app-cards p, .app-cards li { color: var(--fg); }
.app-cards ul { margin: 0; padding-left: 20px; display: grid; gap: 8px; }
@media (max-width: 900px) {
  .app-hero { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .app-cards { grid-template-columns: minmax(0, 1fr); max-width: 680px; margin: 0; }
}

/* API */
.code { margin: 0; padding: 22px 24px; border-radius: 16px; background: #0b1220; color: #dbe6fb; font-size: 13.5px; line-height: 1.65; overflow-x: auto; box-shadow: var(--shadow); border: 1px solid #1c2638; }
.code code { font-size: inherit; white-space: pre; }
.code .c { color: #7f8ea8; }
.code .s { color: #8ee6b4; }
.code-fig { margin: 0; min-width: 0; }
.about-app { margin-top: 16px; }

/* FAQ */
.narrow-faq { max-width: 820px !important; }
.narrow-faq details { border-bottom: 1px solid var(--line); }
.narrow-faq details:first-of-type { border-top: 1px solid var(--line); }
.narrow-faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; padding: 20px 4px; font-weight: 600; font-size: 17px; }
.narrow-faq summary::-webkit-details-marker { display: none; }
.narrow-faq summary::after { content: "+"; font-size: 24px; line-height: 1; color: var(--accent); transition: transform .15s; }
.narrow-faq details[open] summary::after { transform: rotate(45deg); }
.narrow-faq details p { margin: -6px 4px 20px; color: var(--muted); max-width: 680px; }

/* Final call to action */
.cta-band { padding: 80px 0; text-align: center; color: #fff; background: radial-gradient(700px 260px at 50% 0, rgba(255, 255, 255, .16), transparent 70%), linear-gradient(135deg, #1d64d8, #1550b0); }
.cta-band h2 { color: #fff; font-size: clamp(28px, 3.6vw, 40px); margin: 0 0 10px; }
.cta-band p { color: #fff; font-size: 18px; margin: 0 0 26px; }
.hero-cta.center { justify-content: center; }
.cta-band p a { color: #fff; font-weight: 600; white-space: nowrap; }
.cta-band a:focus-visible, .cta-band .btn:focus-visible { outline-color: #fff; }

a:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }


/* Problem, answer line */
.lead2.wide { max-width: 760px; }
.badge-ico.warn { background: var(--danger-soft); color: var(--danger); }
.problem .card p { margin: 0; color: var(--muted); }
.answer { display: flex; align-items: center; gap: 12px; margin: 28px 0 0; padding: 16px 20px; border-radius: 14px; background: var(--accent-soft); color: var(--fg); font-weight: 600; font-size: 17px; }
.answer .ico { color: var(--accent); width: 26px; height: 26px; }
.split.top { align-items: start; }

/* Fraud groups and what to do with a flag (on the navy band) */
.groups3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.groups3 > div { padding: 22px; border-radius: 16px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); }
.groups3 h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font-size: 18px; color: #fff; }
.groups3 h3 .ico { color: var(--sky-blue); }
.groups3 ul { margin: 0; padding-left: 18px; display: grid; gap: 8px; color: #dbe6fb; font-size: 15.5px; }
.sec.dark .groups-note { margin: 14px 0 0; }
.when-flag { margin-top: 20px; padding: 22px 24px; border-radius: 16px; background: rgba(255, 255, 255, .03); border: 1px dashed rgba(255, 255, 255, .22); }
.when-flag h3 { margin: 0 0 10px; color: #fff; font-size: 18px; }
.when-flag ol { margin: 0; padding-left: 20px; display: grid; gap: 6px; color: #dbe6fb; font-size: 15.5px; }

/* Who sees what */
.wsw-wrap { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 8px 20px 16px; box-shadow: 0 1px 2px rgba(11, 26, 51, .04); }
.wsw { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.wsw thead th { padding: 14px 8px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); text-align: center; }
.wsw tbody th { padding: 12px 8px 12px 0; text-align: left; font-weight: 500; color: var(--fg); }
.wsw td { padding: 10px 8px; text-align: center; }
.wsw tbody tr + tr > * { border-top: 1px solid var(--line); }
.wsw .st { width: 26px; height: 26px; }
.wsw .st .ico { width: 15px; height: 15px; }
.st.off { background: var(--bg); color: var(--muted); border: 1px solid var(--line); }
.wsw-wrap .fine { margin: 12px 0 0; font-size: 13.5px; color: var(--muted); }
@media (min-width: 981px) { #who-sees .split > div:first-child { position: sticky; top: 96px; } }

/* Security cards: smaller */
.grid-f.small .feat { padding: 22px; }
.grid-f.small .feat h3 { font-size: 17px; }
.grid-f.small .badge-ico { width: 38px; height: 38px; margin-bottom: 12px; }



/* Five questions to ask any tracking app */
.asks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.asks li { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: center; padding: 18px 22px; border-radius: 14px; background: var(--bg); border: 1px solid var(--line); }
.asks .q { font-weight: 700; color: var(--fg); font-size: 16.5px; }
.asks .a { display: flex; gap: 12px; align-items: center; color: var(--muted); }
.asks .a .st { width: 26px; height: 26px; }
.asks .a .st .ico { width: 15px; height: 15px; }
.sec-cta { margin: 32px 0 0; text-align: center; }
.sec.dark .btn.light { margin-top: 4px; }

/* Pricing page */
.pr-hero { padding-top: 72px; text-align: center; }
.pr-hero h1 { font-size: clamp(32px, 5vw, 52px); line-height: 1.08; letter-spacing: -0.025em; margin: 0 auto 18px; max-width: 820px; text-wrap: balance; }
.pr-hero .lead2 { margin: 0 auto 8px; }
.pr-chips { margin: 18px auto 44px; color: var(--fg); font-weight: 500; }
.pr-chips .ico { color: var(--accent); width: 16px; height: 16px; }
.pr-pick { margin: -24px auto 24px; max-width: 760px; color: var(--muted); }
.plans { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; text-align: left; }
.plan { display: flex; flex-direction: column; padding: 22px 18px 18px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(11, 26, 51, .04); }
.sec .plan h2 { margin: 0 0 12px; max-width: none; font-size: 18px; line-height: 1.3; letter-spacing: -0.01em; }
.plan .price { margin: 0; display: flex; align-items: baseline; gap: 4px; }
.plan .price b { font-family: Manrope, Inter, sans-serif; font-weight: 800; font-size: 38px; line-height: 1.1; letter-spacing: -0.02em; }
.plan .price span { color: var(--muted); font-size: 15px; }
.plan .loads { margin: 6px 0 16px; padding-bottom: 16px; border-bottom: 1px solid var(--line); font-weight: 700; color: var(--accent); }
.plan .loads span { display: block; margin-top: 2px; font-size: 14px; font-weight: 500; color: var(--muted); }
.plan ul { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 10px; flex: 1; align-content: start; }
.plan li { display: flex; gap: 8px; align-items: flex-start; font-size: 14.5px; line-height: 1.45; color: var(--muted); }
.plan li .ico { width: 17px; height: 17px; margin-top: 1px; color: var(--accent); }
.plan .btn { width: 100%; }
.nowrap { white-space: nowrap; }
.pr-more { margin: 28px 0 0; color: var(--muted); }
.pr-founder { display: inline-block; margin: 14px 0 0; padding: 10px 16px; border-radius: 12px; background: var(--accent-soft); color: var(--fg); font-size: 15px; }
.pr-founder b { color: var(--accent); }
.pr-rules { max-width: 820px; margin-bottom: 36px; }
.pr-rules li b { color: var(--fg); }
.pr-table-wrap { overflow-x: auto; }
.pr-table { width: 100%; min-width: 600px; border-collapse: collapse; font-size: 15.5px; font-variant-numeric: tabular-nums; }
.pr-table thead th { padding: 14px 8px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); text-align: right; white-space: nowrap; }
.pr-table thead th:first-child, .pr-table tbody th { text-align: left; }
.pr-table tbody th { padding: 12px 8px 12px 0; font-weight: 700; color: var(--fg); }
.pr-table td { padding: 12px 8px; text-align: right; white-space: nowrap; }
.pr-table tbody tr + tr > * { border-top: 1px solid var(--line); }
.pr-incl { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 40px; }

@media (max-width: 980px) {
  .sx-stage { grid-template-columns: minmax(0, 1fr) clamp(140px, 22vw, 180px); gap: 16px; }
  .sx-steps li { font-size: 14.5px; }
  .facts4 { grid-template-columns: 1fr 1fr; }
  .cards3, .grid-f, .steps3 { gap: 14px; }
  main.full .card, .feat, .steps3 li { padding: 20px; }
  .steps3 li:not(:last-child)::after { right: -15px; width: 16px; }
  .split, .split.rev { grid-template-columns: 1fr; gap: 40px; }
  .groups3 { grid-template-columns: 1fr; }
  .asks li { grid-template-columns: 1fr; gap: 8px; }
  .phones { height: 520px; max-width: 520px; }
}
/* Rows of three (problem, checked companies, how it works, 9 features) stay three until there is no room, then one:
   two columns left a card alone on its row. */
@media (max-width: 760px) {
  .cards3, .grid-f, .steps3 { grid-template-columns: 1fr; }
  .steps3 li::after { display: none; }
}
/* Pricing: five cards in a row need 1200 px; below that three and two, the two in the middle (not 3 + 2 with a hole). */
@media (max-width: 1199px) {
  .plans { display: flex; flex-wrap: wrap; justify-content: center; }
  .plan { flex: 0 1 calc((100% - 28px) / 3); }
}
@media (max-width: 640px) {
  main.full .hero { padding-top: 48px; background-size: auto, 32px 32px, 32px 32px, auto; }
  .pill { font-size: 12.5px; padding: 5px 12px; }
  .hero-cta .btn { width: 100%; }
  .chips { gap: 8px 16px; font-size: 13.5px; }
  .shot { margin-top: 40px; }
  /* Phones: the map takes the width; the driver's phone shows over it for step 1 only; one step's words at a time. */
  .sx { margin: 0 -8px; padding: 14px 10px 12px; border-radius: 16px; }
  .sx-steps { gap: 8px; margin-bottom: 10px; }
  .sx.anim .sx-steps span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } /* still read aloud */
  .sx:not(.anim) .sx-steps { grid-template-columns: minmax(0, 1fr); }
  .sx.anim .sx-cap { display: block; margin: 0 0 10px; font-size: 18px; font-weight: 700; line-height: 1.3; min-height: 2.6em; text-wrap: balance; }
  .sx-stage { grid-template-columns: minmax(0, 1fr); }
  .sx-phone-wrap { position: absolute; right: 8px; top: 50%; width: 31%; transform: translateY(-50%); opacity: 0; pointer-events: none; transition: opacity .35s; }
  .sx.anim.s1 .sx-phone-wrap { opacity: 1; }
  .sx-head { margin-bottom: 10px; }
  .sx-stats { transform-origin: 0 0; transform: scale(1.45); }
  .sx-real { transform: scale(1.45); } /* hero.js PHONE_K */
  .sx-cust { transform-origin: 100% 100%; transform: scale(1.45); }
  .sx-tag rect, .sx-tag text { transform: scale(1.35); }
  .sx-tag-pu rect, .sx-tag-pu text { transform: translate(14px, 0) scale(1.35); }
  .sx-real .sx-small, .sx-cust .sx-small { font-size: 16px; }
  .sx:not(.anim) .sx-stats, .sx:not(.anim) .sx-cust, .sx:not(.anim) .sx-tag-pu { display: none; }
  .sx-chk text { font-size: 20px; }
  .facts-strip { padding-top: 16px; }
  main.full .hero { padding-bottom: 48px; }
  .facts4 b { font-size: 24px; }
  .facts4 > div { padding: 10px 14px; }
  .sec { padding: 64px 0; }
  .cards3, .grid-f, .steps3 { grid-template-columns: 1fr; }
  .checks8 { grid-template-columns: 1fr; }
  .answer { font-size: 15.5px; padding: 14px 16px; }
  .wsw-wrap { padding: 4px 12px 12px; }
  .wsw { font-size: 14px; }
  .wsw thead th { font-size: 11.5px; letter-spacing: .03em; padding: 12px 4px; }
  .shot-cap { margin: 40px auto -16px; font-size: 12px; }
  .phones { height: 470px; }
  .phones .phone { width: 190px; }
  .phones .p2 { left: 40%; }
  .code { font-size: 11.5px; padding: 16px; }
  .shot::before { top: 60%; }
  .pr-hero { padding-top: 48px; }
  .plans { grid-template-columns: 1fr; }
  .pr-incl { grid-template-columns: 1fr; }
  .plan { flex-basis: 100%; }
  .pr-table { min-width: 0; font-size: 15px; }
  .pr-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .pr-table, .pr-table tbody, .pr-table tr, .pr-table tbody th, .pr-table td { display: block; }
  .pr-table tr { padding: 12px 0; }
  .pr-table tbody tr + tr > * { border-top: 0; }
  .pr-table tbody tr + tr { border-top: 1px solid var(--line); }
  .pr-table tbody th { padding: 0 0 4px; font-size: 17px; }
  .pr-table td { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; }
  .pr-table td::before { content: attr(data-l); color: var(--muted); }
}
@media (max-width: 380px) {
  .phones { overflow: hidden; height: 430px; }
  .phones .phones-cap { bottom: 0; }
  .phones .phone { width: 150px; }
  .phones .p2 { left: auto; right: 12px; }
}
/* Dark mode: the navy bands get their own surface and edges, so they do not melt into the dark page. */
@media (prefers-color-scheme: dark) {
  .sec.dark { background: #0f2142; border-top: 1px solid #1f3560; border-bottom: 1px solid #1f3560; }
  .facts-strip { border-bottom: 1px solid var(--line); padding-bottom: 24px; }
  .ticks li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237fb0ff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E"); }
  .wsw .st.ok, .asks .st.ok { background: rgba(61, 214, 140, .16); color: var(--ok); }
  .wsw .st.no, .asks .st.no { background: rgba(249, 112, 102, .16); color: var(--danger); }
}
@media (prefers-reduced-motion: reduce) { .feat { transition: none; } .feat:hover { transform: none; } }
