/* МатчПрогноз landing — "stadium scoreboard": dark boards with amber digits, warm paper, turf and ice accents. */

@font-face { font-family: "Oswald"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/oswald-cyrillic-600-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Oswald"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/oswald-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Oswald"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/oswald-cyrillic-700-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Oswald"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/oswald-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/manrope-cyrillic-400-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/manrope-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/manrope-cyrillic-600-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/manrope-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/manrope-cyrillic-700-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/manrope-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --paper: #f2eee4;
  --paper-deep: #e7e1d3;
  --card: #fbf9f4;
  --ink: #16191d;
  --ink-soft: #4a4f57;
  --ink-muted: #6e727a;
  --line: #d8d1c1;
  --board: #1b1f24;
  --board-raised: #272c33;
  --board-line: #383e47;
  --on-board: #d6dadf;
  --on-board-muted: #a9afb7;
  --amber: #f2b33d;
  --turf: #0f5a3f;
  --turf-bright: #1a8a5e;
  --ice: #2b6f82;
  --ice-bright: #3e93aa;
  --signal: #d4402a;
  --display: "Oswald", "Arial Narrow", Arial, sans-serif;
  --text: "Manrope", "Segoe UI", Arial, sans-serif;
  --wrap: 1120px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-size: 17px;
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }

a:focus-visible,
.play:focus-visible,
.ghost:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }

h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.12; margin: 0 0 0.5em; letter-spacing: 0.01em; }

h2 { font-size: clamp(28px, 4vw, 44px); }

h3 { font-size: 22px; font-weight: 600; }

p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 10; background: var(--amber); color: var(--ink); padding: 10px 16px; font-weight: 700; }
.skip:focus { top: 12px; }

/* Kicker: small label above headings */
.kicker {
  font-family: var(--text);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 14px;
}
.kicker--dark { color: var(--turf); }

