/* ============================================================================
   marketing.css — VAFHASearch.Com public marketing site (Home/Index, Privacy,
   AccessDenied). Scoped to pages rendered by Views/Shared/_Layout.cshtml.

   Design system
   -------------
   Palette : Paper (warm off-white background), Ink (all text), Muted
             (captions/secondary text only), Accent (the one primary CTA per
             screen — never a background, never decorative). Status colors
             (Approved / Not Approved / Under Review) convey information, not
             decoration.
   Type    : Inter (single family — no serif, no second typeface). Headlines
             large and confident; body regular weight.
   Motif   : a rotating ink-stamp "verification disc" — grounded in the
             product's real VA/FHA approval-status data — used once,
             deliberately, in the hero, not scattered everywhere.
   ========================================================================== */

:root {
    --paper: #FAF6F0;
    --ink: #2B2620;
    --muted: #6E6255;
    --accent: #A94E24;
    --status-approved: #3F7A52;
    --status-not-approved: #B23B33;
    --status-under-review: #8C6318;
    /* Legacy aliases kept so existing component CSS below continues to resolve
       to the new palette without a full rewrite of every selector. */
    --ink-navy: var(--ink);
    --ink-navy-deep: #1c1812;
    --parchment: var(--paper);
    --parchment-dim: #F1EBE1;
    --accent-bright: #D9784D;
    --approved-green: var(--status-approved);
    --slate: var(--muted);
    --slate-light: #6E6255;
    --white: #ffffff;
    --font-display: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --radius-sm: 6px;
    --radius-md: 14px;
    --radius-lg: 28px;
    --shadow-card: 0 20px 60px -25px rgba(43, 38, 32, 0.35);
}

@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

#features, #how-it-works, #pricing {
    scroll-margin-top: 5.5rem;
}

/* ── Base ─────────────────────────────────────────────────────────────── */
body.marketing {
    font-family: var(--font-body);
    color: var(--ink-navy);
    background: var(--parchment);
    -webkit-font-smoothing: antialiased;
    /* Sticky footer: the body fills at least the viewport and #main-content absorbs
       the slack, so .site-footer sits at the bottom on short pages but is still
       pushed down naturally by taller content. */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

    body.marketing > #main-content {
        flex: 1 0 auto;
    }

    body.marketing > .site-footer {
        flex-shrink: 0;
    }

    body.marketing a {
        color: inherit;
    }

        body.marketing a:focus-visible,
        body.marketing button:focus-visible {
            outline: 3px solid var(--accent);
            outline-offset: 2px;
            border-radius: 4px;
        }

/* Skip-to-content link — shared across marketing, search, and admin layouts.
   Visually hidden until keyboard-focused, then pinned to the top-left. */
