.reports-page,
.reports-landing {
    max-width: 960px;
    margin: 0 auto;
}

.reports-messages {
    margin-bottom: 20px;
}

.reports-lead-list {
    margin: 12px 0 0;
    padding-left: 20px;
}

.reports-hero {
    padding-bottom: 24px;
    margin-bottom: 32px;
    border-bottom: 4px solid #111111;
}

/* Free postcode teaser */
.teaser-panel {
    background: #f2f6fb;
    border: 1px solid #c9d9ec;
    border-left: 6px solid #1d4f91;
    padding: 20px 24px;
    margin-bottom: 24px;
}

.teaser-panel__title {
    margin: 0 0 6px;
    font-size: 1.25rem;
}

.teaser-panel__copy {
    margin: 0 0 14px;
    max-width: 640px;
}

.teaser-panel__form {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.teaser-panel__form input {
    flex: 1 1 200px;
    max-width: 260px;
    padding: 10px 12px;
    font-size: 1rem;
    border: 1px solid #9db3cc;
}

.teaser-panel__form .button {
    min-height: 44px;
}

.service-lead--short,
.sample-intro--mobile,
.reports-actions--mobile {
    display: none;
}

.teaser-result__price {
    margin: 0 0 14px;
    font-size: 0.95rem;
    color: #222222;
}

.order-form-reassure {
    margin: 0 0 14px;
    font-size: 0.95rem;
    color: #333333;
}

.order-form-legal {
    margin-top: 16px;
}

/* Sticky buy bar: markup present on all viewports, shown only on mobile after a teaser hit */
.teaser-sticky {
    display: none;
}

.teaser-panel__status {
    margin: 12px 0 0;
    font-weight: 600;
}

.teaser-result {
    margin-top: 16px;
    padding: 16px 18px;
    background: #ffffff;
    border: 1px solid #c9d9ec;
}

.teaser-result__headline {
    margin: 0 0 6px;
    font-size: 1.1rem;
    font-weight: 700;
}

.teaser-result__detail {
    margin: 0 0 10px;
}

.teaser-result__upsell {
    margin: 0 0 14px;
    color: #444444;
}

.teaser-panel__note {
    margin: 14px 0 0;
    font-size: 0.85rem;
    color: #555555;
}

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

.reports-return-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: #f7f7f7;
    border-left: 6px solid #111111;
    padding: 14px 20px;
    margin-bottom: 24px;
}

.reports-return-copy {
    margin: 0;
    max-width: 620px;
}

