/* total.football — the launch site. The game's own look: floodlit ink, one gold, dense but tidy.
   Tokens mirror apps/web/app/styles/tokens.css (dark). Logical properties: Hebrew (rtl) is the root, English mirrors.
   Motion: cinematic, restrained — one entrance per visit, hero rises, scroll reveals, page crossfade; reduced-motion respected. */
:root {
  --bg: #0d1018; --bg2: #131826; --panel: #131826; --surface: #181e2c; --line: #252d3d; --line2: #303a4d;
  --ink: #eef1f6; --ink2: #c9d1dd; --muted: #98a2b3; --faint: #5f6879;
  --gold: #e6c987; --gold-deep: #a9873f; --gold-dim: rgba(230,201,135,.35); --gold-faint: rgba(230,201,135,.12);
  --club: #6e1c36; --green: #3fbf7f; --red: #e5766a;
  --fd: 'Murecho', 'Heebo', system-ui, sans-serif; --fb: 'Heebo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --r: 12px; --r-sm: 7px; --gap: 16px; --max: 1180px;
  --ease: cubic-bezier(.22,.61,.36,1); --ease-out: cubic-bezier(.16,1,.3,1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 15.5px/1.6 var(--fb); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
.display { font-family: var(--fd); font-weight: 900; letter-spacing: -.01em; line-height: 1.12; }
h2.display { font-size: clamp(26px, 3.4vw, 40px); margin-block-end: 10px; }
h3 { font: 700 17px/1.3 var(--fd); margin-block-end: 6px; }
p { margin: 0 0 12px; }
b { font-weight: 700; }
.kicker { color: var(--gold); font: 700 13px/1.4 var(--fd); letter-spacing: .01em; margin-block-end: 10px; } /* no uppercase (the UI rule) */
.lead, .section__lead { color: var(--ink2); font-size: 17px; max-width: 62ch; }
.note { color: var(--muted); font-size: 13.5px; border-inline-start: 2px solid var(--gold-dim); padding-inline-start: 12px; }
.skip { position: absolute; inset-inline-start: -999px; } .skip:focus { inset-inline-start: 12px; top: 12px; background: var(--gold); color: #0b0e14; padding: 8px 12px; z-index: 99; }

/* ── the entrance (once per visit; app.js removes it) ── */
.entrance { position: fixed; inset: 0; z-index: 100; display: grid; place-content: center; gap: 10px; text-align: center; background: var(--bg); animation: entrance-out .7s var(--ease) 1.5s forwards; pointer-events: none; }
.entrance__mark svg { width: 64px; height: 64px; margin: 0 auto; display: block; }
.entrance__ring { fill: none; stroke: var(--gold); stroke-width: 3; stroke-dasharray: 113; stroke-dashoffset: 113; animation: draw .9s var(--ease-out) .1s forwards; }
.entrance__pin { fill: var(--gold); opacity: 0; transform-origin: 32px 32px; animation: pin .5s var(--ease-out) .8s forwards; }
.entrance__word { font: 800 24px var(--fd); letter-spacing: -.01em; color: var(--ink); direction: ltr; opacity: 0; animation: up .6s var(--ease-out) .55s forwards; }
.entrance__word span { color: var(--gold); }
.entrance__date { font: 500 13px var(--fb); color: var(--muted); opacity: 0; animation: up .6s var(--ease-out) .8s forwards; }
body.is-returning .entrance { display: none; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pin { from { opacity: 0; transform: translateY(6px) scale(.9); } to { opacity: 1; transform: none; } }
@keyframes up { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes entrance-out { to { opacity: 0; visibility: hidden; } }

/* ── rises (hero) + reveals (scroll) + page crossfade ── */
.rise { opacity: 0; transform: translateY(14px); animation: rise .8s var(--ease-out) forwards; animation-delay: calc(1.45s + var(--i, 0) * .09s); }
body.is-returning .rise { animation-delay: calc(.05s + var(--i, 0) * .09s); }
@keyframes rise { to { opacity: 1; transform: none; } }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal .card, .reveal .feature, .reveal .post, .reveal .step { transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); opacity: 0; transform: translateY(12px); }
.reveal.is-in .card, .reveal.is-in .feature, .reveal.is-in .post, .reveal.is-in .step { opacity: 1; transform: none; }
.reveal.is-in > .grid > :nth-child(2), .reveal.is-in > .posts > :nth-child(2), .reveal.is-in .steps > :nth-child(2) { transition-delay: .08s; }
.reveal.is-in > .grid > :nth-child(3), .reveal.is-in > .posts > :nth-child(3), .reveal.is-in .steps > :nth-child(3) { transition-delay: .16s; }
.reveal.is-in > .grid > :nth-child(4), .reveal.is-in .steps > :nth-child(4) { transition-delay: .24s; }
.reveal.is-in > .grid > :nth-child(n+5), .reveal.is-in .steps > :nth-child(n+5) { transition-delay: .3s; }
main.fade-in { animation: fade .5s var(--ease) both; }
body.is-leaving main, body.is-leaving .top, body.is-leaving .foot { opacity: 0; transform: translateY(-6px); transition: opacity .32s var(--ease), transform .32s var(--ease); }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* ── top bar ── */
.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: var(--gap); padding: 10px 20px; background: linear-gradient(180deg, rgba(13,16,24,.98), rgba(13,16,24,.9)); border-block-end: 1px solid var(--line); backdrop-filter: blur(8px); transition: opacity .32s, transform .32s; }
.brand, .foot__brand { font: 800 19px var(--fd); letter-spacing: -.01em; color: var(--ink); direction: ltr; display: inline-block; } .brand span, .foot__brand span { color: var(--gold); }
.nav { display: flex; gap: 18px; margin-inline-start: 10px; font-size: 14px; color: var(--ink2); }
.nav a { position: relative; padding-block: 4px; transition: color .2s; }
.nav a::after { content: ''; position: absolute; inset-inline: 0; bottom: -2px; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: inline-start; transition: transform .3s var(--ease-out); }
.nav a:hover, .nav a.is-current { color: var(--gold); } .nav a.is-current::after, .nav a:hover::after { transform: scaleX(1); }
.top__actions { margin-inline-start: auto; display: flex; gap: 8px; align-items: center; }
.lang { background: var(--surface); border: 1px solid var(--line); color: var(--ink2); border-radius: 999px; padding: 5px 10px; font: 700 12px var(--fd); }
.lang:hover { border-color: var(--gold-dim); color: var(--gold); }
.burger { display: none; width: 36px; height: 36px; border: 1px solid var(--line); background: var(--surface); border-radius: 8px; flex-direction: column; justify-content: center; gap: 4px; padding: 8px; cursor: pointer; }
.burger span { display: block; height: 2px; background: var(--ink); border-radius: 1px; transition: transform .3s, opacity .3s; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line2); background: var(--surface); color: var(--ink); font: 700 14px var(--fb); cursor: pointer; transition: transform .2s var(--ease-out), border-color .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-2px); border-color: var(--gold-dim); box-shadow: 0 8px 24px rgba(0,0,0,.35); }
.btn--accent { background: var(--gold); border-color: var(--gold); color: #0b0e14; }
.btn--accent:hover { box-shadow: 0 8px 28px rgba(230,201,135,.28); }
.btn--ghost { background: transparent; }
.btn--lg { padding: 13px 22px; font-size: 16px; }

/* ── hero ── */
.hero { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; max-width: var(--max); margin: 0 auto; padding: 56px 20px 40px; }
.hero::before { content: ''; position: absolute; inset: -120px 0 auto; height: 520px; background: radial-gradient(60% 60% at 50% 0%, rgba(230,201,135,.10), transparent 70%); pointer-events: none; }
.hero__title { font-size: clamp(34px, 5.2vw, 62px); margin-block-end: 16px; }
.hero__cta { display: flex; gap: 10px; flex-wrap: wrap; margin: 20px 0 26px; }
.hero__media { margin: 0; }
.hero__fig, .media.hero__fig { border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(0,0,0,.5); aspect-ratio: 16/10; background: var(--bg2); }
.hero .rise:nth-child(1) { --i: 0 } .hero .rise:nth-child(2) { --i: 1 } .hero .rise:nth-child(3) { --i: 2 } .hero .rise:nth-child(4) { --i: 3 } .hero .rise:nth-child(5) { --i: 4 } .hero > .rise { --i: 3 }
.page-head .rise:nth-child(1) { --i: 0 } .page-head .rise:nth-child(2) { --i: 1 } .page-head .rise:nth-child(3) { --i: 2 } .page-head .rise:nth-child(4) { --i: 3 }
.count { display: inline-block; padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); }
.count__label { color: var(--muted); font-size: 12px; margin-block-end: 6px; }
.count__cells { display: flex; gap: 14px; direction: ltr; }
.count__cell { display: grid; text-align: center; }
.count__cell b { font: 900 26px/1 var(--fd); color: var(--gold); font-variant-numeric: tabular-nums; }
.count__cell span { font-size: 11px; color: var(--muted); }

/* ── sections ── */
.section { max-width: var(--max); margin: 0 auto; padding: 56px 20px; }
.section--dark { max-width: none; background: var(--bg2); border-block: 1px solid var(--line); }
/* THE CONTENT COLUMN (alignment audit 11.10): a full-bleed section keeps its content in the same column as every other
   section (--max wide, 20px inside) through its own inline padding, so each child starts where the page's text starts.
   (Before: each child got max-width + margin-inline:auto, 20px off the column, and a child with its own margin, the
   checklist, hugged the section's edge instead.) */
/* (the rule itself sits at the end of this file, after .band's own padding shorthand) */
/* a two-column grid that lost its picture (no "screenshot coming" placeholders on the live site) closes the empty track */
.split:has(> :only-child), .step:has(> :only-child) { grid-template-columns: minmax(0, 1fr); }
.section__head { margin-block-end: 20px; }
.section__more { margin: 20px 0 0; }
.page-head { padding-block: 48px 8px; } .page-head h1 { font-size: clamp(30px, 4.6vw, 54px); margin-block-end: 14px; }
.grid { display: grid; gap: var(--gap); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 14px; transition: border-color .25s, transform .3s var(--ease-out); }
.card:hover { border-color: var(--line2); transform: translateY(-2px); }
.media { margin: 0; position: relative; overflow: hidden; background: var(--surface); }
.card__fig { margin: -14px -14px 12px; border-radius: var(--r) var(--r) 0 0; aspect-ratio: 16/10; }
.card__title { font-size: 17px; }
.card__text { color: var(--ink2); font-size: 14.5px; margin: 0; }
.feature { padding: 14px; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); }
.feature__ico { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; background: var(--gold-faint); font-style: normal; margin-block-end: 8px; }
.feature__text { color: var(--ink2); font-size: 14px; margin: 0; }
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 36px; align-items: center; }
.split__fig { border-radius: var(--r); border: 1px solid var(--line); aspect-ratio: 16/10; }
.split__fig.tall { aspect-ratio: 4/5; }
.list { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; color: var(--ink2); }
.list__item { padding-inline-start: 14px; border-inline-start: 2px solid var(--gold-dim); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; counter-reset: step; }
.step { display: grid; grid-template-columns: .9fr 1.1fr; gap: 24px; align-items: center; }
.step:nth-child(even) .step__fig { order: 2; }
.step__fig { border-radius: var(--r); border: 1px solid var(--line); aspect-ratio: 16/10; }
.step__no { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--gold); color: #0b0e14; font: 900 14px var(--fd); margin-block-end: 8px; }
.step__title { font: 900 22px/1.2 var(--fd); margin-block-end: 8px; }
.step__text { color: var(--ink2); margin: 0; }
.checklist { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; counter-reset: chk; max-width: 720px; }
.check { counter-increment: chk; position: relative; padding: 10px 14px 10px; padding-inline-start: 46px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-sm); }
.check::before { content: counter(chk); position: absolute; inset-inline-start: 12px; top: 9px; width: 24px; height: 24px; border-radius: 50%; background: var(--gold-faint); color: var(--gold); font: 800 12px/24px var(--fd); text-align: center; }
.miracle { text-align: center; } .miracle__title { font-size: clamp(28px, 4.2vw, 48px); margin-block-end: 14px; } .miracle__text { margin-inline: auto; }
.band { max-width: none; margin: 0; padding: 64px 20px; text-align: center; background: radial-gradient(70% 100% at 50% 100%, rgba(230,201,135,.14), transparent 70%), var(--bg2); border-block-start: 1px solid var(--line); }
.band__title { font-size: clamp(26px, 3.6vw, 42px); } .band__text { color: var(--ink2); max-width: 56ch; margin: 0 auto 20px; }
.prose { color: var(--ink2); max-width: 68ch; } .prose h2 { font: 900 22px var(--fd); color: var(--ink); margin: 18px 0 8px; } .prose p { margin: 0 0 14px; font-size: 16px; line-height: 1.7; }
.prose table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 12px 0; } .prose th, .prose td { padding: 7px 9px; border-block-end: 1px solid var(--line); text-align: start; }
.prose ul, .prose ol { padding-inline-start: 18px; }

