* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #f7f7f5;
    color: #171717;
    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Helvetica,
        Arial,
        sans-serif;
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}


/* =========================================
   CENTERED DIRECTORY HERO
   ========================================= */

.stats-header {
    background: transparent;
    border: 0;
    padding: 70px 0 0;
}

.stats-header .stats-container {
    text-align: center;
}

.eyebrow {
    display: none;
}

.stats-header h1 {
    max-width: 800px;
    margin: 0 auto 16px;

    font-size: clamp(38px, 6vw, 64px);
    line-height: 1.05;
    letter-spacing: -2px;
    font-weight: 700;
}

.intro {
    max-width: 800px;
    margin: 0 auto 30px;

    color: #777;
    font-size: 18px;
    line-height: 1.6;
}


/* =========================================
   SEARCH
   ========================================= */

.search-wrap {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
}

.search-icon {
    display: none;
}

#statsSearch {
    width: 100%;
    height: auto;

    padding: 18px 22px;

    border: 1px solid #d8d8d3;
    border-radius: 999px;

    background: #fff;

    color: #171717;
    font-size: 17px;

    outline: none;

    box-shadow: 0 8px 30px rgba(0, 0, 0, .05);

    transition:
        border-color .18s ease,
        box-shadow .18s ease;
}

#statsSearch:focus {
    border-color: #111;
    box-shadow: 0 8px 30px rgba(0, 0, 0, .07);
}

#statsSearch::placeholder {
    color: #777;
}


/* =========================================
   MAIN
   ========================================= */

.stats-main {
    padding-top: 5px;
    padding-bottom: 100px;
}


/* =========================================
   SECTIONS
   ========================================= */

.stats-section {
    margin-top: 60px;
    margin-bottom: 0;
    padding: 0;
    border: 0;
}

.section-heading {
    margin-bottom: 22px;
    text-align: left;
}

.section-heading h2 {
    margin: 0 0 7px;

    font-size: 28px;
    font-weight: 700;
    letter-spacing: 0;
}

.section-heading p {
    margin: 0;

    color: #777;
    font-size: 15px;
    line-height: 1.55;
}


/* =========================================
   CARDS
   ========================================= */

.stats-grid {
    display: grid;
    grid-template-columns:
        repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.stats-card {
    display: block;

    min-height: 0;
    padding: 24px;

    border: 1px solid #e5e5e0;
    border-radius: 18px;

    background: #fff;
    color: #171717;

    text-decoration: none;

    transition: .18s ease;
}

.stats-card:hover {
    transform: translateY(-2px);
    border-color: #bbb;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .06);
}

.stats-card strong {
    display: block;

    margin-bottom: 7px;

    font-size: 19px;
    font-weight: 700;
}

.stats-card span {
    color: #777;
    font-size: 14px;
}


/* =========================================
   LISTS
   ========================================= */

.stats-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.stats-list a {
    display: inline-block;

    min-height: 0;
    padding: 10px 15px;

    border: 1px solid #e2e2dd;
    border-radius: 999px;

    background: #fff;
    color: #222;

    text-decoration: none;
    font-size: 14px;

    transition: .18s ease;
}

.stats-list a:hover {
    border-color: #111;
    background: #fff;
}

.stats-list a span {
    color: #777;
    margin-left: 8px;
}


/* =========================================
   FOOTER
   ========================================= */

.stats-footer {
    padding: 30px 0 45px;

    border-top: 1px solid #e1e1dc;

    color: #96968f;
    font-size: 12px;
}


/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 600px) {

    .stats-container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .stats-header {
        padding-top: 45px;
    }

    .stats-header h1 {
        letter-spacing: -1px;
    }

    .stats-main {
        padding-top: 0;
        padding-bottom: 65px;
    }

    .stats-section {
        margin-top: 45px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }
}


/* ============================================================
   RILITY AI-STYLE DIRECTORY HERO
   Visual-only override — sections/content unchanged
   ============================================================ */