.skip-link {
    position: absolute;
    top: -3rem;
    left: 0.5rem;
    z-index: 2000;
    padding: 0.6rem 1rem;
    background: var(--ink-navy, #1c1812);
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 0 0 6px 6px;
    transition: top 0.15s ease;
}

    .skip-link:focus {
        top: 0;
        color: #fff;
        outline: 3px solid var(--accent);
        outline-offset: 2px;
    }

.brand-word {
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: -0.01em;
}

.brand-word-accent {
    color: var(--ink-navy);
    font-weight: 400;
}

/* ── Nav ──────────────────────────────────────────────────────────────── */
.site-navbar {
    padding-block: 1.1rem;
    background: rgba(238, 243, 241, 0.88);
    backdrop-filter: saturate(140%) blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(43, 38, 32, 0.08);
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    font-size: 1.2rem;
    color: var(--ink-navy);
    text-decoration: none;
}

.site-brand-logo {
    height: 2.1rem;
    width: auto;
    display: block;
}

.brand-seal {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 50%;
    background: var(--ink-navy);
    color: var(--white);
    font-size: 1.05rem;
    flex-shrink: 0;
}

.site-nav-links .nav-link {
    color: var(--ink-navy);
    font-weight: 500;
    padding-inline: 1rem;
    position: relative;
}

    .site-nav-links .nav-link::after {
        content: "";
        position: absolute;
        left: 1rem;
        right: 1rem;
        bottom: .15rem;
        height: 2px;
        background: var(--ink-navy);
        transform: scaleX(0);
        transform-origin: left;
        transition: transform .2s ease;
    }

    .site-nav-links .nav-link:hover::after {
        transform: scaleX(1);
    }

.nav-cta {
    margin-top: 1rem;
    flex-wrap: wrap;
}

@media (min-width: 992px) {
    .nav-cta {
        margin-top: 0;
    }
}

@media (max-width: 575.98px) {
    .nav-cta {
        row-gap: .6rem;
    }

    .btn-sign-up {
        flex-wrap: wrap;
        justify-content: center;
    }
}

.btn-sign-in {
    color: var(--ink-navy);
    border: 1px solid rgba(43, 38, 32, 0.25);
    background: transparent;
    font-weight: 600;
    border-radius: var(--radius-sm);
    padding: .5rem 1.1rem;
    text-decoration: none;
    transition: background .18s ease, border-color .18s ease;
}

    .btn-sign-in:hover {
        border-color: var(--ink-navy);
        background: rgba(43, 38, 32, 0.05);
        color: var(--ink-navy);
    }

.btn-sign-up {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    color: var(--white) !important;
    background: var(--ink-navy);
    font-weight: 600;
    border-radius: var(--radius-sm);
    padding: .5rem 1.1rem;
    text-decoration: none;
    transition: transform .18s ease, background .18s ease;
}

    .btn-sign-up:hover {
        transform: translateY(-1px);
        background: var(--ink-navy-deep);
        color: var(--white) !important;
    }

.soon-pill {
    font-family: var(--font-mono);
    font-size: .6rem;
    letter-spacing: .03em;
    text-transform: uppercase;
    background: rgba(43, 38, 32, 0.14);
    color: var(--ink-navy);
    padding: .15rem .45rem;
    border-radius: 999px;
    white-space: nowrap;
}

/* ── Hero ─────────────────────────────────────────────────────────────── */
.hero {
    position: relative;
    background: linear-gradient(180deg, var(--ink-navy) 0%, var(--ink-navy-deep) 100%);
    color: var(--parchment);
    overflow: hidden;
    padding-block: 5.5rem 6.5rem;
}

    .hero::before {
        content: "";
        position: absolute;
        inset: 0;
        background-image: radial-gradient(circle at 85% 15%, rgba(169, 78, 36, 0.18), transparent 45%), radial-gradient(circle at 8% 92%, rgba(20, 122, 99, 0.16), transparent 40%);
        pointer-events: none;
    }

    .hero .container {
        position: relative;
        z-index: 1;
    }

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 3.5rem;
    align-items: center;
}

@media (max-width: 991.98px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }
}

.eyebrow {
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: .14em;
    font-size: .72rem;
    color: rgba(238, 243, 241, 0.6);
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: 1.25rem;
}

    .eyebrow::before {
        content: "";
        width: 1.5rem;
        height: 1px;
        background: rgba(238, 243, 241, 0.4);
    }

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 4vw + 1rem, 3.75rem);
    line-height: 1.08;
    font-weight: 600;
    color: var(--parchment);
    margin-bottom: 1.5rem;
}

    .hero h1 span {
        color: var(--parchment);
    }

.hero-sub {
    font-size: 1.15rem;
    color: rgba(238, 243, 241, 0.78);
    max-width: 34rem;
    margin-bottom: 2.25rem;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2.75rem;
}

.btn-primary-cta {
    background: var(--accent);
    color: var(--white) !important;
    font-weight: 700;
    padding: .85rem 1.6rem;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: transform .18s ease, background .18s ease;
    display: inline-block;
}

    .btn-primary-cta:hover {
        transform: translateY(-2px);
        background: var(--accent-bright);
        color: var(--white) !important;
    }

