/* Search landing page — follows the homepage and bookmaker page visual system. */
.bo-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(68px, 9vw, 104px) 0 28px;
}

.bo-hero::before {
    position: absolute;
    inset: 0;
    z-index: -1;
    content: "";
    background:
        radial-gradient(circle at 50% 30%, rgba(85, 191, 250, 0.1), transparent 34%),
        linear-gradient(118deg, transparent 22%, rgba(85, 191, 250, 0.05) 22.1%, transparent 22.4%),
        linear-gradient(65deg, transparent 72%, rgba(85, 191, 250, 0.04) 72.1%, transparent 72.4%);
    pointer-events: none;
}

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

.bo-hero-copy h1,
.bo-kicker {
    width: fit-content;
    margin: 0;
    color: var(--muted);
    font-size: 0.98rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.bo-hero-copy h1 {
    padding-bottom: 8px;
    border-bottom: 2px solid rgba(85, 191, 250, 0.65);
}

.bo-hero-copy h2 {
    max-width: 900px;
    margin: 20px 0 0;
    font-size: clamp(3.25rem, 6.6vw, 6rem);
    line-height: 0.99;
    letter-spacing: -0.058em;
    text-wrap: balance;
}

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

.bo-hero-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 22px;
    color: var(--muted);
    font-weight: 650;
}

.bo-hero-links a,
.bo-section-heading a,
.bo-choice-links a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    color: var(--accent);
    text-decoration: underline;
    text-decoration-color: rgba(85, 191, 250, 0.42);
    text-underline-offset: 5px;
}

.bo-hero-copy > .button {
    min-height: 48px;
    margin-top: 10px;
    padding-inline: 20px;
}

.bo-hero-copy .bo-hero-note {
    margin: 12px 0 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.bo-code-section {
    padding: 26px 0 clamp(62px, 8vw, 88px);
}

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

.bo-code-window pre {
    height: 420px;
    margin: 0;
    overflow: auto;
    white-space: pre-wrap;
}

.bo-code-status {
    color: #8ef7d2;
    font-family: var(--font-mono);
    font-size: 0.75rem;
}

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

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

.bo-proof-grid > div {
    display: grid;
    gap: 4px;
    min-height: 112px;
    padding: 26px 30px;
    align-content: center;
    border-left: 1px solid rgba(255, 255, 255, 0.09);
}

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

.bo-proof-grid strong {
    font-size: 1.2rem;
    letter-spacing: -0.03em;
}

.bo-proof-grid span {
    color: var(--muted);
    font-size: 0.93rem;
}

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

.bo-section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 40px;
}

.bo-section h2,
.bo-final-cta h2 {
    margin: 0;
    font-size: clamp(2.2rem, 4.5vw, 4.4rem);
    line-height: 1.02;
    letter-spacing: -0.052em;
    text-wrap: balance;
}

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

.bo-choice-heading {
    display: grid;
    justify-items: center;
    max-width: 900px;
    margin: 0 auto 48px;
    text-align: center;
}