body {
    background:
        radial-gradient(
            circle at 18% 8%,
            rgba(190, 220, 255, 0.28),
            transparent 34%
        ),
        radial-gradient(
            circle at 82% 12%,
            rgba(225, 205, 255, 0.25),
            transparent 36%
        ),
        linear-gradient(
            180deg,
            #fbfcff 0%,
            #f8f9fc 42%,
            #f7f7f5 100%
        );
}

/* Remove the strong white "top block" */
.stats-header {
    background: transparent;
    border-bottom: 0;
    padding: 92px 0 58px;
}

/* Center the complete hero */
.stats-header .stats-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Small AI-style eyebrow */
.eyebrow {
    margin-bottom: 20px;
    color: #8a8e99;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2.5px;
}

/* Main AI-style headline */
.stats-header h1 {
    max-width: 900px;
    margin: 0 auto;

    font-size: clamp(46px, 7vw, 76px);
    line-height: 0.98;
    letter-spacing: -4px;
    font-weight: 650;

    color: #17181c;

    text-wrap: balance;
}

/* Soft secondary headline text */
.intro {
    max-width: 700px;
    margin: 24px auto 34px;

    color: #777b85;
    font-size: 18px;
    line-height: 1.65;
    font-weight: 400;
}

/* Centered floating search */
.search-wrap {
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
}

#statsSearch {
    height: 62px;

    border: 1px solid rgba(180, 184, 195, 0.55);
    border-radius: 999px;

    background: rgba(255, 255, 255, 0.78);

    box-shadow:
        0 12px 40px rgba(45, 55, 75, 0.07),
        inset 0 1px 0 rgba(255,255,255,.8);

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

#statsSearch:focus {
    background: rgba(255, 255, 255, 0.92);
    border-color: rgba(120, 125, 140, 0.65);

    box-shadow:
        0 14px 45px rgba(45, 55, 75, 0.10),
        0 0 0 4px rgba(150, 160, 190, 0.08);
}

/* Keep the directory itself clean */
.stats-main {
    padding-top: 35px;
}

/* Slightly softer section separators */
.stats-section {
    border-bottom-color: rgba(190, 192, 190, 0.55);
}

/* Cards sit naturally over the subtle background */
.stats-card,
.stats-list a {
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* Mobile */
@media (max-width: 600px) {

    .stats-header {
        padding: 62px 0 42px;
    }

    .stats-header h1 {
        font-size: clamp(42px, 12vw, 58px);
        letter-spacing: -2.5px;
    }

    .intro {
        font-size: 16px;
    }

    .stats-main {
        padding-top: 25px;
    }
}


/* ============================================================
   STATS HERO — MATCH RILITY AI PAGE TYPOGRAPHY
   ============================================================ */

.stats-header h1 {
    max-width: 850px;

    margin: 0;

    font-size: clamp(42px, 5vw, 72px);
    line-height: 1.08;
    letter-spacing: -3px;
    font-weight: 600;

    color: #111;
}

.intro {
    max-width: 700px;

    margin: 20px auto 0;

    color: #777;
    font-size: 18px;
    line-height: 1.6;
    font-weight: 400;
}

.search-wrap {
    margin-top: 34px;
}

@media (max-width: 600px) {

    .stats-header h1 {
        font-size: 44px;
        line-height: 1.05;
        letter-spacing: -2px;
        font-weight: 600;
    }

    .intro {
        font-size: 18px;
    }
}


/* Two-line AI-style directory headline */
.stats-header h1 span {
    display: block;
}

/* Two-line headline — black only */
.stats-header h1 span {
    display: block;
    color: #111;
}

/* FINAL: both headline lines black */
.stats-header h1 span {
    display: block;
    color: #111 !important;
}


/* =========================================================
   STATS INDEX — TYPOGRAPHY
   ========================================================= */

body {
    font-family:
        "Inter",
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Helvetica,
        Arial,
        sans-serif;
}


/*
   Shared 88px header sits above the directory content.
*/

.stats-header {
    padding-top: 118px;
}



/* =========================================================
   STATS INDEX — HEADER SPACING
   Match the spacious AI / Insights page composition.
   ========================================================= */

.stats-header {
    padding-top: 200px;
}


/* Shared header toggle/icon styling */

.site-header .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
}

