/*
 * Marketing site (Home, Pricing, Features, About, Contact, SignUp)
 * Aligned with .cursor/design/DESIGN.md — does not apply when #report-root is present.
 */
:root {
    --rr-ink: #141413;
    --rr-terracotta: #c96442;
    --rr-terracotta-hover: #b55538;
    --rr-coral: #d97757;
    --rr-parchment: #f5f4ed;
    --rr-ivory: #faf9f5;
    --rr-sand: #e8e6dc;
    --rr-border-cream: #f0eee6;
    --rr-border-warm: #e8e6dc;
    --rr-charcoal: #4d4c48;
    --rr-olive: #5e5d59;
    --rr-stone: #87867f;
    --rr-dark-surface: #30302e;
    --rr-warm-silver: #b0aea5;
    --rr-ring: #d1cfc5;
    --rr-focus: #3898ec;
    /* DESIGN.md — semantic accents for ticks/crosses (not CTAs) */
    --rr-error-crimson: #b53333;
    /* Muted warm green — editorial / illustration accent, not a saturated UI green */
    --rr-muted-green: #4a5d44;
    --rr-font-serif: "Source Serif 4", Georgia, "Times New Roman", serif;
    --rr-font-sans: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --rr-whisper: rgba(0, 0, 0, 0.05) 0px 4px 24px;
}