/* ── media placeholders (until the real screenshot exists) ── */
.ph { display: grid; place-items: center; width: 100%; height: 100%; min-height: 160px; padding: 16px; text-align: center; color: var(--muted); font-size: 12.5px; background: repeating-linear-gradient(135deg, var(--surface) 0 10px, var(--bg2) 10px 20px); }
.ph b { display: block; color: var(--ink2); font: 700 13px var(--fd); margin-block-end: 4px; }
.media .cap { position: absolute; inset-inline: 0; bottom: 0; padding: 6px 10px; font-size: 12px; color: var(--ink2); background: linear-gradient(0deg, rgba(13,16,24,.9), transparent); }
.media img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .8s var(--ease-out); }
.card:hover .media img, .post:hover .media img { transform: scale(1.03); }

/* ── tables ── */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); }
.table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.table th, .table td { padding: 11px 14px; text-align: start; border-block-end: 1px solid var(--line); vertical-align: top; }
.table thead th { color: var(--muted); font: 700 12.5px var(--fd); letter-spacing: .01em; }
.table tbody th { font-weight: 700; color: var(--ink2); white-space: nowrap; }
.table tr:last-child td, .table tr:last-child th { border-block-end: 0; }
.table .is-key td { background: var(--gold-faint); }
.calendar__date, .fact__k { white-space: nowrap; }

