/* PitWall landing page. Dark night-race theme. Logical properties throughout so RTL (Kurdish, Arabic) is real layout. */
@font-face { font-family: 'Outfit'; src: url(fonts/outfit.woff2) format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'DM Sans'; src: url(fonts/dmsans.woff2) format('woff2'); font-weight: 100 1000; font-display: swap; }
@font-face { font-family: 'Noto Sans Arabic'; src: url(fonts/notoarabic.woff2) format('woff2'); font-weight: 100 900; font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }

:root {
  --bg: #111318; --bg-2: #15171D; --card: #1A1D23; --raised: #23272E; --border: #2F343C; --line: #262A30;
  --ink: #F1F2F4; --ink-2: #C4C9D0; --muted: #878E98; --red: #E10600; --red-ink: #FF4D45;
  --green: #3DD68C; --amber: #F5B94A; --purple: #B87CFF;
  --gold-1: #FFF1B8; --gold-2: #E8C04A; --gold-3: #9C7314; --silver-1: #FFFFFF; --silver-2: #C4CBD3; --silver-3: #6E767F; --bronze-1: #FFD2A8; --bronze-2: #C97B3F; --bronze-3: #7A4420;
  --head: 'Outfit', 'Noto Sans Arabic', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --body: 'DM Sans', 'Noto Sans Arabic', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --r: 16px; --r-l: 24px; --wrap: 1180px; --gut: clamp(16px, 4vw, 32px);
  --ease: cubic-bezier(.2, .7, .2, 1); --ease-io: cubic-bezier(.65, 0, .35, 1);
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: clip; }
[dir='rtl'] body { line-height: 1.75; }
img, svg { display: block; max-width: 100%; }
picture { display: contents; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); margin: 0; line-height: 1.08; letter-spacing: -.02em; }
[dir='rtl'] :is(h1, h2, h3) { letter-spacing: 0; line-height: 1.3; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.ic { width: 20px; height: 20px; flex: none; }
:focus-visible { outline: 2px solid var(--red-ink); outline-offset: 3px; border-radius: 8px; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.skip { position: absolute; inset-inline-start: 12px; top: 10px; z-index: 100; background: var(--red); color: #fff; padding: 10px 16px; border-radius: 10px; transform: translateY(-300%); }
.skip:focus { transform: none; }
/* sections clip their own slide-in animations so the page never scrolls sideways (LTR or RTL) */
.hero, .section, .site-footer { overflow-x: clip; }
.muted { color: var(--muted); }

/* ---------- chequered stripe */
.flag-stripe { height: 5px; background: repeating-linear-gradient(90deg, var(--red) 0 18px, #F1F2F4 18px 36px); background-size: 36px 5px;
  animation: stripe 14s linear infinite; position: relative; z-index: 60; transform-origin: 0 50%; }
body > .flag-stripe { position: sticky; top: 0; animation: stripe 14s linear infinite, stripeIn .6s var(--ease) both; }
@keyframes stripe { to { background-position: 360px 0; } }
@keyframes stripeIn { from { transform: scaleX(0); } }

/* ---------- buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 999px; font: 600 15px/1 var(--body); text-decoration: none; border: 1px solid transparent;
  transition: transform .18s var(--ease), box-shadow .2s var(--ease), background .2s; position: relative; overflow: hidden; white-space: nowrap; }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 8px 24px rgba(225, 6, 0, .3); }
.btn-primary::after { content: ''; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .35) 50%, transparent 65%); transform: translateX(-120%); transition: transform .6s var(--ease); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 12px 30px rgba(225, 6, 0, .4); }
.btn-primary:hover::after { transform: translateX(120%); }
.btn-secondary { background: var(--card); color: var(--ink); border-color: var(--line); }
.btn-secondary:hover { border-color: var(--border); transform: translateY(-1px); }
.btn:active { transform: translateY(1px) scale(.98); }

/* ---------- header */
.site-header { position: sticky; top: 5px; z-index: 50; transition: background .3s, box-shadow .3s, backdrop-filter .3s; }
.site-header.scrolled { background: rgba(17, 19, 24, .82); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.header-in { display: flex; align-items: center; gap: 20px; height: 72px; transition: height .3s var(--ease); }
.scrolled .header-in { height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 800 20px/1 var(--head); letter-spacing: -.02em; flex: none; }
.brand img { border-radius: 10px; width: 40px; height: 40px; }
.nav { display: flex; align-items: center; gap: 22px; flex: 1; justify-content: flex-end; }
.nav-links { display: flex; gap: 22px; }
.nav-links a { text-decoration: none; color: var(--ink-2); font-weight: 500; font-size: 15px; position: relative; padding-block: 6px; transition: color .2s; }
.nav-links a::after { content: ''; position: absolute; inset-inline: 0; bottom: 0; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: var(--origin, left); transition: transform .25s var(--ease); }
[dir='rtl'] .nav-links a::after { --origin: right; }
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-langs { display: flex; align-items: center; gap: 6px; color: var(--muted); }
.langs { display: flex; gap: 2px; background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.langs a { display: block; padding: 5px 11px; border-radius: 999px; text-decoration: none; font-size: 14px; color: var(--ink-2); transition: background .2s, color .2s; }
.langs a[lang='ckb'], .langs a[lang='ar'] { font-family: 'Noto Sans Arabic', var(--body); }
.langs a:hover { color: var(--ink); background: var(--raised); }
.langs a[aria-current] { background: var(--ink); color: var(--bg); font-weight: 600; }
.menu-btn { display: none; margin-inline-start: auto; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--border); background: var(--card); color: var(--ink); place-items: center; cursor: pointer; }
.menu-btn .i-close { display: none; }
.menu-btn[aria-expanded='true'] .i-open { display: none; }
.menu-btn[aria-expanded='true'] .i-close { display: block; }

.suggest { position: fixed; inset-block-end: 16px; inset-inline-start: 50%; transform: translateX(-50%); z-index: 70; display: flex; align-items: center; gap: 4px;
  background: #22262D; border: 1px solid var(--border); border-radius: 999px; padding: 6px 6px 6px 16px; box-shadow: 0 16px 40px rgba(0, 0, 0, .5); animation: up .4s var(--ease) both; }
[dir='rtl'] .suggest { transform: translateX(50%); padding: 6px 16px 6px 6px; }
.suggest[hidden] { display: none; }
.suggest-link { font-weight: 600; text-decoration: none; color: var(--ink); }
.suggest-x { background: none; border: 0; color: var(--muted); width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; }
.suggest-x .ic { width: 16px; height: 16px; }
@keyframes up { from { opacity: 0; translate: 0 12px; } }

/* ---------- hero */
.hero { position: relative; padding-block: clamp(32px, 6vw, 72px) clamp(56px, 8vw, 110px); overflow: hidden;
  background: radial-gradient(900px 520px at 78% 30%, rgba(225, 6, 0, .2), transparent 62%), radial-gradient(700px 400px at 10% 100%, rgba(225, 6, 0, .08), transparent 60%); }
[dir='rtl'] .hero { background: radial-gradient(900px 520px at 22% 30%, rgba(225, 6, 0, .2), transparent 62%), radial-gradient(700px 400px at 90% 100%, rgba(225, 6, 0, .08), transparent 60%); }
.race-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: .5; }
.race-lines path { fill: none; stroke: rgba(225, 6, 0, .35); stroke-width: 1.4; stroke-dasharray: 2 14 60 22; animation: race 16s linear infinite; }
.race-lines path:nth-child(2) { stroke: rgba(241, 242, 244, .12); animation-duration: 22s; animation-direction: reverse; }
.race-lines .l3 { stroke: rgba(225, 6, 0, .18); animation-duration: 28s; }
@keyframes race { to { stroke-dashoffset: -980; } }
.hero-in { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--red-ink); font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
[dir='rtl'] .eyebrow { letter-spacing: 0; font-size: 15px; }
.eyebrow::before { content: ''; width: 28px; height: 2px; background: var(--red); }
.hero h1 { font-size: clamp(40px, 5.3vw, 72px); font-weight: 800; margin-block: 16px 20px; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--red-ink), #FF8A5C); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-2); max-width: 36em; }
.trust-line { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-block-start: 18px; color: var(--ink-2); font-size: 15px; }
.trust-line li { display: inline-flex; align-items: center; gap: 6px; }
.trust-line .ic { width: 17px; height: 17px; color: var(--green); }
.hero-qr { margin-block-start: 26px; }
.h-anim { animation: heroIn .9s var(--ease) both; animation-delay: calc(var(--d, 0) * 110ms + 200ms); }
@keyframes heroIn { from { opacity: 0; transform: translateY(26px); } }
.hero-visual.h-anim { animation-name: heroPhone; animation-duration: 1.1s; }
@keyframes heroPhone { from { opacity: 0; transform: translateY(40px) scale(.94); } }

/* ---------- store buttons + QR */
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-block-start: 28px; }
.store { display: inline-flex; align-items: center; gap: 12px; min-height: 58px; padding: 9px 20px 9px 16px; border-radius: 16px; text-decoration: none;
  background: var(--ink); color: var(--bg); border: 1px solid var(--ink); position: relative; overflow: hidden;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s; }
.store .ic.brand { width: 26px; height: 26px; }
.store span { display: flex; flex-direction: column; line-height: 1.1; text-align: start; }
.store small { font-size: 12px; opacity: .75; font-weight: 500; }
.store b { font: 700 20px/1.1 var(--head); letter-spacing: -.01em; white-space: nowrap; }
a.store::after { content: ''; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .5) 50%, transparent 65%); transform: translateX(-120%); transition: transform .7s var(--ease); }
a.store:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(0, 0, 0, .45), 0 0 0 4px rgba(225, 6, 0, .2); }
a.store:hover::after { transform: translateX(120%); }
a.store:active { transform: translateY(0) scale(.98); }
.store.soon { background: transparent; color: var(--ink-2); border-color: var(--border); cursor: default; }
.store.soon small { color: var(--amber); opacity: 1; font-weight: 600; }
html.os-android .store-android { order: -1; }
html.os-android a.store-ios { background: transparent; color: var(--ink); border-color: var(--border); }
.qr { display: none; align-items: center; gap: 14px; margin: 0; }
.qr-code { width: 96px; height: 96px; padding: 8px; background: #fff; border-radius: 14px; flex: none; box-shadow: 0 8px 30px rgba(0, 0, 0, .4); }
.qr-code svg { width: 100%; height: 100%; }
.qr figcaption { color: var(--muted); font-size: 14px; max-width: 15em; }
@media (min-width: 960px) and (hover: hover) { html:not(.os-ios):not(.os-android) .qr { display: flex; } }

/* ---------- phones */
.phone { width: var(--pw, 280px); aspect-ratio: 400 / 870; padding: 9px; border-radius: 46px; background: linear-gradient(160deg, #2A2E35, #0B0C0F 40%); border: 1px solid #353A42;
  box-shadow: 0 40px 80px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .03) inset; position: relative; }
.phone-screen { width: 100%; height: 100%; border-radius: 37px; overflow: hidden; background: #000; }
.phone-screen img { width: 100%; height: 100%; object-fit: cover; }
.hero-visual { position: relative; display: grid; place-items: center; min-height: 560px; transform: perspective(1200px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .4s var(--ease); }
.hero-visual .phone-front { --pw: clamp(220px, 24vw, 300px); position: relative; z-index: 2; }
.hero-visual .phone-back { --pw: clamp(190px, 20vw, 250px); position: absolute; inset-inline-end: 2%; top: 9%; z-index: 1; opacity: .75; filter: saturate(.85); rotate: 7deg; }
[dir='rtl'] .hero-visual .phone-back { rotate: -7deg; }
.hero-visual .phone-front { margin-inline-end: 18%; }
.glow { position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(225, 6, 0, .38), transparent 65%); filter: blur(20px); animation: glow 10s ease-in-out infinite; pointer-events: none; }
.glow.gold { background: radial-gradient(circle, rgba(232, 192, 74, .28), transparent 65%); }
@keyframes glow { 50% { transform: scale(1.12); opacity: .7; } }
.float-a { animation: floatA 8s ease-in-out infinite; }
.float-b { animation: floatB 10s ease-in-out infinite; }
@keyframes floatA { 50% { translate: 0 -12px; } }
@keyframes floatB { 50% { translate: 0 10px; } }
.chip { position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 14px; font-size: 14px; font-weight: 600;
  background: rgba(35, 39, 46, .86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--border); box-shadow: 0 16px 40px rgba(0, 0, 0, .45); white-space: nowrap; }
.chip .ic { color: var(--red-ink); width: 18px; height: 18px; }
.chip-a { inset-inline-start: 0; top: 2%; animation: chipIn .7s var(--ease) 1.2s both, floatB 9s ease-in-out 2s infinite; }
.chip-b { inset-inline-end: 4%; bottom: 14%; animation: chipIn .7s var(--ease) 1.45s both, floatA 11s ease-in-out 2s infinite; }
.chip-b .ic { color: var(--green); }
@keyframes chipIn { from { opacity: 0; transform: scale(.85) translateY(10px); } }

/* ---------- sections */
.section { padding-block: clamp(64px, 10vw, 128px); position: relative; }
.kicker { color: var(--red-ink); font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; margin-block-end: 12px; }
[dir='rtl'] .kicker { letter-spacing: 0; font-size: 15px; }
.section h2 { font-size: clamp(32px, 4.4vw, 54px); font-weight: 800; max-width: 18em; }
.section h3 { font-size: 21px; font-weight: 700; letter-spacing: -.01em; }

/* how it works */
.how { background: linear-gradient(180deg, var(--bg), var(--bg-2)); }
.how-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 64px); margin-block-start: 48px; align-items: start; }
.steps-wrap { position: relative; }
/* the line that joins the steps: a plain element that grows downwards (no SVG dashes, which iOS Safari draws in pieces) */
.steps { --icon: 58px; --gap: 22px; }
.step { position: relative; }
.step:not(:last-child)::after { content: ''; position: absolute; inset-inline-start: calc(var(--icon) / 2 - 1px); top: var(--icon); bottom: calc(-1 * var(--gap)); width: 2px;
  background: var(--red); transform: scaleY(0); transform-origin: 50% 0; transition: transform .45s var(--ease-io); transition-delay: calc(var(--d, 0) * 220ms + 600ms); }
html:not(.js) .step::after, .how.seen .step::after { transform: none; }
.steps { display: flex; flex-direction: column; gap: 22px; position: relative; }
.step { display: flex; gap: 18px; align-items: flex-start; }
.step-icon { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; flex: none; background: var(--card); border: 1px solid var(--border); color: var(--ink-2); position: relative; z-index: 1;
  transition: color .4s, border-color .4s, box-shadow .4s, background .4s; transition-delay: calc(var(--d, 0) * 220ms + 400ms); }
.step.in .step-icon { color: #fff; background: var(--red); border-color: var(--red); box-shadow: 0 0 0 6px rgba(225, 6, 0, .14), 0 10px 30px rgba(225, 6, 0, .35); }
.step-icon .ic { width: 24px; height: 24px; }
.step h3 { display: flex; align-items: baseline; gap: 10px; margin-block: 6px 6px; font-size: 24px; }
.step-n { font: 700 13px/1 var(--body); color: var(--muted); }
.step p { color: var(--ink-2); max-width: 30em; }
.score-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-l); padding: 26px 26px 14px; box-shadow: 0 30px 70px rgba(0, 0, 0, .3); position: sticky; top: 96px; }
.score-head h3 { font-size: 22px; }
.score-head p { color: var(--muted); font-size: 15px; margin-block: 4px 14px; }
.score-table { width: 100%; border-collapse: collapse; }
.score-table th { text-align: start; font-weight: 500; color: var(--ink-2); padding-block: 13px; padding-inline-end: 12px; border-top: 1px solid var(--line); font-size: 15.5px; }
.score-table td { text-align: end; white-space: nowrap; border-top: 1px solid var(--line); }
.score-table b { font: 800 26px/1 var(--head); color: var(--ink); }
.score-table td span { color: var(--muted); font-size: 13px; }

