/* ============================================================
   Cartage Core — shared design system
   Palette: navy #12365E · deep navy #0E2C4D · footer #132B44 · gold #E9A625
   Type: Plus Jakarta Sans (800 headings / 400 body)
   ============================================================ */

:root {
  --navy: #12365E;
  --navy-deep: #0E2C4D;
  --navy-footer: #132B44;
  --gold: #E9A625;
  --gold-dark: #D1961C;
  --gold-text: #8A6100;   /* AA-safe gold for text on light backgrounds (5.6:1) */
  --white: #FFFFFF;
  --offwhite: #F5F7FA;
  --border: #E3E9F0;
  --body: #5A6B80;
  --text: #5A6B80;
  --heading: #12365E;
  --muted: #55657A;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --shadow-soft: 0 6px 24px -8px rgba(18, 54, 94, 0.14);
  --shadow-soft-lg: 0 18px 44px -18px rgba(18, 54, 94, 0.26);
  --shadow-navy: 0 14px 34px -14px rgba(14, 44, 77, 0.45);
  --container: 1180px;
  --header-h: 78px;
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
}
img { max-width: 100%; display: block; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--gold-text); }
h1, h2, h3, h4, h5, h6 {
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.12;
  color: var(--heading);
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.12rem; }
p { margin: 0 0 1.1em; }
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
  border-radius: 4px;
}
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--navy); color: #fff; padding: 10px 16px; z-index: 2000;
}
.skip-link:focus { left: 8px; top: 8px; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 22px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font); font-weight: 800; font-size: 15px; letter-spacing: .01em;
  padding: 14px 26px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; text-decoration: none; transition: all .18s ease;
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; }
.btn-gold { background: var(--gold); color: var(--navy-deep); }
.btn-gold:hover { background: var(--gold-dark); color: var(--navy-deep); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-deep); color: #fff; }
.btn-outline { background: #fff; color: var(--navy); border-color: #C7D2DE; }
.btn-outline:hover { border-color: var(--navy); color: var(--navy); }
.btn-lg { padding: 16px 32px; font-size: 16px; }
.btn-sm { padding: 10px 18px; font-size: 14px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled { border-bottom-color: var(--border); box-shadow: 0 6px 22px -14px rgba(18,54,94,.25); }
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: var(--header-h); gap: 22px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand-mark { width: 40px; height: 40px; }
.brand-word { display: flex; flex-direction: column; line-height: 1; }
.brand-cartage { font-weight: 800; font-size: 20px; letter-spacing: .04em; color: var(--navy); }
.brand-core { font-weight: 800; font-size: 16px; letter-spacing: .06em; color: var(--gold-text); text-transform: none; }

.main-nav { justify-self: center; }
.nav-list { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-item { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  /* buttons default to line-height:normal while the <a> inherits the body
     value (1.65) — without this the plain "Pricing" link renders 6px taller
     than its siblings and sits off the shared centre line. */
  line-height: 1.3;
  background: none; border: 0; cursor: pointer;
  font-family: var(--font); font-weight: 600; font-size: 15.5px; color: var(--navy);
  padding: 10px 13px; border-radius: 8px;
}
.nav-link::after {
  content: ''; width: 9px; height: 9px; margin-top: -2px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg); transition: transform .2s; opacity: .7;
}
.nav-link:hover, .nav-item.is-open > .nav-link { color: var(--gold-text); }
.nav-link.plain::after { display: none; }
.nav-item.is-open > .nav-link::after { transform: rotate(-135deg); margin-top: 4px; }
.dropdown {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 240px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft-lg); padding: 10px;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: all .18s ease;
}
.nav-item.is-open .dropdown, .nav-item:hover .dropdown, .nav-item:focus-within .dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.dropdown a {
  display: block; padding: 10px 12px; border-radius: 8px;
  font-weight: 500; font-size: 15px; color: var(--navy);
}
.dropdown a:hover { background: var(--offwhite); color: var(--navy); }
.dropdown .dropdown-title { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; color: var(--muted); padding: 6px 12px 2px; }

.header-actions { display: flex; align-items: center; gap: 14px; flex-shrink: 0; justify-self: end; }
.login-link { font-weight: 600; font-size: 15px; color: var(--navy); padding: 8px 4px; }
.login-link:hover { color: var(--gold-text); }
.nav-toggle {
  display: none; flex-direction: column; gap: 5px; background: none; border: 0;
  padding: 10px; cursor: pointer;
}
.nav-toggle span { display: block; width: 24px; height: 2.5px; background: var(--navy); border-radius: 2px; transition: all .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(56px, 8vw, 96px) 0 clamp(40px, 6vw, 64px);
}
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='480' height='420' viewBox='0 0 480 420'%3E%3Cg fill='none' stroke='%2312365E' stroke-opacity='.055' stroke-width='1.6'%3E%3Cpath d='M-40 300 C 60 275 140 330 240 295 C 340 260 420 315 520 280'/%3E%3Cpath d='M-40 345 C 60 320 140 375 240 340 C 340 305 420 360 520 325'/%3E%3Cpath d='M-40 255 C 60 230 140 285 240 250 C 340 215 420 270 520 235'/%3E%3Cpath d='M-40 210 C 60 185 140 240 240 205 C 340 170 420 225 520 190'/%3E%3Cpath d='M-40 165 C 60 140 140 195 240 160 C 340 125 420 180 520 145'/%3E%3Cpath d='M-40 110 C 60 85 140 140 240 105 C 340 70 420 125 520 90'/%3E%3C/g%3E%3C/svg%3E") no-repeat -60px top / 620px auto;
}
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; position: relative; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 800; font-size: 13px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold-text); margin-bottom: 18px;
}
.eyebrow::before { content: ''; width: 26px; height: 2px; background: var(--gold); border-radius: 2px; }
.hero h1 { margin-bottom: .45em; }
.hero .lede { font-size: clamp(1.06rem, 1.6vw, 1.22rem); color: var(--text); max-width: 34em; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-media { position: relative; }
.hero-media img {
  width: calc(100% + max(0px, (100vw - var(--container)) / 2 + 30px));
  max-width: none;
  height: clamp(300px, 34vw, 470px); object-fit: cover;
  border-radius: 0;
  -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,0) 0%, #000 26%);
  mask-image: linear-gradient(90deg, rgba(0,0,0,0) 0%, #000 26%);
}
.hero-photo-band-bg { display: block; }

/* ---------- Trust strip ---------- */
.trust-strip { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--offwhite); padding: 14px 0; }
.trust-strip + .section { padding-top: clamp(56px, 7vw, 84px); }
.trust-strip-inner { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px 10px; }
.trust-label { font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--muted); margin-right: 6px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--border); border-radius: 999px;
  padding: 9px 15px; font-weight: 600; font-size: 13.5px; color: var(--navy);
}
.chip svg { width: 15px; height: 15px; color: var(--gold-text); }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section.alt { background: var(--offwhite); }
.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head .lede { font-size: 1.1rem; }