/* ── dispatches ── */
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.post { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: grid; grid-template-rows: auto 1fr; transition: border-color .25s, transform .3s var(--ease-out); }
.post:hover { border-color: var(--line2); transform: translateY(-2px); }
.post .media { aspect-ratio: 16/9; }
.post__body { padding: 14px; }
.post__meta { display: flex; gap: 8px; align-items: center; color: var(--muted); font: 700 12px var(--fd); letter-spacing: .01em; margin-block-end: 6px; }
.post__day { display: inline-grid; place-items: center; min-width: 26px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--gold); color: #0b0e14; font: 900 12px var(--fd); }
.post__title { font-size: 18px; } .post__title a:hover { color: var(--gold); }
.post__excerpt { color: var(--ink2); font-size: 14.5px; }
.post__more { color: var(--gold); font-weight: 700; font-size: 14px; }
.post.is-soon { opacity: .55; }
.post-page { max-width: 780px; }
.post-page__title { font-size: clamp(30px, 4.6vw, 52px); margin-block-end: 18px; }
.post__hero { border-radius: var(--r); border: 1px solid var(--line); aspect-ratio: 16/9; margin-block-end: 22px; }
.post-page__nav { margin-block-start: 28px; } .post-page__nav a { color: var(--gold); font-weight: 700; }

/* ── faq ── */
.faq { display: grid; gap: 8px; max-width: 760px; } .faq--wide { max-width: 860px; }
.faq__item { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 10px 14px; transition: border-color .25s; }
.faq__item[open] { border-color: var(--gold-dim); }
.faq__q { cursor: pointer; font-weight: 700; list-style: none; position: relative; padding-inline-end: 24px; }
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after { content: '+'; position: absolute; inset-inline-end: 0; top: -1px; color: var(--gold); font: 700 18px/1.4 var(--fd); transition: transform .3s var(--ease-out); }
.faq__item[open] .faq__q::after { transform: rotate(45deg); }
.faq__a { margin: 8px 0 0; color: var(--ink2); animation: fade .4s var(--ease); }

/* ── footer ── */
.foot { border-block-start: 1px solid var(--line); padding: 28px 20px 40px; max-width: var(--max); margin: 0 auto; color: var(--muted); font-size: 13.5px; transition: opacity .32s, transform .32s; }
.foot__links { display: flex; gap: 16px; flex-wrap: wrap; } .foot__links a:hover { color: var(--gold); }

@media (max-width: 960px) {
  .nav { position: fixed; inset: 57px 0 auto; flex-direction: column; gap: 0; padding: 8px 20px 16px; background: var(--bg); border-block-end: 1px solid var(--line); transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .3s var(--ease), transform .3s var(--ease); }
  .nav a { padding: 10px 0; border-block-end: 1px solid var(--line); font-size: 16px; } .nav a::after { display: none; }
  body.nav-open .nav { opacity: 1; transform: none; pointer-events: auto; }
  .burger { display: flex; }
  body.nav-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); } body.nav-open .burger span:nth-child(2) { opacity: 0; } body.nav-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .hero, .split, .step { grid-template-columns: 1fr; } .step:nth-child(even) .step__fig { order: 0; }
  .grid--3, .grid--4, .posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .hero { padding-block-start: 28px; } .top .btn--accent { display: none; }
  .grid--2, .grid--3, .grid--4, .posts { grid-template-columns: 1fr; }
  .count__cells { gap: 10px; } .count__cell b { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .entrance { animation-delay: 0s; animation-duration: .01s; } .entrance__ring, .entrance__pin, .entrance__word, .entrance__date { animation: none; opacity: 1; stroke-dashoffset: 0; }
  .rise { animation: none; opacity: 1; transform: none; } .reveal, .reveal .card, .reveal .feature, .reveal .post, .reveal .step { opacity: 1; transform: none; transition: none; }
  .btn, .card, .post, .media img { transition: none; } main.fade-in { animation: none; }
}

/* ═══════════════════════════════════════════════════════════════════════════════════════════════════════════════════
   THE HOMEPAGE v1 (Avni 11.10: "v1, do it"; mockup docs/design/mockups/homepage-2026-10-11.html). Scoped to .hp, the
   game's own tokens (apps/web/app/styles/tokens.css, dark + light) as --tf-*; logical properties only; no uppercase.
   The site's shared top bar, footer and entrance step aside on this page: the homepage carries its own.
   ═══════════════════════════════════════════════════════════════════════════════════════════════════════════════════ */
.page--index .top, .page--index .foot, .page--index .entrance { display: none; }
.page--index main.fade-in { animation: none; }
.hp {
  --tf-bg: #0d1018; --tf-panel: #131826; --tf-panel-2: #181e2c; --tf-panel-3: #1f2637; --tf-surface: #131826; --tf-surface-hover: #181e2c; --tf-surface-active: #1f2637;
  --tf-border: #252d3d; --tf-border-strong: #303a4d; --tf-hair: #252d3d; --tf-hair-2: #303a4d;
  --tf-text: #eef1f6; --tf-heading: #eef1f6; --tf-text-secondary: #c9d1dd; --tf-text-muted: #98a2b3; --tf-text-faint: #5f6879;
  --tf-accent: #e6c987; --tf-accent-deep: #a9873f; --tf-on-accent: #1a1405; --tf-gold: #e6c987;
  --tf-success: #6dd3a6; --tf-error: #e57373; --tf-warning: #f0a35e; --tf-warning-outline: rgba(240, 163, 94, 0.45); --tf-info: #7fb3ff;
  --tf-font-display: 'Murecho', 'Segoe UI', system-ui, sans-serif; --tf-font-body: 'Google Sans', 'Heebo', 'Segoe UI', system-ui, sans-serif;
  --tf-text-xs: 11.5px; --tf-text-sm: 13px; --tf-text-base: 14px; --tf-text-md: 15px; --tf-text-lg: 18px; --tf-text-xl: 22px;
  --tf-radius-sm: 10px; --tf-radius-md: 16px; --tf-radius-lg: 20px; --tf-radius-full: 999px;
  --tf-shadow-md: 0 18px 40px rgba(0, 0, 0, 0.35); --tf-ease-out: cubic-bezier(0.3, 1, 0.4, 1); --tf-page-max: 1288px;
}
.hp:lang(he) { --tf-font-display: 'Noto Sans Hebrew', 'Heebo', 'Segoe UI', sans-serif; --tf-font-body: 'Noto Sans Hebrew', 'Heebo', 'Segoe UI', sans-serif; }
@media (prefers-color-scheme: light) {
  .hp {
    --tf-bg: #f3f4f7; --tf-panel: #ffffff; --tf-panel-2: #f7f8fb; --tf-panel-3: #e9ecf3; --tf-surface: #ffffff; --tf-surface-hover: #eef0f4; --tf-surface-active: #e3e6ee;
    --tf-border: #e2e5ec; --tf-border-strong: #d1d6e0; --tf-hair: #e2e5ec; --tf-hair-2: #d1d6e0;
    --tf-text: #12161f; --tf-heading: #0e1219; --tf-text-secondary: #3b4352; --tf-text-muted: #6b7385; --tf-text-faint: #9aa2b1;
    --tf-accent: #b8912f; --tf-accent-deep: #8a6a1c; --tf-on-accent: #ffffff; --tf-gold: #b8912f;
  }
}

