.body-index {
    --body-navy: #0f172a;
    --body-blue: #2563eb;
    --body-blue-dark: #1d4ed8;
    --body-teal: #0b5ed7;
    --body-ink-soft: #475569;
    --body-border: #dbe4ee;
    --body-surface: #f8fafc;
    color: var(--body-navy);
}


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

.body-index__breadcrumb {
    margin: 12px 0 14px;
    font-size: .8rem;
}

.body-index__breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.body-index__breadcrumb li {
    display: inline-flex;
    gap: 6px;
    align-items: center;
    color: #64748b;
}

.body-index__breadcrumb li + li::before {
    content: "/";
    color: #cbd5e1;
}

.body-index__breadcrumb a {
    color: #475569;
    text-decoration: none;
}

.body-index__breadcrumb a:hover {
    color: var(--body-blue-dark);
    text-decoration: underline;
}

.body-index__breadcrumb a:focus-visible,
.body-index-card:focus-visible,
.body-index__empty a:focus-visible,
.body-index__faq summary:focus-visible {
    outline: 3px solid rgba(37, 99, 235, .35);
    outline-offset: 3px;
}

.body-index__hero {
    position: relative;
    display: grid;
    gap: 24px;
    overflow: hidden;
    margin-bottom: clamp(30px, 6vw, 62px);
    padding: clamp(26px, 5vw, 58px);
    border: 1px solid rgba(148, 163, 184, .24);
    border-radius: clamp(20px, 3vw, 30px);
    color: #fff;
    background:
        radial-gradient(circle at 92% 5%, rgba(59, 130, 246, .18), transparent 35%),
        radial-gradient(circle at 8% 100%, rgba(59, 130, 246, .24), transparent 38%),
        linear-gradient(135deg, #0b1220 0%, #142b52 58%, #0f172a 100%);
    box-shadow: 0 24px 55px rgba(15, 23, 42, .14);
}

.body-index__hero::before {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
    background-size: 28px 28px;
    content: "";
    pointer-events: none;
}

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

.body-index__eyebrow,
.body-index__kicker {
    margin: 0 0 9px;
    color: #0b5ed7;
    font-size: .7rem;
    font-weight: 850;
    letter-spacing: .11em;
    line-height: 1.4;
    text-transform: uppercase;
}

.body-index__eyebrow {
    color: #93c5fd;
}

.body-index__hero h1 {
    max-width: 760px;
    margin: 0;
    color: #fff;
    font-size: clamp(2rem, 6.5vw, 3.55rem);
    font-weight: 850;
    letter-spacing: -.045em;
    line-height: 1.03;
}

.body-index__lead {
    max-width: 720px;
    margin: 17px 0 0;
    color: #dbeafe;
    font-size: clamp(.95rem, 2vw, 1.08rem);
    line-height: 1.65;
}

.body-index__trust-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin: 24px 0 0;
    padding: 0;
    color: #e2e8f0;
    font-size: .78rem;
    font-weight: 700;
    list-style: none;
}

.body-index__trust-list li {
    display: inline-flex;
    gap: 7px;
    align-items: center;
}

.body-index__trust-list svg {
    width: 18px;
    height: 18px;
    padding: 2px;
    border-radius: 50%;
    background: rgba(59, 130, 246, .14);
    fill: none;
    stroke: #60a5fa;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2.2;
}

.body-index__hero-panel {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 8px 14px;
    align-items: end;
    max-width: 330px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 18px;
    background: rgba(255, 255, 255, .08);
    backdrop-filter: blur(5px);
}

.body-index__hero-mark {
    grid-column: 1 / -1;
    width: 100%;
    max-height: 115px;
    fill: rgba(255, 255, 255, .08);
    stroke: #bfdbfe;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2.4;
}

.body-index__hero-mark circle {
    fill: #0f172a;
    stroke: #60a5fa;
}

.body-index__hero-mark .body-index__road {
    fill: none;
    stroke: rgba(255, 255, 255, .2);
    stroke-dasharray: 5 7;
}

.body-index__hero-mark .body-index__detail {
    fill: none;
    stroke: rgba(255, 255, 255, .55);
}

.body-index__summary-number {
    color: #fff;
    font-size: 2.6rem;
    font-weight: 900;
    letter-spacing: -.05em;
    line-height: 1;
}

.body-index__hero-panel p {
    margin: 0 0 2px;
    color: #cbd5e1;
    font-size: .76rem;
    line-height: 1.4;
}

.body-index__hero-panel strong {
    color: #fff;
    font-size: .9rem;
}

