:root {
  --bg: #0A1424; --bg-2: #0D1A2E; --panel: #111F35; --panel-2: #152640; --line: rgba(255,255,255,.08);
  --line-2: rgba(255,255,255,.14); --text: #E9EFF8; --muted: #9FB0C8; --dim: #7D8FAB;
  --green: #34D271; --green-2: #16A34A; --yellow: #F5C518; --red: #F26D6D; --blue: #5AA9FF;
  --radius: 16px; --radius-sm: 10px; --wrap: 1160px;
  --shadow: 0 1px 0 rgba(255,255,255,.04) inset, 0 12px 32px -18px rgba(0,0,0,.7);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 120px; }
body { margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", "Avenir Next", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased; }
a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.01em; margin: 0; }
p { margin: 0 0 .6em; }
img { max-width: 100%; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.center { text-align: center; }
.pad { padding: 14px 16px; margin: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--green); color: #04110A; padding: 8px 12px;
  border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; border-radius: 4px; }
.show-sm { display: none; }

/* header */
.top { position: sticky; top: 0; z-index: 6; background: rgba(10,20,36,.86); backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; gap: 20px; height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 800; font-size: 1.1rem;
  letter-spacing: -.01em; }
.logo:hover { text-decoration: none; }
.logo img { border-radius: 9px; }
.nav { display: flex; gap: 4px; flex: 1; }
.nav a { color: var(--muted); padding: 8px 12px; border-radius: 8px; font-size: .95rem; font-weight: 500; }
.nav a:hover { color: var(--text); background: rgba(255,255,255,.04); text-decoration: none; }
.nav a[aria-current] { color: var(--text); background: rgba(255,255,255,.07); }
.actions { display: flex; align-items: center; gap: 10px; }
.lang { color: var(--muted); font-size: .9rem; padding: 6px 4px; font-weight: 600; }
.lang:hover { color: var(--text); text-decoration: none; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 650;
  border-radius: 999px; padding: 11px 20px; font-size: .95rem; border: 1px solid transparent; white-space: nowrap;
  transition: transform .12s ease, background .12s ease, border-color .12s ease; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-sm { padding: 7px 14px; font-size: .9rem; }
.btn-lg { padding: 13px 24px; font-size: 1rem; }
.btn-primary { background: linear-gradient(180deg, #3BDD7A, var(--green-2)); color: #04140A;
  box-shadow: 0 8px 24px -10px rgba(52,210,113,.7); }
.btn-ghost { border-color: var(--line-2); color: var(--text); background: rgba(255,255,255,.02); }
.btn-ghost:hover, .btn-ghost.is-active { border-color: var(--green); }

/* hero and page heads */
.hero { position: relative; padding: 40px 0 16px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -40% -10% auto; height: 460px; pointer-events: none;
  background: radial-gradient(50% 60% at 30% 40%, rgba(52,210,113,.14), transparent 70%),
              radial-gradient(40% 50% at 80% 20%, rgba(90,169,255,.09), transparent 70%); }
.hero .wrap { position: relative; }
.eyebrow { color: var(--green); font-weight: 650; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase;
  margin-bottom: 12px; }
.hero h1 { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; letter-spacing: -.03em; max-width: 780px; }
.lead { color: var(--muted); font-size: clamp(1rem, 1.5vw, 1.12rem); max-width: 720px; margin-top: 12px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.page-head { padding: 44px 0 6px; border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(52,210,113,.06), transparent 80%); }
.page-head h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); font-weight: 800; letter-spacing: -.02em; }
.page-head .lead { margin-bottom: 26px; }
.page-head .eyebrow { display: flex; align-items: center; gap: 10px; text-transform: none; letter-spacing: 0;
  color: var(--muted); font-size: .95rem; }
.head-icon { border-radius: 10px; }

/* KPIs */
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 26px; }
.kpis-6 { grid-template-columns: repeat(6, 1fr); margin-top: 0; }
.kpi { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px;
  box-shadow: var(--shadow); }
