.market-page {
    --market-ink: #13273f;
    --market-muted: #506782;
    --market-bg: #eef3f8;
    --market-surface: #ffffff;
    --market-border: #d3dde9;
    --market-accent: #0a7f72;
    --market-accent-2: #214f8b;
    color: var(--market-ink);
    font-family: "IBM Plex Sans", "Noto Sans JP", "Noto Sans KR", sans-serif;
    position: relative;
}

.market-page::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(circle at 12% 8%, rgba(24, 104, 173, 0.13), transparent 34%),
        radial-gradient(circle at 88% 14%, rgba(10, 127, 114, 0.14), transparent 35%),
        linear-gradient(180deg, #f5f8fc 0%, var(--market-bg) 100%);
}

.market-page h1,
.market-page h2,
.market-page h3,
.market-page h4 {
    font-family: "IBM Plex Serif", "Noto Serif JP", "Noto Serif KR", serif;
}

.market-page p,
.market-page li {
    line-height: 1.68;
}

.market-hero {
    position: relative;
    overflow: hidden;
    border-radius: 1.4rem;
    padding: 2.2rem;
    background: linear-gradient(130deg, #173d69 0%, #20557c 45%, #0b8678 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 18px 34px rgba(12, 41, 69, 0.2);
    color: #f7fbff;
}

.market-hero::before,
.market-hero::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
}

.market-hero::before {
    width: 17rem;
    height: 17rem;
    top: -6rem;
    right: -4rem;
    background: rgba(250, 255, 255, 0.18);
    filter: blur(8px);
}

.market-hero::after {
    width: 14rem;
    height: 14rem;
    left: -5rem;
    bottom: -6rem;
    background: rgba(255, 163, 86, 0.26);
    filter: blur(10px);
}

.market-hero > .row {
    position: relative;
    z-index: 1;
}

.market-hero .lead {
    color: rgba(247, 251, 255, 0.94);
}

.market-hero-badge {
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: #eaf5ff;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.market-hero-outcome {
    margin: 0;
    color: #c8edf0;
    letter-spacing: 0.03em;
    font-weight: 600;
}

.market-hero .btn-light {
    border: 1px solid rgba(255, 255, 255, 0.75);
    box-shadow: 0 8px 18px rgba(6, 30, 58, 0.25);
}

.market-hero .btn-outline-light {
    border-color: rgba(255, 255, 255, 0.75);
    color: #f5faff;
}

