:root {
    color-scheme: light;
    --navy-950: #17263d;
    --navy-900: #243c59;
    --navy-800: #304e70;
    --blue-700: #304e70;
    --blue-600: #365b85;
    --blue-100: #e9eef4;
    --blue-50: #f5f7fa;
    --ink: #17263d;
    --muted: #596579;
    --line: #e2e6eb;
    --surface: #ffffff;
    --surface-soft: #f5f7fa;
    --accent: #bd4935;
    --accent-hover: #9c3828;
    --success: #087c57;
    --danger: #c62536;
    --warning: #a45200;
    --shadow-sm: 0 4px 16px rgba(23, 38, 61, 0.04);
    --shadow-lg: 0 14px 40px rgba(23, 38, 61, 0.08);
    --radius-sm: 12px;
    --radius-md: 18px;
    --radius-lg: 28px;
    --content: 1180px;
    --nav-height: 72px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--nav-height) + 18px);
}

body {
    margin: 0;
    min-width: 280px;
    background: var(--surface);
    color: var(--ink);
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

body.menu-open {
    overflow: hidden;
}

img,
svg {
    display: block;
}

button,
input,
select {
    font: inherit;
}

button,
select {
    cursor: pointer;
}

a {
    color: inherit;
}

h1,
h2,
h3,
h4,
p {
    margin-top: 0;
}

h1,
h2,
h3,
h4 {
    font-family: "Avenir Next", Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    letter-spacing: -0.035em;
    line-height: 1.08;
}

h1,
h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
    letter-spacing: -0.045em;
    line-height: 1.13;
}

.container {
    width: min(calc(100% - 40px), var(--content));
    margin-inline: auto;
}

.skip-link {
    position: fixed;
    left: 16px;
    top: -80px;
    z-index: 1000;
    padding: 10px 16px;
    border-radius: 0 0 10px 10px;
    background: var(--navy-950);
    color: white;
    font-weight: 700;
    text-decoration: none;
    transition: top 160ms ease;
}

.skip-link:focus {
    top: 0;
}

:focus-visible {
    outline: 3px solid var(--blue-600);
    outline-offset: 3px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    height: var(--nav-height);
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(16px);
}

.nav-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    gap: 28px;
}

.brand {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    gap: 10px;
    color: var(--navy-950);
    font-family: "Avenir Next", Inter, sans-serif;
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    text-decoration: none;
}

.brand img {
    width: 34px;
    height: 34px;
    border-radius: 9px;
}

.desktop-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    margin-left: auto;
}

.desktop-nav a,
.nav-actions a {
    position: relative;
    color: var(--ink);
    font-size: 0.94rem;
    font-weight: 650;
    text-decoration: none;
}

.desktop-nav a::after {
    position: absolute;
    right: 0;
    bottom: -9px;
    left: 0;
    height: 2px;
    border-radius: 999px;
    background: var(--blue-600);
    content: "";
    opacity: 0;
    transform: scaleX(0.55);
    transition: opacity 160ms ease, transform 160ms ease;
}

.desktop-nav a:hover::after,
.desktop-nav a[aria-current="page"]::after {
    opacity: 1;
    transform: scaleX(1);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

.nav-cta,
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 11px 20px;
    border: 1px solid transparent;
    border-radius: 5px;
    font-weight: 750;
    line-height: 1.2;
    text-decoration: none;
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.nav-actions .nav-cta,
.button-primary {
    border-color: var(--navy-900);
    background: var(--navy-900);
    color: white;
    box-shadow: none;
}

.nav-actions .nav-cta {
    border-color: var(--accent);
    background: var(--accent);
}

.nav-actions .nav-cta:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
}

.nav-cta:hover,
.button-primary:hover {
    transform: translateY(-1px);
    box-shadow: none;
    background: var(--navy-950);
}

.button-secondary {
    border-color: #b9cae2;
    background: white;
    color: var(--navy-900);
}

.button-secondary:hover {
    border-color: var(--blue-600);
    background: var(--blue-50);
}

.mobile-toggle {
    display: none;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: white;
    color: var(--navy-950);
}

