:root {
    font-family:
        Inter,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    color: #0f172a;
    --page-bg: #f1f5f9;
    --surface: #ffffff;
    --surface-muted: #f8fafc;
    --border: #cbd5e1;
    --text-muted: #475569;
    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --primary-soft: #3b82f6;
    --brand-navy: #001f5b;
    --brand-dark: #0f172a;
    --hero-bg: linear-gradient(145deg, #1e3a8a 0%, #001f5b 42%, #0f172a 100%);
    --danger: #b91c1c;
    --danger-bg: #fef2f2;
    --success-bg: #ecfdf5;
    --success-border: #10b981;
    --shadow: 0 18px 50px rgba(15, 23, 42, 0.12);
    --shadow-soft: 0 10px 30px rgba(15, 23, 42, 0.08);
    --header-height: 5.625rem;
}

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

body {
    margin: 0;
    min-height: 100vh;
    background: var(--page-bg);
    color: inherit;
    line-height: 1.5;
}

body.page-home {
    background: #fff;
}

.page-home .site-header {
    position: sticky;
    inset: auto;
    z-index: 30;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid rgba(203, 213, 225, 0.8);
    backdrop-filter: blur(10px);
}

.page-home .site-nav a {
    color: var(--brand-dark);
}

.page-home .site-nav a:hover,
.page-home .site-nav a[aria-current="page"] {
    background: rgba(37, 99, 235, 0.08);
    color: var(--primary);
}

.page-home .site-nav-toggle {
    border-color: var(--border);
    background: #fff;
}

.page-home .site-nav-toggle span,
.page-home .site-nav-toggle span::before,
.page-home .site-nav-toggle span::after {
    background: var(--brand-dark);
}

.page-home .site-nav[data-open="true"] {
    background: #fff;
    border-color: rgba(203, 213, 225, 0.9);
}

.page-home .site-nav[data-open="true"] a {
    color: var(--brand-dark);
}

.page-home .site-nav[data-open="true"] a:hover,
.page-home .site-nav[data-open="true"] a[aria-current="page"] {
    background: rgba(37, 99, 235, 0.08);
    color: var(--primary);
}

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

a {
    color: inherit;
    text-decoration: none;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: var(--header-height);
    padding: 0.675rem 1rem;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid rgba(203, 213, 225, 0.8);
    backdrop-filter: blur(10px);
}

.site-header__brand img {
    display: block;
    width: auto;
    height: 4.5rem;
    max-width: min(13.5rem, 52vw);
}

.site-nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    background: #fff;
    cursor: pointer;
}

.site-nav-toggle span,
.site-nav-toggle span::before,
.site-nav-toggle span::after {
    display: block;
    width: 1.1rem;
    height: 2px;
    background: var(--brand-dark);
    border-radius: 999px;
    position: relative;
}

.site-nav-toggle span::before,
.site-nav-toggle span::after {
    content: "";
    position: absolute;
    left: 0;
}

.site-nav-toggle span::before {
    top: -0.35rem;
}

.site-nav-toggle span::after {
    top: 0.35rem;
}

.site-nav {
    display: none;
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 1rem;
    left: 1rem;
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: 1rem;
    background: #fff;
    box-shadow: var(--shadow-soft);
}

.site-nav[data-open="true"] {
    display: grid;
    gap: 0.25rem;
}

.site-nav a {
    padding: 0.75rem 0.85rem;
    border-radius: 0.75rem;
    font-weight: 600;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
    background: rgba(37, 99, 235, 0.08);
    color: var(--primary);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.9rem 1.25rem;
    border-radius: 999px;
    border: 0;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    transition:
        background 0.18s ease,
        color 0.18s ease,
        border-color 0.18s ease;
}

.button--primary {
    background: var(--primary);
    color: #fff;
}

.button--primary:hover {
    background: var(--primary-hover);
}

.button--secondary {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.85);
}

.button--secondary:hover {
    background: rgba(255, 255, 255, 0.08);
}

.button--ghost {
    background: #fff;
    color: var(--brand-navy);
    border: 1px solid var(--border);
}

.button--block {
    width: 100%;
}

