:root {
  color-scheme: dark light;
  --bg: #080d17;
  --bg-alt: #0d1627;
  --bg-soft: #142139;
  --panel: #122139;
  --panel-raised: #192d4c;
  --feature-middle: #182945;
  --feature-last: #16253e;
  --brand-highlight: #7ca1ff;
  --brand-shadow: #1c49be;
  --text: #f5f7fb;
  --muted: #a6b1c4;
  --subtle: #7f8da5;
  --accent: #3267ed;
  --accent-hover: #477bff;
  --accent-light: #9ab9ff;
  --paper: #f5f7fb;
  --paper-alt: #edf1f7;
  --paper-card: #ffffff;
  --paper-hover: #eaf0ff;
  --paper-text: #152239;
  --paper-button-hover: #263c60;
  --paper-muted: #627087;
  --knowledge-bg: #0c1628;
  --cta-start: #265ad8;
  --cta-end: #2453c7;
  --footer-bg: #080c15;
  --focus: #99baff;
  --max: 1260px;
  font-family: Inter, "Segoe UI", ui-sans-serif, -apple-system, BlinkMacSystemFont, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { min-width: 320px; margin: 0; background: var(--bg); color: var(--text); }
body, button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; }
img { max-width: 100%; }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }
h1, h2, h3, p { overflow-wrap: break-word; }
.shell-container { width: min(var(--max), calc(100% - 104px)); margin-inline: auto; }
.site-shell { min-height: 100vh; overflow: clip; }
.skip-link { position: absolute; inset-inline-start: 16px; top: -120px; z-index: 100; padding: 14px 20px; background: var(--paper); color: var(--paper-text); text-decoration: none; }
.skip-link:focus { top: 12px; }

