@font-face {
  font-family: "Russo One";
  src: url("fonts/russo-one-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Roboto";
  src: url("fonts/roboto-latin-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Roboto Condensed";
  src: url("fonts/roboto-condensed-latin-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {

  --color-bg: #020817;
  --color-surface: #0f172a;
  --color-surface-2: #1e293b;
  --color-surface-inset: #010511;
  --color-border: #243147;
  --color-border-strong: #3d4e66;

  --color-text: #f8fafc;
  --color-text-2: #cbd5e1;
  --color-text-muted: #94a3b8;
  --color-link: #ffb07a;

  --color-brand: #ff8d3f;
  --color-brand-strong: #e25d09;
  --color-brand-soft: #f1a620;
  --color-brand-logo: #f68c43;
  --color-brand-tint: rgba(255, 141, 63, 0.14);
  --color-on-brand: #0b1220;

  --color-ok: #22c55e;
  --color-info: #38bdf8;
  --color-danger: #ef4444;

  --rink-surface: #2459b8;
  --rink-boards: #ffffff;
  --rink-line: #dce6f7;
  --rink-mark: #ffd426;
  --rink-centre: #ff9cc8;
  --rink-crease: #1c478f;
  --rink-net: #e2373f;
  --rink-ball: #ff62ad;
  --rink-referee: #a9b4c8;
  --rink-accent: #ff8d3f;
  --rink-label: #ffffff;

  --seq-1: #3566c8;
  --seq-2: #5b8def;
  --seq-3: #8fb0f5;
  --seq-4: #c3d5fc;

  --font-display: "Russo One", "Roboto", "Arial Black", sans-serif;
  --font-body: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-condensed: "Roboto Condensed", "Roboto", "Arial Narrow", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --text-caption: 0.875rem;
  --text-sm: 1rem;
  --text-body: 1.125rem;
  --text-lead: 1.3125rem;
  --text-h3: 1.25rem;
  --text-h2: clamp(1.5rem, 1.1rem + 1.3vw, 2rem);
  --text-h1: clamp(1.875rem, 1.1rem + 3vw, 3.25rem);
  --text-stat: clamp(2rem, 1.5rem + 0.9vw, 2.375rem);
  --text-score: clamp(3.25rem, 1.5rem + 6.5vw, 6rem);

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;

  --radius-sm: 0.5rem;
  --radius-md: 0.625rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-pill: 999px;
  --shadow-1: 0 1px 2px rgb(0 0 0 / 0.36), 0 0 0 1px rgb(255 255 255 / 0.025);
  --shadow-2: 0 6px 14px -6px rgb(0 0 0 / 0.55), 0 0 0 1px rgb(255 255 255 / 0.035);
  --shadow-3: 0 18px 38px -16px rgb(0 0 0 / 0.7), 0 0 0 1px rgb(255 255 255 / 0.045);

  --page-max: 1360px;
  --shell-max: 1360px;
  --page-gutter: clamp(16px, 3.2vw, 48px);
  --header-h: 68px;

  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
body {
  margin: 0;
  min-width: 320px;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-wrap: break-word;
}
img,
video,
canvas {
  display: block;
  max-width: 100%;
}
h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-synthesis: none;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.14;
  text-wrap: balance;
}
h1 {
  font-size: var(--text-h1);
}
h2 {
  font-size: var(--text-h2);
}
h3 {
  font-size: var(--text-h3);
}
h4 {
  font-size: 1.0625rem;
}
p {
  margin: 0;
  text-wrap: pretty;
}
a {
  color: var(--color-link);
  text-underline-offset: 0.18em;
}
strong {
  font-weight: 700;
  color: var(--color-text);
}
:focus-visible {
  outline: 2px solid var(--color-brand);
  outline-offset: 2px;
}
[hidden] {
  display: none !important;
}

.page {
  display: block;
  min-height: 60vh;
}
.container {
  width: min(100% - 2 * var(--page-gutter), var(--page-max));
  margin-inline: auto;
}

#site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: var(--header-h);
}
#site-header[data-static] {
  position: static;
}
.site-header {
  background: rgba(2, 8, 23, 0.94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
}
.site-header__inner {
  display: flex;
  align-items: stretch;
  gap: var(--space-6);
  min-height: var(--header-h);
}
.site-header__inner.container,
.site-footer__inner.container {
  width: min(100% - 2 * var(--page-gutter), var(--shell-max));
}
.site-header__logo {
  display: flex;
  align-items: center;
  flex: none;
}
.site-header__logo img {
  width: auto;
  height: 26px;
}
.site-nav {
  display: flex;
  align-items: stretch;
  gap: var(--space-1);
}
.site-nav__link {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 var(--space-4);
  color: var(--color-text-2);
  font-size: 1.0625rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}
.site-nav__link:hover {
  color: var(--color-text);
}
.site-nav__link[aria-current="page"] {
  color: var(--color-text);
  font-weight: 700;
}
.site-nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: var(--space-3);
  right: var(--space-3);
  bottom: -1px;
  height: 4px;
  border-radius: 4px 4px 0 0;
  background: var(--color-brand);
}
.site-header__context {
  display: flex;
  align-items: center;
  margin-left: auto;
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  white-space: nowrap;
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(28px, 3.6vw, 52px);
  border-bottom: 1px solid var(--color-border);
}
.hero--compact {
  padding-block: clamp(24px, 3vw, 40px);
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero--image::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(0deg, rgba(2, 8, 23, 0.96) 0%, rgba(2, 8, 23, 0.2) 55%),
    linear-gradient(90deg, rgba(2, 8, 23, 0.95) 0%, rgba(2, 8, 23, 0.86) 48%, rgba(2, 8, 23, 0.7) 100%);
}
.hero__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, 1fr);
  gap: var(--space-6) var(--space-7);
  align-items: end;
}
.hero__title {
  font-size: var(--text-h1);
}
.hero__lead {
  max-width: 62ch;
  color: var(--color-text-2);
  font-size: var(--text-lead);
  line-height: 1.45;
}
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-4);
  color: var(--color-text-2);
  font-size: var(--text-body);
}
.hero__meta > *:not(:last-child)::after {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-left: var(--space-4);
  border-radius: 50%;
  background: var(--color-text-muted);
  vertical-align: 0.2em;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.hero--slim {
  padding-block: clamp(16px, 2vw, 26px);
}
.page-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--space-2) var(--space-6);
}
.page-head__title {
  font-size: var(--text-h2);
}
.page-head__lead {
  flex: 1 1 34ch;
  max-width: 72ch;
  color: var(--color-text-2);
  font-size: var(--text-body);
  line-height: 1.45;
}
.page-head__aside {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  align-self: center;
  gap: var(--space-2) var(--space-4);
  margin-left: auto;
}
.page-head__nav {
  display: flex;
  flex: 1 0 100%;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-2);
}

