@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@600;700;800&display=swap');

:root {
    --ink: #102a25;
    --muted: #52706a;
    --paper: #fffdf8;
    --mint: #dff4e8;
    --line: #d8e3dd;
    --accent: #e9592d;
    --accent-dark: #bf3e1e;
    font-family: 'DM Sans', system-ui, sans-serif;
    color: var(--ink);
    background: var(--paper);
}

* { box-sizing: border-box; }
body { margin: 0; line-height: 1.6; }
a { color: inherit; text-underline-offset: .18em; }
h1, h2, h3 { font-family: Manrope, sans-serif; line-height: 1.1; letter-spacing: -.035em; }
h1 { font-size: clamp(2.75rem, 7vw, 5.5rem); max-width: 820px; margin: .2em 0; }
h2 { font-size: clamp(2rem, 4vw, 3.15rem); margin: .15em 0 .8em; }
h3 { font-size: 1.25rem; margin: 0 0 .4em; }
.container { width: min(1120px, calc(100% - 3rem)); margin-inline: auto; }
.site-header { position: sticky; z-index: 10; top: 0; border-bottom: 1px solid var(--line); background: rgb(255 253 248 / 94%); backdrop-filter: blur(14px); }
.site-nav { display: flex; min-height: 4.75rem; align-items: center; justify-content: space-between; gap: 1rem; }
.site-brand { display: inline-flex; align-items: center; gap: .55rem; color: var(--ink); font: 800 1.1rem Manrope, sans-serif; letter-spacing: -.04em; text-decoration: none; }
.site-brand__mark { display: grid; width: 2rem; height: 2rem; place-items: center; border-radius: .55rem; color: white; background: var(--ink); font-size: .9rem; }
.site-links { display: flex; align-items: center; gap: 1.25rem; font-weight: 700; }
.site-links > a { text-decoration: none; }
.site-links > a:not(.nav-cta):hover { color: var(--accent-dark); }
.nav-cta { padding: .55rem .8rem; border-radius: .5rem; color: white; background: var(--accent); }
.site-menu { display: none; position: relative; font-weight: 700; }
.site-menu summary { cursor: pointer; }
.site-menu nav { position: absolute; z-index: 2; top: 2rem; right: 0; display: grid; width: 13rem; padding: .75rem; border: 1px solid var(--line); border-radius: .7rem; background: white; box-shadow: 0 1rem 2rem rgb(16 42 37 / 12%); }
.site-menu nav a { padding: .55rem; text-decoration: none; }
.site-footer { margin-top: auto; padding: 4rem 0 1.5rem; color: #dcebe4; background: var(--ink); }
.site-footer .site-brand { color: white; }
.site-footer .site-brand__mark { color: var(--ink); background: #9be0bd; }
.site-footer__grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 2rem; }
.site-footer p { max-width: 20rem; color: #a9c5ba; }
.site-footer h2 { margin: 0 0 .75rem; color: #9be0bd; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; }
.site-footer a:not(.site-brand) { display: block; margin: .45rem 0; color: #e7f4ed; text-decoration: none; }
.site-footer a:not(.site-brand):hover { color: #9be0bd; }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding-top: 1.25rem; border-top: 1px solid rgb(223 244 232 / 18%); color: #a9c5ba; font-size: .85rem; }
.consent-banner { position: fixed; z-index: 20; right: 1rem; bottom: 1rem; width: min(100% - 2rem, 32rem); padding: 1.1rem 1.25rem; border: 1px solid var(--line); border-radius: .8rem; background: white; box-shadow: 0 1rem 3rem rgb(16 42 37 / 20%); }
.consent-banner p { margin: 0 0 .8rem; font-size: .88rem; color: var(--muted); }
.consent-banner div { display: flex; gap: .6rem; justify-content: end; }
.consent-banner button { padding: .6rem .8rem; font-size: .85rem; }
.consent-settings-wrap { margin-top: 1.2rem; }
.consent-settings { padding: 0; border: 0; color: #a9c5ba; background: transparent; font-size: .82rem; font-weight: 700; text-decoration: underline; text-underline-offset: .2em; }
.consent-settings:hover { color: white; background: transparent; }
.hero { position: relative; isolation: isolate; overflow: hidden; color: white; background: #0b2622; padding: clamp(4.5rem, 10vw, 8rem) 0 clamp(5rem, 11vw, 9rem); }
.hero::before { position: absolute; z-index: -2; inset: 0; content: ''; background: radial-gradient(circle at 15% 20%, rgb(67 158 124 / 30%), transparent 22rem), radial-gradient(circle at 84% 42%, rgb(226 89 45 / 20%), transparent 25rem), linear-gradient(118deg, #0a211e 0%, #163d35 53%, #0d2925 100%); }
.hero::after { position: absolute; z-index: -1; inset: auto -5% -3rem auto; width: min(65vw, 60rem); height: min(65vw, 60rem); border: 1px solid rgb(168 255 220 / 12%); border-radius: 50%; content: ''; box-shadow: 0 0 0 5rem rgb(168 255 220 / 4%), 0 0 0 10rem rgb(168 255 220 / 3%); }
.hero__layout { display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(23rem, .94fr); gap: clamp(2rem, 7vw, 7rem); align-items: center; }
.hero__content { position: relative; z-index: 1; max-width: 680px; }
.hero h1 { font-size: clamp(3.15rem, 5.1vw, 4.85rem); }
.hero__lead { max-width: 640px; margin: 1.3rem 0 0; font-size: clamp(1.1rem, 2vw, 1.35rem); color: #d3e9df; }
.hero h1 em { color: #aef2ca; font-style: normal; text-decoration: underline; text-decoration-color: rgb(233 89 45 / 85%); text-decoration-thickness: .12em; text-underline-offset: .12em; }
.eyebrow { margin: 0; color: var(--accent); font-size: .78rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.hero .eyebrow { color: #9be0bd; }
.vin-form { max-width: 640px; margin-top: 2rem; padding: 1.15rem; color: var(--ink); border: 1px solid rgb(255 255 255 / 80%); border-radius: 1.1rem; background: rgb(255 255 255 / 96%); box-shadow: 0 1.5rem 4rem rgb(0 0 0 / 20%); }
.vin-form label { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: .5rem; font-weight: 800; }
.vin-form label span { color: #6b847b; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.vin-form__row { display: flex; gap: .7rem; }
.vin-form input { min-width: 0; flex: 1; padding: .9rem 1rem; border: 1px solid #b8cbc1; border-radius: .65rem; font: 700 1rem/1.4 inherit; letter-spacing: .08em; text-transform: uppercase; }
.vin-form input:focus { outline: .2rem solid rgb(233 89 45 / 22%); border-color: var(--accent); }
button { border: 0; border-radius: .65rem; padding: .85rem 1.2rem; color: white; background: var(--accent); font: 700 1rem inherit; cursor: pointer; }
button:hover { background: var(--accent-dark); }
.vin-form button { white-space: nowrap; box-shadow: 0 .55rem 1.25rem rgb(233 89 45 / 25%); }
.vin-form button span { display: inline-block; margin-left: .3rem; font-size: 1.2em; transition: transform .2s ease; }
.vin-form button:hover span { transform: translateX(.2rem); }
.vin-form p, .disclosure { margin: .65rem 0 0; font-size: .88rem; color: var(--muted); }
.disclosure { color: #c6ddd1; }
.hero__signals { display: flex; flex-wrap: wrap; gap: .8rem 1.3rem; margin: 1.15rem 0 0; padding: 0; color: #d2e8dc; font-size: .86rem; font-weight: 700; list-style: none; }
.hero__signals li { display: inline-flex; gap: .4rem; align-items: center; }
.hero__signals span { display: inline-grid; width: 1.15rem; height: 1.15rem; place-items: center; border-radius: 50%; color: #143c33; background: #aef2ca; font-size: .72rem; }
.hero__visual { position: relative; min-height: 31rem; }
.hero__orb { position: absolute; border-radius: 50%; filter: blur(1px); }
.hero__orb--one { top: 8%; right: 7%; width: 17rem; height: 17rem; background: radial-gradient(circle at 34% 30%, #9be0bd, #2b7a64 48%, transparent 70%); opacity: .5; }
.hero__orb--two { bottom: 7%; left: 0; width: 9rem; height: 9rem; background: #e9592d; opacity: .18; filter: blur(2rem); }
.vin-scan-card { position: absolute; z-index: 2; top: 9%; left: 0; width: min(24rem, 82%); padding: 1.2rem 1.25rem; border: 1px solid rgb(206 255 228 / 31%); border-radius: 1rem; color: #e8fff0; background: linear-gradient(135deg, rgb(28 87 73 / 88%), rgb(13 50 43 / 81%)); box-shadow: 0 1.4rem 3rem rgb(0 0 0 / 20%); backdrop-filter: blur(13px); transform: rotate(-4deg); }
.vin-scan-card__top, .vin-scan-card__meta { display: flex; justify-content: space-between; gap: .5rem; color: #aae2bd; font-size: .66rem; font-weight: 800; letter-spacing: .12em; }
.vin-scan-card__live { color: #e3ffe8; }
.vin-scan-card__live i { display: inline-block; width: .42rem; height: .42rem; margin-right: .25rem; border-radius: 50%; background: #aef2ca; box-shadow: 0 0 .65rem #aef2ca; }
.vin-scan-card strong { display: block; margin: 1.45rem 0 .85rem; font: 800 clamp(1rem, 2.2vw, 1.3rem) Manrope, sans-serif; letter-spacing: .12em; }
.vin-scan-card__line { height: .32rem; overflow: hidden; border-radius: 9rem; background: rgb(255 255 255 / 15%); }
.vin-scan-card__line span { display: block; width: 66%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #aef2ca, #6fdca5); box-shadow: 0 0 1rem #83e9af; }
.vin-scan-card__meta { margin-top: .9rem; color: #cae9d3; }
.hero-car { position: absolute; right: 1%; bottom: 11%; width: min(27rem, 90%); height: 13rem; border-radius: 42% 42% 18% 18% / 70% 70% 24% 24%; background: linear-gradient(145deg, #f6fcf8 0%, #9ab8ad 31%, #49776c 61%, #20493f 100%); box-shadow: inset 0 .25rem .35rem rgb(255 255 255 / 78%), inset 0 -1rem 2.5rem rgb(3 25 20 / 55%), 0 2rem 3rem rgb(0 0 0 / 32%); transform: perspective(38rem) rotateY(-14deg) rotateX(7deg); }
.hero-car::before { position: absolute; top: -2.9rem; left: 17%; width: 66%; height: 5.8rem; border-radius: 45% 45% 12% 12%; content: ''; background: linear-gradient(145deg, #d9f0e7, #48736a 75%); box-shadow: inset 0 .2rem .4rem rgb(255 255 255 / 75%); }
.hero-car::after { position: absolute; right: 7%; bottom: -1.25rem; left: 7%; height: 2rem; border-radius: 50%; content: ''; background: rgb(0 13 10 / 40%); filter: blur(.75rem); }
.hero-car__glass { position: absolute; z-index: 1; top: -2.48rem; left: 27%; width: 45%; height: 3.3rem; border-radius: 47% 47% 8% 8%; background: linear-gradient(135deg, #1a4d58, #9bd7d2 38%, #264f55); opacity: .9; }
.hero-car__light { position: absolute; z-index: 2; top: 4.2rem; width: 4.6rem; height: 1.6rem; border-radius: 75% 20% 45% 30%; background: #e9fff3; box-shadow: 0 0 1.4rem rgb(233 255 243 / 74%); }
.hero-car__light--left { left: 7%; transform: skewY(-10deg); }.hero-car__light--right { right: 7%; transform: scaleX(-1) skewY(-10deg); }
.hero-car__grille { position: absolute; right: 28%; bottom: 1.45rem; left: 28%; height: 2.3rem; border: .28rem solid #183d35; border-radius: 0 0 1.2rem 1.2rem; background: repeating-linear-gradient(90deg, #122b26 0 .35rem, #42695f .35rem .55rem); }
.hero-car__wheel { position: absolute; z-index: 2; bottom: -.85rem; width: 4.5rem; height: 4.5rem; border: .85rem solid #182d29; border-radius: 50%; background: radial-gradient(circle, #c5ded4 0 19%, #355e54 21% 36%, #18332d 38%); box-shadow: 0 .3rem .5rem rgb(0 0 0 / 35%); }.hero-car__wheel--left { left: 9%; }.hero-car__wheel--right { right: 9%; }
.hero__tag { position: absolute; z-index: 3; display: flex; gap: .55rem; align-items: center; padding: .68rem .85rem; border: 1px solid rgb(255 255 255 / 43%); border-radius: .75rem; color: #eaffef; background: rgb(13 55 47 / 67%); box-shadow: 0 .8rem 1.8rem rgb(0 0 0 / 16%); backdrop-filter: blur(10px); font-size: .73rem; font-weight: 700; line-height: 1.25; }
.hero__tag b { display: grid; width: 1.45rem; height: 1.45rem; place-items: center; border-radius: 50%; color: #173c33; background: #aef2ca; font-size: .65rem; }.hero__tag--mileage { top: 46%; right: 0; }.hero__tag--history { bottom: 3%; left: 8%; }
.section { padding-block: clamp(4rem, 8vw, 7rem); }
.section--tint { background: var(--mint); }
.section--guides { background: #f5faf7; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; }
.section-heading h2 { margin-bottom: 0; }
.section-heading > a { flex: none; font-weight: 700; }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.card { position: relative; padding: 1.6rem; overflow: hidden; border: 1px solid var(--line); border-radius: 1rem; background: white; box-shadow: 0 .5rem 0 rgb(16 42 37 / 2%); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.card::after { position: absolute; right: -1.5rem; bottom: -2rem; width: 6rem; height: 6rem; border: 1px solid #d7eee1; border-radius: 50%; content: ''; transition: transform .35s ease; }
.card:hover { border-color: #b8d6c7; box-shadow: 0 1.15rem 2.5rem rgb(16 42 37 / 10%); transform: translateY(-.35rem); }.card:hover::after { transform: scale(1.35); }
.card p { margin: 0; color: var(--muted); }
.card__icon { display: grid; width: 2.55rem; height: 2.55rem; place-items: center; margin-bottom: 1.35rem; border-radius: .75rem; color: #0f483b; background: #dff4e8; font: 800 .8rem Manrope, sans-serif; }.card:nth-child(2) .card__icon { color: #983718; background: #ffe6dc; }.card:nth-child(3) .card__icon { color: #224a6a; background: #e0eff8; }
.card__number { margin-bottom: .5rem !important; color: #6e8a80 !important; font-size: .69rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.split { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(2rem, 8vw, 7rem); align-items: start; }
.steps { display: grid; gap: 1.2rem; margin: 0; padding-left: 1.25rem; }
.steps li { padding-left: .5rem; }
.faq { max-width: 840px; }
.faq details { padding: 1.15rem 0; border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 700; }
.faq p { margin-bottom: 0; color: var(--muted); }
.legal { max-width: 760px; padding-block: clamp(4rem, 10vw, 8rem); font-size: 1.1rem; }
.legal h1 { font-size: clamp(2.5rem, 6vw, 4rem); }
.not-found-links { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 2rem; }
.not-found-links a:not(.button-link) { font-weight: 700; }
.admin-shell { display: grid; min-height: 100vh; padding: 1.5rem; place-items: center; background: var(--mint); }
.admin-login { display: grid; width: min(100%, 420px); gap: .75rem; padding: 2.25rem; border-radius: 1rem; background: white; box-shadow: 0 1.5rem 4rem rgb(16 42 37 / 12%); }
.admin-login h1 { font-size: 2.5rem; }
.admin-login input { padding: .8rem .9rem; border: 1px solid #b8cbc1; border-radius: .5rem; font: inherit; }
.admin-login button { margin-top: .7rem; }
.form-error { padding: .8rem; border-radius: .5rem; color: #8c2410; background: #ffebe5; }
.admin-dashboard { padding-block: 3.5rem; }
.admin-body { background: #f5faf7; }
.admin-layout { display: grid; grid-template-columns: 17rem minmax(0, 1fr); min-height: 100vh; }
.admin-sidebar { position: sticky; top: 0; display: flex; height: 100vh; flex-direction: column; overflow-y: auto; padding: 1.5rem 1rem 1rem; color: #dcebe4; background: var(--ink); }
.admin-sidebar .site-brand { margin: 0 .55rem 1.7rem; color: white; }
.admin-sidebar .site-brand__mark { color: var(--ink); background: #9be0bd; }
.admin-sidebar .site-brand small { display: block; margin-top: .1rem; color: #9be0bd; font: 700 .65rem DM Sans, sans-serif; letter-spacing: .1em; text-transform: uppercase; }
.admin-sidebar__nav { display: grid; gap: .2rem; }
.admin-nav-label { margin: 1.35rem .65rem .35rem; color: #84a69a; font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.admin-nav-link { display: flex; align-items: center; gap: .75rem; padding: .6rem .65rem; border-radius: .5rem; color: #c9ddd4; font-size: .9rem; font-weight: 700; text-decoration: none; }
.admin-nav-link span { display: inline-grid; width: 1rem; place-items: center; color: #9be0bd; font-size: 1rem; }
.admin-nav-link:hover { color: white; background: rgb(255 255 255 / 9%); }
.admin-nav-link.is-active { color: var(--ink); background: #9be0bd; }
.admin-nav-link.is-active span { color: var(--ink); }
.admin-sidebar__footer { display: grid; gap: .7rem; margin-top: auto; padding: 1.5rem .65rem .2rem; border-top: 1px solid rgb(223 244 232 / 16%); }
.admin-sidebar__footer > a { color: #c9ddd4; font-size: .85rem; font-weight: 700; text-decoration: none; }
.admin-sidebar__footer > a:hover { color: white; }
.admin-sidebar__footer .button--quiet { width: 100%; padding: .65rem; color: white; background: rgb(255 255 255 / 12%); font-size: .85rem; }
.admin-sidebar__footer .button--quiet:hover { background: rgb(255 255 255 / 20%); }
.admin-content { min-width: 0; }
.admin-content .admin-dashboard { width: min(1280px, calc(100% - 4rem)); margin: 0 auto; padding-block: 3.5rem; }
.admin-header { display: flex; gap: 1.5rem; align-items: start; justify-content: space-between; }
.admin-header h1 { font-size: clamp(2rem, 4vw, 3.25rem); }
.button--quiet { color: var(--ink); background: var(--mint); }
.admin-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 2.5rem 0; }
.admin-metrics--compact { margin: 1rem 0 0; }
.admin-metrics--compact .metric strong { font-size: 2.25rem; }
.metric, .admin-next { padding: 1.5rem; border: 1px solid var(--line); border-radius: 1rem; background: white; }
.metric span { display: block; color: var(--muted); }
.metric strong { display: block; margin-top: .3rem; font: 800 clamp(2rem, 5vw, 3.5rem) / 1 Manrope, sans-serif; }
.admin-next { max-width: 760px; }
.launch-checks { display: grid; gap: .75rem; }
.launch-check { display: flex; gap: 1rem; align-items: start; justify-content: space-between; padding: 1rem 0; border-top: 1px solid var(--line); }
.launch-check h3 { font-size: 1rem; }
.launch-check p { max-width: 34rem; margin: .3rem 0 0; color: var(--muted); font-size: .9rem; }
.launch-check__state { flex: none; padding: .25rem .55rem; border-radius: 999px; font-size: .78rem; }
.launch-check__state--ready { color: #0c5230; background: #dff4e8; }
.launch-check__state--warning { color: #7a3e00; background: #fff0d8; }
.launch-check__state--neutral { color: #35534b; background: #edf3ef; }
.button-link { display: inline-block; padding: .8rem 1rem; border-radius: .55rem; color: white; background: var(--accent); font-weight: 700; text-decoration: none; }
.flash-success { padding: .8rem 1rem; border-radius: .5rem; color: #0c5230; background: #dff4e8; }
.status-review { display: inline-block; padding: .25rem .55rem; border-radius: 999px; color: #7a3e00; background: #fff0d8; font-weight: 700; font-size: .78rem; }
.admin-table-wrap { overflow-x: auto; margin-top: 2rem; border: 1px solid var(--line); border-radius: 1rem; }
table { width: 100%; border-collapse: collapse; background: white; text-align: left; }
th, td { padding: .9rem 1rem; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
.content-form { display: grid; max-width: 850px; gap: .45rem; }
.content-form > div { display: grid; gap: .35rem; }
.content-form input, .content-form textarea, .content-form select { width: 100%; padding: .75rem .85rem; border: 1px solid #b8cbc1; border-radius: .5rem; font: inherit; }
.content-form textarea { resize: vertical; }
.content-form ul { margin: 0; color: #8c2410; }
.editor-checklist { max-width: 850px; margin: 1.5rem 0 2rem; padding: 1.25rem 1.5rem; border-left: .3rem solid var(--accent); border-radius: .5rem; background: var(--mint); }
.editor-checklist h2 { margin: 0 0 .65rem; font-size: 1.25rem; }
.editor-checklist p { margin: .35rem 0; }
.seo-check { display: inline-block; padding: .1rem .4rem; border-radius: .35rem; font-size: .9rem; }
.seo-check--ready { color: #0c5230; background: #dff4e8; }
.seo-check--warning { color: #7a3e00; background: #fff0d8; }
.editor-note { max-width: 850px; margin-top: 2rem; color: var(--muted); font-size: .9rem; }
.delete-form { margin-top: 2rem; }
.inline-form { display: inline; margin-left: .65rem; }
.inline-form .button--quiet { border: 0; border-radius: .4rem; cursor: pointer; font: inherit; }
.button--danger { background: #a52d19; }
.blog-page { padding-block: clamp(4rem, 8vw, 7rem); }
.blog-header { max-width: 760px; }
.blog-header h1, .article-page h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
.blog-header > p:not(.eyebrow) { color: var(--muted); font-size: 1.2rem; }
.category-nav { display: flex; flex-wrap: wrap; gap: .75rem; margin: 2.5rem 0; }
.category-nav a { padding: .45rem .8rem; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; }
.search-form { max-width: 720px; margin: 2.5rem 0 3.5rem; }
.search-form label { display: block; margin-bottom: .45rem; font-weight: 700; }
.search-form > div { display: flex; gap: .7rem; }
.search-form input { min-width: 0; flex: 1; padding: .85rem 1rem; border: 1px solid #b8cbc1; border-radius: .55rem; font: inherit; }
.search-results h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.article-card { display: flex; flex-direction: column; align-items: start; padding: 1.5rem; border: 1px solid var(--line); border-radius: 1rem; background: white; }
.article-card h2 { font-size: 1.5rem; }
.article-card h2 a { text-decoration: none; }
.article-card p:not(.eyebrow) { color: var(--muted); }
.article-card > a:last-child { margin-top: auto; font-weight: 700; }
.article-page { max-width: 800px; padding-block: clamp(4rem, 8vw, 7rem); }
.preview-page { padding-top: 2.5rem; }
.preview-banner { display: grid; gap: .25rem; margin: 1.5rem 0 3rem; padding: 1rem 1.2rem; border-left: .3rem solid var(--accent); border-radius: .5rem; color: #5d3500; background: #fff0d8; }
.preview-banner span { color: #70490f; font-size: .9rem; }
.article-page article header { margin-bottom: 3rem; }
.article-excerpt { color: var(--muted); font-size: 1.25rem; }
.article-byline { margin: .75rem 0 0; color: var(--muted); font-size: .92rem; font-weight: 700; }
.article-body { font-size: 1.12rem; }
.article-body h2 { margin-top: 2em; font-size: 2rem; }
.article-body h3 { margin-top: 1.7em; }
.article-body a { color: var(--accent-dark); }
.article-cta { display: grid; gap: .7rem; margin-top: 4rem; padding: 2rem; border-radius: 1rem; color: white; background: var(--ink); }
.article-cta h2 { margin: 0; font-size: clamp(1.8rem, 3vw, 2.5rem); }
.article-cta p { margin: 0; color: #c6ddd1; }
.article-cta .eyebrow { color: #9be0bd; }
.article-cta .button-link { width: fit-content; margin-top: .5rem; }
.article-cta__note { font-size: .85rem; }
.article-cta__note a { color: white; }
.affiliate-result { display: grid; gap: .8rem; margin: 2rem 0; padding: 1.5rem; border-radius: 1rem; color: white; background: var(--ink); }
.affiliate-result h2 { margin: 0; font-size: 1.7rem; }
.affiliate-result p { margin: 0; color: #dcebe4; }
.disclosure--dark { font-size: .85rem; }
.related-articles { margin-top: 5rem; }
.related-articles > h2 { font-size: clamp(2rem, 4vw, 3rem); }

@media (max-width: 720px) {
    .container { width: min(100% - 2rem, 1120px); }
    .hero { padding-block: 4.25rem 4.5rem; }
    .hero__layout { grid-template-columns: 1fr; gap: 1.6rem; }
    .hero__visual { min-height: 20rem; margin: .5rem -1rem -2rem; }
    .vin-scan-card { top: 0; left: 0; width: min(20rem, 88%); padding: 1rem; }
    .hero-car { right: 1rem; bottom: 2.4rem; width: min(23rem, 92%); transform: perspective(38rem) rotateY(-10deg) rotateX(7deg) scale(.8); transform-origin: right bottom; }
    .hero__tag--mileage { top: 41%; right: 0; }.hero__tag--history { bottom: 0; left: 1rem; }
    .vin-form__row, .split { display: grid; }
    .vin-form button { width: 100%; }
    .search-form > div { display: grid; }
    .section-heading { display: grid; align-items: start; }
    .card-grid { grid-template-columns: 1fr; }
    .admin-metrics { grid-template-columns: 1fr; }
    .article-grid { grid-template-columns: 1fr; }
    .admin-header { display: grid; }
    .launch-check { display: grid; }
    .admin-layout { display: block; }
    .admin-sidebar { position: static; height: auto; min-height: 0; padding: 1rem; }
    .admin-sidebar .site-brand { margin: 0 .35rem .85rem; }
    .admin-sidebar__nav { display: flex; flex-wrap: wrap; gap: .35rem; }
    .admin-nav-label { display: none; }
    .admin-nav-link { padding: .45rem .55rem; font-size: .8rem; }
    .admin-sidebar__footer { display: flex; align-items: center; justify-content: space-between; margin-top: 1rem; padding: .8rem .35rem 0; }
    .admin-sidebar__footer .button--quiet { width: auto; }
    .admin-content .admin-dashboard { width: min(100% - 2rem, 1280px); padding-block: 2rem; }
    .site-links { display: none; }
    .site-menu { display: block; }
    .site-footer__grid { grid-template-columns: 1fr 1fr; }
    .site-footer__grid > :first-child { grid-column: 1 / -1; }
    .site-footer__bottom { display: grid; }
    .consent-banner div { display: grid; }
    .not-found-links { display: grid; justify-items: start; }
    button { width: 100%; }
}

@media (prefers-reduced-motion: no-preference) {
    .vin-scan-card { animation: hover-card 5s ease-in-out infinite; }
    .hero__tag--mileage { animation: hover-tag 4s 1.1s ease-in-out infinite; }
    .hero__tag--history { animation: hover-tag 4.5s .4s ease-in-out infinite; }
}

@keyframes hover-card { 50% { transform: rotate(-2deg) translateY(-.45rem); } }
@keyframes hover-tag { 50% { transform: translateY(-.35rem); } }