.hp { container: hp / inline-size; position: relative; background: var(--tf-bg); color: var(--tf-text); font: 400 var(--tf-text-md)/1.6 var(--tf-font-body); overflow: hidden; }
:where(.hp) a { color: inherit; text-decoration: none; }
.hp .u-ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
.hp-col { position: relative; max-inline-size: var(--tf-page-max); margin-inline: auto; padding-inline: 32px; }
.hp-sec { position: relative; padding-block: 112px; }
.hp-kicker { display: inline-flex; align-items: center; gap: 10px; font: 600 var(--tf-text-sm)/1 var(--tf-font-body); color: var(--tf-accent); letter-spacing: .01em; }
.hp-kicker::before { content: ""; inline-size: 22px; block-size: 1px; background: currentColor; opacity: .7; }
.hp-h2 { margin: 14px 0 12px; font: 700 clamp(34px, 4.4cqi, 54px)/1.04 var(--tf-font-display); letter-spacing: -0.02em; color: var(--tf-heading); max-inline-size: 18ch; }
.hp-lead { margin: 0; font-size: var(--tf-text-lg); line-height: 1.55; color: var(--tf-text-secondary); max-inline-size: 56ch; }
.hp-sample { display: inline-block; font: 600 10px/1 var(--tf-font-body); padding: 3px 7px; border-radius: 99px; border: 1px dashed var(--tf-warning-outline); color: var(--tf-warning); white-space: nowrap; vertical-align: middle; }
.hp-btn { display: inline-flex; align-items: center; gap: 10px; block-size: 50px; padding-inline: 24px; border-radius: 99px; font: 600 15px/1 var(--tf-font-body); transition: transform .2s var(--tf-ease-out), box-shadow .2s, background .2s; white-space: nowrap; }
.hp-btn--gold { background: var(--tf-accent); color: var(--tf-on-accent); box-shadow: 0 10px 30px color-mix(in srgb, var(--tf-accent) 28%, transparent); }
.hp-btn--gold:hover { transform: translateY(-2px); box-shadow: 0 14px 40px color-mix(in srgb, var(--tf-accent) 40%, transparent); }
.hp-btn--ghost { color: var(--tf-text); box-shadow: inset 0 0 0 1px var(--tf-border-strong); }
.hp-btn--ghost:hover { background: var(--tf-surface-hover); }
.hp-btn .fa-solid { font-size: 13px; }
[dir="rtl"] .hp .fa-arrow-right { transform: scaleX(-1); }

