/* Motorlane Hub: public home page. No JavaScript. */
@font-face { font-family: 'Inter'; font-weight: 400; font-display: swap; src: url(/fonts/inter-Regular.woff) format('woff'); }
@font-face { font-family: 'Inter'; font-weight: 500; font-display: swap; src: url(/fonts/inter-Medium.woff) format('woff'); }
@font-face { font-family: 'Inter'; font-weight: 600; font-display: swap; src: url(/fonts/inter-SemiBold.woff) format('woff'); }
@font-face { font-family: 'Inter'; font-weight: 700 800; font-display: swap; src: url(/fonts/inter-Bold.woff) format('woff'); }
@font-face { font-family: 'Inter Display'; font-weight: 800; font-display: swap; src: url(/fonts/interdisplay-ExtraBold.woff) format('woff'); }

:root {
  --navy: #0a1c35; --navy-2: #102a4c; --navy-3: #1a3a63;
  --ink: #0c1a2e; --ink-2: #344256; --muted: #657189; --line: #e3e8ef; --bg: #ffffff; --bg-2: #f4f6fa;
  --green: #0a8f62; --green-2: #067049; --green-soft: #e4f6ee; --mint: #7fd8b4; --amber: #f7d117;
  --font: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --display: 'Inter Display', 'Inter', ui-sans-serif, system-ui, sans-serif;
  --shadow: 0 1px 2px rgba(12, 26, 46, .06), 0 8px 24px rgba(12, 26, 46, .08);
  --shadow-lg: 0 2px 6px rgba(12, 26, 46, .08), 0 24px 60px rgba(12, 26, 46, .18);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 17px/1.6 var(--font); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
a { color: var(--green-2); }
h1, h2, h3 { margin: 0 0 .5em; line-height: 1.12; letter-spacing: -.015em; }
h1 { font: 800 clamp(36px, 5.4vw, 60px)/1.04 var(--display); letter-spacing: -.025em; }
h2 { font: 800 clamp(28px, 3.4vw, 40px)/1.1 var(--display); }
h3 { font-size: 19px; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 780px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--green); margin-bottom: 12px; }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-2); }
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section.alt { background: var(--bg-2); }
.head { max-width: 760px; margin: 0 auto 48px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--green); color: #fff; text-decoration: none;
  font: 600 16px var(--font); padding: 12px 22px; border-radius: 12px; border: 1px solid transparent; transition: background .15s, transform .15s, box-shadow .15s; }
