/* Marketplace palette follows the partner application page on branch 125. */
.marketplace {
    --market-ink: #151b36;
    --market-gold: #b18b46;
    --market-cream: #f7f5ef;
    color: var(--market-ink);
    font-size: 16px;
    line-height: 1.75;
    text-align: left;
}
.marketplace h1, .marketplace h2, .marketplace h3 { font-family: Montserrat, sans-serif; color: var(--market-ink); text-transform: none; letter-spacing: -.035em; }
.marketplace h1 { font-size: clamp(32px, 3.5vw, 48px); line-height: 1.12; margin: 18px 0 22px; }
.marketplace h2 { font-size: clamp(28px, 3vw, 40px); line-height: 1.25; margin: 10px 0 28px; }
.marketplace h3 { font-size: 20px; line-height: 1.4; margin: 12px 0; }
.marketplace p { margin: 0 0 18px; }
.marketplace .market-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #80612e; }
.market-hero { padding: 72px 0; background: var(--market-cream); }
.market-hero-grid { display: grid; grid-template-columns: 1.25fr .85fr; gap: 60px; align-items: center; }
.market-hero-grid > *, .market-split > * { min-width: 0; }
.market-hero h2 { font-size: 20px; letter-spacing: -.02em; line-height: 1.5; }
.market-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.marketplace .market-button { display: inline-flex; align-items: center; justify-content: center; gap: 18px; background: var(--market-ink); color: #fff !important; padding: 15px 22px; border: 1px solid var(--market-ink); border-radius: 3px; font-size: 14px; font-weight: 600; line-height: 1.5; text-decoration: none; }
.marketplace .market-button:hover, .marketplace .market-button:focus-visible { background: #303b62; border-color: #303b62; }
.marketplace .market-button-outline { background: transparent; color: var(--market-ink) !important; }
.marketplace .market-button-outline:hover, .marketplace .market-button-outline:focus-visible { background: #e9e2d4; color: var(--market-ink) !important; border-color: #80612e; }
.marketplace :focus-visible { outline: 3px solid #ad8536; outline-offset: 5px; }
.market-visual { min-height: 440px; padding: 46px 34px; text-align: center; gap: 24px; background: var(--market-ink); color: #fff; border: 1px solid #d8c8a6; outline: 1px solid #d8c8a6; outline-offset: -16px; display: flex; flex-direction: column; justify-content: center; }
.market-monogram { display: flex; flex-direction: column; align-items: center; color: #dbc393; }
/* Show the complete circular logo at every screen size. */
.market-logo { position: relative; width: min(240px, 100%); aspect-ratio: 5 / 4; }
.market-monogram .market-logo img { display: block; width: 100%; height: 100%; object-fit: contain; }
.market-monogram span { display: block; font-size: 20px; font-weight: 500; letter-spacing: .22em; margin-top: 8px; }
.market-visual-caption > span { font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: #dbc393; }
.market-visual-caption p { margin: 14px 0 0; font-size: 21px; line-height: 1.5; }
.market-section { padding: 76px 0; }
.market-cream { background: var(--market-cream); }
.market-split { display: grid; grid-template-columns: 1fr 1.2fr; gap: 70px; align-items: start; }
.market-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 34px; }
.market-grid article { padding: 30px; border: 1px solid #e4e3df; border-top: 3px solid var(--market-gold); }
.market-grid p { font-size: 14px; color: #5d6270; }
.market-grid p:last-child { margin-bottom: 0; }
.market-label { color: #80612e; font-size: 12px; letter-spacing: .1em; }
.market-ecosystem article { background: #fff; }
.market-dark { background: var(--market-ink); color: #ececf2; }
.market-cta { text-align: center; background: #ece9e1; }
.market-cta .container { max-width: 850px; }
.market-cta .market-button { margin: 12px 0 22px; }
.marketplace .market-small { font-size: 12px; }
/* Shared navigation is positioned over heroes by default. Reserve its space here. */
body:has(.marketplace) .rd-navbar-wrap { position: relative; min-height: 56px; }
#about-marketplace, #marketplace-journey { scroll-margin-top: 100px; }
@media (min-width: 1200px) { body:has(.marketplace) .rd-navbar-wrap { min-height: 0; } }
@media (max-width: 991px) {
    .market-hero-grid, .market-split { gap: 30px; }
    .market-grid { gap: 16px; }
    .market-grid article { padding: 22px; }
    .market-visual { padding: 40px 28px; min-height: 420px; }
}
@media (max-width: 767px) {
    .market-hero-grid, .market-split, .market-grid { grid-template-columns: 1fr; }
    .market-hero, .market-section { padding: 44px 0; }
    .market-visual { min-height: 0; padding: 40px 28px; }
    .market-monogram { display: flex; flex-direction: column; align-items: center; color: #dbc393; }
    .market-actions { flex-direction: column; align-items: stretch; }
}
/* Project milestones distinguish the pilot from current work and future plans. */
.marketplace .market-status { display: inline-block; padding: 12px 16px; border: 1px solid #d8c8a6; background: #fffaf0; color: #59431e; font-size: 13px; line-height: 1.6; }
.market-status > span { display: block; font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.market-timeline { max-width: 900px; list-style: none; padding: 0 0 0 28px; margin: 36px 0 0 8px; border-left: 1px solid #d8c8a6; }
.market-timeline li { position: relative; padding: 0 0 34px 16px; }
.market-timeline li:last-child { padding-bottom: 0; }
.market-timeline li::before { content: ''; position: absolute; top: 7px; left: -35px; width: 12px; height: 12px; background: #b18b46; border: 3px solid #fff; outline: 1px solid #b18b46; border-radius: 50%; }
.market-phase { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #80612e; }
.market-timeline h3 { font-size: 22px; margin-top: 8px; }
.market-timeline p { color: #5d6270; }
.market-dark h2 { color: #fff; }
.market-dark .market-eyebrow { color: #dbc393; }
@media (max-width: 767px) {
    .market-timeline { padding-left: 22px; }
    .market-timeline li { padding-left: 8px; }
    .market-timeline li::before { left: -29px; }
    .market-timeline h3 { font-size: 20px; }
}
.marketplace .market-section-label { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.35; letter-spacing: .04em; text-transform: none; margin-bottom: 18px; }