.kpi-v { font-size: 1.45rem; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.kpi-l { color: var(--muted); font-size: .82rem; line-height: 1.35; }

/* sections */
.block { padding: 36px 0 0; }
.block-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.block-head h2 { font-size: 1.4rem; font-weight: 750; }
.more { font-weight: 600; font-size: .95rem; white-space: nowrap; }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px;
  box-shadow: var(--shadow); }
.panel h3 { font-size: 1.05rem; margin-bottom: 10px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.panel.empty { text-align: center; padding: 36px 20px; }
.panel.empty p { color: var(--muted); max-width: 560px; margin: 0 auto 16px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.status { font-weight: 600; margin-bottom: 8px; }
.badge { font-size: .7rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted);
  border: 1px solid var(--line-2); background: rgba(255,255,255,.04); border-radius: 999px; padding: 2px 9px; }
.badge-live { color: var(--green); border-color: rgba(52,210,113,.45); background: rgba(52,210,113,.08); }
.note { border-left: 3px solid var(--blue); background: rgba(90,169,255,.07); padding: 10px 14px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: #C9D7EA; margin-top: 12px; font-size: .92rem; }
.note.warn { border-color: var(--yellow); background: rgba(245,197,24,.07); }
.big { font-size: 2.4rem; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; line-height: 1.1; }
.big span { color: var(--dim); font-size: 1.5rem; }

/* tips */
.tips { display: grid; gap: 12px; }
.tip { border: 1px solid var(--line-2); border-radius: var(--radius-sm); padding: 14px 16px; background: var(--panel-2); }
.tip-meta { display: flex; justify-content: space-between; gap: 10px; color: var(--muted); font-size: .85rem; flex-wrap: wrap; }
.tip-match { font-weight: 700; font-size: 1.08rem; margin: 4px 0 6px; }
.vs { color: var(--dim); font-weight: 500; }
.tip-call { font-weight: 700; display: flex; align-items: center; gap: 8px; }
.chip-card { width: 12px; height: 16px; border-radius: 2px; background: var(--yellow); display: inline-block;
  box-shadow: 0 0 0 1px rgba(0,0,0,.2) inset; }
.chip-ball { width: 14px; height: 14px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff, #cfd8e3);
  display: inline-block; }
.tip-foot { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 10px; font-size: .88rem; color: var(--muted); }
.tip-foot b { color: var(--text); }
.strength { display: inline-flex; align-items: center; gap: 6px; }
.dots { color: var(--green); letter-spacing: 1px; font-size: .8rem; }
.dots i { color: var(--dim); font-style: normal; }
.result { font-weight: 700; border-radius: 999px; padding: 0 10px; font-size: .8rem; line-height: 1.8; white-space: nowrap; }
.r-won { color: #04140A; background: var(--green); }
.r-lost { color: #fff; background: #B54545; }
.r-pending, .r-void { color: var(--muted); border: 1px solid var(--line-2); }
.radar { margin-top: 16px; }
.list { list-style: none; margin: 0; padding: 0; }
.list li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line);
  flex-wrap: wrap; }
.list li:last-child { border-bottom: 0; }

/* league marks, flags, logos */
.lmark { display: inline-grid; place-items: center; min-width: 26px; height: 18px; padding: 0 4px; margin-right: 7px;
  border-radius: 5px; background: var(--c); color: #fff; font-size: .62rem; font-weight: 800; letter-spacing: .02em;
  vertical-align: 1px; box-shadow: 0 0 0 1px rgba(255,255,255,.12) inset; }
.flag { width: 16px; height: 11px; vertical-align: 0; margin-right: 6px; border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(255,255,255,.15); }
.llogo { width: 18px; height: 18px; object-fit: contain; margin-right: 7px; vertical-align: -4px;
  background: #fff; border-radius: 4px; padding: 1px; }
.page-head .llogo { width: 44px; height: 44px; border-radius: 10px; padding: 4px; margin-right: 4px; }
.crest { width: 18px; height: 18px; object-fit: contain; margin-right: 6px; vertical-align: -4px; flex: none; }
.muted .crest { width: 14px; height: 14px; vertical-align: -2px; }

/* coming matches: compact rows that open to the full comparison */
.toolbar { position: sticky; top: 64px; z-index: 4; display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 10px 16px; padding: 12px 0; background: rgba(10,20,36,.92);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); margin-bottom: 10px; }
.day-chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.day-chips::-webkit-scrollbar { display: none; }
.day-chips a { white-space: nowrap; border: 1px solid var(--line-2); border-radius: 999px; padding: 6px 12px;
  color: var(--text); font-size: .88rem; font-weight: 600; }
.day-chips a:hover { border-color: var(--green); text-decoration: none; }
.filter { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); }
.filter select { background: var(--panel); color: var(--text); border: 1px solid var(--line-2); border-radius: 10px;
  padding: 8px 12px; font: inherit; max-width: 70vw; }
.day-group { margin-top: 22px; }
.day { font-size: 1.05rem; color: var(--text); font-weight: 700; margin-bottom: 12px; }
.match-list, .league-group { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden; }
.league-group { margin-bottom: 12px; }
.lg-head { display: block; padding: 10px 16px; font-size: .85rem; font-weight: 650; color: var(--muted);
  background: rgba(255,255,255,.025); border-bottom: 1px solid var(--line); }
a.lg-head:hover { color: var(--text); text-decoration: none; }
.match { border-bottom: 1px solid var(--line); }
.match:last-child { border-bottom: 0; }
.match summary { list-style: none; cursor: pointer; display: grid; align-items: center; gap: 14px; padding: 11px 16px;
  grid-template-columns: 64px minmax(0, 1fr) auto 18px; }
.match summary::-webkit-details-marker { display: none; }
.match summary:hover { background: rgba(255,255,255,.025); }
.match-list .match summary { grid-template-columns: 120px minmax(0, 1fr) auto 18px; }
.m-time { color: var(--muted); font-size: .88rem; font-variant-numeric: tabular-nums; }
.m-teams { display: grid; gap: 3px; min-width: 0; }
.m-league { font-size: .78rem; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-side { display: flex; align-items: center; gap: 8px; min-width: 0; }
.m-side b { font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-side .form { flex: none; width: 96px; }
.m-side .crest { margin-right: 0; }
.m-chips { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.chip { display: inline-flex; align-items: center; gap: 5px; font-size: .8rem; font-weight: 650; color: #CFD9E8;
  background: rgba(255,255,255,.05); border: 1px solid var(--line); border-radius: 999px; padding: 3px 9px;
  white-space: nowrap; font-variant-numeric: tabular-nums; }
.chip-card.sm { width: 8px; height: 11px; }
.m-open { width: 9px; height: 9px; border-right: 2px solid var(--dim); border-bottom: 2px solid var(--dim);
  transform: rotate(45deg); margin-top: -4px; transition: transform .15s ease; }
.match[open] .m-open { transform: rotate(-135deg); margin-top: 4px; }
.m-body { padding: 4px 16px 16px; background: rgba(0,0,0,.12); }
.m-inner { max-width: 640px; margin: 0 auto; }
.m-cols { display: grid; grid-template-columns: 1fr 1.5fr 1fr; font-weight: 700; font-size: .9rem; padding: 10px 0 4px; }
.m-cols span:last-child { text-align: right; }
.stats { border-top: 1px solid var(--line); padding-top: 6px; }
.srow { display: grid; grid-template-columns: 1fr 1.5fr 1fr; align-items: center; padding: 5px 0; font-size: .92rem;
  font-variant-numeric: tabular-nums; }
.srow span:first-child { text-align: left; font-weight: 650; }
.srow span:last-child { text-align: right; font-weight: 650; }
.srow span:last-child .form { justify-content: flex-end; }
.slabel { text-align: center; color: var(--muted); font-size: .8rem; }
.fx-head { display: flex; justify-content: space-between; gap: 10px; font-size: .85rem; color: var(--muted); flex-wrap: wrap; }
.fx-teams { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: center; margin: 10px 0 12px;
  font-weight: 750; font-size: 1.05rem; }
.fx-teams span:last-child { text-align: right; }
.fx-foot { padding-top: 10px; border-top: 1px solid var(--line); font-size: .85rem; display: grid; gap: 4px; }
.form { display: inline-flex; gap: 2px; vertical-align: middle; }
.f { min-width: 17px; height: 17px; padding: 0 3px; border-radius: 4px; display: inline-grid; place-items: center;
  font-size: .64rem; font-weight: 800; color: #04140A; line-height: 1; }
.f-W { background: var(--green); } .f-D { background: #A7B4C6; } .f-L { background: var(--red); color: #2A0A0A; }
[hidden] { display: none !important; }

/* Estonian football */
.est { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 16px; }
.est .links { margin-top: 10px; display: flex; gap: 16px; flex-wrap: wrap; }
.est .m-chips { display: none; }
.est .match-list .match summary { grid-template-columns: 104px minmax(0, 1fr) 18px; }
@media (max-width: 820px) { .est { grid-template-columns: minmax(0, 1fr); } }
.mini td, .mini th { padding: 8px 12px; }

/* facts */
.facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.fact { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px;
  box-shadow: var(--shadow); border-top: 3px solid var(--blue); }
.fact.cat-cards { border-top-color: var(--yellow); }
.fact.cat-goals { border-top-color: var(--green); }
.fact-num { font-size: 2.3rem; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.fact-unit { color: var(--muted); font-weight: 600; margin: 4px 0 12px; }
.fact p { font-size: .95rem; }
.fact-meta { color: var(--dim); font-size: .82rem; }
.fact-feature { display: grid; grid-template-columns: 1fr minmax(180px, 230px); gap: 28px; align-items: center;
  background: radial-gradient(80% 120% at 100% 0%, rgba(52,210,113,.10), transparent 60%), var(--panel);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.fact-feature.no-visual { grid-template-columns: 1fr; }
.kicker { display: inline-block; background: var(--green); color: #04140A; font-weight: 800; font-size: .74rem;
  letter-spacing: .06em; text-transform: uppercase; border-radius: 999px; padding: 4px 12px; }
.ff-where { color: var(--muted); margin: 12px 0 4px; font-weight: 600; }
.ff-num { font-size: clamp(3rem, 8vw, 5rem); font-weight: 850; line-height: 1; letter-spacing: -.04em;
  background: linear-gradient(180deg, #FFFFFF, #B9C7DB); -webkit-background-clip: text; background-clip: text;
  color: transparent; }
.ff-num.cat-cards { background-image: linear-gradient(180deg, #FFE27A, var(--yellow)); }
.ff-num.cat-goals { background-image: linear-gradient(180deg, #8EF0B4, var(--green)); }
.ff-unit { font-size: 1.12rem; font-weight: 700; margin: 6px 0 10px; }
.ff-sentence { font-size: 1.05rem; color: #D3DEEE; max-width: 640px; }
.ff-video { margin: 0; }
.ff-video video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 12px; background: #000; display: block; }
.ff-video figcaption { color: var(--muted); font-size: .8rem; margin-top: 8px; line-height: 1.4; }
.ff-frame { position: relative; }
/* full screen: the whole 9:16 clip, never cropped to the screen's shape */
.ff-video video:fullscreen { object-fit: contain; border-radius: 0; }
.ff-video video:-webkit-full-screen { object-fit: contain; border-radius: 0; }
.unmute { position: absolute; left: 10px; top: 10px; border: 0; border-radius: 999px; padding: 7px 12px;
  background: rgba(10, 20, 36, .82); color: #fff; font: inherit; font-size: .85rem; font-weight: 700; cursor: pointer; }
.unmute:hover { background: rgba(10, 20, 36, .95); }
.ff-video figcaption b { color: var(--text); }
.ff-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 12px; margin-top: 14px; }
.ff-cards img, .gallery img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 10px;
  border: 1px solid var(--line); display: block; }
.ff-cards a:hover img, .gallery a:hover img { border-color: var(--green); }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.gallery figure { margin: 0; }
.gallery figcaption { color: var(--muted); font-size: .8rem; margin-top: 6px; }

/* tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel);
  box-shadow: var(--shadow); }
table.data { width: 100%; border-collapse: collapse; font-size: .92rem; font-variant-numeric: tabular-nums; }
.data th { text-align: left; color: var(--muted); font-weight: 600; font-size: .78rem; text-transform: uppercase;
  letter-spacing: .04em; padding: 12px 14px; border-bottom: 1px solid var(--line-2); white-space: nowrap;
  background: var(--panel); }
.data td { padding: 10px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.data .n { text-align: right; }
.data tr:last-child td { border-bottom: 0; }
.data tbody tr:hover td { background: rgba(255,255,255,.025); }
.data td a { color: var(--text); font-weight: 600; }
.sticky-first th:first-child, .sticky-first td:first-child { position: sticky; left: 0; background: var(--panel); z-index: 1; }
.standings td:nth-child(2), .standings th:nth-child(2) { position: sticky; left: 0; background: var(--panel); z-index: 1;
  width: 100%; }
.standings td:first-child { color: var(--muted); width: 1%; }
.table-wrap.flat { box-shadow: none; background: transparent; border: 0; }
.periods td, .periods th { text-align: center; }
.periods td:first-child, .periods th:first-child { text-align: left; }
.dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 18px; margin: 0; }
.dl dt { color: var(--muted); }
.dl dd { margin: 0; }
.dl dd p { margin: 4px 0 0; }
.sub { font-size: 1rem; color: var(--muted); font-weight: 650; margin: 18px 0 10px; }

/* season tabs (no script needed) */
.tabs > input { position: absolute; opacity: 0; pointer-events: none; }
.tabs > label { display: inline-block; padding: 8px 16px; border: 1px solid var(--line-2); cursor: pointer;
  font-weight: 650; font-size: .92rem; color: var(--muted); background: var(--panel); margin-bottom: 14px; }
.tabs > label:first-of-type { border-radius: 999px 0 0 999px; }
.tabs > label:last-of-type { border-radius: 0 999px 999px 0; margin-left: -1px; }
.tabs > input:checked + label { color: #04140A; background: var(--green); border-color: var(--green); }
.tabs > input:focus-visible + label { outline: 2px solid var(--green); outline-offset: 2px; }
.tabs > .tab { display: none; }
#season-current:checked ~ .tab-current, #season-last:checked ~ .tab-last { display: block; }

/* how it works */
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.steps-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.step { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.step-n { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  background: rgba(52,210,113,.14); color: var(--green); font-weight: 800; font-size: .85rem; margin-bottom: 8px; }
.step b { display: block; margin-bottom: 4px; }
.step p { color: var(--muted); font-size: .9rem; margin: 0; }

/* sports */
.sports { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.sport { display: flex; gap: 12px; align-items: flex-start; background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 14px; color: var(--text); box-shadow: var(--shadow); }
.sport:hover { text-decoration: none; border-color: var(--line-2); }
.sport img { border-radius: 12px; flex: none; }
.sport-name { font-weight: 750; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 2px; }
.sport p { font-size: .86rem; margin: 0; }
.sample { position: relative; border: 1px dashed var(--line-2); border-radius: var(--radius); padding: 22px; }
.sample-tag { position: absolute; top: -12px; left: 18px; background: var(--panel-2); color: var(--text); font-weight: 800;
  font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px;
  border: 1px solid var(--line-2); }
.score-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px;
  max-width: 760px; margin-bottom: 8px; }
.score { font-size: 1.6rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.climb { margin: 16px 0; border-left: 3px solid var(--green); }

/* plans */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.plan { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
  display: flex; flex-direction: column; box-shadow: var(--shadow); }
.plan-hi { border-color: rgba(52,210,113,.55); background: linear-gradient(180deg, rgba(52,210,113,.08), var(--panel) 40%); }
.plan h3 { font-size: 1.2rem; }
.price { font-size: 2.1rem; font-weight: 800; margin: 8px 0 12px; letter-spacing: -.02em; }
.price span { font-size: 1rem; color: var(--muted); font-weight: 500; }
.price .price-note { font-size: 1.05rem; color: var(--green); font-weight: 700; display: block; padding: 10px 0; }
.ticks { list-style: none; padding: 0; margin: 0 0 20px; flex: 1; }
.ticks li { padding: 6px 0 6px 28px; position: relative; color: #CFD9E8; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 12px; width: 12px; height: 7px;
  border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }

/* call to action band */
.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  background: linear-gradient(120deg, rgba(52,210,113,.12), rgba(90,169,255,.06)), var(--panel);
  border: 1px solid rgba(52,210,113,.35); border-radius: var(--radius); padding: 20px 22px; }
.cta-band h2 { font-size: 1.15rem; margin-bottom: 4px; }
.cta-band p { color: var(--muted); margin: 0; max-width: 640px; }
.cta-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }

/* roadmap */
.roadmap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.stage { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.stage h3 { font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted);
  display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.stage-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--dim); }
.stage-live .stage-dot { background: var(--green); box-shadow: 0 0 0 4px rgba(52,210,113,.15); }
.stage-testing .stage-dot { background: var(--yellow); }
.stage-next .stage-dot { background: var(--blue); }
.stage ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.stage li b { display: block; font-size: .98rem; }
.stage li span { color: var(--muted); font-size: .88rem; line-height: 1.45; display: block; }

/* faq and explainers */
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details, .explain { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 18px; }
.faq summary, .explain summary { cursor: pointer; padding: 14px 0; font-weight: 650; list-style: none; position: relative;
  padding-right: 28px; }
.faq summary::-webkit-details-marker, .explain summary::-webkit-details-marker { display: none; }
.faq summary::after, .explain summary::after { content: "+"; position: absolute; right: 0; top: 11px; font-size: 1.3rem;
  color: var(--muted); }
.faq details[open] summary::after, .explain[open] summary::after { content: "–"; }
.faq details p, .explain p { color: var(--muted); padding-bottom: 14px; margin: 0; }
.explain { margin-top: 12px; }

/* documents */
.doc { max-width: 760px; padding-top: 44px; }
.doc h1 { font-size: 2rem; margin: 18px 0 10px; }
.doc h2 { font-size: 1.15rem; margin: 24px 0 6px; }
.doc p { color: #C9D5E6; }

/* footer */
.foot { margin-top: 64px; border-top: 1px solid var(--line); padding: 34px 0 26px; background: var(--bg-2); }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 28px; margin-bottom: 18px; }
.foot-grid p { max-width: 400px; margin-top: 10px; }
.foot-links { display: grid; gap: 6px; align-content: start; }
.foot-links a { color: var(--muted); font-size: .92rem; }
.foot-links a:hover { color: var(--text); }

/* responsive */
@media (max-width: 1000px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .roadmap, .grid-4, .sports { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kpis-6 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 820px) {
  .bar { flex-wrap: wrap; height: auto; padding-top: 10px; gap: 8px 12px; }
  .logo { flex: 1; }
  .nav { order: 3; flex-basis: 100%; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 0 12px 8px; }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { white-space: nowrap; padding: 6px 10px; }
  .hide-sm { display: none; }
  .show-sm { display: inline; }
  .grid-2, .plans, .steps-3 { grid-template-columns: minmax(0, 1fr); }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > div:first-child { grid-column: 1 / -1; }
  .hero { padding: 28px 0 10px; }
  .fact-feature { grid-template-columns: minmax(0, 1fr); }
  .ff-video { max-width: 220px; }
  .toolbar { top: 98px; }
}
@media (max-width: 640px) {
  .opt { display: none; }
  .data td, .data th { padding: 9px 8px; }
  .match summary, .match-list .match summary { grid-template-columns: 50px minmax(0, 1fr) 14px; gap: 10px; }
  .match-list .match summary { grid-template-columns: 62px minmax(0, 1fr) 14px; }
  .m-chips { grid-column: 2 / 3; justify-content: flex-start; }
  .m-open { grid-row: 1; grid-column: 3; }
  .m-side .form { width: auto; }
}
@media (max-width: 560px) {
  .steps, .roadmap, .grid-4, .sports { grid-template-columns: minmax(0, 1fr); }
  .kpis-6 { grid-template-columns: repeat(2, 1fr); }
  .block-head h2 { font-size: 1.22rem; }
  .cta .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } .btn:hover { transform: none; } }
