:root {
    --ink: #0b1526;
    --ink-soft: #526174;
    --navy: #09111f;
    --panel: #111d30;
    --line: #dbe3ed;
    --surface: #f5f8fb;
    --white: #ffffff;
    --accent: #2f67f6;
    --accent-dark: #1f4ed0;
    --mint: #62e3b1;
    --radius: 22px;
    --shadow: 0 24px 70px rgba(9, 17, 31, .11);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--white);
    color: var(--ink);
    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    line-height: 1.55;
}

a {
    color: inherit;
}

.shell {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.narrow {
    max-width: 850px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(219, 227, 237, .75);
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(18px);
}

.header-inner {
    min-height: 76px;
    display: flex;
    align-items: center;
    gap: 34px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    text-decoration: none;
    font-size: 21px;
    font-weight: 800;
    letter-spacing: -.03em;
}

.brand-mark {
    width: 29px;
    height: 29px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3px;
    padding: 5px;
    border-radius: 8px;
    background: var(--navy);
    transform: rotate(-8deg);
}

.brand-mark span {
    display: block;
    align-self: end;
    border-radius: 3px;
    background: var(--mint);
}

.brand-mark span:nth-child(1) {
    height: 40%;
}

.brand-mark span:nth-child(2) {
    height: 70%;
}

.brand-mark span:nth-child(3) {
    height: 100%;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-left: auto;
}

.main-nav a,
.language-switch {
    text-decoration: none;
    color: #344256;
    font-size: 14px;
    font-weight: 650;
}

.main-nav a:hover,
.language-switch:hover {
    color: var(--accent);
}

.language-switch {
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
}

.hero {
    overflow: hidden;
    padding: 96px 0 90px;
    background:
        radial-gradient(circle at 85% 10%, rgba(47, 103, 246, .12), transparent 26%),
        linear-gradient(180deg, #fbfdff, #fff);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.02fr .98fr;
    align-items: center;
    gap: 74px;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 16px;
    color: var(--accent);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.hero h1,
.page-hero h1 {
    margin: 0;
    max-width: 760px;
    font-size: clamp(45px, 6.2vw, 76px);
    line-height: .99;
    letter-spacing: -.055em;
}

.hero-lead,
.page-hero p {
    max-width: 690px;
    margin: 25px 0 0;
    color: var(--ink-soft);
    font-size: clamp(18px, 2vw, 21px);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 20px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 750;
}

.button-primary {
    color: white;
    background: var(--accent);
    box-shadow: 0 12px 30px rgba(47, 103, 246, .22);
}

.button-primary:hover {
    background: var(--accent-dark);
}

.button-secondary {
    border: 1px solid var(--line);
    background: white;
}

.foundation-status {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 24px;
    color: #657287;
    font-size: 13px;
    font-weight: 650;
}

.foundation-status.centered {
    justify-content: center;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #20b77a;
    box-shadow: 0 0 0 5px rgba(32, 183, 122, .10);
}

.probability-panel {
    padding: 26px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 26px;
    background: var(--navy);
    color: white;
    box-shadow: 0 34px 80px rgba(9, 17, 31, .22);
}

.panel-head,
.prob-row > div:first-child {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.panel-head {
    margin-bottom: 26px;
    font-weight: 750;
}

.live-pill {
    padding: 6px 9px;
    border-radius: 999px;
    background: rgba(98, 227, 177, .12);
    color: var(--mint);
    font-size: 10px;
    letter-spacing: .08em;
}

.prob-row {
    margin-top: 20px;
}

.prob-row strong {
    font-size: 14px;
}

.prob-row span {
    color: #d9e3f0;
    font-weight: 750;
}

.prob-track {
    height: 8px;
    margin-top: 9px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, .10);
}

.prob-track i {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--accent), var(--mint));
}

.mini-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 25px;
}

