.sample-library,
.sample-viewer {
    --sample-ink: #18242d;
    --sample-muted: #65747e;
    --sample-line: #dce3e6;
    --sample-yellow: #ffca0a;
    --sample-paper: #f4f7f7;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    overflow-x: hidden;
    color: var(--sample-ink);
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.sample-library__wrap,
.sample-viewer__wrap {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.sample-library__hero {
    padding: clamp(48px, 6vw, 76px) 0;
    overflow: hidden;
    background:
        radial-gradient(circle at 86% 12%, rgba(255, 202, 10, .2), transparent 26%),
        linear-gradient(145deg, #18242d 0%, #243842 100%);
    color: #fff;
}

.sample-library__hero-copy {
    max-width: 920px;
}

.sample-library__eyebrow,
.sample-library__intro-grid > div > span,
.sample-library__section-heading > div > span,
.sample-library__empty > span,
.sample-library__cta > .sample-library__wrap > span,
.sample-viewer__eyebrow,
.sample-viewer__conversion span {
    display: block;
    color: #806900;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.sample-library__eyebrow,
.sample-viewer__eyebrow,
.sample-library__cta > .sample-library__wrap > span {
    color: var(--sample-yellow);
}

.sample-library__hero h1 {
    max-width: 900px;
    margin: 13px 0 16px;
    color: #fff;
    font-size: clamp(38px, 5vw, 62px);
    font-weight: 840;
    letter-spacing: -.052em;
    line-height: 1.02;
}

.sample-library__hero h1 em {
    color: var(--sample-yellow);
    font-style: normal;
}

.sample-library__hero > .sample-library__wrap > div > p {
    max-width: 780px;
    margin: 0;
    color: rgba(255, 255, 255, .7);
    font-size: clamp(15px, 1.45vw, 18px);
    line-height: 1.55;
}

.sample-library__hero-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 27px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, .12);
}

.sample-library__proof {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 25px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sample-library__proof li {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 165px;
}

.sample-library__proof li > i,
.sample-library__proof-ai {
    display: grid;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    place-items: center;
    border-radius: 10px;
    background: rgba(255, 202, 10, .14);
    color: var(--sample-yellow);
    font-size: 13px;
}

.sample-library__proof-ai {
    background: var(--sample-yellow);
    color: var(--sample-ink);
    font-size: 10px;
    font-weight: 950;
}

.sample-library__proof span,
.sample-library__proof strong {
    display: block;
}

.sample-library__proof li > span:last-child {
    color: rgba(255, 255, 255, .55);
    font-size: 10.5px;
    line-height: 1.35;
}

.sample-library__proof strong {
    margin-bottom: 1px;
    color: #fff;
    font-size: 12px;
}

.sample-library__button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 12px 19px;
    border: 1px solid transparent;
    border-radius: 13px;
    font-size: 14px;
    font-weight: 820;
    text-decoration: none;
    transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.sample-library__button:hover {
    text-decoration: none;
    transform: translateY(-2px);
}

.sample-library__button:focus-visible,
.sample-viewer__back:focus-visible,
.sample-viewer__toolbar button:focus-visible {
    outline: 3px solid rgba(11, 79, 138, .4);
    outline-offset: 3px;
}

.sample-report-card a:focus-visible {
    outline: 3px solid #0b4f8a;
    outline-offset: 3px;
}

.sample-library__button--primary {
    background: var(--sample-yellow);
    color: var(--sample-ink);
}

.sample-library__button--primary:hover {
    background: #ffd633;
    color: var(--sample-ink);
}

.sample-library__button--secondary {
    border-color: rgba(255, 255, 255, .26);
    background: rgba(255, 255, 255, .06);
    color: #fff;
}

.sample-library__button--secondary:hover {
    background: rgba(255, 255, 255, .13);
    color: #fff;
}

.sample-library__button--dark {
    background: var(--sample-ink);
    color: #fff;
}

.sample-library__button--dark:hover {
    background: #263a46;
    color: #fff;
}

.sample-library__trust-card {
    padding: 27px;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 23px;
    background: rgba(255, 255, 255, .07);
    box-shadow: 0 28px 70px rgba(0, 0, 0, .22);
}

.sample-library__trust-kicker {
    display: block;
    color: rgba(255, 255, 255, .62);
    font-size: 11px;
    font-weight: 850;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.sample-library__trust-card ol {
    display: grid;
    gap: 18px;
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
}

.sample-library__trust-card li {
    display: grid;
    grid-template-columns: 36px 1fr;
    gap: 12px;
    align-items: start;
}

.sample-library__trust-card li > b {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 11px;
    background: var(--sample-yellow);
    color: var(--sample-ink);
    font-size: 12px;
}

.sample-library__trust-card li span,
.sample-library__trust-card li strong {
    display: block;
}

.sample-library__trust-card li span {
    color: rgba(255, 255, 255, .6);
    font-size: 12px;
    line-height: 1.45;
}

.sample-library__trust-card li strong {
    margin-bottom: 3px;
    color: #fff;
    font-size: 14px;
}

.sample-library__intro {
    padding: 28px 0;
    border-bottom: 1px solid var(--sample-line);
    background: #fff;
}

.sample-library__intro-grid {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: 45px;
    align-items: center;
}

.sample-library__intro h2 {
    margin: 7px 0 0;
    font-size: clamp(24px, 3vw, 36px);
    letter-spacing: -.035em;
}

.sample-library__intro p {
    margin: 0;
    color: var(--sample-muted);
    line-height: 1.65;
}

.sample-library__catalog {
    padding: clamp(42px, 5vw, 64px) 0;
    background: var(--sample-paper);
}

.sample-library__section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
}

.sample-library__section-heading h2 {
    margin: 7px 0 0;
    font-size: clamp(29px, 3.5vw, 42px);
    letter-spacing: -.042em;
    line-height: 1.06;
}

.sample-library__section-heading > div > p {
    max-width: 680px;
    margin: 9px 0 0;
    color: var(--sample-muted);
    font-size: 13px;
    line-height: 1.55;
}

.sample-library__section-heading > p {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 34px;
    margin: 0 0 4px;
    padding: 7px 11px;
    border: 1px solid #d8e2dd;
    border-radius: 999px;
    background: #fff;
    color: #3d6350;
    font-size: 11px;
    font-weight: 800;
}

.sample-report-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sample-report-card {
    --provider-accent: #806900;
    --provider-tint: #fff8d9;
    min-width: 0;
    border: 1px solid var(--sample-line);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(16, 31, 41, .055);
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.sample-report-card--carfax {
    --provider-accent: #1b5f8f;
    --provider-tint: #eaf4fb;
}

.sample-report-card--autocheck {
    --provider-accent: #2c6383;
    --provider-tint: #edf6fa;
}

.sample-report-card--copart {
    --provider-accent: #315795;
    --provider-tint: #edf2fb;
}

.sample-report-card--iaai {
    --provider-accent: #9a4d17;
    --provider-tint: #fff1e7;
}

.sample-report-card--manheim {
    --provider-accent: #9a6d00;
    --provider-tint: #fff5d6;
}

.sample-report-card:hover {
    border-color: color-mix(in srgb, var(--provider-accent) 42%, var(--sample-line));
    box-shadow: 0 12px 28px rgba(16, 31, 41, .09);
    transform: translateY(-2px);
}

.sample-report-card__link {
    display: flex;
    min-height: 208px;
    height: 100%;
    flex-direction: column;
    padding: 16px;
    border-radius: inherit;
    color: var(--sample-ink);
    text-decoration: none;
}

.sample-report-card__link:hover {
    color: var(--sample-ink);
    text-decoration: none;
}

.sample-report-card__top {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr) auto;
    gap: 11px;
    align-items: center;
}

.sample-report-card__logo {
    display: grid;
    width: 56px;
    height: 56px;
    place-items: center;
    overflow: hidden;
    border: 1px solid color-mix(in srgb, var(--provider-accent) 18%, #fff);
    border-radius: 14px;
    background: var(--provider-tint);
}

.sample-report-card__logo img {
    width: 46px;
    height: 46px;
    border-radius: 10px;
    object-fit: contain;
}

.sample-report-card__heading {
    min-width: 0;
}

.sample-report-card__heading small,
.sample-report-card__heading h3 {
    display: block;
}

.sample-report-card__heading small {
    margin-bottom: 3px;
    color: var(--provider-accent);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .055em;
    line-height: 1.2;
    text-transform: uppercase;
}

.sample-report-card__heading h3 {
    overflow: hidden;
    margin: 0;
    font-size: 16px;
    font-weight: 850;
    letter-spacing: -.02em;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sample-report-card__arrow {
    color: #8c989f;
    font-size: 11px;
    transition: color 180ms ease, transform 180ms ease;
}

.sample-report-card:hover .sample-report-card__arrow {
    color: var(--provider-accent);
    transform: translate(1px, -1px);
}

.sample-report-card__meta {
    display: grid;
    gap: 7px;
    margin-top: 16px;
    color: var(--sample-muted);
    font-size: 11.5px;
}

.sample-report-card__meta span {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 7px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sample-report-card__meta i {
    width: 13px;
    flex: 0 0 13px;
    color: var(--provider-accent);
    text-align: center;
}

.sample-report-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid #edf0f1;
}

.sample-report-card__ai {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #52616a;
    font-size: 11px;
    font-weight: 750;
    line-height: 1.2;
}

.sample-report-card__ai b {
    display: grid;
    width: 22px;
    height: 22px;
    place-items: center;
    border-radius: 7px;
    background: var(--sample-yellow);
    color: var(--sample-ink);
    font-size: 8px;
    font-weight: 950;
}

.sample-report-card__open {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--provider-accent);
    font-size: 11px;
    font-weight: 850;
    white-space: nowrap;
}

.sample-library__catalog-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 20px;
    padding: 15px 18px;
    border: 1px solid var(--sample-line);
    border-radius: 14px;
    background: #fff;
}

.sample-library__catalog-cta p {
    margin: 0;
    color: var(--sample-muted);
    font-size: 12.5px;
}

.sample-library__catalog-cta strong {
    color: var(--sample-ink);
}

.sample-library__empty {
    max-width: 680px;
    margin: 0 auto;
    padding: clamp(35px, 7vw, 66px);
    border: 1px solid var(--sample-line);
    border-radius: 24px;
    background: #fff;
    text-align: center;
    box-shadow: 0 12px 36px rgba(16, 31, 41, .07);
}

.sample-library__empty-icon {
    display: grid;
    width: 58px;
    height: 58px;
    margin: 0 auto 18px;
    place-items: center;
    border-radius: 18px;
    background: #fff2af;
    color: #715900;
    font-size: 23px;
}

.sample-library__empty h3 {
    margin: 8px 0 12px;
    font-size: clamp(25px, 4vw, 36px);
    letter-spacing: -.035em;
}

.sample-library__empty p {
    margin: 0 auto 22px;
    color: var(--sample-muted);
    line-height: 1.65;
}

.sample-library__explain {
    padding: clamp(60px, 7vw, 90px) 0;
    background: #fff;
}

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

.sample-library__explain article {
    padding: 26px;
    border-top: 3px solid var(--sample-yellow);
    background: var(--sample-paper);
}

.sample-library__explain article > span {
    color: #8a7000;
    font-size: 11px;
    font-weight: 900;
}

.sample-library__explain h3 {
    margin: 25px 0 8px;
    font-size: 20px;
    letter-spacing: -.025em;
}

.sample-library__explain p {
    margin: 0;
    color: var(--sample-muted);
    font-size: 14px;
    line-height: 1.6;
}

.sample-library__cta {
    padding: clamp(48px, 6vw, 68px) 0;
    background: var(--sample-ink);
    color: #fff;
    text-align: center;
}

.sample-library__cta h2 {
    margin: 10px 0 12px;
    color: #fff;
    font-size: clamp(32px, 4.6vw, 56px);
    letter-spacing: -.05em;
}

.sample-library__cta p {
    max-width: 680px;
    margin: 0 auto 24px;
    color: rgba(255, 255, 255, .65);
    line-height: 1.6;
}

.sample-library__cta small {
    display: block;
    max-width: 700px;
    margin: 20px auto 0;
    color: rgba(255, 255, 255, .48);
    line-height: 1.5;
}

.sample-viewer {
    background: var(--sample-paper);
}

.sample-viewer__header {
    padding: 34px 0 26px;
    background: var(--sample-ink);
    color: #fff;
}

.sample-viewer__back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    color: rgba(255, 255, 255, .7);
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.sample-viewer__back:hover {
    color: #fff;
}

.sample-viewer__heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
    margin-top: 18px;
}

.sample-viewer__heading h1 {
    margin: 8px 0 6px;
    color: #fff;
    font-size: clamp(34px, 5vw, 56px);
    letter-spacing: -.052em;
    line-height: 1.03;
}

.sample-viewer__heading p {
    margin: 0;
    color: rgba(255, 255, 255, .62);
    font-size: 13px;
}

.sample-viewer__notice {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px;
    max-width: 840px;
    margin-top: 23px;
    padding: 14px 16px;
    border: 1px solid rgba(255, 202, 10, .27);
    border-radius: 14px;
    background: rgba(255, 202, 10, .08);
}

.sample-viewer__notice > i {
    margin-top: 3px;
    color: var(--sample-yellow);
}

.sample-viewer__notice p {
    margin: 0;
    color: rgba(255, 255, 255, .68);
    font-size: 12px;
    line-height: 1.5;
}

.sample-viewer__notice strong {
    color: #fff;
}

.sample-viewer__guide {
    padding: 34px 0 10px;
    background: var(--sample-paper);
}

.sample-viewer__guide-eyebrow {
    display: block;
    color: #806900;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.sample-viewer__guide h2 {
    max-width: 760px;
    margin: 8px 0 21px;
    font-size: clamp(25px, 3.3vw, 39px);
    letter-spacing: -.04em;
    line-height: 1.08;
}

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

.sample-viewer__guide-grid article {
    padding: 20px;
    border: 1px solid var(--sample-line);
    border-radius: 15px;
    background: #fff;
}

.sample-viewer__guide-grid h3 {
    margin: 0 0 8px;
    font-size: 15px;
    letter-spacing: -.015em;
}

.sample-viewer__guide-grid p {
    margin: 0;
    color: var(--sample-muted);
    font-size: 13px;
    line-height: 1.58;
}

.sample-viewer__stage {
    width: min(1280px, calc(100% - 30px));
    margin: 24px auto 0;
    overflow: hidden;
    border: 1px solid var(--sample-line);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 18px 55px rgba(15, 28, 37, .12);
}

.sample-viewer__toolbar {
    display: flex;
    min-height: 58px;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 10px 15px;
    border-bottom: 1px solid var(--sample-line);
    color: var(--sample-muted);
    font-size: 11px;
}

.sample-viewer__toolbar > div {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px 17px;
}

.sample-viewer__status {
    color: var(--sample-ink);
    font-weight: 850;
}

.sample-viewer__status i {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 6px;
    border-radius: 50%;
    background: #16a36f;
}

.sample-viewer__toolbar button {
    min-height: 38px;
    padding: 8px 12px;
    border: 1px solid var(--sample-line);
    border-radius: 10px;
    background: #f5f7f8;
    color: var(--sample-ink);
    cursor: pointer;
    font: inherit;
    font-weight: 800;
}

.sample-viewer__toolbar button:hover {
    border-color: #b9c7cd;
    background: #eef2f3;
}

.sample-viewer__frame-wrap {
    height: min(78vh, 920px);
    min-height: 620px;
    background: #e9edef;
}

.sample-viewer__frame {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    background: #fff;
}

.sample-viewer__conversion {
    padding: 38px 0 70px;
}

.sample-viewer__conversion > .sample-viewer__wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 27px 30px;
    border: 1px solid var(--sample-line);
    border-radius: 19px;
    background: #fff;
}

.sample-viewer__conversion h2 {
    margin: 7px 0 0;
    font-size: clamp(23px, 3vw, 35px);
    letter-spacing: -.038em;
}

.sample-viewer__trademark {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px 34px;
    color: var(--sample-muted);
    font-size: 0.78rem;
    text-align: center;
}

.sample-unavailable {
    min-height: 58vh;
    padding: clamp(64px, 10vw, 120px) 0;
    background:
        radial-gradient(circle at 90% 10%, rgba(255, 202, 10, 0.2), transparent 30%),
        var(--sample-paper, #f4f7f7);
    color: var(--sample-ink, #18242d);
    text-align: center;
}

.sample-unavailable h1 {
    margin: 12px auto 14px;
    font-size: clamp(2rem, 5vw, 3.5rem);
    letter-spacing: -0.04em;
}

.sample-unavailable p {
    max-width: 660px;
    margin: 0 auto;
    color: var(--sample-muted, #65747e);
    font-size: 1rem;
    line-height: 1.7;
}

.sample-unavailable__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 26px;
}

@media (max-width: 900px) {
    .sample-library__hero-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .sample-library__explain-grid {
        grid-template-columns: 1fr;
    }

    .sample-viewer__heading,
    .sample-viewer__conversion > .sample-viewer__wrap {
        align-items: flex-start;
        flex-direction: column;
    }

    .sample-viewer__guide-grid {
        grid-template-columns: 1fr;
    }

    .sample-viewer__trademark {
        padding-inline: 18px;
    }

    .sample-unavailable {
        padding-inline: 18px;
    }

    .sample-unavailable__actions {
        align-items: stretch;
        flex-direction: column;
    }
}

@media (max-width: 1100px) {
    .sample-report-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .sample-library__wrap,
    .sample-viewer__wrap {
        width: min(100% - 26px, 1180px);
    }

    .sample-library__hero {
        padding: 42px 0;
    }

    .sample-library__hero h1 {
        font-size: 38px;
    }

    .sample-library__hero-footer {
        margin-top: 22px;
        padding-top: 18px;
    }

    .sample-library__proof {
        display: grid;
        width: 100%;
        grid-template-columns: 1fr;
        gap: 11px;
    }

    .sample-library__section-heading {
        align-items: flex-start;
        flex-direction: column;
    }

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

    .sample-report-card__link {
        min-height: 198px;
        padding: 14px;
    }

    .sample-report-card__top {
        grid-template-columns: 50px minmax(0, 1fr);
        gap: 9px;
    }

    .sample-report-card__logo {
        width: 50px;
        height: 50px;
    }

    .sample-report-card__logo img {
        width: 42px;
        height: 42px;
    }

    .sample-report-card__arrow {
        display: none;
    }

    .sample-report-card__footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .sample-library__catalog-cta {
        align-items: stretch;
        flex-direction: column;
    }

    .sample-viewer__header {
        padding-top: 22px;
    }

    .sample-viewer__heading .sample-library__button {
        width: 100%;
    }

    .sample-viewer__stage {
        width: calc(100% - 16px);
        margin-top: 14px;
        border-radius: 14px;
    }

    .sample-viewer__toolbar {
        align-items: flex-start;
    }

    .sample-viewer__toolbar > div {
        display: grid;
    }

    .sample-viewer__frame-wrap {
        height: 68vh;
        min-height: 500px;
    }

    .sample-viewer__conversion {
        padding: 24px 0 48px;
    }

    .sample-viewer__conversion > .sample-viewer__wrap {
        padding: 23px 20px;
    }
}

@media (max-width: 440px) {
    .sample-report-grid {
        grid-template-columns: 1fr;
    }

    .sample-report-card__link {
        min-height: 158px;
    }

    .sample-report-card__meta {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .sample-report-card__footer {
        align-items: center;
        flex-direction: row;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sample-library__button,
    .sample-report-card,
    .sample-report-card__arrow {
        transition: none;
    }
}