/* Modifier for a CTA sitting inline beside a .form-control (e.g. the roster "Add agent"
   field + button row). The base .btn-primary-cta padding is sized for large standalone
   CTAs and renders ~15px taller than an adjacent input, so match Bootstrap's
   .form-control box metrics instead and drop the hover lift that would break alignment. */
.btn-primary-cta.btn-inline-field {
    padding: .375rem .75rem;
    border: 1px solid transparent;
    line-height: 1.5;
    font-weight: 600;
}

    .btn-primary-cta.btn-inline-field:hover {
        transform: none;
    }

.btn-secondary-cta {
    color: var(--parchment) !important;
    border: 1px solid rgba(238, 243, 241, 0.35);
    padding: .85rem 1.6rem;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 600;
    transition: border-color .18s ease, background .18s ease;
    display: inline-block;
}

    .btn-secondary-cta:hover {
        border-color: rgba(238, 243, 241, 0.7);
        background: rgba(238, 243, 241, 0.06);
        color: var(--parchment) !important;
    }

    .btn-secondary-cta.btn-secondary-cta-ink {
        color: var(--ink-navy) !important;
        border-color: rgba(43, 38, 32, 0.25);
    }

        .btn-secondary-cta.btn-secondary-cta-ink:hover {
            border-color: var(--ink-navy);
            background: rgba(43, 38, 32, 0.05);
            color: var(--ink-navy) !important;
        }

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 2.25rem;
    font-family: var(--font-mono);
}

    .hero-stats .stat-figure {
        font-size: 1.4rem;
        font-weight: 600;
        color: var(--parchment);
        display: block;
    }

    .hero-stats .stat-label {
        font-size: .66rem;
        letter-spacing: .07em;
        text-transform: uppercase;
        color: rgba(238, 243, 241, 0.55);
    }

/* Hero visual: a single composed glass panel that crossfades between real
   property records with different VA/FHA approval statuses */
.hero-visual {
    position: relative;
    width: 100%;
}

.hero-panel {
    position: relative;
    max-width: 420px;
    margin-inline: auto;
    padding: 1.5rem;
    border-radius: calc(var(--radius-md) + 8px);
    background: rgba(238, 243, 241, 0.05);
    border: 1px solid rgba(238, 243, 241, 0.12);
    box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

@media (min-width: 992px) {
    .hero-panel {
        max-width: none;
        margin-inline: 0;
    }
}

.hero-slideshow {
    position: relative;
}

.hero-slide {
    position: absolute;
    inset: 0;
    margin: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
    opacity: 0;
    visibility: hidden;
    transform: scale(1.015);
    transition: opacity .9s ease, transform .9s ease, visibility 0s linear .9s;
}

    .hero-slide.is-active {
        position: relative;
        opacity: 1;
        visibility: visible;
        transform: scale(1);
        transition: opacity .9s ease, transform .9s ease;
    }

@media (min-width: 992px) {
    .hero-slide {
        grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
        align-items: stretch;
    }
}

.hero-photo {
    position: relative;
    z-index: 1;
    min-height: 300px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 20px 45px -20px rgba(0, 0, 0, 0.55);
}

@media (min-width: 992px) {
    .hero-photo {
        min-height: 500px;
    }
}

.hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Per-status accents driven by the slide's data-status attribute */
.hero-slide {
    --slide-status: var(--status-approved);
}

    .hero-slide[data-status="conditions"] {
        --slide-status: var(--status-under-review);
    }

    .hero-slide[data-status="review"] {
        --slide-status: var(--status-under-review);
    }

    .hero-slide[data-status="expired"] {
        --slide-status: var(--status-not-approved);
    }

.hero-card {
    position: relative;
    z-index: 2;
    align-self: center;
    background: var(--parchment);
    color: var(--ink-navy);
    border-radius: var(--radius-md);
    padding: 1.5rem 1.6rem;
    box-shadow: var(--shadow-card);
}

.hero-card-row {
    display: flex;
    align-items: center;
    gap: .55rem;
    margin-bottom: .85rem;
}

.hero-card-dot {
    width: .5rem;
    height: .5rem;
    border-radius: 50%;
    background: var(--slide-status);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--slide-status) 18%, transparent);
    flex-shrink: 0;
}