/* Top bar */
.bar { background: var(--board); color: #fff; border-bottom: 1px solid var(--board-line); }
.bar__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-family: var(--display); font-size: 24px; font-weight: 700; }
.brand img { border-radius: 8px; }
.bar__nav { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.bar__nav a { text-decoration: none; color: var(--on-board); font-weight: 600; font-size: 15px; padding: 10px 12px; border-radius: 6px; }
.bar__nav a:hover, .bar__nav a[aria-current="page"] { color: #fff; background: var(--board-raised); }

/* Store button */
.play {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 6px;
  background: var(--amber);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  border: 2px solid var(--amber);
}
.play::before { content: ""; width: 0; height: 0; border-left: 12px solid currentColor; border-top: 8px solid transparent; border-bottom: 8px solid transparent; }
.play:hover { filter: brightness(1.06); }
.play--soon { background: transparent; color: var(--amber); cursor: default; }
.play--soon:hover { filter: none; }

.ghost { display: inline-flex; align-items: center; min-height: 52px; padding: 0 20px; border-radius: 6px; border: 2px solid var(--board-line); color: #fff; text-decoration: none; font-weight: 600; }
.ghost:hover { border-color: var(--on-board-muted); }

/* Hero */
.hero { background: var(--board); color: #fff; overflow: hidden; position: relative; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 8px; background: linear-gradient(90deg, var(--turf-bright) 0 50%, var(--ice-bright) 50% 100%); }
.hero__in { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; padding-top: 64px; padding-bottom: 0; }
.hero h1 { font-size: clamp(38px, 6vw, 68px); margin-bottom: 22px; }
.hero h1 span { color: var(--amber); }
.hero__lead { color: var(--on-board); font-size: 19px; max-width: 34em; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 26px; }
.hero__text { padding-bottom: 64px; }

.facts { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--on-board-muted); font-size: 15px; }
.facts li { display: flex; align-items: center; gap: 8px; }
.facts li::before { content: ""; width: 8px; height: 8px; background: var(--amber); border-radius: 2px; }

.hero__visual { position: relative; align-self: end; display: flex; justify-content: center; }
.hero__shot { margin: 0; width: min(360px, 80%); }
.hero__shot .shot { border-radius: 26px 26px 0 0; border: 6px solid var(--board-raised); border-bottom: 0; }

.board {
  position: absolute;
  left: -24px;
  bottom: 120px;
  z-index: 2;
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  gap: 4px 14px;
  background: var(--board-raised);
  border: 1px solid var(--board-line);
  border-radius: 10px;
  padding: 14px 18px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}
.board__label { grid-column: 1 / -1; font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-board-muted); }
.board__score { display: flex; align-items: center; gap: 6px; font-family: var(--display); font-weight: 700; font-size: 40px; color: var(--amber); }
.board__score b { background: var(--board); border-radius: 6px; padding: 0 10px; line-height: 1.25; font-weight: 700; }
.board__score i { font-style: normal; color: #fff; font-size: 30px; }
.board__pts { font-family: var(--display); font-weight: 700; font-size: 30px; color: #7fd1a8; }

/* Sections */
.section { padding: 88px 0; }
.section--board { background: var(--board); color: #fff; }
.section--legends { background: var(--turf); color: #fff; }
.section--paper { background: var(--paper-deep); }
.section--doc { padding: 56px 0 88px; }

.shot { border-radius: 18px; box-shadow: 0 1px 0 var(--line); }

/* Timeline: a round told in match minutes */
.timeline { list-style: none; margin: 40px 0 0; padding: 0; border-left: 3px solid var(--ink); }
.timeline__item { position: relative; display: grid; grid-template-columns: 84px 1fr; gap: 24px; padding: 0 0 40px 0; }
.timeline__item--shot { grid-template-columns: 84px 1fr 240px; align-items: start; }
.minute {
  margin-left: -3px;
  background: var(--ink);
  color: var(--amber);
  font-family: var(--display);
  font-weight: 700;
  font-size: 26px;
  text-align: center;
  padding: 6px 0;
  border-radius: 0 6px 6px 0;
  height: fit-content;
}
.timeline__text { max-width: 30em; padding-top: 6px; }
.timeline__text p { color: var(--ink-soft); }
.timeline__shot { margin: 0; }
.timeline__shot .shot { border: 1px solid var(--line); }

/* Scoring board */
.scoring { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
.scoring__intro p { color: var(--on-board); }
.points { width: 100%; border-collapse: collapse; }
.points th { text-align: left; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-board-muted); padding: 0 0 12px; border-bottom: 1px solid var(--board-line); }
.points td { padding: 14px 0; border-bottom: 1px solid var(--board-line); vertical-align: top; }
.points td strong { display: block; font-size: 18px; }
.points td span { color: var(--on-board-muted); font-size: 15px; }
.points__n { width: 96px; font-family: var(--display); font-weight: 700; font-size: 34px; line-height: 1.1; color: var(--amber); }

/* Split blocks */
.split { display: grid; grid-template-columns: 1fr 340px; gap: 64px; align-items: center; }
.split--rev { grid-template-columns: 340px 1fr; }
.split__shot { margin: 0; }
.split__shot .shot { border: 1px solid var(--line); }

.formats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.format { background: var(--card); border: 1px solid var(--line); border-top: 6px solid var(--turf); border-radius: 8px; padding: 22px 22px 8px; }
.format--hockey { border-top-color: var(--ice); }
.format ul { margin: 0; padding: 0 0 0 18px; color: var(--ink-soft); font-size: 16px; }
.format li { margin-bottom: 10px; }

/* Legends */
.legends { display: grid; grid-template-columns: 1fr 560px; gap: 56px; align-items: center; }
.legends__text p { color: #d9eadf; }
.legends .kicker { color: var(--amber); }
.legends__list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(255, 255, 255, 0.18); border: 1px solid rgba(255, 255, 255, 0.18); }
.legends__list li { background: var(--turf); padding: 12px 14px; }
.legends__list strong { display: block; font-family: var(--display); font-weight: 600; font-size: 19px; }
.legends__list span { font-size: 14px; color: #bcd8c7; }
.legends__shots { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.legends__shots figure { margin: 0; }
.legends__shots figure:last-child { margin-top: 56px; }

/* Rows (progress) */
.rows { margin: 28px 0 0; }
.rows div { display: grid; grid-template-columns: 190px 1fr; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.rows dt { font-family: var(--display); font-weight: 600; font-size: 20px; }
.rows dd { margin: 0; color: var(--ink-soft); }

/* Honesty */
.honest { max-width: 820px; }
.honest ul { margin: 0 0 22px; padding: 0; list-style: none; }
.honest li { position: relative; padding: 0 0 14px 34px; }
.honest li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 18px; height: 3px; background: var(--signal); }

/* Final call */
.final { background: var(--board); color: #fff; text-align: center; padding: 80px 0; }
.final__in p { color: var(--on-board); }

/* Inner page title */
.title { background: var(--board); color: #fff; padding: 56px 0 48px; border-bottom: 8px solid var(--turf-bright); }
.title h1 { font-size: clamp(34px, 5vw, 54px); }
.title__kicker { font-weight: 700; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--amber); }
.title__lead { color: var(--on-board); max-width: 40em; margin: 0; }

/* Document pages */
.doc { display: grid; grid-template-columns: 260px 1fr; gap: 56px; align-items: start; }
.doc__index { position: sticky; top: 24px; background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 18px 18px 6px; font-size: 15px; }
.doc__index ol { margin: 0; padding-left: 20px; }
.doc__index li { margin-bottom: 10px; }
.doc__body { max-width: 46em; }
.doc__body section { padding-bottom: 12px; scroll-margin-top: 20px; }
.doc__body h2 { font-size: 28px; }
.doc__body ul { padding-left: 22px; }
.doc__body li { margin-bottom: 8px; }

.help { display: grid; gap: 56px; max-width: 860px; }
.help h2 { font-size: 32px; }
.steps { margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding: 0 0 18px 64px; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 6px; background: var(--board); color: var(--amber); font-family: var(--display); font-weight: 700; font-size: 22px; display: grid; place-items: center; }
.steps h3 { margin-bottom: 4px; }
.steps p { color: var(--ink-soft); }
.faq { margin: 0; }
.faq div { padding: 18px 0; border-top: 1px solid var(--line); }
.faq dt { font-weight: 700; font-size: 18px; margin-bottom: 6px; }
.faq dd { margin: 0; color: var(--ink-soft); }
.mail { font-family: var(--display); font-weight: 600; font-size: 28px; }

.log { max-width: 760px; }
.release { background: var(--card); border: 1px solid var(--line); border-left: 6px solid var(--amber); border-radius: 8px; padding: 24px 28px 12px; }
.release__v { font-weight: 700; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--turf); margin-bottom: 6px; }
.release ul { padding-left: 20px; }
.release li { margin-bottom: 8px; }

.lost p { font-size: 20px; }

/* Footer */
.foot { background: var(--board); color: var(--on-board); padding: 48px 0; border-top: 1px solid var(--board-line); font-size: 15px; }
.foot__in { display: grid; grid-template-columns: 1fr auto; gap: 18px 40px; }
.foot__brand { display: flex; gap: 14px; align-items: flex-start; }
.foot__brand img { border-radius: 8px; }
.foot__brand p { margin: 0; }
.foot__brand strong { color: #fff; font-family: var(--display); font-size: 20px; }
.foot__nav { display: flex; flex-wrap: wrap; gap: 6px 20px; align-content: flex-start; }
.foot__nav a { color: var(--on-board); }
.foot__nav a:hover { color: #fff; }
.foot__mail, .foot__note { grid-column: 1 / -1; margin: 0; }
.foot__mail a { color: var(--amber); }
.foot__note { color: var(--on-board-muted); }

/* Responsive */
@media (max-width: 1020px) {
  .legends { grid-template-columns: 1fr; }
  .legends__shots { max-width: 560px; }
  .scoring { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 900px) {
  .hero__in { grid-template-columns: 1fr; gap: 8px; padding-top: 44px; }
  .hero__text { padding-bottom: 8px; }
  .hero__visual { justify-content: center; }
  .board { left: 0; bottom: 64px; }
  .timeline__item--shot { grid-template-columns: 84px 1fr; }
  .timeline__shot { grid-column: 2; max-width: 280px; }
  .split, .split--rev { grid-template-columns: 1fr; gap: 32px; }
  .split__shot { max-width: 320px; }
  .split--rev .split__shot { order: 2; }
  .doc { grid-template-columns: 1fr; gap: 28px; }
  .doc__index { position: static; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .bar__in { min-height: 60px; }
  .brand { font-size: 20px; }
  .brand img { width: 30px; height: 30px; }
  .bar__nav a { padding: 8px 8px; font-size: 14px; }
  .bar__nav a[href^="#"] { display: none; }
  .section { padding: 64px 0; }
  .hero h1 { font-size: 38px; }
  .hero__lead { font-size: 17px; }
  .board__score { font-size: 32px; }
  .timeline__item, .timeline__item--shot { grid-template-columns: 60px 1fr; gap: 16px; }
  .minute { font-size: 20px; }
  .formats { grid-template-columns: 1fr; }
  .legends__list { grid-template-columns: 1fr; }
  .legends__shots figure:last-child { margin-top: 32px; }
  .rows div { grid-template-columns: 1fr; gap: 4px; }
  .points__n { width: 72px; font-size: 28px; }
  .foot__in { grid-template-columns: 1fr; }
  .mail { font-size: 22px; overflow-wrap: anywhere; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
