:root {
    --bg: #faf7f0;
    --surface: #ffffff;
    --surface-soft: #fffaf3;
    --ink: #1c1917;
    --muted: #6b6258;
    --line: #eadfce;
    --charcoal: #1c1917;
    --charcoal-2: #2b2118;
    --charcoal-3: #3a2a1e;
    --accent: #f97316;
    --accent-dark: #c9560c;
    --accent-soft: #fff4eb;
    --warm-soft: #fff7ed;
    --success: #15803d;
    --radius: 8px;
    --shadow: 0 16px 40px rgba(16, 24, 40, 0.08);
}

* {
    box-sizing: border-box;
}

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

body {
    margin: 0;
    background:
        radial-gradient(circle at 8% 0%, rgba(249, 115, 22, 0.10), transparent 24rem),
        linear-gradient(180deg, #fffaf3 0%, var(--bg) 520px);
    color: var(--ink);
    font-family: Inter, Arial, Helvetica, sans-serif;
    line-height: 1.62;
    overflow-x: hidden;
}

a {
    color: var(--accent-dark);
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

.hero,
.page-hero,
.section {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
}

.site-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 18px;
    position: sticky;
    top: 0;
    z-index: 20;
    padding: 12px max(16px, calc((100vw - 1120px) / 2));
    background: rgba(7, 20, 38, 0.96);
    border-bottom: 3px solid var(--accent);
    backdrop-filter: blur(12px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
    color: #fff;
    font-weight: 900;
    letter-spacing: -0.02em;
}

.brand-mark {
    display: inline-grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 7px;
    background: linear-gradient(135deg, var(--accent), #ffb15f);
    color: #1c1917;
    font-size: 12px;
    font-weight: 900;
}

.site-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.site-nav a {
    color: #dce6f4;
    padding: 8px 10px;
    border-radius: 999px;
    white-space: nowrap;
}

.site-nav,
.footer-links,
.topic-grid,
.vehicle-grid,
.make-grid,
.year-grid,
.mistake-list,
.feature-grid,
.tools,
.finder,
.cost-grid,
.spec-summary,
.split-panel,
.grid-section {
    min-width: 0;
}

.site-nav a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.72fr);
    gap: 24px;
    align-items: stretch;
    margin-top: 22px;
    padding: 34px;
    overflow: hidden;
    background:
        radial-gradient(circle at 86% 18%, rgba(249, 115, 22, 0.28), transparent 17rem),
        linear-gradient(135deg, var(--charcoal) 0%, var(--charcoal-2) 68%, #231a14 100%);
    color: #fff;
    border-radius: 14px;
    box-shadow: var(--shadow);
}

.hero::after {
    content: "";
    position: absolute;
    inset: auto -40px -72px auto;
    width: 230px;
    height: 230px;
    border-radius: 50%;
    background: rgba(249, 115, 22, 0.12);
    pointer-events: none;
}

.hero-copy,
.hero-panel {
    position: relative;
    z-index: 1;
}

.hero-copy h1,
.page-hero h1 {
    margin: 0;
    max-width: 820px;
    font-size: clamp(36px, 5.4vw, 66px);
    line-height: 0.98;
    letter-spacing: -0.045em;
    overflow-wrap: anywhere;
}

.hero-copy p {
    max-width: 720px;
    margin: 18px 0 0;
    color: #d9e4f2;
    font-size: 18px;
}

.accent-text {
    color: var(--accent);
}

.eyebrow {
    margin: 0 0 10px;
    color: var(--accent);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.10em;
    text-transform: uppercase;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

.hero-badges span {
    padding: 7px 10px;
    color: #ffe4cf;
    background: rgba(249, 115, 22, 0.12);
    border: 1px solid rgba(249, 115, 22, 0.36);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 18px;
    border: 1px solid transparent;
    border-radius: var(--radius);
    font-weight: 900;
    cursor: pointer;
    text-align: center;
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
    overflow-wrap: anywhere;
}

.button:focus-visible,
a:focus-visible,
summary:focus-visible,
select:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 3px solid rgba(249, 115, 22, 0.34);
    outline-offset: 3px;
}

.button.primary {
    background: linear-gradient(135deg, var(--accent), #fb923c);
    color: #1c1917;
    box-shadow: 0 14px 26px rgba(249, 115, 22, 0.24);
}

.button.secondary {
    background: rgba(255, 255, 255, 0.98);
    color: var(--charcoal);
    border-color: rgba(255, 255, 255, 0.4);
}

.button:hover,
.make-card:hover,
.year-card:hover,
.topic-grid a:hover {
    transform: translateY(-2px);
}

.hero-panel {
    display: grid;
    align-content: center;
    gap: 12px;
    min-height: 100%;
    padding: 22px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 12px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.hero-panel span {
    color: #9fb2cc;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.hero-panel strong {
    padding-bottom: 12px;
    color: #fff;
    font-size: 20px;
    line-height: 1.18;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-panel strong:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.section,
.page-hero {
    padding: 34px 0;
}

.page-hero {
    margin-top: 22px;
    padding: 30px;
    color: #fff;
    background:
        radial-gradient(circle at 88% 15%, rgba(249, 115, 22, 0.24), transparent 14rem),
        linear-gradient(135deg, var(--charcoal), var(--charcoal-2));
    border-radius: 14px;
    box-shadow: var(--shadow);
}

.page-hero p {
    max-width: 780px;
    color: #d9e4f2;
}

.page-hero .breadcrumbs {
    margin-bottom: 18px;
}

.page-hero .breadcrumbs,
.page-hero .breadcrumbs a {
    color: #aebdd0;
}

.trust-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    padding-top: 16px;
}

.trust-strip div {
    display: grid;
    gap: 4px;
    min-height: 92px;
    padding: 18px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 10px 24px rgba(16, 24, 40, 0.05);
}

.trust-strip strong {
    color: var(--charcoal);
    font-size: 24px;
    line-height: 1;
}

.trust-strip span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.section-heading {
    max-width: 760px;
    margin: 0 auto 22px;
    text-align: center;
}

.section-cta {
    display: flex;
    justify-content: center;
    margin: 18px 0 0;
}

.content-block .section-heading,
.split-panel .section-heading,
.content .section-heading {
    margin-left: 0;
    text-align: left;
}

.section-heading h2,
.grid-section h2,
.tool-card h2 {
    margin: 0 0 10px;
    color: var(--charcoal);
    font-size: clamp(26px, 3vw, 36px);
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.section-heading p,
.grid-section p,
.tool-card p,
.content p {
    color: var(--muted);
}

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

.search-band,
.finder,
.tool-card,
.result-card,
.model-card,
.feature-grid article,
.make-card,
.topic-grid a,
.topic-grid article,
.mistake-list article,
.notice-box {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 10px 24px rgba(16, 24, 40, 0.05);
}

.search-band {
    display: grid;
    grid-template-columns: minmax(0, 0.72fr) minmax(280px, 1.28fr);
    gap: 18px;
    align-items: start;
    padding: 22px;
    margin-top: 6px;
}

.search-band h2 {
    margin: 0;
    font-size: 24px;
    line-height: 1.15;
}

.site-search {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
}

.search-results,
.result-list {
    display: grid;
    gap: 12px;
}

.search-results {
    grid-column: 1 / -1;
}

.finder {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    padding: 18px;
}

label {
    display: grid;
    gap: 6px;
    color: var(--charcoal);
    font-size: 13px;
    font-weight: 900;
}

select,
input,
textarea {
    width: 100%;
    min-height: 44px;
    border: 1px solid #d8e0eb;
    border-radius: var(--radius);
    padding: 9px 11px;
    background: #fff;
    color: var(--ink);
    font: inherit;
    min-width: 0;
}

input[type="checkbox"],
input[type="radio"] {
    width: 18px;
    min-width: 18px;
    height: 18px;
    min-height: 18px;
    padding: 0;
    accent-color: var(--accent);
}

.tool-card label:has(input[type="checkbox"]),
label:has(input[type="checkbox"]) {
    grid-template-columns: auto 1fr;
    align-items: center;
    justify-content: start;
}

select:focus,
input:focus,
textarea:focus {
    border-color: var(--accent);
}

.result-card {
    margin-top: 16px;
    padding: 18px;
}

.notice-box {
    margin: 0 0 20px;
    padding: 16px 18px;
    background: var(--accent-soft);
    border-color: #fed7aa;
}

.guide-library-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 0;
}

.guide-library-box .button {
    flex: 0 0 auto;
}

.spec-summary {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin: 18px 0 26px;
}

.spec-summary div {
    display: grid;
    gap: 5px;
    padding: 16px;
    background: var(--surface-soft);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.spec-summary strong {
    color: var(--accent);
    font-size: 12px;
    text-transform: uppercase;
}

.spec-summary span {
    color: var(--charcoal);
    font-size: 17px;
    font-weight: 900;
}

.content-block {
    max-width: 1120px;
}

.content,
.content-block {
    color: var(--ink);
}

.content {
    max-width: 920px;
}

.text-columns {
    columns: 2 320px;
    column-gap: 34px;
}

.text-columns p {
    margin-top: 0;
    break-inside: avoid;
    overflow-wrap: anywhere;
}

.split-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
    gap: 24px;
    align-items: start;
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.breadcrumbs a {
    color: var(--accent);
}

table {
    width: 100%;
    margin: 18px 0 26px;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(16, 24, 40, 0.04);
}

.content table {
    max-width: 100%;
}

th,
td {
    padding: 13px 14px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

th {
    color: var(--charcoal);
    background: #f1f5f9;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

tr:last-child td {
    border-bottom: 0;
}

.check-list {
    padding-left: 20px;
}

.check-list li {
    margin-bottom: 8px;
}

.grid-section {
    display: grid;
    grid-template-columns: 0.75fr 1.25fr;
    gap: 26px;
    align-items: start;
}

.feature-grid,
.make-grid,
.year-grid,
.topic-grid,
.mistake-list,
.vehicle-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 14px;
}

.feature-grid article,
.make-card,
.topic-grid a,
.topic-grid article,
.mistake-list article {
    padding: 18px;
}

.feature-grid h3,
.model-card h2,
.mistake-list h3 {
    margin-top: 0;
    color: var(--charcoal);
    line-height: 1.2;
}

.tools {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
}

.tools .section-cta {
    grid-column: 1 / -1;
}

.tool-card {
    position: relative;
    display: grid;
    gap: 12px;
    padding: 20px;
    overflow: hidden;
}

.tool-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), #fb923c);
}

.tool-card .eyebrow {
    margin-top: 4px;
}

.cost-tool {
    max-width: 1120px;
    margin: 0 auto;
}

.cost-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.tool-result {
    margin: 0;
    padding: 12px;
    border-radius: var(--radius);
    background: var(--accent-soft);
    color: var(--charcoal);
    font-weight: 800;
}

.dark-panel {
    position: relative;
    overflow: hidden;
    padding: 28px;
    color: #fff;
    background:
        radial-gradient(circle at 88% 8%, rgba(249, 115, 22, 0.24), transparent 16rem),
        linear-gradient(135deg, var(--charcoal), var(--charcoal-2));
    border-radius: 14px;
    box-shadow: var(--shadow);
}

.dark-panel h2,
.dark-panel h3 {
    color: #fff;
}

.dark-panel p,
.dark-panel li {
    color: #d9e4f2;
}

.dark-panel .check-list li::marker {
    color: var(--accent);
}

.dark-panel .notice-box {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.16);
    color: #fff;
    box-shadow: none;
}

.dark-panel .notice-box strong {
    color: var(--accent);
}

.make-card,
.topic-grid a,
.topic-grid article,
.year-card {
    display: grid;
    gap: 6px;
    min-width: 0;
    color: var(--ink);
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.vehicle-grid {
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.vehicle-card {
    position: relative;
    display: grid;
    gap: 8px;
    min-height: 138px;
    padding: 18px;
    color: var(--ink);
    background:
        linear-gradient(180deg, #fff 0%, #fbfdff 100%);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 10px 24px rgba(16, 24, 40, 0.05);
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.vehicle-card::after {
    content: "";
    position: absolute;
    right: 18px;
    bottom: 16px;
    width: 64px;
    height: 28px;
    opacity: 0.11;
    border-radius: 999px 999px 8px 8px;
    background: var(--charcoal);
}

.vehicle-card strong {
    color: var(--charcoal);
    font-size: 19px;
    line-height: 1.16;
}

.vehicle-card span:not(.tag) {
    color: var(--muted);
    font-size: 14px;
}

.vehicle-card .tag {
    justify-self: start;
    padding: 4px 8px;
    color: var(--accent-dark);
    background: var(--accent-soft);
    border: 1px solid #fed7aa;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.vehicle-card:hover {
    transform: translateY(-2px);
    border-color: #fdba74;
    box-shadow: 0 16px 30px rgba(249, 115, 22, 0.12);
}

.make-card::before,
.topic-grid a::before,
.topic-grid article::before,
.year-card::before {
    content: "";
    width: 18px;
    height: 3px;
    border-radius: 999px;
    background: var(--accent);
}

.make-card strong,
.year-card strong {
    color: var(--charcoal);
    font-size: 20px;
    line-height: 1.12;
}

.topic-grid strong {
    color: var(--charcoal);
    line-height: 1.18;
    overflow-wrap: anywhere;
}

.make-card span,
.topic-grid span,
.year-card span {
    color: var(--muted);
    font-size: 14px;
}

.make-card:hover,
.topic-grid a:hover,
.topic-grid article:hover,
.year-card:hover {
    border-color: #fdba74;
    box-shadow: 0 16px 30px rgba(249, 115, 22, 0.12);
}

.topic-grid {
    grid-template-columns: repeat(auto-fit, minmax(238px, 1fr));
}

.topic-grid.compact {
    margin: 18px 0 26px;
}

.topic-grid.compact a {
    min-height: 108px;
}

.topic-grid a {
    min-height: 132px;
}

.year-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.year-card {
    min-height: 105px;
    padding: 18px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 10px 24px rgba(16, 24, 40, 0.04);
    text-align: center;
    place-items: center;
}

.year-card::before {
    margin: 0 auto;
}

.mistake-list {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.faq details,
.content details,
.content-block details {
    padding: 15px 0;
    border-top: 1px solid var(--line);
}

.faq summary,
.content summary,
.content-block summary {
    cursor: pointer;
    color: var(--charcoal);
    font-weight: 900;
}

.model-list {
    display: grid;
    gap: 16px;
}

.model-card {
    padding: 20px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 10px 24px rgba(16, 24, 40, 0.04);
}

.spec-row {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 0.5fr 1fr;
    gap: 12px;
    padding: 12px 0;
    border-top: 1px solid var(--line);
}


.site-footer {
    width: 100%;
    margin-top: 46px;
    padding: 0 max(16px, calc((100vw - 1120px) / 2)) 30px;
    color: #d7e2f1;
    background:
        radial-gradient(circle at 8% 0%, rgba(249, 115, 22, 0.18), transparent 20rem),
        linear-gradient(180deg, #1c1917 0%, #211814 55%, #120f0c 100%);
    border-top: 4px solid var(--accent);
}

.footer-cta {
    position: relative;
    top: -28px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    align-items: center;
    padding: 24px;
    background: linear-gradient(135deg, #ffffff 0%, #fff7ed 100%);
    color: var(--ink);
    border: 1px solid rgba(249, 115, 22, 0.22);
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(5, 11, 21, 0.22);
}

.footer-cta h2 {
    margin: 0 0 6px;
    color: var(--charcoal);
    font-size: clamp(22px, 3vw, 34px);
    line-height: 1.12;
    letter-spacing: -0.04em;
}

.footer-cta p {
    max-width: 720px;
    margin: 0;
    color: #475467;
}

.footer-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.footer-main {
    display: grid;
    grid-template-columns: minmax(240px, 0.9fr) minmax(0, 2.1fr);
    gap: 30px;
    padding: 8px 0 26px;
}

.footer-brand-card {
    align-self: start;
    padding: 22px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 16px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: #fff;
    font-size: 20px;
    font-weight: 950;
    letter-spacing: -0.03em;
}

.footer-brand:hover {
    color: #fff;
}

.footer-brand-card p {
    margin: 0 0 18px;
    color: #b9c8dc;
}

.footer-stats {
    display: grid;
    gap: 10px;
}

.footer-stats span {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    color: #dbe7f7;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    font-size: 13px;
}

.footer-stats strong {
    color: #fff;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(5, minmax(130px, 1fr));
    gap: 18px;
    min-width: 0;
}

.footer-column {
    min-width: 0;
}

.footer-column h3 {
    margin: 0 0 12px;
    color: #fff;
    font-size: 13px;
    font-weight: 950;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.footer-column h3::after {
    content: "";
    display: block;
    width: 28px;
    height: 3px;
    margin-top: 8px;
    border-radius: 99px;
    background: var(--accent);
}

.footer-column a,
.footer-legal-links a {
    color: #c8d6e8;
    font-size: 14px;
    font-weight: 750;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.footer-column a {
    display: block;
    padding: 7px 0;
}

.footer-column a:hover,
.footer-legal-links a:hover {
    color: #fff;
}

.footer-disclaimer {
    padding: 16px 18px;
    color: #b9c8dc;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 14px;
    font-size: 13px;
}

.footer-disclaimer strong {
    color: #fff;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    padding-top: 18px;
    color: #9fb2cc;
    font-size: 13px;
}

.footer-bottom p {
    margin: 0;
    color: #9fb2cc;
}

.footer-legal-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 9px 14px;
}

.footer-links a {
    color: #dce6f4;
    font-size: 14px;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.footer-links a:hover {
    color: var(--accent);
}

.fine-print {
    grid-column: 1 / -1;
    margin: 0;
    color: #9fb2cc;
    font-size: 13px;
}

@media (max-width: 1100px) {
    .trust-strip,
    .spec-summary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

@media (max-width: 900px) {
    .hero,
    .grid-section,
    .tools,
    .cost-grid,
    .site-footer,
    .search-band,
    .site-search,
    .split-panel {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 28px;
    }

    .hero-panel {
        min-height: auto;
    }

    table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    th,
    td {
        min-width: 150px;
    }
}

@media (max-width: 700px) {
    .site-header {
        align-items: stretch;
        gap: 12px;
    }

    .brand {
        justify-content: flex-start;
    }

    .site-nav {
        display: flex;
        width: 100%;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 4px;
        gap: 6px;
        font-size: 11px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
    }

    .site-nav a {
        flex: 0 0 auto;
        padding: 8px 6px;
        background: rgba(255, 255, 255, 0.08);
        border-radius: var(--radius);
        text-align: center;
        white-space: nowrap;
    }

    .finder,
    .trust-strip,
    .spec-summary {
        grid-template-columns: 1fr;
    }

    .spec-row {
        grid-template-columns: 1fr;
    }

    .button,
    .hero-actions .button,
    .site-search .button,
    .finder .button,
    .guide-library-box .button {
        width: 100%;
    }

    .guide-library-box {
        display: grid;
    }
}

@media (max-width: 520px) {
    .hero,
    .page-hero,
    .section {
        width: min(100% - 24px, 1120px);
    }

    .section,
    .page-hero {
        padding: 26px 0;
    }

    .page-hero,
    .hero {
        margin-top: 14px;
        padding: 22px;
        border-radius: 12px;
    }

    .hero-copy h1,
    .page-hero h1 {
        font-size: clamp(32px, 11vw, 44px);
        line-height: 1.04;
    }

    .hero-copy p {
        font-size: 16px;
    }

    .section-heading h2,
    .grid-section h2,
    .tool-card h2 {
        font-size: 25px;
    }

    .hero-panel,
    .finder,
    .tool-card,
    .result-card,
    .feature-grid article,
    .make-card,
    .topic-grid a,
    .topic-grid article,
    .mistake-list article,
    .notice-box {
        padding: 14px;
    }

    th,
    td {
        padding: 10px;
        min-width: 136px;
    }
}

@media (max-width: 380px) {
    .hero,
    .page-hero,
    .section {
        width: min(100% - 20px, 1120px);
    }

    .brand {
        font-size: 15px;
    }

    .brand-mark {
        width: 28px;
        height: 28px;
    }

    .hero-copy h1,
    .page-hero h1 {
        font-size: 30px;
    }

    .feature-grid,
    .make-grid,
    .year-grid,
    .topic-grid,
    .mistake-list {
        grid-template-columns: 1fr;
    }
}

/* Launch readiness responsive hardening */
* {
    min-width: 0;
}

img,
svg,
video {
    max-width: 100%;
    height: auto;
}

.content,
.content-block,
.notice-box,
.topic-grid a,
.topic-grid article,
.vehicle-card,
.make-card,
.tool-card,
.result-card,
.page-hero,
.hero {
    overflow-wrap: anywhere;
    word-break: normal;
}

.topic-grid.compact {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.content table {
    width: 100%;
}

details summary {
    cursor: pointer;
    line-height: 1.35;
}

@media (max-width: 640px) {
    input,
    select,
    textarea,
    button {
        font-size: 16px;
    }

    .site-header {
        max-height: 42vh;
        overflow: visible;
    }

    .site-nav {
        mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent);
    }

    .topic-grid.compact,
    .vehicle-grid,
    .feature-grid,
    .make-grid,
    .year-grid,
    .mistake-list {
        grid-template-columns: 1fr;
    }

    .content ol,
    .content ul,
    .check-list {
        padding-left: 18px;
    }
}

@media (max-width: 360px) {
    .site-nav a {
        font-size: 10px;
        padding: 7px 6px;
    }

    .hero-copy h1,
    .page-hero h1 {
        font-size: 28px;
    }

    .button {
        padding-inline: 12px;
    }
}

/* v18 homepage refresh: dark charcoal/orange premium layout */
:root {
    --bg: #f4f6f8;
    --surface: #ffffff;
    --surface-soft: #fffaf3;
    --ink: #1c1917;
    --muted: #64748b;
    --line: #e5e7eb;
    --charcoal: #1c1917;
    --charcoal-2: #2b2118;
    --charcoal-3: #3a2a1e;
    --accent: #ff6b14;
    --accent-dark: #d85a0c;
    --accent-soft: #fff4e8;
    --warm-soft: #fff7ed;
    --success: #15803d;
    --radius: 10px;
    --shadow: 0 18px 44px rgba(15, 23, 42, 0.08);
}

body {
    background: var(--bg);
    color: var(--ink);
}

.site-header {
    display: grid;
    grid-template-columns: auto minmax(220px, 360px) auto;
    align-items: center;
    gap: 18px;
    padding-top: 9px;
    padding-bottom: 9px;
    background: rgba(7, 18, 37, 0.98);
    border-bottom: 3px solid var(--accent);
    box-shadow: 0 8px 24px rgba(7, 18, 37, 0.16);
}

.brand-mark {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    color: #fff;
    background: linear-gradient(135deg, var(--accent), #ff9b47);
    font-size: 10px;
}

.brand {
    font-size: 14px;
}

.header-search {
    min-width: 0;
}

.header-search input {
    min-height: 30px;
    height: 30px;
    padding: 6px 12px;
    color: #e5edf8;
    background: #2b2118;
    border-color: rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    font-size: 12px;
}

.header-search input::placeholder {
    color: #8292a8;
}

.site-nav {
    justify-content: flex-end;
    gap: 4px;
    font-size: 11px;
    letter-spacing: 0.08em;
}

.site-nav a {
    color: #fffaf3;
    padding: 7px 8px;
    border-radius: 0;
}

.site-nav a:hover {
    color: var(--accent);
    background: transparent;
}

.hero.home-hero {
    display: block;
    width: min(1060px, calc(100% - 44px));
    margin-top: 16px;
    padding: 50px 34px 34px;
    text-align: center;
    border-radius: 0;
    background:
        radial-gradient(circle at 10% 0%, rgba(255, 107, 20, 0.15), transparent 20rem),
        radial-gradient(circle at 92% 12%, rgba(255, 107, 20, 0.16), transparent 20rem),
        linear-gradient(180deg, #1c1917 0%, #1c1917 100%);
    box-shadow: 0 20px 55px rgba(7, 18, 37, 0.18);
}

.home-hero::after {
    display: none;
}

.home-hero .hero-copy {
    max-width: 880px;
    margin: 0 auto;
}

.home-hero .eyebrow,
.verify-panel .eyebrow,
.alert-card .eyebrow,
.charcoal-card .eyebrow,
.cost-card .eyebrow,
.tool-band .eyebrow,
.white-card .eyebrow {
    color: var(--accent);
}

.home-hero .hero-copy h1 {
    max-width: 820px;
    margin: 0 auto;
    font-size: clamp(36px, 5.2vw, 62px);
    line-height: 0.98;
    letter-spacing: -0.055em;
}

.home-hero .hero-copy p {
    max-width: 700px;
    margin-inline: auto;
    color: #d9e4f2;
}

.home-hero .hero-search {
    display: grid;
    grid-template-columns: 1fr auto;
    max-width: 760px;
    margin: 26px auto 0;
    gap: 8px;
}

.home-hero .hero-search input {
    background: #ffffff;
    border-color: rgba(255, 255, 255, 0.28);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.16);
}

.home-hero .button.primary,
.tool-band .button.primary,
.alert-card .button.primary,
.cost-card .button.primary,
.finder .button.primary,
.site-search .button.primary {
    color: #ffffff;
    background: linear-gradient(135deg, var(--accent), #f97316);
    box-shadow: 0 12px 24px rgba(255, 107, 20, 0.26);
}

.home-hero .search-results {
    max-width: 760px;
    margin: 12px auto 0;
    text-align: left;
}

.hero-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 760px;
    margin: 14px auto 11px;
    color: #93a3b8;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.10em;
}

.hero-divider::before,
.hero-divider::after {
    content: "";
    height: 1px;
    flex: 1;
    background: rgba(255, 255, 255, 0.18);
}

.home-hero .hero-finder {
    grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
    max-width: 760px;
    margin: 0 auto;
    padding: 0;
    color: #fff;
    background: transparent;
    border: 0;
    box-shadow: none;
    text-align: left;
}

.home-hero .hero-finder label {
    color: #cbd5e1;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.home-hero .hero-finder select,
.home-hero .hero-finder input {
    background: #fff;
    border-color: #fff;
}

.hero-result {
    max-width: 760px;
    margin: 14px auto 0;
    text-align: left;
}

.hero-popular {
    margin-top: 14px !important;
    font-size: 13px !important;
    color: #a7b7cc !important;
}

.hero-popular a {
    color: #fff2e8;
    font-weight: 800;
}

.section {
    width: min(1060px, calc(100% - 44px));
    padding: 30px 0;
}

.section-heading {
    margin-bottom: 18px;
}

.section-heading.align-left,
.align-left {
    margin-left: 0;
    margin-right: 0;
    text-align: left;
}

.section-heading h2,
.grid-section h2,
.tool-card h2,
.white-card h2,
.verify-panel h2,
.alert-card h2,
.charcoal-card h2,
.cost-card h2 {
    color: #1c1917;
    letter-spacing: -0.04em;
}

.white-card,
.tool-band,
.alert-card,
.charcoal-card,
.cost-card {
    padding: 26px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}

.tool-band {
    margin-top: 24px;
}

.agent-actions {
    display: grid;
    grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
    gap: 22px;
    align-items: center;
    margin-top: 24px;
    padding: 22px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.05);
}

.agent-actions h2 {
    margin: 0;
    color: #1c1917;
    letter-spacing: -0.04em;
}

.agent-actions p {
    margin-bottom: 0;
    color: var(--muted);
}

.agent-action-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
}

.agent-action-grid a {
    display: grid;
    gap: 4px;
    min-height: 104px;
    padding: 14px;
    color: var(--ink);
    background: #fffaf3;
    border: 1px solid #e6edf5;
    border-radius: 12px;
}

.agent-action-grid strong {
    color: var(--accent-dark);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.agent-action-grid span {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.45;
}


.tool-line-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(160px, 0.55fr) auto;
    gap: 12px;
    align-items: end;
}

.tool-field {
    display: grid;
    gap: 6px;
    min-width: 0;
}

.tool-field label {
    font-size: 13px;
    font-weight: 800;
    color: var(--muted);
}


.tool-band .tool-result,
.alert-card .tool-result,
.cost-card .tool-result {
    margin-top: 12px;
}

.verify-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.75fr);
    gap: 30px;
    align-items: center;
    padding: 34px;
    color: #fff;
    background:
        radial-gradient(circle at 90% 12%, rgba(255, 107, 20, 0.20), transparent 18rem),
        linear-gradient(135deg, #1c1917 0%, #2b2118 100%);
    border-radius: 14px;
    box-shadow: 0 22px 48px rgba(7, 18, 37, 0.18);
}

.verify-panel h2 {
    color: #fff;
    max-width: 640px;
}

.verify-panel p {
    color: #d8e3f1;
}

.mini-tags,
.verify-points {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.mini-tags span,
.verify-points span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 6px 9px;
    color: #fff;
    background: rgba(255, 107, 20, 0.12);
    border: 1px solid rgba(255, 107, 20, 0.28);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.mini-tags span:last-child {
    color: #a7f3d0;
    background: rgba(16, 185, 129, 0.10);
    border-color: rgba(16, 185, 129, 0.28);
}

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

.verify-stats div {
    padding: 16px;
    border-left: 3px solid var(--accent);
    background: rgba(255, 255, 255, 0.04);
    border-radius: 10px;
}

.verify-stats strong {
    display: block;
    color: #fff;
    font-size: 28px;
    line-height: 1;
}

.verify-stats span {
    display: block;
    margin-top: 6px;
    color: var(--accent);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.two-column-card {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 28px;
}

.simple-columns {
    columns: 2 260px;
    column-gap: 28px;
}

.home-make-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.home-make-grid .make-card {
    min-height: 86px;
    padding: 14px 16px;
    background: #fff;
    text-align: center;
}

.home-make-grid .make-card::before {
    margin: 0 auto;
    width: 24px;
    height: 3px;
}

.home-make-grid .make-card strong {
    font-size: 16px;
}

.spec-link-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.spec-link-grid a {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 10px 12px;
    color: #292524;
    background: #fffaf3;
    border: 1px solid #e6eaf0;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 800;
}

.spec-link-grid a::before {
    content: "";
    width: 7px;
    height: 7px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: var(--accent);
}

.spec-link-grid a:hover {
    border-color: #fdba74;
    box-shadow: 0 12px 24px rgba(255, 107, 20, 0.11);
}

.alert-card {
    background: #fff8e8;
    border-color: #f7dba7;
}

.condition-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 18px 0;
}

.condition-grid label {
    min-height: 58px;
    padding: 12px 14px;
    background: #fff;
    border: 1px solid #f1d49d;
    border-radius: 10px;
}

.charcoal-card {
    background: #edf6ff;
    border-color: #cfe8ff;
}

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

.mini-reference-grid a {
    display: grid;
    gap: 5px;
    padding: 16px;
    color: #292524;
    background: #fff;
    border: 1px solid #d6eaff;
    border-radius: 10px;
}

.mini-reference-grid strong {
    color: var(--charcoal);
}

.mini-reference-grid span {
    color: var(--muted);
    font-size: 14px;
}

.cost-card .cost-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: 14px;
}

.cost-result-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(240px, 0.45fr);
    gap: 12px;
    align-items: stretch;
    margin-top: 12px;
}

.cost-note {
    padding: 14px;
    color: #fff;
    background: var(--charcoal);
    border-radius: 10px;
    font-size: 14px;
}

.how-it-works .section-heading h2 {
    text-align: center;
    text-transform: uppercase;
    font-size: 24px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    text-align: center;
}

.steps-grid article {
    padding: 8px 18px;
}

.steps-grid span {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    margin-bottom: 12px;
    color: var(--accent);
    background: var(--accent-soft);
    border-radius: 50%;
    font-weight: 900;
}

.steps-grid h3 {
    margin: 0 0 8px;
    color: var(--charcoal);
}

.steps-grid p {
    color: var(--muted);
}

.reference-table-section th {
    color: #fff;
    background: var(--charcoal);
}

.reference-table-section td:first-child strong {
    display: inline-flex;
    padding: 4px 7px;
    color: var(--accent-dark);
    background: var(--accent-soft);
    border-radius: 999px;
    font-size: 12px;
}

.home-faq details {
    padding: 13px 16px;
    margin-bottom: 8px;
    background: #fffaf3;
    border: 1px solid #e6eaf0;
    border-radius: 10px;
}

.home-faq details:first-of-type {
    border-top: 1px solid #e6eaf0;
}

.split-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    max-width: none;
    text-align: left;
}

.split-heading a {
    color: var(--accent);
    font-weight: 900;
    text-transform: uppercase;
    font-size: 12px;
}

.popular-vehicles-section .vehicle-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.vehicle-card {
    min-height: 184px;
    padding: 16px;
    background: #fff;
}

.vehicle-card::after {
    display: none;
}

.vehicle-art {
    display: block !important;
    width: 100%;
    height: 72px;
    opacity: 1 !important;
    border-radius: 18px 18px 8px 8px;
    background:
        radial-gradient(circle at 28% 85%, #aeb9c8 0 7px, transparent 8px),
        radial-gradient(circle at 74% 85%, #aeb9c8 0 7px, transparent 8px),
        linear-gradient(0deg, transparent 57%, #dbe3ee 58% 79%, transparent 80%),
        linear-gradient(90deg, transparent 6%, #dbe3ee 7% 89%, transparent 90%);
}

.vehicle-card .tag {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    color: #fff;
    background: var(--charcoal);
    border-color: var(--charcoal);
    border-radius: 3px;
}

.vehicle-card strong {
    font-size: 16px;
}

.compact-guide-section .topic-grid.compact {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tool-result {
    background: #fff4da;
    color: #24170b;
}

.button.secondary {
    color: #292524;
    background: #fff;
    border-color: #e5e7eb;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
}

.button.secondary:hover {
    border-color: #fdba74;
}

@media (max-width: 1050px) {
    .site-header {
        grid-template-columns: 1fr auto;
    }

    .header-search {
        order: 3;
        grid-column: 1 / -1;
        width: 100%;
    }

    .home-make-grid,
    .spec-link-grid,
    .popular-vehicles-section .vehicle-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .home-hero .hero-finder,
    .tool-line-form,
    .verify-panel,
    .two-column-card,
    .cost-card .cost-grid,
    .cost-result-row,
    .steps-grid,
    .mini-reference-grid,
    .compact-guide-section .topic-grid.compact {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 700px) {
    .site-header {
        display: flex;
    }

    .header-search {
        order: 2;
    }

    .site-nav {
        order: 3;
    }

    .home-hero .hero-search {
        grid-template-columns: 1fr;
    }

    .home-make-grid,
    .spec-link-grid,
    .popular-vehicles-section .vehicle-grid,
    .verify-stats,
    .condition-grid {
        grid-template-columns: 1fr;
    }

    .split-heading {
        display: grid;
        gap: 8px;
    }
}

@media (max-width: 520px) {
    .hero.home-hero,
    .section,
    .page-hero {
        width: min(100% - 24px, 1060px);
    }

    .hero.home-hero {
        padding: 34px 18px 22px;
    }

    .white-card,
    .tool-band,
    .alert-card,
    .charcoal-card,
    .cost-card,
    .verify-panel {
        padding: 18px;
        border-radius: 12px;
    }

    .home-hero .hero-copy h1 {
        font-size: clamp(31px, 11vw, 42px);
    }
}

@media (max-width: 1020px) {
    .footer-main {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 760px) {
    .footer-cta {
        grid-template-columns: 1fr;
        top: -18px;
        padding: 20px;
    }

    .footer-cta-actions {
        justify-content: flex-start;
    }

    .footer-columns {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px 16px;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 460px) {
    .site-footer {
        margin-top: 34px;
    }

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

    .footer-brand-card,
    .footer-disclaimer {
        padding: 16px;
    }

    .footer-cta h2 {
        font-size: 22px;
    }
}

/* v22 template refresh: competitor-style hubs, sidebars, contact page, compact footer */
.page-hero {
    background:
        radial-gradient(circle at 86% 16%, rgba(255, 107, 20, 0.20), transparent 18rem),
        linear-gradient(135deg, #1c1917 0%, #2b2118 100%);
    color: #fff;
    border: 0;
    box-shadow: 0 22px 52px rgba(7, 18, 37, 0.16);
}

.page-hero h1 {
    color: #fff;
    max-width: 880px;
}

.page-hero p:not(.eyebrow) {
    color: #dce7f5;
    max-width: 760px;
}

.page-hero .breadcrumbs,
.page-hero .breadcrumbs a,
.page-hero .breadcrumbs span {
    color: #adbdd3;
}

.page-hero .breadcrumbs a:hover {
    color: #fff;
}

.slim-hero {
    padding-block: 48px;
}

.layout-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 330px);
    gap: 28px;
    align-items: start;
}

.content-card,
.intro-card,
.contact-card,
.rail-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.06);
}

.content-card,
.intro-card,
.contact-card {
    padding: 28px;
}

.intro-card h2,
.contact-card h2,
.rail-card h3 {
    margin-top: 0;
    color: #1c1917;
    letter-spacing: -0.035em;
}

.intro-card p:last-child,
.rail-card p:last-child,
.contact-card p:last-child {
    margin-bottom: 0;
}

.rail {
    display: grid;
    gap: 18px;
    position: sticky;
    top: 92px;
}

.rail-card {
    padding: 20px;
}

.rail-card.dark {
    color: #fff;
    background:
        radial-gradient(circle at 100% 0%, rgba(255, 107, 20, 0.18), transparent 12rem),
        linear-gradient(135deg, #1c1917 0%, #2b2118 100%);
    border-color: rgba(255, 255, 255, 0.08);
}

.rail-card.dark h3,
.rail-card.dark dt,
.rail-card.dark dd,
.rail-card.dark strong {
    color: #fff;
}

.rail-card.dark .eyebrow {
    color: #ff9d5c;
}

.rail-stats {
    display: grid;
    gap: 0;
    margin: 0;
}

.rail-stats div {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 11px 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

.rail-stats div:last-child {
    border-bottom: 0;
}

.rail-stats dt {
    color: #94a3b8;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.rail-stats dd {
    margin: 0;
    color: #1c1917;
    font-weight: 900;
    text-align: right;
}

.rail-card.dark .rail-stats dt {
    color: #94a3b8;
}

.rail-list {
    display: grid;
    gap: 8px;
}

.rail-list a {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    min-height: 38px;
    padding: 9px 11px;
    color: #292524;
    background: #fffaf3;
    border: 1px solid #e8edf5;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 850;
}

.rail-list a:hover {
    color: #1c1917;
    border-color: #fed7aa;
    box-shadow: 0 10px 24px rgba(255, 107, 20, 0.10);
}

.rail-list span {
    flex: 0 0 auto;
    color: #ff6b14;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.rail-year-grid,
.year-pill-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.rail-year-grid a,
.year-pill-strip a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 8px 10px;
    color: #c9560c;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
}

.year-pill-strip {
    grid-template-columns: repeat(auto-fit, minmax(72px, 1fr));
    margin-top: 18px;
}

.mini-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 20px;
}

.mini-card-grid div {
    display: grid;
    gap: 6px;
    padding: 16px;
    background: #fffaf3;
    border: 1px solid #e6edf5;
    border-radius: 13px;
}

.mini-card-grid strong {
    display: inline-grid;
    place-items: center;
    width: 30px;
    height: 30px;
    color: #fff;
    background: #ff6b14;
    border-radius: 999px;
    font-size: 13px;
}

.mini-card-grid span {
    color: #334155;
    font-size: 14px;
    font-weight: 800;
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    max-width: 860px;
    margin-top: 24px;
}

.hero-metrics div {
    padding: 14px 15px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
}

.hero-metrics span {
    display: block;
    color: #9fb2cc;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

.hero-metrics strong {
    display: block;
    margin-top: 4px;
    color: #fff;
    font-size: 17px;
    line-height: 1.2;
}

.year-detail-layout .content-card {
    max-width: none;
}

.deep-content h2 {
    padding-left: 12px;
    border-left: 4px solid #ff6b14;
}

.deep-content .spec-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.year-rail .cost-rail dd {
    color: #ffb15f;
    font-size: 18px;
}

.contact-layout {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 330px);
}

.contact-card {
    padding: 30px;
}

.contact-form {
    display: grid;
    gap: 18px;
    margin-top: 20px;
}

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

.contact-form label {
    color: #52647b;
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    margin-top: 6px;
    border-color: #d9e2ee;
    background: #fffaf3;
}

.contact-form textarea {
    resize: vertical;
}

.form-help,
.muted-lead,
.contact-email-note {
    color: #64748b;
    font-size: 14px;
}

.contact-form .button {
    width: 100%;
    color: #fff;
}

.clean-list {
    display: grid;
    gap: 10px;
    margin: 0;
    padding-left: 18px;
}

.clean-list li::marker,
.rail-card.warning li::marker {
    color: #ff6b14;
    font-weight: 900;
}

.rail-card.warning {
    background: #fff8e8;
    border-color: #f7dba7;
}

.rail-card.soft-note {
    color: #607086;
    background: #fffaf3;
}

.compact-content {
    padding-top: 4px;
}

.site-footer {
    padding-top: 54px;
    margin-top: 70px;
    border-top: 4px solid #ff6b14;
}

.footer-main {
    align-items: start;
    gap: 38px;
}

.footer-brand-card {
    background: transparent;
    border: 0;
    padding: 0;
    box-shadow: none;
}

.footer-columns {
    gap: 24px;
}

.footer-column h3 {
    margin-bottom: 14px;
    color: #ff9d5c;
    font-size: 12px;
    letter-spacing: 0.10em;
}

.footer-column a {
    color: #b9c7db;
    font-size: 13px;
    line-height: 1.45;
}

.footer-disclaimer {
    margin-top: 30px;
    padding: 16px 18px;
}

.footer-bottom {
    margin-top: 20px;
}

@media (max-width: 1020px) {
    .layout-grid,
    .contact-layout {
        grid-template-columns: 1fr;
    }

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

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

@media (max-width: 760px) {
    .hero-metrics,
    .mini-card-grid,
    .form-row,
    .deep-content .spec-summary,
    .rail,
    .year-rail,
    .contact-rail {
        grid-template-columns: 1fr;
    }

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

    .content-card,
    .intro-card,
    .contact-card,
    .rail-card {
        border-radius: 13px;
    }

    .content-card,
    .intro-card,
    .contact-card {
        padding: 20px;
    }

    .site-footer {
        padding-top: 38px;
    }
}

@media (max-width: 520px) {
    .slim-hero {
        padding-block: 30px;
    }

    .hero-metrics div,
    .mini-card-grid div,
    .rail-card {
        padding: 14px;
    }

    .rail-year-grid,
    .year-pill-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* v23 vehicle depth cards */
.service-profile-section {
    border: 1px solid #dce6f2;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.profile-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 22px;
}

.profile-grid article {
    border: 1px solid #dce6f2;
    border-radius: 16px;
    background: #ffffff;
    padding: 18px;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.04);
}

.profile-grid article h3 {
    margin: 0 0 8px;
    color: #292524;
    font-size: 16px;
}

.profile-grid article p {
    margin: 0;
    color: #52647b;
    font-size: 14px;
    line-height: 1.65;
}

.profile-notes {
    margin-top: 18px;
}

.compact-profile {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 12px 0 18px;
}

.service-profile-note {
    margin-bottom: 24px;
}

.shopping-panel {
    margin: 28px 0;
    padding: 24px;
    border: 1px solid #a7f3d0;
    border-radius: 18px;
    background: linear-gradient(180deg, #ecfdf5 0%, #f7fffb 100%);
}

.shopping-panel h2 {
    margin-top: 0;
    border-left: 0;
    padding-left: 0;
}

.shopping-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 16px;
}

.shopping-grid div {
    border: 1px solid #b7ead2;
    border-radius: 15px;
    background: #ffffff;
    padding: 18px;
}

.shopping-grid span {
    display: block;
    color: #64748b;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.shopping-grid strong {
    display: block;
    margin: 8px 0 6px;
    color: #292524;
    font-size: 24px;
    line-height: 1.1;
}

.shopping-grid p,
.shopping-note {
    margin: 0;
    color: #52647b;
    font-size: 14px;
    line-height: 1.6;
}

.shopping-note {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid #b7ead2;
}

@media (max-width: 900px) {
    .profile-grid,
    .compact-profile,
    .shopping-grid {
        grid-template-columns: 1fr;
    }
}


/* v24 launch QA: accessibility, mobile tap targets, and Core Web Vitals hardening */
.skip-link {
    position: fixed;
    left: 14px;
    top: 14px;
    z-index: 1000;
    transform: translateY(-160%);
    padding: 10px 14px;
    color: #fff;
    background: #1c1917;
    border: 2px solid #ff6b14;
    border-radius: 10px;
    font-weight: 900;
    box-shadow: 0 14px 30px rgba(7, 18, 37, 0.22);
}

.skip-link:focus {
    transform: translateY(0);
}

#main-content:focus {
    outline: none;
}

.site-nav a,
.button,
.rail-list a,
.rail-year-grid a,
.year-pill-strip a,
.footer-column a,
.footer-legal-links a {
    touch-action: manipulation;
}

@supports (content-visibility: auto) {
    .section:not(:first-of-type),
    .site-footer {
        content-visibility: auto;
        contain-intrinsic-size: 1px 760px;
    }
}

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

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

@media (max-width: 700px) {
    .header-search input {
        min-height: 40px;
        height: 40px;
        border-radius: 12px;
        font-size: 16px;
    }

    .site-nav a {
        min-height: 38px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
}

@media (max-width: 420px) {
    .footer-main,
    .footer-columns,
    .footer-bottom,
    .footer-legal-links {
        gap: 14px;
    }

    .footer-column a {
        min-height: 34px;
        display: inline-flex;
        align-items: center;
    }
}

/* Agentic browsing and small-screen action map hardening */
@media (max-width: 900px) {
    .agent-actions {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 520px) {
    .agent-action-grid {
        grid-template-columns: 1fr;
    }

    .agent-action-grid a {
        min-height: auto;
    }
}

/* v31 final content quality pass: long-form value blocks */
.deep-value-block {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: 0 12px 34px rgba(16, 24, 40, 0.06);
    padding: clamp(22px, 4vw, 38px);
}

.deep-value-block h3 {
    margin-top: 28px;
    margin-bottom: 12px;
    color: var(--ink);
    letter-spacing: -0.015em;
}

.value-table td:first-child {
    font-weight: 800;
    color: #292524;
    width: 28%;
}

.value-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 20px 0;
}

.value-card-grid article {
    padding: 18px;
    border: 1px solid var(--line);
    border-left: 4px solid var(--accent);
    border-radius: 14px;
    background: linear-gradient(180deg, #ffffff, #fbfdff);
}

.value-card-grid h3 {
    margin: 0 0 8px;
    font-size: 17px;
}

.value-card-grid p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.value-steps,
.value-mistakes {
    padding-left: 22px;
}

.value-steps li,
.value-mistakes li {
    margin: 10px 0;
}

.related-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.related-inline a {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 8px 12px;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent-dark);
    font-weight: 900;
    font-size: 13px;
}

@media (max-width: 780px) {
    .deep-value-block {
        padding: 20px;
        border-radius: 16px;
    }

    .value-card-grid {
        grid-template-columns: 1fr;
    }

    .value-table td:first-child {
        width: auto;
    }
}

/* v31 final footer polish */
.footer-main-final {
    grid-template-columns: minmax(240px, 0.85fr) minmax(0, 2.15fr);
    gap: clamp(24px, 5vw, 52px);
    padding-bottom: 22px;
}

.footer-columns-final {
    grid-template-columns: repeat(4, minmax(130px, 1fr));
    gap: clamp(18px, 3vw, 32px);
}

.footer-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.footer-badges span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 6px 10px;
    color: #dbe7f7;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}

.footer-popular {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    align-items: center;
    margin: 6px 0 22px;
    padding: 14px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.footer-popular strong {
    color: #fff;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 12px;
}

.footer-popular a {
    color: #c8d6e8;
    font-size: 13px;
    font-weight: 800;
}

.footer-popular a:hover {
    color: #fff;
}

@media (max-width: 880px) {
    .footer-main-final,
    .footer-columns-final {
        grid-template-columns: 1fr;
    }

    .footer-columns-final {
        gap: 22px;
    }
}

/* Verified source and OEM lookup polish */
.source-verification-panel,
.verified-status-intro {
  margin-top: 1.5rem;
}
.compact-heading {
  margin-bottom: 1rem;
}
.source-action-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.25rem;
  align-items: center;
  padding: 1.25rem;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 18px;
  background: linear-gradient(135deg, #ffffff 0%, #fff7ed 100%);
  box-shadow: 0 12px 35px rgba(15, 23, 42, 0.08);
}
.source-action-card h3,
.source-card h3 {
  margin-top: 0;
}
.term-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: .85rem;
}
.term-chip-row span {
  display: inline-flex;
  align-items: center;
  padding: .38rem .65rem;
  border-radius: 999px;
  border: 1px solid rgba(234, 88, 12, 0.25);
  background: rgba(255, 247, 237, 0.9);
  color: #9a3412;
  font-size: .87rem;
  font-weight: 700;
}
.source-step-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .85rem;
  margin-top: .9rem;
}
.source-step-grid article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: .7rem;
  align-items: start;
  padding: 1rem;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
}
.source-step-grid strong {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: #292524;
  color: #ffffff;
}
.source-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}
.source-card {
  padding: 1rem;
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #ffffff;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
}
.source-card a {
  display: inline-flex;
  margin-top: .35rem;
  font-weight: 800;
}
.responsive-table {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 16px;
}
.verified-spec-table {
  min-width: 760px;
}
.quality-check-grid article {
  min-height: 160px;
}
@media (max-width: 760px) {
  .source-action-card {
    grid-template-columns: 1fr;
  }
  .source-action-card .button {
    width: 100%;
    justify-content: center;
  }
  .source-step-grid {
    grid-template-columns: 1fr;
  }
}


/* v48 vehicle-year value-first tables */
.priority-spec-panel {
    margin: 26px 0 30px;
    padding: clamp(20px, 3vw, 30px);
    border: 1px solid #dbe6f3;
    border-radius: 22px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.08);
}

.priority-spec-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.priority-spec-heading h2 {
    margin: 0 0 8px;
    padding-left: 0;
    border-left: 0;
    letter-spacing: -0.035em;
}

.priority-spec-heading p:last-child {
    margin: 0;
    color: #52647b;
    line-height: 1.65;
}

.quality-chip {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 7px 11px;
    border: 1px solid rgba(255, 107, 20, 0.25);
    border-radius: 999px;
    color: #b94705;
    background: #fff7ed;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.priority-spec-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin: 16px 0 20px;
}

.priority-spec-grid article {
    min-width: 0;
    padding: 16px;
    border: 1px solid #dce6f2;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.04);
}

.priority-spec-grid span {
    display: block;
    color: #64748b;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.priority-spec-grid strong {
    display: block;
    margin: 7px 0 6px;
    color: #292524;
    font-size: clamp(18px, 2.2vw, 24px);
    line-height: 1.1;
}

.priority-spec-grid small {
    display: block;
    color: #52647b;
    line-height: 1.45;
}

.spec-first-table-wrap,
.action-plan-wrap {
    margin-top: 14px;
}

.spec-first-table,
.action-plan-table {
    margin-bottom: 18px;
}

.spec-first-table td:nth-child(2),
.action-plan-table td:nth-child(2) {
    color: #292524;
    font-weight: 750;
}

.priority-spec-panel h3 {
    margin: 24px 0 10px;
    color: #292524;
    font-size: 18px;
    letter-spacing: -0.015em;
}

@media (max-width: 920px) {
    .priority-spec-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .priority-spec-heading {
        display: grid;
    }
}

@media (max-width: 560px) {
    .priority-spec-grid {
        grid-template-columns: 1fr;
    }

    .priority-spec-panel {
        border-radius: 17px;
    }

    .spec-first-table,
    .action-plan-table {
        min-width: 760px;
    }
}

/* v49 value-first content upgrade */
.value-first-upgrade-panel,
.guide-value-first-panel {
    margin: 1.25rem 0 1.75rem;
    padding: 1.25rem;
    border: 1px solid rgba(255, 111, 24, 0.22);
    border-radius: 18px;
    background: linear-gradient(180deg, #fffaf3 0%, #ffffff 70%);
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}
.service-ready-table td:first-child,
.model-value-table td:first-child,
.make-value-table td:first-child,
.evergreen-value-table td:first-child {
    font-weight: 800;
    color: var(--ink, #292524);
}
.service-decision-cards article,
.guide-value-first-panel .value-card-grid article {
    border-top: 3px solid var(--accent, #ff6f18);
}
.model-value-table-wrap,
.make-value-table-wrap,
.evergreen-value-table-wrap {
    margin: 1rem 0 1.25rem;
}
.value-first-upgrade-panel .section-heading,
.guide-value-first-panel .section-heading {
    margin-bottom: .9rem;
}
.value-first-upgrade-panel table,
.guide-value-first-panel table,
.evergreen-value-table {
    font-size: .96rem;
}
@media (max-width: 720px) {
    .value-first-upgrade-panel,
    .guide-value-first-panel {
        padding: 1rem;
        border-radius: 14px;
    }
    .value-first-upgrade-panel table,
    .guide-value-first-panel table,
    .evergreen-value-table {
        min-width: 720px;
    }
}


/* v73 layout/structure polish for verified vehicle-year pages */
.priority-spec-panel {
    position: relative;
    overflow: hidden;
}
.priority-spec-panel::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 6px;
    background: linear-gradient(180deg, var(--accent), #f59e0b);
}
.priority-spec-heading, .priority-spec-grid, .spec-first-table-wrap, .action-plan-table {
    position: relative;
    z-index: 1;
}
.spec-first-table th, .action-plan-table th {
    white-space: nowrap;
}
.spec-first-table td:nth-child(2), .action-plan-table td:nth-child(2) {
    font-weight: 700;
}
@media (max-width: 760px) {
    .hero-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .priority-spec-panel {
        margin-top: 18px;
        padding-left: 18px;
    }
    .responsive-table {
        border-radius: 14px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}
@media (max-width: 420px) {
    .hero-metrics {
        grid-template-columns: 1fr;
    }
    .priority-spec-grid article {
        padding: 14px;
    }
}
