/* FleetManagerHub public pages (frontend/site/build.mjs): the app's colours and type, no scripts, no web fonts. */
:root {
  --bg: #f6f8fc;
  --surface: #ffffff;
  --surface-2: #eef2f9;
  --text: #0f1729;
  --muted: #536079;
  --border: #dde3ee;
  --primary: #2f5bea;
  --primary-hover: #244ad0;
  --primary-soft: #eaf0ff;
  --teal: #12a184;
  --amber-soft: #fff4e2;
  --amber-text: #8a4b00;
  --navy: #0d1424;
  --navy-text: #c7d0e2;
  --bubble-in: #ffffff;
  --bubble-out: #d9fdd3;
  --chat-bg: #efe7dd;
  --shadow: 0 1px 2px rgba(15, 23, 41, 0.06), 0 12px 32px rgba(15, 23, 41, 0.08);
  --radius: 14px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a0e17;
    --surface: #111827;
    --surface-2: #172033;
    --text: #e7ebf3;
    --muted: #9aa6c0;
    --border: #243049;
    --primary: #6b8cff;
    --primary-hover: #8aa4ff;
    --primary-soft: #1a2546;
    --teal: #35c9a6;
    --amber-soft: #2b2112;
    --amber-text: #f4c27a;
    --navy: #070b14;
    --bubble-in: #1f2c34;
    --bubble-out: #005c4b;
    --chat-bg: #0b141a;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 12px 32px rgba(0, 0, 0, 0.35);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 var(--font); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); }
a:hover { color: var(--primary-hover); }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.015em; text-wrap: balance; margin: 0 0 0.5em; }
h1 { font-size: clamp(2rem, 5vw, 3.1rem); }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.1rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding-inline: 20px; }
.narrow { max-width: 760px; }
.muted { color: var(--muted); }
.eyebrow { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal); margin-bottom: 10px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: var(--surface); padding: 8px 12px; z-index: 10; }

/* Header and footer */
.top { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
.top .wrap { display: flex; align-items: center; gap: 16px; min-height: 64px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 750; }
.brand__mark { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; color: #fff; font-size: 0.85rem; font-weight: 800; background: linear-gradient(135deg, #3d6bff, #19b394); }
.top nav { display: flex; gap: 6px 18px; margin-left: auto; align-items: center; flex-wrap: wrap; }
.top nav a { color: var(--text); text-decoration: none; font-size: 0.95rem; }
.top nav a:hover { color: var(--primary); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 18px; border-radius: 10px; font-weight: 650; text-decoration: none; border: 1px solid transparent; font-size: 0.98rem; }
.btn--primary { background: var(--primary); color: #fff; }
.btn--primary:hover { background: var(--primary-hover); color: #fff; }
.btn--ghost { border-color: var(--border); color: var(--text); background: var(--surface); }
.btn--ghost:hover { border-color: var(--primary); color: var(--primary); }
.top nav .btn { padding: 8px 14px; font-size: 0.92rem; }
.top nav .btn--primary { color: #fff; }
footer.foot { background: var(--navy); color: var(--navy-text); margin-top: 80px; padding-block: 48px 32px; font-size: 0.93rem; }
.foot a { color: #fff; text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 28px; }
.foot h2 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; color: #8ea0c4; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot__small { margin-top: 32px; color: #8ea0c4; font-size: 0.85rem; }

/* Sections */
.section { padding-block: 64px; }
.section--tint { background: var(--surface-2); }
.hero { padding-block: 56px 40px; }
.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.hero__lead { font-size: 1.18rem; color: var(--muted); max-width: 34em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.shot { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow); background: var(--surface); }
.shot figcaption { font-size: 0.85rem; color: var(--muted); padding: 10px 14px; border-top: 1px solid var(--border); }
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: 24px; }
.quote { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; }
.quote strong { display: block; margin-bottom: 6px; }
.quote p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.pillar { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center; }
.pillar + .pillar { margin-top: 72px; }
.pillar--flip > :first-child { order: 2; }
.ticks { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 10px; }
.ticks li { padding-left: 28px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 4px; top: 0.45em; width: 12px; height: 7px; border-left: 2.5px solid var(--teal); border-bottom: 2.5px solid var(--teal); transform: rotate(-45deg); }
.proof { background: var(--primary-soft); border-radius: 12px; padding: 14px 16px; font-size: 0.95rem; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; margin-top: 28px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.card h3 { margin-bottom: 10px; }
.card ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; color: var(--muted); }
a.card { color: inherit; text-decoration: none; display: block; }
a.card:hover { border-color: var(--primary); }
a.card p { color: var(--muted); margin: 0; }
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); margin-top: 24px; }
table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--border); vertical-align: top; }
th { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); background: var(--surface-2); }
td.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; font-weight: 650; }
tr:last-child td { border-bottom: 0; }
.note { font-size: 0.85rem; color: var(--muted); margin-top: 10px; }
.callout { border-left: 4px solid var(--teal); background: var(--surface); padding: 16px 18px; border-radius: 0 12px 12px 0; margin-top: 20px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 14px 18px; }
.faq details + details { margin-top: 10px; }
.faq summary { cursor: pointer; font-weight: 650; }
.faq details p { margin: 10px 0 0; color: var(--muted); }
.cta { text-align: center; background: linear-gradient(135deg, #2f5bea, #12a184); color: #fff; border-radius: 20px; padding: 48px 24px; }
.cta h2 { color: #fff; }
.cta p { color: rgba(255, 255, 255, 0.86); max-width: 36em; margin-inline: auto; }
.cta .btn--primary { background: #fff; color: #1d3fbf; }
.cta .btn--primary:hover { background: #eaf0ff; color: #1d3fbf; }
.crumbs { font-size: 0.9rem; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--muted); }
.prose h2 { margin-top: 1.6em; }
.prose ul { padding-left: 20px; display: grid; gap: 6px; }

/* A driver's WhatsApp chat (an illustration made from the system's real replies) */
.chat { background: var(--chat-bg); border-radius: var(--radius); padding: 18px 14px; display: grid; gap: 8px; border: 1px solid var(--border); box-shadow: var(--shadow); max-width: 440px; justify-self: center; width: 100%; }
.chat__head { font-weight: 650; font-size: 0.9rem; padding: 2px 6px 8px; border-bottom: 1px solid rgba(0, 0, 0, 0.08); margin-bottom: 4px; }
.bubble { max-width: 85%; padding: 8px 11px 6px; border-radius: 10px; font-size: 0.92rem; line-height: 1.45; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.08); }
.bubble small { display: block; text-align: right; font-size: 0.7rem; opacity: 0.6; margin-top: 2px; }
.bubble--in { background: var(--bubble-in); justify-self: start; border-top-left-radius: 2px; }
.bubble--out { background: var(--bubble-out); justify-self: end; border-top-right-radius: 2px; }
.chat__note { font-size: 0.8rem; color: var(--muted); text-align: center; }

@media (max-width: 860px) {
  .hero__grid, .pillar { grid-template-columns: 1fr; gap: 28px; }
  .pillar--flip > :first-child { order: 0; }
  .section { padding-block: 48px; }
  .top nav { margin-left: 0; width: 100%; padding-bottom: 10px; }
}
