/*
  Shared design system for the Premier League landing pages.
  ------------------------------------------------------------------
  Used by:
    /premier-league-prediction-league/   (en)
    /he/premier-league/                  (he, RTL)
    /ar/premier-league/                  (ar, RTL)
    /fr/pronostics-premier-league/       (fr)

  Mirrors the mobile app's design system: light background (#F5F5F7),
  deep green brand (#2D7A2A) with a green-gradient hero, amber/gold
  accents, Poppins for display and Inter for body — swapped to Heebo and
  Cairo on the Hebrew and Arabic pages, which is the whole reason the
  fonts come from two custom properties rather than being named inline.

  Direction-agnostic: everything positional uses logical properties, so
  the RTL pages need no overrides beyond the handful at the bottom.

  This lives in one file rather than inlined per page because four pages
  share it and more locales are likely; the cost is one cached request.
*/

/* --------------------------------------------------------------
   Fonts
   -------------------------------------------------------------- */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/inter-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/poppins-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 800; font-display: swap; src: url("/fonts/poppins-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Heebo"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/heebo-hebrew-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Heebo"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/heebo-hebrew-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Heebo"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/heebo-hebrew-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Heebo"; font-style: normal; font-weight: 800; font-display: swap; src: url("/fonts/heebo-hebrew-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Cairo"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/cairo-arabic-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Cairo"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/cairo-arabic-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Cairo"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/cairo-arabic-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Cairo"; font-style: normal; font-weight: 800; font-display: swap; src: url("/fonts/cairo-arabic-800-normal.woff2") format("woff2"); }

:root {
  --bg: #f5f5f7;
  --mint: #ecf4eb;
  --card: #ffffff;
  --ink: #1a1a1a;
  --body: #4b5563;
  --muted: #6b7280;
  --brand: #2d7a2a;
  --brand-600: #3a8838;
  --brand-800: #1b4e19;
  --gold: #ffe08a;
  --amber: #f59e0b;
  --amber-600: #d97706;
  --wa: #25d366;
  --line: rgba(0, 0, 0, 0.08);
  --display: "Poppins", system-ui, sans-serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;
  --radius: 20px;
}

/* Poppins and Inter carry no Hebrew or Arabic glyphs, so both roles swap
   to the locale face rather than falling back mid-word. */
html[lang="he"] {
  --display: "Heebo", system-ui, sans-serif;
  --sans: "Heebo", system-ui, -apple-system, sans-serif;
}
html[lang="ar"] {
  --display: "Cairo", system-ui, sans-serif;
  --sans: "Cairo", system-ui, -apple-system, sans-serif;
}

