/* PlateRun marketing site. One stylesheet, no framework. */

:root {
    --ink: #0f172a;
    --ink-2: #334155;
    --muted: #5b6b82;
    --line: #e3e8f0;
    --soft: #f4f6fb;
    --white: #ffffff;
    --brand: #2f4fe0;
    --brand-dark: #1e3ab8;
    --brand-soft: #eef2ff;
    --plate: #ffd500;
    --plate-dark: #e9c200;
    --navy: #0b1430;
    --navy-2: #121d42;
    --green: #15803d;
    --radius: 14px;
    --radius-lg: 22px;
    --shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 8px 24px rgba(15, 23, 42, .07);
    --shadow-lg: 0 30px 80px rgba(8, 14, 40, .28), 0 8px 24px rgba(8, 14, 40, .18);
    --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }

body {
    margin: 0;
    background: var(--white);
    color: var(--ink);
    font: 400 17px/1.6 var(--font);
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { margin: 0 0 .5em; line-height: 1.12; letter-spacing: -.025em; font-weight: 800; color: var(--ink); }
h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); }
h3 { font-size: 1.2rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--plate); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.mt { margin-top: 18px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--plate); color: var(--navy); font-weight: 700; border-radius: 8px; }
.skip-link:focus { top: 12px; }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5em;
    padding: .78em 1.35em; border-radius: 12px; border: 1px solid transparent;
    font: 700 1rem/1.2 var(--font); white-space: nowrap; cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-sm { padding: .55em 1em; font-size: .92rem; border-radius: 10px; }
.btn-lg { padding: .95em 1.7em; font-size: 1.08rem; }
.btn-plate { background: var(--plate); color: var(--navy); box-shadow: 0 6px 18px rgba(255, 213, 0, .28); }
.btn-plate:hover { background: #ffdc26; box-shadow: 0 10px 26px rgba(255, 213, 0, .38); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: #c5cede; }
.btn-ghost-light { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .28); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .14); }

