/* Athena OBD's site: the app's colours (app.autolingo.athenaobd Resources/Styles/Colors.xaml), dark only, AutoLingo for
   BMW's orange swapped for blues and flashier than its site (gradients, glow, a live gauge). No framework: plain CSS */

@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url("/fonts/inter/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap; src: url("/fonts/inter/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 700; font-display: swap; src: url("/fonts/inter/inter-latin-700-normal.woff2") format("woff2"); }

:root {
    --bg: #0E131B;
    --bg-deep: #090D13;
    --surface: #151C27;
    --surface-raised: #1C2533;
    --outline: #26334A;
    --primary: #2F8CFF;
    --primary-bright: #00C6FF;
    --primary-soft: #8EC1FF;
    --primary-dim: #1A3A66;
    --text: #F2F6FC;
    --text-2: #9AA8BC;
    --text-muted: #66758A;
    --warning: #FFB020;
    --error: #FF5A5F;
    --success: #34D399;
    --accent: linear-gradient(135deg, #2F8CFF 0%, #00C6FF 100%);
    --radius: 18px;
    --max: 1160px;
    color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    min-height: 100vh;
    background: var(--bg-deep);
    background-image:
        radial-gradient(1100px 620px at 78% -120px, rgba(47, 140, 255, 0.22), transparent 70%),
        radial-gradient(800px 500px at -10% 10%, rgba(0, 198, 255, 0.08), transparent 70%),
        linear-gradient(180deg, #122039 0px, #0E131B 520px, #090D13 100%);
    background-repeat: no-repeat;
    color: var(--text);
    font: 400 17px/1.6 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--primary-soft); text-underline-offset: 3px; }
a:hover { color: #fff; }
img, svg { max-width: 100%; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.2rem, 5.4vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.muted { color: var(--text-2); }
.small { font-size: 0.875rem; }
.center { text-align: center; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.gradient-text {
    background: linear-gradient(100deg, #8EC1FF 0%, #00C6FF 45%, #2F8CFF 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* the header: the logo, the pages, the order button */
.site-header {
    position: sticky; top: 0; z-index: 20;
    background: rgba(9, 13, 19, 0.72);
    backdrop-filter: saturate(160%) blur(14px);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
    border-bottom: 1px solid rgba(38, 51, 74, 0.6);
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-weight: 700; font-size: 1.1rem; letter-spacing: -0.01em; }
.brand img { height: 26px; width: auto; }
.brand span { white-space: nowrap; }
.nav { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.nav a { color: var(--text-2); text-decoration: none; font-weight: 600; font-size: 0.95rem; padding: 8px 12px; border-radius: 10px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); background: rgba(47, 140, 255, 0.10); }
.nav .btn { margin-left: 8px; padding: 9px 16px; font-size: 0.95rem; color: #fff; }
.nav .btn:hover { background: var(--accent); }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--outline); color: var(--text); border-radius: 10px; padding: 8px 10px; cursor: pointer; }
.nav-toggle svg { display: block; }

@media (max-width: 820px) {
    .nav-toggle { display: block; }
    .nav { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
           background: rgba(9, 13, 19, 0.97); border-bottom: 1px solid var(--outline); padding: 8px 16px 16px; }
    .nav.open { display: flex; }
    .nav a { padding: 12px; }
    .nav .btn { margin: 8px 0 0; text-align: center; }
}

/* buttons: the accent gradient with a glow, and a quiet outline one */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 14px 26px; border-radius: 999px; border: 0; cursor: pointer;
    font: 600 1rem/1.2 inherit; font-family: inherit; text-decoration: none; color: #fff;
    background: var(--accent);
    box-shadow: 0 8px 30px -8px rgba(0, 198, 255, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.25);
    transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}
.btn:hover { color: #fff; transform: translateY(-1px); filter: brightness(1.08); box-shadow: 0 12px 38px -8px rgba(0, 198, 255, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.25); }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible { outline: 2px solid var(--primary-bright); outline-offset: 3px; }
.btn-quiet { background: rgba(47, 140, 255, 0.08); border: 1px solid var(--outline); box-shadow: none; color: var(--text); }
.btn-quiet:hover { background: rgba(47, 140, 255, 0.16); box-shadow: none; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; transform: none; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* sections */
main { display: block; }
.section { padding: 88px 0; }
.section-tight { padding: 48px 0; }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head.center { margin-left: auto; margin-right: auto; }
.eyebrow { display: inline-block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--primary-bright); margin-bottom: 14px; }
.lead { font-size: 1.15rem; color: var(--text-2); }

/* the home page's hero: the question, the answer, the phone */
.hero { padding: 72px 0 40px; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.hero h1 { margin-bottom: 20px; }
.hero .lead { max-width: 560px; margin-bottom: 28px; }
.hero-points { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--text-2); font-size: 0.95rem; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--success); box-shadow: 0 0 10px var(--success); }
@media (max-width: 900px) {
    .hero { padding-top: 40px; }
    .hero-grid { grid-template-columns: 1fr; }
}

/* the phone: a drawn iPhone with the app's home screen in it (a real screenshot when there is one) */
.phone-stage { position: relative; display: flex; justify-content: center; }
.phone-stage::before {
    content: ""; position: absolute; inset: 8% 4% 4%; border-radius: 50%;
    background: radial-gradient(closest-side, rgba(0, 198, 255, 0.35), rgba(47, 140, 255, 0.12) 55%, transparent 75%);
    filter: blur(20px); z-index: 0;
}
.phone {
    position: relative; z-index: 1; width: min(330px, 82vw); aspect-ratio: 9 / 19.2;
    border-radius: 48px; padding: 12px;
    background: linear-gradient(145deg, #2a3446, #0b0f16 40%, #1a2230);
    box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(142, 193, 255, 0.18), inset 0 0 0 2px #05070b;
    transform: rotate(-3deg);
}
.phone-screen {
    position: relative; height: 100%; border-radius: 38px; overflow: hidden;
    background: linear-gradient(180deg, #122039 0%, #0E131B 45%, #090D13 100%);
    padding: 46px 16px 16px; display: flex; flex-direction: column; gap: 12px;
}
.phone-screen img.shot { position: absolute; left: 0; right: 0; top: 34px; width: 100%; height: auto; }
.phone-notch { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 92px; height: 26px; border-radius: 20px; background: #000; z-index: 2; }
.app-title { font-weight: 700; font-size: 1.15rem; }
.app-card { background: var(--surface); border: 1px solid var(--outline); border-radius: 16px; padding: 12px 14px; font-size: 0.82rem; }
.app-card strong { display: block; font-size: 0.9rem; margin-bottom: 2px; }
.app-card.hero-card { background: linear-gradient(135deg, #1D4F99, #16263F 60%, #151C27); border-color: rgba(47, 140, 255, 0.45); box-shadow: 0 0 30px -8px rgba(47, 140, 255, 0.6); }
.app-card.warn { background: linear-gradient(135deg, #5A3A08, #151C27); border-color: rgba(255, 176, 32, 0.4); }
.app-card.ok { background: linear-gradient(135deg, #0F4A37, #151C27); border-color: rgba(52, 211, 153, 0.35); }
.app-card .code { font-family: ui-monospace, "SF Mono", Menlo, monospace; color: var(--warning); font-weight: 700; }
.app-row { display: flex; justify-content: space-between; color: var(--text-2); }
.app-gauges { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* the gauge: an SVG arc whose needle sweeps (site.js; still without motion) */
.gauge { position: relative; background: var(--surface); border: 1px solid var(--outline); border-radius: 16px; padding: 8px 8px 10px; text-align: center; }
.gauge svg { display: block; width: 100%; height: auto; }
.gauge .gauge-value { font-weight: 700; font-size: 1.05rem; margin-top: -18px; font-variant-numeric: tabular-nums; }
.gauge .gauge-label { color: var(--text-2); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em; }
.gauge-track { stroke: var(--primary-dim); }
.gauge-arc { stroke: url(#gaugeGradient); filter: drop-shadow(0 0 6px rgba(0, 198, 255, 0.8)); transition: stroke-dashoffset 0.6s ease; }

/* the three questions: cards with an icon, glowing on hover */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cards-2 { grid-template-columns: repeat(2, 1fr); }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .cards, .cards-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .cards, .cards-2, .cards-4 { grid-template-columns: 1fr; } }
.card {
    position: relative; background: linear-gradient(180deg, rgba(28, 37, 51, 0.9), rgba(21, 28, 39, 0.9));
    border: 1px solid var(--outline); border-radius: var(--radius); padding: 28px;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-3px); border-color: rgba(47, 140, 255, 0.55); box-shadow: 0 20px 50px -24px rgba(0, 198, 255, 0.45); }
.card p:last-child { margin-bottom: 0; }
.card .muted { font-size: 0.97rem; }
.card-icon {
    width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px;
    background: linear-gradient(135deg, rgba(47, 140, 255, 0.25), rgba(0, 198, 255, 0.10));
    border: 1px solid rgba(47, 140, 255, 0.4); color: var(--primary-bright);
}
.card-icon svg { width: 24px; height: 24px; }
.card-icon.amber { color: var(--warning); background: linear-gradient(135deg, rgba(255, 176, 32, 0.22), rgba(255, 176, 32, 0.05)); border-color: rgba(255, 176, 32, 0.4); }
.card-icon.green { color: var(--success); background: linear-gradient(135deg, rgba(52, 211, 153, 0.22), rgba(52, 211, 153, 0.05)); border-color: rgba(52, 211, 153, 0.4); }

/* steps: how it works */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; list-style: none; padding: 0; margin: 0; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }
.steps li { position: relative; padding: 28px 24px 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--outline); }
.steps li::before {
    counter-increment: step; content: counter(step);
    display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; margin-bottom: 14px;
    background: var(--accent); color: #fff; font-weight: 700; box-shadow: 0 0 24px -4px rgba(0, 198, 255, 0.7);
}

/* free and the unlock, side by side */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
@media (max-width: 800px) { .plans { grid-template-columns: 1fr; } }
.plan { border-radius: 24px; padding: 32px; background: var(--surface); border: 1px solid var(--outline); display: flex; flex-direction: column; }
.plan-featured {
    background: linear-gradient(160deg, #1D4F99 0%, #16263F 45%, #151C27 100%);
    border: 1px solid rgba(47, 140, 255, 0.55);
    box-shadow: 0 0 0 1px rgba(0, 198, 255, 0.15), 0 30px 80px -30px rgba(0, 198, 255, 0.55);
}
.plan-name { font-weight: 700; font-size: 1.2rem; }
.plan-price { font-size: 2.6rem; font-weight: 700; letter-spacing: -0.03em; margin: 8px 0 2px; }
.plan-price small { font-size: 1rem; font-weight: 600; color: var(--text-2); letter-spacing: 0; }
.plan ul { list-style: none; padding: 0; margin: 20px 0 24px; flex: 1; }
.plan li { padding: 7px 0 7px 30px; position: relative; }
.plan li::before {
    content: ""; position: absolute; left: 0; top: 11px; width: 18px; height: 18px; border-radius: 50%;
    background: rgba(52, 211, 153, 0.15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2334D399' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.plan-featured li::before { background-color: rgba(0, 198, 255, 0.18); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300C6FF' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E"); }
.badge { display: inline-block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: var(--accent); color: #fff; }
.badge-quiet { background: rgba(47, 140, 255, 0.14); color: var(--primary-soft); border: 1px solid rgba(47, 140, 255, 0.35); }

/* the adapter: its picture (drawn until there's a photo) and the offer */
.adapter { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: center; }
@media (max-width: 860px) { .adapter { grid-template-columns: 1fr; } }
.adapter-art { position: relative; border-radius: 28px; padding: 36px; background: radial-gradient(circle at 50% 40%, rgba(47, 140, 255, 0.25), transparent 65%), var(--surface); border: 1px solid var(--outline); }
.adapter-art svg { display: block; margin: 0 auto; width: 100%; max-width: 360px; height: auto; }
.adapter-art img { display: block; width: 100%; border-radius: 18px; }
.price-line { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin: 6px 0 14px; }
.price-line strong { font-size: 2.4rem; letter-spacing: -0.03em; }
.checks { list-style: none; padding: 0; margin: 18px 0 26px; display: grid; gap: 8px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; color: var(--text-2); }
.checks li::before { content: "✓"; color: var(--success); font-weight: 700; }

/* forms: the compatibility and smog checks, the sign-up */
.panel { background: linear-gradient(180deg, rgba(28, 37, 51, 0.92), rgba(21, 28, 39, 0.92)); border: 1px solid var(--outline); border-radius: 24px; padding: 32px; }
.panel-glow { border-color: rgba(47, 140, 255, 0.5); box-shadow: 0 30px 80px -40px rgba(0, 198, 255, 0.6); }
label { display: block; font-weight: 600; margin-bottom: 8px; }
.field { margin-bottom: 18px; }
.field-row { display: flex; gap: 12px; flex-wrap: wrap; }
.field-row > * { flex: 1 1 200px; }
.field-row .btn { flex: 0 0 auto; }
input[type=text], input[type=email], input[type=number], select, textarea {
    width: 100%; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--outline);
    background: var(--bg-deep); color: var(--text); font: inherit;
}
input::placeholder { color: var(--text-muted); }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239AA8BC' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
.hint { color: var(--text-2); font-size: 0.875rem; margin-top: 8px; }
.error-text { color: var(--error); font-size: 0.9rem; margin-top: 6px; }
.or { color: var(--text-muted); text-align: center; margin: 4px 0 18px; font-size: 0.9rem; }

/* answers: green, amber, red, blue */
.answer { border-radius: 20px; padding: 24px 26px; margin-top: 24px; border: 1px solid; }
.answer h3 { font-size: 1.35rem; margin-bottom: 6px; }
.answer p:last-child, .answer ul:last-child { margin-bottom: 0; }
.answer-yes { background: linear-gradient(135deg, #0F4A37, #151C27 70%); border-color: rgba(52, 211, 153, 0.4); }
.answer-maybe { background: linear-gradient(135deg, #5A3A08, #151C27 70%); border-color: rgba(255, 176, 32, 0.4); }
.answer-no { background: linear-gradient(135deg, #5A1A1D, #151C27 70%); border-color: rgba(255, 90, 95, 0.4); }
.answer-info { background: linear-gradient(135deg, #1D4F99, #151C27 70%); border-color: rgba(47, 140, 255, 0.45); }

/* the App Store and Google Play buttons: drawn, faded, "Soon" across them until the apps are out (as AutoLingo for BMW's) */
.store-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.store-button { position: relative; display: flex; flex-direction: column; justify-content: center; min-width: 156px; padding: 8px 18px; border-radius: 12px; border: 1px solid #3a4a63; background: #000; color: #fff; text-decoration: none; line-height: 1.15; }
.store-button-small { font-size: 0.7rem; }
.store-button-name { font-size: 1.15rem; font-weight: 600; }
.store-button[aria-disabled="true"] { opacity: 0.55; }
.store-soon { position: absolute; top: -9px; right: -8px; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; padding: 2px 8px; border-radius: 999px; background: var(--accent); color: #fff; }

/* frequently asked questions */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--outline); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 1.08rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--primary-bright); font-size: 1.4rem; line-height: 1; transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding-top: 12px; color: var(--text-2); }

/* the call to action band at the bottom of pages */
.cta {
    position: relative; overflow: hidden; border-radius: 32px; padding: 56px 40px; text-align: center;
    background: radial-gradient(600px 260px at 50% 0%, rgba(0, 198, 255, 0.35), transparent 70%), linear-gradient(160deg, #1D4F99, #16263F 55%, #151C27);
    border: 1px solid rgba(47, 140, 255, 0.5);
}
.cta .actions { justify-content: center; }
.cta .store-buttons { justify-content: center; }

/* the news sign-up */
.signup { max-width: 560px; margin: 0 auto; }
.signup form { display: flex; gap: 10px; flex-wrap: wrap; }
.signup input[type=email] { flex: 1 1 240px; }
.notice { border-radius: 14px; padding: 14px 18px; background: rgba(52, 211, 153, 0.12); border: 1px solid rgba(52, 211, 153, 0.4); }

/* tables: the smog rules, the specs */
.table-wrap { overflow-x: auto; border-radius: 16px; border: 1px solid var(--outline); }
table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--outline); }
th { color: var(--text-2); font-weight: 600; background: var(--surface); }
tr:last-child td { border-bottom: 0; }
.tag { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 0.8rem; font-weight: 600; }
.tag-yes { background: rgba(52, 211, 153, 0.14); color: var(--success); }
.tag-some { background: rgba(255, 176, 32, 0.14); color: var(--warning); }
.tag-no { background: rgba(154, 168, 188, 0.12); color: var(--text-2); }

/* long text: privacy, terms */
.prose { max-width: 780px; }
.prose h2 { font-size: 1.35rem; margin-top: 2em; }
.prose li { margin-bottom: 0.5em; }

/* the footer */
.site-footer { border-top: 1px solid var(--outline); margin-top: 80px; padding: 40px 0 56px; color: var(--text-2); font-size: 0.9rem; background: rgba(9, 13, 19, 0.6); }
.footer-grid { display: flex; flex-wrap: wrap; gap: 24px 48px; justify-content: space-between; align-items: flex-start; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-links a { color: var(--text-2); text-decoration: none; }
.footer-links a:hover { color: var(--text); }
.footer-legal { color: var(--text-muted); font-size: 0.8rem; margin-top: 18px; }

/* draft copy's claims to confirm, shown to developers only (as AutoLingo for BMW's: _Layout's Development style) */

/* scroll reveal (site.js adds .in; without script or with reduced motion everything is simply shown) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .js .reveal { opacity: 1; transform: none; transition: none; }
    .btn, .card { transition: none; }
    .gauge-arc { transition: none; }
}

/* the three phones of the showcase */
.phones { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.phones figure { margin: 0; text-align: center; }
.phones .phone { width: min(280px, 76vw); }
.phones .phone-stage { margin-bottom: 18px; }
.phones figure:nth-child(1) .phone { transform: rotate(-4deg); }
.phones figure:nth-child(2) .phone { transform: translateY(-18px); }
.phones figure:nth-child(3) .phone { transform: rotate(4deg); }
.phones figcaption { color: var(--text-2); }
.phones figcaption strong { display: block; color: var(--text); font-size: 1.1rem; }
@media (max-width: 900px) {
    .phones { grid-template-columns: 1fr; gap: 48px; }
    .phones figure .phone { transform: none !important; }
}
.section-head.center { text-align: center; }
.bmw-callout .btn { margin-top: 4px; }

@media (max-width: 560px) {
    .wrap { padding: 0 16px; }
    .panel, .plan { padding: 22px; }
    .card { padding: 22px; }
    .section { padding: 64px 0; }
    .cta { padding: 40px 20px; border-radius: 24px; }
}

/* the adapter right under the home page's headline (as AutoLingo for BMW's _HeroAdapter: visitors otherwise think the
   app needs no hardware) */
.hero-adapter { display: flex; gap: 14px; align-items: center; margin: 22px 0 6px; padding: 10px 16px 10px 10px; max-width: 560px;
    border-radius: 18px; background: rgba(21, 28, 39, 0.8); border: 1px solid var(--outline); color: var(--text); text-decoration: none; }
.hero-adapter:hover { color: var(--text); border-color: rgba(47, 140, 255, 0.55); }
.hero-adapter strong { display: block; }
.hero-adapter .muted { font-size: 0.92rem; }
.hero-adapter-art { flex: 0 0 76px; border-radius: 12px; padding: 6px; background: radial-gradient(circle at 50% 40%, rgba(47, 140, 255, 0.3), transparent 70%), var(--surface-raised); }
.hero-adapter-art svg { display: block; width: 100%; height: auto; }

/* the order's shipping step: one row per USPS service, its live price on the right */
.shipping-options { border: 0; padding: 0; margin: 0; display: grid; gap: 12px; }
.shipping-option { display: flex; align-items: center; gap: 14px; margin: 0; padding: 16px 18px; border-radius: 16px; border: 1px solid var(--outline);
    background: var(--bg-deep); cursor: pointer; font-weight: 400; }
.shipping-option:has(input:checked) { border-color: rgba(47, 140, 255, 0.7); box-shadow: 0 0 0 1px rgba(47, 140, 255, 0.4); }
.shipping-option input { accent-color: var(--primary); width: 18px; height: 18px; }
.shipping-option-text { flex: 1; display: grid; }
.shipping-option-price { font-weight: 700; font-size: 1.1rem; }

/* the admin pages */
.admin-main { padding-top: 24px; padding-bottom: 60px; }
.admin .card:hover { transform: none; }
.admin .plan-price { font-size: 2rem; }
.h2 { font-size: 1.8rem; } .h3 { font-size: 1.2rem; }
.bar { height: 10px; border-radius: 6px; background: var(--accent); min-width: 2px; }
.admin-list { list-style: none; padding: 0; margin: 0; }
.admin-list li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px solid var(--outline); font-size: 0.92rem; }
.admin-list li span { overflow-wrap: anywhere; color: var(--text-2); }

/* admin: an app log's text, a news email's preview (an email is light, whatever the site's theme) */
pre.log { max-height: 70vh; overflow: auto; padding: 14px 16px; border-radius: 12px; background: rgba(0, 0, 0, 0.35); border: 1px solid var(--outline); font-size: 0.8rem; line-height: 1.45; white-space: pre-wrap; word-break: break-all; }
.email-preview { max-width: 640px; padding: 24px; border-radius: 12px; background: #fff; color: #1b2430; font: 15px/1.5 -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }
.email-preview a { color: #1a5fd0; }
.email-preview img { max-width: 100%; height: auto; }

/* support: the survey's choices; Admin > Support's tiles, badges and conversation */
.choice-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.choice { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border: 1px solid var(--outline); border-radius: 12px; cursor: pointer; }
.choice:has(input:checked) { border-color: var(--primary-bright); background: rgba(47, 140, 255, 0.12); }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; margin-bottom: 24px; }
.tile { display: block; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--outline); background: rgba(255, 255, 255, 0.02); text-decoration: none; color: var(--text); }
.tile b { display: block; font-size: 1.5rem; }
.tile span { color: var(--text-2); font-size: 0.85rem; }
.tile.attention { border-color: rgba(255, 176, 32, 0.6); }
.tile.urgent { border-color: rgba(255, 92, 92, 0.8); }
.tag-urgent { background: rgba(255, 92, 92, 0.16); color: #ff8a8a; }
.tag-high { background: rgba(255, 176, 32, 0.14); color: var(--warning); }
.msg { border: 1px solid var(--outline); border-radius: 14px; padding: 14px 16px; margin-bottom: 12px; }
.msg.out { background: rgba(47, 140, 255, 0.07); }
.msg.note { background: rgba(255, 176, 32, 0.06); border-style: dashed; }
.msg-body { white-space: pre-wrap; margin: 6px 0 0; }
.admin-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 24px; }
@media (max-width: 900px) { .admin-grid { grid-template-columns: 1fr; } }
.excerpt { color: var(--text-2); font-size: 0.85rem; max-width: 46ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.inline-form { display: inline; }
.btn-link { background: none; border: 0; padding: 0; color: var(--primary-soft); cursor: pointer; font: inherit; text-decoration: underline; }