.mini-grid div {
    padding: 16px;
    border-radius: 15px;
    background: rgba(255, 255, 255, .06);
}

.mini-grid small,
.mini-grid strong {
    display: block;
}

.mini-grid small {
    color: #94a4ba;
}

.mini-grid strong {
    margin-top: 4px;
    font-size: 24px;
}

.illustration-note {
    margin: 18px 0 0;
    color: #7f90a8;
    font-size: 11px;
}

.section {
    padding: 88px 0;
}

.section-heading {
    max-width: 710px;
    margin-bottom: 38px;
}

.section-heading.narrow {
    max-width: 760px;
}

.section-heading h2 {
    margin: 0;
    font-size: clamp(34px, 4vw, 48px);
    line-height: 1.08;
    letter-spacing: -.045em;
}

.section-heading p {
    color: var(--ink-soft);
    font-size: 18px;
}

.market-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.market-card {
    padding: 24px;
    min-height: 270px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: white;
    box-shadow: 0 10px 35px rgba(9, 17, 31, .045);
}

.market-card h3 {
    margin: 26px 0 9px;
    font-size: 22px;
    letter-spacing: -.025em;
}

.market-card p {
    margin: 0;
    color: var(--ink-soft);
}

.market-icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    color: var(--accent);
    background: rgba(47, 103, 246, .08);
    font-size: 13px;
    font-weight: 850;
}

.muted-card {
    background: var(--surface);
}

.section-dark {
    background: var(--navy);
    color: white;
}

.section-heading.light p,
.section-dark p {
    color: #94a4ba;
}

.principle-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.principle-grid article {
    padding: 26px;
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .035);
}

.principle-grid article > span {
    color: var(--mint);
    font-size: 12px;
    font-weight: 800;
}

.principle-grid h3 {
    margin: 34px 0 10px;
    font-size: 22px;
}

.page-hero {
    padding: 88px 0 55px;
    background: var(--surface);
}

.page-hero h1 {
    font-size: clamp(42px, 5vw, 66px);
}

.empty-state {
    padding: 60px 30px;
    text-align: center;
    border: 1px dashed #c9d4e2;
    border-radius: var(--radius);
    background: var(--surface);
}

.empty-state h2 {
    margin: 18px 0 10px;
}

.empty-state p {
    max-width: 650px;
    margin: 0 auto;
    color: var(--ink-soft);
}

.empty-icon {
    width: 60px;
    height: 60px;
    display: grid;
    place-items: center;
    margin: 0 auto;
    border-radius: 18px;
    color: white;
    background: var(--accent);
    font-size: 25px;
    font-weight: 850;
}

.method-list {
    display: grid;
    gap: 14px;
}

.method-list article {
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 22px;
    padding: 27px;
    border: 1px solid var(--line);
    border-radius: 18px;
}

.method-list article > span {
    color: var(--accent);
    font-size: 13px;
    font-weight: 850;
}

.method-list h2 {
    margin: 0 0 7px;
    font-size: 21px;
}

.method-list p {
    margin: 0;
    color: var(--ink-soft);
}

