/* FleetServHQ marketing site. Matches the app: brand blue #2563eb on slate. */
:root {
  --brand: #2563eb;
  --brand-dark: #1d4ed8;
  --brand-soft: #eff6ff;
  --ink: #0f172a;
  --text: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --good: #059669;
  --warn: #d97706;
  --bad: #e11d48;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(15, 23, 42, 0.06), 0 8px 24px rgba(15, 23, 42, 0.06);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
h1, h2, h3 { color: var(--ink); line-height: 1.2; margin: 0 0 12px; }
h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -0.015em; }
h3 { font-size: 1.05rem; }
p { margin: 0 0 14px; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 640px; }
.eyebrow { display: inline-block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand); margin-bottom: 10px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; color: var(--ink); font-size: 1.05rem; }
.logo:hover { text-decoration: none; }
.logo-mark { width: 34px; height: 34px; border-radius: 9px; background: var(--brand); display: grid; place-items: center; }
.logo-mark svg { width: 20px; height: 20px; }
.nav { display: flex; align-items: center; gap: 22px; font-size: 0.95rem; }
.nav a { color: var(--text); }
.nav .nav-links a { margin-left: 22px; }
@media (max-width: 760px) { .nav .nav-links { display: none; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: 10px; font-weight: 700; font-size: 0.95rem; border: 1px solid transparent; cursor: pointer; transition: background 0.15s, border-color 0.15s; }
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: #cbd5e1; }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: 0.9rem; }

/* Hero */
.hero { padding: 72px 0 56px; background: radial-gradient(1200px 400px at 70% -10%, #dbeafe 0%, rgba(219, 234, 254, 0) 60%), var(--bg); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 14px; }
.hero-note { font-size: 0.9rem; color: var(--muted); }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-dark); font-size: 0.85rem; font-weight: 700; margin-bottom: 18px; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } .hero { padding-top: 48px; } }

/* App mock */
.mock { background: #0b1220; border-radius: 18px; padding: 16px; box-shadow: 0 30px 60px rgba(15, 23, 42, 0.25); border: 1px solid #1e293b; }
.mock-top { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.mock-dot { width: 10px; height: 10px; border-radius: 50%; background: #334155; }
.mock-title { color: #e2e8f0; font-weight: 700; font-size: 0.95rem; margin-left: 6px; }
.mock-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.mock-card { background: #111a2e; border: 1px solid #1e293b; border-radius: 12px; padding: 12px; }
.mock-num { font-size: 1.5rem; font-weight: 800; color: #fff; line-height: 1.1; }
.mock-label { font-size: 0.72rem; color: #94a3b8; font-weight: 600; }
.mock-list { margin-top: 12px; background: #111a2e; border: 1px solid #1e293b; border-radius: 12px; overflow: hidden; }
.mock-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-top: 1px solid #1e293b; font-size: 0.8rem; color: #cbd5e1; }
.mock-row:first-child { border-top: 0; }
.mock-unit { font-weight: 700; color: #fff; }
.pill { font-size: 0.68rem; font-weight: 700; padding: 3px 8px; border-radius: 999px; white-space: nowrap; }
.pill-bad { background: rgba(225, 29, 72, 0.15); color: #fb7185; }
.pill-warn { background: rgba(217, 119, 6, 0.15); color: #fbbf24; }
.pill-good { background: rgba(5, 150, 105, 0.15); color: #34d399; }

/* Sections */
section { padding: 72px 0; }
.alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 720px; margin-bottom: 36px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.icon { width: 42px; height: 42px; border-radius: 10px; background: var(--brand-soft); display: grid; place-items: center; margin-bottom: 14px; }
.icon svg { width: 22px; height: 22px; stroke: var(--brand); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.card p { color: var(--muted); margin: 0; font-size: 0.95rem; }

.steps { counter-reset: step; }
.step { position: relative; padding-left: 52px; }
.step::before { counter-increment: step; content: counter(step); position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; display: grid; place-items: center; }

/* Pricing */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
@media (max-width: 900px) { .pricing { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; } }
.plan { display: flex; flex-direction: column; }
.plan.featured { border: 2px solid var(--brand); position: relative; }
.plan-tag { position: absolute; top: -12px; left: 22px; background: var(--brand); color: #fff; font-size: 0.75rem; font-weight: 800; padding: 3px 10px; border-radius: 999px; }
.plan-units { color: var(--muted); font-size: 0.9rem; margin-bottom: 16px; }
.price-old { color: #94a3b8; text-decoration: line-through; font-size: 0.95rem; }
.price { font-size: 2.2rem; font-weight: 800; color: var(--ink); line-height: 1.1; }
.price small { font-size: 0.95rem; color: var(--muted); font-weight: 600; }
.plan ul { list-style: none; padding: 0; margin: 18px 0 22px; flex: 1; }
.plan li { padding-left: 26px; position: relative; margin-bottom: 8px; font-size: 0.93rem; }
.plan li::before { content: ''; position: absolute; left: 0; top: 6px; width: 14px; height: 8px; border-left: 2.5px solid var(--good); border-bottom: 2.5px solid var(--good); transform: rotate(-45deg); }
.founder { margin-top: 24px; padding: 18px 20px; border-radius: var(--radius); background: var(--brand-soft); color: var(--brand-dark); border: 1px solid #bfdbfe; font-size: 0.95rem; }
.fine { font-size: 0.85rem; color: var(--muted); margin-top: 16px; }

/* FAQ */
details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 700; color: var(--ink); list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; float: right; color: var(--muted); font-weight: 700; }
details[open] summary::after { content: '\2212'; }
details p { margin: 10px 0 0; color: var(--muted); }

/* CTA + footer */
.cta { background: var(--ink); color: #cbd5e1; border-radius: 20px; padding: 44px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.cta h2 { color: #fff; margin-bottom: 6px; }
.cta p { margin: 0; }
.site-footer { padding: 40px 0; border-top: 1px solid var(--line); font-size: 0.9rem; color: var(--muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.site-footer nav a { color: var(--muted); margin-right: 18px; }

/* Legal pages */
.legal { padding: 56px 0 72px; }
.legal .wrap { max-width: 780px; }
.legal h1 { font-size: 2.1rem; }
.legal h2 { font-size: 1.25rem; margin-top: 32px; }
.legal .updated { color: var(--muted); font-size: 0.9rem; margin-bottom: 28px; }
.legal ul { padding-left: 22px; }
.legal li { margin-bottom: 6px; }