.bo-choice-heading > p {
    width: fit-content;
    margin: 0;
    padding-bottom: 8px;
    border-bottom: 2px solid rgba(85, 191, 250, 0.65);
    color: var(--muted);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.bo-choice-heading h2 {
    margin: 20px 0 0;
    color: var(--text);
    font-family: var(--font-heading);
    font-size: clamp(3rem, 6vw, 5.6rem);
    font-weight: 700;
    letter-spacing: -0.058em;
    line-height: 0.98;
    text-wrap: balance;
}

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

.bo-signal-flow li {
    display: grid;
    align-content: start;
    gap: 5px;
    min-height: 190px;
    padding: 28px;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.bo-signal-flow li:last-child {
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.bo-signal-number {
    margin-bottom: 28px;
    color: var(--accent);
    font-family: var(--font-mono);
    font-size: 0.78rem;
}

.bo-signal-label,
.bo-signal-note,
.bo-fit-line span {
    color: var(--muted);
    font-size: 0.88rem;
}

.bo-signal-flow strong {
    font-size: 1.2rem;
    letter-spacing: -0.025em;
    line-height: 1.35;
}

.bo-signal-note {
    line-height: 1.45;
}

.bo-fit-line {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.bo-fit-line > div {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 18px;
    align-items: baseline;
    padding: 24px 28px;
}

.bo-fit-line > div + div {
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.bo-fit-line strong {
    font-size: 0.96rem;
    line-height: 1.5;
}

.bo-tool-rail {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    min-height: 68px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--muted);
    font-size: 0.9rem;
}

.bo-tool-rail strong {
    margin-right: 8px;
    color: var(--text);
}

.bo-tool-rail span + span::before {
    margin-right: 16px;
    color: rgba(255, 255, 255, 0.25);
    content: "/";
}

.bo-choice-links {
    justify-content: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    margin-top: 18px;
    font-weight: 650;
}

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

.bo-region-row {
    display: grid;
    grid-template-columns: minmax(180px, 0.8fr) 150px minmax(0, 2fr);
    gap: 32px;
    align-items: center;
    min-height: 100px;
    padding: 20px 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 {
    font-size: 1.22rem;
}

.bo-region-row strong {
    color: var(--accent);
    font-family: var(--font-mono);
    font-size: 0.82rem;
    font-weight: 650;
    text-transform: uppercase;
}

.bo-region-row p {
    color: var(--muted);
    line-height: 1.55;
}

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

.bo-product-grid,
.bo-faq-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
    gap: clamp(56px, 9vw, 128px);
    align-items: start;
}

.bo-product-copy {
    position: static;
}

.bo-product-copy h2,
.bo-faq h2 {
    margin-top: 16px;
}

.bo-product-copy > p:last-child {
    max-width: 520px;
    margin: 24px 0 0;
    color: var(--muted);
    font-size: 1.04rem;
    line-height: 1.65;
}

.bo-endpoint-list {
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.bo-endpoint-list li {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 18px;
    padding: 28px 0 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.bo-endpoint-list li > span {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    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 {
    margin-bottom: 10px;
    font-size: 1.18rem;
}

.bo-endpoint-list code {
    display: block;
    overflow: hidden;
    margin-bottom: 12px;
    color: #8ef7d2;
    font-size: 0.8rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

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

.bo-faq {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.018);
}

.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: 24px;
    right: 4px;
    content: "+";
    color: var(--accent);
    font-size: 1.45rem;
    font-weight: 400;
    line-height: 1;
}

.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;
}

.bo-final-cta {
    padding: clamp(72px, 9vw, 112px) 0;
    border-top: 1px solid rgba(85, 191, 250, 0.2);
}

.bo-final-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 36px;
}

.bo-final-cta p {
    margin: 12px 0 0;
    color: var(--muted);
    font-size: 1rem;
}

.bo-final-cta .button {
    min-height: 50px;
    flex: 0 0 auto;
}

@media (max-width: 900px) {
    .bo-proof-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bo-proof-grid > div:nth-child(3) {
        border-top: 1px solid rgba(255, 255, 255, 0.09);
    }

    .bo-proof-grid > div:nth-child(4) {
        border-top: 1px solid rgba(255, 255, 255, 0.09);
        border-left: 1px solid rgba(255, 255, 255, 0.09);
    }

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

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

    .bo-signal-flow li:nth-child(3),
    .bo-signal-flow li:nth-child(4) {
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .bo-signal-flow li:nth-child(odd) {
        border-left: 0;
    }

    .bo-signal-flow li:last-child {
        border-right: 0;
    }

}

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

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

    .bo-hero-copy h2 {
        margin-top: 18px;
        font-size: clamp(2.65rem, 13vw, 3.7rem);
        line-height: 1;
    }

    .bo-hero-copy > p:not(.bo-hero-note) {
        margin-top: 20px;
        text-wrap: pretty;
    }

    .bo-hero-links {
        justify-content: flex-start;
        margin-top: 16px;
    }

    .bo-hero-copy > .button {
        width: 100%;
    }

    .bo-code-section {
        padding-top: 18px;
        padding-bottom: 52px;
    }

    .bo-code-window pre {
        height: 350px;
    }

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

    .bo-proof-grid > div {
        min-height: 94px;
        padding: 20px 16px;
    }

    .bo-proof-grid > div:nth-child(odd) {
        border-left: 0;
    }

    .bo-proof-grid > div:nth-child(even) {
        border-right: 0;
    }

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

    .bo-section-heading {
        display: grid;
        gap: 10px;
        margin-bottom: 30px;
    }

    .bo-section h2,
    .bo-final-cta h2 {
        font-size: clamp(2.2rem, 11vw, 3.1rem);
    }

    .bo-choice-heading {
        justify-items: start;
        margin-bottom: 34px;
        text-align: left;
    }

    .bo-choice-heading > p {
        font-size: 0.94rem;
    }

    .bo-choice-heading h2 {
        font-size: clamp(2.75rem, 14vw, 3.8rem);
    }

    .bo-region-row {
        grid-template-columns: 1fr auto;
        gap: 8px 20px;
        min-height: 0;
        padding: 22px 0;
    }

    .bo-signal-flow li {
        min-height: 158px;
        padding: 20px 16px;
    }

    .bo-signal-number {
        margin-bottom: 16px;
    }

    .bo-signal-flow strong {
        font-size: 1.05rem;
    }

    .bo-fit-line {
        grid-template-columns: 1fr;
    }

    .bo-fit-line > div {
        grid-template-columns: 80px minmax(0, 1fr);
        padding: 20px 0;
    }

    .bo-fit-line > div + div {
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        border-left: 0;
    }

    .bo-tool-rail {
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 8px 12px;
        padding: 18px 0;
    }

    .bo-tool-rail strong {
        flex-basis: 100%;
    }

    .bo-tool-rail span + span::before {
        margin-right: 12px;
    }

    .bo-region-row p {
        grid-column: 1 / -1;
        font-size: 0.94rem;
    }

    .bo-endpoint-list li {
        grid-template-columns: 36px minmax(0, 1fr);
        gap: 14px;
    }

    .bo-endpoint-list li > span {
        width: 32px;
        height: 32px;
    }

    .bo-final-cta-inner {
        display: grid;
    }

    .bo-final-cta .button {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bo-hero-links a,
    .bo-section-heading a,
    .bo-choice-links a {
        scroll-behavior: auto;
    }
}