.section {
  padding-block: var(--space-7);
}
.section--tight {
  padding-block: var(--space-6);
}
.section + .section {
  padding-top: 0;
}
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-2) var(--space-5);
  margin-bottom: var(--space-5);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--color-border);
}
.section-head__aside {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}
.section__lead {
  max-width: 72ch;
  margin-bottom: var(--space-5);
  color: var(--color-text-2);
  font-size: var(--text-lead);
  line-height: 1.45;
}

.team-dot {
  display: inline-block;
  flex: none;
  width: 0.85em;
  height: 0.85em;
  border-radius: 50%;
  vertical-align: -0.06em;
  background: var(--color-text-muted);
}
.team-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-weight: 700;
  color: var(--color-text);
  white-space: nowrap;
}
.team-chip::before {
  content: "";
  flex: none;
  width: 0.8em;
  height: 0.8em;
  border-radius: 50%;
  background: var(--color-text-muted);
}

.jersey {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.2em;
  padding: 0.12em 0.4em;
  border-radius: 0.4em;
  font-family: var(--font-display);
  font-size: 0.9375em;
  line-height: 1.3;
  font-variant-numeric: tabular-nums;
  background: var(--color-surface-2);
  color: var(--color-text);
}

.scoreline {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: var(--space-4) clamp(16px, 3vw, 40px);
}
.scoreline__team {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.6em;
  min-width: 0;
  font-family: var(--font-display);
  font-size: clamp(1rem, 0.6rem + 1.5vw, 1.75rem);
  line-height: 1.15;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-align: right;
}
.scoreline__team--away {
  justify-content: flex-start;
  text-align: left;
}
.scoreline__name {
  min-width: 0;
  overflow-wrap: normal;
  text-wrap: balance;
}
.scoreline__score {
  display: flex;
  align-items: center;
  gap: 0.28em;
  font-family: var(--font-display);
  font-size: var(--text-score);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.scoreline__sep {
  color: var(--color-text-muted);
  font-size: 0.6em;
}
.scoreline__status {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
}
.scoreline--start {
  grid-template-columns: auto auto auto;
  justify-content: start;
}
.scoreline--compact {
  display: inline-grid;
  grid-template-columns: auto auto auto;
  gap: var(--space-3);
}
.scoreline--compact .scoreline__team {
  font-size: 1.0625rem;
}
.scoreline--compact .scoreline__score {
  font-size: 1.5rem;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: var(--space-4);
}
.stat {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding: var(--space-5);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
}
.stat__value {
  font-family: var(--font-display);
  font-size: var(--text-stat);
  line-height: 1;
  letter-spacing: 0.01em;
  font-variant-numeric: tabular-nums;
  color: var(--color-text);
  white-space: nowrap;
}
.stat__unit {
  margin-left: 0.18em;
  color: var(--color-text-2);
  font-size: 0.5em;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.stat__label {
  color: var(--color-text);
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.35;
}
.stat__note {
  color: var(--color-text-muted);
  font-size: var(--text-caption);
  line-height: 1.4;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr));
  gap: var(--space-5);
}
.card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  background: var(--color-surface);
  box-shadow: var(--shadow-1);
  color: inherit;
}
.card--link {
  text-decoration: none;
  transition: border-color 0.15s, transform 0.15s;
}
.card--link:hover {
  border-color: var(--color-brand);
}
.card--link:active {
  transform: scale(0.995);
}
.card__media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
  border-bottom: 1px solid var(--color-border);
}
.card__media img,
.card__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-5);
}
.card__title {
  font-size: 1.375rem;
}
.card__text {
  color: var(--color-text-2);
}
.card__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  margin-top: auto;
  padding-top: var(--space-2);
}
.panel {
  padding: var(--space-5);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
}
.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.0625rem;
  line-height: 1.4;
}
.table th,
.table td {
  padding: 0.8rem 1.1rem;
  text-align: left;
  vertical-align: middle;
  border-bottom: 1px solid var(--color-border);
}
.table thead th {
  border-bottom-color: var(--color-border-strong);
  background: rgba(30, 41, 59, 0.55);
  color: var(--color-text-2);
  font-size: var(--text-sm);
  font-weight: 500;
  white-space: nowrap;
}
.table tbody th {
  color: var(--color-text);
  font-weight: 500;
}
.table tbody tr:last-child > * {
  border-bottom: 0;
}
.table .num {
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.table td.is-strong {
  font-weight: 700;
  color: var(--color-text);
}
.table tr.is-total > * {
  border-top: 1px solid var(--color-border-strong);
  font-weight: 700;
}
.table--compact {
  font-size: var(--text-sm);
}
.table--compact th,
.table--compact td {
  padding: 0.5rem 0.8rem;
}
.table--zebra tbody tr:nth-child(even) > * {
  background: rgba(255, 255, 255, 0.025);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.22em 0.8em;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-pill);
  background: var(--color-surface-2);
  color: var(--color-text);
  font-size: var(--text-caption);
  font-weight: 600;
  line-height: 1.45;
  white-space: nowrap;
}
.pill--brand {
  border-color: rgba(255, 141, 63, 0.6);
  background: var(--color-brand-tint);
  color: #ffc49c;
}
.pill--ok {
  border-color: rgba(34, 197, 94, 0.55);
  background: rgba(34, 197, 94, 0.13);
  color: #86efac;
}
.pill--ok::before {
  content: "";
  width: 0.42em;
  height: 0.78em;
  margin: -0.18em 0.2em 0 0.12em;
  border: solid currentColor;
  border-width: 0 0.16em 0.16em 0;
  transform: rotate(45deg);
}
.pill--info {
  border-color: rgba(56, 189, 248, 0.55);
  background: rgba(56, 189, 248, 0.12);
  color: #bae6fd;
}
.pill--dev {
  border-style: dashed;
  border-color: var(--color-text-muted);
  background: transparent;
  color: var(--color-text-2);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  min-height: 46px;
  padding: 0.6rem 1.25rem;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  box-shadow: var(--shadow-1);
  color: var(--color-text);
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s, transform 0.15s;
}
.btn:hover {
  background: var(--color-surface-2);
}
.btn:active {
  transform: scale(0.97);
}
.btn--primary,
.btn--active,
.btn[aria-pressed="true"] {
  border-color: var(--color-brand-strong);
  background: linear-gradient(to left, var(--color-brand), var(--color-brand-strong));
  color: #fff;
  text-shadow: 0 1px 1px rgb(0 0 0 / 0.35), 0 0 8px rgb(0 0 0 / 0.25);
}
.btn--primary:hover,
.btn--active:hover,
.btn[aria-pressed="true"]:hover {
  background: linear-gradient(to left, #ffa25f, var(--color-brand));
}
.btn--ghost {
  background: transparent;
  box-shadow: none;
}
.btn--ghost:hover {
  border-color: var(--color-text);
  background: transparent;
}
.btn--small {
  min-height: 38px;
  padding: 0.4rem 0.9rem;
  font-size: 0.875rem;
}
.btn--large {
  min-height: 54px;
  padding: 0.8rem 1.6rem;
  font-size: 1.0625rem;
}
.btn[disabled],
.btn[aria-disabled="true"] {
  border-color: var(--color-border);
  background: var(--color-surface-2);
  box-shadow: none;
  color: var(--color-text-muted);
  text-shadow: none;
  cursor: not-allowed;
}
.btn__arrow {
  width: 0.5em;
  height: 0.5em;
  border: solid currentColor;
  border-width: 0.16em 0.16em 0 0;
  transform: rotate(45deg);
}
.btn-group {
  display: inline-flex;
  flex-wrap: wrap;
}
.btn-group > .btn {
  border-radius: 0;
  box-shadow: none;
}
.btn-group > .btn + .btn {
  margin-left: -1px;
}
.btn-group > .btn:first-child {
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}
.btn-group > .btn:last-child {
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.btn-group > .btn--active,
.btn-group > .btn[aria-pressed="true"] {
  position: relative;
  z-index: 1;
}

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  background: #000;
  box-shadow: var(--shadow-3);
}
.video-frame > video,
.video-frame > img,
.video-frame > canvas,
.video-frame > iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: contain;
}
.video-frame--cover > video,
.video-frame--cover > img {
  object-fit: cover;
}
.video-frame--portrait {
  aspect-ratio: 9 / 16;
  max-height: 82vh;
  margin-inline: auto;
}
.video-frame--free {
  aspect-ratio: auto;
}
.video-frame--free > video,
.video-frame--free > img,
.video-frame--free > canvas {
  position: static;
  height: auto;
}
.video-frame__badge {
  position: absolute;
  top: var(--space-3);
  left: var(--space-3);
  z-index: 2;
}
.video-frame__badge.pill {
  background-color: rgba(2, 8, 23, 0.88);
}
.figure {
  margin: 0;
}
.figure figcaption {
  margin-top: var(--space-3);
  color: var(--color-text-2);
  font-size: var(--text-sm);
  line-height: 1.45;
}