/* Header */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(11, 20, 48, .92); backdrop-filter: saturate(1.4) blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.header-inner { display: flex; align-items: center; gap: 28px; height: 72px; }
.header-logo { color: #fff; }
.header-logo:hover { text-decoration: none; }
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo-mark { width: 34px; height: 34px; flex-shrink: 0; }
.logo-word { font-weight: 800; font-size: 1.32rem; letter-spacing: -.03em; color: inherit; }
.logo-word span { color: var(--plate); }
.header-nav { display: flex; align-items: center; gap: 6px; margin-left: 12px; }
.header-nav a { color: #c9d2ea; font-weight: 600; font-size: .98rem; padding: 8px 12px; border-radius: 8px; }
.header-nav a:hover, .header-nav a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, .08); text-decoration: none; }
.header-nav .nav-sign-in, .header-nav .nav-start { display: none; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.header-sign-in { color: #fff; font-weight: 600; }
.menu-button { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 10px; background: transparent; color: #fff; cursor: pointer; }
.menu-button svg { width: 22px; height: 22px; stroke: currentColor; stroke-width: 2; stroke-linecap: round; fill: none; }

@media (max-width: 860px) {
    .header-actions { display: none; }
    .menu-button { display: inline-flex; align-items: center; justify-content: center; }
    .header-nav {
        display: none; position: absolute; left: 0; right: 0; top: 72px; margin: 0;
        flex-direction: column; align-items: stretch; gap: 2px; padding: 12px 16px 20px;
        background: var(--navy); border-bottom: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 20px 40px rgba(0, 0, 0, .3);
    }
    .header-nav.open { display: flex; }
    .header-nav a { padding: 12px 14px; font-size: 1.05rem; }
    .header-nav .nav-sign-in { display: block; }
    .header-nav .nav-start { display: inline-flex; margin-top: 10px; color: var(--navy); }
    .header-nav .nav-start:hover { color: var(--navy); background: #ffdc26; }
}

/* Hero */
.hero {
    position: relative; overflow: hidden; color: #fff;
    background:
        radial-gradient(900px 500px at 85% 20%, rgba(59, 91, 253, .35), transparent 60%),
        radial-gradient(700px 420px at 0% 100%, rgba(255, 213, 0, .10), transparent 60%),
        linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%);
    padding: 76px 0 0;
}
.hero::before {
    content: ""; position: absolute; inset: 0; opacity: .35; pointer-events: none;
    background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse at 50% 0%, #000 30%, transparent 75%);
}
.hero-copy { position: relative; max-width: 820px; margin: 0 auto; text-align: center; }
.hero h1 { color: #fff; }
.hero h1 .plate-word { display: inline-block; padding: 0 .22em; margin: 0 .04em; background: var(--plate); color: var(--navy); border-radius: .14em; transform: rotate(-1.5deg); box-shadow: 0 8px 24px rgba(255, 213, 0, .25); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 22px; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); color: #dbe3ff; font-size: .9rem; font-weight: 600; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--plate); box-shadow: 0 0 0 4px rgba(255, 213, 0, .18); }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.28rem); color: #c9d2ea; max-width: 700px; margin: 0 auto 30px; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-note { margin-top: 18px; color: #9fb0d6; font-size: .93rem; }
.hero-note span + span::before { content: "·"; margin: 0 .6em; color: #6c7da6; }
.hero-visual { position: relative; margin: 56px auto 0; max-width: 1080px; padding-bottom: 0; }
.hero-visual .browser { margin-right: 120px; }
.hero-visual .phone { position: absolute; right: 0; bottom: -40px; width: 250px; }

/* Device frames */
.browser { margin: 0; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: var(--shadow-lg); border: 1px solid rgba(15, 23, 42, .1); }
.browser-bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; background: #eef1f7; border-bottom: 1px solid #dfe4ee; }
.browser-bar > span { width: 11px; height: 11px; border-radius: 50%; background: #d0d6e2; }
.browser-bar > span:nth-child(1) { background: #ff6159; }
.browser-bar > span:nth-child(2) { background: #ffbd2e; }
.browser-bar > span:nth-child(3) { background: #28c941; }
.browser-url { margin-left: 14px; flex: 1; max-width: 420px; padding: 4px 12px; border-radius: 7px; background: #fff; color: #6b7891; font-size: .8rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.phone { margin: 0; padding: 10px; border-radius: 38px; background: #0b1022; box-shadow: var(--shadow-lg), inset 0 0 0 2px #2a3352; }
.phone-screen { position: relative; border-radius: 29px; overflow: hidden; background: #fff; }
.phone-screen::before { content: ""; position: absolute; z-index: 2; top: 8px; left: 50%; width: 30%; height: 20px; transform: translateX(-50%); border-radius: 12px; background: #0b1022; }
.phone-screen img { width: 100%; }

/* Sections */
.section { padding: 96px 0; }
.section-soft { background: var(--soft); }
.section-dark { background: var(--navy); color: #c9d2ea; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.12rem; }
.section-dark .section-head p { color: #a9b6d6; }
.kicker { display: block; margin-bottom: 12px; color: var(--brand); font-weight: 800; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; }
.section-dark .kicker { color: var(--plate); }

.after-hero { padding: 96px 0 56px; }

/* Who it's for */
.audience { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 12px; margin: 0; padding: 0; list-style: none; }
.audience li { padding: 8px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink-2); font-weight: 600; font-size: .95rem; }

/* Cards */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 980px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.card h3 { margin-bottom: .4em; }
.card p { color: var(--muted); margin: 0; }
.card .icon { width: 46px; height: 46px; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 16px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); }
.card .icon svg { width: 24px; height: 24px; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.pain { border-top: 4px solid #ef4444; }
.pain .fix { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line); color: var(--green); font-weight: 700; }
.pain .fix::before { content: "✓ "; }

/* Steps */
.steps { counter-reset: step; }
.step { position: relative; padding-top: 58px; }
.step::before {
    counter-increment: step; content: counter(step);
    position: absolute; top: 0; left: 0; width: 42px; height: 42px; display: flex; align-items: center; justify-content: center;
    border-radius: 10px; background: var(--plate); color: var(--navy); font-weight: 800; font-size: 1.2rem;
}
.section-dark .card { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .1); box-shadow: none; }
.section-dark .card p { color: #a9b6d6; }

/* Feature spotlights */
.spotlight { display: grid; grid-template-columns: .9fr 1.45fr; gap: 56px; align-items: center; }
.spotlight + .spotlight { margin-top: 110px; }
.spotlight.flip { grid-template-columns: 1.45fr .9fr; }
.spotlight.flip > .spotlight-copy { order: 2; }
.spotlight-copy p { color: var(--muted); font-size: 1.08rem; }
.ticks { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 34px; color: var(--ink-2); }
.ticks li::before {
    content: ""; position: absolute; left: 0; top: .2em; width: 22px; height: 22px; border-radius: 50%;
    background: #dcfce7 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315803d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.section-dark .ticks li { color: #dbe3ff; }
.phones { display: flex; gap: 22px; justify-content: center; align-items: flex-start; }
.phones .phone { width: 46%; max-width: 280px; }
.phones .phone:nth-child(2) { margin-top: 48px; }
.crop { position: relative; max-height: 640px; overflow: hidden; border-radius: 14px; }
.crop::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; background: linear-gradient(rgba(255, 255, 255, 0), #fff); }
@media (max-width: 920px) {
    .spotlight, .spotlight.flip { grid-template-columns: 1fr; gap: 36px; }
    .spotlight.flip > .spotlight-copy { order: 0; }
    .spotlight + .spotlight { margin-top: 80px; }
}

/* Feature grid (small) */
.mini { display: flex; gap: 16px; align-items: flex-start; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.mini h3 { font-size: 1.04rem; margin-bottom: .25em; }
.mini p { margin: 0; color: var(--muted); font-size: .97rem; }
.mini .icon { flex-shrink: 0; width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; background: var(--brand-soft); color: var(--brand); }
.mini .icon svg { width: 21px; height: 21px; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }

/* Pricing */
.price-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 40px; }
@media (max-width: 860px) { .price-strip { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .price-fact { padding: 16px 10px; } .price-fact strong { font-size: 1.6rem; } .price-fact span { font-size: .85rem; } }
.price-fact { padding: 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); text-align: center; }
.price-fact strong { display: block; font-size: 2rem; letter-spacing: -.03em; color: var(--ink); line-height: 1.1; }
.price-fact span { color: var(--muted); font-size: .95rem; }
.packs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; align-items: stretch; }
@media (max-width: 1100px) { .packs { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .packs { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .packs { gap: 12px; } .pack { padding: 22px 14px 16px; } .pack-price { font-size: 1.8rem; } .pack .btn { padding: .65em .5em; font-size: .9rem; } }
.pack { position: relative; display: flex; flex-direction: column; padding: 26px 22px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.pack.popular { border: 2px solid var(--brand); box-shadow: 0 20px 50px rgba(47, 79, 224, .18); }
.pack-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); padding: 3px 12px; border-radius: 999px; background: var(--brand); color: #fff; font-size: .78rem; font-weight: 800; white-space: nowrap; }
.pack h3 { font-size: 1.05rem; color: var(--muted); font-weight: 700; margin-bottom: 8px; }
.pack-price { font-size: 2.3rem; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.pack-tokens { margin: 8px 0 16px; color: var(--ink-2); font-weight: 600; }
.pack ul { margin: 0 0 20px; padding: 0; list-style: none; display: grid; gap: 6px; color: var(--muted); font-size: .94rem; }
.pack ul strong { color: var(--ink); }
.pack .btn { margin-top: auto; width: 100%; }
.saving { color: var(--green); font-weight: 700; }

.cost-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.cost-table th, .cost-table td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); }
.cost-table tr:last-child td { border-bottom: 0; }
.cost-table th { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); background: #fafbfe; }
.cost-table td:last-child, .cost-table th:last-child { text-align: right; white-space: nowrap; font-weight: 700; }
.cost-table td small { display: block; color: var(--muted); font-weight: 400; }

.calculator { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; padding: 40px; border-radius: var(--radius-lg); background: var(--navy); color: #c9d2ea; }
.calculator h2 { color: #fff; }
.calculator label { display: block; font-weight: 700; color: #fff; margin-bottom: 10px; }
.calculator input[type=range] { width: 100%; accent-color: var(--plate); height: 28px; }
.calc-jobs { font-size: 1.1rem; color: #fff; }
.calc-result { padding: 28px; border-radius: var(--radius); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); text-align: center; }
.calc-result strong { display: block; color: var(--plate); font-size: 2.8rem; letter-spacing: -.04em; line-height: 1.1; }
.calc-result p { margin: 8px 0 0; color: #a9b6d6; font-size: .95rem; }
@media (max-width: 820px) { .calculator { grid-template-columns: 1fr; padding: 28px 22px; } }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 40px 22px 0; position: relative; font-weight: 700; font-size: 1.08rem; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-size: 1.6rem; font-weight: 400; color: var(--brand); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 8px; margin: 0 0 16px; }

/* Page heads (inner pages) */
.page-hero { padding: 72px 0 64px; color: #fff; text-align: center; background: radial-gradient(800px 380px at 80% 0%, rgba(59, 91, 253, .35), transparent 60%), var(--navy); }
.page-hero h1 { color: #fff; font-size: clamp(2.1rem, 4.4vw, 3.3rem); }
.page-hero p { color: #c9d2ea; font-size: 1.15rem; max-width: 720px; margin: 0 auto; }

/* Call to action band */
.cta-band { padding: 80px 0; background: linear-gradient(120deg, var(--brand-dark), var(--brand) 60%, #4f6bff); color: #e3e9ff; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { margin: 0; max-width: 620px; font-size: 1.1rem; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Driver app page */
.store-badge { display: inline-flex; align-items: center; gap: 12px; padding: 12px 22px; border-radius: 14px; background: #000; color: #fff; font-weight: 700; }
.store-badge:hover { text-decoration: none; color: #fff; }
.store-badge svg { width: 28px; height: 28px; }
.store-badge small { display: block; font-weight: 500; font-size: .75rem; color: #c5cad6; }
.gallery { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; }
.gallery figure { margin: 0; }
.gallery figcaption { margin-top: 12px; text-align: center; font-weight: 700; color: var(--ink-2); font-size: .95rem; }
@media (max-width: 1000px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .gallery { grid-template-columns: repeat(2, 1fr); gap: 16px; } }

/* Prose (privacy) */
.prose { max-width: 780px; margin: 0 auto; }
.prose h2 { font-size: 1.45rem; margin-top: 2em; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .5em; }
.updated { color: var(--muted); }

/* Contact */
.contact-card { padding: 34px; }
.contact-card a.big { font-size: 1.3rem; font-weight: 800; word-break: break-all; }

/* Footer */
.site-footer { background: var(--navy); color: #a9b6d6; padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.footer-brand a { color: #fff; }
.footer-brand a:hover { text-decoration: none; }
.footer-brand p { margin: 16px 0 20px; max-width: 360px; }
.footer-brand .btn { color: var(--navy); }
.site-footer nav { display: flex; flex-direction: column; gap: 10px; }
.site-footer nav h2 { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: #6f80a8; margin-bottom: 6px; }
.site-footer nav a { color: #dbe3ff; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .9rem; color: #7d8db3; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* Small screens */
@media (max-width: 860px) {
    .hero { padding-top: 52px; }
    .hero-visual .browser { margin-right: 0; }
    .hero-visual .phone { width: 150px; right: -6px; bottom: -30px; padding: 6px; border-radius: 24px; }
    .hero-visual .phone .phone-screen { border-radius: 19px; }
    .hero-visual .phone .phone-screen::before { height: 12px; top: 5px; }
    .section { padding: 72px 0; }
    .after-hero { padding: 64px 0 44px; }
    .audience li { padding: 6px 12px; font-size: .86rem; }
    .eyebrow { font-size: .8rem; }
}
@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .hero-actions .btn { width: 100%; }
    .hero-visual .phone { display: none; }
    .browser-bar { padding: 8px 10px; }
    .browser-url { display: none; }
    .card, .contact-card { padding: 22px; }
    .cta-actions, .cta-actions .btn { width: 100%; }
}