.market-hero .btn-outline-light:hover,
.market-hero .btn-outline-light:focus {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

.market-proof-grid {
    display: grid;
    gap: 0.7rem;
}

.market-proof-chip {
    border-radius: 0.95rem;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(2px);
    padding: 0.78rem;
}

.market-proof-scenario {
    font-size: 0.78rem;
    line-height: 1.35;
    color: #d2ecff;
}

.market-proof-outcome {
    font-size: 0.96rem;
    line-height: 1.4;
    font-weight: 700;
    color: #ffffff;
}

.market-proof-window {
    font-size: 0.76rem;
    color: #d2ecff;
}

.market-proof-chip-revision {
    background: rgba(11, 35, 62, 0.36);
    border-color: rgba(255, 255, 255, 0.24);
}

.market-region-map-card,
.market-map-legend-card {
    border-radius: 1rem;
    border: 1px solid #d7e3f0;
    background: linear-gradient(160deg, #ffffff 0%, #f6fbff 100%);
    box-shadow: 0 10px 24px rgba(17, 39, 64, 0.06);
}

.market-region-map-card {
    padding: 1.15rem;
}

.market-region-map {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 0.85rem;
    background:
        radial-gradient(circle at 18% 18%, rgba(32, 85, 124, 0.08), transparent 34%),
        radial-gradient(circle at 78% 68%, rgba(10, 127, 114, 0.1), transparent 34%),
        linear-gradient(180deg, #fbfdff 0%, #f2f7fc 100%);
}

.market-region-map-link {
    stroke: #b8cde3;
    stroke-width: 4;
    stroke-linecap: round;
    stroke-dasharray: 10 10;
}

.market-region-map-node {
    text-decoration: none;
}

.market-region-map-node circle {
    stroke-width: 4;
    transition: transform 0.2s ease, fill 0.2s ease, stroke 0.2s ease;
    transform-origin: center;
}

.market-region-map-node:hover circle,
.market-region-map-node:focus circle {
    transform: scale(1.04);
}

.market-region-map-node-core circle {
    fill: #1e4f88;
    stroke: #10345b;
}

.market-region-map-node-mobility circle {
    fill: #0f6b6f;
    stroke: #0a4b4e;
}

.market-region-map-node-research circle {
    fill: #295f9f;
    stroke: #1a406f;
}

.market-region-map-node-community circle {
    fill: #22796e;
    stroke: #134c45;
}

.market-region-map-node-district circle {
    fill: #0c8778;
    stroke: #0a5e55;
}

.market-region-map-node-label,
.market-region-map-node-subtitle,
.market-region-map-node-blurb {
    font-family: "IBM Plex Sans", "Noto Sans JP", "Noto Sans KR", sans-serif;
    fill: #ffffff;
    text-anchor: middle;
    pointer-events: none;
}

.market-region-map-node-label {
    font-size: 30px;
    font-weight: 700;
}

.market-region-map-node-subtitle {
    font-size: 16px;
    opacity: 0.9;
}

.market-region-map-node-blurb {
    font-size: 14px;
    opacity: 0.84;
}

.market-map-legend-card {
    padding: 1rem;
}

.market-feature-card {
    border-color: #d7e3f0;
    background: linear-gradient(155deg, #ffffff 0%, #f6fbff 100%);
}

.market-card-pill {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    border: 1px solid #c7d8eb;
    background: #eef6ff;
    color: #18436b;
    font-size: 0.76rem;
    font-weight: 700;
    padding: 0.26rem 0.62rem;
}

.market-feature-eyebrow {
    letter-spacing: 0.08em;
    color: #0a7f72;
    font-weight: 700;
}

.market-feature-note {
    color: #234e74;
    font-weight: 600;
}

.market-source-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.market-source-chip {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    border: 1px solid #d7e3f0;
    background: #f7fbff;
    color: #36556f;
    font-size: 0.76rem;
    line-height: 1.35;
    padding: 0.3rem 0.62rem;
}

.market-comparison-table {
    --bs-table-bg: transparent;
    --bs-table-striped-bg: rgba(237, 244, 251, 0.7);
}

.market-comparison-table thead th {
    background: #173d69;
    color: #f8fbff;
    border-bottom-width: 0;
    white-space: nowrap;
}

.market-comparison-table tbody th,
.market-comparison-table tbody td {
    vertical-align: top;
}

.market-comparison-table tbody th a {
    color: #18436b;
    text-decoration: none;
}

.market-comparison-table tbody th a:hover,
.market-comparison-table tbody th a:focus {
    text-decoration: underline;
}

.market-section {
    border-radius: 1rem;
    border: 1px solid var(--market-border);
    background: linear-gradient(160deg, var(--market-surface) 0%, #f9fcff 100%);
    box-shadow: 0 10px 24px rgba(17, 39, 64, 0.06);
    padding: 1.1rem;
}

.market-page .card {
    border-color: #d7e3f0;
    box-shadow: 0 6px 18px rgba(14, 37, 61, 0.05);
}

.market-page .list-group-item {
    border-color: #d8e2ef;
    background: #ffffff;
}

.market-page .accordion-item {
    border-color: #d6e1ee;
}

.market-page .accordion-button:not(.collapsed) {
    color: #0f406d;
    background-color: #edf4fb;
}

.market-page .text-muted {
    color: var(--market-muted) !important;
}

@media (max-width: 991px) {
    .market-hero {
        padding: 1.7rem;
    }

    .market-section {
        padding: 0.95rem;
    }

    .market-region-map-node-label {
        font-size: 26px;
    }

    .market-region-map-node-subtitle {
        font-size: 14px;
    }

    .market-region-map-node-blurb {
        font-size: 12px;
    }
}

@media (max-width: 575px) {
    .market-proof-grid {
        grid-template-columns: 1fr;
    }

    .market-region-map-card {
        padding: 0.85rem;
    }

    .market-region-map-node-label {
        font-size: 22px;
    }

    .market-region-map-node-subtitle {
        font-size: 13px;
    }

    .market-region-map-node-blurb {
        font-size: 11px;
    }
}