/* --------------------------------------------------------------
   Base
   -------------------------------------------------------------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; }
a { color: var(--brand); font-weight: 600; }
a:hover { color: var(--brand-800); }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; margin: 0 auto; }

.skip {
  position: absolute; inset-inline-start: -9999px; top: 0;
  background: #fff; color: var(--brand-800); padding: 10px 16px;
  border-radius: 10px; font-weight: 600; z-index: 100;
}
.skip:focus { inset-inline-start: 12px; top: 12px; }

/* --------------------------------------------------------------
   Header
   -------------------------------------------------------------- */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-head .wrap { display: flex; align-items: center; gap: 16px; padding-top: 10px; padding-bottom: 10px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand img { width: 34px; height: 34px; border-radius: 10px; box-shadow: 0 4px 10px rgba(27, 94, 25, 0.3); }
.brand span { font-family: var(--display); font-weight: 800; font-size: 18px; letter-spacing: -0.01em; }
.head-nav { display: none; gap: 22px; margin-inline-start: 12px; font-size: 14px; }
.head-nav a { color: var(--muted); font-weight: 500; text-decoration: none; }
.head-nav a:hover { color: var(--ink); }
@media (min-width: 900px) { .head-nav { display: flex; } }
.head-cta { margin-inline-start: auto; }

/* --------------------------------------------------------------
   Buttons
   -------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  border-radius: 999px; font-family: var(--display); font-weight: 700;
  text-decoration: none; line-height: 1; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-green {
  background: linear-gradient(180deg, var(--brand-600) 0%, #2d6e2b 100%);
  color: #fff; padding: 13px 22px; font-size: 15px;
  box-shadow: 0 8px 22px rgba(27, 94, 25, 0.28);
}
.btn-green:hover { color: #fff; box-shadow: 0 12px 28px rgba(27, 94, 25, 0.34); }
.btn-sm { padding: 9px 16px; font-size: 13.5px; }
.btn-white {
  background: #fff; color: #15431f; padding: 14px 24px; font-size: 15.5px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}
.btn-white:hover { color: #15431f; }
.btn-ghost {
  background: rgba(255, 255, 255, 0.1); color: #fff; padding: 14px 22px; font-size: 15px;
  border-color: rgba(255, 255, 255, 0.32);
}
.btn-ghost:hover { color: #fff; background: rgba(255, 255, 255, 0.18); }

/* --------------------------------------------------------------
   Hero
   -------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(170deg, #3a8838 0%, #2d6e2b 52%, #1b4e19 100%);
}
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.hero::before { top: -180px; inset-inline-end: -140px; width: 460px; height: 460px; background: rgba(245, 158, 11, 0.22); filter: blur(110px); }
.hero::after { bottom: -200px; inset-inline-start: -120px; width: 420px; height: 420px; background: rgba(105, 161, 103, 0.45); filter: blur(100px); }
.hero .wrap { position: relative; padding-top: 34px; padding-bottom: 44px; }
.hero-grid { display: grid; gap: 36px; align-items: center; }
@media (min-width: 940px) {
  .hero .wrap { padding-top: 56px; padding-bottom: 64px; }
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: 48px; }
}

.crumbs { font-size: 12.5px; color: rgba(255, 255, 255, 0.72); margin: 0 0 16px; }
.crumbs a { color: rgba(255, 255, 255, 0.85); font-weight: 500; text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }

.chip {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 15px; border-radius: 999px; font-size: 13px; font-weight: 500;
  background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
}
.chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); flex: none; }
/* Tabular figures stop the chip twitching as the countdown ticks. */
.chip .count { font-variant-numeric: tabular-nums; font-weight: 700; }

.hero h1 {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(31px, 6vw, 52px); line-height: 1.08; letter-spacing: -0.025em;
  margin: 18px 0 0; color: #fff;
  /* Keeps a stray one-word last line from hanging off long headlines —
     which the Hebrew and Arabic translations run into more than English. */
  text-wrap: balance;
}
.hero h1 .gold { color: var(--gold); display: block; }
.hero .lead {
  font-size: clamp(16px, 2.2vw, 18.5px); line-height: 1.62;
  color: rgba(255, 255, 255, 0.9); margin: 18px 0 0; max-width: 34em;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-note { margin-top: 14px; font-size: 13px; color: rgba(255, 255, 255, 0.68); }

.ticks { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 9px; }
.ticks li { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; color: rgba(255, 255, 255, 0.9); }
.ticks svg { flex: none; margin-top: 3px; }

/* --------------------------------------------------------------
   Phone mock — pure CSS, no image payload
   -------------------------------------------------------------- */
.phone-col { display: flex; justify-content: center; }
.phone {
  position: relative; width: 288px; aspect-ratio: 9 / 19.5; flex: none;
  border-radius: 48px; padding: 4px;
  background: linear-gradient(135deg, #6b6e73 0%, #2e3033 18%, #4a4d52 38%, #1f2125 55%, #5a5d62 78%, #2e3033 100%);
  box-shadow: 0 50px 90px -20px rgba(0, 0, 0, 0.55), 0 24px 50px -12px rgba(0, 0, 0, 0.35);
}
@media (min-width: 400px) { .phone { width: 310px; } }
.phone-inner { width: 100%; height: 100%; border-radius: 44px; background: #000; padding: 4px; }
.phone-screen {
  position: relative; width: 100%; height: 100%; overflow: hidden;
  border-radius: 40px; background: var(--bg);
}
.island {
  position: absolute; top: 11px; left: 50%; transform: translateX(-50%);
  width: 94px; height: 26px; border-radius: 999px; background: #000; z-index: 3;
}
.status {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px 4px; font-size: 11px; font-weight: 600; color: #fff;
}
.app-hero { background: linear-gradient(180deg, #3a8838 0%, #2d6e2b 80%, #1b4e19 100%); padding: 8px 16px 18px; }
.app-top { display: flex; align-items: center; justify-content: space-between; }
.app-user { display: flex; align-items: center; gap: 9px; }
.app-user img { width: 26px; height: 26px; border-radius: 8px; }
.app-pts { text-align: end; }
.t9 { font-size: 9px; color: rgba(255, 255, 255, 0.72); line-height: 1.25; }
.t13 { font-family: var(--display); font-size: 13px; font-weight: 700; color: #fff; line-height: 1.25; }
.pts { font-family: var(--display); font-size: 16px; font-weight: 800; color: var(--gold); line-height: 1.25; }
.match {
  margin-top: 14px; background: #fff; border-radius: 16px; padding: 12px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}
.match-meta { display: flex; justify-content: space-between; font-size: 9.5px; color: #9ca3af; }
.match-row { margin-top: 8px; display: flex; align-items: center; justify-content: space-between; }
.team { display: flex; flex-direction: column; align-items: center; gap: 5px; width: 62px; }
.team-badge {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  color: #fff; font-family: var(--display); font-weight: 800; font-size: 13px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
}
.team-name { font-size: 9.5px; color: #4b5563; text-align: center; }
.pick { text-align: center; }
/* The scoreline is always read left-to-right, even on an RTL page. */
.pick-score {
  font-family: var(--display); font-weight: 800; font-size: 22px;
  letter-spacing: 0.08em; color: var(--ink); direction: ltr; unicode-bidi: isolate;
}
.pick-label { font-size: 9px; color: #9ca3af; }
.lock {
  margin-top: 9px; text-align: center; font-size: 9.5px; font-weight: 500;
  padding: 4px; border-radius: 7px; background: rgba(245, 158, 11, 0.13); color: var(--amber-600);
}
.board { padding: 14px 14px 0; }
.board-head {
  display: flex; justify-content: space-between; align-items: center; margin-bottom: 7px;
  font-family: var(--display); font-size: 9.5px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; color: #9ca3af;
}
.board-head .see { color: var(--brand); letter-spacing: 0; text-transform: none; }
.brow {
  display: flex; align-items: center; gap: 8px; padding: 8px 11px;
  border-radius: 12px; background: #fff; margin-bottom: 6px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}
.brow.top { background: var(--brand); box-shadow: 0 4px 12px rgba(27, 94, 25, 0.2); }
.brow .rk { font-family: var(--display); font-weight: 700; font-size: 12px; width: 20px; color: var(--ink); }
.brow .nm { flex: 1; font-size: 11.5px; font-weight: 500; color: var(--ink); }
.brow .sc { font-family: var(--display); font-weight: 800; font-size: 13px; color: var(--ink); }
.brow.top .rk, .brow.top .nm, .brow.top .sc { color: #fff; }
.tabbar {
  position: absolute; inset-inline: 0; bottom: 0; padding: 9px 6px 18px;
  display: flex; background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}
.tab { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; color: #b0b6bf; }
.tab.on { color: var(--brand); }
.tab span { font-size: 8.5px; font-weight: 600; }
.home-bar {
  position: absolute; bottom: 7px; left: 50%; transform: translateX(-50%);
  width: 100px; height: 4px; border-radius: 999px; background: rgba(0, 0, 0, 0.35); z-index: 2;
}

/* --------------------------------------------------------------
   Stat band
   -------------------------------------------------------------- */
.stats { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats .wrap {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
  padding-top: 26px; padding-bottom: 26px; text-align: center;
}
@media (min-width: 720px) { .stats .wrap { grid-template-columns: repeat(4, 1fr); } }
.stat b {
  display: block; font-family: var(--display); font-weight: 800; font-size: 28px;
  color: var(--brand); letter-spacing: -0.02em;
}
.stat span { font-size: 13px; color: var(--muted); }

/* --------------------------------------------------------------
   Sections
   -------------------------------------------------------------- */
section { padding: 52px 0; }
/* Anchor targets must clear the sticky header. */
section[id], div[id] { scroll-margin-top: 72px; }
.sec-white { background: #fff; border-top: 1px solid var(--line); }
.sec-mint { background: linear-gradient(180deg, var(--bg) 0%, var(--mint) 100%); }
.eyebrow {
  font-family: var(--display); font-weight: 700; font-size: 11.5px;
  text-transform: uppercase; letter-spacing: 0.16em; color: var(--brand); margin: 0 0 10px;
}
h2 {
  font-family: var(--display); font-weight: 800; letter-spacing: -0.02em; color: var(--ink);
  font-size: clamp(24px, 4vw, 32px); line-height: 1.15; margin: 0 0 12px;
  text-wrap: balance;
}
h3 { font-family: var(--display); font-weight: 700; font-size: 17.5px; color: var(--ink); margin: 0 0 6px; letter-spacing: -0.01em; }
p { margin: 0 0 14px; font-size: 16px; line-height: 1.72; }
.sec-intro { font-size: 17px; color: var(--muted); max-width: 40em; }
strong { color: var(--ink); font-weight: 600; }

.definition {
  background: #fff; border: 1px solid var(--line); border-inline-start: 4px solid var(--brand);
  border-radius: 16px; padding: 20px 22px; margin: 0 0 8px;
}
.definition p:last-child { margin-bottom: 0; }

.cards { display: grid; gap: 16px; margin-top: 28px; }
@media (min-width: 720px) { .cards.c3 { grid-template-columns: repeat(3, 1fr); } .cards.c2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .cards.c6 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 620px) and (max-width: 899px) { .cards.c6 { grid-template-columns: repeat(2, 1fr); } }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}
.card p { font-size: 14.5px; margin: 0; color: var(--body); }
.icon {
  width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-800) 100%);
  color: #fff; margin-bottom: 14px;
}
.icon.amber { background: linear-gradient(135deg, var(--amber) 0%, var(--amber-600) 100%); }
.step-n {
  font-family: var(--display); font-weight: 800; font-size: 12px; color: var(--brand);
  background: var(--mint); border-radius: 999px; padding: 4px 11px; display: inline-block;
  margin-bottom: 12px; letter-spacing: 0.06em;
}

/* --------------------------------------------------------------
   World Cup proof band
   -------------------------------------------------------------- */
.proof { background: var(--mint); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.proof-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 22px; }
@media (min-width: 780px) { .proof-grid { grid-template-columns: repeat(4, 1fr); } }
.proof-stat b {
  display: block; font-family: var(--display); font-weight: 800;
  font-size: clamp(24px, 4vw, 34px); color: var(--brand); letter-spacing: -0.02em; line-height: 1.05;
}
.proof-stat span { display: block; font-size: 13.5px; color: var(--body); margin-top: 5px; }
.proof-note { margin-top: 20px; font-size: 13.5px; color: var(--muted); }

/* --------------------------------------------------------------
   Scoring
   -------------------------------------------------------------- */
.score-grid { display: grid; gap: 12px; margin-top: 24px; }
@media (min-width: 620px) { .score-grid { grid-template-columns: repeat(3, 1fr); } }
.score-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px; text-align: center; }
.score-card.hot { border-color: rgba(45, 122, 42, 0.35); background: var(--mint); }
.score-pts { font-family: var(--display); font-weight: 800; font-size: 40px; color: var(--brand); line-height: 1; }
.score-lbl { font-family: var(--display); font-weight: 700; font-size: 14px; color: var(--ink); margin-top: 8px; }
.score-sub { font-size: 13px; color: var(--muted); margin-top: 4px; }

.pull {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; margin-top: 26px; display: grid; gap: 18px; align-items: center;
}
@media (min-width: 720px) { .pull { grid-template-columns: auto 1fr; gap: 28px; } }
.pull .big { font-family: var(--display); font-weight: 800; font-size: 52px; color: var(--brand); line-height: 1; letter-spacing: -0.03em; }
.pull .big small { display: block; font-family: var(--sans); font-weight: 500; font-size: 13px; color: var(--muted); letter-spacing: 0; margin-top: 6px; }
.pull p { margin: 0; font-size: 15.5px; }

/* --------------------------------------------------------------
   Comparison table
   -------------------------------------------------------------- */
.table-scroll { overflow-x: auto; margin-top: 26px; -webkit-overflow-scrolling: touch; }
.scroll-hint { display: block; font-size: 12.5px; color: var(--muted); margin: 8px 0 0; }
@media (min-width: 700px) { .scroll-hint { display: none; } }
table {
  border-collapse: collapse; width: 100%; min-width: 560px; background: #fff;
  border-radius: 16px; overflow: hidden; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
th, td { padding: 13px 16px; text-align: start; font-size: 14.5px; border-bottom: 1px solid var(--line); }
thead th { font-family: var(--display); font-weight: 700; font-size: 13px; color: var(--ink); background: var(--mint); }
thead th.is-us { color: #fff; background: var(--brand); }
tbody th { font-weight: 600; color: var(--ink); }
td.is-us { background: rgba(236, 244, 235, 0.6); font-weight: 600; color: var(--ink); }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* --------------------------------------------------------------
   Timeline
   -------------------------------------------------------------- */
.timeline {
  list-style: none; margin: 26px 0 0; padding: 0;
  padding-inline-start: 26px; border-inline-start: 2px solid rgba(45, 122, 42, 0.2);
}
.timeline li { position: relative; padding-bottom: 20px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: ""; position: absolute; inset-inline-start: -33px; top: 6px; width: 12px; height: 12px;
  border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px var(--mint);
}
.timeline .when { font-family: var(--display); font-weight: 700; font-size: 14px; color: var(--brand); }
.timeline .what { font-size: 15px; color: var(--body); }

/* --------------------------------------------------------------
   FAQ
   -------------------------------------------------------------- */
.faq { margin-top: 24px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 4px 18px; margin-bottom: 10px; }
.faq summary {
  cursor: pointer; list-style: none; position: relative;
  padding-block: 14px; padding-inline-end: 28px; padding-inline-start: 0;
  font-family: var(--display); font-weight: 700; font-size: 15.5px; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; inset-inline-end: 0; top: 50%; transform: translateY(-50%);
  font-size: 22px; font-weight: 400; color: var(--brand); line-height: 1;
}
.faq details[open] summary::after { content: "–"; }
.faq details p { font-size: 15px; margin: 0 0 14px; }

/* --------------------------------------------------------------
   Closing CTA band
   -------------------------------------------------------------- */
.cta-band {
  position: relative; overflow: hidden; color: #fff; text-align: center;
  background: linear-gradient(170deg, #3a8838 0%, #2d6e2b 60%, #1b4e19 100%);
}
.cta-band::before {
  content: ""; position: absolute; top: -160px; left: 50%; transform: translateX(-50%);
  width: 620px; height: 420px; border-radius: 50%; background: rgba(245, 158, 11, 0.18); filter: blur(120px);
}
.cta-band .wrap { position: relative; padding-top: 56px; padding-bottom: 60px; }
.cta-band h2 { color: #fff; font-size: clamp(25px, 4.4vw, 38px); }
.cta-band h2 .gold { color: var(--gold); }
.cta-band p { color: rgba(255, 255, 255, 0.86); max-width: 32em; margin-inline: auto; }
.store-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 24px; }
.store-btn {
  display: inline-flex; align-items: center; gap: 10px; background: #fff; color: #15431f;
  border-radius: 14px; padding: 11px 20px; text-decoration: none;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.24);
}
.store-btn:hover { color: #15431f; }
.store-btn .s1 { display: block; font-size: 10px; color: #4b5563; line-height: 1.2; text-align: start; }
.store-btn .s2 { display: block; font-family: var(--display); font-weight: 700; font-size: 15px; line-height: 1.2; text-align: start; }
.qr { display: none; margin-top: 30px; }
@media (min-width: 768px) and (hover: hover) {
  .qr { display: flex; flex-direction: column; align-items: center; gap: 10px; }
  .qr img { width: 124px; height: 124px; background: #fff; border-radius: 12px; padding: 8px; box-shadow: 0 12px 28px rgba(0, 0, 0, 0.24); }
  .qr p { font-size: 13px; color: rgba(255, 255, 255, 0.75); margin: 0; }
}

/* --------------------------------------------------------------
   Invite block — nested in .cta-band, whose `p` rule (white, centred,
   max-width) would otherwise win on specificity, so every text rule
   below is scoped to beat it.
   -------------------------------------------------------------- */
.invite-card {
  background: #fff; border-radius: var(--radius); padding: 22px;
  max-width: 560px; margin: 26px auto 0;
  text-align: start; box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
}
.invite-card h3 { margin-bottom: 4px; }
.cta-band .invite-card .why {
  font-size: 13.5px; color: var(--muted); margin: 0 0 14px; max-width: none; text-align: start;
}
.cta-band .invite-card .invite-msg {
  background: var(--bg); border: 1px solid var(--line); border-radius: 14px;
  padding: 14px 16px; font-size: 14px; line-height: 1.6; color: var(--body);
  white-space: pre-line; margin: 0 0 14px; max-width: none; text-align: start;
}
.invite-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.btn-wa { background: var(--wa); color: #fff; padding: 13px 20px; font-size: 15px; box-shadow: 0 8px 20px rgba(37, 211, 102, 0.32); }
.btn-wa:hover { color: #fff; }
.btn-copy { background: #fff; color: var(--ink); padding: 13px 20px; font-size: 15px; border-color: var(--line); }
.btn-copy:hover { color: var(--ink); border-color: rgba(45, 122, 42, 0.4); }

/* --------------------------------------------------------------
   Related links
   -------------------------------------------------------------- */
.links { display: grid; gap: 12px; margin-top: 24px; }
@media (min-width: 660px) { .links { grid-template-columns: repeat(2, 1fr); } }
.link-card {
  display: block; background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 16px 18px; text-decoration: none;
}
.link-card b { display: block; font-family: var(--display); font-weight: 700; font-size: 15px; color: var(--ink); }
.link-card span { display: block; font-size: 13.5px; color: var(--muted); font-weight: 400; margin-top: 3px; }
.link-card:hover { border-color: rgba(45, 122, 42, 0.4); }

/* --------------------------------------------------------------
   Footer
   -------------------------------------------------------------- */
footer { background: #fff; border-top: 1px solid var(--line); padding: 26px 0 90px; font-size: 13px; color: var(--muted); }
footer .wrap { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
footer a { color: var(--muted); font-weight: 500; text-decoration: none; }
footer a:hover { color: var(--ink); }
footer .copy { margin-inline-start: auto; }
.disclaimer { margin-top: 14px; font-size: 11.5px; color: #9ca3af; line-height: 1.6; }

/* --------------------------------------------------------------
   RTL — logical properties cover the layout, so only the handful of
   physically-positioned decorations need flipping.
   -------------------------------------------------------------- */
html[dir="rtl"] .hero h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3 { letter-spacing: 0; }
html[dir="rtl"] .eyebrow,
html[dir="rtl"] .board-head { letter-spacing: 0.08em; }
html[dir="rtl"] .pick-score { letter-spacing: 0.08em; }