/* ── the bar ── */
.hp-bar { position: absolute; inset-block-start: 0; inset-inline: 0; z-index: 20; }
.hp-bar .hp-col { display: flex; align-items: center; gap: 28px; block-size: 76px; }
.hp-brand { display: inline-flex; align-items: center; gap: 10px; font: 700 21px/1 'Murecho', 'Noto Sans Hebrew', sans-serif; letter-spacing: -0.01em; color: #eef1f6; direction: ltr; }
.hp-brand svg { inline-size: 26px; block-size: 26px; }
.hp-brand b { color: #e6c987; font-weight: 700; }
.hp-nav { display: flex; gap: 24px; font-size: var(--tf-text-sm); color: rgba(238, 241, 246, .72); }
.hp-nav a:hover { color: #fff; }
.hp-bar__end { margin-inline-start: auto; display: flex; align-items: center; gap: 14px; }
.hp-lang { font-size: var(--tf-text-sm); color: rgba(238, 241, 246, .72); background: none; border: 0; cursor: pointer; font-family: inherit; }
.hp-bar .hp-btn { block-size: 40px; padding-inline: 18px; font-size: 14px; }

/* ── the hero: always night (the hero surfaces stay dark in both themes) ── */
.hp-hero { --tf-bg: #0d1018; --tf-text: #eef1f6; --tf-heading: #ffffff; --tf-text-secondary: #c9d1dd; --tf-text-muted: #98a2b3; --tf-text-faint: #6b7487; --tf-accent: #e6c987; --tf-on-accent: #1a1405; --tf-border-strong: rgba(255, 255, 255, .18); --tf-surface-hover: rgba(255, 255, 255, .06);
  position: relative; isolation: isolate; min-block-size: clamp(680px, 100svh, 940px); background: radial-gradient(90% 70% at 72% 45%, #121a2b 0%, #0b0f17 55%, #07090e 100%); color: var(--tf-text); overflow: hidden; }
[dir="rtl"] .hp-hero { background: radial-gradient(90% 70% at 28% 45%, #121a2b 0%, #0b0f17 55%, #07090e 100%); }
.hp-stage { position: absolute; z-index: 0; opacity: 0; transform: scale(.94); transition: opacity 2.2s var(--tf-ease-out), transform 2.6s var(--tf-ease-out); }
.hp-stage.is-up { opacity: 1; transform: none; }
.hp-stage canvas { display: block; outline: none; }
.hp-veil { position: absolute; inset: 0; z-index: 1; pointer-events: none; background:
  linear-gradient(var(--hp-to-end), #07090e 0%, rgba(7, 9, 14, .86) 26%, rgba(7, 9, 14, .2) 52%, transparent 66%),
  linear-gradient(to bottom, rgba(7, 9, 14, .6) 0%, transparent 18%, transparent 74%, #0d1018 100%); }
.hp-grain { position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: .09; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
:root { --hp-to-end: 90deg; } :root[dir="rtl"] { --hp-to-end: 270deg; }
.hp-hero__in { position: relative; z-index: 3; pointer-events: none; display: grid; align-content: center; min-block-size: clamp(680px, 100svh, 940px); padding-block: 120px 90px; }
.hp-hero__in > * { pointer-events: auto; max-inline-size: 620px; }
.hp-h1 { margin: 22px 0 22px; font: 800 clamp(48px, 6.4cqi, 86px)/0.98 var(--tf-font-display); letter-spacing: -0.035em; color: var(--tf-heading); }
:lang(he) .hp-h1 { letter-spacing: -0.01em; line-height: 1.04; }
.hp-h1 .w { display: inline-block; white-space: nowrap; }
.hp-h1 .l { display: inline-block; opacity: 0; transform: translateY(.42em); filter: blur(10px); animation: hp-settle .9s var(--tf-ease-out) forwards; animation-delay: calc(140ms + var(--i) * 32ms); }
.hp-h1 .line { display: block; }
.hp-h1 .line--gold { color: var(--tf-accent); }
@keyframes hp-settle { to { opacity: 1; transform: none; filter: none; } }
.hp-hero .hp-lead { color: var(--tf-text-secondary); max-inline-size: 50ch; opacity: 0; animation: hp-rise 1s var(--tf-ease-out) forwards; animation-delay: .9s; }
.hp-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-block-start: 32px; opacity: 0; animation: hp-rise 1s var(--tf-ease-out) forwards; animation-delay: 1.05s; }
.hp-free { margin-block-start: 14px; font-size: var(--tf-text-sm); color: var(--tf-text-muted); opacity: 0; animation: hp-rise 1s var(--tf-ease-out) forwards; animation-delay: 1.15s; }
.hp-free .fa-solid { color: var(--tf-accent); margin-inline-end: 6px; }
@keyframes hp-rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.hp-crests { display: flex; align-items: center; gap: 14px; margin-block-start: 44px; }
.hp-crests__row { display: flex; }
.hp-crests__row img { inline-size: 46px; block-size: 46px; object-fit: contain; margin-inline-start: -8px; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .6)); opacity: 0; transform: translateX(calc(var(--hp-dir) * -26px)) rotate(-8deg); animation: hp-crest .8s var(--tf-ease-out) forwards; animation-delay: calc(1.5s + var(--i) * 90ms); }
.hp-crests__row img:first-child { margin-inline-start: 0; }
:root { --hp-dir: 1; } :root[dir="rtl"] { --hp-dir: -1; }
@keyframes hp-crest { to { opacity: 1; transform: none; } }
.hp-crests p { margin: 0; font-size: var(--tf-text-sm); line-height: 1.4; color: var(--tf-text-muted); max-inline-size: 28ch; opacity: 0; animation: hp-rise .8s var(--tf-ease-out) forwards; animation-delay: 2.3s; }
.hp-scroll { position: absolute; z-index: 3; inset-block-end: 26px; inset-inline-start: 50%; translate: -50% 0; color: rgba(238, 241, 246, .45); font-size: 12px; display: grid; justify-items: center; gap: 6px; opacity: 0; animation: hp-rise 1s ease forwards 2.8s; }
[dir="rtl"] .hp-scroll { translate: 50% 0; }
.hp-scroll i { animation: hp-nudge 2.4s ease-in-out infinite 3.6s; }
@keyframes hp-nudge { 50% { transform: translateY(5px); } }
/* the globe's pins: a flag on a short stem, glowing in its flag's first colour */
.hp-pin { position: relative; display: grid; justify-items: center; padding-block-end: 31px; cursor: pointer; pointer-events: auto; transition: opacity .3s; }
.hp-pin__halo { position: absolute; inset-block-start: -11px; inset-inline-start: 50%; inline-size: 50px; block-size: 44px; margin-inline-start: -25px; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--neon) 50%, transparent), transparent); pointer-events: none; animation: hp-neon 3.8s ease-in-out infinite; animation-delay: var(--d, 0s); }
.hp-pin__flag { position: relative; inline-size: 28px; block-size: 21px; border-radius: 4px; background: center / cover no-repeat; box-shadow: 0 0 0 2px rgba(7, 9, 14, .85), 0 0 10px 2px color-mix(in srgb, var(--neon) 85%, transparent), 0 0 30px 8px color-mix(in srgb, var(--neon) 36%, transparent); transition: transform .2s var(--tf-ease-out), box-shadow .2s; }
.hp-pin__flag--row { display: grid; place-items: center; inline-size: 24px; block-size: 24px; border-radius: 50%; background: #1f2637; color: #7fb3ff; font-size: 12px; }
.hp-pin__stem { position: relative; inline-size: 2px; block-size: 10px; background: linear-gradient(var(--neon), transparent); box-shadow: 0 0 6px var(--neon); }
.hp-pin:hover .hp-pin__flag, .hp-pin.is-hot .hp-pin__flag { transform: scale(1.25); box-shadow: 0 0 0 2px rgba(7, 9, 14, .85), 0 0 16px 4px var(--neon), 0 0 50px 18px color-mix(in srgb, var(--neon) 55%, transparent); }
.hp-pin.is-back { opacity: 0; pointer-events: none; }
@keyframes hp-neon { 0%, 100% { opacity: .35; transform: scale(.85); } 50% { opacity: .95; transform: scale(1.15); } }
.hp-card { position: fixed; z-index: 400; inline-size: 230px; padding: 12px 14px; border-radius: 14px; background: rgba(19, 24, 38, .92); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 18px 40px rgba(0, 0, 0, .5); color: #eef1f6; font: 400 13px/1.45 var(--tf-font-body); pointer-events: none; opacity: 0; transform: translateY(4px); transition: opacity .15s, transform .15s; }
.hp-card.is-on { opacity: 1; transform: none; }
.hp-card b { display: block; font: 700 16px var(--tf-font-display); }
.hp-card__flag { inline-size: 30px; block-size: 22.5px; border-radius: 4px; float: inline-start; margin-inline-end: 10px; margin-block-start: 3px; }
.hp-card small { color: #98a2b3; }
/* the static hero (reduced motion, no WebGL, a failed load): a night orb with the same lit pins, painted once */
.hp-orb { position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 38% 32%, #1a2336 0%, #0e1422 46%, #070a11 72%); box-shadow: 0 0 0 1px rgba(127, 179, 255, .08), 0 0 120px 18px rgba(65, 97, 143, .28), inset -60px -50px 140px rgba(0, 0, 0, .8), inset 24px 18px 80px rgba(127, 179, 255, .07); overflow: hidden; }
.hp-orb::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: repeating-radial-gradient(circle at 50% 50%, transparent 0 46px, rgba(127, 179, 255, .025) 46px 47px); }
.hp-orb__dot { position: absolute; translate: -50% -50%; inline-size: 26px; block-size: 19.5px; border-radius: 4px; background: center / cover; box-shadow: 0 0 0 2px rgba(7, 9, 14, .85), 0 0 12px 3px color-mix(in srgb, var(--neon) 80%, transparent), 0 0 40px 12px color-mix(in srgb, var(--neon) 35%, transparent); }
.hp-orb__dot--row { display: grid; place-items: center; inline-size: 22px; block-size: 22px; border-radius: 50%; background: #1f2637; color: #7fb3ff; font-size: 11px; }

/* ── a world of managers ── */
.hp-world { background: linear-gradient(to bottom, #0d1018, var(--tf-bg) 240px); }
@media (prefers-color-scheme: light) { .hp-world { background: linear-gradient(to bottom, #0d1018 0, var(--tf-bg) 200px); padding-block-start: 160px; } }
.hp-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 40px; margin-block-end: 44px; }
.hp-tally { display: flex; }
.hp-tally > div { display: grid; gap: 2px; padding-inline: 20px; border-inline-start: 1px solid var(--tf-hair-2); }
.hp-tally > div:first-child { padding-inline-start: 0; border-inline-start: 0; }
.hp-tally span { font-size: var(--tf-text-xs); color: var(--tf-text-muted); display: inline-flex; gap: 6px; align-items: center; white-space: nowrap; }
.hp-tally b { font: 700 30px/1.1 var(--tf-font-display); }
.hp-countries { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.hp-cty { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 16px; align-items: start; padding: 20px 22px; border-radius: var(--tf-radius-lg); background: var(--tf-panel); box-shadow: inset 0 0 0 1px var(--tf-border); overflow: hidden; transition: transform .25s var(--tf-ease-out), box-shadow .25s; }
.hp-cty::after { content: ""; position: absolute; inset-block-start: -40%; inset-inline-end: -30%; inline-size: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--neon) 18%, transparent), transparent); opacity: .55; transition: opacity .3s; pointer-events: none; }
.hp-cty:hover, .hp-cty.is-flash { transform: translateY(-3px); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--neon) 55%, var(--tf-border)); }
.hp-cty:hover::after, .hp-cty.is-flash::after { opacity: 1; }
.hp-cty__flag { inline-size: 44px; block-size: 33px; border-radius: 6px; background: center / cover; box-shadow: 0 0 0 1px color-mix(in srgb, var(--tf-text) 10%, transparent), 0 6px 16px rgba(0, 0, 0, .25); grid-row: span 2; }
.hp-cty__flag--row { display: grid; place-items: center; background: var(--tf-surface-active); color: var(--tf-info); font-size: 17px; }
.hp-cty__name { font: 700 19px/1.2 var(--tf-font-display); }
.hp-cty__league { font-size: var(--tf-text-sm); color: var(--tf-text-muted); }
.hp-cty__foot { grid-column: 1 / -1; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-block-start: 16px; padding-block-start: 14px; border-block-start: 1px solid var(--tf-hair); }
.hp-cty__nums { display: flex; gap: 18px; font-size: var(--tf-text-xs); color: var(--tf-text-muted); }
.hp-cty__nums b { display: block; font: 600 17px/1.2 var(--tf-font-display); color: var(--tf-text); }
.hp-cty__ko { font-size: var(--tf-text-xs); color: var(--tf-text-faint); text-align: end; white-space: nowrap; }
.hp-pyr { display: grid; justify-items: center; gap: 3px; }
.hp-pyr i { display: flex; gap: 3px; }
.hp-pyr s { display: block; inline-size: 6px; block-size: 6px; border-radius: 2px; background: color-mix(in srgb, var(--neon) 80%, var(--tf-text)); text-decoration: none; }
.hp-pyr i + i s { opacity: .65; } .hp-pyr i + i + i s { opacity: .4; }
.hp-note { margin-block-start: 18px; font-size: var(--tf-text-xs); color: var(--tf-text-faint); }

/* ── every day at the club ── */
.hp-days { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.hp-day { grid-column: span 2; position: relative; display: grid; align-content: start; gap: 10px; padding: 26px; border-radius: var(--tf-radius-lg); background: var(--tf-panel); box-shadow: inset 0 0 0 1px var(--tf-border); min-block-size: 270px; overflow: hidden; }
.hp-day:nth-child(4), .hp-day:nth-child(5) { grid-column: span 3; }
.hp-day__ico { inline-size: 40px; block-size: 40px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--tf-accent) 14%, transparent); color: var(--tf-accent); font-size: 16px; }
.hp-day h3 { margin: 6px 0 0; font: 700 21px/1.2 var(--tf-font-display); }
.hp-day p { margin: 0; color: var(--tf-text-secondary); font-size: var(--tf-text-md); line-height: 1.55; }
.hp-day__art { margin-block-start: auto; padding-block-start: 14px; }
.hp-paces { display: flex; gap: 6px; flex-wrap: wrap; }
.hp-paces span { padding: 6px 12px; border-radius: 99px; font-size: var(--tf-text-xs); color: var(--tf-text-muted); box-shadow: inset 0 0 0 1px var(--tf-border-strong); }
.hp-paces span.is-on { color: var(--tf-on-accent); background: var(--tf-accent); box-shadow: none; }
.hp-clock2 { display: flex; gap: 10px; margin-block-start: 10px; font-size: var(--tf-text-xs); color: var(--tf-text-muted); }
.hp-clock2 b { font: 600 15px var(--tf-font-display); color: var(--tf-text); margin-inline-end: 4px; }
.hp-seal { display: flex; align-items: center; gap: 14px; }
.hp-seal svg { inline-size: 64px; block-size: 64px; flex: none; }
.hp-seal small { display: block; color: var(--tf-text-muted); font-size: var(--tf-text-xs); }
.hp-seal b { font: 600 15px var(--tf-font-display); }
.hp-kids { display: flex; gap: 10px; }
.hp-kids span { inline-size: 54px; block-size: 72px; border-radius: 10px; display: grid; place-items: center; background: var(--tf-panel-3); color: var(--tf-text-faint); font: 700 20px var(--tf-font-display); box-shadow: inset 0 0 0 1px var(--tf-border-strong); transition: transform .3s var(--tf-ease-out); }
.hp-kids span.is-pick { background: color-mix(in srgb, var(--tf-accent) 16%, var(--tf-panel)); color: var(--tf-accent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--tf-accent) 55%, transparent); transform: translateY(-6px) rotate(-3deg); }
.hp-day:hover .hp-kids span.is-pick { transform: translateY(-10px) rotate(-5deg); }
.hp-stands { inline-size: 100%; block-size: auto; display: block; }
.hp-faces { display: flex; gap: 10px; align-items: flex-end; }
.hp-faces img { inline-size: 40px; block-size: 40px; object-fit: contain; opacity: .55; transition: transform .25s var(--tf-ease-out), opacity .25s; }
.hp-faces img.is-on { inline-size: 54px; block-size: 54px; opacity: 1; }
.hp-day:hover .hp-faces img.is-on { transform: translateY(-4px) scale(1.05); }

/* ── match night: the match screen's language (the scoreboard box, the minute feed, the moving team colours) ── */
.hp-match { --tf-text: #eef1f6; --tf-text-secondary: #c9d1dd; --tf-text-muted: #98a2b3; --tf-heading: #fff; --tf-accent: #e6c987; --tf-on-accent: #1a1405; --tf-border-strong: rgba(255, 255, 255, .16);
  position: relative; isolation: isolate; color: var(--tf-text); background: #090c13; overflow: hidden; }
.hp-match::before { content: ""; position: absolute; inset: -20%; z-index: -2; background: linear-gradient(var(--hp-to-end), color-mix(in srgb, var(--home) 70%, transparent) 0%, color-mix(in srgb, var(--home) 30%, transparent) var(--mom, 52%), color-mix(in srgb, var(--away) 30%, transparent) calc(var(--mom, 52%) + 6%), color-mix(in srgb, var(--away) 70%, transparent) 100%); filter: blur(40px) saturate(1.1); opacity: .5; animation: hp-tide 18s ease-in-out infinite alternate; }
.hp-match::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 90% at 50% 0%, rgba(255, 255, 255, .07), transparent 60%), linear-gradient(to bottom, rgba(9, 12, 19, .55), rgba(9, 12, 19, .85)); }
@keyframes hp-tide { from { transform: translateX(-4%); } to { transform: translateX(4%); } }
.hp-match__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 56px; align-items: center; }
.hp-board { border-radius: var(--tf-radius-lg); background: rgba(19, 24, 38, .72); backdrop-filter: blur(12px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), 0 30px 70px rgba(0, 0, 0, .5); overflow: hidden; }
.hp-board__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 14px; font-size: var(--tf-text-xs); color: var(--tf-text-muted); border-block-end: 1px solid rgba(255, 255, 255, .08); }
.hp-live { display: inline-flex; align-items: center; gap: 6px; color: #ff6b6b; font-weight: 600; }
.hp-live::before { content: ""; inline-size: 7px; block-size: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; animation: hp-blink 1.6s ease-in-out infinite; }
@keyframes hp-blink { 50% { opacity: .35; } }
.hp-sbx { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 14px; padding: 22px 18px; }
.hp-team { display: flex; align-items: center; gap: 10px; min-inline-size: 0; font: 600 15px/1.2 var(--tf-font-display); }
.hp-team--away { flex-direction: row-reverse; text-align: end; }
.hp-shield { inline-size: 40px; block-size: 46px; flex: none; }
.hp-score { display: grid; justify-items: center; gap: 4px; padding: 8px 18px; border-radius: 11px; background: #20283a; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.hp-score b { font: 800 30px/1 var(--tf-font-display); letter-spacing: .02em; }
.hp-score span { font: 600 12px var(--tf-font-body); color: var(--tf-accent); }
.hp-mom { display: flex; block-size: 4px; margin-inline: 18px; border-radius: 4px; overflow: hidden; background: rgba(255, 255, 255, .06); }
.hp-mom i { display: block; background: var(--home); inline-size: var(--mom, 52%); transition: inline-size 2s var(--tf-ease-out); }
.hp-mom s { display: block; flex: 1; background: var(--away); text-decoration: none; }
.hp-feed { list-style: none; margin: 14px 0 0; padding: 0 18px 8px; display: grid; }
.hp-feed li { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 10px; padding: 10px 0; border-block-start: 1px solid rgba(255, 255, 255, .06); font-size: var(--tf-text-sm); color: var(--tf-text-secondary); }
.hp-feed li b { font: 600 12px/1.6 var(--tf-font-display); color: var(--tf-text-muted); }
.hp-feed li.is-goal { color: var(--tf-text); }
.hp-feed li.is-goal b { color: var(--tf-accent); }
.hp-feed li.is-new { animation: hp-rise .7s var(--tf-ease-out); }
.hp-calls { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 18px 18px; border-block-start: 1px solid rgba(255, 255, 255, .08); }
.hp-calls span { display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px; border-radius: 99px; font-size: var(--tf-text-xs); color: var(--tf-text); background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); cursor: pointer; transition: background .2s; }
.hp-calls span:hover { background: rgba(230, 201, 135, .14); box-shadow: inset 0 0 0 1px rgba(230, 201, 135, .5); }
.hp-calls i { color: var(--tf-accent); }
.hp-match__copy .hp-lead { margin-block-end: 26px; }
.hp-facts { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.hp-facts li { display: flex; gap: 12px; align-items: baseline; color: var(--tf-text-secondary); }
.hp-facts i { color: var(--tf-accent); inline-size: 16px; text-align: center; }
.hp-illus { margin-block-start: 10px; text-align: end; }

/* ── the community ── */
.hp-comm { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-block-start: 44px; }
.hp-tile { display: grid; gap: 8px; padding: 24px; border-radius: var(--tf-radius-lg); background: var(--tf-panel); box-shadow: inset 0 0 0 1px var(--tf-border); }
.hp-tile h3 { margin: 4px 0 0; font: 700 19px/1.25 var(--tf-font-display); }
.hp-tile p { margin: 0; color: var(--tf-text-secondary); }
.hp-langs { display: flex; flex-wrap: wrap; gap: 8px; margin-block-start: 26px; align-items: center; }
.hp-langs span { padding: 7px 14px; border-radius: 99px; font-size: var(--tf-text-sm); box-shadow: inset 0 0 0 1px var(--tf-border-strong); }
.hp-langs span.is-live { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--tf-accent) 60%, transparent); color: var(--tf-text); }
.hp-langs span.is-live::before { content: ""; display: inline-block; inline-size: 6px; block-size: 6px; border-radius: 50%; background: var(--tf-success); margin-inline-end: 8px; vertical-align: middle; }
.hp-langs span.is-next { color: var(--tf-text-muted); border-style: dashed; box-shadow: inset 0 0 0 1px var(--tf-border); }
.hp-langs small { color: var(--tf-text-faint); font-size: var(--tf-text-xs); }

/* ── the call ── */
.hp-call { text-align: center; padding-block: 130px 120px; background: radial-gradient(60% 80% at 50% 100%, color-mix(in srgb, var(--tf-accent) 10%, transparent), transparent 70%); }
.hp-call .hp-h2 { margin-inline: auto; max-inline-size: 16ch; }
.hp-call .hp-lead { margin-inline: auto; }
.hp-call .hp-btn { margin-block-start: 32px; }
.hp-call__mark { inline-size: 54px; block-size: 54px; margin: 0 auto 18px; animation: hp-spin 26s linear infinite; }
@keyframes hp-spin { to { rotate: 360deg; } }

/* ── the footer ── */
.hp-foot { padding-block: 40px 48px; border-block-start: 1px solid var(--tf-hair); font-size: var(--tf-text-sm); color: var(--tf-text-muted); }
.hp-foot .hp-col { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; }
.hp-foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.hp-foot nav a:hover { color: var(--tf-text); }
.hp-foot .hp-brand { color: var(--tf-text); font-size: 18px; }

/* ── reveal on scroll: once, quietly ── */
.hp-rv { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--tf-ease-out), transform .9s var(--tf-ease-out); transition-delay: calc(var(--i, 0) * 70ms); }
.hp-rv.is-in { opacity: 1; transform: none; }

/* ── reduced motion: everything arrives settled; the static hero ── */
.is-still .hp-h1 .l, .is-still .hp-hero .hp-lead, .is-still .hp-cta, .is-still .hp-free, .is-still .hp-crests__row img, .is-still .hp-crests p, .is-still .hp-scroll { animation: none; opacity: 1; transform: none; filter: none; }
.is-still .hp-stage { transition: none; opacity: 1; transform: none; }
.is-still .hp-rv { transition: none; opacity: 1; transform: none; }
.is-still .hp-match::before, .is-still .hp-pin__halo, .is-still .hp-call__mark, .is-still .hp-scroll i, .is-still .hp-live::before { animation: none; }

/* ── the narrow column and the phone ── */
@container hp (max-width: 1000px) {
  .hp-countries { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hp-days { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hp-day, .hp-day:nth-child(4), .hp-day:nth-child(5) { grid-column: span 1; }
  .hp-day:nth-child(5) { grid-column: 1 / -1; }
  .hp-match__grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .hp-nav { display: none; }
}
@container hp (max-width: 600px) {
  .hp-col { padding-inline: 16px; }
  .hp-sec { padding-block: 72px; }
  .hp-bar .hp-col { block-size: 62px; gap: 12px; }
  .hp-brand { font-size: 18px; } .hp-brand svg { inline-size: 22px; block-size: 22px; }
  .hp-bar .hp-btn { block-size: 36px; padding-inline: 14px; font-size: 13px; }
  .hp-hero, .hp-hero__in { min-block-size: max(640px, 100svh); }
  .hp-hero__in { align-content: end; padding-block: 0 70px; }
  .hp-veil { background: linear-gradient(to bottom, rgba(7, 9, 14, .55) 0%, transparent 16%, transparent 34%, rgba(7, 9, 14, .82) 52%, #0d1018 74%); }
  .hp-h1 { font-size: 44px; margin-block: 14px 14px; }
  .hp-hero .hp-lead { font-size: var(--tf-text-md); }
  .hp-cta { margin-block-start: 22px; }
  .hp-cta .hp-btn { flex: 1 1 100%; justify-content: center; }
  .hp-crests { margin-block-start: 26px; }
  .hp-crests__row img { inline-size: 38px; block-size: 38px; }
  .hp-scroll { display: none; }
  .hp-h2 { font-size: 34px; }
  .hp-lead { font-size: var(--tf-text-md); }
  .hp-head { margin-block-end: 26px; }
  .hp-tally b { font-size: 24px; } .hp-tally > div { padding-inline: 12px; }
  /* the countries become a strip that scrolls sideways */
  .hp-countries { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; margin-inline: -16px; padding-inline: 16px; scrollbar-width: none; }
  .hp-countries::-webkit-scrollbar { display: none; }
  .hp-cty { flex: 0 0 82%; scroll-snap-align: start; padding: 18px; }
  .hp-days { grid-template-columns: minmax(0, 1fr); }
  .hp-day, .hp-day:nth-child(4), .hp-day:nth-child(5) { grid-column: auto; min-block-size: 0; padding: 22px; }
  .hp-comm { grid-template-columns: minmax(0, 1fr); margin-block-start: 28px; }
  .hp-sbx { gap: 8px; padding: 18px 12px; }
  .hp-team { font-size: 13px; flex-direction: column; text-align: center; }
  .hp-team--away { flex-direction: column; text-align: center; }
  .hp-score b { font-size: 24px; }
  .hp-call { padding-block: 90px 80px; }
  .hp-foot .hp-col { flex-direction: column; align-items: flex-start; }
}

/* the card's flag, the headline before the letters are split, the countdown in the call */
.hp-card__flag { display: inline-grid; place-items: center; background: center / cover no-repeat; }
.hp-card__flag--row { background: #1f2637; color: #7fb3ff; font-size: 12px; }
.js .hp-h1:not(.is-split) { opacity: 0; }
.hp-count { margin-block-start: 34px; display: grid; justify-items: center; gap: 10px; }
.hp-count .count__label { font: 600 var(--tf-text-sm) var(--tf-font-body); color: var(--tf-text-muted); }
.hp-count .count__cells { display: flex; gap: 10px; }
.hp-count .count__cell { display: grid; justify-items: center; gap: 2px; min-inline-size: 64px; padding: 10px 8px; border-radius: 14px; background: var(--tf-panel); box-shadow: inset 0 0 0 1px var(--tf-border); }
.hp-count .count__cell b { font: 700 24px/1 var(--tf-font-display); color: var(--tf-text); font-variant-numeric: tabular-nums; }
.hp-count .count__cell span { font-size: var(--tf-text-xs); color: var(--tf-text-muted); }
@container hp (max-width: 600px) { .hp-count .count__cell { min-inline-size: 56px; } .hp-count .count__cell b { font-size: 20px; } }
/* the globe cross-fades over the painted orb once it is ready */
.hp-stage .hp-globe { position: absolute; inset: 0; opacity: 0; transition: opacity 1.8s var(--tf-ease-out); }
.hp-stage .hp-orb { transition: opacity 1.8s var(--tf-ease-out); }
.hp-stage.is-live .hp-globe { opacity: 1; }
.hp-stage.is-live .hp-orb { opacity: 0; }
/* the crest row never shrinks under its caption; on a phone the caption sits under it */
.hp-crests__row { flex: none; }
.hp-crests__row img { max-width: none; }
@container hp (max-width: 600px) { .hp-crests { flex-direction: column; align-items: flex-start; gap: 10px; } }
.hp-count__note { margin: 4px 0 0; max-inline-size: 46ch; text-align: center; font-size: var(--tf-text-sm); color: var(--tf-text-secondary); }
/* three languages in the hero bar (the current one hidden); Chinese type; the footer's own sign-up */
.hp-langs-bar { display: inline-flex; gap: 12px; }
html[lang="he"] .hp-lang[hreflang="he"], html[lang="en"] .hp-lang[hreflang="en"], html[lang="zh"] .hp-lang[hreflang="zh"] { display: none; }
.hp:lang(zh) { --tf-font-display: 'Noto Sans SC', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif; --tf-font-body: 'Noto Sans SC', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif; }
.hp:lang(zh) .hp-h1 { letter-spacing: 0; line-height: 1.08; font-weight: 900; }
.hp:lang(zh) .hp-h2 { letter-spacing: 0; }
.hp-foot__lead { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.hp-foot .hp-btn { block-size: 42px; padding-inline: 18px; font-size: 14px; }
@container hp (max-width: 600px) { .hp-langs-bar { gap: 8px; } .hp-bar .hp-lang { font-size: 12px; } }
.hp-cty__nums span { white-space: nowrap; }
/* the Season 1 page: the Big League line under the countdown */
.s1-big { margin-block-start: 14px; max-width: 62ch; }

/* THE CONTENT COLUMN for full-bleed sections and bands (see the note at .section--dark) */
.section--dark, .band { padding-inline: max(20px, calc((100% - var(--max)) / 2 + 20px)); }