.body-index__directory {
    scroll-margin-top: 24px;
}

.body-index__section-heading {
    display: grid;
    gap: 8px;
    margin-bottom: 18px;
}

.body-index__section-heading h2,
.body-index__guide-heading h2 {
    margin: 0;
    color: var(--body-navy);
    font-size: clamp(1.5rem, 4vw, 2.15rem);
    font-weight: 850;
    letter-spacing: -.035em;
    line-height: 1.12;
}

.body-index__section-heading > p,
.body-index__guide-heading > p:last-child {
    max-width: 620px;
    margin: 0;
    color: #64748b;
    font-size: .84rem;
    line-height: 1.55;
}

.body-index__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.body-index__grid > li {
    display: flex;
    min-width: 0;
}

.body-index-card {
    --card-accent: #2563eb;
    --card-tint: #eff6ff;
    position: relative;
    display: flex;
    width: 100%;
    min-height: 280px;
    flex-direction: column;
    overflow: hidden;
    padding: 20px;
    border: 1px solid var(--body-border);
    border-radius: 18px;
    color: inherit;
    background: #fff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .055);
    text-decoration: none;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.body-index-card::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 4px;
    background: var(--card-accent);
    content: "";
}

.body-index-card[data-body="pickups"],
.body-index-card[data-body="vans"],
.body-index-card[data-body="buses"] {
    --card-accent: #d97706;
    --card-tint: #fffbeb;
}

.body-index-card[data-body="mpvs"],
.body-index-card[data-body="crossovers"] {
    --card-accent: #0b5ed7;
    --card-tint: #f0fdfa;
}

.body-index-card[data-body="coupes"],
.body-index-card[data-body="convertibles"] {
    --card-accent: #be123c;
    --card-tint: #fff1f2;
}

.body-index-card[data-lifecycle="historical"] {
    --card-accent: #64748b;
    --card-tint: #f1f5f9;
    border-style: dashed;
}