/* Shared navigation and buttons: surfaces and spacing, never decorative strokes */
.site-header { position: sticky; top: 0; z-index: 40; background: #0a101d; }
.header-inner { min-height: 88px; display: flex; align-items: center; gap: clamp(22px, 2.5vw, 42px); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; white-space: nowrap; flex: 0 0 auto; }
.brand-symbol { width: 34px; height: 37px; position: relative; display: inline-block; }
.brand-symbol span { position: absolute; inset-inline-start: 3px; height: 9px; border-radius: 3px; transform: skewY(-18deg); background: var(--accent); }
.brand-symbol span:first-child { width: 23px; top: 3px; background: var(--brand-highlight); }
.brand-symbol span:nth-child(2) { width: 29px; top: 14px; }
.brand-symbol span:last-child { width: 21px; top: 25px; background: var(--brand-shadow); }
.brand-word { display: inline-block; font-size: 21px; line-height: .95; font-weight: 840; letter-spacing: -.065em; }
.brand-word > span, .footer-name > span { color: var(--accent-light); }
.brand-word small { display: block; margin-top: 7px; color: var(--subtle); font-size: 8px; font-weight: 760; letter-spacing: .17em; }
.header-nav { flex: 1; display: flex; align-items: center; justify-content: center; gap: 5px; }
.nav-link { display: inline-flex; align-items: center; min-height: 43px; padding: 10px 13px; color: var(--muted); text-decoration: none; font-size: 13px; font-weight: 600; border-radius: 8px; transition: color .16s ease, background-color .16s ease; }
.nav-link:hover { color: var(--text); background: rgba(255, 255, 255, .055); }
.nav-link.current { color: var(--text); background: rgba(50, 103, 237, .16); }
.header-actions { display: flex; align-items: center; gap: 21px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 20px; min-height: 54px; padding: 14px 23px; background: transparent; color: var(--text); border: 0; border-radius: 9px; text-decoration: none; font-size: 13px; font-weight: 740; line-height: 1.25; text-align: center; transition: color .16s ease, background-color .16s ease; }
.button-primary { background: var(--accent); color: #fff; }
.button-primary:hover { background: var(--accent-hover); }
.button-white { background: var(--paper-card); color: var(--paper-text); }
.button-white:hover { background: var(--paper-hover); }
.button-dark { background: var(--paper-text); color: var(--paper-card); }
.button-dark:hover { background: var(--paper-button-hover); }
.button-quiet, .button-outline { background: var(--bg-soft); color: var(--text); }
.button-quiet:hover, .button-outline:hover { background: var(--panel-raised); }
.button-top { min-height: 45px; padding: 12px 17px; font-size: 12px; }
.ui-icon { display: inline-block; flex: 0 0 auto; width: 24px; height: 24px; background-color: currentColor; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center; -webkit-mask-size: contain; mask-size: contain; }
.icon-chevron-down { -webkit-mask-image: url('/assets/icons/chevron-down.svg'); mask-image: url('/assets/icons/chevron-down.svg'); }
.icon-arrow-up-right { -webkit-mask-image: url('/assets/icons/arrow-up-right.svg'); mask-image: url('/assets/icons/arrow-up-right.svg'); }
.icon-catalog { -webkit-mask-image: url('/assets/icons/catalog.svg'); mask-image: url('/assets/icons/catalog.svg'); }
.icon-session { -webkit-mask-image: url('/assets/icons/session.svg'); mask-image: url('/assets/icons/session.svg'); }
.icon-wallet { -webkit-mask-image: url('/assets/icons/wallet.svg'); mask-image: url('/assets/icons/wallet.svg'); }
.icon-slots { -webkit-mask-image: url('/assets/icons/slots.svg'); mask-image: url('/assets/icons/slots.svg'); }
.icon-live { -webkit-mask-image: url('/assets/icons/live.svg'); mask-image: url('/assets/icons/live.svg'); }
.icon-sports { -webkit-mask-image: url('/assets/icons/sports.svg'); mask-image: url('/assets/icons/sports.svg'); }
.button-arrow { width: 17px; height: 17px; }
.text-link { display: inline-flex; align-items: center; gap: 13px; color: var(--text); text-decoration: none; font-weight: 740; font-size: 13px; transition: color .16s ease; }
.text-link:hover { color: var(--accent-light); }
.text-link-dark { color: var(--paper-text); }
.text-link-dark:hover { color: var(--accent); }
.text-link .ui-icon { width: 16px; height: 16px; }
.language-dropdown { position: relative; flex: 0 0 auto; }
.language-trigger { display: inline-flex; align-items: center; justify-content: center; gap: 13px; min-height: 45px; padding: 10px 12px; color: var(--muted); background: transparent; border: 0; border-radius: 8px; font-size: 12px; font-weight: 740; }
.language-trigger:hover { color: var(--text); }
.language-chevron { width: 15px; height: 15px; color: var(--accent-light); transition: transform .16s ease; }
.language-trigger[aria-expanded="true"] .language-chevron { transform: rotate(180deg); }
.language-options { position: absolute; z-index: 50; top: calc(100% + 16px); inset-inline-end: 0; display: grid; gap: 6px; min-width: 218px; max-height: 65vh; overflow-y: auto; padding: 11px; background: #15253e; border-radius: 12px; box-shadow: 0 20px 55px rgba(0, 0, 0, .28); }
.language-options[hidden] { display: none; }
.language-options a { display: flex; align-items: center; min-height: 47px; padding: 13px 16px; border-radius: 8px; color: var(--muted); font-size: 13px; line-height: 1.4; text-decoration: none; }
.language-options a:hover, .language-options a[aria-current] { color: var(--text); background: var(--panel-raised); }
.mobile-toggle { display: none; padding: 10px; background: transparent; border: 0; }
.mobile-toggle span { display: block; width: 23px; height: 2px; margin-block: 5px; border-radius: 2px; background: var(--text); }

/* Homepage: a quiet dot-grid and three content planes, no faux dashboard */
.hero-zone { position: relative; isolation: isolate; overflow: hidden; background: radial-gradient(ellipse 55% 67% at 88% 48%, rgba(27, 59, 120, .19), transparent 78%), var(--bg); }
.hero-zone::before { content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none; background-image: radial-gradient(rgba(133, 166, 236, .19) .85px, transparent 1px); background-size: 25px 25px; opacity: .33; -webkit-mask-image: linear-gradient(90deg, transparent 10%, #000 80%); mask-image: linear-gradient(90deg, transparent 10%, #000 80%); }
.hero { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr); align-items: center; gap: clamp(32px, 5vw, 84px); min-height: 665px; padding-block: 78px 88px; }
.hero-copy { position: relative; z-index: 2; padding-block: 30px; }
.eyebrow { margin: 0 0 25px; color: var(--accent-light); font-size: 11px; font-weight: 800; letter-spacing: .15em; line-height: 1.5; text-transform: uppercase; }
.eyebrow-hero { margin-bottom: 32px; }
h1 { margin: 0; font-size: clamp(52px, 5.7vw, 88px); line-height: 1.055; letter-spacing: -.066em; font-weight: 710; }
.hero h1 span { display: block; }
.hero-highlight { max-width: 710px; color: var(--accent-light); }
.hero-lead { max-width: 535px; margin: 30px 0 0; color: var(--muted); font-size: clamp(16px, 1.45vw, 18px); line-height: 1.75; }
.button-row { display: flex; align-items: center; flex-wrap: wrap; gap: 27px; margin-top: 43px; }
.hero-visual { position: relative; min-width: 0; width: 100%; }
.content-composition { position: relative; width: min(100%, 550px); height: 520px; margin-inline: auto; }
.composition-mesh { position: absolute; inset: 7% 0 3% 0; background: radial-gradient(circle, rgba(138, 166, 228, .25) 1px, transparent 1.4px) 0 0 / 18px 18px; opacity: .5; -webkit-mask-image: radial-gradient(ellipse, #000 16%, transparent 73%); mask-image: radial-gradient(ellipse, #000 16%, transparent 73%); }
.composition-card { position: absolute; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; padding: clamp(23px, 3vw, 38px); color: #fff; border-radius: 13px; }
.composition-card::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(150deg, rgba(255, 255, 255, .065), transparent 53%); }
.composition-card strong { position: relative; z-index: 1; max-width: 90%; font-size: clamp(26px, 2.95vw, 41px); line-height: 1.08; letter-spacing: -.058em; font-weight: 690; }
.composition-icon { position: relative; z-index: 1; width: 34px; height: 34px; color: #a9c1ff; }
.composition-mark { position: absolute; width: 135px; height: 135px; right: -70px; bottom: -63px; border-radius: 50%; background: rgba(255, 255, 255, .05); }
.composition-card-slots { z-index: 1; top: 2%; left: 0; width: 64%; height: 44%; background: #192e4d; }
.composition-card-live { z-index: 3; top: 26%; right: 0; width: 62%; height: 47%; background: linear-gradient(135deg, #386df4, #2759db); }
.composition-card-live .composition-icon { color: #fff; }
.composition-card-live .composition-mark { background: rgba(255, 255, 255, .115); }
.composition-card-sports { z-index: 2; bottom: 1%; left: 9%; width: 63%; height: 33%; background: #203a60; }

/* Light editorial section */
.section { padding-block: 110px; }
.section-light { background: var(--paper); color: var(--paper-text); }
.section-light .eyebrow { color: var(--accent); }
.story-layout { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(50px, 10vw, 180px); }
.story-heading h2, .section-heading h2, .provider-heading h2, .knowledge-copy h2, .cta-content h2 { margin: 0; font-size: clamp(38px, 4.55vw, 65px); line-height: 1.13; font-weight: 690; letter-spacing: -.06em; }
.story-heading h2 span { display: block; color: var(--accent); }
.story-heading > p:not(.eyebrow) { max-width: 545px; margin: 27px 0 28px; color: var(--paper-muted); font-size: 17px; line-height: 1.82; }
.story-steps { display: grid; align-content: center; gap: 36px; padding-top: 15px; }
.story-steps article { display: grid; grid-template-columns: 35px 1fr; gap: 20px; }
.story-index { padding-top: 4px; color: var(--accent); font-size: 14px; font-weight: 840; }
.story-steps h3 { margin: 0 0 9px; font-size: clamp(20px, 2vw, 25px); line-height: 1.25; font-weight: 700; letter-spacing: -.035em; }
.story-steps p { max-width: 470px; margin: 0; color: var(--paper-muted); font-size: 15px; line-height: 1.74; }

/* Dark capability modules */
.capabilities-section { background: var(--bg-alt); }
.section-heading { max-width: 800px; }
.section-heading .eyebrow { margin-bottom: 20px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; margin-top: 55px; }
.feature { display: flex; flex-direction: column; min-height: 300px; padding: 34px; border-radius: 12px; background: var(--bg-soft); }
.feature:nth-child(2) { background: var(--feature-middle); }
.feature:nth-child(3) { background: var(--feature-last); }
.feature-illustration { width: 57px; height: 57px; margin: 13px 0 25px; color: #91b1fc; }
.feature h3, .feature h2 { margin: 25px 0 12px; font-size: clamp(21px, 2vw, 26px); font-weight: 680; letter-spacing: -.04em; }
.feature-with-icon h2, .feature-with-icon h3 { margin-top: auto; }
.feature p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.75; }
.feature-grid-light { margin-top: 36px; }
.feature-grid-light .feature { min-height: 220px; }
.feature-grid-light .feature-with-icon h2 { margin-top: auto; }
.feature-grid-light .feature-illustration { width: 49px; height: 49px; margin: 4px 0 24px; }
.capabilities-link { margin-top: 35px; }

/* Provider directory preview */
.provider-preview { background: var(--paper-alt); }
.provider-heading { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 70px; align-items: end; }
.provider-heading h2 { max-width: 780px; }
.provider-heading > p { max-width: 460px; margin: 0 0 5px; color: var(--paper-muted); font-size: 16px; line-height: 1.75; }
.preview-label-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; margin-top: 52px; }
.preview-label { display: flex; align-items: center; min-height: 100px; padding: 20px 22px; background: var(--paper-card); color: var(--paper-text); border-radius: 11px; font-size: clamp(14px, 1.2vw, 18px); font-weight: 720; letter-spacing: -.035em; }
.section-action { display: flex; margin-top: 40px; }

/* Knowledge teaser and call to action */
.knowledge-teaser { position: relative; overflow: hidden; background: var(--knowledge-bg); }
.knowledge-teaser::before { content: ""; pointer-events: none; position: absolute; width: 56%; height: 100%; inset-inline-start: 0; top: 0; background: radial-gradient(circle, rgba(132, 166, 244, .17) 1px, transparent 1.4px) 0 0 / 21px 21px; opacity: .55; -webkit-mask-image: radial-gradient(ellipse at 34% 50%, #000 5%, transparent 67%); mask-image: radial-gradient(ellipse at 34% 50%, #000 5%, transparent 67%); }
.knowledge-layout { position: relative; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.1fr); gap: clamp(35px, 8vw, 130px); align-items: center; }
.knowledge-art { position: relative; display: flex; align-items: center; min-height: 300px; }
.knowledge-letter { display: block; color: #3465d6; font-size: clamp(205px, 24vw, 350px); line-height: .82; letter-spacing: -.14em; font-weight: 770; }
.knowledge-topics { position: absolute; display: grid; gap: 15px; left: clamp(140px, 18vw, 255px); bottom: 36px; color: #d6e3ff; font-size: 10px; font-weight: 750; letter-spacing: .14em; }
.knowledge-topics span:nth-child(2) { color: #95b4ff; }
.knowledge-topics span:nth-child(3) { color: #6c8ebc; }
.knowledge-copy h2 { max-width: 660px; }
.knowledge-copy > p:not(.eyebrow) { max-width: 590px; margin: 25px 0 33px; color: var(--muted); font-size: 17px; line-height: 1.75; }
.cta-section { padding-block: 92px; background: linear-gradient(115deg, var(--cta-start), var(--accent) 55%, var(--cta-end)); }
.cta-content { display: flex; align-items: center; justify-content: space-between; gap: 62px; }
.cta-content > div { max-width: 770px; }
.cta-content .eyebrow { color: #d5e1ff; }
.cta-content h2 { color: #fff; }
.cta-content p:not(.eyebrow) { max-width: 660px; margin: 22px 0 0; color: #dce6ff; font-size: 16px; line-height: 1.7; }
.cta-content .button { flex: 0 0 auto; }

/* Inner pages retain existing PHP templates and API/data interfaces */
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; min-height: 57px; padding-top: 24px; color: var(--subtle); font-size: 12px; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--text); }
.page-hero { padding-block: 98px 66px; }
.page-hero .eyebrow { margin-bottom: 23px; }
.page-hero h1 { max-width: 950px; font-size: clamp(44px, 5.5vw, 78px); }
.page-hero > p:not(.eyebrow) { max-width: 815px; margin: 28px 0 0; color: var(--muted); font-size: clamp(17px, 1.7vw, 20px); line-height: 1.72; }
.page-hero + .section { padding-top: 22px; }
.page-hero + .section .feature-grid { margin-top: 0; }
.prose-intro { max-width: 820px; margin-bottom: 52px; color: var(--muted); font-size: 17px; line-height: 1.9; }
.prose-intro:empty { display: none; }
.step-list { display: grid; gap: 18px; max-width: 1050px; }
.step { display: grid; grid-template-columns: 62px 1fr; gap: 24px; padding: 32px 36px; border-radius: 11px; background: var(--bg-soft); }
.step-number { color: var(--accent-light); font-size: 16px; font-weight: 720; }
.step h2 { margin: 0; font-size: clamp(24px, 2.5vw, 34px); letter-spacing: -.045em; }
.step p { max-width: 730px; margin: 13px 0 0; color: var(--muted); font-size: 16px; line-height: 1.75; }
.catalog-controls { display: grid; gap: 13px; max-width: 470px; margin-bottom: 31px; }
.catalog-controls label { color: var(--muted); font-size: 13px; }
.search-input { min-height: 55px; width: 100%; padding: 13px 19px; color: var(--text); background: var(--bg-soft); border: 0; border-radius: 9px; }
.search-input::placeholder { color: var(--subtle); }
.provider-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; }
.provider-card { position: relative; display: flex; flex-direction: column; gap: 15px; min-height: 178px; padding: 24px; color: var(--text); background: var(--bg-soft); text-decoration: none; border-radius: 10px; transition: background-color .15s ease; }
.provider-card[hidden] { display: none; }
.provider-card:hover { background: var(--panel-raised); }
.provider-card strong { font-size: 17px; line-height: 1.35; }
.provider-card small { color: var(--muted); font-size: 12px; }
.provider-glyph { color: var(--accent-light); font-size: 28px; }
.provider-arrow { position: absolute; top: 23px; inset-inline-end: 23px; color: var(--accent-light); }
.catalog-no-results { color: var(--muted); }
.empty-state { max-width: 830px; min-height: 280px; padding: 50px; border-radius: 12px; background: var(--bg-soft); }
.empty-state > span { color: var(--accent-light); font-size: 38px; }
.empty-state h2 { margin: 22px 0 0; font-size: 31px; font-weight: 680; letter-spacing: -.04em; }
.empty-state p { max-width: 610px; color: var(--muted); font-size: 16px; line-height: 1.8; }
.knowledge-page-hero { position: relative; }
.knowledge-page-content { padding-top: 8px; }
.knowledge-topic-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .75fr); align-items: end; gap: clamp(35px, 8vw, 110px); margin-bottom: 40px; }
.knowledge-topic-intro h2, .knowledge-articles-title { margin: 0; font-size: clamp(32px, 3.2vw, 48px); line-height: 1.15; letter-spacing: -.052em; font-weight: 690; }
.knowledge-topic-intro > p { margin: 0 0 3px; color: var(--muted); font-size: 16px; line-height: 1.77; }
.knowledge-topic-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.knowledge-topic { display: flex; flex-direction: column; min-height: 268px; padding: 35px; border-radius: 12px; background: var(--bg-soft); }
.knowledge-topic:nth-child(2) { background: #1a2d4c; }
.knowledge-topic:nth-child(3) { background: #192a45; }
.knowledge-topic-icon { width: 38px; height: 38px; color: var(--accent-light); }
.knowledge-topic h3 { margin: auto 0 11px; padding-top: 24px; font-size: clamp(23px, 2.2vw, 29px); line-height: 1.2; letter-spacing: -.05em; }
.knowledge-topic p { max-width: 340px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.knowledge-articles-title { margin-block: 83px 34px; }
.resource-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.resource-card { display: block; min-height: 252px; padding: 36px; border-radius: 11px; background: var(--paper-card); color: var(--paper-text); text-decoration: none; }
.resource-card .eyebrow { color: var(--accent); }
.resource-card h2 { font-size: clamp(24px, 2.3vw, 31px); letter-spacing: -.04em; }
.resource-card p { color: var(--paper-muted); line-height: 1.75; }
.resource-card > span:last-child { color: var(--accent); font-size: 13px; font-weight: 720; }
.resource-card-link { display: inline-flex; align-items: center; gap: 9px; }
.resource-card-link .ui-icon { width: 16px; height: 16px; }
.article-page { max-width: 960px; margin-block: 45px 130px; padding: 67px clamp(26px, 6vw, 90px); border-radius: 14px; background: var(--paper); color: var(--paper-text); }
.article-page .eyebrow { color: var(--accent); }
.article-page h1 { font-size: clamp(39px, 4.6vw, 65px); }
.article-lead { color: var(--paper-muted); font-size: 20px; line-height: 1.75; }
.article-body { margin-top: 54px; color: var(--paper-text); font-size: 17px; line-height: 1.95; }
.article-body a { color: var(--accent); }
.error-page { min-height: 60vh; }

/* Footer has no strokes or separators */
.site-footer { position: relative; isolation: isolate; overflow: hidden; background: var(--footer-bg); }
.site-footer::before { content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none; background: radial-gradient(circle, rgba(134, 165, 237, .20) .9px, transparent 1.4px) 0 0 / 21px 21px; opacity: .75; -webkit-mask-image: radial-gradient(ellipse at 90% 48%, #000 4%, transparent 61%); mask-image: radial-gradient(ellipse at 90% 48%, #000 4%, transparent 61%); }
.footer-inner { position: relative; display: grid; grid-template-columns: minmax(220px, 1fr) minmax(0, 1.3fr); gap: 70px; padding-block: 79px 40px; }
.footer-name { font-size: 28px; line-height: 1; font-weight: 850; letter-spacing: -.07em; }
.footer-brand p { max-width: 300px; margin: 20px 0 25px; color: var(--muted); font-size: 13px; line-height: 1.75; }
.footer-links { display: flex; align-items: flex-start; justify-content: flex-end; align-content: flex-start; flex-wrap: wrap; gap: 19px 29px; padding-top: 6px; }
.footer-links a { color: var(--muted); font-size: 13px; text-decoration: none; transition: color .15s ease; }
.footer-links a:hover { color: var(--text); }
.footer-bottom { display: flex; justify-content: space-between; gap: 18px; grid-column: 1 / -1; padding-top: 23px; color: var(--subtle); font-size: 11px; letter-spacing: .06em; }
.copyright { color: var(--subtle); }

[dir="rtl"] .brand-word { direction: ltr; }
[dir="rtl"] .hero-visual { direction: ltr; }
[dir="rtl"] .provider-arrow { transform: scaleX(-1); }

@media (max-width: 1170px) {
  .shell-container { width: min(var(--max), calc(100% - 70px)); }
  .header-inner { gap: 16px; }
  .header-nav { gap: 0; }
  .nav-link { padding-inline: 10px; font-size: 12px; }
  .button-top { display: none; }
  .hero { gap: 25px; }
}
@media (max-width: 950px) {
  .header-inner { min-height: 76px; justify-content: space-between; }
  .brand { margin-inline-end: auto; }
  .mobile-toggle { display: block; order: 3; }
  .header-actions { order: 2; }
  .header-nav { display: none; position: absolute; top: 76px; inset-inline: 0; padding: 15px 35px 23px; background: var(--bg-alt); box-shadow: 0 22px 35px rgba(0, 0, 0, .2); }
  .header-nav.is-open { display: flex; flex-direction: column; align-items: stretch; gap: 3px; }
  .nav-link { padding: 14px 16px; font-size: 14px; }
  .hero { grid-template-columns: 1fr; gap: 20px; padding-block: 73px 65px; }
  .hero-copy { padding: 0; }
  .hero-copy h1 { max-width: 820px; }
  .hero-visual { width: min(100%, 580px); justify-self: center; }
  .story-layout, .knowledge-layout { grid-template-columns: 1fr; gap: 45px; }
  .story-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 25px; }
  .story-steps article { display: block; }
  .story-index { display: inline-block; margin-bottom: 17px; }
  .provider-heading { gap: 35px; }
  .preview-label-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .provider-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .knowledge-art { min-height: 240px; }
  .knowledge-topic-intro { gap: 35px; }
  .knowledge-topic { padding: 27px; }
}
@media (max-width: 700px) {
  .shell-container { width: calc(100% - 38px); }
  .header-inner { min-height: 70px; }
  .header-nav { top: 70px; padding-inline: 19px; }
  .brand-symbol { transform: scale(.9); transform-origin: left center; }
  .brand-word { font-size: 20px; }
  .brand-word small { font-size: 7px; }
  .hero { min-height: 0; padding-top: 59px; }
  .hero h1 { font-size: clamp(49px, 10.8vw, 73px); }
  .hero-lead { margin-top: 26px; font-size: 16px; line-height: 1.7; }
  .button-row { margin-top: 35px; gap: 22px; }
  .content-composition { max-width: 500px; height: 470px; }
  .section { padding-block: 78px; }
  .story-steps { grid-template-columns: 1fr; gap: 30px; }
  .story-steps article { display: grid; grid-template-columns: 34px 1fr; gap: 14px; }
  .story-index { margin-bottom: 0; }
  .feature-grid, .resource-grid { grid-template-columns: 1fr; }
  .knowledge-topic-intro, .knowledge-topic-grid { grid-template-columns: 1fr; }
  .knowledge-topic-grid { gap: 12px; }
  .knowledge-topic { min-height: 205px; }
  .knowledge-topic h3 { margin-top: 26px; }
  .feature-grid { margin-top: 35px; }
  .feature { min-height: 250px; }
  .provider-heading { grid-template-columns: 1fr; gap: 20px; }
  .preview-label-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 34px; }
  .preview-label { min-height: 86px; padding: 16px; }
  .knowledge-art { min-height: 190px; }
  .knowledge-letter { font-size: 245px; }
  .knowledge-topics { left: 190px; bottom: 26px; }
  .cta-content { flex-direction: column; align-items: flex-start; gap: 34px; }
  .cta-content .button { flex: initial; }
  .page-hero { padding-block: 71px 43px; }
  .step { grid-template-columns: 38px 1fr; gap: 12px; padding: 26px; }
  .provider-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; padding-block: 60px 35px; }
  .footer-links { justify-content: flex-start; }
}
@media (max-width: 450px) {
  .header-actions { gap: 7px; }
  .brand-word { font-size: 18px; }
  .brand-symbol { width: 29px; }
  .hero h1 { font-size: clamp(45px, 11vw, 58px); }
  .hero-copy .eyebrow { font-size: 9px; }
  .button-row { align-items: stretch; flex-direction: column; gap: 22px; }
  .button-row .button { align-self: flex-start; }
  .language-trigger { padding-inline: 8px; gap: 8px; }
  .language-options { inset-inline-end: -12px; }
  .content-composition { height: 340px; }
  .composition-card { padding: 21px; border-radius: 11px; }
  .composition-card strong { font-size: clamp(19px, 5.8vw, 28px); }
  .composition-icon { width: 28px; height: 28px; }
  .composition-card-slots { width: 66%; }
  .composition-card-live { width: 63%; }
  .composition-card-sports { width: 67%; }
  .knowledge-letter { font-size: 195px; }
  .knowledge-topics { left: 150px; bottom: 28px; font-size: 8px; gap: 10px; }
  .preview-label-grid, .provider-grid { grid-template-columns: 1fr; }
  .preview-label { min-height: 68px; }
  .article-page { padding: 38px 23px; }
  .empty-state { padding: 32px; }
  .footer-bottom { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

/* Stage06 editorial content — quiet surfaces, no decorative borders */
.content-body-section { padding-top: 18px; }
.content-lead { max-width: 970px; margin: 0 0 72px; color: var(--muted); font-size: clamp(18px, 1.8vw, 22px); line-height: 1.8; }
.content-section-head { max-width: 900px; margin-bottom: 42px; }
.content-section-head .eyebrow { margin-bottom: 23px; }
.content-section-head h2 { margin: 0; font-size: clamp(34px, 4vw, 56px); font-weight: 720; line-height: 1.15; letter-spacing: -.057em; }
.content-section-head > p:not(.eyebrow) { max-width: 785px; margin: 25px 0 0; color: var(--muted); font-size: 16px; line-height: 1.82; }
.content-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.content-card-grid-four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.content-card { min-width: 0; padding: clamp(27px, 3vw, 42px); border-radius: 12px; background: var(--bg-soft); }
.content-card h3 { margin: 0; font-size: clamp(22px, 2.1vw, 29px); line-height: 1.21; font-weight: 700; letter-spacing: -.045em; }
.content-card p { margin: 20px 0 0; color: var(--muted); font-size: 15px; line-height: 1.82; }
.content-card-icon .ui-icon { width: 34px; height: 34px; margin-bottom: 38px; color: var(--accent-light); }
.content-scope-section { background: var(--knowledge-bg); }
.content-scope-section .content-card:nth-child(2) { background: #192c4a; }
.content-scope-section .content-card:nth-child(3) { background: #182a45; }
.section-light .content-section-head h2, .section-light .content-card h3 { color: var(--paper-text); }
.section-light .content-section-head > p:not(.eyebrow), .section-light .content-card p { color: var(--paper-muted); }
.section-light .content-card { background: #fff; color: var(--paper-text); }
.content-faq-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.content-faq-item { padding: clamp(28px, 3.4vw, 44px); border-radius: 12px; background: #fff; color: var(--paper-text); }
.content-faq-item h3 { margin: 0; font-size: clamp(21px, 2.1vw, 27px); line-height: 1.28; letter-spacing: -.04em; }
.content-faq-item p { margin: 19px 0 0; color: var(--paper-muted); font-size: 15px; line-height: 1.8; }
.content-brief-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: clamp(42px, 8vw, 120px); align-items: start; }
.content-checklist { display: grid; gap: 21px; margin: 7px 0 0; padding: 0; list-style: none; }
.content-checklist li { position: relative; padding-inline-start: 24px; color: var(--muted); font-size: 16px; line-height: 1.65; }
.content-checklist li::before { content: ""; position: absolute; inset-inline-start: 0; top: .68em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent-light); }
.content-step-list { max-width: 1080px; }
.content-step { grid-template-columns: 48px minmax(0, 1fr); padding: clamp(29px, 3.5vw, 48px); }
.content-step > div { min-width: 0; }
.content-step h3 { margin: 0; font-size: clamp(24px, 2.5vw, 34px); letter-spacing: -.045em; }
.content-step-points { display: grid; gap: 10px; padding-inline-start: 20px; margin: 24px 0 0; color: var(--muted); font-size: 14px; line-height: 1.72; }
.content-step .content-step-outcome { max-width: 100%; margin-top: 28px; color: var(--accent-light); font-size: 14px; font-weight: 730; }

@media (max-width: 950px) {
  .content-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .content-brief-layout { grid-template-columns: 1fr; gap: 0; }
  .content-lead { margin-bottom: 53px; }
}
@media (max-width: 700px) {
  .content-card-grid, .content-faq-grid { grid-template-columns: 1fr; }
  .content-card, .content-faq-item { padding: 28px; }
  .content-card-icon .ui-icon { margin-bottom: 23px; }
  .content-section-head { margin-bottom: 33px; }
  .content-section-head > p:not(.eyebrow) { margin-top: 19px; }
  .content-step { grid-template-columns: 1fr; gap: 14px; }
  .content-step-points { margin-top: 18px; }
}

/* Stage07 commercial pages — editorial grids and concise provider directory */
.icon-operations { -webkit-mask-image: url('/assets/icons/operations.svg'); mask-image: url('/assets/icons/operations.svg'); }
.content-dual-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.content-owner-card { min-width: 0; min-height: 320px; padding: clamp(32px, 3.7vw, 50px); }
.content-owner-card .content-step-points { margin-top: 27px; }
.content-owner-card .content-step-points li { margin-bottom: 2px; }
.content-about-intro { gap: clamp(32px, 5vw, 90px); align-items: start; }
.content-about-intro .content-section-head { margin-bottom: 0; }
.content-about-aside { background: var(--bg-soft); }
.content-process-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.content-process-item { display: flex; flex-direction: column; min-width: 0; min-height: 274px; padding: 31px; border-radius: 12px; background: var(--bg-soft); }
.content-process-number { color: var(--accent-light); font-size: 13px; font-weight: 750; letter-spacing: .05em; }
.content-process-item h3 { margin: auto 0 12px; padding-top: 34px; font-size: clamp(21px, 2vw, 26px); letter-spacing: -.045em; line-height: 1.2; }
.content-process-item p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.72; }
.section-light .content-process-item { background: #fff; color: var(--paper-text); }
.section-light .content-process-number { color: var(--accent); }
.section-light .content-process-item p { color: var(--paper-muted); }
.section-light .content-checklist li { color: var(--paper-muted); }
.section-light .content-checklist li::before { background: var(--accent); }
.content-provider-directory { padding-block: 100px; }
.provider-card-refined { min-height: 216px; padding: 28px; }
.provider-card-refined .provider-card-symbol { width: 38px; height: 38px; color: var(--accent-light); }
.provider-card-refined .provider-card-copy { display: grid; gap: 7px; margin-top: auto; }
.provider-card-refined .provider-card-copy strong { max-width: 95%; font-size: 19px; line-height: 1.3; }
.provider-card-refined .provider-card-copy small { font-size: 12px; color: var(--muted); }
.provider-card-refined .provider-card-arrow { position: absolute; top: 28px; inset-inline-end: 28px; width: 17px; height: 17px; color: var(--accent-light); }
.content-provider-empty { max-width: 1110px; padding: clamp(38px, 6vw, 76px); border-radius: 14px; background: var(--bg-soft); }
.content-provider-empty .eyebrow { margin-bottom: 23px; }
.content-provider-empty h2 { max-width: 760px; margin: 0; font-size: clamp(35px, 4vw, 55px); line-height: 1.15; letter-spacing: -.055em; }
.content-provider-empty p:not(.eyebrow) { max-width: 750px; margin: 24px 0 31px; color: var(--muted); font-size: 16px; line-height: 1.8; }

@media (max-width: 1050px) {
  .content-process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .content-dual-grid { grid-template-columns: minmax(0, 1fr); }
  .content-owner-card { min-height: auto; padding: 30px; }
  .content-about-intro { gap: 32px; }
  .content-process-item { min-height: 220px; padding: 29px; }
  .content-provider-directory { padding-block: 78px; }
  .provider-card-refined { min-height: 180px; }
}
@media (max-width: 450px) {
  .content-process-grid { grid-template-columns: minmax(0, 1fr); }
  .content-process-item { min-height: 190px; }
}

/* Motion R1: floating mobile navigation, with a proper dismiss layer. */
@media (max-width: 950px) {
  body.mobile-menu-open { overflow: hidden; }
  .site-header::after {
    content: "";
    position: fixed;
    z-index: 0;
    inset: 76px 0 0;
    background: rgba(3, 9, 20, .68);
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 250ms ease, visibility 0s linear 250ms;
  }
  .site-header.menu-open::after {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
  }
  .header-inner { position: relative; z-index: 1; }
  .mobile-toggle {
    position: relative;
    display: block;
    flex: 0 0 45px;
    width: 45px;
    height: 45px;
    padding: 0;
    border-radius: 10px;
    background: rgba(126, 162, 240, .105);
    transition: background-color 220ms ease;
  }
  .mobile-toggle:hover, .mobile-toggle[aria-expanded="true"] { background: rgba(50, 103, 237, .25); }
  .mobile-toggle span {
    position: absolute;
    top: calc(50% - 1px);
    left: calc(50% - 11px);
    width: 22px;
    height: 2px;
    margin: 0;
    background: #dce8ff;
    transition: transform 300ms cubic-bezier(.2, .75, .25, 1), opacity 160ms ease;
  }
  .mobile-toggle span:first-child { transform: translateY(-7px); }
  .mobile-toggle span:nth-child(2) { transform: none; }
  .mobile-toggle span:last-child { transform: translateY(7px); }
  .mobile-toggle[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
  .mobile-toggle[aria-expanded="true"] span:nth-child(2) { transform: scaleX(.4); opacity: 0; }
  .mobile-toggle[aria-expanded="true"] span:last-child { transform: rotate(-45deg); }

  .header-nav {
    display: flex;
    position: absolute;
    top: calc(100% + 9px);
    inset-inline: 0;
    z-index: 2;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 5px;
    max-height: calc(100dvh - 106px);
    overflow-y: auto;
    padding: 15px;
    border-radius: 12px;
    background: radial-gradient(circle at 98% 0%, rgba(50, 103, 237, .14), transparent 48%), #14243c;
    box-shadow: 0 28px 64px rgba(1, 7, 20, .4);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate3d(0, -11px, 0) scale(.985);
    transform-origin: top center;
    transition: opacity 230ms ease, transform 330ms cubic-bezier(.2, .78, .24, 1), visibility 0s linear 330ms;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }
  .header-nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate3d(0, 0, 0) scale(1);
    transition-delay: 0s;
  }
  .header-nav .nav-link {
    justify-content: space-between;
    min-height: 52px;
    padding: 15px 17px;
    border-radius: 8px;
    color: #d4e0f4;
    font-size: 15px;
    font-weight: 650;
  }
  .header-nav .nav-link:hover, .header-nav .nav-link:focus-visible { color: #fff; background: rgba(126, 162, 240, .13); }
  .header-nav .nav-link.current { color: #fff; background: rgba(50, 103, 237, .23); }
  .header-nav .nav-link:not(.mobile-contact-link)::after {
    content: "";
    flex: 0 0 15px;
    width: 15px;
    height: 15px;
    margin-inline-start: 15px;
    background: currentColor;
    opacity: .55;
    -webkit-mask: url('/assets/icons/arrow-up-right.svg') center / contain no-repeat;
    mask: url('/assets/icons/arrow-up-right.svg') center / contain no-repeat;
  }
  .header-nav .mobile-contact-link { justify-content: center; min-height: 54px; margin-top: 10px; }
}
@media (max-width: 700px) {
  .site-header::after { top: 70px; }
  .header-nav { max-height: calc(100dvh - 100px); }
}