.button:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.hero {
    position: relative;
    overflow: hidden;
    background: var(--brand-navy);
    color: #fff;
    min-height: clamp(28rem, 70vw, 42rem);
}

.hero__promo {
    position: relative;
    order: 2;
    min-height: clamp(10.25rem, 52vw, 18rem);
    margin-top: calc(-1 * clamp(10.25rem, 52vw, 18rem));
    pointer-events: none;
}

.hero__car-stage {
    position: relative;
    right: auto;
    bottom: auto;
    z-index: 1;
    width: min(62%, 20rem);
    flex-shrink: 0;
    margin-right: -0.75rem;
    margin-bottom: -0.35rem;
    pointer-events: none;
    background: transparent;
    border-radius: 0;
    overflow: visible;
}

.hero__car-stage picture {
    display: block;
    width: 100%;
    position: relative;
    z-index: 1;
}

.hero__car-stage img {
    display: block;
    width: 100%;
    height: auto;
    max-height: clamp(10rem, 42vw, 17rem);
    object-fit: contain;
    object-position: right bottom;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: radial-gradient(
        ellipse 145% 105% at 100% 100%,
        rgba(255, 255, 255, 0.4) 0%,
        rgba(255, 255, 255, 0.24) 14%,
        rgba(255, 255, 255, 0.12) 26%,
        rgba(255, 255, 255, 0.05) 38%,
        rgba(0, 31, 91, 0.08) 50%,
        rgba(0, 31, 91, 0.28) 62%,
        rgba(0, 31, 91, 0.58) 76%,
        rgba(0, 31, 91, 0.88) 90%,
        rgba(0, 31, 91, 0.98) 100%
    );
}

.hero__layout {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: min(100%, 72rem);
    margin: 0 auto;
    padding: 2rem 1.25rem;
}

.hero__copy {
    position: relative;
    z-index: 2;
    max-width: none;
    width: 100%;
    order: 1;
    padding-right: 0;
}

.hero__eyebrow {
    display: inline-block;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(191, 219, 254, 0.95);
}

.hero h1 {
    margin: 0 0 1rem;
    font-size: clamp(2.15rem, 6vw, 3.75rem);
    line-height: 1.05;
    letter-spacing: -0.03em;
    font-weight: 800;
}

.hero__title-main {
    display: block;
    white-space: nowrap;
}

.hero h1 em {
    display: block;
    margin-top: 0.1em;
    font-style: normal;
    color: #cbd5e1;
    white-space: nowrap;
}

.hero__lead {
    margin: 0 0 1.25rem;
    max-width: 36rem;
    color: rgba(226, 232, 240, 0.92);
    font-size: 1.05rem;
}

.hero__checks {
    margin: 0 0 1.5rem;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.55rem;
}

.hero__checks li {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    color: rgba(241, 245, 249, 0.95);
}

.hero__checks svg {
    flex-shrink: 0;
    color: #60a5fa;
}

.hero__actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex: 1;
    min-width: 0;
    max-width: 18rem;
    position: relative;
    z-index: 2;
    margin-bottom: 0;
}

.hero__actions .button {
    width: 100%;
    padding: 0.95rem 1.35rem;
    text-transform: none;
    letter-spacing: 0.01em;
}

.page-home [data-testid="upload-page"] {
    background: #fff;
}

.hero__form.appraisal-section {
    margin-top: 0;
    padding: 0;
    position: relative;
    z-index: 3;
    order: 3;
    min-width: 0;
}

.hero__form .appraisal-card {
    width: 100%;
    max-width: 46rem;
    margin: 0 auto;
    min-width: 0;
    color: var(--brand-dark);
}

.appraisal-card {
    container-type: inline-size;
    padding: 1.5rem 1.35rem;
}

.appraisal-section {
    padding: 0 1.25rem 2rem;
    position: relative;
    z-index: 2;
}

.appraisal-card,
.content-card,
.service-card,
.page-card {
    width: min(100%, 46rem);
    margin: 0 auto;
    background: var(--surface);
    border: 1px solid rgba(203, 213, 225, 0.75);
    border-radius: 1.35rem;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.14);
}

