/* Lucas marketing site. Mobile-first, system fonts, no framework. Built by site/build.js. */
:root {
  --blue: #0052a3; --blue-2: #0b63c4; --blue-ink: #0b2e57; --amber: #f5a623;
  --bg: #f6f8fb; --surface: #ffffff; --ink: #0f172a; --muted: #4b5567; --line: #e3e8f0;
  --ok: #15803d; --radius: 16px;
  --shadow: 0 1px 2px rgba(15, 23, 42, 0.06), 0 8px 24px rgba(15, 23, 42, 0.06);
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #0b1220; --surface: #121b2d; --ink: #e8edf6; --muted: #a3afc2; --line: #24314a; --blue-ink: #cfe0ff; --shadow: none; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }
img, svg { max-width: 100%; }
a { color: var(--blue-2); }
@media (prefers-color-scheme: dark) { a { color: #7fb2ff; } }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; color: var(--ink); margin: 0 0 12px; }
h1 { font-size: clamp(34px, 7vw, 58px); font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: clamp(26px, 4.4vw, 38px); font-weight: 800; }
h3 { font-size: 19px; font-weight: 700; }
p { margin: 0 0 14px; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 12px; z-index: 10; background: var(--surface); padding: 8px 12px; border-radius: 8px; }

/* header */
.top { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; color: var(--ink); text-decoration: none; letter-spacing: -0.02em; }
.brand img { width: 30px; height: 30px; }
.nav { display: none; gap: 4px; margin-left: 12px; }
.nav a { padding: 8px 10px; border-radius: 8px; color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 600; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--surface); }
.top-cta { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.top-cta .btn { white-space: nowrap; }
@media (max-width: 599px) { .top-cta .top-signin { display: none; } .brand { font-size: 19px; } }
.menu { position: relative; }
.menu summary { list-style: none; cursor: pointer; padding: 8px 10px; border-radius: 8px; font-weight: 700; font-size: 15px; border: 1px solid var(--line); background: var(--surface); }
.menu summary::-webkit-details-marker { display: none; }
.menu nav { position: absolute; right: 0; top: calc(100% + 8px); display: grid; min-width: 220px; padding: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); }
.menu nav a { padding: 10px 12px; border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 600; }
.menu nav a:hover { background: var(--bg); }
@media (min-width: 980px) { .nav { display: flex; } .menu { display: none; } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 12px; border: 1px solid transparent; font: inherit; font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-2); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn-sm { min-height: 40px; padding: 0 14px; font-size: 15px; border-radius: 10px; }
.btn:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }

/* hero */
.hero { padding: 48px 0 32px; background:
  radial-gradient(70vmax 50vmax at 110% -10%, rgba(0, 82, 163, 0.18), transparent 60%),
  radial-gradient(50vmax 40vmax at -20% 110%, rgba(245, 166, 35, 0.14), transparent 60%); }
.hero .wrap { display: grid; gap: 40px; align-items: center; }
@media (min-width: 980px) { .hero { padding: 80px 0 56px; } .hero .wrap { grid-template-columns: 1.15fr 0.85fr; } }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 14px; font-weight: 700; color: var(--muted); }
.pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); }
.hero h1 { margin-top: 16px; }
.hero h1 span { color: var(--blue); }
@media (prefers-color-scheme: dark) { .hero h1 span { color: #7fb2ff; } }
.lede { font-size: clamp(18px, 2.3vw, 21px); color: var(--muted); max-width: 36em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.fine { font-size: 14px; color: var(--muted); }

/* phone mock (illustration only; real data stays in the app) */
.phone { width: min(360px, 100%); margin-inline: auto; padding: 14px; border-radius: 36px; background: #0b1220; box-shadow: 0 30px 60px rgba(11, 18, 32, 0.25); }
.screen { border-radius: 24px; background: #f6f8fb; color: #0f172a; overflow: hidden; font-size: 14px; }
.screen-top { background: linear-gradient(135deg, #0052a3, #0b63c4); color: #fff; padding: 16px; }
.screen-top b { display: block; font-size: 18px; }
.screen-top small { opacity: 0.85; }
.screen-body { padding: 12px; display: grid; gap: 10px; }
.mock-card { background: #fff; border: 1px solid #e3e8f0; border-radius: 14px; padding: 12px; }
.mock-label { font-size: 11px; font-weight: 800; letter-spacing: 0.08em; color: #4b5567; text-transform: uppercase; }
.mock-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 8px 0; border-top: 1px solid #eef2f7; }
.mock-row:first-of-type { border-top: 0; }
.mock-tag { font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 999px; background: #e8f0fb; color: #0052a3; }
.mock-cuts { display: flex; gap: 6px; margin-top: 8px; }
.mock-cuts span { flex: 1; height: 38px; border-radius: 8px; background: #e8f0fb; display: grid; place-items: center; font-weight: 800; color: #0052a3; }
.mock-btn { margin-top: 10px; text-align: center; padding: 10px; border-radius: 10px; background: #0052a3; color: #fff; font-weight: 700; }

/* sections */
section { padding: 56px 0; }
.section-alt { background: var(--surface); border-block: 1px solid var(--line); }
.eyebrow { font-size: 13px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue); margin-bottom: 8px; }
@media (prefers-color-scheme: dark) { .eyebrow { color: #7fb2ff; } }
.section-head { max-width: 720px; margin-bottom: 28px; }
.section-head p { color: var(--muted); font-size: 18px; }
.grid { display: grid; gap: 16px; }
@media (min-width: 720px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 980px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.section-alt .card { background: var(--bg); box-shadow: none; }
.card p { color: var(--muted); margin: 0; }
.card h3 { margin-top: 12px; }
.card a.more { display: inline-block; margin-top: 12px; font-weight: 700; text-decoration: none; }
.ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(0, 82, 163, 0.1); color: var(--blue); }
@media (prefers-color-scheme: dark) { .ic { background: rgba(127, 178, 255, 0.14); color: #a9cbff; } }
.stats { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { padding: 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.stat b { display: block; font-size: clamp(26px, 4vw, 34px); letter-spacing: -0.03em; color: var(--blue-ink); }
.stat span { color: var(--muted); font-size: 15px; }
.steps { counter-reset: step; display: grid; gap: 16px; padding: 0; list-style: none; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { counter-increment: step; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 800; margin-bottom: 12px; }
.steps li p { color: var(--muted); margin: 0; }
.checks { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 30px; }
.checks li::before { content: ''; position: absolute; left: 2px; top: 6px; width: 16px; height: 9px; border: solid var(--ok); border-width: 0 0 3px 3px; transform: rotate(-45deg); }
.split { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } }

/* prose pages */
.page-head { padding: 48px 0 8px; }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 12px; }
.crumbs a { color: inherit; }
.prose h2 { margin-top: 36px; font-size: clamp(24px, 3.6vw, 30px); }
.prose h3 { margin-top: 24px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.callout { padding: 18px 20px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--amber); margin: 20px 0; }

/* FAQ */
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 0 18px; margin-bottom: 10px; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 0; font-weight: 700; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 22px; line-height: 1; color: var(--muted); }
.faq details[open] summary::after { content: '–'; }
.faq details > div { padding-bottom: 16px; color: var(--muted); }

/* coverage */
.makes { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.make { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 14px 16px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 700; }
.make small { color: var(--muted); font-weight: 600; }
.make:hover { border-color: var(--blue-2); }
.badge { display: inline-block; font-size: 12px; font-weight: 800; padding: 3px 8px; border-radius: 999px; background: rgba(21, 128, 61, 0.12); color: var(--ok); }
.models { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; font-size: 16px; }
.models th, .models td { text-align: left; padding: 10px 14px; border-top: 1px solid var(--line); vertical-align: top; }
.models thead th { border-top: 0; font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); background: var(--bg); }

/* request access form */
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 24px; box-shadow: var(--shadow); }
.form { display: grid; gap: 14px; }
.form .row { display: grid; gap: 14px; }
@media (min-width: 640px) { .form .row { grid-template-columns: 1fr 1fr; } }
.form label { display: grid; gap: 6px; font-weight: 700; font-size: 15px; }
.form label small { font-weight: 500; color: var(--muted); }
.form input, .form select, .form textarea { width: 100%; min-height: 48px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); font: inherit; font-size: 16px; }
.form textarea { min-height: 96px; resize: vertical; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0; }
.chips legend { font-weight: 700; font-size: 15px; margin-bottom: 6px; padding: 0; }
.chips label { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); font-weight: 600; cursor: pointer; }
.chips input { width: 18px; height: 18px; min-height: 0; margin: 0; accent-color: var(--blue); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { color: #b91c1c; font-weight: 700; }
.form-done { text-align: center; padding: 24px 8px; }
.form-done b { display: block; font-size: 22px; margin-bottom: 8px; }

/* footer */
footer { padding: 40px 0 56px; border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; }
footer .wrap { display: grid; gap: 24px; }
@media (min-width: 900px) { footer .wrap { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
footer h4 { margin: 0 0 10px; color: var(--ink); font-size: 15px; }
footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--ink); text-decoration: underline; }