.site-footer {
    padding: 32px 0;
    border-top: 1px solid var(--line);
    color: #718095;
    font-size: 13px;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

@media (max-width: 900px) {
    .hero {
        padding-top: 64px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 44px;
    }

    .market-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 680px) {
    .shell {
        width: min(100% - 28px, 1180px);
    }

    .header-inner {
        min-height: 66px;
        gap: 14px;
    }

    .main-nav {
        display: none;
    }

    .language-switch {
        margin-left: auto;
    }

    .hero {
        padding: 50px 0 58px;
    }

    .hero h1,
    .page-hero h1 {
        font-size: 43px;
    }

    .hero-lead {
        font-size: 18px;
    }

    .hero-actions {
        display: grid;
    }

    .button {
        width: 100%;
    }

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

    .market-card {
        min-height: 0;
    }

    .section {
        padding: 62px 0;
    }

    .page-hero {
        padding: 58px 0 38px;
    }

    .method-list article {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .footer-inner {
        flex-direction: column;
    }
}

/* Certified real-data publication cards */

.compact-real-hero {
    padding-bottom: 72px;
}

.real-hero-copy {
    max-width: 850px;
}

.fixture-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.fixture-card {
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: 0 12px 38px rgba(9, 17, 31, .055);
}

.fixture-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.competition-name {
    color: var(--ink-soft);
    font-size: 13px;
    font-weight: 750;
}

.certified-pill {
    flex: 0 0 auto;
    padding: 5px 8px;
    border-radius: 999px;
    color: #157752;
    background: rgba(32, 183, 122, .10);
    font-size: 9px;
    font-weight: 850;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.fixture-teams {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 13px;
    margin-top: 25px;
}

.fixture-teams strong {
    font-size: 18px;
    line-height: 1.25;
}

.fixture-teams strong:last-child {
    text-align: right;
}

.fixture-teams span {
    color: #9aa7b7;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.kickoff {
    margin-top: 11px;
    color: var(--ink-soft);
    font-size: 12px;
}

.probability-three,
.binary-market-grid {
    display: grid;
    gap: 8px;
    margin-top: 20px;
}

.probability-three {
    grid-template-columns: repeat(3, 1fr);
}

.binary-market-grid {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 8px;
}

.probability-three div,
.binary-market-grid div {
    padding: 13px;
    border-radius: 13px;
    background: var(--surface);
}

.probability-three span,
.binary-market-grid span {
    display: block;
    color: var(--ink-soft);
    font-size: 11px;
    font-weight: 700;
}

.probability-three strong,
.binary-market-grid strong {
    display: block;
    margin-top: 3px;
    font-size: 20px;
    letter-spacing: -.025em;
}

.private-preview-warning {
    margin-bottom: 22px;
    padding: 15px 17px;
    border: 1px solid #efd08d;
    border-radius: 13px;
    background: #fff8e8;
    color: #72531b;
    font-size: 13px;
    line-height: 1.55;
}

.section-action {
    margin-top: 28px;
}

@media (max-width: 760px) {
    .fixture-grid {
        grid-template-columns: 1fr;
    }

    .fixture-card-head {
        display: block;
    }

    .certified-pill {
        display: inline-block;
        margin-top: 8px;
    }

    .fixture-teams strong {
        font-size: 16px;
    }
}

/* ScoreProb compact sticky navigation v2 */
.site-header {
    z-index: 60;
}

.header-inner {
    min-height: 52px;
    gap: 22px;
}

.brand {
    font-size: 18px;
}

.brand-mark {
    width: 25px;
    height: 25px;
    padding: 4px;
    border-radius: 7px;
}

.main-nav {
    gap: 20px;
}

.language-options {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 3px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
}

.language-options a {
    min-width: 31px;
    padding: 5px 7px;
    border-radius: 999px;
    color: #667085;
    text-align: center;
    text-decoration: none;
    font-size: 10px;
    font-weight: 850;
    line-height: 1;
}

.language-options a.is-active {
    background: var(--navy);
    color: #fff;
}

@media (max-width: 760px) {
    .shell {
        width: min(100% - 16px, 1180px);
    }

    .header-inner {
        min-height: 52px;
        gap: 10px;
    }

    .brand {
        gap: 8px;
        font-size: 16px;
    }

    .brand-mark {
        width: 24px;
        height: 24px;
    }

    .main-nav {
        display: none;
    }

    .language-options {
        margin-left: auto;
    }

    .site-footer {
        margin-top: 0;
    }
}

@media (max-width: 760px) {
    .main-nav {
        display: flex;
        margin-left: auto;
        gap: 0;
    }

    .main-nav a {
        display: none;
    }

    .main-nav a:nth-child(3) {
        display: inline-flex;
        align-items: center;
        min-height: 28px;
        padding: 0 7px;
        border-radius: 8px;
        color: #475467;
        font-size: 10px;
        font-weight: 800;
    }

    .language-options {
        margin-left: 0;
    }

    body {
        overflow-x: hidden;
    }
}


/* ScoreProb theme toggle + dark shell v3 */
.theme-toggle {
    flex: 0 0 auto;
    display: inline-grid;
    width: 34px;
    height: 34px;
    place-items: center;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    color: #344256;
    font: inherit;
    cursor: pointer;
}

.theme-toggle-icon {
    font-size: 16px;
    line-height: 1;
}

html[data-theme="dark"] {
    color-scheme: dark;
}

html[data-theme="dark"] body {
    background: #0b1220;
    color: #eef4ff;
}

html[data-theme="dark"] .site-header {
    border-color: rgba(70,88,116,.75);
    background: rgba(11,18,32,.95);
}

html[data-theme="dark"] .main-nav a {
    color: #cbd7e8;
}

html[data-theme="dark"] .language-options,
html[data-theme="dark"] .theme-toggle {
    border-color: #35445b;
    background: #131d2d;
    color: #e8eef8;
}

html[data-theme="dark"] .language-options a {
    color: #b7c4d6;
}

html[data-theme="dark"] .language-options a.is-active {
    background: #dce7fa;
    color: #0a1322;
}

html[data-theme="dark"] .site-footer {
    border-color: #2d3b50;
    background: #0e1726;
    color: #aab8ca;
}

@media (max-width: 760px) {
    .theme-toggle {
        width: 30px;
        height: 30px;
    }

    .theme-toggle-icon {
        font-size: 14px;
    }
}


/* ScoreProb multilingual selector v1 */
.language-select-wrap {
    flex: 0 0 auto;
    position: relative;
    display: inline-flex;
    align-items: center;
}

.language-select {
    min-width: 58px;
    height: 34px;
    padding: 0 24px 0 9px;
    border: 1px solid var(--line);
    border-radius: 999px;
    outline: 0;
    background:
        linear-gradient(45deg, transparent 50%, #667085 50%)
            calc(100% - 12px) 13px / 5px 5px no-repeat,
        linear-gradient(135deg, #667085 50%, transparent 50%)
            calc(100% - 8px) 13px / 5px 5px no-repeat,
        #fff;
    color: #344256;
    appearance: none;
    font: inherit;
    font-size: 11px;
    font-weight: 850;
    letter-spacing: .02em;
    cursor: pointer;
}

.language-select:focus {
    border-color: #6f8df0;
    box-shadow: 0 0 0 3px rgba(47,91,218,.10);
}

html[data-theme="dark"] .language-select {
    border-color: #35445b;
    background:
        linear-gradient(45deg, transparent 50%, #a8b6ca 50%)
            calc(100% - 12px) 13px / 5px 5px no-repeat,
        linear-gradient(135deg, #a8b6ca 50%, transparent 50%)
            calc(100% - 8px) 13px / 5px 5px no-repeat,
        #131d2d;
    color: #e8eef8;
}

@media (max-width: 760px) {
    .language-select {
        min-width: 52px;
        height: 30px;
        padding-left: 7px;
        padding-right: 20px;
        background-position:
            calc(100% - 10px) 11px,
            calc(100% - 6px) 11px,
            0 0;
        font-size: 10px;
    }
}

/* ===== ScoreProb site shell v4: skip link, focus, nav, footer ===== */
.skip-link { position: absolute; top: -64px; left: 12px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--navy); color: #fff; font-weight: 700; text-decoration: none; transition: top .15s; }
.skip-link:focus { top: 10px; }
main:focus { outline: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
html[data-theme="dark"] :focus-visible { outline-color: #8fb0ff; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

.main-nav a.is-current { color: var(--accent-dark); font-weight: 800; }
html[data-theme="dark"] .main-nav a.is-current { color: #9fb7ff; }
.main-nav a.nav-cta { padding: 7px 14px; border-radius: 999px; background: var(--accent); color: #fff !important; font-weight: 800; }
.main-nav a.nav-cta:hover { background: var(--accent-dark); }
html[data-theme="dark"] .main-nav a.nav-cta { background: #7397ff; color: #0b1220 !important; }

.language-select { min-width: 100px; }

.mobile-menu { display: none; }

@media (max-width: 760px) {
    .main-nav { display: none !important; }
    .mobile-menu { display: block; margin-left: auto; }
    .mobile-menu summary { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; list-style: none; }
    .mobile-menu summary::-webkit-details-marker { display: none; }
    .mobile-menu-icon { position: relative; display: block; width: 16px; height: 2px; border-radius: 2px; background: #344256; }
    .mobile-menu-icon::before, .mobile-menu-icon::after { content: ""; position: absolute; left: 0; width: 16px; height: 2px; border-radius: 2px; background: inherit; }
    .mobile-menu-icon::before { top: -5px; }
    .mobile-menu-icon::after { top: 5px; }
    .mobile-menu-panel { position: absolute; top: calc(100% + 6px); right: 8px; left: 8px; display: grid; padding: 8px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: 0 18px 40px rgba(9, 17, 31, .18); }
    .mobile-menu-panel a { display: flex; align-items: center; min-height: 46px; padding: 0 14px; border-radius: 10px; color: #1c2a3f; font-weight: 700; text-decoration: none; }
    .mobile-menu-panel a.is-current { background: var(--surface); }
    .mobile-menu-panel a.nav-cta { justify-content: center; margin-top: 6px; background: var(--accent); color: #fff; }
    .language-select { min-width: 88px; }
    html[data-theme="dark"] .mobile-menu summary { border-color: #35445b; background: #131d2d; }
    html[data-theme="dark"] .mobile-menu-icon { background: #e8eef8; }
    html[data-theme="dark"] .mobile-menu-panel { border-color: #35445b; background: #111a29; box-shadow: 0 18px 40px rgba(0, 0, 0, .5); }
    html[data-theme="dark"] .mobile-menu-panel a { color: #e8eef8; }
    html[data-theme="dark"] .mobile-menu-panel a.is-current { background: #182235; }
    html[data-theme="dark"] .mobile-menu-panel a.nav-cta { background: #7397ff; color: #0b1220; }
}

.site-footer { padding: 40px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
.footer-brand strong { color: var(--ink); font-size: 16px; }
.footer-brand p { max-width: 340px; margin: 8px 0 0; }
.footer-col { display: grid; align-content: start; gap: 4px; }
.footer-col h2 { margin: 0 0 6px; color: #4d5b70; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.footer-col a { padding: 4px 0; color: inherit; font-size: 13px; text-decoration: none; }
.footer-col a:hover { text-decoration: underline; }
.footer-col a[aria-current="true"] { color: var(--ink); font-weight: 800; }
.footer-legal { display: flex; justify-content: space-between; gap: 20px; margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 12px; line-height: 1.6; }
.footer-legal p { max-width: 760px; margin: 0; }
html[data-theme="dark"] .footer-brand strong, html[data-theme="dark"] .footer-col a[aria-current="true"] { color: #e8eef8; }
html[data-theme="dark"] .footer-col h2 { color: #9fb0c8; }
html[data-theme="dark"] .footer-legal { border-top-color: #263650; }
@media (max-width: 760px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
    .footer-legal { flex-direction: column; gap: 8px; }
}

/* ===== ScoreProb shell v5: logo "split bar", icons, phone header ===== */
:root {
    --ico-search: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='6.5'/%3E%3Cpath d='M16 16l4.5 4.5'/%3E%3C/svg%3E");
    --ico-star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M12 2.8l2.8 5.8 6.4.9-4.6 4.4 1.1 6.3L12 17.2 6.3 20.2l1.1-6.3L2.8 9.5l6.4-.9z'/%3E%3C/svg%3E");
    --ico-sort: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M4 7h16M7 12h10M10 17h4'/%3E%3C/svg%3E");
    --ico-chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    --brand-accent: #2857d9;
}

html[data-theme="dark"] {
    --brand-accent: #7397ff;
}

.sp-ico {
    display: inline-block;
    flex: none;
    width: 18px;
    height: 18px;
    background: currentColor;
    -webkit-mask: var(--ico) center / contain no-repeat;
    mask: var(--ico) center / contain no-repeat;
}

.sp-ico-search { --ico: var(--ico-search); }
.sp-ico-star { --ico: var(--ico-star); }
.sp-ico-sort { --ico: var(--ico-sort); }
.sp-ico-chev { --ico: var(--ico-chev); }

.brand { gap: 10px; font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
.brand-mark { display: block; flex: none; width: 28px; height: 28px; padding: 0; border-radius: 0; background: none; transform: none; }
.brand-mark .bm-small { display: none; }
.brand-word b { color: var(--brand-accent); font-weight: 700; }
.header-inner { min-height: 56px; }

.sp-nav-search { display: none; }

.mobile-menu-panel .mobile-menu-langs { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 6px; padding: 10px 6px 4px; border-top: 1px solid var(--line); }
.mobile-menu-panel .mobile-menu-langs a { display: inline-grid; place-items: center; min-width: 40px; min-height: 36px; padding: 0 8px; border: 1px solid var(--line); border-radius: 10px; color: #344256; font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.mobile-menu-panel .mobile-menu-langs a[aria-current="true"] { border-color: var(--navy); background: var(--navy); color: #fff; }
html[data-theme="dark"] .mobile-menu-panel .mobile-menu-langs { border-top-color: #263650; }
html[data-theme="dark"] .mobile-menu-panel .mobile-menu-langs a { border-color: #35445b; color: #cbd7e8; }
html[data-theme="dark"] .mobile-menu-panel .mobile-menu-langs a[aria-current="true"] { border-color: #dce7fa; background: #dce7fa; color: #0a1322; }

@media (max-width: 760px) {
    .site-header { transition: transform .22s ease; }
    .site-header.is-hidden { transform: translateY(-100%); }
    .site-header .header-inner { width: 100%; min-height: 48px; gap: 8px; padding: 0 14px; }
    .brand { gap: 8px; font-size: 17px; }
    .brand-mark { width: 24px; height: 24px; }
    .brand-mark .bm-full { display: none; }
    .brand-mark .bm-small { display: inline; }
    .language-select-wrap { display: none; }
    .theme-toggle { order: 2; width: 34px; height: 34px; margin-left: auto; border-radius: 10px; }
    .sp-nav-search { order: 1; display: inline-grid; flex: none; place-items: center; width: 34px; height: 34px; margin-left: auto; padding: 0; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: #344256; cursor: pointer; }
    .sp-nav-search ~ .theme-toggle { margin-left: 0; }
    .mobile-menu { order: 3; margin-left: 0; }
    .mobile-menu summary { width: 34px; height: 34px; border-radius: 10px; }
    html[data-theme="dark"] .sp-nav-search { border-color: #35445b; background: #131d2d; color: #e8eef8; }
}

@media (min-width: 761px) and (max-width: 1060px) {
    .site-header .header-inner { gap: 12px; }
    .brand { gap: 8px; font-size: 18px; }
    .brand-mark { width: 26px; height: 26px; }
    .main-nav { gap: 12px; }
    .main-nav a { font-size: 13px; }
    .main-nav a.nav-cta { padding: 6px 11px; }
    .language-select { min-width: 66px; }
}

/* visually-hidden helper for pages that do not load sp-home.css (e.g. the language label) */
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