body:not(:has(#report-root)) {
    font-family: var(--rr-font-sans);
    color: var(--rr-ink);
    background: var(--rr-parchment);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Text links only — do not target .btn (Brand Terracotta buttons use Ivory text per DESIGN.md) */
body:not(:has(#report-root)) .reports-pricing a:not(.btn),
body:not(:has(#report-root)) .link-secondary {
    color: var(--rr-terracotta) !important;
    text-decoration: none;
    font-weight: 600;
}

body:not(:has(#report-root)) .reports-pricing a:not(.btn):hover,
body:not(:has(#report-root)) .link-secondary:hover {
    color: var(--rr-terracotta-hover) !important;
    text-decoration: underline;
}

body:not(:has(#report-root)) .text-muted {
    color: var(--rr-stone) !important;
}

/* ---------- Page heroes (Pricing, Features, About, Contact, SignUp) ---------- */
.pricing-header,
.features-header,
.about-header,
.contact-header,
.signup-header {
    background: var(--rr-ivory);
    color: var(--rr-ink);
    padding: clamp(3rem, 8vw, 5rem) 0;
    margin-bottom: 0;
    text-align: center;
    border-bottom: 1px solid var(--rr-border-warm);
    box-shadow: 0 1px 0 var(--rr-border-cream);
}

.pricing-header h1,
.features-header h1,
.about-header h1,
.contact-header h1,
.signup-header h1 {
    font-family: var(--rr-font-serif);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 500;
    line-height: 1.15;
    margin-bottom: 1rem;
    color: var(--rr-ink);
    letter-spacing: -0.02em;
}

.pricing-header p,
.features-header p,
.about-header p,
.contact-header p,
.signup-header p {
    font-size: 1.125rem;
    color: var(--rr-olive);
    margin-bottom: 0;
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.55;
}

/* ---------- Home hero ---------- */
body:not(:has(#report-root)) .hero {
    position: relative;
    background: var(--rr-ivory);
    color: var(--rr-ink);
    text-align: center;
    padding: clamp(4rem, 12vw, 7rem) 1.25rem;
    border-bottom: 1px solid var(--rr-border-warm);
    box-shadow: 0 1px 0 var(--rr-border-cream);
}

body:not(:has(#report-root)) .hero::before {
    display: none;
}

body:not(:has(#report-root)) .hero .container {
    position: relative;
    z-index: 1;
    max-width: 52rem;
}

body:not(:has(#report-root)) .home-hero__overline {
    font-family: var(--rr-font-sans);
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--rr-terracotta);
    margin-bottom: 0.85rem;
}

body:not(:has(#report-root)) .home-hero__title {
    font-family: var(--rr-font-serif);
    font-weight: 500;
    font-size: clamp(2.15rem, 5.5vw, 3.5rem);
    line-height: 1.1;
    margin-bottom: 1rem;
    color: var(--rr-ink);
    letter-spacing: -0.02em;
    max-width: 57.5rem;
    margin-left: auto;
    margin-right: auto;
}

body:not(:has(#report-root)) .home-hero__lead {
    font-size: clamp(1.0625rem, 2.2vw, 1.1875rem);
    color: var(--rr-olive);
    margin-bottom: 2rem;
    line-height: 1.55;
    max-width: 40rem;
    margin-left: auto;
    margin-right: auto;
}

body:not(:has(#report-root)) .home-hero__hint {
    font-size: 0.88rem;
    line-height: 1.5;
    color: var(--rr-stone);
    margin-bottom: 0;
    max-width: 32rem;
}

body:not(:has(#report-root)) .hero .input-group {
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 0 0 1px var(--rr-border-cream), var(--rr-whisper);
}

body:not(:has(#report-root)) .home-hero__search.input-group {
    border-radius: 14px;
}

body:not(:has(#report-root)) .hero .input-group > .form-control {
    border: 1px solid var(--rr-border-warm);
    padding: 0.85rem 1rem;
    font-size: 1rem;
    color: var(--rr-ink);
    background: #fff;
    touch-action: manipulation;
}

body:not(:has(#report-root)) .hero .input-group > .btn {
    touch-action: manipulation;
}

@media (min-width: 576px) {
    body:not(:has(#report-root)) .hero .input-group > .form-control {
        border-radius: 14px 0 0 14px !important;
    }

    body:not(:has(#report-root)) .hero .input-group > .btn {
        border-radius: 0 14px 14px 0 !important;
    }
}

@media (max-width: 575.98px) {
    body:not(:has(#report-root)) .hero .input-group {
        overflow: visible;
    }

    body:not(:has(#report-root)) .hero .input-group > .form-control {
        border-radius: 14px 14px 0 0 !important;
        /* Bootstrap sets width:1% on .form-control inside .input-group;
           in a flex-column container that makes the input 1% wide.
           Override to fill the full width of the stacked layout. */
        width: 100% !important;
    }

    body:not(:has(#report-root)) .hero .input-group > .btn {
        border-radius: 0 0 14px 14px !important;
        width: 100%;
    }
}

body:not(:has(#report-root)) .hero .input-group > .form-control:focus {
    border-color: var(--rr-focus);
    box-shadow: 0 0 0 0.2rem rgba(56, 152, 236, 0.25);
}

/* Home hero — two-column + verdict preview (marketing home) */
body:not(:has(#report-root)) .hero.home-hero .home-hero__container {
    max-width: 72rem;
}

body:not(:has(#report-root)) .hero.home-hero .home-hero__title {
    max-width: none;
}

body:not(:has(#report-root)) .home-hero__lead--full {
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 1200px) {
    body:not(:has(#report-root)) .home-hero__lead--full {
        margin-left: 0;
        margin-right: 0;
        max-width: none;
    }
}

body:not(:has(#report-root)) .home-hero__search-callout {
    font-family: var(--rr-font-sans);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--rr-ink);
    margin-bottom: 0.35rem;
    margin-top: 0.25rem;
}

body:not(:has(#report-root)) .home-hero__search-microcopy {
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--rr-olive);
    max-width: 34rem;
    margin-bottom: 0.85rem;
}

body:not(:has(#report-root)) .home-hero__area-only-note {
    font-size: 0.8125rem;
    line-height: 1.5;
    color: var(--rr-stone);
    margin-top: 1rem;
    max-width: 36rem;
}

body:not(:has(#report-root)) .home-hero__area-only-note a {
    font-weight: 600;
    color: var(--rr-terracotta);
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

body:not(:has(#report-root)) .home-hero__area-only-note a:hover {
    color: var(--rr-ink);
}

body:not(:has(#report-root)) .home-hero__credit-note {
    font-size: 0.8125rem;
    line-height: 1.45;
    color: var(--rr-stone);
    margin-top: 0.35rem;
    margin-bottom: 0;
    max-width: 32rem;
}

@media (max-width: 1199.98px) {
    body:not(:has(#report-root)) .home-hero .home-verdict-preview {
        max-width: 22rem;
        margin-left: auto;
        margin-right: auto;
    }
}

body:not(:has(#report-root)) .home-verdict-preview__inner {
    background: #fff;
    border: 1px solid var(--rr-border-cream);
    border-radius: 16px;
    box-shadow: var(--rr-whisper);
    padding: 1.25rem 1.25rem 1rem;
    color: var(--rr-terracotta);
    text-align: center;
}

body:not(:has(#report-root)) .home-verdict-pill {
    display: inline-block;
    font-family: var(--rr-font-sans);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-radius: 999px;
    padding: 0.35rem 0.75rem;
    margin-bottom: 0.75rem;
}

body:not(:has(#report-root)) .home-verdict-pill--strong {
    background: color-mix(in srgb, var(--rr-muted-green) 18%, var(--rr-ivory));
    color: var(--rr-muted-green);
    border: 1px solid color-mix(in srgb, var(--rr-muted-green) 35%, transparent);
}

body:not(:has(#report-root)) .home-verdict-pill--mixed {
    background: color-mix(in srgb, var(--rr-coral) 16%, var(--rr-ivory));
    color: var(--rr-terracotta-hover);
    border: 1px solid color-mix(in srgb, var(--rr-terracotta) 28%, transparent);
}

body:not(:has(#report-root)) .home-verdict-pill--risk {
    background: color-mix(in srgb, var(--rr-error-crimson) 12%, var(--rr-ivory));
    color: var(--rr-error-crimson);
    border: 1px solid color-mix(in srgb, var(--rr-error-crimson) 25%, transparent);
}

body:not(:has(#report-root)) .home-mini-radar {
    width: 100%;
    max-width: 240px;
    height: auto;
    margin: 0 auto 0.5rem;
    display: block;
    color: var(--rr-terracotta);
}

body:not(:has(#report-root)) .home-mini-radar text {
    font-family: var(--rr-font-sans), system-ui, sans-serif;
}

body:not(:has(#report-root)) .home-verdict-preview__footer {
    font-size: 0.8125rem;
    color: var(--rr-olive);
    margin: 0;
    line-height: 1.45;
}

body:not(:has(#report-root)) .home-verdict-preview__footer-accent {
    color: var(--rr-ink);
    font-weight: 600;
}

/* Samples strip */
body:not(:has(#report-root)) .home-samples {
    background: var(--rr-sand);
    border-top: 1px solid var(--rr-border-warm);
    border-bottom: 1px solid var(--rr-border-warm);
}

body:not(:has(#report-root)) .home-samples h2 {
    font-family: var(--rr-font-serif);
    font-weight: 500;
    color: var(--rr-ink);
    font-size: clamp(1.65rem, 3.2vw, 2.25rem);
    max-width: 40rem;
    margin-left: auto;
    margin-right: auto;
}

body:not(:has(#report-root)) .home-samples__lead {
    max-width: 36rem;
    color: var(--rr-olive);
}

body:not(:has(#report-root)) .home-sample-card {
    position: relative;
    background: #fff;
    border: 1px solid var(--rr-border-cream);
    border-radius: 16px;
    box-shadow: var(--rr-whisper);
    padding: 1.35rem 1.25rem 1.25rem;
    text-align: left;
    transition: box-shadow 0.15s ease, border-color 0.15s ease;
}

body:not(:has(#report-root)) .home-sample-card:hover {
    border-color: var(--rr-ring);
    box-shadow: var(--rr-whisper), 0 0 0 1px var(--rr-ring);
}

body:not(:has(#report-root)) .home-sample-card__title {
    font-family: var(--rr-font-serif);
    font-weight: 500;
    font-size: 1.25rem;
    color: var(--rr-ink);
}

body:not(:has(#report-root)) .home-sample-card__score {
    font-family: var(--rr-font-serif);
    font-weight: 500;
    font-size: 1.75rem;
    color: var(--rr-terracotta);
    line-height: 1.2;
}

body:not(:has(#report-root)) .home-sample-card__score-denom {
    font-family: var(--rr-font-sans);
    font-size: 1rem;
    font-weight: 500;
    color: var(--rr-stone);
}

body:not(:has(#report-root)) .home-sample-card__best {
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--rr-olive);
}

body:not(:has(#report-root)) .home-sample-card__cta {
    font-family: var(--rr-font-sans);
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--rr-terracotta);
    text-decoration: none;
    align-self: flex-start;
}

body:not(:has(#report-root)) .home-sample-card__cta:hover {
    color: var(--rr-terracotta-hover);
    text-decoration: underline;
}

body:not(:has(#report-root)) .home-score-personalised {
    text-align: center;
}

@media (min-width: 768px) {
    body:not(:has(#report-root)) .home-score-personalised {
        text-align: left;
    }
}

body:not(:has(#report-root)) .home-score-personalised__inner {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--rr-terracotta);
    background: color-mix(in srgb, var(--rr-terracotta) 10%, var(--rr-ivory));
    border: 1px solid color-mix(in srgb, var(--rr-terracotta) 22%, transparent);
    border-radius: 999px;
    padding: 0.35rem 0.85rem;
}

body:not(:has(#report-root)) .home-radar-svg {
    width: 100%;
    max-width: min(100%, 320px);
    height: auto;
    color: var(--rr-terracotta);
}

body:not(:has(#report-root)) .home-radar-svg text {
    font-family: var(--rr-font-sans), system-ui, sans-serif;
}

/* Home pricing tier cards (4-up) */
body:not(:has(#report-root)) .home-pricing-card {
    background: var(--rr-ivory) !important;
    border-radius: 16px !important;
    border: 1px solid var(--rr-border-cream) !important;
    box-shadow: var(--rr-whisper);
    overflow: visible;
}

body:not(:has(#report-root)) .home-pricing-card--popular {
    border: 2px solid var(--rr-terracotta) !important;
    box-shadow: var(--rr-whisper) !important;
}

body:not(:has(#report-root)) .home-pricing-card__badge {
    position: absolute;
    top: 0;
    right: 1rem;
    transform: translateY(-50%);
    background: var(--rr-terracotta);
    color: var(--rr-ivory);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-radius: 999px;
    padding: 0.35rem 0.65rem;
    line-height: 1;
    box-shadow: 0 4px 12px rgba(201, 100, 66, 0.35);
}

body:not(:has(#report-root)) .home-pricing-card__name {
    font-family: var(--rr-font-serif);
    font-weight: 500;
    font-size: 1.25rem;
    color: var(--rr-ink);
    margin: 0;
}

body:not(:has(#report-root)) .home-pricing-card__price {
    font-family: var(--rr-font-serif);
    font-weight: 500;
    font-size: 1.75rem;
    color: var(--rr-terracotta);
    line-height: 1.2;
    margin: 0;
}

body:not(:has(#report-root)) .home-pricing-card__desc {
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--rr-olive);
}

body:not(:has(#report-root)) .home-pricing-footnote {
    max-width: 40rem;
    margin-left: auto;
    margin-right: auto;
}

/* How buyers use — steps */
body:not(:has(#report-root)) .home-why__regret-strip {
    background: var(--rr-sand);
    border: 1px solid var(--rr-border-cream);
    border-radius: 14px;
    box-shadow: var(--rr-whisper);
    color: var(--rr-charcoal);
    font-family: var(--rr-font-serif);
    font-size: clamp(1.0625rem, 1.8vw, 1.25rem);
    line-height: 1.45;
    padding: 0.95rem 1.5rem;
    max-width: 68rem;
    margin-left: auto;
    margin-right: auto;
}

body:not(:has(#report-root)) .home-why__regret-strip strong {
    color: var(--rr-ink);
    font-weight: 600;
}

@media (max-width: 767.98px) {
    body:not(:has(#report-root)) .home-why__regret-strip {
        font-size: 0.97rem;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

body:not(:has(#report-root)) .home-why-step__title {
    font-family: var(--rr-font-serif);
    font-weight: 500;
    font-size: 1.2rem;
    color: var(--rr-ink);
    margin-bottom: 0.65rem;
    line-height: 1.3;
}

body:not(:has(#report-root)) .home-why-step__body {
    font-size: 0.9375rem;
    line-height: 1.55;
    color: var(--rr-olive);
    margin: 0;
}

body:not(:has(#report-root)) .home-why__tip {
    max-width: 38rem;
    margin-left: auto;
    margin-right: auto;
}

/* Trust signals */
body:not(:has(#report-root)) .home-trust {
    background: var(--rr-ivory);
    border-top: 1px solid var(--rr-border-warm);
}

body:not(:has(#report-root)) .home-trust .home-section__label {
    margin-bottom: 0.65rem;
}

body:not(:has(#report-root)) .home-trust h2 {
    font-family: var(--rr-font-serif);
    font-weight: 500;
    font-size: clamp(1.5rem, 3.2vw, 2.125rem);
    color: var(--rr-ink);
    max-width: 45rem;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.2;
}

body:not(:has(#report-root)) .home-trust__lead {
    max-width: 38rem;
    margin-left: auto;
    margin-right: auto;
    color: var(--rr-olive);
}

body:not(:has(#report-root)) .home-trust-source {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--rr-charcoal);
    background: #fff;
    border: 1px solid var(--rr-border-warm);
    border-radius: 999px;
    padding: 0.4rem 0.75rem;
    margin: 0;
}

body:not(:has(#report-root)) .home-trust-source__ico {
    margin-right: 0.35rem;
    opacity: 0.65;
    font-size: 0.75rem;
}

body:not(:has(#report-root)) .home-trust-stat__value {
    font-family: var(--rr-font-serif);
    font-weight: 500;
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--rr-ink);
    line-height: 1.2;
}

body:not(:has(#report-root)) .home-trust-stat__label {
    font-size: 0.875rem;
}

body:not(:has(#report-root)) .home-trust-stat__meta {
    font-size: 0.8125rem;
    line-height: 1.5;
    color: var(--rr-olive);
}

body:not(:has(#report-root)) .home-trust__freshness {
    max-width: 56rem;
    margin-left: auto;
    margin-right: auto;
}

/* Bottom CTA — two buttons */
body:not(:has(#report-root)) .home-cta__actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

@media (min-width: 576px) {
    body:not(:has(#report-root)) .home-cta__actions {
        flex-direction: row;
        flex-wrap: wrap;
    }
}

body:not(:has(#report-root)) .home-cta .home-cta__secondary {
    background: transparent !important;
    border: 2px solid rgba(250, 249, 245, 0.55) !important;
    color: var(--rr-ivory) !important;
    font-weight: 600;
    border-radius: 12px;
    padding: 0.65rem 1.5rem;
    text-decoration: none;
    display: inline-block;
}

body:not(:has(#report-root)) .home-cta .home-cta__secondary:hover {
    background: rgba(250, 249, 245, 0.1) !important;
    border-color: var(--rr-ivory) !important;
    color: #fff !important;
}

/* Home hero — signed-in credit strip (compact, matches search width) */
body:not(:has(#report-root)) .home-credit-strip__inner {
    background: var(--rr-sand);
    border: 1px solid var(--rr-border-cream);
    border-radius: 12px;
    box-shadow: 0 0 0 1px rgba(20, 20, 19, 0.04), var(--rr-whisper);
    padding: 0.9rem 1.1rem 1rem;
    text-align: left;
}

body:not(:has(#report-root)) .home-credit-strip__row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem 1rem;
}

body:not(:has(#report-root)) .home-credit-strip__eyebrow {
    display: block;
    font-family: var(--rr-font-sans);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--rr-terracotta);
    margin-bottom: 0.2rem;
}

body:not(:has(#report-root)) .home-credit-strip__status {
    font-family: var(--rr-font-serif);
    font-weight: 500;
    font-size: 1.05rem;
    line-height: 1.35;
    color: var(--rr-ink);
}

body:not(:has(#report-root)) .home-credit-strip__policy {
    font-size: 0.8rem;
    line-height: 1.45;
    color: var(--rr-stone);
    margin-top: 0.35rem;
}

body:not(:has(#report-root)) .home-credit-strip__links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem 1rem;
    font-family: var(--rr-font-sans);
    font-size: 0.82rem;
    font-weight: 600;
}

body:not(:has(#report-root)) .blog-tag {
    font-size: 0.75rem;
    border: 1px solid var(--rr-border-warm);
    border-radius: 999px;
    padding: 0.15rem 0.55rem;
    color: var(--rr-olive);
    text-decoration: none;
}

body:not(:has(#report-root)) .rr-blog-content {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--rr-charcoal);
}

body:not(:has(#report-root)) .rr-blog-content h1,
body:not(:has(#report-root)) .rr-blog-content h2,
body:not(:has(#report-root)) .rr-blog-content h3 {
    font-family: var(--rr-font-serif);
    color: var(--rr-ink);
    margin-top: 1.4rem;
    margin-bottom: 0.8rem;
}

body:not(:has(#report-root)) .home-credit-strip__links a {
    color: var(--rr-terracotta);
    text-decoration: none;
    white-space: nowrap;
}

body:not(:has(#report-root)) .home-credit-strip__links a:hover {
    color: var(--rr-terracotta-hover);
    text-decoration: underline;
}

body:not(:has(#report-root)) .home-credit-strip__note {
    font-size: 0.84rem;
    line-height: 1.45;
    color: var(--rr-olive);
    margin: 0.65rem 0 0;
    min-height: 0;
}

body:not(:has(#report-root)) .home-credit-strip__note:empty {
    display: none;
}

body:not(:has(#report-root)) .home-credit-strip__packages {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.65rem;
}

body:not(:has(#report-root)) .home-credit-strip__buy {
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.8rem;
    padding: 0.35rem 0.75rem;
    border: 1px solid var(--rr-dark-surface);
    color: var(--rr-ink);
    background: #fff;
}

body:not(:has(#report-root)) .home-credit-strip__buy:hover {
    background: var(--rr-ivory);
    border-color: var(--rr-ink);
    color: var(--rr-ink);
}

/* ---------- Home — signed in (account workspace, home.pen) ---------- */
body:not(:has(#report-root)) .home-page--signed-in {
    background: var(--rr-parchment);
}

body:not(:has(#report-root)) .home-signed__welcome-banner {
    background: var(--rr-ivory);
    border-bottom: 1px solid var(--rr-border-warm);
}

body:not(:has(#report-root)) .home-signed__welcome-banner-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 1rem;
}

body:not(:has(#report-root)) .home-signed__welcome-banner-text {
    color: var(--rr-terracotta);
    font-size: 0.9rem;
    line-height: 1.45;
}

body:not(:has(#report-root)) .home-signed__welcome-banner-close {
    border: 1px solid var(--rr-border-warm);
    background: #fff;
    color: var(--rr-charcoal);
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    line-height: 1;
    font-size: 1rem;
}

body:not(:has(#report-root)) .home-signed__top {
    background: var(--rr-ivory);
    border-bottom: 1px solid var(--rr-border-warm);
    padding: clamp(2.5rem, 6vw, 3.5rem) 1.25rem clamp(2rem, 5vw, 2.75rem);
}

body:not(:has(#report-root)) .home-signed__intro {
    max-width: 52rem;
}

body:not(:has(#report-root)) .home-signed__eyebrow {
    font-family: var(--rr-font-sans);
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--rr-terracotta);
    margin-bottom: 1rem;
}

body:not(:has(#report-root)) .home-signed__title {
    font-family: var(--rr-font-serif);
    font-weight: 500;
    font-size: clamp(2.25rem, 5vw, 2.75rem);
    line-height: 1.15;
    color: var(--rr-ink);
    letter-spacing: -0.02em;
    margin-bottom: 1.1rem;
}

body:not(:has(#report-root)) .home-signed__lead {
    font-size: clamp(1rem, 2vw, 1.0625rem);
    line-height: 1.55;
    color: var(--rr-olive);
    max-width: 38rem;
}

body:not(:has(#report-root)) .home-signed__credit-wrap {
    padding: 0.5rem 0 1.75rem;
    background: var(--rr-ivory);
}

body:not(:has(#report-root)) .home-signed__credit-card {
    width: 100%;
    max-width: 42.5rem;
    background: var(--rr-ivory);
    border: 1px solid var(--rr-border-cream);
    border-radius: 16px;
    box-shadow: var(--rr-whisper);
    padding: 1.35rem 1.5rem 1.25rem;
    text-align: left;
}

body:not(:has(#report-root)) .home-signed__credit-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.25rem 1.5rem;
}

body:not(:has(#report-root)) .home-signed__credit-main {
    flex: 1 1 12rem;
    min-width: 0;
}

body:not(:has(#report-root)) .home-signed__credit-eyebrow {
    display: block;
    font-family: var(--rr-font-sans);
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--rr-terracotta);
    margin-bottom: 0.35rem;
}

body:not(:has(#report-root)) .home-signed__credit-status {
    font-family: var(--rr-font-serif);
    font-weight: 500;
    font-size: clamp(1.35rem, 3vw, 1.75rem);
    line-height: 1.2;
    color: var(--rr-ink);
}

body:not(:has(#report-root)) .home-signed__credit-policy {
    font-size: 0.8125rem;
    line-height: 1.5;
    color: var(--rr-stone);
    margin-top: 0.4rem;
}

body:not(:has(#report-root)) .home-signed__credit-nav {
    flex: 0 1 17.5rem;
    min-width: min(100%, 15.5rem);
    font-family: var(--rr-font-sans);
}

body:not(:has(#report-root)) .home-signed__credit-nav-eyebrow {
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--rr-terracotta);
    margin: 0 0 0.5rem;
}

body:not(:has(#report-root)) .home-signed__credit-actions {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

body:not(:has(#report-root)) .home-signed__credit-action {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    min-height: 3.25rem;
    padding: 0.65rem 0.75rem;
    border-radius: 12px;
    border: 1px solid var(--rr-border-warm);
    background: #fff;
    box-shadow: 0 0 0 1px var(--rr-border-cream);
    text-decoration: none;
    color: inherit;
    transition:
        background-color 0.15s ease,
        border-color 0.15s ease,
        box-shadow 0.15s ease;
}

body:not(:has(#report-root)) .home-signed__credit-action:hover {
    background: var(--rr-sand);
    border-color: var(--rr-ring);
    box-shadow: 0 0 0 1px var(--rr-ring);
}

body:not(:has(#report-root)) .home-signed__credit-action:focus-visible {
    outline: 2px solid var(--rr-focus);
    outline-offset: 2px;
}

body:not(:has(#report-root)) .home-signed__credit-action-icon {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 10px;
    background: var(--rr-parchment);
    color: var(--rr-terracotta);
    font-size: 1rem;
}

body:not(:has(#report-root)) .home-signed__credit-action:hover .home-signed__credit-action-icon {
    background: var(--rr-ivory);
    color: var(--rr-terracotta-hover);
}

body:not(:has(#report-root)) .home-signed__credit-action-body {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    text-align: left;
}

body:not(:has(#report-root)) .home-signed__credit-action-title {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.25;
    color: var(--rr-ink);
}

body:not(:has(#report-root)) .home-signed__credit-action-desc {
    font-size: 0.8125rem;
    font-weight: 400;
    line-height: 1.35;
    color: var(--rr-stone);
}

body:not(:has(#report-root)) .home-signed__credit-action-arrow {
    flex: 0 0 auto;
    color: var(--rr-warm-silver);
    font-size: 0.7rem;
}

body:not(:has(#report-root)) .home-signed__credit-action:hover .home-signed__credit-action-arrow {
    color: var(--rr-terracotta);
}

@media (max-width: 575.98px) {
    body:not(:has(#report-root)) .home-signed__credit-nav {
        flex: 1 1 100%;
        min-width: 0;
    }
}

body:not(:has(#report-root)) .home-signed__credit-note {
    font-size: 0.875rem;
    line-height: 1.45;
    color: var(--rr-olive);
    margin: 0.85rem 0 0;
    min-height: 0;
}

body:not(:has(#report-root)) .home-signed__credit-note:empty {
    display: none;
}

body:not(:has(#report-root)) .home-signed__credit-packages {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

body:not(:has(#report-root)) .home-signed__report-band {
    background: var(--rr-parchment);
    padding: clamp(2.5rem, 6vw, 3.75rem) 0 clamp(3rem, 7vw, 4.25rem);
}

body:not(:has(#report-root)) .home-signed__stack {
    max-width: 48rem;
}

body:not(:has(#report-root)) .home-signed__section-title {
    font-family: var(--rr-font-serif);
    font-weight: 500;
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    line-height: 1.2;
    color: var(--rr-ink);
    margin-bottom: 0.85rem;
}

body:not(:has(#report-root)) .home-signed__section-lead {
    font-size: 1rem;
    line-height: 1.55;
    color: var(--rr-olive);
    max-width: 35rem;
    margin-bottom: 1.5rem;
}

body:not(:has(#report-root)) .home-signed__search-card {
    width: 100%;
    max-width: 40rem;
    background: var(--rr-ivory);
    border: 1px solid var(--rr-border-cream);
    border-radius: 20px;
    box-shadow: var(--rr-whisper);
    padding: 1.75rem 1.5rem 1.5rem;
}

body:not(:has(#report-root)) .home-signed__search-card .input-group {
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 0 0 1px var(--rr-border-cream), var(--rr-whisper);
}

body:not(:has(#report-root)) .home-signed__search-card .input-group > .form-control {
    border: 1px solid var(--rr-border-warm);
    padding: 0.85rem 1rem;
    font-size: 1rem;
    color: var(--rr-ink);
    background: #fff;
}

body:not(:has(#report-root)) .home-signed__search-card .input-group > .form-control:focus {
    border-color: var(--rr-focus);
    box-shadow: 0 0 0 0.2rem rgba(56, 152, 236, 0.25);
}

@media (min-width: 576px) {
    body:not(:has(#report-root)) .home-signed__search-card .input-group > .form-control {
        border-radius: 14px 0 0 14px !important;
    }

    body:not(:has(#report-root)) .home-signed__search-card .input-group > .btn {
        border-radius: 0 14px 14px 0 !important;
    }
}

@media (max-width: 575.98px) {
    body:not(:has(#report-root)) .home-signed__search-card .input-group {
        overflow: visible;
    }

    body:not(:has(#report-root)) .home-signed__search-card .input-group > .form-control {
        border-radius: 14px 14px 0 0 !important;
        width: 100% !important;
        touch-action: manipulation;
    }

    body:not(:has(#report-root)) .home-signed__search-card .input-group > .btn {
        border-radius: 0 0 14px 14px !important;
        width: 100%;
        touch-action: manipulation;
    }
}

body:not(:has(#report-root)) .home-signed__search-hint {
    margin-top: 1rem;
    font-size: 0.75rem;
    line-height: 1.45;
    color: var(--rr-stone);
    text-align: center;
    max-width: 30rem;
    margin-left: auto;
    margin-right: auto;
}

body:not(:has(#report-root)) .home-signed__onboarding-hint {
    margin-top: 0.55rem;
    font-size: 0.78rem;
    line-height: 1.45;
    color: var(--rr-olive);
    text-align: center;
}

body:not(:has(#report-root)) .home-signed__onboarding-hint a {
    color: var(--rr-terracotta);
    font-weight: 600;
    text-decoration: none;
}

body:not(:has(#report-root)) .home-signed__onboarding-hint a:hover {
    color: var(--rr-terracotta-hover);
    text-decoration: underline;
}

body:not(:has(#report-root)) .home-signed__search-balance {
    margin-top: 0.9rem;
    border: 1px solid var(--rr-border-cream);
    border-radius: 12px;
    background: #fff;
    padding: 0.65rem 0.8rem 0.7rem;
    text-align: left;
}

body:not(:has(#report-root)) .rr-home-new-user .home-signed__search-balance {
    border: 2px solid color-mix(in srgb, var(--rr-terracotta) 45%, transparent);
    background: color-mix(in srgb, var(--rr-sand) 45%, #fff);
    padding: 0.85rem 0.95rem 0.9rem;
}

body:not(:has(#report-root)) .rr-home-new-user .home-signed__search-balance-value {
    font-size: clamp(1.25rem, 2.4vw, 1.6rem);
    color: var(--rr-terracotta);
}

body:not(:has(#report-root)) .rr-home-new-user .home-signed__search-balance-note {
    font-size: 0.82rem;
    color: var(--rr-charcoal);
}

body:not(:has(#report-root)) .home-signed__search-balance-eyebrow {
    font-family: var(--rr-font-sans);
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--rr-terracotta);
}

body:not(:has(#report-root)) .home-signed__search-balance-value {
    margin-top: 0.2rem;
    font-family: var(--rr-font-serif);
    font-size: 1.1rem;
    line-height: 1.25;
    color: var(--rr-ink);
}

body:not(:has(#report-root)) .home-signed__search-balance-note {
    margin-top: 0.2rem;
    font-size: 0.75rem;
    line-height: 1.45;
    color: var(--rr-stone);
}

body:not(:has(#report-root)) .home-signed__recent-band {
    background: var(--rr-parchment);
    padding: 0 0 clamp(2.25rem, 5vw, 2.75rem);
}

body:not(:has(#report-root)) .home-signed__recent-title {
    font-family: var(--rr-font-serif);
    font-weight: 500;
    font-size: clamp(1.35rem, 3vw, 1.65rem);
    color: var(--rr-ink);
    margin-bottom: 0.5rem;
}

body:not(:has(#report-root)) .home-signed__recent-lead {
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--rr-stone);
    max-width: 32.5rem;
    margin-bottom: 1.15rem;
}

body:not(:has(#report-root)) .home-signed__rec-row {
    width: 100%;
    max-width: 40rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin-bottom: 1rem;
}

body:not(:has(#report-root)) .home-signed__rec-ghost {
    height: 52px;
    border-radius: 12px;
    background: var(--rr-ivory);
    border: 1px solid var(--rr-border-cream);
}

body:not(:has(#report-root)) .home-signed__recent-empty {
    font-size: 0.85rem;
    color: var(--rr-stone);
    text-align: center;
}

body:not(:has(#report-root)) .home-signed__recent-item {
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    align-items: center;
    gap: 0.65rem;
    min-height: 52px;
    border-radius: 12px;
    background: var(--rr-ivory);
    border: 1px solid var(--rr-border-cream);
    padding: 0.55rem 0.8rem;
    text-decoration: none;
}

body:not(:has(#report-root)) .home-signed__recent-item:hover {
    border-color: var(--rr-ring);
}

body:not(:has(#report-root)) .home-signed__recent-item-type {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--rr-terracotta);
    background: var(--rr-sand);
    border: 1px solid var(--rr-border-warm);
    border-radius: 999px;
    padding: 0.22rem 0.45rem;
    white-space: nowrap;
}

body:not(:has(#report-root)) .home-signed__recent-item-address {
    color: var(--rr-ink);
    font-size: 0.86rem;
    font-weight: 500;
    text-align: left;
}

body:not(:has(#report-root)) .home-signed__recent-item-meta {
    color: var(--rr-stone);
    font-size: 0.74rem;
    white-space: nowrap;
}

body:not(:has(#report-root)) .home-signed__recent-item-open {
    color: var(--rr-terracotta);
    font-size: 0.78rem;
    font-weight: 600;
    white-space: nowrap;
}

body:not(:has(#report-root)) .home-signed__text-link {
    font-family: var(--rr-font-sans);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--rr-terracotta);
    text-decoration: none;
}

body:not(:has(#report-root)) .home-signed__text-link:hover {
    color: var(--rr-terracotta-hover);
    text-decoration: underline;
}

body:not(:has(#report-root)) .home-signed__help-band {
    background: var(--rr-sand);
    border-top: 1px solid var(--rr-border-warm);
    padding: clamp(1.75rem, 4vw, 2.25rem) 0 clamp(3rem, 8vw, 4.5rem);
}

body:not(:has(#report-root)) .home-signed__help-title {
    font-family: var(--rr-font-serif);
    font-weight: 500;
    font-size: clamp(1.35rem, 3vw, 1.75rem);
    line-height: 1.2;
    color: var(--rr-ink);
    margin-bottom: 0.5rem;
}

body:not(:has(#report-root)) .home-signed__help-lead {
    font-size: 0.9375rem;
    line-height: 1.55;
    color: var(--rr-olive);
    max-width: 32.5rem;
    margin-bottom: 1.25rem;
}

body:not(:has(#report-root)) .home-signed__pricing-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--rr-font-sans);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--rr-ink);
    background: #fff;
    border: 1px solid var(--rr-dark-surface);
    border-radius: 12px;
    padding: 0.65rem 1.35rem;
    text-decoration: none;
}

body:not(:has(#report-root)) .home-signed__pricing-btn:hover {
    background: var(--rr-ivory);
    color: var(--rr-ink);
    border-color: var(--rr-ink);
}

/* ---------- Insufficient credits modal (home) ---------- */
body:not(:has(#report-root)) .rr-credits-modal {
    background: var(--rr-ivory);
    border: 1px solid var(--rr-border-cream);
    border-radius: 16px;
    box-shadow: var(--rr-whisper);
    overflow: hidden;
}

body:not(:has(#report-root)) .rr-credits-modal__eyebrow {
    font-family: var(--rr-font-sans);
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--rr-terracotta);
}

body:not(:has(#report-root)) .rr-credits-modal__title {
    font-family: var(--rr-font-serif);
    font-weight: 500;
    font-size: 1.35rem;
    color: var(--rr-ink);
}

body:not(:has(#report-root)) .rr-credits-modal__lead {
    font-size: 0.95rem;
    line-height: 1.55;
    color: var(--rr-olive);
}

body:not(:has(#report-root)) .rr-credits-modal__secondary {
    font-family: var(--rr-font-sans);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--rr-ink);
    background: #fff;
    border: 1px solid var(--rr-dark-surface);
    border-radius: 12px;
    padding: 0.5rem 1.1rem;
    text-decoration: none;
    text-align: center;
}

body:not(:has(#report-root)) .rr-credits-modal__secondary:hover {
    background: var(--rr-sand);
    color: var(--rr-ink);
}

/* ---------- Login (home.pen — Login RightRoof v2) ---------- */
body:not(:has(#report-root)) .login-page {
    background: var(--rr-parchment);
    min-height: calc(100vh - 4rem);
}

body:not(:has(#report-root)) .login-page__intro {
    background: var(--rr-ivory);
    border-bottom: 1px solid var(--rr-border-warm);
    padding: clamp(2rem, 5vw, 2.75rem) 0 clamp(1.75rem, 4vw, 2.25rem);
}

body:not(:has(#report-root)) .login-page__eyebrow {
    font-family: var(--rr-font-sans);
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--rr-terracotta);
    margin-bottom: 0.85rem;
}

body:not(:has(#report-root)) .login-page__title {
    font-family: var(--rr-font-serif);
    font-weight: 500;
    font-size: clamp(2rem, 4.5vw, 2.5rem);
    line-height: 1.15;
    color: var(--rr-ink);
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
}

body:not(:has(#report-root)) .login-page__lead {
    font-size: clamp(0.95rem, 2vw, 1.0625rem);
    line-height: 1.55;
    color: var(--rr-olive);
    max-width: 32.5rem;
}

body:not(:has(#report-root)) .login-page__card-wrap {
    padding-top: clamp(1.5rem, 4vw, 2.25rem);
}

body:not(:has(#report-root)) .login-page__card {
    width: 100%;
    max-width: 27.5rem;
    background: var(--rr-ivory);
    border: 1px solid var(--rr-border-cream);
    border-radius: 20px;
    box-shadow: var(--rr-whisper);
    padding: clamp(1.75rem, 4vw, 2.5rem);
}

body:not(:has(#report-root)) .login-page__notice {
    padding: 0.75rem 1rem 0.75rem 1.1rem;
    margin-bottom: 1.25rem;
    background: var(--rr-sand);
    border: 1px solid var(--rr-border-warm);
    border-left: 3px solid var(--rr-terracotta);
    border-radius: 12px;
    font-family: var(--rr-font-sans);
    font-size: 0.8125rem;
    line-height: 1.45;
    color: var(--rr-olive);
}

body:not(:has(#report-root)) .login-page__notice--ok {
    background: #f1f7f3;
    border-color: #c5ddcb;
    border-left-color: #2d7a4d;
}

body:not(:has(#report-root)) .login-page__notice--info {
    background: #f0f4fa;
    border-color: #c5cfe0;
    border-left-color: #3d6bb8;
}

body:not(:has(#report-root)) .login-page__notice .login-page__notice-action {
    font: inherit;
    font-weight: 600;
    color: var(--rr-terracotta);
    text-decoration: underline;
    vertical-align: baseline;
    cursor: pointer;
}

body:not(:has(#report-root)) .login-page__notice .login-page__notice-action:hover {
    color: var(--rr-terracotta);
    opacity: 0.92;
}

body:not(:has(#report-root)) .login-page__notice .login-page__notice-action:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    text-decoration: none;
}

body:not(:has(#report-root)) .login-page__google-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    width: 100%;
    padding: 0.85rem 1.1rem;
    border: 1px solid var(--rr-border-warm);
    border-radius: 12px;
    background: #fff;
    font-family: var(--rr-font-sans);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--rr-ink);
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

body:not(:has(#report-root)) .login-page__google-btn:hover {
    background: #fff;
    border-color: var(--rr-ring);
    box-shadow: 0 1px 4px rgba(20, 20, 19, 0.06);
}

body:not(:has(#report-root)) .login-page__divider {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 1.35rem 0;
}

body:not(:has(#report-root)) .login-page__divider-line {
    flex: 1;
    height: 1px;
    background: var(--rr-border-warm);
}

body:not(:has(#report-root)) .login-page__divider-text {
    font-family: var(--rr-font-sans);
    font-size: 0.75rem;
    color: var(--rr-stone);
    flex-shrink: 0;
}

body:not(:has(#report-root)) .login-page__label {
    display: block;
    font-family: var(--rr-font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--rr-charcoal);
    margin-bottom: 0.35rem;
}

/* Remember me: vertically centre label with checkbox (override Bootstrap form-check + field label block styles) */
body:not(:has(#report-root)) .login-page__remember.form-check {
    display: flex;
    flex-direction: row;
    align-items: center;
    column-gap: 0.5rem;
    padding-left: 0;
}

body:not(:has(#report-root)) .login-page__remember .form-check-input {
    float: none;
    margin-left: 0;
    margin-top: 0;
    flex-shrink: 0;
}

body:not(:has(#report-root)) .login-page__remember .login-page__label--remember {
    margin-bottom: 0;
    font-weight: 400;
    line-height: 1.4;
}

body:not(:has(#report-root)) .login-page__input {
    border-radius: 12px;
    border: 1px solid var(--rr-border-warm);
    padding: 0.75rem 1rem;
    font-size: 0.9375rem;
    color: var(--rr-ink);
    background: #fff;
}

body:not(:has(#report-root)) .login-page__input:focus {
    border-color: var(--rr-focus);
    box-shadow: 0 0 0 0.2rem rgba(56, 152, 236, 0.2);
}

body:not(:has(#report-root)) .login-page__input::placeholder {
    color: var(--rr-stone);
}

body:not(:has(#report-root)) .login-page__submit {
    padding-top: 0.9rem;
    padding-bottom: 0.9rem;
}

body:not(:has(#report-root)) .login-page__submit:disabled {
    opacity: 0.85;
}

body:not(:has(#report-root)) .login-page__spinner {
    width: 1rem;
    height: 1rem;
    vertical-align: middle;
    border: 2px solid rgba(250, 249, 245, 0.35);
    border-top-color: var(--rr-ivory);
    border-radius: 50%;
    animation: rr-login-spin 0.7s linear infinite;
}

@keyframes rr-login-spin {
    to {
        transform: rotate(360deg);
    }
}

body:not(:has(#report-root)) .login-page__signup-row {
    text-align: center;
    font-family: var(--rr-font-sans);
    font-size: 0.8125rem;
    margin-top: 1.25rem;
}

body:not(:has(#report-root)) .login-page__signup-muted {
    color: var(--rr-stone);
    margin-right: 0.25rem;
}

body:not(:has(#report-root)) .login-page__signup-link {
    font-weight: 600;
    color: var(--rr-terracotta);
    text-decoration: none;
}

body:not(:has(#report-root)) .login-page__signup-link:hover {
    color: var(--rr-terracotta-hover);
    text-decoration: underline;
}

body:not(:has(#report-root)) .login-page__forgot-link {
    font-family: var(--rr-font-sans);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--rr-stone);
    text-decoration: none;
    letter-spacing: 0.01em;
}

body:not(:has(#report-root)) .login-page__forgot-link:hover {
    color: var(--rr-charcoal);
    text-decoration: underline;
}

body:not(:has(#report-root)) .login-page__trust {
    text-align: center;
    font-family: var(--rr-font-sans);
    font-size: 0.6875rem;
    color: var(--rr-warm-silver);
}

/* ---------- Buttons (marketing) ---------- */
/* DESIGN.md — Brand Terracotta: background #c96442, text Ivory #faf9f5 */
body:not(:has(#report-root)) .rr-btn-terra {
    background: var(--rr-terracotta);
    border: 1px solid var(--rr-terracotta);
    color: var(--rr-ivory) !important;
    font-weight: 600;
    border-radius: 12px;
    padding: 0.85rem 1.25rem;
    box-shadow: 0 0 0 0 var(--rr-terracotta), 0 0 0 1px var(--rr-terracotta);
    text-decoration: none;
}

body:not(:has(#report-root)) .rr-btn-terra:hover,
body:not(:has(#report-root)) .rr-btn-terra:focus {
    background: var(--rr-terracotta-hover);
    border-color: var(--rr-terracotta-hover);
    color: var(--rr-ivory) !important;
}

body:not(:has(#report-root)) .rr-btn-dark {
    background: var(--rr-dark-surface);
    border: 1px solid var(--rr-dark-surface);
    color: var(--rr-ivory) !important;
    font-weight: 600;
    border-radius: 12px;
    padding: 0.75rem 1.25rem;
    box-shadow: 0 0 0 0 var(--rr-dark-surface), 0 0 0 1px var(--rr-ring);
}

body:not(:has(#report-root)) .rr-btn-dark:hover {
    background: var(--rr-ink);
    border-color: var(--rr-ink);
    color: var(--rr-ivory) !important;
}

body:not(:has(#report-root)) .rr-btn-sand {
    background: var(--rr-sand);
    border: 1px solid var(--rr-sand);
    color: var(--rr-charcoal) !important;
    font-weight: 600;
    border-radius: 10px;
    box-shadow: 0 0 0 0 var(--rr-sand), 0 0 0 1px var(--rr-ring);
}

body:not(:has(#report-root)) .rr-btn-sand:hover {
    background: var(--rr-border-cream);
    border-color: var(--rr-ring);
    color: var(--rr-ink) !important;
}

body:not(:has(#report-root)) .rr-btn-outline {
    background: #fff;
    border: 1px solid var(--rr-dark-surface);
    color: var(--rr-ink) !important;
    font-weight: 600;
    border-radius: 12px;
}

body:not(:has(#report-root)) .rr-btn-outline:hover {
    background: var(--rr-sand);
    border-color: var(--rr-dark-surface);
    color: var(--rr-ink) !important;
}

/* ---------- Rating / scoring (home) ---------- */
.rating-display {
    background: transparent;
    width: 100%;
    max-width: 72rem;
    margin: 0 auto;
    padding: clamp(3rem, 6vw, 5rem) 1rem;
}

.rating-display h2 {
    font-family: var(--rr-font-serif);
    font-weight: 500;
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    color: var(--rr-ink);
    margin-bottom: 0.75rem;
}

.rating-display .lead {
    color: var(--rr-olive);
    font-size: 1.0625rem;
    line-height: 1.6;
    max-width: 40rem;
    margin-left: auto;
    margin-right: auto;
}

.score-example {
    background: var(--rr-ivory);
    border: 1px solid var(--rr-border-cream);
    border-radius: 16px;
    box-shadow: var(--rr-whisper);
    padding: 1.5rem;
}

.rating-score {
    font-family: var(--rr-font-serif);
    font-weight: 500;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: var(--rr-terracotta);
    line-height: 1;
}

.rating-label {
    color: var(--rr-ink);
    font-weight: 600;
}

.rating-scale {
    color: var(--rr-stone);
}

.score-breakdown .progress {
    height: 10px;
    border-radius: 999px;
    background: var(--rr-border-cream);
    overflow: hidden;
}

.score-breakdown .progress-bar {
    background: var(--rr-terracotta);
    font-size: 0;
    color: transparent;
}

.home-scoring .home-section__label {
    margin-bottom: 0.65rem;
}

.home-section__label {
    font-family: var(--rr-font-sans);
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--rr-terracotta);
    margin-bottom: 0;
}

/* Home layout — ~1200px canvas like Pencil */
.home-page .container {
    max-width: 1200px;
}

.home-page .home-scoring .container,
.home-page .home-samples .container,
.home-page .home-reports .container,
.home-page .home-why .container,
.home-page .home-trust .container {
    max-width: 1200px;
}

.home-scoring .factor-row__meta {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--rr-olive);
}

.home-score-progress.progress {
    background: var(--rr-border-cream);
}

.home-score-progress .progress-bar {
    background-color: var(--rr-terracotta);
}

.home-score-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 12px;
    margin-left: auto;
    margin-right: auto;
    background: var(--rr-sand);
    box-shadow: 0 0 0 1px var(--rr-border-cream);
}

.home-score-icon i {
    font-size: 1.15rem;
    color: var(--rr-terracotta);
    line-height: 1;
}

.home-reports .home-section__label {
    margin-bottom: 0.65rem;
}

.home-why .home-section__label {
    margin-bottom: 0.65rem;
}

.home-why h2 {
    font-size: clamp(1.65rem, 3.2vw, 2.25rem);
    line-height: 1.2;
    max-width: 50rem;
    margin-left: auto;
    margin-right: auto;
}

.home-why .lead {
    max-width: 40rem;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.0625rem;
    line-height: 1.6;
}

.home-testimonials .home-section__label {
    margin-bottom: 0.65rem;
}

.home-testimonials .lead {
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
}

.home-scoring .rating-display h2 {
    font-size: clamp(1.85rem, 3.8vw, 2.5rem);
    line-height: 1.2;
    max-width: 45rem;
    margin-left: auto;
    margin-right: auto;
}

.home-scoring .rating-display .lead {
    font-size: 1.0625rem;
    line-height: 1.6;
    max-width: 42.5rem;
}

.home-score-example.score-example {
    border-radius: 20px;
    padding: clamp(1.25rem, 3vw, 2rem);
    box-shadow: var(--rr-whisper);
}

.home-scoring .rating-score {
    font-size: clamp(2.75rem, 6vw, 4rem);
}

.home-scoring .rating-label {
    font-weight: 600;
    font-size: 0.9375rem;
}

.home-scoring .score-breakdown .progress {
    height: 8px;
}

.home-scoring .score-info-card {
    border-radius: 16px;
    padding: 1.5rem 1.25rem;
    text-align: center;
    height: 100%;
}

.home-scoring .score-info-card h4 {
    font-size: 1.375rem;
    line-height: 1.25;
    margin-bottom: 0.5rem;
}

.home-scoring .score-info-card p {
    font-size: 0.875rem;
    line-height: 1.55;
    margin-bottom: 0;
}

.home-reports h2 {
    font-size: clamp(1.65rem, 3.2vw, 2.25rem);
    line-height: 1.2;
    max-width: 52.5rem;
    margin-left: auto;
    margin-right: auto;
}

.home-report-card .card-title {
    font-size: clamp(1.35rem, 2.4vw, 1.625rem);
    line-height: 1.2;
}

.home-report-card__kicker {
    font-family: var(--rr-font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    color: var(--rr-charcoal);
    margin-bottom: 0;
}

.home-report-card__kicker--accent {
    color: var(--rr-terracotta);
    letter-spacing: 0.02em;
}

.home-report-card__lead {
    font-size: 0.875rem;
    line-height: 1.55;
    color: var(--rr-olive);
    margin-bottom: 0;
}

.home-report-card--featured {
    border: 2px solid var(--rr-terracotta) !important;
    border-radius: 18px !important;
    box-shadow: var(--rr-whisper) !important;
}

.home-testimonials h2 {
    font-size: clamp(1.5rem, 3.2vw, 2.125rem);
    line-height: 1.2;
    max-width: 45rem;
    margin-left: auto;
    margin-right: auto;
}

.home-cta h2 {
    font-size: clamp(1.65rem, 3.5vw, 2.375rem);
    line-height: 1.15;
    max-width: 52.5rem;
    margin-left: auto;
    margin-right: auto;
}

.home-why__intro {
    max-width: 50rem;
    margin-left: auto;
    margin-right: auto;
}

.score-info-card {
    background: #fff;
    border: 1px solid var(--rr-border-cream);
    border-radius: 12px;
    box-shadow: var(--rr-whisper);
}

.score-info-card h4 {
    font-family: var(--rr-font-serif);
    font-weight: 500;
    color: var(--rr-ink);
}

.score-info-card p {
    color: var(--rr-olive) !important;
}

/* ---------- Sections ---------- */
.reports-pricing {
    background: var(--rr-sand);
    border-top: 1px solid var(--rr-border-warm);
    border-bottom: 1px solid var(--rr-border-warm);
}

.reports-pricing h2 {
    font-family: var(--rr-font-serif);
    font-weight: 500;
    color: var(--rr-ink);
}

.reports-pricing .card {
    background: var(--rr-ivory);
    border: 1px solid var(--rr-border-cream) !important;
    border-radius: 16px !important;
    box-shadow: var(--rr-whisper);
}

.reports-pricing .card-title {
    font-family: var(--rr-font-serif);
    font-weight: 500;
    color: var(--rr-ink);
}

.reports-pricing .badge {
    background: var(--rr-sand) !important;
    color: var(--rr-charcoal) !important;
    border: 1px solid var(--rr-ring);
    font-weight: 600;
    border-radius: 999px;
    padding: 0.35rem 0.85rem;
}

.reports-pricing .badge.bg-primary {
    background: var(--rr-terracotta) !important;
    border-color: var(--rr-terracotta);
    color: var(--rr-ivory) !important;
}

.why-rightroof {
    background: var(--rr-parchment);
}

.testimonials {
    background: var(--rr-ivory);
    border-top: 1px solid var(--rr-border-warm);
}

.testimonials h2 {
    font-family: var(--rr-font-serif);
    font-weight: 500;
    color: var(--rr-ink);
}

.icon-circle {
    background: var(--rr-sand) !important;
    border: 1px solid var(--rr-border-warm);
}

/* Testimonials */
.testimonial-card {
    background: #fff;
    border: 1px solid var(--rr-border-cream);
    border-radius: 16px;
    box-shadow: var(--rr-whisper);
}

.testimonial-text {
    color: var(--rr-olive);
}

.testimonial-author {
    border-top-color: var(--rr-border-warm);
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding-top: 1rem;
}

.home-testimonials .testimonial-author img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    border: 1.5px solid var(--rr-border-warm);
    background: #f6f3ec;
    box-shadow: 0 4px 10px rgba(20, 20, 19, 0.08);
}

.author-info h4 {
    color: var(--rr-ink);
    font-family: var(--rr-font-serif);
    font-weight: 500;
    font-size: 1.03rem;
    line-height: 1.2;
    letter-spacing: -0.01em;
    margin: 0 0 0.18rem;
}

.home-testimonials .author-info span {
    color: var(--rr-olive);
    font-size: 0.88rem;
}

.testimonial-rating {
    color: var(--rr-terracotta);
}

/* CTA band — DESIGN dark section */
.cta {
    background: var(--rr-ink);
    color: var(--rr-warm-silver);
    padding: clamp(3.5rem, 8vw, 5rem) 1.25rem;
    text-align: center;
    border-top: 1px solid var(--rr-dark-surface);
}

.cta h2 {
    font-family: var(--rr-font-serif);
    font-weight: 500;
    color: var(--rr-ivory);
    font-size: clamp(1.75rem, 3vw, 2.25rem);
}

.cta p {
    color: var(--rr-warm-silver);
    max-width: 28rem;
    margin-left: auto;
    margin-right: auto;
}

.cta .btn-light {
    background: var(--rr-terracotta) !important;
    border: 1px solid var(--rr-terracotta) !important;
    color: var(--rr-ivory) !important;
    font-weight: 600;
    border-radius: 12px;
    padding: 0.65rem 1.5rem;
    text-decoration: none;
    display: inline-block;
}

.cta .btn-light:hover {
    background: var(--rr-terracotta-hover) !important;
    border-color: var(--rr-terracotta-hover) !important;
    color: #fff !important;
}

.benefits .icon {
    color: var(--rr-terracotta);
}

/* ---------- Pricing ---------- */
.pricing-card {
    border: 1px solid var(--rr-border-cream) !important;
    border-radius: 16px !important;
    background: #fff;
    box-shadow: var(--rr-whisper);
    position: relative;
    overflow: visible;
    height: 100%;
}

/* Stretch body so cards stay equal height when row uses align-items-stretch */
.pricing-card .card-body.d-flex.flex-column {
    flex: 1 1 auto;
}

.pricing-card:hover {
    box-shadow: var(--rr-whisper), 0 0 0 1px var(--rr-ring);
}

.pricing-card.popular {
    border: 2px solid var(--rr-terracotta) !important;
}

.pricing-card.popular .card-header {
    background: var(--rr-terracotta) !important;
    color: var(--rr-ivory) !important;
}

.pricing-card.popular .price {
    color: var(--rr-ivory) !important;
}

.pricing-card .card-header {
    background: var(--rr-sand) !important;
    color: var(--rr-ink);
    border-bottom: 1px solid var(--rr-border-warm) !important;
    border-radius: 14px 14px 0 0 !important;
}

/* Header layout: flex keeps title/price/note stacked; see per-report-note--header-spacer on Free */
@media (min-width: 992px) {
    .pricing-card .card-header {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }
}

/* Invisible duplicate of pill height/width so Free plan header matches paid tiers */
.per-report-note--header-spacer {
    visibility: hidden;
    pointer-events: none;
    user-select: none;
}

.pricing-card .card-header h3 {
    font-family: var(--rr-font-serif);
    font-weight: 500;
}

.price {
    color: var(--rr-terracotta);
    font-family: var(--rr-font-serif);
    font-weight: 500;
}

.feature-list li {
    border-bottom-color: var(--rr-border-cream) !important;
    color: var(--rr-olive);
}

.feature-list i {
    color: var(--rr-terracotta) !important;
}

.btn-pricing {
    border-radius: 12px;
    font-weight: 600;
}

.btn-pricing-primary {
    background: var(--rr-terracotta) !important;
    border: 1px solid var(--rr-terracotta) !important;
    color: var(--rr-ivory) !important;
    box-shadow: 0 0 0 0 var(--rr-terracotta), 0 0 0 1px var(--rr-terracotta);
}

.btn-pricing-primary:hover {
    background: var(--rr-terracotta-hover) !important;
    border-color: var(--rr-terracotta-hover) !important;
    color: #fff !important;
}

.btn-pricing-outline {
    border: 1px solid var(--rr-dark-surface) !important;
    color: var(--rr-ink) !important;
    background: #fff !important;
}

.btn-pricing-outline:hover {
    background: var(--rr-sand) !important;
    border-color: var(--rr-ink) !important;
    color: var(--rr-ink) !important;
}

.popular-badge {
    background: var(--rr-terracotta);
    color: var(--rr-ivory);
    border-radius: 999px;
    font-weight: 600;
}

.savings-badge {
    background: var(--rr-sand);
    color: var(--rr-charcoal);
    border: 1px solid var(--rr-ring);
    font-weight: 600;
}

.section-title {
    font-family: var(--rr-font-serif);
    font-weight: 500;
    color: var(--rr-ink) !important;
}

.section-subtitle {
    color: var(--rr-olive) !important;
}

.accordion-item {
    border-color: var(--rr-border-warm) !important;
    border-radius: 12px !important;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.accordion-button {
    font-weight: 500;
    color: var(--rr-ink);
    background: var(--rr-ivory);
}

.accordion-button:not(.collapsed) {
    background: var(--rr-sand) !important;
    color: var(--rr-ink) !important;
    box-shadow: none;
}

.accordion-button:focus {
    border-color: var(--rr-focus) !important;
    box-shadow: 0 0 0 0.2rem rgba(56, 152, 236, 0.25) !important;
}

.accordion-body {
    background: #fff;
    color: var(--rr-olive);
    line-height: 1.6;
}

/* Comparison table — warm light editorial */
.comparison-table {
    background: var(--rr-ivory);
    color: var(--rr-ink);
    border: 1px solid var(--rr-border-warm);
    border-radius: 16px;
    box-shadow: var(--rr-whisper);
}

.comparison-table th,
.comparison-table td {
    border-color: var(--rr-border-warm) !important;
    color: var(--rr-olive);
}

.comparison-table thead tr {
    background: var(--rr-sand);
}

.comparison-table th {
    color: var(--rr-ink);
    font-family: var(--rr-font-sans);
    font-weight: 600;
}

.comparison-table tbody tr:hover {
    background: rgba(245, 244, 237, 0.8);
}

.comparison-table th:not(:first-child),
.comparison-table td:not(:first-child) {
    text-align: center;
    vertical-align: middle;
}

/* Yes / no — compact circular badges, FA icons (DESIGN.md muted green + error crimson on ivory) */
.comparison-table__yes,
.comparison-table__no {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.875rem;
    height: 1.875rem;
    padding: 0;
    border-radius: 50%;
    flex-shrink: 0;
    vertical-align: middle;
    box-shadow:
        0 0 0 1px rgba(20, 20, 19, 0.06),
        0 2px 6px rgba(20, 20, 19, 0.06);
}

.comparison-table__yes i,
.comparison-table__no i {
    font-size: 0.65rem;
    line-height: 1;
    color: inherit;
}

.comparison-table__yes {
    background: var(--rr-muted-green);
    color: var(--rr-ivory);
    border: none;
}

.comparison-table__no {
    background: var(--rr-error-crimson);
    color: var(--rr-ivory);
    border: none;
}

.comparison-table__suffix {
    display: inline-block;
    margin-left: 0.45rem;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    border: 1px solid var(--rr-border-cream);
    background: var(--rr-sand);
    color: var(--rr-charcoal);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    line-height: 1.1;
    text-transform: uppercase;
}

.comparison-table__text-note {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--rr-charcoal);
    letter-spacing: 0.01em;
    padding: 0.2rem 0.65rem;
    border-radius: 999px;
    background: var(--rr-sand);
    border: 1px solid var(--rr-border-cream);
}

/* Per-report unit price badge */
.per-report-note {
    display: inline-block;
    margin-top: 6px;
    font-size: 0.78rem;
    color: var(--rr-olive);
    background: var(--rr-sand);
    border: 1px solid var(--rr-border-cream);
    border-radius: 999px;
    padding: 2px 10px;
}

.per-report-note--light {
    color: rgba(255, 255, 255, 0.85);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Locked feature list items — readable on white; lock icon distinct */
.feature-list li.locked {
    color: var(--rr-charcoal);
    opacity: 1;
}

.feature-list li.locked i {
    color: var(--rr-terracotta) !important;
    opacity: 1;
    min-width: 1.125em;
    text-align: center;
}

/* Blur teaser strip */
.blur-preview {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--rr-border-cream);
}

.blur-preview__content {
    padding: 14px 16px;
    filter: blur(5px);
    pointer-events: none;
    user-select: none;
}

.blur-preview__row {
    height: 12px;
    border-radius: 6px;
    background: var(--rr-border-warm);
    margin-bottom: 10px;
    width: 80%;
}

.blur-preview__row--wide {
    width: 95%;
}

.blur-preview__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(245, 244, 237, 0.94);
}

.blur-preview__cta {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--rr-ink);
    background: #fff;
    border: 1px solid var(--rr-terracotta);
    border-radius: 999px;
    padding: 8px 18px;
    box-shadow: var(--rr-whisper), 0 1px 3px rgba(20, 20, 19, 0.08);
}

.blur-preview__cta i {
    color: var(--rr-terracotta);
    opacity: 1;
}

/* ---------- Pricing — full report outline grid ---------- */
.pricing-report-outline {
    background: linear-gradient(180deg, var(--rr-ivory) 0%, var(--rr-parchment) 100%);
    border-top: 1px solid var(--rr-border-cream);
    border-bottom: 1px solid var(--rr-border-cream);
}

.pricing-toc-grid {
    max-width: 72rem;
    margin-left: auto;
    margin-right: auto;
}

.pricing-toc-card {
    height: 100%;
    min-height: 4.75rem;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    background: #fff;
    border: 1px solid var(--rr-border-cream);
    border-radius: 12px;
    box-shadow: var(--rr-whisper);
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.pricing-toc-card:hover {
    border-color: var(--rr-ring);
    box-shadow: var(--rr-whisper), 0 0 0 1px var(--rr-ring);
}

.pricing-toc-card__icon {
    flex-shrink: 0;
    width: 2.25rem;
    text-align: center;
    font-size: 1.15rem;
    line-height: 1;
    padding-top: 0.15rem;
    color: var(--rr-terracotta);
}

.pricing-toc-card__text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
    min-width: 0;
}

.pricing-toc-card__num {
    font-family: var(--rr-font-sans);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--rr-terracotta);
    line-height: 1;
}

.pricing-toc-card__title {
    font-family: var(--rr-font-serif);
    font-weight: 500;
    font-size: 1rem;
    color: var(--rr-ink);
    line-height: 1.25;
}

.feature-list--pricing-rich li {
    font-size: 0.94rem;
    line-height: 1.45;
    padding-left: 0;
}

/* site.css adds a checkmark pseudo-element to all .feature-list li — omit on pricing cards */
.feature-list--pricing-rich li::before {
    content: none !important;
    display: none !important;
}

.feature-list--pricing-rich li strong {
    color: var(--rr-ink);
    font-weight: 600;
}

.highlight-text {
    background: var(--rr-sand);
    color: var(--rr-ink);
    padding: 0.1em 0.35em;
    border-radius: 4px;
    font-weight: 600;
}

/* ---------- Features page (DESIGN.md — parchment / ivory / terracotta) ---------- */
.features-hero-overline {
    font-family: var(--rr-font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--rr-terracotta);
    margin-bottom: 0.75rem;
}

.features-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.features-intro {
    background: var(--rr-parchment);
    border-top: 1px solid var(--rr-border-cream);
    border-bottom: 1px solid var(--rr-border-cream);
}

.features-header + .rr-features-page > .features-intro {
    padding-top: clamp(2.5rem, 5vw, 3.5rem);
}

.features-band {
    padding: clamp(2.5rem, 5vw, 4rem) 0;
}

.features-band--tight {
    padding: clamp(2rem, 4vw, 3rem) 0;
}

.features-band--ivory {
    background: var(--rr-ivory);
}

.features-band--sand {
    background: var(--rr-sand);
    border-top: 1px solid var(--rr-border-warm);
    border-bottom: 1px solid var(--rr-border-warm);
}

.features-band__header {
    max-width: 40rem;
    margin-bottom: 2rem;
}

.features-band__label {
    display: block;
    font-family: var(--rr-font-sans);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--rr-terracotta);
    margin-bottom: 0.5rem;
}

.features-band__title {
    font-family: var(--rr-font-serif);
    font-weight: 500;
    font-size: clamp(1.5rem, 3vw, 2rem);
    line-height: 1.2;
    color: var(--rr-ink);
    margin-bottom: 0.75rem;
}

.features-band__lead {
    font-size: 1.0625rem;
    line-height: 1.6;
    color: var(--rr-olive);
    margin-bottom: 0;
}

.rr-features-page .feature-card--rich {
    height: 100%;
    background: #fff;
    border: 1px solid var(--rr-border-cream);
    border-radius: 16px;
    box-shadow: var(--rr-whisper);
    padding: 1.35rem 1.35rem 1.5rem;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.rr-features-page .feature-card--rich:hover {
    border-color: var(--rr-ring);
    box-shadow: var(--rr-whisper), 0 0 0 1px var(--rr-ring);
}

.feature-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.feature-card__index {
    font-family: var(--rr-font-sans);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: var(--rr-terracotta);
}

.feature-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 10px;
    background: var(--rr-sand);
    color: var(--rr-terracotta);
    font-size: 1.1rem;
    box-shadow: 0 0 0 1px var(--rr-border-cream);
}

.feature-card__title {
    font-family: var(--rr-font-serif);
    font-weight: 500;
    font-size: 1.25rem;
    line-height: 1.25;
    color: var(--rr-ink);
    margin-bottom: 0.5rem;
}

.feature-card__lead {
    font-size: 0.94rem;
    line-height: 1.55;
    color: var(--rr-olive);
    margin-bottom: 1rem;
}

.feature-card__list {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--rr-charcoal);
}

.feature-card__list li {
    position: relative;
    padding-left: 1rem;
    margin-bottom: 0.45rem;
}

.feature-card__list li:last-child {
    margin-bottom: 0;
}

.feature-card__list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--rr-terracotta);
}

.features-delivery-card {
    background: #fff;
    border: 1px solid var(--rr-border-cream);
    border-radius: 16px;
    box-shadow: var(--rr-whisper);
    padding: clamp(1.5rem, 4vw, 2.25rem);
}

.why-matters {
    background: var(--rr-parchment);
    border-top: 1px solid var(--rr-border-warm);
}

.features-audience-subtitle {
    max-width: 36rem;
}

.matters-card {
    background: var(--rr-ivory);
    border: 1px solid var(--rr-border-cream);
    border-left: 4px solid var(--rr-terracotta);
    border-radius: 0 12px 12px 0;
    box-shadow: var(--rr-whisper);
}

.matters-card--rich {
    padding: 1.5rem 1.35rem 1.5rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.matters-card__icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 12px;
    background: var(--rr-sand);
    color: var(--rr-terracotta);
    font-size: 1.15rem;
    box-shadow: 0 0 0 1px var(--rr-border-cream);
}

.matters-card__title {
    display: block;
    font-family: var(--rr-font-serif);
    font-weight: 500;
    font-size: 1.15rem;
    color: var(--rr-ink);
}

.matters-card--rich p {
    font-size: 0.94rem;
    line-height: 1.55;
    color: var(--rr-olive);
}

.matters-icon {
    color: var(--rr-terracotta);
}

.planned-feature {
    color: var(--rr-stone) !important;
}

.feature-card__list li.planned-feature::before {
    background: var(--rr-stone);
}

/* ---------- About (DESIGN.md — editorial bands, warm surfaces) ---------- */
.about-page-overline {
    font-family: var(--rr-font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--rr-terracotta);
    margin-bottom: 0.75rem;
}

.about-page-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.about-header + .rr-about-page > .about-band:first-child {
    padding-top: clamp(2.5rem, 5vw, 3.5rem);
}

.about-band {
    padding: clamp(2.5rem, 5vw, 4rem) 0;
}

.about-band--tight-bottom {
    padding-bottom: clamp(2rem, 4vw, 3rem);
}

.about-band--parchment {
    background: var(--rr-parchment);
    border-top: 1px solid var(--rr-border-cream);
    border-bottom: 1px solid var(--rr-border-cream);
}

.about-band--ivory {
    background: var(--rr-ivory);
}

.about-band--sand {
    background: var(--rr-sand);
    border-top: 1px solid var(--rr-border-warm);
    border-bottom: 1px solid var(--rr-border-warm);
}

.about-band__header {
    max-width: 44rem;
}

.about-band__label {
    display: block;
    font-family: var(--rr-font-sans);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--rr-terracotta);
    margin-bottom: 0.5rem;
}

.about-band__title {
    font-family: var(--rr-font-serif);
    font-weight: 500;
    font-size: clamp(1.5rem, 3vw, 2.125rem);
    line-height: 1.2;
    color: var(--rr-ink);
}

.about-band__lead {
    font-size: 1.0625rem;
    line-height: 1.6;
    color: var(--rr-olive);
}

.about-band__lead--narrow {
    max-width: 40rem;
}

.about-prose p {
    color: var(--rr-olive);
    line-height: 1.65;
    margin-bottom: 1rem;
}

.about-prose p:last-child {
    margin-bottom: 0;
}

.about-lead {
    font-size: 1.125rem;
    line-height: 1.6;
    color: var(--rr-charcoal);
}

.about-value-card {
    background: #fff;
    border: 1px solid var(--rr-border-cream);
    border-radius: 16px;
    box-shadow: var(--rr-whisper);
    padding: 1.5rem 1.35rem;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.about-value-card:hover {
    border-color: var(--rr-ring);
    box-shadow: var(--rr-whisper), 0 0 0 1px var(--rr-ring);
}

.about-value-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 12px;
    background: var(--rr-sand);
    color: var(--rr-terracotta);
    font-size: 1.15rem;
    margin-bottom: 1rem;
    box-shadow: 0 0 0 1px var(--rr-border-cream);
}

.about-value-card__title {
    font-family: var(--rr-font-serif);
    font-weight: 500;
    font-size: 1.2rem;
    color: var(--rr-ink);
    margin-bottom: 0.5rem;
}

.about-value-card__text {
    font-size: 0.94rem;
    line-height: 1.55;
    color: var(--rr-olive);
    margin-bottom: 0;
}

.about-highlight-card {
    background: #fff;
    border: 1px solid var(--rr-border-cream);
    border-radius: 16px;
    box-shadow: var(--rr-whisper);
    padding: 1.5rem 1.35rem;
}

.about-highlight-card__kicker {
    font-family: var(--rr-font-sans);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--rr-terracotta);
    margin-bottom: 0.75rem;
}

.about-highlight-card__list {
    list-style: none;
    margin: 0 0 0.5rem;
    padding: 0;
    font-size: 0.94rem;
    line-height: 1.5;
    color: var(--rr-charcoal);
}

.about-highlight-card__list li {
    position: relative;
    padding-left: 1rem;
    margin-bottom: 0.5rem;
}

.about-highlight-card__list li:last-child {
    margin-bottom: 0;
}

.about-highlight-card__list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--rr-terracotta);
}

.about-sources-grid {
    max-width: 72rem;
    margin-left: auto;
    margin-right: auto;
}

.about-source-card {
    background: #fff;
    border: 1px solid var(--rr-border-cream);
    border-radius: 12px;
    box-shadow: var(--rr-whisper);
    padding: 1.15rem 1.2rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.about-source-card:hover {
    border-color: var(--rr-ring);
    box-shadow: var(--rr-whisper), 0 0 0 1px var(--rr-ring);
}

.about-source-card__icon {
    color: var(--rr-terracotta);
    font-size: 1.25rem;
    font-weight: 900;
    margin-bottom: 0.65rem;
    display: block;
}

.about-source-card__title {
    font-family: var(--rr-font-serif);
    font-weight: 500;
    font-size: 1.05rem;
    color: var(--rr-ink);
    margin-bottom: 0.35rem;
    line-height: 1.25;
}

.about-source-card__text {
    font-size: 0.88rem;
    line-height: 1.45;
    color: var(--rr-olive);
    margin-bottom: 0;
}

.about-cta-band {
    background: var(--rr-ivory);
    border-top: 1px solid var(--rr-border-warm);
    padding: clamp(2.5rem, 5vw, 3.5rem) 0;
}

.about-cta-band__title {
    font-family: var(--rr-font-serif);
    font-weight: 500;
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
    color: var(--rr-ink);
    margin-bottom: 0.75rem;
}

.about-cta-band__lead {
    font-size: 1.0625rem;
    line-height: 1.55;
    color: var(--rr-olive);
    max-width: 32rem;
    margin-bottom: 0;
}

/* Legacy About blocks (retain if reused elsewhere) */
.about-card {
    background: #fff;
    border: 1px solid var(--rr-border-cream);
    border-radius: 16px;
    box-shadow: var(--rr-whisper);
}

.about-card p,
.about-card .section-title + p {
    color: var(--rr-olive);
    line-height: 1.65;
}

.about-icon {
    color: var(--rr-terracotta);
}

.data-source-list li i {
    color: var(--rr-terracotta) !important;
}

.mission-section {
    background: var(--rr-sand);
    border-top: 1px solid var(--rr-border-warm);
    border-bottom: 1px solid var(--rr-border-warm);
}

.value-card {
    background: var(--rr-ivory);
    border: 1px solid var(--rr-border-cream);
    border-radius: 16px;
    box-shadow: var(--rr-whisper);
}

.value-card h3 {
    font-family: var(--rr-font-serif);
    font-weight: 500;
    color: var(--rr-ink);
}

.value-card p {
    color: var(--rr-olive);
}

.value-icon {
    color: var(--rr-terracotta);
}

/* ---------- Contact ---------- */
.contact-form {
    background: #fff;
    border: 1px solid var(--rr-border-cream);
    border-radius: 16px;
    box-shadow: var(--rr-whisper);
}

.contact-intro h2 {
    font-family: var(--rr-font-serif);
    font-weight: 500;
    color: var(--rr-ink);
}

.contact-intro .lead {
    color: var(--rr-olive);
}

.form-label {
    color: var(--rr-charcoal) !important;
    font-weight: 600;
}

body:not(:has(#report-root)) .contact-form .form-control,
body:not(:has(#report-root)) .signup-form .form-control {
    border: 1px solid var(--rr-border-warm);
    border-radius: 12px;
    color: var(--rr-ink);
}

body:not(:has(#report-root)) .contact-form .form-control:focus,
body:not(:has(#report-root)) .signup-form .form-control:focus {
    border-color: var(--rr-focus);
    box-shadow: 0 0 0 0.2rem rgba(56, 152, 236, 0.25);
}

.btn-submit {
    background: var(--rr-terracotta) !important;
    border: 1px solid var(--rr-terracotta) !important;
    color: var(--rr-ivory) !important;
    border-radius: 12px;
    font-weight: 600;
}

.btn-submit:hover {
    background: var(--rr-terracotta-hover) !important;
    border-color: var(--rr-terracotta-hover) !important;
    transform: none;
}

.info-card {
    background: #fff;
    border: 1px solid var(--rr-border-cream);
    border-radius: 12px;
    box-shadow: var(--rr-whisper);
}

.info-card i {
    color: var(--rr-terracotta) !important;
}

.info-card h3 {
    font-family: var(--rr-font-serif);
    font-weight: 500;
    color: var(--rr-ink) !important;
}

.info-card p {
    color: var(--rr-olive) !important;
}

.faq-preview {
    background: var(--rr-sand);
    border: 1px solid var(--rr-border-warm);
    border-radius: 16px;
}

.faq-preview h3 {
    color: var(--rr-ink) !important;
    font-family: var(--rr-font-serif);
    font-weight: 500;
}

.faq-item h4 {
    color: var(--rr-ink) !important;
    font-family: var(--rr-font-sans);
    font-weight: 600;
}

.faq-item p {
    color: var(--rr-olive) !important;
}

.contact-info i {
    color: var(--rr-terracotta);
}

/* ---------- Sign up ---------- */
.signup-form {
    background: #fff;
    border: 1px solid var(--rr-border-cream);
    border-radius: 16px;
    box-shadow: var(--rr-whisper);
}

.signup-form .section-title {
    font-size: 1.35rem;
}

.btn-signup {
    background: var(--rr-terracotta) !important;
    border: 1px solid var(--rr-terracotta) !important;
    color: var(--rr-ivory) !important;
    border-radius: 12px;
    font-weight: 600;
}

.btn-signup:hover {
    background: var(--rr-terracotta-hover) !important;
    border-color: var(--rr-terracotta-hover) !important;
}

.benefits-list li i {
    color: var(--rr-terracotta) !important;
}

/* ---------- Modals (home preferences) ---------- */
body:not(:has(#report-root)) .modal-content {
    border: 1px solid var(--rr-border-warm);
    border-radius: 16px;
    background: var(--rr-ivory);
}

body:not(:has(#report-root)) .modal-header {
    border-bottom-color: var(--rr-border-warm);
}

body:not(:has(#report-root)) .modal-title {
    font-family: var(--rr-font-serif);
    font-weight: 500;
    color: var(--rr-ink);
}

body:not(:has(#report-root)) #start-report-btn.btn-primary {
    background: var(--rr-terracotta);
    border-color: var(--rr-terracotta);
    color: var(--rr-ivory);
    font-weight: 600;
    border-radius: 10px;
}

body:not(:has(#report-root)) #start-report-btn.btn-primary:hover {
    background: var(--rr-terracotta-hover);
    border-color: var(--rr-terracotta-hover);
}

body:not(:has(#report-root)) .modal-footer .btn-outline-secondary {
    border-color: var(--rr-border-warm);
    color: var(--rr-charcoal);
    border-radius: 10px;
}

body:not(:has(#report-root)) .modal-footer .btn-outline-secondary:hover {
    background: var(--rr-sand);
    border-color: var(--rr-ring);
    color: var(--rr-ink);
}

/* ---------- Misc pages (report wait) ---------- */
body:not(:has(#report-root)) .logo {
    color: var(--rr-terracotta);
}

body:not(:has(#report-root)) .progress-container {
    background: var(--rr-ivory);
    border: 1px solid var(--rr-border-cream);
}

/* Pricing / marketing page breathing room */
.pricing-header + .container,
.features-header + .container,
.contact-header + .container,
.signup-header + .container {
    padding-top: 3rem;
    padding-bottom: 2rem;
}

.about-header + .rr-about-page {
    padding-bottom: 2rem;
}

/* Report generation wait page (Report.cshtml — no #report-root) */
body:not(:has(#report-root)) .rr-report-progress-fill {
    background-color: var(--rr-terracotta) !important;
    background-image: linear-gradient(
        45deg,
        rgba(255, 255, 255, 0.18) 25%,
        transparent 25%,
        transparent 50%,
        rgba(255, 255, 255, 0.18) 50%,
        rgba(255, 255, 255, 0.18) 75%,
        transparent 75%,
        transparent
    ) !important;
}

body:not(:has(#report-root)) .status-item.completed {
    color: var(--rr-terracotta);
}

.progress-container .rr-report-complete-banner {
    background-color: var(--rr-sand) !important;
    border: 1px solid var(--rr-border-warm) !important;
    color: var(--rr-olive) !important;
    border-radius: 12px;
    box-shadow: 0 0 0 1px var(--rr-border-cream);
}

.progress-container .rr-report-complete-banner strong {
    color: var(--rr-ink) !important;
}

.progress-container .rr-report-spinner {
    width: 1.25rem;
    height: 1.25rem;
    border-width: 0.2em;
    color: var(--rr-terracotta) !important;
    border-color: currentColor;
    border-right-color: transparent !important;
}

/* ---------- Site footer (DESIGN.md dark band) ---------- */
.site-footer {
    background: #141413;
    color: #b0aea5;
    border-top: 1px solid #30302e;
}

.site-footer-heading {
    font-family: var(--rr-font-serif);
    font-weight: 500;
    font-size: 1.1rem;
    color: #faf9f5;
    margin-bottom: 1rem;
}

.site-footer-text {
    color: #b0aea5;
    font-size: 0.9375rem;
    line-height: 1.6;
}

.site-footer-link {
    color: #d97757;
    text-decoration: none;
}

.site-footer-link:hover {
    color: #faf9f5;
    text-decoration: underline;
}

.site-footer-social {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #d97757;
    text-decoration: none;
    font-size: 0.9375rem;
}

.site-footer-social i {
    font-size: 1.35rem;
    line-height: 1;
}

.site-footer-social:hover {
    color: #faf9f5;
    text-decoration: none;
}

.site-footer-social:hover span {
    text-decoration: underline;
}

.site-footer-legal {
    color: #87867f;
}

.site-footer-newsletter .form-control {
    border: 1px solid #30302e;
    border-radius: 12px 0 0 12px;
    background: #30302e;
    color: #faf9f5;
}

.site-footer-newsletter .form-control::placeholder {
    color: #87867f;
}

.site-footer-newsletter .form-control:focus {
    border-color: #3898ec;
    box-shadow: 0 0 0 0.2rem rgba(56, 152, 236, 0.25);
    background: #3d3d3a;
}

.site-footer-btn {
    background: #c96442;
    border: 1px solid #c96442;
    color: #faf9f5 !important;
    font-weight: 600;
    border-radius: 0 12px 12px 0;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

.site-footer-btn:hover {
    background: #b55538;
    border-color: #b55538;
    color: #fff !important;
}

.site-footer-copy {
    font-size: 0.8125rem;
    color: #87867f;
    border-top: 1px solid #30302e;
    padding-top: 1.5rem;
}

/* ---------- Reports page ---------- */
.rr-reports-page {
    background: var(--rr-parchment);
}

.rr-reports-title {
    font-family: var(--rr-font-serif);
    font-weight: 500;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    line-height: 1.15;
    color: var(--rr-ink);
    margin-bottom: 0.5rem;
}

.rr-reports-subtitle {
    color: var(--rr-olive);
    max-width: 44rem;
}

.rr-reports-toolbar .card-body {
    background: var(--rr-ivory);
    border: 1px solid var(--rr-border-cream);
    border-radius: 12px;
    box-shadow: var(--rr-whisper);
}

.rr-reports-toolbar .form-label {
    color: var(--rr-charcoal);
    font-weight: 500;
}

.rr-reports-toolbar .form-select {
    border: 1px solid var(--rr-border-warm);
    border-radius: 12px;
    color: var(--rr-ink);
    background: #fff;
}

.rr-reports-toolbar .form-select:focus {
    border-color: var(--rr-focus);
    box-shadow: 0 0 0 0.2rem rgba(56, 152, 236, 0.2);
}

.rr-reports-table {
    font-size: 0.875rem;
    line-height: 1.4;
}

.rr-reports-table thead th {
    background: var(--rr-ivory);
    color: var(--rr-charcoal);
    font-weight: 600;
    font-size: 0.8125rem;
    border-bottom: 1px solid var(--rr-border-warm);
    padding: 0.45rem 0.65rem;
}

.rr-reports-table tbody td {
    vertical-align: middle;
    border-color: var(--rr-border-cream);
    color: var(--rr-ink);
    padding: 0.45rem 0.65rem;
}

.rr-reports-table .rr-source-badge {
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.2rem 0.5rem;
}

.rr-reports-table .btn-sm {
    font-size: 0.8125rem;
    padding: 0.25rem 0.55rem;
}

.rr-source-badge {
    background: var(--rr-sand);
    color: var(--rr-charcoal);
    border: 1px solid var(--rr-ring);
    border-radius: 9999px;
    font-weight: 500;
    text-transform: lowercase;
}

.rr-new-report-btn {
    min-width: 140px;
}

/* ---------- Credits page ---------- */
.rr-credits-page {
    background: var(--rr-parchment);
}

.rr-credit-metric-card .card-body {
    background: var(--rr-ivory);
    border: 1px solid var(--rr-border-cream);
    border-radius: 12px;
    box-shadow: var(--rr-whisper);
}

.rr-credit-metric-value {
    font-family: var(--rr-font-serif);
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    font-weight: 500;
    color: var(--rr-ink);
    line-height: 1.1;
}

.rr-source-badge--report {
    background: var(--rr-sand);
    color: var(--rr-charcoal);
    border-color: var(--rr-ring);
    text-transform: none;
}

.rr-source-badge--assistant {
    background: #dbe8f7;
    color: #1f3f68;
    border-color: #c4d9f2;
    text-transform: none;
}

.rr-credits-dual__eyebrow {
    font-family: var(--rr-font-sans);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--rr-terracotta);
}

.rr-credits-dual__report-card {
    background: var(--rr-ivory);
    border: 1px solid var(--rr-border-cream);
    border-radius: 14px;
    box-shadow: var(--rr-whisper);
    padding: 1.25rem;
}

.rr-credits-dual__section-eyebrow {
    font-family: var(--rr-font-sans);
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--rr-terracotta);
}

.rr-credits-dual__balance-row {
    display: flex;
    align-items: flex-end;
    gap: 0.45rem;
    line-height: 1;
}

.rr-credits-dual__balance {
    font-family: var(--rr-font-serif);
    font-size: clamp(2.5rem, 5vw, 3.6rem);
    font-weight: 500;
    color: var(--rr-ink);
}

.rr-credits-dual__balance-unit {
    font-size: 1.55rem;
    font-weight: 600;
    color: var(--rr-charcoal);
    margin-bottom: 0.25rem;
}

.rr-credits-dual__helper {
    font-size: 0.87rem;
    color: var(--rr-stone);
}

.rr-credits-dual__mini-card {
    background: #fff;
    border: 1px solid var(--rr-border-cream);
    border-radius: 12px;
    padding: 0.75rem 0.95rem;
}

.rr-credits-dual__mini-label {
    font-size: 0.76rem;
    color: var(--rr-stone);
}

.rr-credits-dual__mini-value {
    font-family: var(--rr-font-serif);
    font-size: 2rem;
    line-height: 1;
    color: var(--rr-ink);
}

.rr-credits-dual__assistant-bar {
    background: var(--rr-parchment);
    border: 1px solid var(--rr-border-warm);
    border-radius: 12px;
    padding: 0.95rem 1rem;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

.rr-credits-dual__assistant-icon {
    width: 1.9rem;
    height: 1.9rem;
    border-radius: 999px;
    background: #dbe8f7;
    color: #1f4f84;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.rr-credits-dual__assistant-title {
    font-weight: 600;
    color: var(--rr-ink);
}

.rr-credits-dual__assistant-sub {
    font-size: 0.8rem;
    color: var(--rr-stone);
}

.rr-credits-dual__assistant-balance {
    font-weight: 600;
    color: var(--rr-ink);
}

.rr-credits-dual__assistant-topup {
    color: var(--rr-terracotta);
    font-weight: 600;
    text-decoration: none;
}

.rr-credits-dual__assistant-topup:hover {
    color: var(--rr-terracotta-hover);
    text-decoration: underline;
}

.rr-credits-dual__table-head {
    padding-inline: 0.2rem;
}

.rr-credits-dual__table-title {
    font-family: var(--rr-font-serif);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 500;
    color: var(--rr-ink);
}

.rr-credits-dual__table-hint {
    font-size: 0.8rem;
    color: var(--rr-stone);
}

.rr-credits-dual__table-card {
    background: var(--rr-ivory);
    border: 1px solid var(--rr-border-cream);
    border-radius: 12px;
}

/* ---------- Assistant credits top-up page ---------- */
.rr-assistant-topup-page {
    background: var(--rr-parchment);
}

.rr-assistant-topup__eyebrow {
    font-family: var(--rr-font-sans);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--rr-terracotta);
}

.rr-assistant-topup__balance-label {
    font-size: 0.9rem;
    color: var(--rr-charcoal);
}

.rr-assistant-topup__tip {
    background: var(--rr-sand);
    border: 1px solid var(--rr-border-warm);
    border-radius: 10px;
    padding: 0.6rem 0.8rem;
    color: var(--rr-charcoal);
    font-size: 0.8rem;
    font-weight: 600;
}

.rr-assistant-topup__explainer {
    margin-top: 0.3rem;
}

.rr-assistant-topup__what,
.rr-assistant-topup__visual {
    background: var(--rr-ivory);
    border: 1px solid var(--rr-border-cream);
    border-radius: 12px;
    box-shadow: var(--rr-whisper);
    padding: 1rem;
}

.rr-assistant-topup__what-title {
    font-family: var(--rr-font-serif);
    font-size: 1.35rem;
    color: var(--rr-ink);
    margin-bottom: 0.5rem;
}

.rr-assistant-topup__what p {
    color: var(--rr-olive);
    font-size: 0.9rem;
}

.rr-assistant-topup__qa-list {
    margin: 0;
    padding-left: 1rem;
    color: var(--rr-charcoal);
    line-height: 1.55;
    font-size: 0.88rem;
}

.rr-assistant-topup__bubble {
    display: flex;
    gap: 0.6rem;
    border-radius: 10px;
    padding: 0.65rem 0.75rem;
    font-size: 0.84rem;
    line-height: 1.45;
}

.rr-assistant-topup__bubble i {
    margin-top: 0.1rem;
}

.rr-assistant-topup__bubble--q {
    background: #fff;
    border: 1px solid var(--rr-border-cream);
    color: var(--rr-charcoal);
    margin-bottom: 0.55rem;
}

.rr-assistant-topup__bubble--a {
    background: var(--rr-parchment);
    border: 1px solid var(--rr-border-warm);
    color: var(--rr-olive);
    margin-bottom: 0.7rem;
}

.rr-assistant-topup__credit-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--rr-sand);
    color: var(--rr-charcoal);
    border: 1px solid var(--rr-border-warm);
    border-radius: 999px;
    padding: 0.3rem 0.7rem;
    font-size: 0.75rem;
    font-weight: 600;
}

.rr-assistant-pack {
    background: var(--rr-ivory);
    border: 1px solid var(--rr-border-cream);
    border-radius: 12px;
    box-shadow: var(--rr-whisper);
    padding: 1rem 1rem 0.9rem;
}

.rr-assistant-topup-page .rr-assistant-pack__name {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--rr-charcoal);
}

.rr-assistant-topup-page .rr-assistant-pack__price {
    font-family: var(--rr-font-serif);
    font-size: clamp(2.7rem, 4.8vw, 3.2rem) !important;
    line-height: 0.95;
    color: var(--rr-terracotta);
}

.rr-assistant-topup-page .rr-assistant-pack__qty {
    margin-top: 0.2rem;
    font-size: 1.8rem !important;
    line-height: 1.15;
    font-weight: 600;
    color: var(--rr-ink);
}

.rr-assistant-topup-page .rr-assistant-pack__meta {
    margin-top: 0.25rem;
    color: var(--rr-stone);
    font-size: 0.9rem !important;
}

.rr-assistant-topup__how {
    background: transparent;
    padding: 0.2rem 0.1rem;
}

.rr-assistant-topup__how-title {
    font-family: var(--rr-font-serif);
    font-size: 1.6rem;
    color: var(--rr-ink);
}

.rr-assistant-topup__how ul {
    padding-left: 1.1rem;
    margin: 0;
    color: var(--rr-olive);
    line-height: 1.65;
}

.rr-assistant-topup__usecase-card {
    background: var(--rr-ivory);
    border: 1px solid var(--rr-border-cream);
    border-radius: 12px;
    padding: 0.95rem;
}

.rr-assistant-topup__usecase-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--rr-ink);
    margin-bottom: 0.35rem;
}

.rr-assistant-topup__usecase-card p {
    font-size: 0.86rem;
    color: var(--rr-stone);
    line-height: 1.55;
}

/*
 * Home address finder (jQuery UI autocomplete; widget is appended to body on Index only).
 * Long postcode match lists should scroll inside the panel instead of stretching the page.
 */
body:not(:has(#report-root)) ul.ui-autocomplete.ui-menu {
    max-height: min(22rem, 55vh);
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

body:not(:has(#report-root)) ul.ui-autocomplete.ui-menu .ui-menu-item-wrapper {
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0.08);
    cursor: pointer;
}

/* Home search autocomplete: postcode-only area shortcut (listed last under address matches) */
body:not(:has(#report-root)) .home-page .ui-menu .ui-menu-item.rr-home-autocomplete--postcode-area {
    border-top: 1px solid rgba(28, 25, 23, 0.1);
    margin-top: 0.2rem;
    padding-top: 0.35rem;
}

body:not(:has(#report-root)) .home-page .ui-menu .ui-menu-item.rr-home-autocomplete--postcode-area > .ui-menu-item-wrapper {
    white-space: normal;
    padding-top: 0.45rem;
    padding-bottom: 0.5rem;
    line-height: 1.35;
}

body:not(:has(#report-root)) .home-page .ui-menu .rr-home-autocomplete--postcode-area .rr-home-autocomplete__detail {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--rr-stone, #78716c);
    margin-top: 0.2rem;
    line-height: 1.35;
}
