:root {
  --ink: #0a1628;
  --navy: #0c1f3d;
  --navy-2: #12305e;
  --blue: #1f5eff;
  --blue-dark: #1547cc;
  --blue-soft: #eef3ff;
  --bg: #f5f7fb;
  --card: #ffffff;
  --text: #101c30;
  --muted: #5b6880;
  --line: #e1e6ef;
  --line-2: #cfd7e4;
  --soft: #f8fafd;
  --ok: #0f9d58;
  --ok-soft: #e8f6ee;
  --warn: #b7791f;
  --warn-soft: #fdf6e7;
  --err: #d23b3b;
  --err-soft: #fdeeee;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(10,22,40,.06), 0 12px 40px rgba(10,22,40,.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; }
body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; font-size: 15px;
}
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 820px; }
[hidden] { display: none !important; }
svg { flex-shrink: 0; }
a { color: inherit; }

/* Header */
.topbar { background: var(--ink); color: #fff; position: sticky; top: 0; z-index: 10; border-bottom: 1px solid rgba(255,255,255,.06); }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo {
  width: 40px; height: 40px; border-radius: 10px; background: linear-gradient(135deg, #3b7bff, #1745c9);
  display: grid; place-items: center; font-weight: 800; letter-spacing: .5px; color: #fff; font-size: 15px;
  overflow: hidden;
}
.logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.brand-name { font-weight: 700; font-size: 16px; letter-spacing: -.2px; }
.brand-sub { font-size: 12px; color: #8fa0bd; }
.nav { display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 500; }
.nav a { text-decoration: none; color: #c3cee0; }
.nav a:hover { color: #fff; }
.nav-cta {
  display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(255,255,255,.18);
  padding: 9px 14px; border-radius: 10px; color: #fff !important;
}
.nav-cta svg { width: 16px; height: 16px; }
.nav-cta:hover { background: rgba(255,255,255,.06); }

/* Hero */
.hero {
  background:
    radial-gradient(900px 420px at 0% 0%, rgba(31,94,255,.22), transparent 60%),
    linear-gradient(180deg, var(--ink) 0, var(--navy) 420px, var(--bg) 420px);
  padding: 56px 0 72px;
}
.hero-inner { display: grid; grid-template-columns: 1fr 520px; gap: 56px; align-items: start; }
.hero-text { color: #fff; padding-top: 18px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: #b9c6dc; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 4px rgba(52,211,153,.18); }
.hero-text h1 { font-size: 46px; line-height: 1.08; margin: 18px 0 16px; letter-spacing: -1.2px; font-weight: 800; }
.hero-text h1 span { color: #7fa6ff; }
.lead { color: #b9c6dc; font-size: 17px; line-height: 1.6; margin: 0 0 32px; max-width: 520px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,.1); border-radius: 14px; overflow: hidden; max-width: 540px; margin-bottom: 120px; }
.stat { background: rgba(12,31,61,.9); padding: 18px 20px; }
.stat b { display: block; font-size: 24px; letter-spacing: -.5px; }
.stat span { font-size: 13px; color: #9fb0cb; }
.trust { display: grid; gap: 12px; max-width: 540px; }
.trust-item {
  display: flex; align-items: center; gap: 14px; background: var(--card); color: var(--text);
  border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px;
}
.trust-item svg { width: 22px; height: 22px; color: var(--blue); }
.trust-item b { display: block; font-size: 15px; }
.trust-item span { font-size: 13px; color: var(--muted); }

/* Card */
.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px 30px 30px; border: 1px solid rgba(10,22,40,.04); }
.form-card { scroll-margin-top: 90px; }
.form-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 14px; }
.form-kicker { font-size: 12px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; color: var(--blue); }
.form-step-label { font-size: 13px; color: var(--muted); margin-top: 2px; }
.secure { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--ok); background: var(--ok-soft); padding: 5px 10px; border-radius: 99px; }
.secure svg { width: 13px; height: 13px; }
.progress { height: 4px; background: var(--line); border-radius: 99px; overflow: hidden; }
.progress-bar { height: 100%; background: var(--blue); width: 25%; transition: width .35s ease; border-radius: 99px; }
.stepper { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); padding: 0; margin: 10px 0 26px; font-size: 12px; font-weight: 600; color: #9aa6ba; }
.stepper li.active { color: var(--text); }
.stepper li.done { color: var(--blue); }
.form-card h2 { margin: 0 0 4px; font-size: 21px; letter-spacing: -.3px; }
.muted { color: var(--muted); margin: 0 0 22px; line-height: 1.55; }

/* Fields */
.field { display: block; margin-bottom: 16px; }
.field > span { display: block; font-size: 13px; font-weight: 600; margin-bottom: 7px; }
.field i { font-style: normal; color: var(--muted); font-weight: 400; }
input:not([type]), input[type=text], input[type=tel], input[type=email] {
  width: 100%; height: 46px; border: 1px solid var(--line-2); border-radius: 10px; padding: 0 14px;
  font: inherit; font-size: 15px; color: var(--text); background: #fff; transition: border-color .15s, box-shadow .15s;
}
input::placeholder { color: #9aa6ba; }
input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(31,94,255,.12); }
input.invalid { border-color: var(--err); }
input.filled { background: var(--soft); }
.lookup { display: flex; gap: 8px; }
.input-prefix { display: flex; flex: 1; }
.input-prefix em {
  font-style: normal; display: grid; place-items: center; padding: 0 14px; background: var(--soft);
  border: 1px solid var(--line-2); border-right: 0; border-radius: 10px 0 0 10px; font-weight: 700; color: var(--muted); font-size: 14px;
}
.input-prefix input { border-radius: 0 10px 10px 0; font-weight: 600; letter-spacing: .5px; }
.err { display: block; color: var(--err); font-size: 13px; margin-top: 6px; }
.err:empty { display: none; }
.err.block { margin: -4px 0 12px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }

/* Buttons */
.actions { display: flex; justify-content: space-between; align-items: center; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 22px; border-radius: 10px; font: inherit; font-weight: 600; font-size: 15px;
  cursor: pointer; border: 0; transition: background .15s, transform .05s, border-color .15s; text-decoration: none; white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--blue); color: #fff; min-width: 140px; }
.btn.primary:hover { background: var(--blue-dark); }
.btn:disabled { opacity: .6; cursor: default; }
.btn.secondary { background: var(--ink); color: #fff; min-width: 112px; }
.btn.secondary:hover { background: var(--navy-2); }
.btn.ghost { background: transparent; color: var(--muted); padding: 0 6px; }
.btn.ghost:hover { color: var(--text); }
.btn.light { background: #fff; color: var(--ink); }
.btn.outline-light { border: 1px solid rgba(255,255,255,.35); color: #fff; }
.btn.outline-light:hover { background: rgba(255,255,255,.08); }
.spinner { width: 16px; height: 16px; border: 2px solid rgba(255,255,255,.35); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Carrier lookup result */
.carrier { border: 1px solid var(--line); border-radius: 12px; margin: -4px 0 18px; overflow: hidden; animation: fade .25s ease; }
.carrier-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; background: var(--soft); border-bottom: 1px solid var(--line); }
.carrier-name { font-weight: 700; font-size: 15px; }
.carrier-dba { font-size: 13px; color: var(--muted); }
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 99px; white-space: nowrap; }
.badge svg { width: 13px; height: 13px; }
.badge.ok { background: var(--ok-soft); color: var(--ok); }
.badge.warn { background: var(--warn-soft); color: var(--warn); }
.badge.bad { background: var(--err-soft); color: var(--err); }
.carrier-grid { display: grid; grid-template-columns: 1fr 1fr; }
.carrier-grid div { padding: 11px 16px; border-bottom: 1px solid var(--line); font-size: 14px; }
.carrier-grid div:nth-child(odd) { border-right: 1px solid var(--line); }
.carrier-grid div.wide { grid-column: 1 / -1; border-right: 0; }
.carrier-grid dt { font-size: 11.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); margin-bottom: 2px; }
.carrier-grid dd { margin: 0; font-weight: 500; }
.carrier-grid .nat { color: var(--muted); font-weight: 400; font-size: 12.5px; }
.carrier-note { padding: 11px 16px; font-size: 13px; line-height: 1.5; }
.carrier-note.bad { background: var(--err-soft); color: #9b2c2c; }
.carrier-note.warn { background: var(--warn-soft); color: #8a5a14; }
.carrier-note.info { color: var(--muted); }
.carrier.msg { padding: 14px 16px; font-size: 14px; }
.carrier.msg.bad { background: var(--err-soft); border-color: #f5c9c9; color: #9b2c2c; }
.carrier.msg.warn { background: var(--warn-soft); border-color: #f1dfb5; color: #8a5a14; }

/* Equipment */
.equipment { display: grid; gap: 10px; }
.eq { border: 1px solid var(--line-2); border-radius: 12px; background: #fff; transition: border-color .15s, box-shadow .15s; }
.eq.on { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(31,94,255,.1); }
.eq-head { display: flex; align-items: center; gap: 14px; padding: 14px 16px; cursor: pointer; user-select: none; }
.eq-head:focus-visible, .sub-head:focus-visible { outline: 2px solid var(--blue); outline-offset: -2px; border-radius: 12px; }
.eq-icon { width: 44px; height: 44px; border-radius: 10px; background: var(--soft); border: 1px solid var(--line); display: grid; place-items: center; color: var(--navy-2); }
.eq.on .eq-icon { background: var(--blue-soft); border-color: #d3defd; color: var(--blue); }
.eq-icon svg { width: 28px; height: 28px; }
.eq-text { flex: 1; }
.eq-title { font-weight: 700; }
.eq-desc { font-size: 13px; color: var(--muted); }
.box { width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid var(--line-2); display: grid; place-items: center; background: #fff; transition: all .15s; }
.box svg { width: 13px; height: 13px; color: #fff; opacity: 0; }
.eq.on > .eq-head .box, .sub.on > .sub-head .box { background: var(--blue); border-color: var(--blue); }
.eq.on > .eq-head .box svg, .sub.on > .sub-head .box svg { opacity: 1; }
.eq-body { padding: 2px 16px 16px; display: grid; gap: 8px; border-top: 1px dashed var(--line); margin: 0 16px; padding-left: 0; padding-right: 0; padding-top: 14px; }
.eq-body-label { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; color: var(--muted); }
.sub { border: 1px solid var(--line); border-radius: 10px; background: var(--soft); transition: border-color .15s, background .15s; }
.sub.on { border-color: #c6d5fd; background: #f7f9ff; }
.sub-head { display: flex; align-items: center; gap: 12px; padding: 11px 14px; cursor: pointer; user-select: none; font-weight: 600; font-size: 14px; }
.sub-body { padding: 2px 14px 14px 46px; display: grid; gap: 14px; }
.opt-label { font-size: 13px; font-weight: 600; margin-bottom: 8px; color: var(--text); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { width: 40px; height: 38px; border-radius: 8px; border: 1px solid var(--line-2); background: #fff; font: inherit; font-weight: 700; font-size: 14px; cursor: pointer; color: var(--text); }
.chip:hover { border-color: var(--blue); }
.chip.sel { background: var(--blue); border-color: var(--blue); color: #fff; }
.counter { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 10px; background: #fff; overflow: hidden; }
.counter button { width: 38px; height: 38px; border: 0; background: transparent; font-size: 18px; font-weight: 600; cursor: pointer; color: var(--navy-2); }
.counter button:hover { background: var(--soft); }
.counter input { width: 56px; height: 38px; border: 0; border-left: 1px solid var(--line); border-right: 1px solid var(--line); border-radius: 0; text-align: center; font-weight: 700; padding: 0; }
.counter input:focus { box-shadow: none; }
.unit { font-size: 13px; color: var(--muted); margin-left: 10px; }
.sub-err { color: var(--err); font-size: 13px; margin-top: 6px; }
.sub-err:empty { display: none; }

/* Review */
.review { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; margin-bottom: 18px; }
.review-row { display: grid; grid-template-columns: 130px 1fr; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 14px; }
.review-row:last-child { border-bottom: 0; }
.review-row dt { color: var(--muted); font-weight: 600; }
.review-row dd { margin: 0; font-weight: 500; }
.review-eq + .review-eq { margin-top: 8px; }
.review-eq b { display: block; }
.review-eq span { color: var(--muted); display: block; font-size: 13px; }
.check-line { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); cursor: pointer; line-height: 1.5; }
.check-line input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--blue); flex-shrink: 0; }

/* Agreement */
.agreement { border: 1px solid var(--line); border-radius: 12px; padding: 18px; margin-bottom: 18px; background: var(--soft); }
.agreement-head { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; }
.agreement-head > svg { width: 26px; height: 26px; color: var(--blue); margin-top: 2px; }
.agreement-head h3 { margin: 0 0 2px; font-size: 16px; }
.agreement-head p { margin: 0; color: var(--muted); font-size: 13.5px; }
.agr-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.agr-steps li { display: flex; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 14px; }
.agr-n { width: 26px; height: 26px; border-radius: 50%; background: var(--blue-soft); color: var(--blue); font-weight: 800; font-size: 13px; display: grid; place-items: center; flex-shrink: 0; }
.agr-steps li.complete .agr-n { background: var(--ok); color: #fff; }
.agr-body { flex: 1; min-width: 0; display: grid; gap: 4px; justify-items: start; }
.agr-body > b { font-size: 14.5px; }
.agr-body > span { font-size: 13px; color: var(--muted); line-height: 1.5; }
.btn.sm { height: 38px; padding: 0 14px; font-size: 14px; margin-top: 6px; min-width: 0; }
.btn.sm svg { width: 16px; height: 16px; }
.agr-msg { font-size: 12.5px; color: var(--muted); }
.agr-msg:empty { display: none; }
.agr-msg.bad { color: var(--err); }
.dropzone {
  margin-top: 6px; width: 100%; display: flex; align-items: center; justify-content: center; gap: 10px;
  border: 1.5px dashed var(--line-2); border-radius: 10px; padding: 16px; cursor: pointer; color: var(--muted); font-size: 14px;
  transition: border-color .15s, background .15s;
}
.dropzone:hover, .dropzone.drag { border-color: var(--blue); background: var(--blue-soft); }
.dropzone b { color: var(--blue); }
.dropzone svg { width: 20px; height: 20px; }
.dropzone input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.file-chip { margin-top: 6px; width: 100%; display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.file-chip > svg { width: 22px; height: 22px; color: var(--blue); }
.file-info { flex: 1; min-width: 0; display: grid; }
.file-info b { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.file-info span { font-size: 12.5px; color: var(--muted); }
.file-chip.ok .file-info span { color: var(--ok); font-weight: 600; }
.file-chip.bad { border-color: #f5c9c9; background: var(--err-soft); }
.file-chip.bad .file-info span { color: var(--err); }
.file-remove { border: 0; background: transparent; font-size: 22px; line-height: 1; color: var(--muted); cursor: pointer; padding: 4px 8px; border-radius: 6px; }
.file-remove:hover { background: var(--soft); color: var(--text); }

/* Done */
.done { text-align: center; padding: 24px 6px 8px; }
.check-big { width: 68px; height: 68px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); display: grid; place-items: center; margin: 0 auto 18px; }
.check-big svg { width: 32px; height: 32px; }
.ref { display: inline-block; background: var(--soft); border: 1px solid var(--line); padding: 8px 14px; border-radius: 8px; font-size: 13px; color: var(--muted); }
.ref b { color: var(--text); letter-spacing: .5px; }

/* Sections */
.section { padding: 80px 0; }
.section.alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section h2 { font-size: 32px; letter-spacing: -.8px; margin: 6px 0 28px; }
.section-head.center { text-align: center; }
.kicker { font-size: 12.5px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; color: var(--blue); }
.steps4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.hw { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 24px; }
.hw-n { font-size: 13px; font-weight: 800; color: var(--blue); background: var(--blue-soft); width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; margin-bottom: 16px; }
.hw h3 { margin: 0 0 6px; font-size: 16px; }
.hw p { margin: 0; color: var(--muted); line-height: 1.55; font-size: 14px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.req { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.req li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--soft); }
.req li svg { width: 20px; height: 20px; color: var(--ok); margin-top: 1px; }
.req b { display: block; font-size: 14.5px; }
.req span { font-size: 13.5px; color: var(--muted); }
.benefits { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.benefit { padding: 18px; border: 1px solid var(--line); border-radius: 12px; }
.benefit svg { width: 22px; height: 22px; color: var(--blue); margin-bottom: 10px; }
.benefit b { display: block; margin-bottom: 4px; }
.benefit span { font-size: 13.5px; color: var(--muted); line-height: 1.5; }
.faq { display: grid; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 0 20px; }
.faq summary { cursor: pointer; padding: 18px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 20px; color: var(--muted); font-weight: 400; }
.faq details[open] summary::after { content: '−'; }
.faq p { margin: 0 0 18px; color: var(--muted); line-height: 1.6; }

.cta { background: linear-gradient(135deg, var(--navy), var(--navy-2)); color: #fff; padding: 48px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta h2 { margin: 0 0 4px; font-size: 26px; letter-spacing: -.5px; }
.cta p { margin: 0; color: #b9c6dc; }
.cta-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.footer { background: var(--ink); color: #8fa0bd; padding: 28px 0; font-size: 13px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.brand.small .logo { width: 32px; height: 32px; font-size: 12px; border-radius: 8px; }
.brand.small .brand-name { color: #fff; font-size: 14px; }

.step { animation: fade .25s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* Responsive */
@media (max-width: 1040px) {
  .hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .stats { margin-bottom: 0; }
  .trust { display: none; }
  .hero { background: linear-gradient(180deg, var(--ink) 0, var(--navy) 100%) top / 100% 560px no-repeat, var(--bg); }
  .steps4 { grid-template-columns: 1fr 1fr; }
  .two-col { grid-template-columns: 1fr; gap: 48px; }
  .nav a:not(.nav-cta) { display: none; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .hero { padding-top: 32px; }
  .hero-text h1 { font-size: 32px; letter-spacing: -.6px; }
  .lead { font-size: 15.5px; }
  .stat { padding: 14px; }
  .stat b { font-size: 19px; }
  .card { padding: 22px 18px; }
  .grid2, .carrier-grid { grid-template-columns: 1fr; }
  .carrier-grid div:nth-child(odd) { border-right: 0; }
  .steps4, .benefits { grid-template-columns: 1fr; }
  .sub-body { padding-left: 14px; }
  .review-row { grid-template-columns: 1fr; gap: 2px; }
  .section { padding: 56px 0; }
  .section h2 { font-size: 26px; }
  .nav-cta span { display: none; }
  .brand-sub { display: none; }
}