.appraisal-card h2,
.page-card h1 {
    margin: 0 0 0.35rem;
    color: var(--brand-navy);
    font-size: clamp(1.55rem, 4vw, 2rem);
    font-weight: 800;
}

.appraisal-card .hint,
.page-card .lead {
    margin: 0 0 1.25rem;
    color: var(--text-muted);
}

.feature-bar,
.services-section,
.cta-band,
.page-main {
    width: min(100%, 72rem);
    margin: 0 auto;
    padding: 2rem 1.25rem;
}

.page-home .feature-bar {
    padding: 0 1.25rem;
    background: #f8fafc;
}

.page-home .services-section {
    background: #fff;
    padding-top: 2.5rem;
}

.feature-bar {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    border-top: 1px solid rgba(203, 213, 225, 0.65);
    border-bottom: 1px solid rgba(203, 213, 225, 0.65);
}

.feature-bar__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.45rem;
    padding: 1rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--brand-navy);
    text-align: center;
    line-height: 1.3;
}

.feature-bar__item:not(:last-child) {
    border-right: 1px solid rgba(203, 213, 225, 0.65);
}

.feature-bar__item svg {
    flex-shrink: 0;
    color: var(--primary);
}

.section-heading {
    text-align: center;
    margin-bottom: 1.5rem;
}

.section-heading__eyebrow {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary);
}

.section-heading h2 {
    margin: 0 0 0.35rem;
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    color: var(--brand-navy);
}

.section-heading p {
    margin: 0;
    color: var(--text-muted);
}

.service-grid {
    display: grid;
    gap: 0.75rem;
}

.service-card {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 1rem 1.15rem;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.service-card:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow);
}

.service-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.12);
    color: var(--primary);
}

.service-card__body {
    flex: 1;
    min-width: 0;
}

.service-card h3 {
    margin: 0 0 0.15rem;
    font-size: 1rem;
    color: var(--brand-navy);
}

.service-card p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.45;
}

.service-card__chevron {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    color: var(--text-muted);
}

.cta-band {
    padding-bottom: 3rem;
}

.cta-band__inner {
    padding: 2rem 1.25rem;
    border-radius: 1.25rem;
    background: var(--brand-navy);
    color: #fff;
    text-align: center;
    box-shadow: var(--shadow);
}

.cta-band__inner h2 {
    margin: 0 0 0.75rem;
    font-size: clamp(1.5rem, 4vw, 2rem);
}

.cta-band__inner p {
    margin: 0 auto 1.25rem;
    max-width: 36rem;
    color: rgba(226, 232, 240, 0.92);
}

.page-main {
    padding-top: 1.5rem;
    padding-bottom: 3rem;
}

.page-card {
    padding: 1.5rem;
}

.page-card h2,
.page-card h3 {
    color: var(--brand-navy);
}

.page-card ul {
    padding-left: 1.2rem;
    color: var(--text-muted);
}

.page-card li + li {
    margin-top: 0.35rem;
}

.site-footer {
    padding: 2rem 1rem;
    background: #fff;
    border-top: 1px solid rgba(203, 213, 225, 0.8);
}

.site-footer__inner {
    width: min(100%, 72rem);
    margin: 0 auto;
    display: grid;
    gap: 1rem;
    color: var(--text-muted);
    font-size: 0.925rem;
}

.site-footer__contact {
    margin: 0;
}

.site-footer__contact a {
    color: inherit;
}

.site-footer__contact a + a {
    margin-left: 0.75rem;
}

.site-footer__contact a:hover {
    color: var(--primary);
}

.site-footer__links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
}

.site-footer__links a:hover {
    color: var(--primary);
}

.upload-form {
    display: grid;
    gap: 1rem;
}

.upload-grid {
    display: grid;
    gap: 1rem;
    min-width: 0;
}

@container (min-width: 28rem) {
    .upload-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .upload-grid .field.full {
        grid-column: 1 / -1;
    }
}

.field {
    display: grid;
    gap: 0.45rem;
    min-width: 0;
}

.field[data-invalid="true"] .field-input {
    border-color: var(--danger);
}

.field[data-invalid="true"] .field-input:focus-within {
    outline: 3px solid rgba(185, 28, 28, 0.18);
    border-color: var(--danger);
}