.body-index-card:hover {
    border-color: color-mix(in srgb, var(--card-accent) 45%, #dbe4ee);
    box-shadow: 0 16px 36px rgba(15, 23, 42, .11);
    transform: translateY(-3px);
}

.body-index-card__topline {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    justify-content: space-between;
}

.body-index-card__icon {
    display: inline-grid;
    width: 70px;
    height: 52px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 14px;
    color: var(--card-accent);
    background: var(--card-tint);
}

.body-index-card__icon svg {
    width: 55px;
    height: 35px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.body-index-card__icon circle {
    fill: #fff;
}

.body-index-card__count {
    padding: 6px 9px;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    color: #475569;
    background: #f8fafc;
    font-size: .69rem;
    font-weight: 800;
    white-space: nowrap;
}

.body-index-card__copy {
    flex: 1;
    padding: 18px 0;
}

.body-index-card__copy h3 {
    margin: 0 0 8px;
    color: var(--body-navy);
    font-size: 1.22rem;
    font-weight: 850;
    letter-spacing: -.025em;
    line-height: 1.2;
}

.body-index-card__copy p {
    margin: 0;
    color: var(--body-ink-soft);
    font-size: .82rem;
    line-height: 1.58;
}

.body-index-card__footer {
    display: flex;
    gap: 12px;
    align-items: end;
    justify-content: space-between;
    padding-top: 15px;
    border-top: 1px solid #e2e8f0;
}

.body-index-card__price {
    display: grid;
    gap: 2px;
}

.body-index-card__price small {
    color: #64748b;
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.body-index-card__price strong {
    color: var(--body-navy);
    font-size: .98rem;
    font-weight: 850;
}

.body-index-card__cta {
    display: inline-flex;
    gap: 4px;
    align-items: center;
    color: var(--card-accent);
    font-size: .76rem;
    font-weight: 850;
}

.body-index-card__cta svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
    transition: transform .18s ease;
}

.body-index-card:hover .body-index-card__cta svg {
    transform: translateX(2px);
}

.body-index__empty {
    padding: 28px;
    border: 1px solid var(--body-border);
    border-radius: 18px;
    background: var(--body-surface);
    text-align: center;
}

.body-index__empty h2 {
    margin: 0 0 8px;
    font-size: 1.25rem;
}

.body-index__empty p {
    margin: 0 0 16px;
    color: var(--body-ink-soft);
}

.body-index__empty a {
    color: var(--body-blue-dark);
    font-weight: 800;
}

.body-index__guide {
    display: grid;
    gap: 24px;
    margin-top: clamp(42px, 7vw, 78px);
    padding: clamp(24px, 5vw, 48px);
    border: 1px solid #dbe4ee;
    border-radius: 24px;
    background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
}

.body-index__guide-heading > p:last-child {
    margin-top: 10px;
}

.body-index__guide-list {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.body-index__guide-list li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 13px;
    padding: 16px;
    border: 1px solid rgba(148, 163, 184, .26);
    border-radius: 14px;
    background: rgba(255, 255, 255, .78);
}

.body-index__guide-list li > span {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 10px;
    color: #1d4ed8;
    background: #dbeafe;
    font-size: .69rem;
    font-weight: 900;
}

.body-index__guide-list h3 {
    margin: 1px 0 5px;
    color: var(--body-navy);
    font-size: .92rem;
    font-weight: 850;
}

.body-index__guide-list p {
    margin: 0;
    color: var(--body-ink-soft);
    font-size: .78rem;
    line-height: 1.55;
}

.body-index__faq {
    margin: clamp(42px, 7vw, 72px) 0 36px;
}

.body-index__section-heading--faq {
    margin-bottom: 14px;
}

.body-index__faq-list {
    overflow: hidden;
    border: 1px solid var(--body-border);
    border-radius: 18px;
    background: #fff;
}

.body-index__faq details + details {
    border-top: 1px solid var(--body-border);
}

.body-index__faq summary {
    position: relative;
    padding: 18px 48px 18px 18px;
    color: var(--body-navy);
    font-size: .88rem;
    font-weight: 800;
    cursor: pointer;
    list-style: none;
}

.body-index__faq summary::-webkit-details-marker {
    display: none;
}

.body-index__faq summary::after {
    position: absolute;
    top: 50%;
    right: 20px;
    width: 9px;
    height: 9px;
    border-right: 2px solid #64748b;
    border-bottom: 2px solid #64748b;
    content: "";
    transform: translateY(-70%) rotate(45deg);
    transition: transform .18s ease;
}

.body-index__faq details[open] summary::after {
    transform: translateY(-25%) rotate(225deg);
}

.body-index__faq details p {
    max-width: 850px;
    margin: -3px 18px 18px;
    color: var(--body-ink-soft);
    font-size: .82rem;
    line-height: 1.65;
}

@media (min-width: 620px) {
    .body-index__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .body-index__section-heading {
        grid-template-columns: minmax(0, 1fr) minmax(240px, .72fr);
        align-items: end;
        justify-content: space-between;
    }

    .body-index__section-heading--faq {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 820px) {
    .body-index__hero {
        grid-template-columns: minmax(0, 1.6fr) minmax(250px, .72fr);
        align-items: center;
    }

    .body-index__hero-panel {
        justify-self: end;
    }

    .body-index__guide {
        grid-template-columns: minmax(230px, .7fr) minmax(0, 1.3fr);
        align-items: start;
    }
}

@media (min-width: 1060px) {
    .body-index__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 420px) {
    .body-index__hero {
        padding: 24px 19px;
        border-radius: 18px;
    }

    .body-index__hero h1 {
        font-size: 1.85rem;
    }

    .body-index__hero-panel {
        width: 100%;
        max-width: none;
    }

    .body-index-card {
        min-height: 0;
        padding: 18px;
    }

    .body-index-card__count {
        font-size: .64rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .body-index-card,
    .body-index-card__cta svg,
    .body-index__faq summary::after {
        transition: none;
    }

    .body-index-card:hover {
        transform: none;
    }
}


/* Compact Hagalu editorial masthead; inventory counts are not promotional copy. */
.body-index__hero {
    display: block;
    overflow: visible;
    margin-bottom: 34px;
    padding: 28px 0 24px;
    border: 0;
    border-bottom: 1px solid #dbe4ee;
    border-radius: 0;
    background: transparent;
    color: var(--body-navy);
    box-shadow: none;
}
.body-index__hero::before { display: none; content: none; }
.body-index__eyebrow { color: var(--body-blue-dark); }
.body-index__hero h1 { color: var(--body-navy); font-size: clamp(2rem, 5vw, 3rem); }
.body-index__lead { color: var(--body-ink-soft); }
.body-index__trust-list { color: #526176; }
.body-index__trust-list svg { background: #eff6ff; stroke: var(--body-blue); }
.body-index__hero-panel,
.body-index-card__count { display: none; }
@media (max-width: 640px) {
    .body-index__hero { margin-bottom: 26px; padding: 20px 0; }
}