.reports-return-actions {
    flex-shrink: 0;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

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

/* Tier selection — order form */
.tier-choices {
    margin-bottom: 20px;
}

.tier-choice {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    border-top: 1px solid #d9d9d9;
    padding: 16px 0;
    cursor: pointer;
}

.tier-choice:last-child {
    border-bottom: 1px solid #d9d9d9;
}

.tier-choice:has(input:checked) {
    border-left: 4px solid #111111;
    padding-left: 12px;
}

.tier-choice input[type="radio"] {
    margin-top: 4px;
    flex-shrink: 0;
}

.tier-choice__content {
    flex: 1;
}

.tier-choice__row {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.tier-choice__name {
    font-weight: 700;
    flex: 1;
}

.tier-choice__price {
    font-weight: 700;
    font-size: 1.1rem;
}

.tier-choice__per {
    font-size: 0.9rem;
    font-weight: 400;
    margin-left: 1px;
}

.tier-choice__features {
    margin: 4px 0 0;
    font-size: 0.95rem;
    color: #5c5c5c;
}

/* Collapsible discount code field */
.discount-disclosure {
    margin-top: 4px;
}

.discount-disclosure__summary {
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    color: #0b63ce;
    text-decoration: underline;
    margin-bottom: 10px;
}

/* Search form spacing */
.reports-search-form {
    margin-bottom: 24px;
}

.reports-reference-input {
    text-transform: uppercase;
}

.reports-inline-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* Status page */
.reports-status-meta {
    margin-top: 20px;
}

.reports-reference-block {
    border-left: 6px solid #111111;
    background: #f7f7f7;
    padding: 18px;
    margin-bottom: 20px;
}

.reports-reference-label {
    margin: 0 0 8px;
    font-weight: 700;
    color: #5c5c5c;
}

.reports-reference-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.reports-reference-code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.reports-status-box .cm-table td,
.reports-status-box .cm-table th {
    overflow-wrap: anywhere;
}

.reports-error {
    color: var(--cm-error-text);
    font-weight: 700;
}

.reports-support-note {
    margin-top: 16px;
    color: var(--cm-text-secondary);
}

/* Featured map page */
.report-map-feature {
    display: flex;
    gap: 28px;
    align-items: flex-start;
    margin: 20px 0;
    padding: 20px;
    border: 1px solid #d9d9d9;
    background: #fafafa;
}

.report-map-feature__media {
    flex: 0 0 250px;
    display: block;
}

.report-map-feature__media img {
    width: 100%;
    height: auto;
    border: 1px solid #d9d9d9;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

/* Cover page peeking out behind the map page so the map reads as part of a report */
.report-stack {
    position: relative;
    display: block;
    padding: 16px 16px 0 0;
}

.report-stack__back {
    position: absolute;
    top: 0;
    right: 0;
    width: calc(100% - 16px);
}

.report-stack__front {
    position: relative;
    display: block;
    width: calc(100% - 16px);
}

.report-map-feature__body {
    flex: 1;
    min-width: 240px;
}

.report-map-feature__body h3 {
    margin: 0 0 10px;
}

.report-map-feature__body p {
    margin: 0 0 12px;
    line-height: 1.55;
}

@media (max-width: 700px) {
    .report-map-feature {
        flex-direction: column;
    }

    .report-map-feature__media {
        flex-basis: auto;
        max-width: 220px;
    }

    /* Mobile CRO: compact hero, teaser early, stacked form, sticky CTA */
    .reports-landing {
        display: flex;
        flex-direction: column;
    }

    .reports-landing__hero {
        order: 1;
        padding-bottom: 12px;
        margin-bottom: 12px;
    }

    .reports-landing__teaser {
        order: 2;
        margin-bottom: 16px;
        padding: 16px 16px;
    }

    .reports-landing__actions {
        order: 3;
        margin: 0 0 16px;
    }

    .reports-landing__return {
        order: 4;
    }

    .reports-landing__body {
        order: 5;
    }

    .service-lead--long,
    .reports-actions--desktop,
    .sample-intro--desktop {
        display: none;
    }

    .service-lead--short,
    .sample-intro--mobile {
        display: block;
        margin: 0;
    }

    .reports-actions--mobile {
        display: flex;
    }

    .reports-landing .service-title {
        font-size: 1.55rem;
        margin-bottom: 6px;
    }

    .teaser-panel__form {
        flex-direction: column;
        flex-wrap: nowrap;
    }

    .teaser-panel__form input {
        flex: none;
        width: 100%;
        max-width: none;
        min-height: 44px;
        font-size: 16px;
        box-sizing: border-box;
    }

    .teaser-panel__form .button {
        width: 100%;
        text-align: center;
        box-sizing: border-box;
    }

    .sample-card--secondary,
    .price-card--pack {
        display: none;
    }

    .teaser-sticky[hidden] {
        display: none !important;
    }

    .teaser-sticky:not([hidden]) {
        display: block;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 40;
        background: #111111;
        color: #ffffff;
        box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.18);
        padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
    }

    .teaser-sticky__inner {
        display: flex;
        align-items: center;
        gap: 10px;
        max-width: 960px;
        margin: 0 auto;
    }

    .teaser-sticky__summary {
        flex: 1;
        margin: 0;
        font-size: 0.9rem;
        font-weight: 600;
        line-height: 1.3;
        min-width: 0;
    }

    .teaser-sticky__cta {
        flex-shrink: 0;
        min-height: 44px;
        padding-left: 14px;
        padding-right: 14px;
        background: #ffffff;
        color: #111111;
        border-color: #ffffff;
        white-space: nowrap;
    }

    .teaser-sticky__cta:hover {
        background: #f2f2f2;
        color: #111111;
    }

    body.has-teaser-sticky {
        padding-bottom: 76px;
    }

    .reports-page .cm-input {
        font-size: 16px;
        min-height: 44px;
        box-sizing: border-box;
    }

    .reports-page .cm-btn-block {
        min-height: 48px;
    }

    .reports-page .order-form-reassure {
        margin-top: 8px;
    }
}

/* Sample report thumbnails */
.sample-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 320px));
    gap: 24px;
    margin: 16px 0 8px;
}

.sample-card {
    display: block;
    text-decoration: none;
    color: inherit;
}

.sample-card__image {
    width: 100%;
    height: auto;
    border: 1px solid #d9d9d9;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.15s ease;
}

.sample-card:hover .sample-card__image {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.16);
}

.sample-card__label {
    display: block;
    margin-top: 10px;
    font-weight: 700;
    color: #0b63ce;
    text-decoration: underline;
}

.sample-card__note {
    display: block;
    margin-top: 2px;
    font-size: 0.92rem;
    color: #5c5c5c;
}

/* Pricing cards */
.price-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 20px;
    margin: 16px 0 20px;
    align-items: stretch;
}

.price-card {
    display: flex;
    flex-direction: column;
    border: 1px solid #d9d9d9;
    padding: 20px;
    background: #ffffff;
}

.price-card--featured {
    border: 2px solid #111111;
}

.price-card__badge {
    margin: 0 0 8px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #ffffff;
    background: #111111;
    padding: 4px 8px;
    align-self: flex-start;
}

.price-card__name {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
}

.price-card__price {
    margin: 4px 0 10px;
    font-size: 1.7rem;
    font-weight: 800;
}

.price-card__copy {
    margin: 0 0 16px;
    font-size: 0.95rem;
    color: #444444;
    flex-grow: 1;
}

@media (max-width: 860px) {
    .reports-return-panel {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
    }

    .reports-reference-code {
        font-size: 1.05rem;
    }
}