/* simulated race */
.race { background: radial-gradient(900px 500px at 30% 60%, rgba(225, 6, 0, .1), transparent 60%), var(--bg); }
.race-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: 24px 48px; align-items: end; }
.race-card { margin-block-start: 40px; background: linear-gradient(180deg, #181B21, #14161B); border: 1px solid var(--line); border-radius: 28px; overflow: hidden; box-shadow: 0 40px 90px rgba(0, 0, 0, .35); }
.race-bar { display: flex; align-items: center; gap: 16px; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.race-badge { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--ink-2); padding: 6px 12px; border-radius: 999px; background: var(--raised); }
.race-badge .ic { width: 16px; height: 16px; color: var(--red-ink); }
.race-lights { display: flex; gap: 6px; margin-inline-start: auto; }
.race-lights i { width: 12px; height: 12px; border-radius: 50%; background: #2A1416; border: 1px solid #3A1D1F; transition: background .15s, box-shadow .15s; }
.race-lights i.on { background: var(--red); box-shadow: 0 0 10px rgba(225, 6, 0, .9); }
.race-status { font: 600 13px/1 var(--body); color: var(--muted); min-width: 8em; text-align: end; }
.race-body { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); }
.race-stage { position: relative; padding: 12px; min-width: 0; }
.race-svg { width: 100%; height: auto; overflow: visible; }
.t-edge { fill: none; stroke: #2F343C; stroke-width: 42; stroke-linejoin: round; }
.t-kerb { fill: none; stroke: var(--red); stroke-width: 40; stroke-dasharray: 7 7; stroke-linejoin: round; opacity: .55; }
.t-kerb2 { fill: none; stroke: #F1F2F4; stroke-width: 40; stroke-dasharray: 7 7; stroke-dashoffset: 7; stroke-linejoin: round; opacity: .28; }
.t-asphalt { fill: none; stroke: #1C1F25; stroke-width: 34; stroke-linejoin: round; }
.t-glow { fill: none; stroke: rgba(225, 6, 0, .22); stroke-width: 7; stroke-linejoin: round; }
.t-line { fill: none; stroke: rgba(255, 90, 80, .85); stroke-width: 1.4; stroke-linejoin: round; stroke-dasharray: 10 8; }
.t-sectors text { font: 700 11px/1 var(--body); fill: var(--muted); }
.t-sectors circle { fill: #111318; stroke: var(--amber); stroke-width: 2; }
.dot { cursor: pointer; transition: opacity .25s; }
.dot .halo { opacity: .22; } .dot .halo2 { opacity: .1; }
.dot .core { stroke: #fff; stroke-width: 1.5; }
.dot text { font: 800 7.5px/1 var(--body); fill: #111318; text-anchor: middle; dominant-baseline: central; pointer-events: none; }
.dot.lead .ring { opacity: 1; animation: lead 1.6s ease-out infinite; }
.dot .ring { fill: none; stroke: #fff; stroke-width: 1.2; opacity: 0; transform-box: fill-box; transform-origin: center; }
@keyframes lead { from { transform: scale(.8); opacity: .9; } to { transform: scale(2.2); opacity: 0; } }
.race-stage.hl .dot:not(.on) { opacity: .25; }
.dot.on .halo { opacity: .45; } .dot.on .core { stroke-width: 2.5; }
.race-tip { position: absolute; z-index: 2; transform: translate(-50%, calc(-100% - 16px)); background: #22262D; border: 1px solid var(--border); border-radius: 12px; padding: 7px 12px; font-size: 13px; font-weight: 600; white-space: nowrap; pointer-events: none; box-shadow: 0 10px 30px rgba(0, 0, 0, .5); }
.race-flag { position: absolute; inset-block-start: 16px; inset-inline-start: 50%; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px;
  background: #F1F2F4; color: #111318; font-weight: 700; font-size: 14px; animation: up .4s var(--ease) both; }
[dir='rtl'] .race-flag { transform: translateX(50%); }
.race-flag[hidden] { display: none; }
.race-side { border-inline-start: 1px solid var(--line); padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.race-controls { display: flex; flex-wrap: wrap; gap: 8px; }
.rc { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 8px 14px; border-radius: 12px; border: 1px solid var(--border); background: var(--raised); color: var(--ink); font: 600 14px/1 var(--body); cursor: pointer; transition: background .2s, transform .15s; }
.rc:hover { background: #2A2F37; } .rc:active { transform: scale(.97); }
.rc .ic { width: 16px; height: 16px; }
.rc-play .i-pause, .rc-play[aria-pressed='true'] .i-play { display: none; }
.rc-play[aria-pressed='true'] .i-pause { display: block; }
.rc-play[aria-pressed='false'] { background: var(--red); border-color: var(--red); color: #fff; }
.rc-speed { display: inline-flex; padding: 3px; border-radius: 12px; border: 1px solid var(--border); background: var(--card); }
.rc-speed button { min-height: 32px; min-width: 42px; border: 0; border-radius: 9px; background: none; color: var(--ink-2); font: 600 13px/1 var(--body); cursor: pointer; }
.rc-speed button[aria-pressed='true'] { background: var(--ink); color: var(--bg); }
.legend-title { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; font: 700 13px/1.2 var(--body) !important; letter-spacing: .08em !important; text-transform: uppercase; color: var(--muted); margin-block-start: 4px; }
[dir='rtl'] .legend-title { letter-spacing: 0 !important; }
.race-lap { text-transform: none; letter-spacing: 0; color: var(--ink-2); font-weight: 600; }
.race-legend { display: flex; flex-direction: column; gap: 4px; }
.drv { width: 100%; display: grid; grid-template-columns: 32px 12px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 10px; border: 1px solid transparent; background: transparent; color: var(--ink); font: 500 14px/1.2 var(--body); text-align: start; cursor: pointer; transition: background .2s, border-color .2s; }
.drv:hover, .drv.on { background: var(--raised); }
.drv-pos { font: 800 13px/1 var(--head); color: var(--muted); }
.drv-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--c); box-shadow: 0 0 8px var(--c); }
.drv-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: start; }
.drv-name b { color: var(--muted); font-weight: 700; margin-inline-end: 4px; }
.drv-gap { color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.lead-row .drv { border-color: rgba(225, 6, 0, .55); background: rgba(225, 6, 0, .08); }
.lead-row .drv-pos { color: var(--red-ink); }
.lead-row .drv-gap { color: var(--ink); font-weight: 600; }
.race-note { color: var(--muted); font-size: 12.5px; margin-block-start: auto; }
.race-cta { display: flex; justify-content: center; margin-block-start: 28px; }

/* features */
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 90px); align-items: center; margin-block-start: clamp(56px, 8vw, 100px); }
.feature.flip .feature-copy { order: 2; }
.feature-copy h3 { font-size: clamp(26px, 3vw, 36px); font-weight: 800; margin-block: 16px 12px; }
.feature-copy p { color: var(--ink-2); font-size: 18px; max-width: 28em; }
.feature-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: rgba(225, 6, 0, .14); color: var(--red-ink); }
.feature-visual, .ach-visual, .langs-visual { position: relative; display: grid; place-items: center; min-height: 520px; }
.feature-visual .phone, .ach-visual .phone, .langs-visual .phone { --pw: clamp(220px, 24vw, 280px); }
.feature-visual::before { content: ''; position: absolute; width: min(420px, 90%); aspect-ratio: 1; border-radius: 50%; border: 1px dashed rgba(241, 242, 244, .08); animation: spin 60s linear infinite; }
@keyframes spin { to { rotate: 360deg; } }
.small-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-block-start: clamp(56px, 8vw, 100px); }
.small-card, .trust-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-l); padding: 26px; transition: transform .25s var(--ease), border-color .25s, box-shadow .25s; }
.small-card:hover, .trust-card:hover { transform: translateY(-4px); border-color: var(--border); box-shadow: 0 20px 50px rgba(0, 0, 0, .35); }
.small-card h3, .trust-card h3 { margin-block: 16px 8px; font-size: 19px; }
.small-card p, .trust-card p { color: var(--ink-2); font-size: 15.5px; }

/* achievements */
.ach { background: radial-gradient(800px 500px at 85% 50%, rgba(232, 192, 74, .07), transparent 60%), var(--bg-2); }
[dir='rtl'] .ach { background: radial-gradient(800px 500px at 15% 50%, rgba(232, 192, 74, .07), transparent 60%), var(--bg-2); }
.ach-in, .langs-in { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(28px, 6vw, 80px); align-items: center; }
.ach .lead, .langs-sec .lead { margin-block-start: 16px; }
.medals { display: grid; gap: 12px; margin-block-start: 32px; }
.medal-card { display: flex; gap: 16px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 14px 18px; transition: transform .25s var(--ease), box-shadow .25s; }
.medal-card:hover { transform: translateX(4px); box-shadow: 0 16px 40px rgba(0, 0, 0, .3); }
[dir='rtl'] .medal-card:hover { transform: translateX(-4px); }
.medal { --m1: var(--bronze-1); --m2: var(--bronze-2); --m3: var(--bronze-3); width: 58px; height: 58px; flex: none; border-radius: 50%; padding: 2px; position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--m1), var(--m2), var(--m3)); box-shadow: 0 8px 24px color-mix(in srgb, var(--m2) 30%, transparent); animation: floatA 6s ease-in-out infinite; }
.medal-silver { --m1: var(--silver-1); --m2: var(--silver-2); --m3: var(--silver-3); animation-delay: -2s; }
.medal-gold { --m1: var(--gold-1); --m2: var(--gold-2); --m3: var(--gold-3); animation-delay: -4s; }
.medal span { width: 100%; height: 100%; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(180deg, #262A31, #17191E); color: var(--m2); }
.medal::after { content: ''; position: absolute; inset: -30%; background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, .55) 50%, transparent 60%); transform: translateX(-100%); animation: shine 5s ease-in-out infinite; }
.medal-silver::after { animation-delay: 1.6s; } .medal-gold::after { animation-delay: 3.2s; }
@keyframes shine { 0%, 70% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
.medal-body { flex: 1; min-width: 0; }
.medal-top { display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.medal-top b { font: 700 17px/1.2 var(--head); }
.tier { font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.tier-bronze { color: var(--bronze-1); background: rgba(201, 123, 63, .18); } .tier-silver { color: var(--silver-1); background: rgba(196, 203, 211, .14); } .tier-gold { color: var(--gold-1); background: rgba(232, 192, 74, .18); }
.medal-body p { color: var(--muted); font-size: 14px; margin-block: 2px 8px; }
.bar { height: 6px; border-radius: 6px; background: var(--raised); overflow: hidden; }
.bar span { display: block; height: 100%; width: var(--p); border-radius: 6px; background: linear-gradient(90deg, var(--red), #FF6A4D); transition: width 1.4s var(--ease) .3s; }
.js .medal-card:not(.in) .bar span { width: 0; }
.medal-body small { color: var(--muted); font-size: 12.5px; }
.groups { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; margin-block-start: 22px; }
.groups li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 16px; background: rgba(26, 29, 35, .6); border: 1px solid var(--line); }
.groups .ic { color: var(--red-ink); margin-block-start: 2px; }
.groups b { display: block; font-size: 15px; } .groups span { color: var(--muted); font-size: 13.5px; }
.hidden-note { display: flex; align-items: center; gap: 10px; margin-block-start: 22px; padding: 14px 18px; border-radius: 16px; border: 1px dashed rgba(184, 124, 255, .45); background: rgba(184, 124, 255, .07); color: #D9C2FF; font-weight: 600; }
.hidden-note .ic { color: var(--purple); }
.fine { color: var(--muted); font-size: 14px; margin-block-start: 12px; }

/* languages */
.langs-in { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
.lang-list { display: grid; gap: 12px; margin-block-start: 28px; }
.lang-list li { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 18px 22px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); transition: border-color .25s, transform .25s var(--ease); }
.lang-list li:hover { border-color: rgba(225, 6, 0, .5); transform: translateY(-2px); }
.lang-list b { font: 800 26px/1.2 var(--head); }
.lang-list b[lang='ckb'], .lang-list b[lang='ar'] { font-family: 'Noto Sans Arabic', var(--head); }
.lang-list span { color: var(--muted); font-size: 15px; text-align: end; }

/* trust */
.trust-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-block-start: 44px; }
.trust-icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; background: rgba(61, 214, 140, .12); color: var(--green); }

/* faq */
.faq-in { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 5vw, 64px); align-items: start; }
.faq-list { display: grid; gap: 10px; }
.faq-item { background: var(--card); border: 1px solid var(--line); border-radius: 18px; transition: border-color .25s; }
.faq-item:has(.faq-q[aria-expanded='true']) { border-color: var(--border); }
.faq-item h3 { font-size: inherit; letter-spacing: 0; }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; background: none; border: 0; color: var(--ink); font: 600 17px/1.4 var(--body); text-align: start; cursor: pointer; border-radius: 18px; }
.faq-q .ic { color: var(--muted); transition: transform .3s var(--ease); }
.faq-q[aria-expanded='true'] .ic { transform: rotate(180deg); color: var(--red-ink); }
.faq-a { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .32s var(--ease), opacity .32s; }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 22px 20px; color: var(--ink-2); }
.faq-a a { color: var(--red-ink); }
.faq-a.closed { grid-template-rows: 0fr; opacity: 0; }

/* final cta */
.cta-card { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center; padding: clamp(32px, 6vw, 72px);
  border-radius: 32px; border: 1px solid var(--border);
  background: radial-gradient(700px 400px at 100% 0, rgba(225, 6, 0, .3), transparent 60%), radial-gradient(500px 300px at 0 100%, rgba(225, 6, 0, .12), transparent 60%), var(--card); }
.cta-card .flag-stripe.in-card { position: absolute; inset: 0 0 auto 0; }
.cta-card h2 { font-size: clamp(32px, 4.6vw, 58px); max-width: 14em; }
.cta-card .lead { margin-block-start: 14px; }
.cta-card .qr { flex-direction: column; text-align: center; }
.cta-card .qr-code { width: 150px; height: 150px; }
.insta { display: inline-flex; align-items: center; gap: 8px; margin-block-start: 22px; color: var(--ink-2); text-decoration: none; font-weight: 500; }
.insta:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding-block: 56px 32px; background: #0E1014; }
.footer-in { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.footer-brand p { color: var(--muted); font-size: 15px; margin-block-start: 14px; max-width: 26em; }
.site-footer h2 { font: 700 13px/1 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-block-end: 14px; }
[dir='rtl'] .site-footer h2 { letter-spacing: 0; font-size: 14px; }
.site-footer h2.mt { margin-block-start: 24px; }
.site-footer ul { display: grid; gap: 9px; }
.site-footer ul a { color: var(--ink-2); text-decoration: none; font-size: 15px; display: inline-flex; align-items: center; gap: 8px; }
.site-footer ul a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.site-footer li { color: var(--ink-2); font-size: 15px; }
.site-footer ul.footer-langs { display: inline-flex; gap: 2px; }
.footer-langs a:hover { text-decoration: none !important; }
.footer-legal { margin-block-start: 40px; padding-block-start: 24px; border-top: 1px solid var(--line); display: grid; gap: 8px; font-size: 13.5px; color: var(--muted); }

/* ---------- scroll reveals (content stays visible without JS) */
.js .rv { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js .rv-start { transform: translateX(-40px); } .js .rv-end { transform: translateX(40px); }
[dir='rtl'].js .rv-start { transform: translateX(40px); } [dir='rtl'].js .rv-end { transform: translateX(-40px); }
.js .rv-scale { transform: scale(.94) translateY(20px); }
.js .rv.in { opacity: 1; transform: none; }

/* ---------- responsive */
@media (max-width: 1060px) {
  .nav-links { gap: 16px; }
  .nav-langs .ic { display: none; }
}
@media (max-width: 960px) {
  .menu-btn { display: grid; }
  .nav { position: fixed; inset: 0; top: 0; z-index: 55; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 24px; padding: 96px var(--gut) 32px;
    background: rgba(13, 15, 19, .97); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); visibility: hidden; opacity: 0; transform: translateY(-12px);
    transition: opacity .28s var(--ease), transform .28s var(--ease), visibility 0s .28s; overflow-y: auto; }
  .nav.open { visibility: visible; opacity: 1; transform: none; transition: opacity .28s var(--ease), transform .28s var(--ease), visibility 0s; }
  .nav-links { flex-direction: column; gap: 4px; }
  .nav-links a { display: block; font: 700 28px/1.3 var(--head); color: var(--ink); padding-block: 10px; }
  .nav-links a::after { display: none; }
  .nav.open .nav-links li { animation: up .4s var(--ease) both; animation-delay: calc(var(--i, 0) * 50ms); }
  .nav-cta { justify-content: center; padding: 15px; font-size: 17px; width: 100%; max-width: 100%; }
  .nav > * { min-width: 0; max-width: 100%; }
  .menu-btn { position: relative; z-index: 60; }
  .brand { position: relative; z-index: 60; }
  .hero-in, .how-grid, .ach-in, .langs-in, .faq-in, .feature { grid-template-columns: minmax(0, 1fr); }
  .hero-visual { min-height: 0; padding-block: 12px 24px; }
  .feature.flip .feature-copy { order: 0; }
  .feature-visual, .ach-visual, .langs-visual { min-height: 0; padding-block: 8px; }
  .langs-visual { order: 2; }
  .score-card { position: static; }
  .race-head, .race-body { grid-template-columns: minmax(0, 1fr); }
  .race-side { border-inline-start: 0; border-top: 1px solid var(--line); }
  .small-grid, .trust-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer-in { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .cta-card { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .header-in { height: 62px; }
  .hero-visual .phone-front { --pw: 210px; margin-inline-end: 22%; }
  .hero-visual .phone-back { --pw: 170px; inset-inline-end: 4%; }
  .chip { font-size: 12.5px; padding: 8px 11px; }
  .chip-a { display: none; } .chip-b { inset-inline-end: 0; bottom: 8%; }
  .store b { font-size: 18px; }
  .stores { gap: 10px; }
  .store { flex: 1 1 160px; justify-content: center; }
  .small-grid, .trust-grid { grid-template-columns: minmax(0, 1fr); }
  .feature-visual .phone, .ach-visual .phone, .langs-visual .phone { --pw: 230px; }
  .step-icon { width: 48px; height: 48px; border-radius: 14px; }
  .steps { --icon: 48px; }
  .step h3 { font-size: 21px; }
  .score-card { padding: 20px 18px 8px; }
  .score-table th { font-size: 14.5px; }
  .lang-list li { flex-direction: column; gap: 2px; }
  .lang-list span { text-align: start; }
  .footer-in { grid-template-columns: 1fr; }
  .cta-card { border-radius: 24px; }
  .race-card { border-radius: 22px; }
  .race-bar { flex-wrap: wrap; gap: 10px; padding: 12px 14px; }
  .race-status { min-width: 0; }
  .race-stage { padding: 4px; }
  .race-side { padding: 14px; }
  .dot text { display: none; }
  .race-legend { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4px 6px; }
  .drv { grid-template-columns: 26px 10px minmax(0, 1fr); gap: 7px; padding: 7px 8px; font-size: 13px; }
  .drv-gap { display: none; }
  .suggest { inset-inline: 12px; transform: none; justify-content: space-between; }
  [dir='rtl'] .suggest { transform: none; }
}

@media print { .rv { opacity: 1 !important; transform: none !important; } .site-header, .suggest { position: static; } }

/* ---------- reduced motion: everything visible, no loops, no parallax */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .rv { opacity: 1; transform: none; }
  .js .medal-card:not(.in) .bar span { width: var(--p); }
  .step::after { transform: none !important; }
  .hero-visual { transform: none !important; }
}

/* /app page */
.get { min-height: 100vh; display: grid; place-items: center; padding: 24px 16px; background: radial-gradient(800px 500px at 50% -10%, rgba(225, 6, 0, .18), transparent 60%), var(--bg); }
.get-card { width: min(440px, 100%); text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; background: var(--card); border: 1px solid var(--line); border-radius: 28px; padding: 36px 28px; box-shadow: 0 40px 90px rgba(0, 0, 0, .4); }
.get-card h1 { font-size: 30px; }
.get-card .stores { justify-content: center; margin-block-start: 6px; }
.get-sub { display: none; }
html.os-desktop .get-qr { display: block; margin: 8px 0 0; }
.get-qr { display: none; }
.get-qr .qr-code { margin: 0 auto; }

/* /join page */
.join-code { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 18px; border-radius: 18px; background: var(--raised); border: 1px solid var(--border); width: 100%; }
.join-code b { font: 800 34px/1 var(--head); letter-spacing: .24em; color: var(--ink); padding-inline-start: .24em; }
.join-open { justify-content: center; width: 100%; padding: 15px; font-size: 17px; }
.join-open[hidden], .join-code[hidden], .lead[hidden] { display: none; }

/* /verify page */
.verify-icon { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; margin-block: 8px 4px; }
.verify-icon::before { content: ''; width: 26px; height: 26px; background: currentColor;
  -webkit-mask: var(--vi) center / contain no-repeat; mask: var(--vi) center / contain no-repeat; }
.verify-icon.ok { color: #3DD68C; background: rgba(61, 214, 140, .12);
  --vi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
.verify-icon.bad { color: #FF6A61; background: rgba(255, 106, 97, .12);
  --vi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M18 6 6 18M6 6l12 12'/%3E%3C/svg%3E"); }

.join-logo { width: 88px; height: 88px; border-radius: 22px; object-fit: cover; margin-inline: auto; margin-block: 4px 8px; display: block; background: #23272E; }
.join-logo[hidden] { display: none; }

/* sponsor plans */
.plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; margin-block-start: 36px; }
.plan-card { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-l); padding: 26px 24px; display: flex; flex-direction: column; gap: 6px; }
.plan-card.featured { border-color: rgba(225, 6, 0, .6); box-shadow: 0 0 0 1px rgba(225, 6, 0, .35), 0 24px 60px rgba(225, 6, 0, .12); }
.plan-badge { position: absolute; top: -12px; inset-inline-start: 20px; background: var(--red, #E10600); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.plan-card h3 { font-size: 21px; }
.plan-price { margin-block-start: 8px; } .plan-price b { font-size: 32px; font-family: Outfit, sans-serif; letter-spacing: -.5px; }
.plan-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 14px; min-height: 22px; }
.plan-save { background: rgba(61, 214, 140, .14); color: #3DD68C; padding: 2px 8px; border-radius: 999px; font-weight: 600; font-size: 12.5px; }
.plan-tag { color: var(--ink-2); font-size: 15px; }
.plan-inc { margin-block-start: 10px; }
.plan-feats { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.plan-feats li { padding-inline-start: 22px; position: relative; }
.plan-feats li::before { content: ''; position: absolute; inset-inline-start: 0; top: .45em; width: 12px; height: 7px; border-left: 2px solid #3DD68C; border-bottom: 2px solid #3DD68C; transform: rotate(-45deg); }
.sponsor-cta { margin-block-start: 28px; text-align: center; }
.sponsor-now { display: flex; align-items: center; gap: 14px; margin-block-start: 18px; } .sponsor-now[hidden] { display: none; }
.sponsor-logos { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; }
.sponsor-logos img { max-height: 44px; max-width: 150px; object-fit: contain; display: block; }
.sponsor[hidden] { display: none; }
.sponsor-contact { margin-block-start: 40px; text-align: center; }
.sponsor-contact h3 { font-size: 20px; margin-block-end: 16px; }
.contact-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.contact-row .btn { display: inline-flex; align-items: center; gap: 8px; }
.contact-row .btn svg { width: 18px; height: 18px; }
.contact-row b { font-weight: 600; opacity: .85; }

/* sponsor strip under the hero, and in the footer */
.sponsor-strip { border-block: 1px solid var(--line); background: var(--bg-2); }
.sponsor-strip[hidden], .footer-sponsors[hidden] { display: none; }
.sponsor-strip .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px 28px; padding-block: 22px; }
.sponsor-strip-label { color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; }
.sponsor-strip .sponsor-logos img { max-height: 48px; max-width: 170px; }
.sponsor-logos a { display: block; border-radius: 8px; transition: opacity .2s; } .sponsor-logos a:hover { opacity: .8; }
.footer-sponsors { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; padding-block: 18px; border-top: 1px solid var(--line); }
.footer-sponsors .sponsor-logos img { max-height: 32px; max-width: 120px; }

/* sponsor logos: just the logo with rounded corners, no tile behind it */
.sponsor-logos img { border-radius: 10px; }
.sponsor-logos > a { display: block; line-height: 0; border-radius: 10px; }
.sponsor-logos > a:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; }

.sponsor-note { max-width: 70ch; margin: 28px auto 0; text-align: center; line-height: 1.6; }
