/* Global commercial landing page. Uses the existing odds-api visual system. */
.bo-hero {
    padding: clamp(64px, 8vw, 96px) 0 clamp(48px, 6vw, 72px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.bo-hero-copy {
    display: grid;
    justify-items: center;
    max-width: 960px;
    text-align: center;
}

.bo-hero-copy h1 {
    max-width: 920px;
    margin: 0;
    color: var(--text);
    font-size: clamp(3rem, 6.4vw, 5.6rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.058em;
    text-wrap: balance;
}

.bo-hero-copy > p {
    max-width: 680px;
    margin: 22px 0 0;
    color: var(--muted);
    font-size: clamp(1rem, 1.4vw, 1.14rem);
    line-height: 1.65;
    text-wrap: balance;
}

.bo-hero-links {
    display: flex;
    gap: 8px 24px;
    justify-content: center;
    margin-top: 14px;
}

.bo-hero-links a,
.bo-code-heading a,
.bo-logo-heading a,
.bo-section-heading a,
.bo-region-row a,
.bo-fields-copy a,
.bo-delivery-links a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--accent);
    font-weight: 650;
    text-decoration: underline;
    text-decoration-color: rgba(85, 191, 250, 0.38);
    text-underline-offset: 5px;
}

.bo-hero-links a:focus-visible,
.bo-code-heading a:focus-visible,
.bo-logo-heading a:focus-visible,
.bo-section-heading a:focus-visible,
.bo-region-row a:focus-visible,
.bo-fields-copy a:focus-visible,
.bo-delivery-links a:focus-visible,
.bo-tool-grid a:focus-visible,
.bo-faq-list summary:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 4px;
}

.bo-code-section {
    padding: clamp(52px, 7vw, 84px) 0;
}

.bo-code-heading,
.bo-logo-heading,
.bo-section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 34px;
}

.bo-code-heading h2,
.bo-logo-heading h2,
.bo-section h2,
.bo-commercial h2 {
    margin: 0;
    font-size: clamp(2.3rem, 4.5vw, 4.2rem);
    line-height: 1.02;
    letter-spacing: -0.052em;
    text-wrap: balance;
}

.bo-code-heading p,
.bo-logo-heading p,
.bo-section-heading p,
.bo-split-heading > div:first-child > p,
.bo-fields-copy > p,
.bo-faq-grid > div:first-child > p {
    max-width: 650px;
    margin: 14px 0 0;
    color: var(--muted);
    line-height: 1.65;
}

