/* Solving Dispatch website: home, sign in, create account, terms, privacy */
:root {
  --ink: #0f2419; --ink-2: #33493d; --muted: #5d7366; --line: #e2ebe5; --bg: #ffffff; --soft: #f4f9f6;
  --brand: #16a34a; --brand-d: #15803d; --brand-dd: #14532d; --brand-l: #e7f6ed; --brand-ll: #f3fbf6;
  --red: #c2372c; --red-l: #fdeceb; --amber: #b7791f; --blue: #2563a8;
  --radius: 16px; --shadow: 0 1px 2px rgba(15,36,25,.05), 0 8px 28px rgba(15,36,25,.06);
  --shadow-lg: 0 24px 60px rgba(15,36,25,.16); --ease: cubic-bezier(.2,.7,.2,1);
  --wrap: 1160px;
  --surface: #fff; --surface-2: #f6faf7; --surface-3: #f7faf8; --hdr-bg: rgba(255,255,255,.85); --line-strong: #c8d9ce;
  --input-line: #d5e2d9; --brand-border: #cfe9d9; --hover-border: #cfe1d5; --mock-border: #dbe7df; --dot: #dfe7e2;
  --glow-1: #dcf5e5; --glow-1b: rgba(220,245,229,0); --glow-2: #effaf3; --glow-2b: rgba(239,250,243,0); --ftr-bg: #fbfdfc;
  --sep: #a9bdb0; --err-border: #f3c9c4; --fill-d: #15803d;
  --p-open: #fdf3dc; --p-open-i: #8a5a10; --p-cov: #e6f0fb; --p-cov-i: #1e4f88; --p-tr: #ede9fe; --p-tr-i: #5b3fb5; --p-paid: #e2f6ea; --p-paid-i: #126b38;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html { background: var(--bg); }
body { margin: 0; font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -.02em; }
p { margin: 0; }
a { color: var(--brand-d); }
img { max-width: 100%; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; font-weight: 650; font-size: 15px; padding: 10px 18px; border-radius: 12px; text-decoration: none; cursor: pointer; transition: transform .12s var(--ease), box-shadow .2s, background .2s, border-color .2s; white-space: nowrap; }
.btn:hover { border-color: var(--line-strong); background: var(--brand-ll); }
.btn:active { transform: scale(.98); }
.btn.primary { background: linear-gradient(180deg, #22b455, var(--brand)); border-color: var(--fill-d); color: #fff; box-shadow: 0 2px 10px rgba(22,163,74,.3); }
.btn.primary:hover { background: linear-gradient(180deg, var(--brand), var(--fill-d)); box-shadow: 0 6px 20px rgba(22,163,74,.36); }
.btn.lg { padding: 14px 24px; font-size: 16.5px; border-radius: 14px; }
.btn.ghost { border-color: transparent; background: transparent; }
.btn.ghost:hover { background: var(--brand-ll); }
.btn.white { background: #fff; color: #14532d; border-color: #fff; }
.btn.white:hover { background: #f0fbf4; }
.btn[disabled] { opacity: .65; cursor: wait; }
.arrow { transition: transform .2s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* header */
.hdr { position: sticky; top: 0; z-index: 50; background: var(--hdr-bg); backdrop-filter: saturate(1.5) blur(14px); -webkit-backdrop-filter: saturate(1.5) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.hdr.scrolled { border-bottom-color: var(--line); }
.hdr .wrap { display: flex; align-items: center; gap: 28px; height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 750; font-size: 17px; color: var(--ink); text-decoration: none; letter-spacing: -.01em; }
.mark { width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(135deg, #22c55e, var(--fill-d)); display: grid; place-items: center; box-shadow: 0 4px 12px rgba(22,163,74,.35); flex: none; }
.nav { display: flex; gap: 4px; }
.nav a { color: var(--ink-2); text-decoration: none; font-weight: 550; font-size: 15px; padding: 8px 12px; border-radius: 10px; transition: background .15s, color .15s; }
.nav a:hover { background: var(--brand-ll); color: var(--brand-dd); }
.hdr .spacer { flex: 1; }
.hdr-cta { display: flex; gap: 8px; align-items: center; }
.menu-btn { display: none; border: 1px solid var(--line); background: var(--surface); border-radius: 10px; width: 42px; height: 42px; cursor: pointer; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; margin: 0 auto; position: relative; transition: transform .2s; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -6px; } .menu-btn span::after { top: 6px; }
.hdr.open .menu-btn span { background: transparent; }
.hdr.open .menu-btn span::before { transform: translateY(6px) rotate(45deg); }
.hdr.open .menu-btn span::after { transform: translateY(-6px) rotate(-45deg); }

/* hero */
.hero { position: relative; overflow: hidden; padding: 72px 0 88px; background:
  radial-gradient(900px 480px at 85% -10%, var(--glow-1) 0%, var(--glow-1b) 60%),
  radial-gradient(700px 400px at -10% 30%, var(--glow-2) 0%, var(--glow-2b) 60%); }
.hero .wrap { display: grid; grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 8px; border-radius: 999px; background: var(--surface); border: 1px solid var(--brand-border); color: var(--brand-dd); font-weight: 650; font-size: 13.5px; box-shadow: var(--shadow); }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px rgba(22,163,74,.18); }
.hero h1 { font-size: clamp(38px, 5.2vw, 60px); margin: 22px 0 18px; letter-spacing: -.035em; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--brand-d), #22c55e); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { font-size: clamp(17px, 1.6vw, 19.5px); color: var(--ink-2); max-width: 560px; }
.hero .ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.ticks { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 22px; padding: 0; list-style: none; color: var(--muted); font-size: 14.5px; font-weight: 550; }
.ticks li { display: flex; align-items: center; gap: 7px; }
.ticks svg { color: var(--brand); flex: none; }

/* product mockup */
.mock-wrap { position: relative; }
.mock { background: var(--surface); border: 1px solid var(--mock-border); border-radius: 18px; box-shadow: var(--shadow-lg); overflow: hidden; transform: perspective(1600px) rotateY(-6deg) rotateX(2deg); transform-origin: left center; animation: float-in .9s var(--ease) both; }
@keyframes float-in { from { opacity: 0; transform: perspective(1600px) rotateY(-6deg) rotateX(2deg) translateY(24px); } }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 11px 14px; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--dot); }
.mock-bar .url { margin-left: 10px; flex: 1; max-width: 260px; height: 22px; border-radius: 7px; background: var(--surface); border: 1px solid var(--line); font-size: 11px; color: var(--muted); display: flex; align-items: center; padding: 0 9px; }
.mock-body { display: grid; grid-template-columns: 128px 1fr; min-height: 360px; }
.mock-side { border-right: 1px solid var(--line); padding: 14px 10px; display: flex; flex-direction: column; gap: 4px; }
.mock-side .mb { display: flex; align-items: center; gap: 7px; font-weight: 750; font-size: 11.5px; margin-bottom: 10px; }
.mock-side .mb .mark { width: 22px; height: 22px; border-radius: 7px; box-shadow: none; }
.mock-side span { display: block; font-size: 11px; color: var(--ink-2); padding: 6px 8px; border-radius: 7px; font-weight: 550; }
.mock-side span.on { background: var(--brand-l); color: var(--brand-dd); font-weight: 700; box-shadow: inset 2px 0 0 var(--brand); }
.mock-main { padding: 16px; background: var(--surface-3); min-width: 0; }
.mock-main h4 { font-size: 14px; margin-bottom: 10px; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; }
.kpi { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; }
.kpi small { display: block; font-size: 9.5px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.kpi b { font-size: 17px; letter-spacing: -.02em; }
.kpi b.g { color: var(--brand-d); }
.rows { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.row { display: grid; grid-template-columns: 62px 1fr auto; gap: 8px; align-items: center; padding: 8px 10px; border-top: 1px solid var(--line); font-size: 11px; }
.row:first-child { border-top: 0; }
.row b { font-size: 11px; }
.row .lane { color: var(--ink); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row .lane small { display: block; color: var(--muted); font-weight: 500; font-size: 10px; }
.pill { display: inline-block; font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.p-open { background: var(--p-open); color: var(--p-open-i); } .p-covered { background: var(--p-cov); color: var(--p-cov-i); } .p-transit { background: var(--p-tr); color: var(--p-tr-i); }
.p-delivered { background: var(--brand-l); color: var(--brand-dd); } .p-paid { background: var(--p-paid); color: var(--p-paid-i); }
.float { position: absolute; display: flex; align-items: center; gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px; box-shadow: var(--shadow-lg); font-size: 13px; font-weight: 600; animation: bob 5s ease-in-out infinite; }
.float small { display: block; color: var(--muted); font-weight: 500; font-size: 12px; }
.float .ic { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--brand-l); color: var(--brand-d); flex: none; }
.float.f1 { left: -28px; bottom: 34px; }
.float.f2 { right: -14px; top: -26px; animation-delay: -2.5s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* sections */
section { padding: 96px 0; }
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 52px; }
.kicker { display: inline-block; font-size: 13px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-d); margin-bottom: 12px; }
.sec-head h2 { font-size: clamp(30px, 3.6vw, 42px); margin-bottom: 14px; }
.sec-head p { color: var(--muted); font-size: 18px; }
.alt { background: var(--soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* lifecycle strip */
.flow { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; margin: -12px auto 56px; max-width: 960px; }
.flow .step { padding: 8px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-weight: 650; font-size: 14px; box-shadow: 0 1px 2px rgba(15,36,25,.04); }
.flow .step.last { background: var(--brand); border-color: var(--fill-d); color: #fff; }
.flow .sep { color: var(--sep); }

/* features */
.features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.feat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; }
.feat:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--hover-border); }
.feat .fi { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-l); color: var(--brand-d); margin-bottom: 16px; }
.feat h3 { font-size: 17.5px; margin-bottom: 8px; }
.feat p { color: var(--muted); font-size: 15px; }

/* how it works */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; counter-reset: s; }
.stepc { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.stepc .n { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; background: linear-gradient(135deg, #22c55e, var(--fill-d)); margin-bottom: 16px; box-shadow: 0 4px 12px rgba(22,163,74,.3); }
.stepc h3 { font-size: 19px; margin-bottom: 8px; }
.stepc p { color: var(--muted); }

/* pricing */
.price-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; max-width: 980px; margin: 0 auto; }
.price { background: var(--surface); border: 2px solid var(--brand); border-radius: 22px; padding: 34px; box-shadow: var(--shadow-lg); position: relative; }
.price .tag { position: absolute; top: -14px; left: 34px; background: var(--brand); color: #fff; font-size: 12.5px; font-weight: 750; letter-spacing: .04em; padding: 5px 12px; border-radius: 999px; }
.price h3 { font-size: 22px; }
.price .amt { display: flex; align-items: baseline; gap: 8px; margin: 14px 0 6px; }
.price .amt b { font-size: 56px; letter-spacing: -.04em; line-height: 1; }
.price .amt span { color: var(--muted); font-weight: 600; }
.price .sub { color: var(--muted); margin-bottom: 22px; }
.checks { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 11px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks svg { color: var(--brand); flex: none; margin-top: 3px; }
.price .btn { width: 100%; }
.price-note h3 { font-size: 26px; margin-bottom: 14px; }
.price-note p { color: var(--ink-2); margin-bottom: 14px; }
.price-note .muted { color: var(--muted); font-size: 15px; }

/* contact */
.contacts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 860px; margin: 0 auto; }
.contact { display: flex; gap: 18px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; text-decoration: none; color: inherit; transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; }
.contact:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--hover-border); }
.contact .fi { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--brand-l); color: var(--brand-d); flex: none; }
.contact h3 { font-size: 18px; margin-bottom: 4px; }
.contact p { color: var(--muted); font-size: 15px; margin-bottom: 8px; }
.contact .em { color: var(--brand-d); font-weight: 700; word-break: break-all; }

/* final call to action */
.cta-band { padding: 88px 0 96px; }
.cta-box { border-radius: 26px; padding: 56px; background: radial-gradient(600px 300px at 100% 0%, rgba(255,255,255,.18), rgba(255,255,255,0) 60%), linear-gradient(135deg, #16a34a, #14532d); color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 32px; box-shadow: 0 24px 60px rgba(20,83,45,.3); }
.cta-box h2 { font-size: clamp(28px, 3.2vw, 38px); margin-bottom: 10px; }
.cta-box p { color: #d4f3df; font-size: 18px; }

/* footer */
.ftr { border-top: 1px solid var(--line); padding: 44px 0 36px; background: var(--ftr-bg); font-size: 15px; }
.ftr .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 28px; }
.ftr h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 12px; }
.ftr ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.ftr a { color: var(--ink-2); text-decoration: none; }
.ftr a:hover { color: var(--brand-d); }
.ftr .about { color: var(--muted); margin-top: 12px; max-width: 300px; }
.ftr .legal { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13.5px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* reveal on scroll */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } .mock, .float { animation: none; } html { scroll-behavior: auto; } }

/* auth pages (sign in / create account) */
.auth { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.auth-side { position: relative; overflow: hidden; background: radial-gradient(700px 400px at 100% 0%, rgba(255,255,255,.16), rgba(255,255,255,0) 60%), linear-gradient(150deg, #16a34a 0%, #14532d 100%); color: #fff; padding: 48px 56px; display: flex; flex-direction: column; }
.auth-side .brand { color: #fff; }
.auth-side .brand .mark { background: rgba(255,255,255,.18); box-shadow: none; border: 1px solid rgba(255,255,255,.3); }
.auth-side .pitch { margin: auto 0; max-width: 470px; }
.auth-side h2 { font-size: clamp(30px, 3vw, 40px); margin-bottom: 16px; letter-spacing: -.03em; }
.auth-side p { color: #d4f3df; font-size: 17.5px; }
.auth-side .checks { margin-top: 28px; }
.auth-side .checks li { color: #ecfbf1; }
.auth-side .checks svg { color: #86efac; }
.auth-side .foot { color: #bfe8cc; font-size: 14px; }
.auth-side .foot a { color: #fff; }
.auth-main { display: flex; align-items: center; justify-content: center; padding: 40px 24px; background: var(--surface); }
.auth-card { width: 100%; max-width: 420px; }
.auth-card .mobile-brand { display: none; margin-bottom: 26px; }
.auth-card h1 { font-size: 30px; margin-bottom: 6px; letter-spacing: -.03em; }
.auth-card .sub { color: var(--muted); margin-bottom: 28px; }
.fld { margin-bottom: 16px; }
.fld label { display: block; font-weight: 650; font-size: 14px; margin-bottom: 6px; color: var(--ink-2); }
.fld label .opt { color: var(--muted); font-weight: 500; }
.fld input { width: 100%; font: inherit; font-size: 16px; padding: 12px 14px; border: 1px solid var(--input-line); border-radius: 12px; background: var(--surface); color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.fld input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(22,163,74,.15); }
.fld .hint { font-size: 13px; color: var(--muted); margin-top: 6px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pw { position: relative; }
.pw input { padding-right: 70px; }
.pw button { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); border: 0; background: none; color: var(--brand-d); font: inherit; font-weight: 650; font-size: 13.5px; cursor: pointer; padding: 6px 8px; border-radius: 8px; }
.pw button:hover { background: var(--brand-ll); }
.agree { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--ink-2); margin: 6px 0 20px; }
.agree input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--brand); flex: none; }
.err { display: none; background: var(--red-l); color: var(--red); border: 1px solid var(--err-border); padding: 10px 14px; border-radius: 12px; font-size: 14.5px; margin-bottom: 16px; font-weight: 550; }
.err.show { display: block; animation: shake .35s; }
.ok-msg { background: var(--brand-ll); color: var(--brand-dd); border: 1px solid var(--brand-border); padding: 10px 14px; border-radius: 12px; font-size: 14.5px; margin-bottom: 16px; font-weight: 550; }
@keyframes shake { 0%, 100% { transform: none; } 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.auth-card .btn.primary { width: 100%; padding: 13px; font-size: 16px; }
.alt-link { text-align: center; margin-top: 22px; color: var(--muted); font-size: 15px; }
.alt-link a { font-weight: 650; }
.row-between { display: flex; justify-content: space-between; align-items: center; margin: -4px 0 18px; font-size: 14px; }
.linkish { background: none; border: 0; padding: 0; color: var(--brand-d); font: inherit; font-weight: 600; cursor: pointer; }
.forgot { display: none; background: var(--soft); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; font-size: 14px; color: var(--ink-2); margin-bottom: 18px; }
.forgot.show { display: block; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.back { display: flex; width: fit-content; align-items: center; gap: 6px; color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 600; margin-bottom: 28px; }
.back:hover { color: var(--brand-d); }

/* legal pages */
.doc { max-width: 760px; margin: 0 auto; padding: 56px 24px 96px; }
.doc h1 { font-size: clamp(32px, 4vw, 42px); margin-bottom: 8px; }
.doc .updated { color: var(--muted); margin-bottom: 30px; }
.doc .callout { background: var(--brand-ll); border: 1px solid var(--brand-border); border-radius: 14px; padding: 16px 18px; margin-bottom: 32px; color: var(--ink-2); }
.doc h2 { font-size: 21px; margin: 34px 0 10px; }
.doc p, .doc li { color: var(--ink-2); }
.doc p { margin-bottom: 12px; }
.doc ul { padding-left: 22px; margin: 0 0 12px; }
.doc li { margin-bottom: 6px; }

/* responsive */
@media (max-width: 1040px) {
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .float.f1 { left: -10px; } .float.f2 { right: -6px; }
}
@media (max-width: 900px) {
  .nav, .hdr-cta .ghost { display: none; }
  .menu-btn { display: block; }
  .hdr.open .nav { display: flex; flex-direction: column; position: absolute; top: 70px; left: 0; right: 0; background: var(--surface); border-bottom: 1px solid var(--line); padding: 10px 16px 16px; box-shadow: 0 16px 30px rgba(15,36,25,.08); }
  .hdr.open .nav a { padding: 12px; font-size: 16px; }
  .hdr.open .nav .only-m { display: block; }
  .hero { padding: 44px 0 64px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 44px; }
  .mock { transform: none; animation: none; }
  .steps, .price-wrap, .contacts { grid-template-columns: 1fr; }
  .cta-box { flex-direction: column; align-items: flex-start; padding: 40px 30px; }
  .ftr .cols { grid-template-columns: 1fr 1fr; }
  .auth { grid-template-columns: 1fr; }
  .auth-side { display: none; }
  .auth-card .mobile-brand { display: flex; width: fit-content; }
  section { padding: 72px 0; }
}
.nav .only-m { display: none; }
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .hdr .wrap { gap: 12px; }
  .hdr-cta .primary { padding: 9px 14px; font-size: 14px; }
  .features { grid-template-columns: 1fr; }
  .mock-body { grid-template-columns: 1fr; }
  .mock-side { display: none; }
  .kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .float { display: none; }
  .hero .ctas .btn { width: 100%; }
  .two { grid-template-columns: 1fr; }
  .ftr .cols { grid-template-columns: 1fr; }
  .price { padding: 28px 22px; }
  .cta-box { padding: 32px 22px; border-radius: 20px; }
  .cta-box .btn { width: 100%; }
}
.brand { white-space: nowrap; }
@media (max-width: 420px) {
  .hdr .brand { font-size: 15.5px; gap: 8px; }
  .hdr .mark { width: 30px; height: 30px; }
  .hdr-cta .primary { padding: 8px 12px; font-size: 13.5px; }
  .menu-btn { width: 38px; height: 38px; }
}
.contact .dept { display: block; font-size: 18px; font-weight: 750; letter-spacing: -.01em; margin-bottom: 4px; }
.deptlist li { display: grid; gap: 1px; }
.deptlist li span { font-size: 12.5px; font-weight: 650; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }

/* ---------------------------------------------------------------- night mode */
:root[data-theme="dark"] {
  color-scheme: dark;
  --ink: #ffffff; --ink-2: #f0f6f2; --muted: #d3ded7; --line: #24332b; --bg: #0a100d; --soft: #0d1511;
  --surface: #111a15; --surface-2: #0e1612; --surface-3: #0c130f; --hdr-bg: rgba(10,16,13,.8); --line-strong: #2d4136;
  --brand: #16a34a; --brand-d: #4ade80; --brand-dd: #86efac; --brand-l: rgba(34,197,94,.15); --brand-ll: rgba(34,197,94,.07);
  --red: #f87171; --red-l: rgba(248,113,113,.12); --err-border: rgba(248,113,113,.3);
  --input-line: #2a3b31; --brand-border: rgba(74,222,128,.25); --hover-border: #2d4136; --mock-border: #24342b; --dot: #26352d;
  --glow-1: rgba(22,163,74,.24); --glow-1b: rgba(22,163,74,0); --glow-2: rgba(22,163,74,.10); --glow-2b: rgba(22,163,74,0);
  --ftr-bg: #0c130f; --sep: #b9c9bf;
  --p-open: rgba(251,191,36,.14); --p-open-i: #fcd34d; --p-cov: rgba(96,165,250,.15); --p-cov-i: #93c5fd;
  --p-tr: rgba(167,139,250,.16); --p-tr-i: #c4b5fd; --p-paid: rgba(74,222,128,.13); --p-paid-i: #86efac;
  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 8px 28px rgba(0,0,0,.3); --shadow-lg: 0 24px 60px rgba(0,0,0,.6);
}
:root[data-theme="dark"] .cta-box { box-shadow: 0 24px 60px rgba(0,0,0,.5); }
:root[data-theme="dark"] .btn.white { background: #0a100d; color: #fff; border-color: #0a100d; }
:root[data-theme="dark"] .btn.white:hover { background: #111a15; }
:root[data-theme="dark"] .auth-side p, :root[data-theme="dark"] .auth-side .foot, :root[data-theme="dark"] .cta-box p { color: #fff; }
:root[data-theme="dark"] .auth-side { background: radial-gradient(700px 400px at 100% 0%, rgba(74,222,128,.14), rgba(74,222,128,0) 60%), linear-gradient(150deg, #0f3d22 0%, #07160d 100%); }
html.theme-anim, html.theme-anim * { transition: background-color .25s ease, border-color .25s ease, color .25s ease !important; }

/* day / night switch */
.theme-btn { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; flex: none; transition: background .15s, border-color .15s, transform .1s; }
.theme-btn:hover { background: var(--brand-ll); border-color: var(--line-strong); }
.theme-btn:active { transform: scale(.95); }
.theme-btn .sun { display: none; }
:root[data-theme="dark"] .theme-btn .sun { display: block; }
:root[data-theme="dark"] .theme-btn .moon { display: none; }
.auth-main { position: relative; }
.auth-main .theme-btn { position: absolute; top: 20px; right: 20px; }
@media (max-width: 420px) { .hdr .theme-btn { width: 38px; height: 38px; } }
.nav .navtheme { background: none; border: 0; font: inherit; text-align: left; color: var(--ink-2); font-weight: 550; padding: 12px; border-radius: 10px; cursor: pointer; }
.nav .navtheme:hover { background: var(--brand-ll); }
.navtheme .sun { display: none; }
:root[data-theme="dark"] .navtheme .sun { display: inline; }
:root[data-theme="dark"] .navtheme .moon { display: none; }
@media (max-width: 560px) { .hdr-cta:has(.menu-btn) .theme-btn { display: none; } }
:root[data-theme="dark"] ::placeholder { color: #aebdb4; opacity: 1; }

/* broker / carrier wording on the sign-in page (html[data-as] is set from ?as=…) */
html:not([data-as="broker"]):not([data-as="carrier"]) .for-broker:not(.for-any),
html:not([data-as="broker"]):not([data-as="carrier"]) .for-carrier:not(.for-any) { display: none; }
html[data-as="broker"] .for-any:not(.for-broker), html[data-as="broker"] .for-carrier:not(.for-broker) { display: none; }
html[data-as="carrier"] .for-any:not(.for-carrier), html[data-as="carrier"] .for-broker:not(.for-carrier) { display: none; }
.switch-login { margin-top: 8px; font-size: 14.5px; }

/* header "Log in" menu */
.logindd { position: relative; }
.logindd .btn svg { transition: transform .2s; }
.logindd.open .btn svg { transform: rotate(180deg); }
.ddmenu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 250px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); padding: 6px; z-index: 60; }
.ddmenu[hidden] { display: none; }
.ddmenu a { display: block; padding: 10px 12px; border-radius: 10px; text-decoration: none; color: var(--ink); }
.ddmenu a:hover { background: var(--brand-ll); }
.ddmenu b { display: block; font-size: 15px; }
.ddmenu small { color: var(--muted); font-size: 13px; }
.logins { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 16px; font-size: 15px; color: var(--muted); }
.logins a { font-weight: 650; text-decoration: none; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink); }
.logins a:hover { border-color: var(--brand); color: var(--brand-d); }

/* features tabs */
.tabs { display: flex; justify-content: center; gap: 6px; margin: -16px auto 30px; padding: 5px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; width: fit-content; max-width: 100%; flex-wrap: wrap; }
.tab { border: 0; background: none; font: inherit; font-weight: 650; font-size: 15px; color: var(--muted); padding: 9px 18px; border-radius: 999px; cursor: pointer; transition: background .15s, color .15s; }
.tab:hover { color: var(--ink); }
.tab.on { background: var(--brand); color: #fff; }
.tabpanel[hidden] { display: none; }

/* sign-up: company type */
.kindpick { border: 0; padding: 0; margin: 0 0 18px; }
.kindpick legend { font-weight: 650; font-size: 14px; color: var(--ink-2); margin-bottom: 8px; padding: 0; }
.kindpick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.kindpick legend { grid-column: 1 / -1; }
.kopt { position: relative; cursor: pointer; }
.kopt input { position: absolute; opacity: 0; pointer-events: none; }
.kopt span { display: block; height: 100%; padding: 11px 12px; border: 1.5px solid var(--input-line); border-radius: 12px; transition: border-color .15s, background .15s, box-shadow .15s; }
.kopt b { display: block; font-size: 14.5px; }
.kopt small { color: var(--muted); font-size: 12.5px; }
.kopt input:checked + span { border-color: var(--brand); background: var(--brand-ll); box-shadow: 0 0 0 3px rgba(22,163,74,.12); }
.kopt input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }
@media (max-width: 420px) { .kindpick { grid-template-columns: 1fr; } }
@media (max-width: 900px) { .logindd { display: none; } }

/* Solving Dispatch logo: day version in day mode, night version in night mode */
:root[data-theme="dark"] .only-day { display: none !important; }
:root:not([data-theme="dark"]) .only-night { display: none !important; }
.mark.sd { background: none; width: 40px; height: 40px; border-radius: 24%; overflow: hidden; box-shadow: 0 4px 14px rgba(15,36,25,.18); }
.mark.sd img { width: 100%; height: 100%; display: block; }
:root[data-theme="dark"] .mark.sd { box-shadow: 0 0 0 1px rgba(74,222,128,.18), 0 6px 18px rgba(0,0,0,.5); }
.wm { text-transform: uppercase; font-weight: 800; letter-spacing: .035em; font-size: 16px; line-height: 1; }
.wm-a { background: linear-gradient(180deg, #1f9d55, #15803d); -webkit-background-clip: text; background-clip: text; color: transparent; }
.wm-b { background: linear-gradient(180deg, #7b8682, #4b5551); -webkit-background-clip: text; background-clip: text; color: transparent; }
:root[data-theme="dark"] .wm-a { background-image: linear-gradient(180deg, #34d36f, #16a34a); }
:root[data-theme="dark"] .wm-b { background-image: linear-gradient(180deg, #ffffff, #b4bdb8); }
.auth-side .brand .mark.sd { background: none; border: 0; }
.auth-side .wm-a { background-image: none !important; color: #bbf7d0 !important; }
.auth-side .wm-b { background-image: none !important; color: #fff !important; }
.bigmark.mark.sd { width: 84px; height: 84px; margin-bottom: 22px; box-shadow: 0 12px 34px rgba(0,0,0,.28); }
@media (max-width: 420px) { .hdr .mark.sd { width: 34px; height: 34px; } .hdr .wm { font-size: 14px; } }
/* footer signature */
.sig-brief .about { margin-top: 12px; }
.sig-lines { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 4px; color: var(--muted); font-size: 14.5px; }
.sig-lines a { color: var(--brand-d); font-weight: 650; }
.ftr .cols { grid-template-columns: 2fr 1fr 1fr; }
@media (max-width: 900px) { .ftr .cols { grid-template-columns: 1fr 1fr; } .sig-brief { grid-column: 1 / -1; } }
@media (max-width: 560px) { .ftr .cols { grid-template-columns: 1fr; } }
.nav .navsignup { color: var(--brand-d); font-weight: 700; }
.ddmenu .ddsignup { border-top: 1px solid var(--line); margin-top: 4px; border-radius: 0 0 10px 10px; }
.ddmenu .ddsignup b { color: var(--brand-d); }
@media (max-width: 420px) { .hdr-cta .free-word { display: none; } }
.hdr-cta a.btn.primary { gap: 0; }
.hdr-cta .free-word { margin-left: .28em; }