.stage {
  display: grid;
  grid-template-columns: minmax(0, 2.55fr) minmax(280px, 1fr);
  gap: var(--space-5);
  align-items: stretch;
}
.stage__main {
  min-width: 0;
  margin: 0;
}
.stage__side {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  min-width: 0;
}

.thumb-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(176px, 1fr));
  gap: var(--space-4);
}
.thumb {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  border-radius: var(--radius-md);
  color: inherit;
  text-decoration: none;
}
.thumb__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  margin-bottom: var(--space-2);
  overflow: hidden;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface-inset);
}
.thumb__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.thumb__label {
  font-size: var(--text-sm);
  font-weight: 700;
  line-height: 1.3;
}
.thumb__sub {
  color: var(--color-text-muted);
  font-size: var(--text-caption);
  line-height: 1.35;
}
.thumb:hover .thumb__media {
  border-color: var(--color-border-strong);
}
.thumb.is-current .thumb__media {
  border-color: var(--color-brand);
}
.thumb.is-current .thumb__media[data-badge]::after {
  content: attr(data-badge);
  position: absolute;
  left: var(--space-2);
  bottom: var(--space-2);
  padding: 0.1em 0.6em;
  border-radius: var(--radius-pill);
  background: var(--color-brand);
  color: var(--color-on-brand);
  font-size: var(--text-caption);
  font-weight: 700;
}
.thumb.is-current .thumb__label {
  color: var(--color-link);
}