.site-header .material-symbols-outlined {
    font-family: "Material Symbols Outlined";
    font-weight: normal;
    font-style: normal;
    font-size: 25px;
    line-height: 1;
}


/* Keep the header above the stats content */

.site-header {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 20001;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 768px) {

    .stats-header {
        padding-top: 150px;
    }

}

/* =========================================================
   STATS INDEX — SINGLE CONTINUOUS AI-STYLE BACKGROUND
   ========================================================= */

html {
    min-height: 100%;
    background: #f7f7f5;
}

body {
    min-height: 100vh;
    margin: 0;

    background:
        radial-gradient(
            700px 520px at 8% 10%,
            rgba(83, 132, 255, 0.13),
            transparent 72%
        ),
        radial-gradient(
            680px 520px at 92% 14%,
            rgba(157, 103, 255, 0.11),
            transparent 72%
        ),
        radial-gradient(
            720px 560px at 50% 88%,
            rgba(54, 198, 255, 0.075),
            transparent 72%
        ),
        #f7f7f5;

    color: #171717;
}


/* No separate surfaces behind the page content */

.stats-header,
.stats-main,
.stats-section {
    background: transparent !important;
}


/* Search remains a deliberate UI surface */

#statsSearch {
    background: rgba(255, 255, 255, 0.78);
}


/* Cards remain slightly translucent */

.stats-card {
    background: rgba(255, 255, 255, 0.84);
}


/* AI-page-like headline weight and tracking */

.stats-header h1,
.stats-header h1 span {
    font-family: "Inter", sans-serif;
    font-weight: 500;
    letter-spacing: -2.5px;
}

@media (max-width: 768px) {
    .stats-header h1,
    .stats-header h1 span {
        letter-spacing: -1.5px;
    }
}



/* =========================================================
   FINAL STATS INDEX BACKGROUND
   One continuous AI-style surface.
   ========================================================= */

html {
    background: #f7f7f5 !important;
}

body {
    position: relative;
    min-height: 100vh;
    background: #f7f7f5 !important;
    isolation: isolate;
}

/* The ONLY decorative background layer */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;

    background:
        radial-gradient(
            650px 520px at 8% 8%,
            rgba(83, 132, 255, 0.16),
            transparent 72%
        ),
        radial-gradient(
            650px 520px at 92% 14%,
            rgba(157, 103, 255, 0.14),
            transparent 72%
        ),
        radial-gradient(
            700px 600px at 50% 85%,
            rgba(54, 198, 255, 0.10),
            transparent 72%
        );

    opacity: 1;
}

/* Nothing else gets to paint a page-sized surface */
.stats-header,
.stats-main,
.stats-section,
.stats-footer {
    background: transparent !important;
}

/* Keep actual UI surfaces */
#statsSearch {
    background: rgba(255, 255, 255, 0.78) !important;
}

.stats-card {
    background: rgba(255, 255, 255, 0.82) !important;
}


