/* Mobile-first layout: compact top bar, bottom tab bar on small
   screens. Logical properties so the same rules work in RTL.
   Colour tokens below. */

:root {
  --bg: #0b0f0c;
  --bg-elev: #121814;
  --surface: #172019;
  --surface-2: #1e2a21;
  --line: #2a3a2e;
  --text: #eef3ef;
  --text-muted: #a9b8ad;
  --brand: #22b33a;
  --brand-hi: #3ee05a;
  --brand-glow: rgba(46, 209, 74, 0.25);
  --accent: #f2c12e;
  --danger: #ff6b6b;
  --ok: #3ee05a;
  --verify-text: #ffd95a;

  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-ar: "Noto Kufi Arabic", "Segoe UI", Tahoma, "Geeza Pro", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 28px;
  --wrap: 68rem;
  --gutter: 1rem;
  --topbar-h: 56px;
  --tabbar-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--topbar-h) + 12px); }

body {
  margin: 0;
  background:
    radial-gradient(60rem 30rem at 85% -10%, rgba(34, 179, 58, 0.18), transparent 60%),
    var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  padding-bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom));
}
html[lang="ar"] body { font-family: var(--font-ar); line-height: 1.85; }

img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-hi); text-underline-offset: 0.2em; }
a:hover { color: var(--text); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

h1, h2, h3 { line-height: 1.2; margin: 0 0 0.75rem; letter-spacing: -0.01em; }
h1 { font-size: clamp(1.9rem, 6vw, 3.1rem); }
h2 { font-size: clamp(1.35rem, 4vw, 1.9rem); }
h3 { font-size: 1.1rem; }
p, ul, ol { margin: 0 0 1rem; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; inset-inline-start: 1rem; top: -3rem; background: var(--accent); color: #111; padding: 0.5rem 1rem; border-radius: var(--r-sm); z-index: 200; }
.skip-link:focus { top: 0.5rem; }
.muted { color: var(--text-muted); }

/* ---------- Inline highlight and notice bar ---------- */

/* ---------- Top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 15, 12, 0.85);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.topbar-inner { display: flex; align-items: center; gap: 1rem; min-height: var(--topbar-h); }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--text); font-weight: 700; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.brand-name { font-size: 1.05rem; }
.brand-name small { color: var(--brand-hi); font-weight: 600; }
.topnav { display: none; margin-inline-start: auto; }
.topnav ul { list-style: none; display: flex; gap: 0.25rem; margin: 0; padding: 0; }
.topnav a { display: block; white-space: nowrap; padding: 0.45rem 0.65rem; border-radius: 999px; color: var(--text-muted); text-decoration: none; font-weight: 500; font-size: 0.92rem; }
.topnav a:hover { color: var(--text); background: var(--surface); }
.topnav a[aria-current="page"] { color: var(--text); background: var(--surface-2); }
.top-actions { display: flex; gap: 0.4rem; margin-inline-start: auto; }
.btn.btn-sm { min-height: 0; padding: 0.4rem 0.8rem; font-size: 0.85rem; line-height: 1.2; border-radius: 999px; white-space: nowrap; }
.btn.btn-sm[aria-current="page"] { outline: 2px solid var(--brand-hi); outline-offset: 2px; }
.lang-switch { margin-inline-start: auto; font-size: 0.9rem; color: var(--text-muted); text-decoration: none; border: 1px solid var(--line); border-radius: 999px; padding: 0.3rem 0.8rem; white-space: nowrap; }
.top-actions ~ .lang-switch { margin-inline-start: 0; }
.lang-switch:hover { color: var(--text); border-color: var(--brand); }
.lang-switch[aria-disabled="true"] { opacity: 0.5; pointer-events: none; }
.ls-short { display: none; }

/* Small phones: shorter logo, no suffix, short language label */
@media (max-width: 419px) {
  .topbar-inner { gap: 0.5rem; }
  .topbar .brand .brand-logo { height: 18px; }
  .topbar .brand .brand-tld { display: none; }
  .btn.btn-sm { padding: 0.38rem 0.6rem; font-size: 0.8rem; }
  .lang-switch { padding: 0.3rem 0.6rem; }
  .ls-long { display: none; }
  .ls-short { display: inline; }
}

/* Top bar may run wider than page content so the full menu fits */
.topbar .wrap { max-width: 80rem; }

@media (min-width: 1180px) {
  .topnav { display: block; }
  .topnav ~ .top-actions { margin-inline-start: 0.75rem; }
  .lang-switch, .top-actions ~ .lang-switch { margin-inline-start: 0.5rem; }
}

/* ---------- Bottom tab bar (phones) ---------- */
.tabbar {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 60;
  background: rgba(18, 24, 20, 0.95);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom);
}
.tabbar ul { list-style: none; margin: 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
.tabbar a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  min-height: var(--tabbar-h); padding-inline: 2px; text-align: center; line-height: 1.15;
  color: var(--text-muted); text-decoration: none; font-size: 0.68rem; font-weight: 600;
}
.tabbar a svg { width: 22px; height: 22px; }
.tabbar a[aria-current="page"] { color: var(--brand-hi); }
@media (min-width: 1180px) {
  .tabbar { display: none; }
  body { padding-bottom: 0; }
}

/* ---------- Breadcrumbs ---------- */
.crumbs { font-size: 0.85rem; color: var(--text-muted); padding-block: 0.9rem 0; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.35rem; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; margin-inline-end: 0.35rem; opacity: 0.6; }
.crumbs a { color: var(--text-muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem; justify-content: center;
  min-height: 48px; padding: 0.6rem 1.2rem; border-radius: 14px;
  font: inherit; font-weight: 700; text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: transform 0.12s ease, background 0.12s ease;
}
.btn:active { transform: scale(0.98); }
.btn svg { width: 22px; height: 22px; flex: none; }
.btn-primary { background: var(--brand); color: #06100a; }
.btn-primary:hover { background: var(--brand-hi); color: #06100a; }
.btn-ghost { background: var(--surface); color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brand); color: var(--text); }
.btn[aria-disabled="true"], .btn:disabled { opacity: 0.55; cursor: not-allowed; }
.btn-store { text-align: start; line-height: 1.15; }
.btn-store small { display: block; font-weight: 500; font-size: 0.72rem; opacity: 0.8; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ---------- Hero ---------- */
.hero { padding-block: 2rem 2.5rem; display: grid; gap: 2rem; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--brand-hi); margin-bottom: 0.75rem; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--brand-hi); box-shadow: 0 0 0 4px var(--brand-glow); }
.lead { font-size: 1.12rem; color: var(--text-muted); max-width: 38rem; }
.hero .btn-row { margin-block: 1.5rem 0.75rem; }
.hero-note { font-size: 0.85rem; color: var(--text-muted); }
@media (min-width: 900px) {
  .hero { grid-template-columns: 1.15fr 0.85fr; padding-block: 3.5rem 4rem; }
}

/* ---------- Phone frame ---------- */
.phone {
  position: relative; width: min(280px, 78vw); aspect-ratio: 9 / 19; margin-inline: auto;
  border-radius: 42px; padding: 12px; background: linear-gradient(160deg, #2a352d, #0e130f);
  box-shadow: 0 0 0 1px #34463a, 0 30px 80px -20px var(--brand-glow), 0 20px 40px -20px #000;
}
.phone::before { content: ""; position: absolute; top: 20px; left: 50%; translate: -50% 0; width: 84px; height: 22px; border-radius: 999px; background: #050705; z-index: 2; }
.phone-screen {
  height: 100%; border-radius: 32px; overflow: hidden; background: var(--bg-elev);
  display: flex; flex-direction: column; align-items: stretch; justify-content: center; gap: 10px; padding: 52px 16px 20px;
  border: 1px dashed #3b5141;
}
.sk { background: var(--surface-2); border-radius: 10px; }
.sk-bar { height: 14px; }
.sk-bar.short { width: 55%; }
.sk-card { height: 72px; }
.sk-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sk-grid .sk { height: 64px; }
.sk-tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: auto; }
.sk-tabs .sk { height: 26px; border-radius: 8px; }
.sk-tabs .sk:first-child { background: var(--brand); opacity: 0.6; }
.phone-screen { justify-content: flex-start; border-style: solid; padding-inline: 12px; }
.ps-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ps-top img { height: 18px; width: auto; }
.ps-av { width: 22px; height: 22px; border-radius: 50%; background: var(--surface-2); }
.ps-hero { width: 100%; height: auto; border-radius: 12px; display: block; }
.ps-cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.ps-cats span { position: relative; display: block; border-radius: 8px; overflow: hidden; aspect-ratio: 1; }
.ps-cats img { width: 100%; height: 100%; object-fit: cover; object-position: right; display: block; }
.ps-cats b { position: absolute; inset: auto 0 0; padding: 8px 2px 3px; font-size: 0.6rem; text-align: center; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.85)); }
.ps-slot { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 10px; display: block; }
.sk-tabs span { text-align: center; font-size: 0.6rem; padding: 6px 0; border-radius: 8px; background: var(--surface-2); color: var(--text-muted, #9db0a2); }
.sk-tabs span:first-child { background: var(--brand); color: #111; font-weight: 700; }

/* ---------- Device detector ---------- */
.detect {
  border: 1px solid var(--line); background: var(--surface); border-radius: var(--r);
  padding: 1rem 1.1rem; display: flex; gap: 0.9rem; align-items: center; max-width: 38rem;
}
.detect svg { width: 34px; height: 34px; color: var(--brand-hi); flex: none; }
.detect p { margin: 0; }
.detect strong { color: var(--text); }

/* ---------- Sections and cards ---------- */
.section { padding-block: 2.5rem; }
.section-head { max-width: 42rem; margin-bottom: 1.5rem; }
.section-head p { color: var(--text-muted); }
.grid { display: grid; gap: 1rem; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  padding: 1.25rem; display: flex; flex-direction: column; gap: 0.25rem;
}
.card p:last-child { margin-bottom: 0; }
.card .icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(34, 179, 58, 0.14); color: var(--brand-hi); margin-bottom: 0.6rem; }
.card .icon svg { width: 24px; height: 24px; }
a.card { text-decoration: none; color: var(--text); transition: border-color 0.15s ease, transform 0.15s ease; }
a.card:hover { border-color: var(--brand); transform: translateY(-2px); }
.card .more { margin-top: auto; padding-top: 0.5rem; color: var(--brand-hi); font-weight: 600; font-size: 0.92rem; }
.card-warn { border-color: #5a3a10; background: #1c160c; }

/* ---------- Platform switch (tabs) ---------- */
.seg { display: inline-flex; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 4px; gap: 4px; margin-bottom: 1.25rem; }
.seg button { font: inherit; font-weight: 600; font-size: 0.92rem; color: var(--text-muted); background: none; border: 0; border-radius: 999px; padding: 0.5rem 1rem; cursor: pointer; min-height: 40px; }
.seg button[aria-selected="true"] { background: var(--brand); color: #06100a; }
[role="tabpanel"][hidden] { display: none; }

/* ---------- Steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; gap: 0.75rem; }
.steps > li {
  counter-increment: step; position: relative;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  padding: 1rem 1.1rem 1rem 3.6rem;
}
html[dir="rtl"] .steps > li { padding: 1rem 3.6rem 1rem 1.1rem; }
.steps > li::before {
  content: counter(step); position: absolute; inset-inline-start: 1rem; top: 1rem;
  width: 1.9rem; height: 1.9rem; border-radius: 50%; display: grid; place-items: center;
  background: var(--brand); color: #06100a; font-weight: 800; font-size: 0.95rem;
}
.steps h3 { margin-bottom: 0.25rem; }
.steps p { margin-bottom: 0.25rem; color: var(--text-muted); }
.steps p:last-child { margin-bottom: 0; }

/* ---------- Definition list grid ---------- */
.specs { display: grid; grid-template-columns: 1fr; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; margin: 0; }
.specs div { display: grid; grid-template-columns: minmax(8rem, 40%) 1fr; gap: 1rem; padding: 0.75rem 1rem; border-bottom: 1px solid var(--line); background: var(--surface); }
.specs div:last-child { border-bottom: 0; }
.specs dt { color: var(--text-muted); font-size: 0.92rem; }
.specs dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }

/* ---------- Screenshot rail ---------- */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: min(220px, 62vw); gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 0.75rem; }
.rail figure { margin: 0; scroll-snap-align: start; }
.rail .shot {
  aspect-ratio: 9 / 19; border-radius: 24px; border: 1px dashed #3b5141; background: var(--bg-elev);
  display: grid; place-items: center; text-align: center; padding: 1rem; color: var(--verify-text); font-size: 0.8rem;
}
.rail figcaption { font-size: 0.88rem; color: var(--text-muted); margin-top: 0.5rem; }

/* ---------- FAQ (details) ---------- */
.faq { display: grid; gap: 0.6rem; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 0 1.1rem; }
.faq summary { cursor: pointer; list-style: none; padding: 1rem 0; font-weight: 600; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--brand-hi); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details > div { padding-bottom: 1rem; color: var(--text-muted); }
.faq details > div p:last-child { margin-bottom: 0; }

/* ---------- Prose ---------- */
.prose { max-width: 44rem; }
.prose li { margin-bottom: 0.4rem; }
.callout { border: 1px solid var(--line); border-inline-start: 4px solid var(--accent); background: var(--surface); border-radius: var(--r-sm); padding: 1rem 1.1rem; margin-block: 1rem; }
.callout p:last-child { margin-bottom: 0; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); }
table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
th, td { text-align: start; padding: 0.75rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--surface-2); font-weight: 600; }
tr:last-child td { border-bottom: 0; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); margin-top: 3rem; padding-block: 2rem; background: var(--bg-elev); font-size: 0.9rem; color: var(--text-muted); }
.footer-grid { display: grid; gap: 1.5rem; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.footer h2 { font-size: 0.95rem; color: var(--text); margin-bottom: 0.5rem; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.35rem; }
.footer a { color: var(--text-muted); }
.footer a:hover { color: var(--text); }
.age { display: inline-grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 50%; border: 2px solid var(--danger); color: var(--text); font-weight: 800; font-size: 0.8rem; margin-inline-end: 0.5rem; vertical-align: middle; }


/* ---------- Backdrop, wordmark, titles, tiles, hexagon rails ---------- */
body {
  background:
    radial-gradient(60rem 30rem at 85% -10%, rgba(34, 179, 58, 0.18), transparent 60%),
    url("/assets/img/stadium-bg.webp") center top / cover fixed no-repeat,
    var(--bg);
}
.brand .brand-logo { width: auto; height: 22px; border-radius: 0; }
.section-head > h2:not(.h-bar) { text-transform: uppercase; font-weight: 900; font-size: clamp(1.1rem, 3vw, 1.5rem); border-inline-start: 3px solid var(--brand); padding-inline-start: 0.75rem; }
.brand .brand-tld { color: var(--brand-hi); font-weight: 600; font-size: 0.85rem; }

/* two-tone titles: first part green, rest white, uppercase and heavy */
.tt { text-transform: uppercase; font-weight: 900; letter-spacing: 0.01em; line-height: 1.05; }
.tt .g, h1 .g { color: var(--brand); }
.h-bar { display: flex; align-items: center; gap: 0.75rem; text-transform: uppercase; font-weight: 900; font-size: clamp(1.1rem, 3vw, 1.5rem); margin-bottom: 0.35rem; }
.h-bar::before { content: ""; width: 3px; align-self: stretch; min-height: 1.4em; background: var(--brand); border-radius: 2px; }
.h-bar .g { color: var(--brand); }

/* banner tiles */
.tiles { display: grid; gap: 1rem; }
@media (min-width: 640px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .tiles { grid-template-columns: repeat(3, 1fr); } }
.tile {
  position: relative; overflow: hidden; border-radius: 14px; min-height: 13.5rem;
  background: var(--surface); border: 1px solid var(--line); isolation: isolate;
  padding: 1.25rem 1.4rem; display: flex; flex-direction: column; align-items: flex-start;
}
.tile > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; z-index: -2; }
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(7, 14, 20, 0.92) 0%, rgba(7, 14, 20, 0.75) 45%, rgba(7, 14, 20, 0) 75%); }
html[dir="rtl"] .tile::before { background: linear-gradient(270deg, rgba(7, 14, 20, 0.92) 0%, rgba(7, 14, 20, 0.75) 45%, rgba(7, 14, 20, 0) 75%); }
.tile h3 { font-size: clamp(1.45rem, 4vw, 1.85rem); margin-bottom: 0.6rem; }
.tile h3 span { display: block; }
.tile p { font-size: 0.85rem; max-width: 15rem; color: #dfe7e1; margin-bottom: 0.9rem; }
.pill { margin-top: auto; display: inline-flex; align-items: center; min-height: 40px; padding: 0.45rem 1.6rem; border-radius: 999px; background: #10862a; color: #fff; font-weight: 600; font-size: 0.92rem; text-decoration: none; }
.pill:hover { background: var(--brand); color: #fff; }

/* hexagon rails */
.rail-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 0.5rem 1rem; margin-block: 2rem 1rem; }
.rail-head p { margin: 0; color: var(--text-muted); font-size: 0.92rem; max-width: 36rem; }
.hex-rail { list-style: none; margin: 0; padding: 0 0 0.5rem; display: grid; grid-auto-flow: column; grid-auto-columns: min(9.5rem, 40vw); gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; }
.hex-rail li { scroll-snap-align: start; text-align: center; }
.hex { --clip: polygon(25% 3%, 75% 3%, 100% 50%, 75% 97%, 25% 97%, 0 50%); aspect-ratio: 1.12; background: #d9e3dc; clip-path: var(--clip); padding: 3px; }
.hex img { width: 100%; height: 100%; object-fit: cover; clip-path: var(--clip); }
.hex-rail strong { display: block; margin-top: 0.6rem; font-size: 0.9rem; font-weight: 500; line-height: 1.3; }
.hex-rail small { display: block; color: var(--text-muted); font-size: 0.78rem; }

/* logo strips */
.logo-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; list-style: none; margin: 0; padding: 1rem 1.25rem; border: 1px solid var(--line); border-radius: var(--r); background: rgba(18, 24, 20, 0.7); }
.logo-strip img { height: 26px; width: auto; }
.pay-strip { margin-top: 1.5rem; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: #fff; padding: 0.75rem 1rem; }
.pay-strip img { height: 30px; width: auto; max-width: none; }
@media (min-width: 980px) { .pay-strip img { width: 100%; height: auto; } }

/* chips + compact table */
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chips li { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 0.35rem 0.85rem; font-size: 0.88rem; }
.chips b { color: var(--brand-hi); margin-inline-start: 0.3rem; font-variant-numeric: tabular-nums; }
.odds td { font-weight: 700; font-variant-numeric: tabular-nums; color: var(--brand-hi); }
.odds td:last-child { color: var(--text-muted); font-weight: 500; }
.odds { min-width: 32rem; }
.limits { min-width: 40rem; }
td code { font-family: var(--mono); font-size: 0.9em; color: var(--brand-hi); white-space: nowrap; }
.odds tbody th { background: transparent; }

/* text + figure split, form drawings */
.split { display: grid; gap: 1.5rem; align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: 1.1fr 0.9fr; gap: 2.5rem; } }
.reg-figure { margin: 0; }
.reg-figure img { border-radius: 20px; border: 1px solid var(--line); }
.reg-figure figcaption { font-size: 0.85rem; color: var(--text-muted); margin-top: 0.5rem; }
.regmock {
  display: grid; gap: 0.6rem; padding: 1.5rem 1.4rem; border-radius: 24px; border: 1px solid var(--line);
  background: linear-gradient(135deg, transparent 0 40%, rgba(34, 179, 58, 0.18) 40% 41%, transparent 41% 70%, rgba(34, 179, 58, 0.12) 70% 71%, transparent 71%), #050a06;
}
.regmock > span { display: block; }
.regmock .t { text-align: center; text-transform: uppercase; font-weight: 900; font-size: 1.15rem; margin-bottom: 0.5rem; }
.regmock .g { color: var(--brand); }
.regmock .f { border: 1px solid #cfd8d2; border-radius: 999px; padding: 0.55rem 1rem; color: #cfd8d2; font-size: 0.88rem; }
.regmock .row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
.regmock .row.phone { grid-template-columns: 6rem 1fr; }
.regmock .radios { display: flex; gap: 1rem; font-size: 0.92rem; }
.regmock .radios span::before { content: ""; display: inline-block; width: 1rem; height: 1rem; border-radius: 50%; border: 2px solid #cfd8d2; margin-inline-end: 0.4rem; vertical-align: -0.15rem; }
.regmock .radios .on::before { border-color: var(--brand); background: radial-gradient(circle, #fff 35%, var(--brand) 40%); }
.regmock .check { display: flex; align-items: center; gap: 0.5rem; font-size: 0.82rem; color: #dfe7e1; }
.regmock .box { flex: none; width: 1.2rem; height: 1.2rem; border-radius: 4px; border: 1.5px solid var(--brand); display: grid; place-items: center; font-size: 0.75rem; color: #fff; }
.regmock .fp { margin-inline-start: auto; font-weight: 700; color: #fff; }
.regmock .btns { display: flex; justify-content: flex-end; gap: 0.75rem; margin-top: 0.4rem; }
.regmock .next, .regmock .back { border-radius: 999px; padding: 0.55rem 2rem; font-weight: 800; text-transform: uppercase; font-size: 0.9rem; }
.regmock .next { background: #10862a; color: #fff; }
.regmock .back { background: #1d231f; color: #cfd8d2; margin-inline-end: auto; }
.regmock .small { text-align: end; font-size: 0.82rem; }

/* wrapped hexagon grid + header banner */
.hex-grid { grid-auto-flow: row; grid-template-columns: repeat(auto-fill, minmax(min(8.5rem, 40vw), 1fr)); overflow: visible; margin-top: 1rem; }
.silo-banner { border-radius: 14px; border: 1px solid var(--line); width: 100%; height: auto; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }

.footer .seal { display: inline-block; width: 64px; height: 64px; vertical-align: middle; margin-inline-end: 0.75rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ---------- Back-to-top button ---------- */
.scroll-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 70;
  width: 48px; height: 48px; padding: 0; margin: 0;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; border: 2px solid var(--accent);
  background: var(--bg); color: #fff; cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0.25s, background-color 0.15s ease, color 0.15s ease;
}
.scroll-top.is-visible {
  opacity: 1; visibility: visible; transform: translateY(0);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s, background-color 0.15s ease, color 0.15s ease;
}
.scroll-top svg { width: 22px; height: 22px; display: block; }
.scroll-top:hover, .scroll-top:focus-visible { background: var(--accent); color: var(--bg); }
.scroll-top:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
@media (max-width: 1179px) {
  /* keep clear of the bottom tab bar */
  .scroll-top { bottom: calc(var(--tabbar-h) + 16px + env(safe-area-inset-bottom)); }
}
@media (max-width: 767px) {
  .scroll-top { right: 16px; width: 44px; height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .scroll-top, .scroll-top.is-visible { transition: none; }
}

/* ---------- Promotions widget ---------- */
.promo-widget {
  --promo-glow: var(--brand, #22b33a);
  --promo-accent: var(--accent, #f2c12e);
  --promo-tab: 36px;
  --promo-dir: 1;
  position: fixed; top: calc(var(--promo-widget-top, 56px) + 8px); inset-inline-end: 0; z-index: 55;
  width: var(--promo-tab); height: 44px; margin: 0; padding: 0;
  font-size: 14px; line-height: 1.4;
}
.promo-widget[dir="rtl"], [dir="rtl"] .promo-widget { --promo-dir: -1; }
.promo-widget-tab {
  position: absolute; top: 0; inset-inline-end: 0; width: var(--promo-tab); height: 44px; padding: 0; margin: 0;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  background: var(--surface, #172019); color: var(--promo-accent);
  border: 1px solid var(--promo-glow); border-inline-end: 0;
  border-start-start-radius: 12px; border-end-start-radius: 12px;
  box-shadow: 0 0 10px 1px var(--brand-glow, rgba(46, 209, 74, 0.25));
}
.promo-widget-tab:focus-visible, .promo-widget-cta:focus-visible, .promo-widget-link:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.promo-widget-chevron { width: 20px; height: 20px; display: block; transition: transform 0.25s ease; }
[dir="rtl"] .promo-widget-chevron { transform: scaleX(-1); }
.promo-widget.is-open .promo-widget-chevron { transform: scaleX(-1); }
[dir="rtl"] .promo-widget.is-open .promo-widget-chevron { transform: none; }
.promo-widget-card {
  position: absolute; top: 0; inset-inline-end: var(--promo-tab);
  box-sizing: border-box; width: min(calc(100vw - var(--promo-tab) - 8px), 240px); max-height: 168px; overflow: hidden;
  padding: 10px 12px; background: var(--surface, #172019); color: var(--text, #eef3ef);
  border: 1px solid var(--promo-glow); border-radius: 14px 0 0 14px;
  border-radius: 14px; border-start-end-radius: 0; border-end-end-radius: 0;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5), 0 0 14px 1px var(--brand-glow, rgba(46, 209, 74, 0.25));
  padding-inline-end: calc(12px + env(safe-area-inset-right));
  transform: translateX(calc(var(--promo-dir) * (100% + var(--promo-tab))));
  visibility: hidden; opacity: 0;
  transition: transform 0.25s ease, opacity 0.2s ease, visibility 0s linear 0.25s;
}
.promo-widget.is-open .promo-widget-card { transform: none; visibility: visible; opacity: 1; transition: transform 0.25s ease, opacity 0.2s ease, visibility 0s; }
.promo-widget-head { display: flex; align-items: center; gap: 10px; }
.promo-widget-graphic { flex: none; width: 44px; height: 44px; color: var(--promo-glow); }
.promo-widget-graphic svg { width: 100%; height: 100%; display: block; }
.promo-widget-label { display: block; margin: 0; font-size: 12px; color: var(--promo-accent); font-weight: 600; }
.promo-widget-title { margin: 0; font-size: 17px; line-height: 1.25; font-weight: 700; color: #fff; }
.promo-widget-text { margin: 6px 0 8px; font-size: 13px; color: var(--text-muted, #a9b8ad); }
.promo-widget-actions { display: flex; align-items: center; gap: 10px; }
.promo-widget-cta {
  display: inline-block; padding: 7px 14px; border-radius: 999px; font-weight: 700; font-size: 14px; text-decoration: none;
  background: var(--brand, #22b33a); color: #06100a;
}
.promo-widget-cta:hover { background: var(--brand-hi, #3ee05a); color: #06100a; }
@media (prefers-reduced-motion: no-preference) {
  .promo-widget-tab, .promo-widget.is-open .promo-widget-card { animation: promo-widget-pulse 2.6s ease-in-out infinite; }
  .promo-widget-graphic svg { animation: promo-widget-spin 10s linear infinite; }
}
@keyframes promo-widget-pulse {
  0%, 100% { box-shadow: 0 0 6px 0 var(--brand-glow, rgba(46, 209, 74, 0.25)); }
  50% { box-shadow: 0 0 16px 3px var(--promo-glow); }
}
@keyframes promo-widget-spin { to { transform: rotate(360deg); } }
@media (max-width: 359px) {
  .promo-widget-card { padding: 8px 10px; }
  .promo-widget-graphic { width: 36px; height: 36px; }
  .promo-widget-title { font-size: 16px; }
  .promo-widget-text { font-size: 12px; margin: 4px 0 6px; }
}
@media print { .promo-widget { display: none !important; } }

/* ---------- Phone mock: app screens ---------- */
.pa-screen { gap: 12px; }
.pa-ico { width: 20px; height: 20px; color: var(--text-muted, #9db0a2); display: inline-flex; }
.pa-ico svg { width: 100%; height: 100%; }
.pa-head { display: flex; align-items: center; gap: 10px; }
.pa-head b { display: block; font-size: 0.95rem; color: #fff; }
.pa-head small { display: block; font-size: 0.65rem; color: var(--brand); }
.pa-app { width: 52px; height: 52px; border-radius: 13px; flex: none; }
.pa-stats { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; }
.pa-stats span + span { border-inline-start: 1px solid var(--line, #2a352d); }
.pa-stats b { display: block; font-size: 0.72rem; color: #fff; }
.pa-stats small { font-size: 0.58rem; color: var(--text-muted, #9db0a2); }
.pa-btn { text-align: center; padding: 8px; border-radius: 999px; background: var(--brand); color: #06100a; font-weight: 700; font-size: 0.8rem; }
.pa-shots { display: flex; gap: 8px; overflow: hidden; }
.pa-shots img { flex: none; width: 62%; aspect-ratio: 3 / 4; object-fit: cover; object-position: right; border-radius: 10px; }
.pa-time { font-size: 0.7rem; font-weight: 700; color: #fff; }
.pa-home { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px 8px; margin-top: 6px; }
.pa-icon { aspect-ratio: 1; border-radius: 14px; background: var(--surface-2); color: var(--text-muted, #9db0a2); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.pa-icon svg { width: 52%; height: 52%; }
.pa-icon img { width: 100%; height: 100%; display: block; }
.pa-main { box-shadow: 0 0 0 2px var(--brand); }
.pa-dock { margin-top: auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 8px; border-radius: 20px; background: rgba(255,255,255,.08); }