.hero-card-addr {
    font-size: .8rem;
    font-weight: 600;
    color: var(--slate);
}

.hero-card-status {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--slide-status);
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: .9rem;
}

.hero-card-meta {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    font-family: var(--font-mono);
    font-size: .66rem;
    color: var(--slate-light);
    border-top: 1px dashed rgba(74, 93, 99, 0.25);
    padding-top: .75rem;
}

.hero-badge {
    position: absolute;
    top: -1.25rem;
    right: -1.25rem;
    z-index: 3;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    column-gap: .6rem;
    align-items: center;
    padding: .8rem 1.1rem;
    border-radius: 999px;
    background: rgba(15, 26, 23, 0.72);
    border: 1px solid rgba(45, 168, 133, 0.45);
    box-shadow: 0 16px 34px -14px rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.hero-badge-pulse {
    grid-row: 1 / span 2;
    width: .7rem;
    height: .7rem;
    border-radius: 50%;
    background: var(--approved-green);
    box-shadow: 0 0 0 0 rgba(45, 168, 133, 0.55);
    animation: hero-badge-pulse 2.4s ease-out infinite;
}

.hero-badge-label {
    font-family: var(--font-mono);
    font-size: .58rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(238, 243, 241, 0.6);
    line-height: 1.1;
}

.hero-badge-value {
    font-family: var(--font-display);
    font-size: .92rem;
    font-weight: 600;
    color: var(--parchment);
    line-height: 1.1;
}

@media (max-width: 575.98px) {
    .hero-badge {
        top: -1rem;
        right: -.5rem;
        padding: .65rem .9rem;
    }

    .hero-badge-value {
        font-size: .82rem;
    }
}

@keyframes hero-badge-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(45, 168, 133, 0.5);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(45, 168, 133, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(45, 168, 133, 0);
    }
}

/* ── Stat strip ───────────────────────────────────────────────────────── */
.stat-strip {
    background: var(--parchment-dim);
    border-bottom: 1px solid rgba(43, 38, 32, 0.08);
    padding-block: 2.5rem;
}

.stat-strip-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    text-align: center;
}

@media (max-width: 767.98px) {
    .stat-strip-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.stat-item .stat-figure {
    display: block;
    font-family: var(--font-mono);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--ink-navy);
}

.stat-item .stat-label {
    font-size: .7rem;
    color: var(--slate);
    text-transform: uppercase;
    letter-spacing: .05em;
}

/* ── Sections (generic) ───────────────────────────────────────────────── */
.section {
    padding-block: 6rem;
}

.section-parchment {
    background: var(--parchment);
}

.section-navy {
    background: var(--ink-navy);
    color: var(--parchment);
}

.section-head {
    max-width: 40rem;
    margin-bottom: 3.25rem;
}

.section-eyebrow {
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: .14em;
    font-size: .72rem;
    color: var(--slate);
    margin-bottom: .75rem;
    display: block;
}

.section-navy .section-eyebrow {
    color: rgba(238, 243, 241, 0.6);
}

.section h2 {
    font-family: var(--font-display);
    font-size: clamp(1.9rem, 2vw + 1.2rem, 2.75rem);
    color: var(--ink-navy);
    margin-bottom: 1rem;
}

.section-navy h2 {
    color: var(--parchment);
}

.section-lede {
    color: var(--slate);
    font-size: 1.05rem;
    max-width: 38rem;
}

.section-navy .section-lede {
    color: rgba(238, 243, 241, 0.72);
}

/* ── Features ─────────────────────────────────────────────────────────── */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}

@media (max-width: 991.98px) {
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575.98px) {
    .feature-grid {
        grid-template-columns: 1fr;
    }
}