.bo-code-window {
    overflow: hidden;
    border-color: rgba(85, 191, 250, 0.25);
    background: #080b0d;
    box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.bo-code-window pre {
    height: auto;
    max-height: none;
    margin: 0;
    overflow: visible;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.bo-code-window pre code {
    min-height: 0;
    white-space: inherit;
}

.bo-code-status {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 9px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    color: var(--muted);
    font-family: var(--font-mono);
    font-size: 0.7rem;
}

.bo-code-status.is-live {
    border-color: rgba(93, 218, 176, 0.35);
    color: #8ef7d2;
}

.bo-proof {
    border-top: 1px solid rgba(255, 255, 255, 0.09);
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
    background: rgba(255, 255, 255, 0.018);
}

.bo-proof-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.bo-proof-grid article {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 16px;
    min-height: 142px;
    align-items: center;
    padding: 28px;
    border-left: 1px solid rgba(255, 255, 255, 0.09);
}

.bo-proof-grid article:last-child {
    border-right: 1px solid rgba(255, 255, 255, 0.09);
}

.bo-proof-icon,
.bo-tool-icon,
.bo-use-case-icon {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    color: var(--accent);
}

.bo-proof-icon svg,
.bo-tool-icon svg,
.bo-use-case-icon svg {
    width: 28px;
    height: 28px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

.bo-proof-grid h2,
.bo-proof-grid p {
    margin: 0;
}

.bo-proof-grid h2 {
    font-size: 1.1rem;
    letter-spacing: -0.025em;
}

.bo-proof-grid p {
    margin-top: 7px;
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.5;
}

.bo-section {
    padding: clamp(72px, 9vw, 108px) 0;
}

.bo-coverage,
.bo-delivery,
.bo-faq {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.bo-delivery {
    background: rgba(255, 255, 255, 0.018);
}

.bo-delivery-list {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.bo-delivery-list article {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) minmax(150px, auto);
    gap: 22px;
    align-items: center;
    min-height: 132px;
    padding: 24px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.bo-delivery-icon {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    color: var(--accent);
}

.bo-delivery-icon svg {
    width: 28px;
    height: 28px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

.bo-delivery-list h3,
.bo-delivery-list p {
    margin: 0;
}

.bo-delivery-list h3 {
    font-size: 1.15rem;
    letter-spacing: -0.025em;
}

.bo-delivery-list p {
    max-width: 760px;
    margin-top: 8px;
    color: var(--muted);
    line-height: 1.55;
}

.bo-delivery-list code {
    justify-self: end;
    color: #8ef7d2;
    font-size: 0.8rem;
}

.bo-delivery-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 28px;
    margin-top: 18px;
}

.bo-region-list {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.bo-region-row {
    display: grid;
    grid-template-columns: minmax(190px, 0.8fr) minmax(0, 1.7fr) minmax(150px, auto);
    gap: 30px;
    align-items: center;
    min-height: 146px;
    padding: 26px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.bo-region-row h3,
.bo-region-row p {
    margin: 0;
}

.bo-region-row h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.25rem;
    letter-spacing: -0.025em;
}

.bo-region-flag {
    display: block;
    width: 34px;
    height: 24px;
    flex: 0 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--muted);
    object-fit: cover;
}

.bo-region-row div > span {
    display: block;
    margin-top: 5px;
    color: var(--muted);
    font-size: 0.84rem;
}

.bo-region-coverage p {
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.55;
}

.bo-region-more {
    min-height: 1.55em;
}

.bo-region-more[hidden] {
    display: none;
}

.bo-region-coverage {
    display: grid;
    gap: 12px;
}

.bo-region-logo-row {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    max-width: 440px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.bo-region-logo-row a {
    display: grid;
    min-width: 0;
    min-height: 58px;
    place-items: center;
    padding: 8px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text);
    text-decoration: none;
}

.bo-region-logo-row a:hover {
    background: rgba(255, 255, 255, 0.025);
}

.bo-region-logo-row img {
    display: block;
    width: auto;
    max-width: 62px;
    height: auto;
    max-height: 32px;
    object-fit: contain;
}

.bo-region-logo-row a > span {
    display: none;
    font-size: 0.72rem;
    font-weight: 700;
    text-align: center;
}

.bo-region-logo-row a.is-missing-logo > span {
    display: block;
}

.bo-region-row > a {
    justify-self: end;
    gap: 8px;
    white-space: nowrap;
}

.bo-developer,
.bo-integration {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.018);
}

.bo-split-heading,
.bo-fields-grid,
.bo-faq-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(520px, 1.2fr);
    gap: clamp(54px, 8vw, 112px);
    align-items: start;
}

.bo-agent-tools {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.018);
}

.bo-pricing .plan-grid-home {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.bo-agent-tool-grid a {
    color: var(--text);
    text-decoration: none;
}

.bo-agent-tool-grid a:hover {
    border-color: rgba(85, 191, 250, 0.34);
}

.bo-agent-tool-grid h3 {
    margin: 5px 0 0;
    font-size: 1rem;
}

.bo-endpoint-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0;
    padding: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    border-left: 1px solid rgba(255, 255, 255, 0.14);
    list-style: none;
}

.bo-endpoint-list li {
    min-height: 248px;
    padding: 28px;
    border-right: 1px solid rgba(255, 255, 255, 0.14);
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.bo-step-number {
    display: inline-grid;
    place-items: center;
    width: 36px;
    height: 36px;
    margin-bottom: 32px;
    border: 1px solid rgba(85, 191, 250, 0.36);
    border-radius: 50%;
    color: var(--accent);
    font-family: var(--font-mono);
    font-size: 0.74rem;
}

.bo-endpoint-list h3,
.bo-endpoint-list p {
    margin: 0;
}

.bo-endpoint-list h3 {
    font-size: 1.16rem;
}

.bo-endpoint-list code {
    display: block;
    margin-top: 12px;
    overflow-wrap: anywhere;
    color: #8ef7d2;
    font-size: 0.78rem;
    line-height: 1.5;
}

.bo-endpoint-list p {
    margin-top: 14px;
    color: var(--muted);
    line-height: 1.55;
}

.bo-use-case-heading {
    margin: clamp(58px, 7vw, 82px) 0 30px;
}

.bo-use-case-heading h2 {
    font-size: clamp(2.25rem, 4vw, 3.7rem);
}

.bo-use-case-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.bo-use-case-grid article {
    min-height: 220px;
    padding: 26px;
    border-right: 1px solid rgba(255, 255, 255, 0.14);
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.bo-use-case-grid h3,
.bo-use-case-grid p {
    margin: 0;
}

.bo-use-case-grid h3 {
    margin-top: 30px;
    font-size: 1.08rem;
}

.bo-use-case-grid p {
    margin-top: 10px;
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.55;
}

.bo-league-showcase {
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.bo-league-logo-grid {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.bo-league-logo-grid article {
    display: grid;
    min-height: 142px;
    place-items: center;
    align-content: center;
    gap: 12px;
    padding: 16px;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.bo-league-logo-grid img {
    display: block;
    width: auto;
    max-width: 86px;
    height: auto;
    max-height: 70px;
    object-fit: contain;
}

.bo-league-logo-grid .force-white-logo {
    filter: brightness(0) invert(1);
}

.bo-league-logo-grid span {
    color: var(--muted);
    font-size: 0.82rem;
    text-align: center;
}

.bo-commercial {
    padding: clamp(62px, 8vw, 88px) 0;
    border-bottom: 1px solid rgba(85, 191, 250, 0.22);
}

.bo-commercial-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 52px;
    align-items: center;
}

.bo-commercial p {
    max-width: 760px;
    margin: 18px 0 0;
    color: var(--muted);
    line-height: 1.65;
}

.bo-commercial nav {
    display: flex;
    gap: 10px;
}

.bo-faq-list {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.bo-faq-list details {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.bo-faq-list summary {
    position: relative;
    min-height: 72px;
    padding: 24px 48px 24px 0;
    color: var(--text);
    font-size: 1.03rem;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
}

.bo-faq-list summary::-webkit-details-marker {
    display: none;
}

.bo-faq-list summary::after {
    position: absolute;
    top: 23px;
    right: 4px;
    color: var(--accent);
    content: "+";
    font-size: 1.4rem;
    font-weight: 400;
}

.bo-faq-list details[open] summary::after {
    content: "−";
}

.bo-faq-list p {
    max-width: 700px;
    margin: -4px 0 24px;
    color: var(--muted);
    line-height: 1.65;
}

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

    .bo-proof-grid article {
        min-height: 110px;
        border-right: 1px solid rgba(255, 255, 255, 0.09);
        border-bottom: 1px solid rgba(255, 255, 255, 0.09);
    }

    .bo-split-heading,
    .bo-fields-grid,
    .bo-faq-grid {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .bo-use-case-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bo-league-logo-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .bo-commercial-inner {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .bo-pricing .plan-grid-home {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .bo-hero {
        padding-top: 48px;
    }

    .bo-hero-copy {
        justify-items: start;
        text-align: left;
    }

    .bo-hero-copy h1 {
        font-size: clamp(2.65rem, 12vw, 3.65rem);
        letter-spacing: -0.052em;
    }

    .bo-hero-copy > p {
        text-wrap: pretty;
    }

    .bo-hero-links {
        justify-content: flex-start;
    }

    .bo-code-heading,
    .bo-logo-heading,
    .bo-section-heading {
        display: grid;
        align-items: start;
        gap: 8px;
    }

    .bo-code-heading h2,
    .bo-logo-heading h2,
    .bo-section h2,
    .bo-commercial h2 {
        font-size: clamp(2.25rem, 11vw, 3.1rem);
    }

    .bo-code-window pre {
        font-size: 0.76rem;
    }

    .bo-code-status {
        display: none;
    }

    .bo-proof-grid article {
        padding: 22px 18px;
    }

    .bo-section {
        padding-block: 64px;
    }

    .bo-delivery-list article {
        grid-template-columns: 40px minmax(0, 1fr);
        gap: 14px;
        min-height: 0;
        padding: 22px 0;
    }

    .bo-delivery-list code {
        grid-column: 2;
        justify-self: start;
    }

    .bo-region-row {
        grid-template-columns: 1fr;
        gap: 12px;
        min-height: 0;
        padding: 24px 0;
    }

    .bo-region-row > a {
        justify-self: start;
    }

    .bo-region-logo-row {
        max-width: none;
    }

    .bo-region-logo-row a {
        min-height: 56px;
        padding: 6px;
    }

    .bo-region-logo-row img {
        max-width: 52px;
        max-height: 28px;
    }

    .bo-endpoint-list,
    .bo-use-case-grid {
        grid-template-columns: 1fr;
    }

    .bo-endpoint-list li {
        min-height: 0;
        padding: 24px 20px 28px;
    }

    .bo-step-number {
        margin-bottom: 22px;
    }

    .bo-use-case-grid article {
        min-height: 0;
        padding: 24px 20px 28px;
    }

    .bo-use-case-grid h3 {
        margin-top: 20px;
    }

    .bo-league-logo-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bo-league-logo-grid article {
        min-height: 124px;
    }

    .bo-commercial nav {
        display: grid;
    }

    .bo-pricing .plan-grid-home {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bo-agent-tool-grid a {
        transition: none;
    }
}