.field[data-invalid="true"] .upload-dropzone {
    border-color: var(--danger);
}

.field-optional {
    font-weight: 500;
    color: var(--text-muted);
}

.field label,
.section-title {
    font-size: 0.95rem;
    font-weight: 700;
}

.field-input {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
    padding: 0.15rem 0.15rem 0.15rem 0.85rem;
    border: 1px solid var(--border);
    border-radius: 0.9rem;
    background: #fff;
}

.field-input svg {
    flex-shrink: 0;
    color: var(--text-muted);
}

.field-input input {
    flex: 1;
    min-width: 0;
    padding: 0.75rem 0.85rem 0.75rem 0;
    border: 0;
    background: transparent;
    font: inherit;
}

.field-input:focus-within {
    outline: 3px solid rgba(37, 99, 235, 0.18);
    outline-offset: 1px;
    border-color: var(--primary);
}

.field-textarea {
    padding: 0.75rem 0.85rem;
    border: 1px solid var(--border);
    border-radius: 0.9rem;
    background: #fff;
}

.field-textarea textarea {
    display: block;
    width: 100%;
    min-height: 5.5rem;
    padding: 0;
    border: 0;
    background: transparent;
    font: inherit;
    line-height: 1.5;
    resize: vertical;
}

.field-textarea:focus-within {
    outline: 3px solid rgba(37, 99, 235, 0.18);
    outline-offset: 1px;
    border-color: var(--primary);
}

.field[data-invalid="true"] .field-textarea {
    border-color: #dc2626;
}

.field[data-invalid="true"] .field-textarea:focus-within {
    outline-color: rgba(220, 38, 38, 0.18);
    border-color: #dc2626;
}

.field input:not(.field-input input) {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 1px solid var(--border);
    border-radius: 0.9rem;
    background: #fff;
    font: inherit;
}

.hint {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.875rem;
    line-height: 1.5;
}

.field-error {
    display: none;
    margin: 0;
    color: #991b1b;
    font-size: 0.8rem;
    line-height: 1.35;
}

.field-error[data-visible="true"] {
    display: block;
}

.photo-checklist {
    margin: 0;
    padding-left: 1.2rem;
    color: var(--text-muted);
    font-size: 0.875rem;
    line-height: 1.6;
}

.photo-checklist li + li {
    margin-top: 0.35rem;
}

.upload-dropzone {
    border: 1.5px dashed var(--border);
    border-radius: 1rem;
    padding: 1rem;
    background: var(--surface-muted);
}

.upload-dropzone input {
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
}