.feature-card {
    background: var(--white);
    border: 1px solid rgba(43, 38, 32, 0.08);
    border-radius: var(--radius-md);
    padding: 2rem 1.75rem;
    transition: transform .2s ease, box-shadow .2s ease;
}

    .feature-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-card);
    }

    .feature-card.feature-card-wide {
        grid-column: 1 / -1;
    }

@media (max-width: 991.98px) {
    .feature-card.feature-card-wide {
        grid-column: auto;
    }
}

.feature-mark {
    width: 2.75rem;
    height: 2.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(20, 122, 99, 0.1);
    color: var(--approved-green);
    font-size: 1.2rem;
    margin-bottom: 1.25rem;
}

.feature-card h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    margin-bottom: .6rem;
    color: var(--ink-navy);
}

.feature-card p {
    color: var(--slate);
    font-size: .94rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* ── Photo band ───────────────────────────────────────────────────────── */
.photo-band {
    position: relative;
    height: 320px;
    overflow: hidden;
}

    .photo-band img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.photo-band-overlay {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    align-items: center;
    background: linear-gradient(90deg, rgba(8, 28, 38, 0.92) 0%, rgba(8, 28, 38, 0.6) 55%, rgba(8, 28, 38, 0.22) 100%);
}

.photo-band-copy {
    max-width: 28rem;
}

    .photo-band-copy .section-eyebrow {
        color: rgba(238, 243, 241, 0.65);
        margin-bottom: .6rem;
    }

    .photo-band-copy h2 {
        font-family: var(--font-display);
        font-size: clamp(1.5rem, 2vw + 1rem, 2.15rem);
        color: var(--parchment);
        margin-bottom: 0;
    }

@media (max-width: 767.98px) {
    .photo-band {
        height: 280px;
    }

    .photo-band-copy {
        max-width: 100%;
    }
}

/* ── How it works (a real 3-step process — numbering is earned here) ───── */
.steps-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

@media (max-width: 767.98px) {
    .steps-row {
        grid-template-columns: 1fr;
    }
}

.step-item {
    position: relative;
    padding-top: 1rem;
}

.step-number {
    font-family: var(--font-display);
    font-size: 2.75rem;
    font-weight: 600;
    color: rgba(238, 243, 241, 0.4);
    opacity: .85;
    line-height: 1;
    display: block;
    margin-bottom: 1rem;
}

.step-item h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    margin-bottom: .6rem;
    color: var(--parchment);
}

.step-item p {
    color: rgba(238, 243, 241, 0.7);
    font-size: .92rem;
    line-height: 1.6;
    margin-bottom: 0;
}

.steps-photo {
    margin-top: 3.5rem;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

    .steps-photo img {
        width: 100%;
        height: auto;
        max-height: 380px;
        object-fit: cover;
        display: block;
    }

@media (max-width: 767.98px) {
    .steps-photo {
        margin-top: 2.5rem;
    }

        .steps-photo img {
            max-height: 220px;
        }
}

/* ── Pricing teaser ───────────────────────────────────────────────────── */
.pricing-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: .7rem;
    color: var(--slate);
    background: rgba(43, 38, 32, 0.05);
    border: 1px solid rgba(43, 38, 32, 0.14);
    border-radius: 999px;
    padding: .5rem 1.1rem;
    width: fit-content;
    margin: 0 auto 2.5rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
    align-items: stretch;
}

@media (max-width: 991.98px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 26rem;
        margin-inline: auto;
    }
}

.pricing-grid-single {
    grid-template-columns: 1fr;
    max-width: 26rem;
    margin-inline: auto;
}

.pricing-card {
    background: var(--white);
    border: 1px solid rgba(43, 38, 32, 0.08);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
}

.pricing-tier {
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: .7rem;
    color: var(--slate);
    margin-bottom: .5rem;
}

.pricing-name {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--ink-navy);
    margin-bottom: .25rem;
}