.steps {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: var(--space-4);
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.step {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding: var(--space-5) var(--space-4);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  counter-increment: step;
}
.step::before {
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  margin-bottom: var(--space-2);
  border-radius: 50%;
  background: var(--color-brand-tint);
  box-shadow: inset 0 0 0 1px rgba(255, 141, 63, 0.6);
  color: #ffc49c;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  line-height: 1;
}
.step__title {
  font-size: 1.0625rem;
}
.step__text {
  color: var(--color-text-2);
  font-size: var(--text-sm);
  line-height: 1.45;
}

.note {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--space-2) var(--space-4);
  padding: var(--space-4) var(--space-5);
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-info);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  color: var(--color-text-2);
}
.note--dev {
  border-left-color: var(--color-text-muted);
}
.note--ok {
  border-left-color: var(--color-ok);
}
.note > p {
  flex: 1 1 28ch;
}

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-5);
  color: var(--color-text-2);
  font-size: var(--text-sm);
}
.legend__item {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}
.swatch {
  flex: none;
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 3px;
  background: var(--swatch, currentColor);
}
.swatch--dot {
  border-radius: 50%;
}
.swatch--ring {
  width: 1.5rem;
  height: 0.8rem;
  border: 3px solid var(--swatch, currentColor);
  border-radius: 50%;
  background: none;
  box-shadow: 0 0 0 1.5px var(--swatch-edge, transparent);
}