/* Interactive state map */
.us-market-map-section { margin-top: 56px; }
.us-market-map-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 18px;
    align-items: stretch;
}
.us-market-map-card, .us-market-map-details {
    background: rgba(255,255,255,.86);
    border: 1px solid #e5e5e0;
    border-radius: 20px;
}
.us-market-map-card { min-width: 0; padding: 18px; }
.us-market-map { width: 100%; min-height: 340px; }
.us-market-map svg { display:block; width:100%; height:auto; overflow:visible; }
.us-map-state path {
    fill: #e7e8e4;
    stroke: #fff;
    stroke-width: 1.25;
    vector-effect: non-scaling-stroke;
    transition: fill .16s ease, stroke .16s ease;
}
.us-map-state--available path { fill: #a9c7ef; }
.us-map-state--available:hover path,
.us-map-state--available:focus path { fill: #6d9ee0; stroke: #315f9f; }
.us-map-state--coming:hover path,
.us-map-state--coming:focus path,
.us-map-state--coming.is-selected path { fill: #c9d8eb; stroke: #fff; }
.us-map-state { cursor: pointer; outline: none; }
.us-map-state:focus-visible path { stroke: #171717; stroke-width: 2.5; }
.us-market-map-details { padding: 26px 22px; display:flex; flex-direction:column; justify-content:center; }
.us-map-eyebrow { color:#777; font-size:10px; font-weight:700; letter-spacing:.1em; }
.us-market-map-details h3 { margin:10px 0 8px; font-size:25px; letter-spacing:-.5px; }
.us-market-map-details p { margin:0 0 8px; color:#666; font-size:14px; line-height:1.5; }
.us-market-map-details a { margin-top:12px; color:#171717; font-size:14px; font-weight:600; text-decoration:none; }
.us-market-map-details a:hover { text-decoration:underline; }
@media (max-width: 820px) {
    .us-market-map-layout { grid-template-columns:1fr; }
    .us-market-map { min-height:0; }
    .us-market-map-card { padding:10px; }
    .us-market-map-details { padding:20px; }
}


/* Map sits directly below search as the first directory section. */
.us-market-map-section { margin:30px auto 56px; max-width:1320px; }
.us-market-map-layout { display:block; width:100%; }
.us-market-map { position:relative; width:100%; min-height:0; isolation:isolate; }
.us-market-map svg { display:block; width:100%; height:auto; overflow:visible; filter:drop-shadow(0 10px 20px rgba(34,43,56,.08)); }
.us-map-state path { fill:#fff; stroke:transparent; stroke-width:0; vector-effect:non-scaling-stroke; transition:fill .16s ease, opacity .16s ease; }
.us-map-state--available path { fill:#fff; }
.us-map-state:hover path, .us-map-state:focus path { fill:#dce9f8; stroke:transparent; }
.us-map-state { cursor:pointer; outline:none; }
.us-map-state:focus-visible path { stroke:rgba(49,95,159,.35); stroke-width:1.5; }
.us-map-tooltip { position:absolute; z-index:4; display:none; max-width:210px; padding:9px 12px; border:1px solid rgba(20,24,31,.08); border-radius:10px; background:#fff; box-shadow:0 8px 24px rgba(24,34,48,.14); color:#171717; pointer-events:none; white-space:nowrap; }
.us-map-tooltip.is-visible { display:block; }
.us-map-tooltip strong { display:block; font-size:13px; line-height:1.25; font-weight:600; }
.us-map-tooltip span { display:block; margin-top:3px; color:#777; font-size:11px; line-height:1.3; }
@media (min-width:901px) { .us-market-map-section { width:calc(100% + 48px); margin-left:-24px; margin-right:-24px; } }
@media (max-width:768px) { .us-market-map-section { margin:20px auto 42px; } .us-map-tooltip { padding:8px 10px; } }


.state-pills {
    display:flex;
    flex-wrap:wrap;
    gap:10px;
}
.state-pill {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:40px;
    padding:9px 16px;
    border:1px solid #e1e1dc;
    border-radius:999px;
    background:rgba(255,255,255,.78);
    color:#333;
    font:500 14px/1.2 "Inter",sans-serif;
    text-decoration:none;
    white-space:nowrap;
    transition:background .15s ease,border-color .15s ease,transform .15s ease;
}
a.state-pill:hover { background:#fff; border-color:#bdbdb7; transform:translateY(-1px); }
@media (max-width:600px) { .state-pills { gap:8px; } .state-pill { min-height:36px; padding:8px 12px; font-size:13px; } }