.mobile-nav {
    display: none;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 18px;
    color: var(--muted);
    font-size: 0.77rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.eyebrow-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: none;
}

.hero {
    position: relative;
    overflow: hidden;
    padding: 72px 0 44px;
    background: var(--surface);
}

.hero::after {
    position: absolute;
    right: -190px;
    top: -270px;
    width: 680px;
    height: 680px;
    border: 1px solid rgba(25, 126, 238, 0.12);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
    align-items: center;
    gap: clamp(36px, 7vw, 90px);
}

.hero-copy h1,
.page-hero h1 {
    max-width: 800px;
    margin-bottom: 20px;
    color: var(--navy-950);
    font-size: clamp(2.7rem, 5.7vw, 4.75rem);
    font-weight: 400;
}

.hero-copy h1 {
    font-size: clamp(2.7rem, 4.5vw, 3.75rem);
}

.hero-copy > p,
.page-hero .lead {
    max-width: 670px;
    margin-bottom: 25px;
    color: #495f80;
    font-size: clamp(1.08rem, 2vw, 1.3rem);
}

.search-form {
    display: flex;
    max-width: 720px;
    min-height: 58px;
    padding: 5px;
    border: 1px solid #b9c9df;
    border-radius: 13px;
    background: white;
    box-shadow: var(--shadow-sm);
}

.search-field {
    position: relative;
    display: flex;
    align-items: center;
    flex: 1;
}

.search-field svg {
    position: absolute;
    left: 14px;
    color: #526c93;
    pointer-events: none;
}

.search-field input {
    width: 100%;
    min-width: 0;
    height: 100%;
    padding: 10px 14px 10px 46px;
    border: 0;
    background: transparent;
    color: var(--ink);
    outline: 0;
}

.search-field input::placeholder {
    color: #7184a2;
}

.search-form button {
    min-width: 148px;
    border: 0;
}

.app-download-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    max-width: 720px;
    margin-top: 16px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--surface-soft);
    box-shadow: none;
}

.app-download-copy {
    flex: 1 1 210px;
    min-width: 0;
}

.app-download-copy .app-download-kicker {
    margin: 0 0 3px;
    color: var(--blue-700);
    font-size: 0.71rem;
    font-weight: 800;
    letter-spacing: 0.065em;
    text-transform: uppercase;
}

.app-download-copy h2 {
    margin: 0 0 4px;
    color: var(--navy-950);
    font-size: 1.08rem;
    letter-spacing: -0.02em;
}

.app-download-copy p:last-child {
    margin: 0;
    color: #526b91;
    font-size: 0.83rem;
    line-height: 1.38;
}

.app-download-actions {
    display: flex;
    flex: 0 0 auto;
    gap: 9px;
}

.store-cta {
    display: grid;
    grid-template-columns: auto auto auto;
    align-items: center;
    gap: 8px;
    min-height: 52px;
    padding: 8px 10px;
    border: 1px solid #adc2dc;
    border-radius: 11px;
    background: var(--surface);
    color: var(--navy-950);
    box-shadow: 0 5px 14px rgba(12, 54, 111, 0.08);
    text-decoration: none;
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.store-cta:hover {
    border-color: var(--blue-600);
    box-shadow: 0 9px 20px rgba(7, 81, 181, 0.14);
    transform: translateY(-1px);
}

.store-cta:focus-visible {
    outline-color: var(--blue-700);
    box-shadow: 0 0 0 5px white;
}

.store-cta > svg {
    color: var(--blue-700);
}

.store-cta > span:not(.store-cta-arrow) {
    display: flex;
    flex-direction: column;
    min-width: 76px;
}

.store-cta strong {
    font-size: 0.82rem;
    line-height: 1.15;
    white-space: nowrap;
}

.store-cta small {
    margin-top: 2px;
    color: #5d7291;
    font-size: 0.7rem;
    line-height: 1.1;
}

.store-cta-arrow {
    color: var(--blue-700);
    font-weight: 800;
}

.trust-line {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 22px 0 0;
    color: #526b91;
    font-size: 0.93rem;
}

.trust-line svg {
    flex: 0 0 auto;
    color: var(--navy-800);
}

.featured-recall {
    position: relative;
    min-height: 250px;
}

.featured-orbit {
    position: absolute;
    inset: 50% auto auto 50%;
    width: min(36vw, 430px);
    aspect-ratio: 1;
    border: 1px solid rgba(36, 136, 239, 0.16);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(133, 197, 255, 0.25), rgba(228, 244, 255, 0.08) 54%, transparent 55%);
    transform: translate(-50%, -50%);
}