/* ---------- Feature grid (4 across) ---------- */
.grid { display: grid; gap: 26px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 30px 26px; box-shadow: var(--shadow-soft);
}
.grid .card { transition: transform .2s ease, box-shadow .2s ease; }
.grid .card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft-lg); }
.card-icon {
  width: 48px; height: 48px; border-radius: 12px; background: rgba(18,54,94,.08);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.card-icon svg { width: 24px; height: 24px; color: var(--navy); }
.card h3 { font-size: 1.12rem; margin-bottom: .35em; }
.card p { font-size: 15px; margin: 0; }
.card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-weight: 700; font-size: 14px; }
.card-link::after { content: '→'; font-weight: 800; color: var(--gold-text); }

/* ---------- Steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; position: relative; }
.steps::before { content: ''; position: absolute; top: 26px; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--gold), rgba(233,166,37,.15)); }
.step { position: relative; text-align: center; padding-top: 12px; }
.step-num {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--navy); color: #fff; font-weight: 800; font-size: 20px;
  margin-bottom: 16px; z-index: 1; border: 6px solid #fff; box-shadow: var(--shadow-soft);
}
.step h3 { font-size: 1.08rem; }
.step p { font-size: 14.5px; margin: 0; }

/* ---------- Dashboard mock ---------- */
.dash { background: var(--offwhite); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-soft-lg); overflow: hidden; }
.dash-chrome { display: flex; align-items: center; gap: 7px; background: #E6ECF3; padding: 11px 16px; }
.dash-chrome i { width: 11px; height: 11px; border-radius: 50%; background: #CBD5E1; }
.dash-chrome i:nth-child(1){background:#F3A6A0;} .dash-chrome i:nth-child(2){background:#F2CE8A;} .dash-chrome i:nth-child(3){background:#9CC79A;}
.dash-title { margin-left: 10px; font-size: 12px; font-weight: 600; color: var(--muted); }
.dash-body { display: grid; grid-template-columns: 56px 1fr; min-height: 360px; }
.dash-sidebar { background: var(--navy-deep); display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 18px 0; }
.dash-sidebar span {
  width: 30px; height: 30px; border-radius: 8px; display: flex; align-items: center; justify-content: center;
  color: #9FB4CC;
}
.dash-sidebar span.on { background: var(--gold); color: var(--navy-deep); }
.dash-main { padding: 20px; display: flex; flex-direction: column; gap: 18px; }
.dash-head { display: flex; align-items: center; justify-content: space-between; }
.dash-head strong { color: var(--navy); font-size: 15px; font-weight: 800; }
.dash-head .pill { font-size: 11px; font-weight: 700; background: #EAF0F7; color: var(--navy); padding: 5px 10px; border-radius: 999px; }
.stat-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stat-tile { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); padding: 14px 16px; }
.stat-tile .st-label { font-size: 11.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.stat-tile .st-value { font-size: 23px; font-weight: 800; color: var(--navy); letter-spacing: -0.02em; }
.stat-tile .st-sub { font-size: 11.5px; color: var(--muted); }
.dash-lower { display: grid; grid-template-columns: 1.5fr 1fr; gap: 18px; flex: 1; min-height: 210px; }
.dash-panel { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); padding: 16px; display: flex; flex-direction: column; }
.dash-panel h4 { font-size: 13px; font-weight: 800; color: var(--navy); margin-bottom: 12px; display: flex; justify-content: space-between; align-items: center; }
.dash-map { flex: 1; border-radius: var(--radius-sm); }
.pin { fill: var(--navy); }
.pin.gold { fill: var(--gold); }
.pin-pulse { fill: none; stroke: var(--gold); stroke-width: 1.6; opacity: .6; }
.donut { position: relative; width: 128px; height: 128px; margin: 0 auto; border-radius: 50%;
  background: conic-gradient(var(--gold) 0deg 151deg, var(--navy) 151deg 252deg, #9FB4CC 252deg 338deg, #E3E9F0 338deg 360deg); }
.donut::after { content: ''; position: absolute; inset: 22px; background: #fff; border-radius: 50%; }
.donut-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; z-index: 1; font-weight: 800; color: var(--navy); font-size: 15px; }
.donut-center small { font-size: 10px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.donut-legend { margin-top: 14px; display: flex; flex-direction: column; gap: 6px; font-size: 12px; color: var(--text); }
.donut-legend span { display: flex; align-items: center; gap: 8px; }
.donut-legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.dash-caption { font-size: 11.5px; color: var(--muted); font-style: italic; margin-top: 12px; }
.dash-caption:before { content: ''; }

/* ---------- Mini mocks (dispatch board / invoices / weighbridge) ---------- */
.mini-window { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-soft-lg); padding: 20px; }
.mini-window h4 { margin: 0 0 14px; font-size: 13.5px; font-weight: 800; color: var(--navy); }
.mini-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.mini-table th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 700; padding: 8px 8px; border-bottom: 1px solid var(--border); }
.mini-table td { padding: 10px 8px; border-bottom: 1px solid var(--border); color: var(--navy); font-weight: 600; }
.mini-table tr:last-child td { border-bottom: 0; }
.status { display: inline-block; padding: 3px 9px; border-radius: 999px; font-size: 11px; font-weight: 700; }
.status-green { background:#E4F2E6; color:#1F5C39; }
.status-gold { background:#FDF3DC; color:#7A5504; }
.status-blue { background:#E4ECF6; color:#17518F; }
.status-grey { background:#EEF1F5; color:#5A6B80; }
.weight-readout { font-size: 40px; font-weight: 800; color: var(--navy); letter-spacing: -0.02em; margin: 6px 0 2px; }
.weight-readout small { font-size: 15px; color: var(--muted); font-weight: 700; }

/* ---------- Alternating feature rows ---------- */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(34px, 5vw, 64px); align-items: center; }
.feature-row + .feature-row { margin-top: clamp(56px, 7vw, 88px); }
.feature-row.flex-reverse .feature-visual { order: 2; }
@media (min-width: 861px) { .feature-row.flex-reverse .feature-visual { order: 2; } .feature-row.flex-reverse .feature-copy { order: 1; } }
.feature-copy h2 { margin-bottom: .4em; }
.feature-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 26px; }
.feature-cards .card { padding: 20px; border-radius: var(--radius-md); }
.feature-cards .card-icon { width: 42px; height: 42px; margin-bottom: 12px; }
.feature-cards .card h3 { font-size: 1rem; }
.feature-cards .card p { font-size: 13.5px; }
.feature-visual { position: relative; }

/* ---------- Metrics ---------- */
.metrics-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.metric-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 26px 24px; box-shadow: var(--shadow-soft); }
.metric-label { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.metric-value { font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 800; color: var(--navy); letter-spacing: -0.02em; line-height: 1.05; }
.metric-value small { font-size: .55em; font-weight: 700; color: var(--gold-text); }
.metric-note { font-size: 13px; color: var(--text); margin-top: 8px; }

/* ---------- Photo band ---------- */
.band { position: relative; overflow: hidden; }
.band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band::after { content: ''; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(14,44,77,.92) 30%, rgba(18,54,94,.72)); }
.band-inner { position: relative; z-index: 1; padding: clamp(84px, 11vw, 140px) 22px; text-align: center; color: #fff; max-width: 860px; margin: 0 auto; }
.band-inner h2 { color: #fff; font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
.band-inner p { color: rgba(255,255,255,.85); font-size: 1.12rem; }
.band-inner .btn { margin-top: 8px; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 100%); padding: clamp(64px, 8vw, 104px) 0; position: relative; overflow: hidden; }
.cta-band::before { content:''; position:absolute; inset:0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='480' height='420' viewBox='0 0 480 420'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.05' stroke-width='1.6'%3E%3Cpath d='M-40 300 C 60 90, 140 330, 240 300 S 420 330, 520 280'/%3E%3Cpath d='M-40 200 C 60 50, 140 220, 240 180 S 420 120, 520 90'/%3E%3Cpath d='M-40 390 C 60 300, 140 430, 240 400 S 420 330, 520 310'/%3E%3C/g%3E%3C/svg%3E") no-repeat 0 0/cover; }
.cta-inner { position: relative; text-align: center; max-width: 720px; margin: 0 auto; color: #fff; }
.cta-inner h2 { color: #fff; }
.cta-inner p { color: rgba(255,255,255,.85); font-size: 1.15rem; margin-bottom: 28px; }
.cta-inner .eyebrow { color: var(--gold); justify-content: center; }
.cta-inner .eyebrow::before { display: none; }

/* ---------- Testimonials ---------- */
.quote-card { background: #fff; border: 1px dashed #C9D5E2; border-radius: var(--radius-lg); padding: 30px 28px; }
.quote-card .placeholder { font-size: 12.5px; font-weight: 700; color: var(--muted); letter-spacing: .04em; }
.quote-text { font-size: 16px; color: var(--navy); font-weight: 500; line-height: 1.6; }
.quote-sign { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.quote-avatar { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg,#E3E9F0,#F5F7FA); border: 1px solid var(--border); }
.quote-name { font-weight: 800; color: var(--navy); font-size: 14px; }
.quote-role { font-size: 12.5px; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-footer); color: rgba(255,255,255,.82); padding: 72px 0 30px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 46px; }
.footer-brand .brand { color: #fff; }
.footer-brand .brand-cartage { color: #fff; }
.footer-brand .brand-core { color: var(--gold); }
.footer-blurb { font-size: 14.5px; margin: 16px 0 20px; max-width: 30em; line-height: 1.6; }
.footer-nz { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--gold); letter-spacing: .02em; }
.footer-title { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: 18px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer-col a { color: rgba(255,255,255,.85); font-size: 14.5px; }
.footer-col a:hover { color: var(--gold); }
.footer-contact p { margin: 0 0 8px; font-size: 14.5px; }
.footer-contact a { color: rgba(255,255,255,.85); }
.footer-newsletter { display: flex; flex-wrap: wrap; gap: 10px; }
.footer-newsletter input {
  flex: 1 1 200px; padding: 12px 15px; border-radius: 10px; border: 1px solid rgba(255,255,255,.35);
  background: rgba(255,255,255,.12); color: #fff; font-family: var(--font); font-size: 14px;
}
.footer-newsletter input::placeholder { color: rgba(255,255,255,.6); }
.footer-newsletter .btn { flex-shrink: 0; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); padding-top: 24px; display: flex; flex-wrap: wrap; gap: 12px 26px; align-items: center; justify-content: space-between; font-size: 13px; }
.footer-bottom a { color: rgba(255,255,255,.85); }
.footer-bottom a:hover { color: var(--gold); }

/* ---------- Forms ---------- */
.form-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-soft-lg); padding: clamp(24px, 4vw, 40px); max-width: 720px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 700; font-size: 14px; color: var(--navy); margin-bottom: 7px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--border); border-radius: 10px;
  font-family: var(--font); font-size: 15px; color: var(--navy); background: #fff; transition: border-color .15s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(233,166,37,.18); }
.form-group .hint { font-size: 12.5px; color: var(--muted); margin-top: 5px; }
.form-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; opacity: 0; }
.form-note { font-size: 13px; color: var(--muted); margin-top: 6px; }
.required { color: var(--gold-text); }

/* ---------- FAQ accordion ---------- */
.faq { list-style: none; margin: 0; padding: 0; max-width: 860px; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius-md); background: #fff; margin-bottom: 14px; overflow: hidden; }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  font-family: var(--font); font-weight: 800; font-size: 17px; color: var(--navy);
  padding: 20px 22px; display: flex; align-items: center; justify-content: space-between; gap: 14px;
}
.faq-q .faq-icon { width: 20px; height: 20px; position: relative; flex-shrink: 0; }
.faq-q .faq-icon::before, .faq-q .faq-icon::after { content: ''; position: absolute; background: var(--gold-dark); border-radius: 2px; }
.faq-q .faq-icon::before { top: 9px; left: 1px; width: 18px; height: 2px; }
.faq-q .faq-icon::after { left: 9px; top: 1px; width: 2px; height: 18px; transition: transform .2s; }
.faq-item.is-open .faq-q .faq-icon::after { transform: rotate(90deg); }
.faq-a { padding: 0 22px; max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a-inner { padding: 0 0 20px; font-size: 15.5px; }
.faq-a-inner p:last-child { margin-bottom: 0; }

/* ---------- Blog ---------- */
.post-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-soft); display: flex; flex-direction: column; }
.post-card img { aspect-ratio: 16/9; width: 100%; object-fit: cover; }
.post-card-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.post-meta { font-size: 12.5px; color: var(--muted); display: flex; gap: 10px; align-items: center; margin-bottom: 10px; flex-wrap: wrap; }
.post-meta .tag { background: #FDF3DC; color: #9A6B08; font-weight: 700; padding: 3px 9px; border-radius: 999px; font-size: 11px; }
.post-card h3 { font-size: 1.25rem; margin-bottom: .4em; }
.post-card h3 a { color: var(--navy); }
.post-card h3 a:hover { color: var(--gold-text); }
.post-card .excerpt { font-size: 14.5px; margin: 0 0 16px; }
.post-card .card-link { margin-top: auto; }
.post-hero { padding: clamp(48px,7vw,84px) 0 0; }
.post-hero .container { max-width: 900px; }
.post-body { max-width: 780px; margin: 0 auto; font-size: 17px; }
.post-body h2 { font-size: 1.6rem; margin-top: 2em; }
.post-body h3 { font-size: 1.25rem; margin-top: 1.5em; }
.post-body blockquote { border-left: 3px solid var(--gold); margin: 1.6em 0; padding: 6px 0 6px 22px; color: var(--navy); font-weight: 500; font-style: italic; }
.post-body ul, .post-body ol { padding-left: 1.3em; }
.post-body li { margin-bottom: .6em; }
.post-cover { border-radius: var(--radius-lg); margin: 38px auto 0; max-width: 1080px; }
.post-cover img { width: 100%; border-radius: var(--radius-lg); aspect-ratio: 21/9; object-fit: cover; }
.post-footer-cta { background: var(--offwhite); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 34px; margin-top: 60px; text-align: center; }

/* ---------- Pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.price-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 34px 30px; box-shadow: var(--shadow-soft); display: flex; flex-direction: column; position: relative; }
.price-card.featured { background: linear-gradient(165deg, var(--navy-deep), var(--navy)); color: #fff; box-shadow: var(--shadow-navy); }
.price-card.featured .price-name, .price-card.featured .price-value, .price-card.featured h3 { color: #fff; }
.price-card.featured ul li { color: rgba(255,255,255,.9); }
.price-card.featured ul li::before { color: var(--gold-text); }
.price-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--gold); color: var(--navy-deep); font-size: 12px; font-weight: 800; padding: 6px 14px; border-radius: 999px; }
.price-name { font-size: 14px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.price { font-size: 15px; color: var(--muted); margin: 6px 0 0; }
.price-value { font-size: 2.6rem; font-weight: 800; color: var(--navy); letter-spacing: -0.02em; line-height: 1; margin: 16px 0 4px; }
.price-value small { font-size: .9rem; font-weight: 400; }
.price-per { font-size: 13.5px; color: var(--muted); margin-bottom: 20px; }
.price-card ul { list-style: none; margin: 0 0 26px; padding: 0; flex: 1; }
.price-card ul li { position: relative; padding-left: 26px; margin-bottom: 11px; font-size: 14.5px; color: var(--text); }
.price-card ul li::before { content: ''; position: absolute; left: 2px; top: 7px; width: 13px; height: 13px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.2 4.2L19 7' fill='none' stroke='%23E9A625' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center/contain; }
.explainer { background: var(--offwhite); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(24px,4vw,40px); }
.explainer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; }
.explainer-example { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); padding: 22px; font-size: 14.5px; }
.explainer-example h4 { margin-bottom: 12px; }
.explainer-example .row { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px dashed var(--border); }
.explainer-example .row:last-child { border-bottom: 0; font-weight: 800; color: var(--navy); }
.explainer-example .row small { color: var(--gold-text); font-weight: 700; }

/* ---------- Interior page hero ---------- */
.page-hero { padding: clamp(48px, 6vw, 76px) 0 0; }
.page-hero .container { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.page-hero h1 { font-size: clamp(2.1rem, 4.2vw, 3rem); }
.page-hero .crumb { font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 12px; }
.page-hero .crumb a { color: var(--muted); }
.page-hero img { border-radius: var(--radius-lg); box-shadow: var(--shadow-soft-lg); height: clamp(240px, 34vw, 340px); width: 100%; object-fit: cover; }

/* ---------- Two-col copy ---------- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(34px,5vw,60px); align-items: flex-start; }
.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li { position: relative; padding-left: 30px; margin-bottom: 14px; font-size: 15.5px; color: var(--text); }
.checklist li::before { content: ''; position: absolute; left: 2px; top: 5px; width: 16px; height: 16px; border-radius: 50%; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.2 4.2L19 7' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center/contain; background-color: var(--gold); }

/* ---------- Divider / misc ---------- */
.rule { border: 0; border-top: 1px solid var(--border); margin: 0; }
.lead { font-size: 1.12rem; color: var(--navy); font-weight: 500; }
.center { text-align: center; }
.muted { color: var(--muted); }
.mt-0 { margin-top: 0; }
.article { max-width: 860px; margin: 0 auto; }
.article h2 { margin-top: 1.6em; font-size: 1.7rem; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .price-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .feature-row { grid-template-columns: 1fr; }
  .feature-row.flex-reverse .feature-visual { order: 2; }
  .two-col, .explainer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  body { font-size: 16px; }
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; z-index: 999;
    background: #fff; border-bottom: 1px solid var(--border); box-shadow: 0 20px 40px -20px rgba(18,54,94,.3);
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: all .2s ease;
  }
  .main-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav-list { flex-direction: column; padding: 12px 16px 20px; gap: 2px; }
  .nav-link { width: 100%; justify-content: space-between; padding: 13px 10px; font-size: 17px; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; min-width: 0; border: 0; box-shadow: none; padding-left: 16px; display: none; }
  .nav-item.is-open .dropdown { display: block; }
  .hero-inner, .page-hero .container { grid-template-columns: 1fr; }
  .hero-media img { -webkit-mask-image: none; mask-image: none; height: 260px; }
  .dash-body { grid-template-columns: 1fr; }
  .dash-sidebar { flex-direction: row; justify-content: center; padding: 10px; }
  .stat-tiles { grid-template-columns: repeat(2, 1fr); }
  .dash-lower { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .metrics-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .steps::before { display: none; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .mini-window { overflow-x: auto; }
  .mini-table { font-size: 11.5px; min-width: 420px; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .site-footer, .cta-band, .hero-actions, .nav-toggle { display: none; }
  body { font-size: 13px; }
}
/* Respect users who ask for less motion. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Pricing: "what counts" callout + fleet-size calculator */
.callout { background: var(--offwhite); border: 1px solid var(--border); border-left: 4px solid var(--gold);
  border-radius: 12px; padding: 20px 24px; font-size: 15px; color: var(--text); }
.calc { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 28px;
  box-shadow: 0 8px 24px rgba(18,54,94,.06); }
.calc h3 { font-size: 18px; }
.calc-row { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; }
.calc-row label { font-size: 14px; white-space: nowrap; }
.calc-row input[type=range] { width: 100%; accent-color: var(--navy); height: 6px; }
.calc-row output { min-width: 3ch; text-align: right; font-weight: 800; font-size: 20px; color: var(--heading); }
.calc-out { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--border); }
.calc-total { font-size: 34px; font-weight: 800; color: var(--heading); letter-spacing: -.02em; line-height: 1.1; }
.calc-total small { font-size: 14px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.calc-break { margin: 8px 0 0; font-size: 14px; color: var(--text); }
.calc-eff { margin: 4px 0 0; }
@media (max-width: 600px) {
  .calc-row { grid-template-columns: 1fr auto; }
  .calc-row input[type=range] { grid-column: 1 / -1; }
}

/* Pricing: one plan priced by fleet size (brackets are volume, not tiers) */
.plan-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.plan-rates { background: var(--navy-deep); color: #fff; border-radius: 18px; padding: 34px; }
.plan-title { color: #fff; font-size: clamp(1.5rem, 2.4vw, 2rem); margin-bottom: 8px; }
.plan-sub { color: rgba(255,255,255,.78); font-size: 15px; margin-bottom: 24px; }
.plan-rates .form-note { color: rgba(255,255,255,.62); }
.rate-table { width: 100%; border-collapse: collapse; }
.rate-table th, .rate-table td { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.14); text-align: left; }
.rate-table tr:last-child th, .rate-table tr:last-child td { border-bottom: 0; }
.rate-table th { font-weight: 600; font-size: 15px; color: rgba(255,255,255,.85); }
.rate-table td { text-align: right; white-space: nowrap; }
.rate-table td strong { font-size: 24px; font-weight: 800; color: var(--gold); letter-spacing: -.02em; }
.rate-table td span { font-size: 13px; color: rgba(255,255,255,.62); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.included { margin-top: 48px; }
.incl-grid { list-style: none; margin: 0; padding: 0; display: grid;
  grid-template-columns: repeat(3, 1fr); gap: 12px 28px; }
.incl-grid li { position: relative; padding-left: 28px; font-size: 15px; color: var(--text); line-height: 1.5; }
.incl-grid li::before { content: ''; position: absolute; left: 0; top: 3px; width: 18px; height: 18px;
  border-radius: 50%; background-color: var(--gold);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.2 4.2L19 7' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center; background-size: 12px; }
@media (max-width: 900px) {
  .plan-panel { grid-template-columns: 1fr; }
  .incl-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) { .incl-grid { grid-template-columns: 1fr; } }