.pricing-price {
    font-family: var(--font-mono);
    font-size: .92rem;
    color: var(--slate);
    margin-bottom: 1.5rem;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    flex: 1;
}

    .pricing-features li {
        display: flex;
        gap: .6rem;
        padding-block: .45rem;
        font-size: .9rem;
        color: var(--slate);
        border-top: 1px solid rgba(43, 38, 32, 0.06);
    }

        .pricing-features li:first-child {
            border-top: none;
        }

        .pricing-features li i {
            color: var(--approved-green);
            margin-top: .2rem;
        }

/* ── Final CTA band ───────────────────────────────────────────────────── */
.cta-band {
    background: linear-gradient(135deg, var(--ink-navy) 0%, var(--ink-navy-deep) 100%);
    color: var(--parchment);
    border-radius: var(--radius-lg);
    padding: 3.5rem 3rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    position: relative;
    overflow: hidden;
}

@media (max-width: 575.98px) {
    .cta-band {
        padding: 2.5rem 1.75rem;
    }
}

.cta-band::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 90% 10%, rgba(238, 243, 241, 0.08), transparent 50%);
    pointer-events: none;
}

.cta-band-copy {
    position: relative;
    z-index: 1;
}

    .cta-band-copy h2 {
        font-family: var(--font-display);
        font-size: 2rem;
        margin-bottom: .5rem;
        color: var(--parchment);
    }

    .cta-band-copy p {
        color: rgba(238, 243, 241, 0.75);
        margin-bottom: 0;
        max-width: 26rem;
    }

.cta-band-action {
    position: relative;
    z-index: 1;
}

/* ── Footer ───────────────────────────────────────────────────────────── */
.site-footer {
    background: var(--ink-navy-deep);
    color: rgba(238, 243, 241, 0.7);
    padding-block: 3.5rem 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(238, 243, 241, 0.12);
}

@media (max-width: 767.98px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

.footer-brand .brand-word {
    color: var(--parchment);
    font-size: 1.1rem;
}

.footer-brand .brand-word-accent {
    color: var(--accent-bright);
}

.footer-brand .brand-seal {
    width: 1.9rem;
    height: 1.9rem;
    font-size: .95rem;
}

.footer-tagline {
    margin-top: .85rem;
    font-size: .88rem;
    max-width: 22rem;
    color: rgba(238, 243, 241, 0.6);
}

.footer-col-title {
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: .68rem;
    color: rgba(238, 243, 241, 0.5);
    margin-bottom: 1rem;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: .6rem;
}

.footer-col a {
    color: rgba(238, 243, 241, 0.75);
    text-decoration: none;
    font-size: .9rem;
}

    .footer-col a:hover {
        color: var(--parchment);
    }

.footer-link-button {
    appearance: none;
    background: none;
    border: 0;
    padding: 0;
    color: rgba(238, 243, 241, 0.75);
    text-decoration: none;
    font-size: .9rem;
}

    .footer-link-button:hover {
        color: var(--parchment);
    }

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 1.5rem;
    font-size: .78rem;
    color: rgba(238, 243, 241, 0.45);
}

/* ── Simple content pages (Privacy / AccessDenied) ───────────────────── */
.simple-page {
    padding-block: 5rem;
    max-width: 42rem;
}

    .simple-page h1 {
        font-family: var(--font-display);
        font-size: 2.25rem;
        margin-bottom: 1.25rem;
        color: var(--ink-navy);
    }

    .simple-page p {
        color: var(--slate);
        line-height: 1.7;
    }

.access-denied-icon {
    width: 3.5rem;
    height: 3.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(178, 59, 51, 0.12);
    color: var(--status-not-approved);
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
}

/* ── Agent sign-in (Account/Login) ───────────────────────────────────── */
.auth-shell {
    padding-block: 5rem;
    display: flex;
    justify-content: center;
}

.auth-card {
    width: 100%;
    max-width: 26rem;
    background: var(--white);
    border: 1px solid rgba(43, 38, 32, 0.08);
    border-radius: var(--radius-lg);
    padding: 2.75rem 2.25rem;
    box-shadow: var(--shadow-card);
}