.featured-card {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 104px 1fr;
    gap: 18px;
    margin-top: 46px;
    padding: 22px;
    border: 1px solid rgba(199, 212, 229, 0.85);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.93);
    box-shadow: var(--shadow-lg);
    text-decoration: none;
}

.featured-image,
.recall-thumb {
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 10px;
    background: linear-gradient(145deg, #edf3fa, #d9e8f7);
    color: #5f7699;
}

.featured-image {
    width: 104px;
    height: 104px;
}

.featured-image img,
.recall-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-card h2 {
    margin: 8px 0 8px;
    font-size: 1.2rem;
}

.featured-card p {
    margin-bottom: 13px;
    color: #5a6d8d;
    font-size: 0.92rem;
    line-height: 1.45;
}

.featured-meta,
.recall-meta {
    color: #657a9d;
    font-size: 0.8rem;
}

.risk-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: max-content;
    padding: 5px 9px;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.risk-badge::before {
    display: grid;
    width: 16px;
    height: 16px;
    place-items: center;
    border-radius: 50%;
    color: white;
    content: "!";
    font-size: 0.7rem;
    line-height: 1;
}

.risk-high {
    background: #ffedef;
    color: var(--danger);
}

.risk-high::before {
    background: #e9293f;
}

.risk-medium {
    background: #fff3df;
    color: var(--warning);
}

.risk-medium::before {
    background: #e88918;
}

.risk-low,
.risk-info {
    background: #e8f8f1;
    color: var(--success);
}

.risk-low::before,
.risk-info::before {
    background: #0a9b69;
}

.safety-directive {
    display: inline-flex;
    width: max-content;
    margin-top: 8px;
    padding: 5px 9px;
    border: 1px solid #f2bbc1;
    border-radius: 7px;
    background: #fff2f3;
    color: #b51f30;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.category-bar {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    margin-top: 46px;
}

.category-card {
    display: flex;
    min-height: 86px;
    align-items: center;
    gap: 14px;
    padding: 17px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: white;
    color: var(--navy-950);
    font-weight: 750;
    text-decoration: none;
    transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.category-card:first-child {
    border-color: var(--blue-600);
    background: linear-gradient(135deg, #f6fbff, #e8f5ff);
}

.category-card:hover {
    border-color: var(--blue-600);
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}

.category-icon {
    display: grid;
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 10px;
    background: var(--blue-50);
    color: var(--blue-700);
}

.category-arrow {
    margin-left: auto;
    color: #547094;
    font-size: 1.25rem;
}

.utility-section {
    padding: 24px 0 86px;
    background: linear-gradient(180deg, #fff, #f7faff);
}

.utility-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(320px, 0.75fr);
    gap: 22px;
    align-items: stretch;
}

.panel {
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: white;
    box-shadow: 0 12px 32px rgba(25, 52, 91, 0.06);
}

.panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 24px 26px 16px;
}

.panel-header h2 {
    margin: 0;
    color: var(--navy-950);
    font-size: clamp(1.55rem, 3vw, 2.05rem);
}

.panel-header a {
    color: var(--blue-700);
    font-size: 0.9rem;
    font-weight: 750;
    text-decoration: none;
}

.recall-list {
    margin: 0;
    padding: 0 26px 12px;
    list-style: none;
}

.recall-row {
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    padding: 14px 0;
    border-top: 1px solid #e6ebf2;
}

.recall-row > a {
    display: contents;
    color: inherit;
    text-decoration: none;
}

.recall-thumb {
    width: 74px;
    height: 62px;
}

.recall-category {
    display: inline-block;
    margin-bottom: 3px;
    padding: 3px 7px;
    border-radius: 5px;
    background: #edf3fa;
    color: #36557d;
    font-size: 0.63rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.recall-title {
    margin: 0 0 2px;
    font-family: inherit;
    font-size: 0.99rem;
    letter-spacing: -0.015em;
    line-height: 1.25;
}

.recall-summary {
    display: -webkit-box;
    overflow: hidden;
    margin: 0;
    color: #617491;
    font-size: 0.82rem;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
}

.recall-side {
    display: flex;
    align-items: center;
    gap: 14px;
}

.recall-date {
    color: #627696;
    font-size: 0.79rem;
    white-space: nowrap;
}

.skeleton-line,
.skeleton-box {
    border-radius: 6px;
    background: linear-gradient(90deg, #edf2f8 25%, #f7f9fc 50%, #edf2f8 75%);
    background-size: 200% 100%;
    animation: shimmer 1.4s infinite;
}

.skeleton-box {
    width: 74px;
    height: 62px;
}

.skeleton-line {
    width: 80%;
    height: 12px;
    margin: 7px 0;
}

.skeleton-line.short {
    width: 46%;
}

@keyframes shimmer {
    to { background-position: -200% 0; }
}

.auto-checker {
    position: relative;
    overflow: hidden;
    padding: 28px;
    border-color: #c8e4fb;
    background: linear-gradient(145deg, #f2faff, #d8efff);
}

.auto-checker::after {
    position: absolute;
    right: -30px;
    top: 20px;
    color: rgba(19, 104, 218, 0.1);
    content: "AUTO";
    font-size: 4.5rem;
    font-weight: 900;
    letter-spacing: -0.08em;
    transform: rotate(-90deg) translateX(-44px);
}

.auto-icon {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.74);
    color: var(--blue-700);
}

.auto-checker h2 {
    position: relative;
    z-index: 1;
    margin: 24px 0 8px;
    font-size: 2rem;
}

.auto-checker > p {
    position: relative;
    z-index: 1;
    color: #264c80;
}

.vehicle-form {
    position: relative;
    z-index: 1;
}

.select-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin: 20px 0 12px;
}

.field label {
    display: block;
    margin-bottom: 7px;
    color: #36557d;
    font-size: 0.76rem;
    font-weight: 750;
}

.field select,
.field input {
    width: 100%;
    min-height: 48px;
    padding: 10px 12px;
    border: 1px solid #b8cbe2;
    border-radius: 9px;
    background: white;
    color: var(--ink);
}

.field select:disabled,
.field input:disabled {
    cursor: not-allowed;
    opacity: 0.62;
}

.vehicle-form .button {
    width: 100%;
}

.nhtsa-link {
    display: inline-flex;
    margin-top: 16px;
    color: var(--blue-700);
    font-size: 0.86rem;
    font-weight: 750;
    text-decoration: none;
}

.source-strip {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 21px;
    padding-top: 26px;
    color: #667995;
    font-size: 0.82rem;
}

.source-strip strong {
    color: var(--navy-950);
    letter-spacing: 0.02em;
}

.source-strip span {
    width: 1px;
    height: 22px;
    background: var(--line);
}

.source-strip p {
    margin: 0 0 0 10px;
}

.page-hero {
    padding: 62px 0 52px;
    background: var(--surface);
}

.breadcrumbs {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    color: #667a99;
    font-size: 0.85rem;
}

.breadcrumbs a {
    color: var(--blue-700);
    text-decoration: none;
}

.page-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.7fr);
    align-items: center;
    gap: 64px;
}

.page-hero h1 {
    margin-bottom: 18px;
    font-size: clamp(2.55rem, 6vw, 4.6rem);
}

.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.hero-point {
    padding: 7px 11px;
    border: 1px solid #c8d9ec;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.8);
    color: #36567f;
    font-size: 0.78rem;
    font-weight: 750;
}

.vehicle-illustration {
    position: relative;
    display: grid;
    min-height: 285px;
    place-items: center;
    border: 1px solid #cde4f8;
    border-radius: 44% 56% 60% 40% / 46% 38% 62% 54%;
    background: radial-gradient(circle at center, #fff 0 22%, #dff2ff 23% 46%, #f6fbff 47%);
    color: var(--blue-700);
}

.vehicle-illustration svg {
    width: 148px;
    height: 148px;
}

.vehicle-illustration::after {
    position: absolute;
    right: 18px;
    bottom: 25px;
    padding: 8px 12px;
    border: 1px solid #bedaf1;
    border-radius: 999px;
    background: white;
    color: var(--navy-900);
    content: "Official NHTSA campaigns";
    font-size: 0.75rem;
    font-weight: 750;
    box-shadow: var(--shadow-sm);
}

.auto-tool-section {
    padding: 64px 0;
}

.section-heading {
    max-width: 750px;
    margin-bottom: 28px;
}

.section-heading h2 {
    margin-bottom: 10px;
    font-size: clamp(1.8rem, 4vw, 2.65rem);
}

.section-heading p {
    color: #5e728f;
}

.vehicle-search-panel {
    padding: clamp(22px, 4vw, 38px);
}

.vehicle-search-panel .select-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
    align-items: end;
    margin: 0;
    gap: 14px;
}

.form-status {
    min-height: 24px;
    margin: 14px 0 0;
    color: #526c90;
    font-size: 0.86rem;
}

.form-status[data-tone="error"] {
    color: var(--danger);
}

.form-status[data-tone="success"] {
    color: var(--success);
}

.vehicle-results {
    display: none;
    margin-top: 22px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
}

.vehicle-results.is-visible {
    display: block;
}

.vehicle-results h3 {
    margin-bottom: 8px;
}

.vehicle-results p {
    color: #5e728f;
}

.auto-checker .campaign-grid {
    grid-template-columns: 1fr;
}

.auto-checker .campaign-card {
    min-height: 0;
    margin-top: 12px;
    padding: 16px;
}

.campaign-section {
    padding: 20px 0 90px;
}

.campaign-toolbar {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.campaign-toolbar .section-heading {
    margin-bottom: 0;
}

.campaign-filter {
    min-width: 210px;
}

.campaign-filter label {
    display: block;
    margin-bottom: 6px;
    color: #526b8f;
    font-size: 0.75rem;
    font-weight: 750;
}

.campaign-filter select {
    width: 100%;
    min-height: 44px;
    padding: 9px 34px 9px 12px;
    border: 1px solid #becde0;
    border-radius: 9px;
    background: white;
}

.campaign-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.match-actions {
    display: flex;
    justify-content: center;
    margin-top: 24px;
}

.match-actions[hidden] {
    display: none;
}

.campaign-card {
    display: flex;
    min-height: 270px;
    flex-direction: column;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: white;
    box-shadow: 0 10px 28px rgba(25, 52, 91, 0.06);
    text-decoration: none;
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.campaign-card:hover {
    border-color: #9fc4ed;
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}

.campaign-card h3 {
    margin: 15px 0 9px;
    font-size: 1.17rem;
}

.campaign-card p {
    display: -webkit-box;
    overflow: hidden;
    margin-bottom: 18px;
    color: #5d708d;
    font-size: 0.9rem;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}

.campaign-card .campaign-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #e9edf3;
    color: #607391;
    font-size: 0.77rem;
}

.campaign-state {
    grid-column: 1 / -1;
    padding: 48px 24px;
    border: 1px dashed #bdcce0;
    border-radius: 16px;
    background: #f8fbff;
    color: #5b7191;
    text-align: center;
}

.campaign-state h3 {
    margin-bottom: 8px;
    color: var(--navy-950);
}

.campaign-state p {
    margin-bottom: 18px;
}

.campaign-state .button {
    min-height: 42px;
}

.vin-notice {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 18px;
    margin-top: 28px;
    padding: 20px 22px;
    border: 1px solid #c8dbee;
    border-radius: 14px;
    background: #f4faff;
}

.vin-notice svg {
    color: var(--blue-700);
}

.vin-notice h3 {
    margin-bottom: 4px;
    font-size: 1rem;
}

.vin-notice p {
    margin: 0;
    color: #5d708e;
    font-size: 0.84rem;
}

.vin-notice a {
    color: var(--blue-700);
    font-size: 0.86rem;
    font-weight: 750;
    text-decoration: none;
    white-space: nowrap;
}

.site-footer {
    padding: 54px 0 26px;
    border-top: 1px solid var(--line);
    background: var(--surface);
    color: var(--ink);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 42px;
}

.footer-brand .brand {
    margin-bottom: 16px;
    color: var(--ink);
}

.footer-brand p {
    max-width: 360px;
    color: var(--muted);
    font-size: 0.9rem;
}

.footer-column h2 {
    margin-bottom: 16px;
    color: var(--ink);
    font-family: inherit;
    font-size: 0.83rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.footer-column a {
    display: block;
    width: max-content;
    max-width: 100%;
    margin: 10px 0;
    color: var(--muted);
    font-size: 0.87rem;
    text-decoration: none;
}

.footer-column a:hover {
    color: var(--ink);
    text-decoration: underline;
}

.footer-legal {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 30px;
    margin-top: 42px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.76rem;
}

.footer-legal p {
    max-width: 760px;
    margin: 0;
}

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

@media (max-width: 1020px) {
    .desktop-nav {
        gap: 17px;
    }

    .nav-actions .plain-action {
        display: none;
    }

    .hero-grid,
    .page-hero-grid {
        grid-template-columns: 1fr 0.85fr;
        gap: 34px;
    }

    .app-download-panel {
        align-items: stretch;
        flex-direction: column;
    }

    .app-download-copy {
        flex: 0 1 auto;
    }

    .app-download-actions {
        width: 100%;
    }

    .store-cta {
        flex: 1 1 0;
    }

    .category-bar {
        grid-template-columns: repeat(3, 1fr);
    }

    .utility-grid {
        grid-template-columns: 1fr;
    }

    .campaign-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-grid {
        grid-template-columns: 1.5fr repeat(2, 1fr);
    }
}

@media (max-width: 760px) {
    :root {
        --nav-height: 64px;
    }

    .container {
        width: min(calc(100% - 30px), var(--content));
    }

    .desktop-nav,
    .nav-actions {
        display: none;
    }

    .mobile-toggle {
        display: inline-flex;
    }

    .mobile-nav {
        position: fixed;
        inset: var(--nav-height) 0 auto;
        z-index: 99;
        display: grid;
        gap: 3px;
        padding: 18px;
        border-bottom: 1px solid var(--line);
        background: white;
        box-shadow: var(--shadow-lg);
        opacity: 0;
        pointer-events: none;
        transform: translateY(-10px);
        transition: opacity 160ms ease, transform 160ms ease;
    }

    .mobile-nav.is-open {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .mobile-nav a {
        padding: 11px 12px;
        border-radius: 8px;
        color: var(--navy-950);
        font-weight: 700;
        text-decoration: none;
    }

    .mobile-nav a:last-child {
        margin-top: 6px;
        background: var(--navy-900);
        color: white;
        text-align: center;
    }

    .hero,
    .page-hero {
        padding-top: 46px;
    }

    .hero-grid,
    .page-hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-copy h1,
    .page-hero h1 {
        font-size: clamp(2.45rem, 12vw, 3.7rem);
    }

    .featured-recall {
        min-height: 0;
    }

    .featured-orbit {
        width: 360px;
    }

    .featured-card {
        margin-top: 4px;
    }

    .app-download-panel {
        max-width: none;
    }

    .category-bar {
        grid-template-columns: repeat(2, 1fr);
        margin-top: 34px;
    }

    .category-card {
        min-height: 76px;
    }

    .source-strip p {
        flex-basis: 100%;
        margin-left: 0;
    }

    .vehicle-illustration {
        min-height: 230px;
    }

    .vehicle-search-panel .select-grid {
        grid-template-columns: 1fr;
    }

    .campaign-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .campaign-filter {
        min-width: 0;
    }

    .vin-notice {
        grid-template-columns: auto 1fr;
    }

    .vin-notice a {
        grid-column: 2;
        white-space: normal;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-legal {
        flex-direction: column;
    }
}

@media (max-width: 540px) {
    .search-form {
        min-height: 0;
        padding: 0;
        border: 0;
        background: transparent;
        box-shadow: none;
        flex-direction: column;
        gap: 9px;
    }

    .search-field {
        min-height: 54px;
        border: 1px solid #b9c9df;
        border-radius: 11px;
        background: white;
        box-shadow: var(--shadow-sm);
    }

    .search-form button {
        width: 100%;
    }

    .app-download-panel {
        padding: 13px;
    }

    .app-download-actions {
        gap: 7px;
    }

    .store-cta {
        min-width: 0;
        padding-inline: 8px;
        gap: 6px;
    }

    .store-cta > span:not(.store-cta-arrow) {
        min-width: 0;
    }

    .store-cta strong {
        font-size: 0.76rem;
    }

    .store-cta small {
        font-size: 0.66rem;
    }

    .featured-card {
        grid-template-columns: 74px 1fr;
        gap: 13px;
        padding: 17px;
    }

    .featured-image {
        width: 74px;
        height: 74px;
    }

    .category-bar,
    .campaign-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .category-card {
        min-height: 66px;
    }

    .panel-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .recall-list {
        padding-inline: 18px;
    }

    .recall-row {
        grid-template-columns: 62px minmax(0, 1fr);
    }

    .recall-thumb,
    .skeleton-box {
        width: 62px;
        height: 56px;
    }

    .recall-side {
        grid-column: 2;
        align-items: flex-start;
        flex-direction: column-reverse;
        gap: 6px;
    }

    .auto-checker {
        padding: 22px;
    }

    .select-grid {
        grid-template-columns: 1fr;
    }

    .footer-brand {
        grid-column: auto;
    }
}

@media (max-width: 360px) {
    .app-download-actions {
        flex-direction: column;
    }

    .store-cta {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Shared, quieter surfaces keep utility pages in the same family as the home page. */
.panel,
.campaign-card,
.vin-notice {
    box-shadow: none;
}

.hero-point,
.vin-notice {
    border-color: var(--line);
    background: var(--surface-soft);
}

.vehicle-illustration {
    border-color: var(--line);
    border-radius: 48% 48% 8px 8px;
    background: var(--surface-soft);
}

.vehicle-illustration::after {
    border-color: var(--line);
    box-shadow: none;
}

/* Use the stores' supplied artwork intact, including Google's built-in clear space. */
.app-download-actions {
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
}

.store-badge {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    padding: 12px;
    border-radius: 6px;
    text-decoration: none;
}

.store-badge img {
    display: block;
    width: auto;
    height: 48px;
    max-width: none;
}

.store-badge--google {
    padding: 0;
}

.store-badge--google img {
    height: 73px;
}

.store-badge:hover {
    opacity: 0.85;
}

.store-trademark-credit {
    margin: 18px 0 0;
    color: var(--muted);
    font-size: 0.72rem;
    line-height: 1.6;
}

/* Compact shared footer: supporting notices remain available on demand. */
.site-footer { padding: 30px 0; }
.footer-simple { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-simple nav { display: flex; flex-wrap: wrap; gap: 12px 24px; font-size: .85rem; }
.footer-simple nav a { color: var(--muted); text-decoration: none; }
.footer-simple nav a:hover { color: var(--ink); text-decoration: underline; }
.footer-notices { max-width: 850px; margin-top: 24px; color: var(--muted); font-size: .76rem; }
.footer-notices summary { width: fit-content; min-height: 36px; cursor: pointer; }
.footer-notices p { margin: 10px 0; }
.footer-copyright { margin: 8px 0 0; color: var(--muted); font-size: .72rem; }
@media (max-width: 620px) {
    .footer-simple { align-items: flex-start; flex-direction: column; gap: 16px; }
    .footer-simple nav { gap: 8px 20px; }
}

@media (max-width: 540px) {
    .app-download-actions {
        flex-direction: row;
    }

    .store-badge {
        padding: 10px;
    }

    .store-badge img {
        height: 40px;
    }

    .store-badge--google {
        padding: 0;
    }

    .store-badge--google img {
        height: 61px;
    }
}

/* Country selection is independent of optional category/risk filters. */
.country-choice {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 8px 0;
    color: var(--muted);
    font-size: 0.9rem;
}
.country-choice select {
    min-height: 44px;
    max-width: 100%;
    padding: 8px 10px;
    color: var(--ink);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 4px;
}