.status,
.success {
    border-radius: 1rem;
    padding: 0.875rem 1rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.status {
    display: none;
    border: 1px solid #fecaca;
    background: var(--danger-bg);
    color: #7f1d1d;
}

.status[data-visible="true"] {
    display: block;
}

.success {
    display: none;
    border: 1px solid rgba(16, 185, 129, 0.35);
    background: var(--success-bg);
    color: #065f46;
}

.success[data-visible="true"] {
    display: block;
}

.selection-summary {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.preview-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.preview-card {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 1rem;
    background: #fff;
}

.preview-image {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    background: #e2e8f0;
}

.preview-meta {
    display: grid;
    gap: 0.55rem;
    padding: 0.75rem;
}

.preview-name,
.preview-size {
    margin: 0;
    font-size: 0.875rem;
}

.preview-size {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.remove-button {
    justify-self: start;
    padding: 0.55rem 0.8rem;
    border: 0;
    border-radius: 999px;
    background: var(--danger-bg);
    color: var(--danger);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.trust-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    margin: 0;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.hidden {
    display: none !important;
}

@media (max-width: 1199px) {
    .hero {
        overflow: visible;
        padding-bottom: 0;
    }

    .hero::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 7rem;
        background: #f8fafc;
        z-index: 1;
        pointer-events: none;
    }

    .hero__layout {
        gap: 0;
        padding-bottom: 0;
    }

    .hero__checks {
        margin-bottom: 0.5rem;
    }

    .hero__lead {
        max-width: 17.5em;
    }

    .hero__copy {
        position: relative;
        z-index: 3;
        margin-bottom: 0.5rem;
    }

    .hero__promo {
        order: 2;
        min-height: clamp(10.25rem, 52vw, 18rem);
        margin-top: calc(-1 * clamp(10.25rem, 52vw, 18rem));
    }

    .hero__actions {
        position: relative;
        z-index: 3;
        max-width: 42%;
    }

    .hero__car-stage {
        position: absolute;
        left: 48%;
        right: -0.75rem;
        bottom: 0;
        width: auto;
        max-width: none;
        margin: 0;
        z-index: 2;
        display: flex;
        justify-content: flex-end;
        align-items: flex-end;
        height: 100%;
    }

    .hero__car-stage::before {
        content: "";
        position: absolute;
        right: -75.6%;
        bottom: -58.05%;
        width: 534.6%;
        height: 486%;
        background: radial-gradient(
            ellipse 97.2% 91.8% at 100% 100%,
            #ffffff 0%,
            rgba(255, 255, 255, 0.95) 18%,
            rgba(255, 255, 255, 0.72) 36%,
            rgba(255, 255, 255, 0.28) 56%,
            transparent 74%
        );
        z-index: 0;
        pointer-events: none;
    }

    .hero__car-stage img {
        position: relative;
        z-index: 1;
        display: block;
        width: auto;
        height: clamp(10.25rem, 52vw, 18rem);
        max-width: none;
        max-height: none;
        object-fit: contain;
        object-position: right bottom;
    }

    .hero__form.appraisal-section {
        position: relative;
        z-index: 4;
        background: #fff;
        width: 100vw;
        max-width: 100vw;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
        margin-bottom: 0;
        padding: 0 1.25rem 0;
        box-sizing: border-box;
        border-top-left-radius: 1.35rem;
        order: 3;
    }

    .hero__layout .feature-bar {
        order: 4;
        position: relative;
        z-index: 2;
        width: 100vw;
        max-width: 100vw;
        margin: 0 calc(50% - 50vw);
        padding: 0;
        background: #f8fafc;
        box-sizing: border-box;
    }

    .hero__layout .feature-bar__item {
        background: #f8fafc;
    }

    .hero__stack {
        display: contents;
    }

    .hero__form .appraisal-card {
        border: 0;
        border-radius: 0;
        box-shadow: none;
        padding-left: 0;
        padding-right: 0;
        padding-bottom: 1.25rem;
    }
}

@media (min-width: 720px) {
    .site-nav-toggle {
        display: none;
    }

    .site-nav {
        position: static;
        display: flex;
        align-items: center;
        gap: 0.25rem;
        padding: 0;
        border: 0;
        box-shadow: none;
        background: transparent;
    }

    .hero__layout {
        padding: 2.5rem 1.5rem 0;
    }

    .appraisal-card {
        padding: 1.75rem 1.65rem;
    }

    .feature-bar__item {
        flex-direction: row;
        justify-content: center;
        padding: 1.15rem 1rem;
        font-size: 0.875rem;
        text-align: left;
    }

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

    .site-footer__inner {
        grid-template-columns: 1fr auto;
        align-items: center;
    }
}

@media (min-width: 1200px) {
    .page-home {
        --hero-form-width: 26rem;
        --hero-form-gap: 0;
        --hero-form-offset: 1.5rem;
        --hero-form-column: calc(
            var(--hero-form-width) + var(--hero-form-offset)
        );
    }

    .hero {
        overflow: visible;
        padding-bottom: 0;
        min-height: 0;
    }

    .hero__layout {
        position: relative;
        display: block;
        width: min(100%, 82rem);
        max-width: 82rem;
        margin: 0 auto;
        padding: 2rem var(--hero-form-column) 0 1.5rem;
    }

    .hero__layout::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 3.25rem;
        background: #f8fafc;
        z-index: 1;
        pointer-events: none;
    }

    .hero__stack {
        position: relative;
        z-index: 2;
        display: grid;
        grid-template-rows: auto auto;
        grid-template-columns: minmax(0, 1fr);
        align-items: start;
        min-width: 0;
        width: 100%;
    }

    .hero__copy {
        grid-row: 1;
        grid-column: 1;
        position: relative;
        z-index: 2;
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
        align-self: start;
        width: 100%;
        max-width: 26rem;
        min-width: 0;
    }

    .hero__promo {
        display: block;
        grid-row: 1;
        grid-column: 1;
        align-self: end;
        width: 100%;
        height: 0;
        overflow: visible;
        position: relative;
        z-index: 1;
        pointer-events: none;
        order: unset;
        margin: 0;
        min-height: 0;
    }

    .hero__intro {
        align-self: start;
    }

    .hero__blurb {
        align-self: start;
    }

    .hero__lead {
        max-width: none;
        margin-bottom: 0;
    }

    .hero__checks {
        margin-top: 0;
        margin-bottom: 1rem;
    }

    .hero__actions {
        flex-direction: row;
        flex-wrap: wrap;
        max-width: none;
        margin-top: 0.25rem;
    }

    .hero__actions .button {
        width: auto;
        min-width: 11rem;
    }

    .hero__car-stage {
        position: absolute;
        left: 26rem;
        right: 0;
        bottom: 0;
        width: auto;
        max-width: none;
        height: auto;
        margin: 0;
        background: transparent;
        border-radius: 0;
        overflow: visible;
        pointer-events: none;
        display: flex;
        justify-content: flex-end;
        align-items: flex-end;
    }

    .hero__car-stage picture {
        display: block;
        margin-left: auto;
        width: fit-content;
        max-width: 100%;
    }

    .hero__car-stage::before {
        content: "";
        position: absolute;
        right: 0;
        bottom: 0;
        width: 330%;
        height: 240%;
        background: radial-gradient(
            ellipse 80% 75% at 100% 100%,
            #ffffff 0%,
            rgba(255, 255, 255, 0.96) 14%,
            rgba(255, 255, 255, 0.78) 28%,
            rgba(255, 255, 255, 0.45) 44%,
            rgba(255, 255, 255, 0.18) 58%,
            rgba(255, 255, 255, 0.06) 68%,
            transparent 78%
        );
        z-index: 0;
        pointer-events: none;
    }

    .hero__car-stage img {
        position: relative;
        z-index: 1;
        max-height: min(14.5rem, 28vh);
        width: auto;
        max-width: 100%;
        height: auto;
        object-fit: contain;
        object-position: right bottom;
    }

    .hero__title-main,
    .hero h1 em {
        white-space: nowrap;
    }

    .hero__form.appraisal-section {
        position: absolute;
        top: 2rem;
        right: var(--hero-form-offset);
        width: var(--hero-form-width);
        align-self: start;
        display: flex;
        flex-direction: column;
        margin-top: 0;
        margin-left: 0;
        margin-right: 0;
        padding: 0;
        z-index: 2;
        order: unset;
        min-width: 0;
        min-height: 0;
        max-width: var(--hero-form-width);
        background: transparent;
        border-top-left-radius: 0;
    }

    .hero__form .appraisal-card {
        display: block;
        position: relative;
        z-index: 2;
        width: 100%;
        max-width: none;
        margin: 0;
        padding: 1.15rem;
        min-height: 0;
        border: 1px solid rgba(203, 213, 225, 0.75);
        border-radius: 1.35rem;
        box-shadow: 0 24px 60px rgba(15, 23, 42, 0.14);
    }

    .hero__form .upload-form {
        gap: 0.65rem;
    }

    .hero__form .appraisal-card .hint {
        margin-bottom: 0.65rem;
        font-size: 0.8rem;
    }

    .hero__form .upload-grid {
        gap: 0.55rem;
    }

    .hero__form .photo-checklist {
        display: none;
    }

    .hero__form .field > .hint {
        margin-bottom: 0.35rem;
    }

    .hero__stack .feature-bar {
        grid-row: 2;
        grid-column: 1;
        order: unset;
        width: 100%;
        max-width: 100%;
        margin: 0.75rem 0 0;
        padding: 0;
        align-self: start;
        justify-self: stretch;
        box-sizing: border-box;
        position: relative;
        z-index: 2;
        isolation: isolate;
        background: transparent;
        border-top: 1px solid rgba(203, 213, 225, 0.65);
        border-bottom: 1px solid rgba(203, 213, 225, 0.65);
    }

    .hero__stack .feature-bar__item {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        padding: 0.65rem 0.75rem;
        font-size: 0.8125rem;
        text-align: left;
        background: #f8fafc;
    }

    .page-home .services-section,
    .page-home .cta-band {
        width: min(100%, 82rem);
        max-width: 82rem;
        margin-left: auto;
        margin-right: auto;
        padding-left: 1.5rem;
        padding-right: var(--hero-form-column);
        box-sizing: border-box;
    }

    .page-home .services-section {
        padding-top: 3.5rem;
        padding-bottom: 2rem;
    }

    .page-home .cta-band {
        padding-top: 0;
        padding-bottom: 3rem;
    }
}

@media (min-width: 960px) {
    .page-card {
        padding: 2rem;
    }
}

/* Share gallery */
.page-share {
    background: #0f172a;
    color: #f8fafc;
    min-height: 100vh;
}

.share-header {
    display: flex;
    justify-content: center;
    padding: 1.25rem 1rem 0.5rem;
}

.share-header__brand img {
    display: block;
    border-radius: 0.5rem;
}

.share-main {
    width: min(100%, 56rem);
    margin: 0 auto;
    padding: 1rem 1rem 2.5rem;
}

.share-status {
    margin: 4rem auto;
    max-width: 28rem;
    text-align: center;
    padding: 1.5rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.share-status[data-variant="error"] {
    border-color: rgba(248, 113, 113, 0.45);
    background: rgba(127, 29, 29, 0.35);
}

.share-status__message {
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
}

.share-vehicle-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.share-vehicle-meta__item {
    padding: 0.9rem 1rem;
    border-radius: 0.85rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.share-vehicle-meta__label {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.75rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(248, 250, 252, 0.62);
}

.share-vehicle-meta__value {
    display: block;
    font-size: 1.05rem;
    font-weight: 600;
    color: #f8fafc;
}

.share-gallery__stage {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 0.5rem;
}

.share-gallery__figure {
    margin: 0;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    min-height: 16rem;
    position: relative;
}

.share-gallery__figure[data-loading="true"] .share-gallery__image {
    opacity: 0.35;
}

.share-gallery__loading {
    position: absolute;
    inset: 0;
    display: none;
    place-items: center;
    margin: 0;
    color: rgba(248, 250, 252, 0.72);
    font-size: 0.9375rem;
    pointer-events: none;
}

.share-gallery__figure[data-loading="true"] .share-gallery__loading {
    display: grid;
}

.share-gallery__prefetch {
    margin: 0 0 0.75rem;
    text-align: center;
    color: rgba(248, 250, 252, 0.62);
    font-size: 0.875rem;
}

.share-gallery__image {
    display: block;
    width: 100%;
    max-height: min(72vh, 42rem);
    object-fit: contain;
    background: #020617;
}

.share-gallery__caption {
    padding: 0.75rem 1rem 1rem;
    text-align: center;
    color: rgba(248, 250, 252, 0.72);
    font-size: 0.9375rem;
}

.share-gallery__nav {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(15, 23, 42, 0.72);
    color: #f8fafc;
    font-size: 1.75rem;
    line-height: 1;
    cursor: pointer;
    transition: background 0.15s ease, opacity 0.15s ease;
}

.share-gallery__nav:hover:not(:disabled) {
    background: rgba(37, 99, 235, 0.35);
}

.share-gallery__nav:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.share-gallery__dots {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.25rem;
}

.share-gallery__dot {
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 999px;
    border: none;
    padding: 0;
    background: rgba(248, 250, 252, 0.28);
    cursor: pointer;
}

.share-gallery__dot[aria-current="true"] {
    background: #60a5fa;
    transform: scale(1.25);
}

.share-gallery__dot--ready {
    background: rgba(96, 165, 250, 0.55);
}

@media (max-width: 640px) {
    .share-gallery__stage {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .share-gallery__nav {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 2;
    }

    .share-gallery__nav--prev {
        left: 0.5rem;
    }

    .share-gallery__nav--next {
        right: 0.5rem;
    }
}