.auth-card-icon {
    width: 3rem;
    height: 3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(20, 122, 99, 0.1);
    color: var(--approved-green);
    font-size: 1.3rem;
    margin-bottom: 1.25rem;
}

.auth-card h1 {
    font-family: var(--font-display);
    font-size: 1.65rem;
    color: var(--ink-navy);
    margin-bottom: .4rem;
}

.auth-card-lede {
    color: var(--slate);
    font-size: .92rem;
    margin-bottom: 2rem;
}

.auth-field {
    margin-bottom: 1.25rem;
}

    .auth-field label {
        display: block;
        font-family: var(--font-mono);
        text-transform: uppercase;
        letter-spacing: .06em;
        font-size: .68rem;
        color: var(--slate);
        margin-bottom: .45rem;
    }

    .auth-field .form-control {
        font-family: var(--font-body);
        border: 1px solid rgba(43, 38, 32, 0.18);
        border-radius: var(--radius-sm);
        padding: .65rem .85rem;
        font-size: .95rem;
        color: var(--ink-navy);
        background: var(--parchment);
    }

        .auth-field .form-control:focus {
            border-color: var(--accent);
            box-shadow: 0 0 0 3px rgba(169, 78, 36, 0.15);
            background: var(--white);
        }

.auth-remember {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: 1.75rem;
    font-size: .88rem;
    color: var(--slate);
}

    .auth-remember input {
        accent-color: var(--accent);
    }

.auth-submit {
    width: 100%;
    background: var(--accent);
    color: var(--white);
    font-weight: 700;
    padding: .8rem 1.6rem;
    border: none;
    border-radius: var(--radius-sm);
    font-size: .98rem;
    cursor: pointer;
    transition: transform .18s ease, background .18s ease;
}

    .auth-submit:hover {
        transform: translateY(-1px);
        background: var(--accent-bright);
    }

.auth-foot {
    margin-top: 1.75rem;
    text-align: center;
    font-size: .88rem;
    color: var(--slate);
}

    .auth-foot a {
        color: var(--accent);
        font-weight: 600;
        text-decoration: none;
    }

        .auth-foot a:hover {
            text-decoration: underline;
        }

.auth-validation {
    color: var(--status-not-approved);
    font-size: .85rem;
    margin-bottom: 1rem;
}

    .auth-validation:empty {
        display: none;
    }

/* ── My Account (Account/Profile) ─────────────────────────────────────────
   The site spends its whole life ruling on whether a condo is approved. This
   page turns that same lens on the agent, so their standing is presented as a
   credential using the existing status palette rather than a generic form. */
.acct {
    padding-block: 4.5rem 5.5rem;
}

.acct-masthead {
    margin-bottom: 2.5rem;
}

.acct-eyebrow {
    display: block;
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: .18em;
    font-size: .68rem;
    color: var(--accent);
    margin-bottom: .6rem;
}

.acct-masthead h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.6rem);
    letter-spacing: -0.02em;
    color: var(--ink-navy);
    margin: 0;
}

.acct-grid {
    display: grid;
    grid-template-columns: 20.5rem minmax(0, 1fr);
    gap: 2.25rem;
    align-items: start;
}

@media (max-width: 991.98px) {
    .acct-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 1.75rem;
    }
}

/* ── Signature: the credential card ─────────────────────────────────────── */
.acct-credential {
    position: sticky;
    top: 2rem;
    background: var(--white);
    border: 1px solid rgba(43, 38, 32, 0.1);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    overflow: hidden;
}

@media (max-width: 991.98px) {
    .acct-credential {
        position: static;
    }
}

.acct-credential-body {
    padding: 1.75rem 1.5rem 1.5rem;
}

.acct-seal {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .4rem .8rem .4rem .55rem;
    border-radius: 999px;
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: .1em;
    font-size: .66rem;
    font-weight: 700;
    background: rgba(63, 122, 82, 0.12);
    color: var(--status-approved);
}

.acct-seal .bi {
    font-size: .9rem;
}