.btn:hover { background: var(--green-2); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(10, 143, 98, .25); }
.btn-lg { font-size: 17px; padding: 15px 28px; }
.btn-sm { padding: 9px 16px; font-size: 15px; }
.btn-block { width: 100%; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn-ghost:hover { background: rgba(255, 255, 255, .08); box-shadow: none; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: #eef2f7; box-shadow: 0 8px 20px rgba(0, 0, 0, .2); }

/* nav */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(10, 28, 53, .92); backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid rgba(255, 255, 255, .06); }
.nav-in { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font: 800 19px var(--display); }
.brand b { color: var(--mint); font-weight: 600; }
.mark { width: 32px; height: 32px; border-radius: 9px; background: var(--green); display: grid; place-items: center; font: 800 17px var(--display); color: #fff; }
.links { display: flex; gap: 26px; margin-left: 12px; }
.links a { color: #c8d3e4; text-decoration: none; font-weight: 500; font-size: 15px; }
.links a:hover { color: #fff; }
.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.nav-cta .link { color: #fff; text-decoration: none; font-weight: 600; font-size: 15px; }

/* hero */
.hero { background: radial-gradient(1200px 600px at 85% -10%, rgba(10, 143, 98, .35), transparent 60%),
  radial-gradient(800px 500px at -10% 110%, rgba(31, 95, 191, .25), transparent 60%), var(--navy); color: #fff; overflow: hidden; }
.hero-in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: center; padding: clamp(56px, 8vw, 104px) 24px clamp(64px, 9vw, 120px); }
.hero .eyebrow { color: var(--mint); }
.hero h1 span { color: var(--mint); white-space: nowrap; }
.hero .lead { color: #c8d3e4; max-width: 560px; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-ticks { list-style: none; display: flex; gap: 22px; flex-wrap: wrap; padding: 0; margin: 26px 0 0; color: #c8d3e4; font-size: 15px; }
.hero-ticks li::before, .ticks li::before { content: ''; display: inline-block; width: 18px; height: 18px; margin-right: 8px; vertical-align: -3px; border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center/12px no-repeat; }

/* hero picture: a dealer site and an invoice, drawn in CSS */
.hero-art { position: relative; min-height: 420px; }
.browser { background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg); overflow: hidden; color: var(--ink); transform: rotate(-1.5deg); }
.bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #eef1f6; border-bottom: 1px solid var(--line); }
.bar i { width: 10px; height: 10px; border-radius: 50%; background: #d3d9e3; }
.bar span { margin-left: 12px; background: #fff; border-radius: 6px; padding: 3px 12px; font-size: 12px; color: var(--muted); flex: 1; }
.site-top { display: flex; align-items: center; gap: 14px; padding: 12px 16px; font-size: 12px; border-bottom: 1px solid var(--line); }
.site-top b { font: 800 14px var(--display); margin-right: auto; }
.site-top em { font-style: normal; background: #1f5fbf; color: #fff; padding: 4px 10px; border-radius: 7px; font-weight: 700; }
.site-hero { background: linear-gradient(135deg, #174a96, #1f5fbf); color: #fff; padding: 22px 16px; display: flex; flex-direction: column; gap: 10px; }
.site-hero b { font: 800 20px/1.15 var(--display); max-width: 260px; }
.site-hero span { align-self: flex-start; background: #fff; color: #174a96; font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: 8px; }
.site-cars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 14px; background: #f5f6f9; }
.car { background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; font-size: 11px; }
.car div { aspect-ratio: 4 / 3; }
.c1 div { background: linear-gradient(135deg, #8aa2c4, #2a4468); }
.c2 div { background: linear-gradient(135deg, #c9ced6, #59606b); }
.c3 div { background: linear-gradient(135deg, #3f4a5c, #10151d); }
.car b { padding: 8px 8px 0; font-size: 11.5px; }
.car small { padding: 0 8px; color: var(--muted); }
.car strong { padding: 4px 8px 8px; font: 800 14px var(--display); }
.float { position: absolute; background: #fff; color: var(--ink); border-radius: 14px; box-shadow: var(--shadow-lg); }
.invoice { right: -12px; bottom: -6px; width: 250px; padding: 16px; font-size: 13px; transform: rotate(2deg); }
.invoice b { display: block; font: 800 15px var(--display); margin-bottom: 8px; }
.invoice div { display: flex; justify-content: space-between; padding: 4px 0; border-bottom: 1px solid var(--line); }
.invoice .tot { font-weight: 700; border: 0; }
.invoice small { display: block; margin-top: 8px; color: var(--green-2); font-weight: 600; font-size: 11.5px; }
.listing { left: -18px; top: -16px; padding: 10px 14px; font-size: 14px; display: flex; align-items: center; gap: 8px; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px var(--green-soft); }

/* trust strip */
.strip { background: var(--navy-2); color: #dbe3ef; }
.strip-in { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding-top: 18px; padding-bottom: 18px; font-weight: 600; font-size: 15px; }
.strip span { display: inline-flex; align-items: center; gap: 10px; }
.strip svg, .ico svg, .guarantee svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.strip svg { width: 20px; height: 20px; color: var(--mint); }

/* features */
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 28px; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.feature p { color: var(--ink-2); margin: 0; font-size: 16px; }
.ico { width: 48px; height: 48px; border-radius: 13px; background: var(--green-soft); color: var(--green); display: grid; place-items: center; margin-bottom: 18px; }
.ico svg { width: 24px; height: 24px; }

/* steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: s; }
.steps li { position: relative; padding: 28px; border-radius: 18px; background: var(--bg-2); }
.steps span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: #fff; font: 800 18px var(--display); margin-bottom: 16px; }
.steps p { margin: 0; color: var(--ink-2); }

/* compare */
.compare { max-width: 920px; margin: 0 auto; background: #fff; border-radius: 18px; box-shadow: var(--shadow); overflow-x: auto; }
.compare table { width: 100%; border-collapse: collapse; font-size: 16px; min-width: 560px; }
.compare th, .compare td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); }
.compare thead th { font-size: 14px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.compare tbody th { font-weight: 600; width: 34%; }
.compare td { color: var(--muted); }
.compare .us { background: var(--green-soft); color: var(--green-2); }
.compare thead .us { color: var(--green-2); }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.guarantee { max-width: 920px; margin: 28px auto 0; display: flex; gap: 20px; align-items: flex-start; background: var(--navy); color: #dbe3ef; border-radius: 18px; padding: 28px; }
.guarantee h3 { color: #fff; }
.guarantee p { margin: 0; }
.guarantee svg { width: 44px; height: 44px; color: var(--mint); flex: none; }

/* margin scheme */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: 56px; align-items: center; }
.ticks { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 12px; }
.ticks li { padding-left: 28px; text-indent: -28px; }
.sum { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg); padding: 26px; }
.sum-head { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 10px; }
.sum .row { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.sum .row b { font-variant-numeric: tabular-nums; }
.sum .hl { background: var(--green-soft); margin: 0 -14px; padding: 12px 14px; border-radius: 10px; border: 0; color: var(--green-2); }
.sum .green { color: var(--green-2); font-size: 20px; }
.sum p { margin: 14px 0 0; font-size: 14px; color: var(--muted); }

/* pricing */
.price-card { max-width: 480px; margin: 0 auto; background: #fff; border-radius: 22px; border: 2px solid var(--green); box-shadow: var(--shadow-lg); padding: 36px; text-align: left; }
.price { margin: 0 0 4px; font-size: 20px; color: var(--ink-2); }
.price b { font: 800 64px/1 var(--display); color: var(--ink); letter-spacing: -.03em; }
.price-card .ticks { margin: 24px 0 26px; }

/* faq */
details { background: #fff; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 12px; padding: 0 22px; }
summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 600; font-size: 18px; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; font-size: 24px; line-height: 1; color: var(--green); transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--ink-2); padding-bottom: 18px; margin: 0; }

/* final + footer */
.final { background: linear-gradient(135deg, var(--green-2), var(--green)); color: #fff; padding: clamp(64px, 8vw, 96px) 0; }
.final .lead { color: #e4f6ee; margin-bottom: 28px; }
.foot { background: var(--navy); color: #c8d3e4; padding: 48px 0 28px; font-size: 15px; }
.foot a { color: #fff; }
.foot-in { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.foot-in p { margin: 12px 0 0; }
.foot-links { display: flex; gap: 22px; flex-wrap: wrap; align-items: center; }
.foot-links a { color: #c8d3e4; text-decoration: none; }
.foot-links a:hover { color: #fff; }
.legal { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--navy-3); font-size: 13px; color: #8b97ab; }

/* small screens */
@media (max-width: 920px) {
  .hero-in, .split { grid-template-columns: 1fr; }
  .hero-art { min-height: 0; margin: 10px 8px 30px; }
  .grid3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .links { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 18px; }
  .hero-in { padding: 44px 18px 64px; }
  .strip-in { padding: 16px 18px; gap: 10px 18px; }
  .site-top span, .site-top em { display: none; }
  .nav-cta .link { display: none; }
  .grid3, .steps { grid-template-columns: 1fr; }
  .site-cars { grid-template-columns: repeat(2, 1fr); }
  .site-cars .c3 { display: none; }
  .invoice { width: 210px; right: -6px; bottom: -24px; font-size: 12px; }
  .listing { left: -6px; top: -20px; font-size: 13px; }
  .hero h1 span { white-space: normal; }
  .guarantee { flex-direction: column; }
  .price-card { padding: 26px; }
  .price b { font-size: 54px; }
}