.stack {
  display: flex;
  flex-direction: column;
  gap: var(--gap, var(--space-4));
}
.cluster {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--gap, var(--space-3));
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gap, var(--space-5));
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap, var(--space-5));
}
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: var(--gap, var(--space-6));
  align-items: start;
}

.lead {
  color: var(--color-text-2);
  font-size: var(--text-lead);
  line-height: 1.45;
}
.muted {
  color: var(--color-text-muted);
}
.num {
  font-variant-numeric: tabular-nums;
}
.nowrap {
  white-space: nowrap;
}
.text-center {
  text-align: center;
}
.mt-0 {
  margin-top: 0;
}
.mt-4 {
  margin-top: var(--space-4);
}
.mt-5 {
  margin-top: var(--space-5);
}
.mt-6 {
  margin-top: var(--space-6);
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.site-footer {
  margin-top: var(--space-7);
  padding-block: var(--space-6) var(--space-7);
  border-top: 1px solid var(--color-border);
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}
.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4) var(--space-7);
}
.site-footer__brand {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3) var(--space-5);
}
.site-footer__brand img {
  width: auto;
  height: 22px;
}
.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-5);
}
.site-footer__nav a {
  color: var(--color-text-2);
  text-decoration: none;
}
.site-footer__nav a:hover,
.site-footer__nav a[aria-current="page"] {
  color: var(--color-text);
}

@media (max-width: 1340px) {
  .table--compact {
    font-size: 0.9375rem;
  }
  .table--compact th,
  .table--compact td {
    padding-inline: 0.6rem;
  }
}
@media (max-width: 1180px) {
  .site-header__context {
    display: none;
  }
  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 1100px) {
  .stage {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 960px) {
  .hero__grid,
  .split {
    grid-template-columns: minmax(0, 1fr);
  }
  .card-grid,
  .grid-3 {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 760px) {
  :root {
    --header-h: 104px;
    --text-body: 1.0625rem;
    --text-lead: 1.1875rem;
  }
  .site-header__inner {
    flex-wrap: wrap;
    gap: 0;
  }
  .site-header__logo {
    width: 100%;
    height: 52px;
  }
  .site-header__logo img {
    height: 22px;
  }
  .site-nav {
    display: grid;
    grid-template-columns: repeat(4, auto);
    justify-content: space-between;
    width: 100%;
    height: 52px;
    gap: 0;
  }
  .site-nav__link {
    justify-content: center;
    padding: 0 var(--space-2);
    font-size: 1rem;
  }
  .site-nav__link[aria-current="page"]::after {
    left: 0;
    right: 0;
  }
  .grid-2 {
    grid-template-columns: minmax(0, 1fr);
  }
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .thumb-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-3);
  }
  .section {
    padding-block: var(--space-6);
  }
  .table {
    font-size: var(--text-sm);
  }
  .table th,
  .table td {
    padding: 0.6rem 0.6rem;
  }
  .table thead th {
    white-space: normal;
  }
  .table .team-chip {
    white-space: normal;
  }
  .hero__meta > *:not(:last-child)::after {
    display: none;
  }
  .hero__meta {
    flex-direction: column;
    gap: var(--space-1);
  }
}
@media (max-width: 480px) {
  .steps {
    grid-template-columns: minmax(0, 1fr);
  }
  .stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-3);
  }
  .stat {
    padding: var(--space-4);
  }
  .btn {
    white-space: normal;
    text-align: center;
  }
  .hero__actions .btn {
    flex: 1 1 auto;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