.acct-seal.is-pending {
    background: rgba(140, 99, 24, 0.12);
    color: var(--status-under-review);
}

.acct-holder {
    margin-top: 1.15rem;
    font-family: var(--font-display);
    font-size: 1.3rem;
    line-height: 1.25;
    letter-spacing: -0.01em;
    color: var(--ink-navy);
    word-break: break-word;
}

.acct-holder-sub {
    margin-top: .3rem;
    font-size: .88rem;
    color: var(--slate);
    word-break: break-word;
}

/* Perforated stub: the card reads as a physical credential, and the dashed
   rule is the only ornament on the page. */
.acct-stub {
    border-top: 1px dashed rgba(43, 38, 32, 0.22);
    padding: 1.25rem 1.5rem 1.5rem;
    background: var(--parchment);
    display: grid;
    gap: .9rem;
}

.acct-datum {
    display: grid;
    gap: .2rem;
}

.acct-datum dt {
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: .1em;
    font-size: .62rem;
    color: var(--slate);
    font-weight: 500;
}

.acct-datum dd {
    margin: 0;
    font-size: .92rem;
    color: var(--ink-navy);
    word-break: break-word;
}

.acct-datum dd.is-empty {
    color: var(--slate);
    font-style: italic;
}

/* ── Task panels ────────────────────────────────────────────────────────── */
.acct-panels {
    display: grid;
    gap: 1.5rem;
}

/* ASP.NET renders the summary as a non-empty <ul> even when valid, so :empty
   does not catch it. Collapse it explicitly to keep the two columns aligned. */
.acct-panels .validation-summary-valid {
    display: none;
}

.acct-panel {
    background: var(--white);
    border: 1px solid rgba(43, 38, 32, 0.1);
    border-radius: var(--radius-md);
    padding: 1.75rem;
}

.acct-panel-head {
    margin-bottom: 1.5rem;
}

.acct-panel-head h2 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    letter-spacing: -0.01em;
    color: var(--ink-navy);
    margin: 0;
}

.acct-panel-note {
    margin: .35rem 0 0;
    font-size: .86rem;
    color: var(--slate);
    line-height: 1.6;
}

.acct-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 1.15rem;
}

@media (max-width: 575.98px) {
    .acct-fields {
        grid-template-columns: minmax(0, 1fr);
    }
}

.acct-fields .acct-span-2 {
    grid-column: 1 / -1;
}

.acct-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.75rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(43, 38, 32, 0.1);
}

.acct-actions .auth-submit {
    width: auto;
    min-width: 11rem;
}

.acct-actions-note {
    font-size: .84rem;
    color: var(--slate);
    margin: 0;
}

/* ── Saved-searches link, framed as an onward task ──────────────────────── */
.acct-onward {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.15rem 1.5rem;
    background: var(--white);
    border: 1px solid rgba(43, 38, 32, 0.1);
    border-radius: var(--radius-md);
    text-decoration: none;
    color: inherit;
    transition: border-color .18s ease, transform .18s ease;
}

.acct-onward:hover,
.acct-onward:focus-visible {
    border-color: var(--accent);
    transform: translateY(-1px);
    color: inherit;
}

.acct-onward-title {
    font-weight: 600;
    color: var(--ink-navy);
    font-size: .96rem;
}

.acct-onward-note {
    font-size: .84rem;
    color: var(--slate);
    margin: .15rem 0 0;
}

.acct-onward .bi {
    color: var(--accent);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.acct-status {
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    background: rgba(63, 122, 82, 0.1);
    border: 1px solid rgba(63, 122, 82, 0.25);
    color: var(--status-approved);
    border-radius: var(--radius-sm);
    padding: .85rem 1.1rem;
    font-size: .9rem;
    margin-bottom: 2rem;
}

/* Keyboard focus must stay obvious against the parchment ground. */
.acct :is(a, button, input):focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* ── Accessibility: respect reduced-motion preference globally ──────────── */
@media (prefers-reduced-motion: reduce) {
    body.marketing * {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }
}