@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/montserrat-latin-ext.woff2") format("woff2");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/montserrat-latin.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 {
  --ink: #0b1612;
  --ink-soft: #3d4a44;
  --paper: #f4f6f1;
  --white: #ffffff;
  --line: #d9dfd9;
  --line-dark: #263c34;
  --accent: #0d8b61;
  --accent-text: #0a6b4c;
  --accent-bright: #45e6aa;
  --accent-pale: #dff7ec;
  --dark: #091b15;
  --dark-2: #102b22;
  --danger: #c74747;
  --gold: #d5a521;
  --blue: #2868bc;
  --radius: 10px;
  --shadow: 0 4px 12px rgba(11, 22, 18, 0.1);
  --container: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.modal-open,
body.menu-open {
  overflow: hidden;
}

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

svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  line-height: 1.08;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.section {
  padding: 112px 0;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 10px 14px;
  color: var(--white);
  background: var(--dark);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid var(--accent-bright);
  outline-offset: 3px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition:
    background-color 0.18s ease,
    color 0.18s ease,
    border-color 0.18s ease;
}

.button--small {
  min-height: 40px;
  padding-inline: 16px;
  font-size: 0.78rem;
}

.button--accent {
  color: #06140f;
  background: var(--accent-bright);
  border-color: var(--accent-bright);
}

.button--accent:hover {
  background: #78f0c4;
  border-color: #78f0c4;
}

.button--dark {
  color: var(--white);
  background: var(--dark);
}

.button--outline {
  color: var(--ink);
  background: transparent;
  border-color: #9da9a2;
}

.button--outline:hover {
  border-color: var(--ink);
  background: var(--white);
}

.button--full {
  width: 100%;
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--white);
  transition:
    background-color 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.site-header.is-scrolled {
  color: var(--ink);
  background: var(--paper);
  border-color: var(--line);
  box-shadow: 0 4px 12px rgba(11, 22, 18, 0.08);
}

.header__inner {
  display: flex;
  min-height: 76px;
  align-items: center;
  gap: 32px;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand__mark {
  display: inline-grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--accent-bright);
  border-radius: 5px 5px 12px 5px;
  color: var(--accent-bright);
  font-size: 0.76rem;
  letter-spacing: -0.04em;
}

.brand__name {
  font-size: 0.9rem;
  letter-spacing: -0.045em;
}

.brand__name span {
  color: var(--accent-bright);
}

.site-header.is-scrolled .brand__name span {
  color: var(--accent-text);
}

.site-header.is-scrolled .brand__mark {
  color: var(--accent-text);
  border-color: var(--accent);
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-left: auto;
}

.primary-nav a {
  position: relative;
  font-size: 0.76rem;
  font-weight: 600;
}

.primary-nav a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  background: var(--accent-bright);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.primary-nav a:hover::after {
  transform: scaleX(1);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header__lang-wrap {
  display: flex;
  align-items: center;

  font-size: 0.68rem;
  font-weight: 700;
}

.lang-current {
  color: var(--accent-bright);
  order: 1;
}

.lang-alt {
  order: 3;
}

.header__lang-wrap::after {
  content: "/";
  order: 2;
  display: block;
}

.site-header.is-scrolled .lang-current,
body.page-inner .lang-current {
  color: var(--accent-text);
}

.site-header.is-scrolled .lang-alt,
body.page-inner .lang-alt {
  color: #4f5c56;
}

.header__lang-wrap a {
  display: inline-flex;
  min-width: 34px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.lang-alt {
  color: #c5d4ce;
}

.lang-alt:hover,
.lang-alt:focus-visible {
  color: var(--white);
}

.site-header.is-scrolled .lang-alt:hover,
.site-header.is-scrolled .lang-alt:focus-visible,
body.page-inner .lang-alt:hover,
body.page-inner .lang-alt:focus-visible {
  color: var(--ink);
}

.lang-pending {
  opacity: 0.42;
  cursor: help;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.hero {
  position: relative;
  min-height: 780px;
  overflow: hidden;
  color: var(--white);
  background: var(--dark);
}

.hero::before {
  position: absolute;
  top: -220px;
  right: -140px;
  width: 620px;
  height: 620px;
  border: 1px solid rgba(69, 230, 170, 0.16);
  border-radius: 50%;
  box-shadow:
    0 0 0 90px rgba(69, 230, 170, 0.025),
    0 0 0 180px rgba(69, 230, 170, 0.018);
  content: "";
}

.hero::after {
  position: absolute;
  bottom: -210px;
  left: -180px;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(69, 230, 170, 0.12);
  border-radius: 50%;
  content: "";
}

.hero__grid {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  pointer-events: none;
}

.hero__grid::before,
.hero__grid::after {
  position: absolute;
  content: "";
}

.hero__grid::before {
  top: 0;
  bottom: 0;
  left: 51%;
  border-left: 1px solid #3d6a59;
}

.hero__grid::after {
  top: 65%;
  right: 0;
  left: 0;
  border-top: 1px solid #3d6a59;
}

.hero__layout {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: 780px;
  align-items: center;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  padding-top: 110px;
  padding-bottom: 62px;
}

/* @mike 12.08: dropped uppercase kickers, they looked like every other SaaS template */
.eyebrow,
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 27px;
  color: #b5cec4;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.hero h1 {
  max-width: 660px;
  margin-bottom: 24px;
  font-size: clamp(3rem, 5.3vw, 5.7rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.hero h1 span {
  color: var(--accent-bright);
}

.hero__lead {
  max-width: 590px;
  margin-bottom: 31px;
  color: #b8cbc3;
  font-size: 1.04rem;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 26px;
}

.text-link {
  padding-bottom: 3px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  font-size: 0.84rem;
  font-weight: 700;
}

.text-link span {
  display: inline-block;
  margin-left: 5px;
  color: var(--accent-bright);
  transition: transform 0.2s ease;
}

.text-link:hover span {
  transform: translate(3px, -3px);
}

.hero__trust {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 42px;
  color: #8ca69c;
  font-size: 0.65rem;
  text-transform: uppercase;
}

.hero__trust span {
  padding-right: 22px;
  border-right: 1px solid #29463b;
}

.hero__trust span:last-child {
  padding-right: 0;
  border-right: 0;
}

.hero__trust strong {
  margin-right: 4px;
  color: var(--white);
  font-size: 0.8rem;
}

.hero-console {
  position: relative;
  min-width: 0;
  border: 1px solid #315449;
  border-radius: 12px;
  background: #0b241c;
  box-shadow: 24px 30px 0 rgba(3, 13, 10, 0.28);
  transform: perspective(1200px) rotateY(-3deg);
}

.console__bar {
  display: flex;
  min-height: 50px;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  border-bottom: 1px solid #29473c;
  color: #9ab3aa;
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
}

.console__live {
  color: #9ab3aa;
}

.console__visual {
  position: relative;
}

.console__visual > img {
  width: 100%;
  height: auto;
  border-radius: 0 0 12px 12px;
}

.console__metric {
  position: absolute;
  display: grid;
  width: 102px;
  padding: 11px;
  border: 1px solid rgba(113, 240, 195, 0.32);
  border-radius: 7px;
  background: rgba(7, 23, 19, 0.88);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.2);
}

.console__metric span,
.console__player small {
  color: #77998c;
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.console__metric strong {
  margin: 2px 0;
  color: var(--white);
  font-size: 1.42rem;
  line-height: 1.1;
}

.console__metric small {
  color: var(--accent-bright);
  font-size: 0.55rem;
}

.console__metric--press {
  top: 16%;
  left: -22px;
}

.console__metric--form {
  top: 29%;
  right: -22px;
}

.console__player {
  position: absolute;
  right: 22px;
  bottom: 22px;
  left: 22px;
  display: grid;
  min-height: 64px;
  align-items: center;
  padding: 8px 12px;
  border: 1px solid rgba(113, 240, 195, 0.25);
  border-radius: 7px;
  background: rgba(7, 23, 19, 0.9);
  grid-template-columns: 46px 1fr auto;
  gap: 11px;
}

.console__player strong {
  display: block;
  font-size: 0.82rem;
}

.player-number {
  color: var(--accent-bright);
  font-size: 1.45rem;
  font-weight: 800;
}

.rating-chip {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 5px;
  color: var(--dark);
  background: var(--accent-bright);
  font-weight: 800;
}

.score-ticker {
  overflow: hidden;
  color: var(--white);
  background: var(--accent-text);
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 30s linear infinite;
}

.score-ticker:hover .ticker-track {
  animation-play-state: paused;
}

.ticker-item {
  display: flex;
  min-height: 48px;
  align-items: center;
  padding: 0 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 0.7rem;
  gap: 7px;
  white-space: nowrap;
}

.ticker-item span {
  color: #b9ffdf;
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

@keyframes ticker {
  to {
    transform: translateX(-50%);
  }
}

.section-index {
  display: block;
  margin-bottom: 15px;
  color: var(--accent-text);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 50px;
}

.section-heading h2,
.ratings-copy h2,
.newsletter h2,
.modal__dialog h2 {
  margin-bottom: 20px;
  font-size: clamp(2.25rem, 4vw, 4.4rem);
  letter-spacing: -0.02em;
}

.section-heading > p,
.section-heading--split > p {
  color: var(--ink-soft);
}

.section-heading--split {
  display: grid;
  max-width: none;
  align-items: end;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 72px;
}

.section-heading--split h2 {
  margin-bottom: 0;
}

.section-heading--split p {
  margin: 0;
}

.section-heading--center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature-card {
  /* min-height: 280px; */
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: border-color 0.18s ease;
}

.feature-card:hover {
  border-color: #90a49a;
}

.feature-card--dark {
  color: var(--white);
  background: var(--dark);
  border-color: var(--dark);
}

.feature-card h3 {
  margin-bottom: 12px;
  font-size: 1.28rem;
}

.feature-card p {
  color: var(--ink-soft);
  font-size: 0.86rem;
}

.feature-card--dark p {
  color: #9cb5ab;
}

.feature-card a {
  display: inline-block;
  margin-top: 10px;
  padding-bottom: 2px;
  border-bottom: 1px solid;
  color: var(--accent-text);
  font-size: 0.74rem;
  font-weight: 700;
}

.feature-card--dark a {
  color: var(--accent-bright);
}

.clubs-section {
  border-top: 1px solid var(--line);
  background: #eef1eb;
}

.club-showcase {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
  gap: 18px;
}

.club-card {
  display: flex;
  /* min-height: 470px; */
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: border-color 0.18s ease;
}

.club-card:hover {
  border-color: #90a49a;
}

.club-card--featured {
  color: var(--white);
  background: var(--dark);
  border-color: var(--dark);
}

.club-card__top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  margin-bottom: 48px;
}

.club-card__top img {
  width: 76px;
  height: 76px;
}

.club-tag {
  padding: 5px 8px;
  border: 1px solid var(--line);
  border-radius: 3px;
  color: var(--ink-soft);
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.club-card--featured .club-tag {
  color: #acd0c1;
  border-color: #345448;
}

.club-card__year {
  margin-bottom: 8px;
  color: var(--accent-text);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.club-card--featured .club-card__year {
  color: var(--accent-bright);
}

.club-card h3 {
  margin-bottom: 14px;
  font-size: 1.8rem;
  letter-spacing: -0.04em;
}

.club-card__body > p:last-child {
  color: var(--ink-soft);
  font-size: 0.84rem;
}

.club-card--featured .club-card__body > p:last-child {
  color: #a9beb5;
}

.club-card__result {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding-top: 21px;
  border-top: 1px solid var(--line);
}

.club-card--featured .club-card__result {
  border-color: #2b473c;
}

.club-card__result span {
  max-width: 120px;
  color: #4f5c56;
  font-size: 0.6rem;
  line-height: 1.4;
  text-transform: uppercase;
}

.club-card--featured .club-card__result span {
  color: #c5d4ce;
}

.club-card__result strong {
  color: var(--accent-text);
  font-size: 0.8rem;
  text-align: right;
}

.club-card--featured .club-card__result strong {
  color: var(--accent-bright);
}

.data-note {
  margin: 24px 0 0;
  color: #4f5c56;
  font-size: 0.63rem;
}

.ratings-section {
  color: var(--white);
  background: var(--dark);
}

.ratings-layout {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 60px;
}

.ratings-copy {
  position: sticky;
  top: 120px;
  align-self: start;
}

.ratings-copy .section-index {
  color: var(--accent-bright);
}

.ratings-copy p {
  color: #9eb4ab;
}

.rating-scale {
  display: grid;
  align-items: center;
  margin: 34px 0;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  color: #8ca69b;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
}

.rating-scale__bar {
  height: 4px;
  background: #27473a;
}

.rating-scale__bar i {
  display: block;
  width: 84%;
  height: 100%;
  background: var(--accent-bright);
}

.rating-scale strong {
  color: var(--accent-bright);
}

.ratings-copy .button--outline {
  color: var(--white);
  border-color: #446457;
}

.ratings-copy .button--outline:hover {
  color: var(--ink);
}

.rating-list {
  border-top: 1px solid var(--line-dark);
}

.rating-row {
  display: grid;
  min-height: 146px;
  align-items: center;
  padding: 22px 12px;
  border-bottom: 1px solid var(--line-dark);
  grid-template-columns: 1fr 64px 110px;
  gap: 18px;
  transition:
    background-color 0.2s ease,
    padding 0.2s ease;
}

.rating-row:hover {
  padding-right: 20px;
  padding-left: 20px;
  background: #102920;
}

.rating-rank {
  color: #b8cbc3;
  font-size: 0.66rem;
  font-weight: 700;
}

.rating-avatar {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: #184c3a;
  font-size: 0.76rem;
  font-weight: 800;
}

.rating-avatar--blue {
  background: #1b477d;
}

.rating-avatar--gold {
  color: #241b04;
  background: #b88b20;
}

.rating-player h3 {
  margin: 0 0 5px;
  font-size: 1.05rem;
}

.rating-player p {
  margin: 0;
  color: #718d82;
  font-size: 0.68rem;
}

.rating-shift {
  font-size: 0.78rem;
  font-weight: 800;
}

.rating-shift--up {
  color: var(--accent-bright);
}

.rating-shift--down {
  color: #ff8585;
}

.rating-score {
  display: flex;
  align-items: baseline;
  justify-content: end;
  gap: 12px;
}

.rating-score span {
  color: #587166;
  font-size: 0.8rem;
  text-decoration: line-through;
}

.rating-score strong {
  font-size: 2.2rem;
  line-height: 1;
}

.data-note--light {
  color: #6f8d80;
}

.playbooks-section {
  background: var(--paper);
}

.playbook {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.formation-tabs {
  display: grid;
  border-bottom: 1px solid var(--line);
  grid-template-columns: repeat(3, 1fr);
}

.formation-tab {
  position: relative;
  min-height: 72px;
  border: 0;
  border-right: 1px solid var(--line);
  color: #4f5c56;
  background: #f8f9f6;
  font-weight: 800;
  cursor: pointer;
  transition:
    color 0.25s ease,
    background-color 0.25s ease;
}

.formation-tab:last-child {
  border-right: 0;
}

.formation-tab::after {
  position: absolute;
  right: 28%;
  bottom: 0;
  left: 28%;
  height: 3px;
  background: var(--accent);
  content: "";
  transform: scaleX(0);
  transition: transform 0.25s ease;
}

.formation-tab.is-active {
  color: var(--ink);
  background: var(--white);
}

.formation-tab.is-active::after {
  transform: scaleX(1);
}

.playbook__content {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
}

.pitch-wrap {
  padding: 24px;
  color: var(--white);
  background: var(--dark);
}

.pitch-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  color: #9db4aa;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.pitch-head span:last-child {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--accent-bright);
}

.pitch-head i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-bright);
}

.tactical-pitch {
  width: 100%;
  max-height: 590px;
}

.pitch-base {
  fill: #0f382a;
  stroke: #3a725e;
  stroke-width: 2;
}

.pitch-lines {
  fill: none;
  stroke: #7cb6a0;
  stroke-width: 2;
  opacity: 0.65;
}

.pitch-dot {
  fill: #7cb6a0;
}

.formation-player {
  fill: var(--accent-bright);
  stroke: #062018;
  stroke-width: 4;
  transition:
    cx 0.42s cubic-bezier(0.2, 0.8, 0.2, 1),
    cy 0.42s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.formation-label {
  fill: #06150f;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 13px;
  font-weight: 800;
  text-anchor: middle;
  pointer-events: none;
  transition:
    x 0.42s cubic-bezier(0.2, 0.8, 0.2, 1),
    y 0.42s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.route-line {
  fill: none;
  stroke: #c8ffeb;
  stroke-width: 3;
  stroke-dasharray: 7 8;
  opacity: 0.62;
  marker-end: url("#none");
  animation: routePulse 1.4s linear infinite;
}

@keyframes routePulse {
  to {
    stroke-dashoffset: -30;
  }
}

.pitch-legend {
  display: flex;
  gap: 20px;
  padding-top: 12px;
  color: #b8cbc3;
  font-size: 0.57rem;
  text-transform: uppercase;
}

.pitch-legend span {
  display: flex;
  align-items: center;
  gap: 7px;
}

.pitch-legend i {
  display: inline-block;
}

.legend-player {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent-bright);
}

.legend-route {
  width: 17px;
  border-top: 1px dashed #c8ffeb;
}

.formation-panels {
  display: flex;
  min-height: 100%;
}

.formation-panel {
  width: 100%;
  padding: 55px;
  animation: panelIn 0.38s ease both;
}

@keyframes panelIn {
  from {
    opacity: 0;
    transform: translateX(16px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.play-style {
  display: inline-block;
  margin-bottom: 17px;
  padding: 5px 8px;
  border: 1px solid #b8c5bf;
  border-radius: 3px;
  color: var(--accent-text);
  font-size: 0.57rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.formation-panel h3 {
  margin-bottom: 17px;
  font-size: clamp(2rem, 3vw, 3rem);
  letter-spacing: -0.055em;
}

.formation-intro {
  margin-bottom: 30px;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.tactic-points {
  border-top: 1px solid var(--line);
}

.tactic-points > div {
  display: grid;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  grid-template-columns: 145px 1fr;
  gap: 14px;
}

.tactic-points h4 {
  margin: 0;
  font-size: 0.76rem;
}

.tactic-points p {
  margin: 0;
  color: #64716b;
  font-size: 0.7rem;
}

.system-stats {
  display: grid;
  margin-top: 30px;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
}

.system-stats div {
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 5px;
}

.system-stats span {
  display: block;
  color: #4f5c56;
  font-size: 0.55rem;
  font-weight: 700;
  text-transform: uppercase;
}

.system-stats strong {
  font-size: 1.25rem;
}

.players-section {
  border-top: 1px solid var(--line);
}

.squad-section {
  border-top: 1px solid var(--line);
  background: #eef1eb;
}

.sim-section {
  background: var(--paper);
}

body.page-inner .site-header {
  color: var(--ink);
  background: rgba(244, 246, 241, 0.96);
  border-color: var(--line);
}

body.page-inner .brand__name span,
body.page-inner .lang-current {
  color: var(--accent-text);
}

body.page-inner .brand__mark {
  color: var(--accent-text);
  border-color: var(--accent);
}

body.page-inner main {
  padding-top: 76px;
}

.page-hero {
  padding: 72px 0 24px;
}

.page-hero h1 {
  margin-bottom: 16px;
  font-size: clamp(2.4rem, 4vw, 4.2rem);
  letter-spacing: -0.02em;
}

.page-hero p {
  max-width: 640px;
  color: var(--ink-soft);
}

.player-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.player-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: border-color 0.18s ease;
}

.player-card:hover {
  border-color: #90a49a;
}

.player-card__visual {
  position: relative;
  height: 270px;
  overflow: hidden;
  background: #d9e8df;
}

.player-card__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 12%;
}

.player-card__visual--two {
  background: #dce4ef;
}

.player-card__visual--three {
  background: #e4ddd0;
}

.player-card__visual--four {
  background: #d9dbe5;
}

.player-card__visual > span {
  position: absolute;
  z-index: 1;
  top: 16px;
  left: 18px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -0.08em;
  text-shadow: 0 8px 18px rgba(9, 27, 21, 0.55);
}

.player-card__visual > strong {
  position: absolute;
  z-index: 1;
  right: 14px;
  bottom: 14px;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 5px;
  color: var(--white);
  background: var(--dark);
  font-size: 0.9rem;
}

.player-silhouette {
  position: absolute;
  right: 12%;
  bottom: -55px;
  width: 76%;
  height: 260px;
  border: 3px solid rgba(11, 22, 18, 0.08);
  border-radius: 48% 48% 10% 10%;
  background: #4f7565;
}

.player-card__visual--two .player-silhouette {
  background: #526b91;
}

.player-card__visual--three .player-silhouette {
  background: #907950;
}

.player-card__visual--four .player-silhouette {
  background: #696d8d;
}

.player-silhouette::before {
  position: absolute;
  top: -67px;
  left: 50%;
  width: 104px;
  height: 112px;
  border-radius: 48% 48% 44% 44%;
  background: inherit;
  content: "";
  transform: translateX(-50%);
}

.player-silhouette::after {
  position: absolute;
  top: 45px;
  left: 50%;
  color: rgba(255, 255, 255, 0.75);
  content: "BG";
  font-size: 1.1rem;
  font-weight: 800;
  transform: translateX(-50%);
}

.player-card__body {
  padding: 21px;
}

.player-card__body small {
  color: var(--accent-text);
  font-size: 0.58rem;
  font-weight: 700;
  text-transform: uppercase;
}

.player-card__body h3 {
  margin: 7px 0 17px;
  font-size: 1rem;
}

.player-traits {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.player-traits span {
  padding: 4px 7px;
  border: 1px solid var(--line);
  border-radius: 3px;
  color: #66746d;
  font-size: 0.54rem;
  text-transform: uppercase;
}

.process-section {
  color: var(--white);
  background: var(--dark-2);
}

.process-section .section-index {
  color: var(--accent-bright);
}

.process-grid {
  display: grid;
  border-top: 1px solid #365449;
  border-bottom: 1px solid #365449;
  grid-template-columns: repeat(3, 1fr);
}

.process-grid article {
  min-height: 200px;
  padding: 34px;
  border-right: 1px solid #365449;
}

.process-grid article:last-child {
  border-right: 0;
}

.process-grid h3 {
  margin-bottom: 10px;
  font-size: 1.3rem;
}

.process-grid p {
  margin: 0;
  color: #97afa5;
  font-size: 0.8rem;
}

.plans-grid {
  display: grid;
  max-width: 1040px;
  margin: 0 auto;
  align-items: stretch;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.plan-card {
  position: relative;
  display: flex;
  min-height: 485px;
  flex-direction: column;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.plan-card--featured {
  color: var(--white);
  background: var(--dark);
  border-color: var(--dark);
  transform: translateY(-12px);
}

.plan-badge {
  position: absolute;
  top: 0;
  right: 20px;
  padding: 7px 10px;
  border-radius: 0 0 5px 5px;
  color: var(--dark);
  background: var(--accent-bright);
  font-size: 0.54rem;
  font-weight: 800;
  text-transform: uppercase;
}

.plan-name {
  color: var(--accent-text);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.plan-card--featured .plan-name {
  color: var(--accent-bright);
}

.plan-card h3 {
  margin: 20px 0 13px;
  font-size: 2.4rem;
  letter-spacing: -0.02em;
}

.plan-card h3 small {
  color: #4f5c56;
  font-size: 0.68rem;
  font-weight: 500;
}

.plan-card--featured h3 small {
  color: #c5d4ce;
}

.plan-card > p {
  min-height: 54px;
  color: var(--ink-soft);
  font-size: 0.75rem;
}

.plan-card--featured > p {
  color: #9fb5ac;
}

.plan-card ul {
  margin: 20px 0 30px;
  padding: 20px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.plan-card--featured ul {
  border-color: #2a4a3d;
}

.plan-card li {
  position: relative;
  margin: 11px 0;
  padding-left: 20px;
  font-size: 0.72rem;
}

.plan-card li::before {
  position: absolute;
  left: 0;
  color: var(--accent-text);
  content: "✓";
  font-weight: 800;
}

.plan-card--featured li::before {
  color: var(--accent-bright);
}

.plan-card .button {
  margin-top: auto;
}

.plan-card--featured .button--accent {
  color: var(--dark);
}

.faq-section {
  border-top: 1px solid var(--line);
  background: #eef1eb;
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 90px;
}

.faq-layout .section-heading {
  margin-bottom: 0;
}

.faq-layout .section-heading a {
  color: var(--accent-text);
  font-weight: 700;
}

.accordion {
  border-top: 1px solid #bcc6c0;
}

.accordion-item {
  border-bottom: 1px solid #bcc6c0;
}

.accordion-item h3 {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
}

.accordion-item button {
  display: flex;
  width: 100%;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  padding: 0;
  border: 0;
  text-align: left;
  background: transparent;
  cursor: pointer;
}

.accordion-item button span {
  padding-right: 30px;
  font-size: 0.9rem;
  font-weight: 700;
}

.accordion-item button i {
  position: relative;
  width: 22px;
  height: 22px;
}

.accordion-item button i::before,
.accordion-item button i::after {
  position: absolute;
  top: 10px;
  left: 3px;
  width: 16px;
  height: 2px;
  background: var(--accent);
  content: "";
  transition: transform 0.35s ease;
}

.accordion-item button i::after {
  transform: rotate(90deg);
}

.accordion-item.is-open button i::after {
  transform: rotate(0);
}

.accordion-content {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  visibility: hidden;
  transition:
    grid-template-rows 0.4s ease,
    opacity 0.28s ease,
    visibility 0s linear 0.4s;
}

.accordion-content[hidden] {
  display: grid !important;
}

.accordion-item.is-open .accordion-content,
.accordion-item.is-open .accordion-content[hidden] {
  grid-template-rows: 1fr;
  opacity: 1;
  visibility: visible;
  transition:
    grid-template-rows 0.4s ease,
    opacity 0.28s ease,
    visibility 0s linear 0s;
}

.accordion-content > * {
  min-height: 0;
  overflow: hidden;
}

.accordion-content p {
  max-width: 630px;
  margin: -6px 0 24px;
  color: var(--ink-soft);
  font-size: 0.8rem;
}

.newsletter-section {
  padding: 70px 0;
  color: var(--white);
  background: var(--accent-text);
}

.newsletter {
  display: grid;
  align-items: end;
  grid-template-columns: 1fr 0.85fr;
  gap: 90px;
}

.newsletter .section-index {
  color: #b7ffdf;
}

.newsletter h2 {
  margin-bottom: 12px;
}

.newsletter p {
  max-width: 590px;
  margin-bottom: 0;
  color: #d1f2e4;
  font-size: 0.84rem;
}

.newsletter-form {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.newsletter-form input,
.modal__dialog input {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 5px;
  color: var(--white);
  background: rgba(0, 0, 0, 0.14);
  outline: 0;
}

.newsletter-form input::placeholder {
  color: #c0dfd2;
}

.newsletter-form .button {
  color: var(--dark);
  background: var(--white);
  border-color: var(--white);
}

.form-message {
  position: absolute;
  top: calc(100% + 7px);
  left: 0;
  font-size: 0.65rem;
}

.site-footer {
  color: #adbbb5;
  background: #07130f;
}

.footer__top {
  display: grid;
  padding-top: 70px;
  padding-bottom: 60px;
  grid-template-columns: 1.45fr 0.75fr 0.65fr 0.85fr;
  gap: 55px;
}

.brand--footer {
  color: var(--white);
}

.footer__brand p {
  max-width: 320px;
  margin: 24px 0 0;
  font-size: 0.76rem;
}

.footer__links h3,
.footer__company h3 {
  margin-bottom: 18px;
  color: var(--white);
  font-size: 0.72rem;
}

.footer__links a,
.footer__links button {
  display: flex;
  min-height: 32px;
  align-items: center;
  margin: 4px 0;
  padding: 0;
  border: 0;
  color: #c5d4ce;
  background: transparent;
  font-size: 0.68rem;
  cursor: pointer;
}

.footer__links a:hover,
.footer__links button:hover {
  color: var(--accent-bright);
}

.footer__company p {
  margin: 0;
  font-size: 0.65rem;
  line-height: 1.7;
}

.footer__bottom {
  display: flex;
  min-height: 70px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #1d3129;
  font-size: 0.6rem;
}

.footer__bottom p {
  margin: 0;
}

.footer__bottom div {
  display: flex;
  gap: 20px;
}

.footer__bottom a,
.footer__bottom button {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
}

.cookie-banner {
  position: fixed;
  right: 20px;
  bottom: 20px;
  left: 20px;
  z-index: 150;
  display: none;
  max-width: 920px;
  min-height: 100px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  border: 1px solid #365649;
  border-radius: 8px;
  color: var(--white);
  background: var(--dark);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
  gap: 30px;
}

.cookie-banner.is-visible {
  display: flex;
  animation: cookieIn 0.35s ease both;
}

@keyframes cookieIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cookie-banner strong {
  font-size: 0.8rem;
}

.cookie-banner p {
  margin: 3px 0 0;
  color: #9cb1a8;
  font-size: 0.65rem;
}

.cookie-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
}

.cookie-actions .button--outline {
  color: var(--white);
  border-color: #547064;
}

.modal[hidden] {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 180;
  display: grid;
  place-items: center;
  padding: 20px;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 12, 9, 0.78);
}

.modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 520px);
  padding: 42px;
  border: 1px solid #39574b;
  border-radius: 10px;
  color: var(--white);
  background: var(--dark);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
  animation: modalIn 0.25s ease both;
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: translateY(15px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal__dialog .section-index {
  color: var(--accent-bright);
}

.modal__dialog h2 {
  font-size: 2.35rem;
}

.modal__dialog > p {
  color: #9db1a9;
  font-size: 0.78rem;
}

.modal__close {
  position: absolute;
  top: 13px;
  right: 15px;
  width: 34px;
  height: 34px;
  border: 1px solid #3c5a4e;
  border-radius: 50%;
  color: #b8c9c2;
  background: transparent;
  font-size: 1.3rem;
  cursor: pointer;
}

.modal__dialog label {
  display: block;
  margin-bottom: 7px;
  color: #b7c7c0;
  font-size: 0.65rem;
  font-weight: 700;
}

.modal__dialog input {
  margin-bottom: 10px;
}

.modal__dialog input::placeholder {
  color: #718a80;
}

.modal__dialog form {
  position: relative;
  margin-top: 25px;
}

@media (max-width: 1060px) {
  .primary-nav {
    gap: 16px;
  }

  .primary-nav a {
    font-size: 0.68rem;
  }

  .header__actions .button {
    display: none;
  }

  .hero__layout {
    gap: 36px;
  }

  .club-showcase {
    grid-template-columns: 1fr 1fr;
  }

  .club-card--featured {
    grid-row: span 2;
  }

  .ratings-layout {
    gap: 45px;
  }

  .formation-panel {
    padding: 36px;
  }

  .tactic-points > div {
    grid-template-columns: 1fr;
  }

  .tactic-points p {
    grid-column: auto;
  }

  .player-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 820px) {
  .section {
    padding: 82px 0;
  }

  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  .menu-toggle.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle.is-active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .primary-nav {
    position: fixed;
    top: 76px;
    right: 0;
    bottom: 0;
    left: 0;
    display: none;
    align-items: stretch;
    padding: 35px 20px;
    color: var(--white);
    background: var(--dark);
    flex-direction: column;
    gap: 0;
  }

  .primary-nav.is-open {
    display: flex;
  }

  .primary-nav a {
    padding: 18px 5px;
    border-bottom: 1px solid #294439;
    font-size: 1rem;
  }

  .header__actions {
    order: -1;
    margin-left: auto;
  }

  .menu-toggle {
    margin-left: 0;
  }

  .header__actions .button {
    display: inline-flex;
  }

  .hero,
  .hero__layout {
    min-height: 0;
  }

  .hero__layout {
    grid-template-columns: 1fr;
    padding-top: 150px;
    padding-bottom: 75px;
  }

  .hero-console {
    max-width: 650px;
    margin: 0 auto;
    transform: none;
  }

  .section-heading--split,
  .ratings-layout,
  .playbook__content,
  .faq-layout,
  .newsletter {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .club-showcase {
    grid-template-columns: 1fr;
  }

  .club-card--featured {
    grid-row: auto;
  }

  /* .club-card {
    min-height: 380px;
  } */

  .ratings-copy {
    position: static;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .process-grid article {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid #365449;
  }

  .process-grid article:last-child {
    border-bottom: 0;
  }

  .plans-grid {
    max-width: 540px;
    grid-template-columns: 1fr;
  }

  .plan-card--featured {
    transform: none;
  }

  .newsletter {
    align-items: start;
  }

  .footer__top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .header__inner {
    min-height: 68px;
  }

  .brand__name {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .primary-nav {
    top: 68px;
  }

  .hero__layout {
    min-height: auto;
    padding-top: 126px;
  }

  .hero h1 {
    font-size: clamp(2.8rem, 13vw, 4rem);
  }

  .hero__actions {
    align-items: stretch;
    flex-direction: column;
    gap: 16px;
  }

  .text-link {
    align-self: flex-start;
  }

  .hero__trust {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .hero__trust span {
    padding-right: 0;
    border-right: 0;
  }

  .console__metric {
    display: none;
  }

  .console__player {
    right: 10px;
    bottom: 10px;
    left: 10px;
  }

  .section {
    padding: 68px 0;
  }

  .section-heading h2,
  .ratings-copy h2,
  .newsletter h2 {
    font-size: 2.35rem;
  }

  .section-heading {
    margin-bottom: 35px;
  }

  .club-card {
    padding: 22px;
  }

  .rating-row {
    grid-template-columns: 1fr auto;
    gap: 10px;
  }

  .rating-avatar {
    width: 44px;
    height: 44px;
  }

  .rating-shift {
    grid-column: 3;
  }

  .rating-score {
    grid-row: 1 / span 2;
    grid-column: 4;
  }

  .rating-score span {
    display: none;
  }

  .formation-tabs {
    overflow-x: auto;
  }

  .formation-tab {
    min-width: 120px;
    min-height: 60px;
  }

  .pitch-wrap {
    padding: 14px;
  }

  .formation-panel {
    padding: 28px 20px;
  }

  .system-stats {
    grid-template-columns: 1fr;
  }

  .player-grid {
    grid-template-columns: 1fr;
  }

  .player-card__visual {
    height: 320px;
  }

  .footer__top {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer__bottom {
    align-items: flex-start;
    padding: 22px 0;
    flex-direction: column;
    gap: 12px;
  }

  .newsletter-form {
    grid-template-columns: 1fr;
  }

  .cookie-banner,
  .cookie-banner.is-visible {
    align-items: stretch;
    flex-direction: column;
    gap: 15px;
  }

  .cookie-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .modal__dialog {
    padding: 34px 22px 28px;
  }

  .modal__dialog h2 {
    font-size: 2rem;
  }
}

@media (max-width: 375px) {
  .header__actions .button.button--small.button--dark {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Stage 3: inner pages, editorial, and legal content */
.primary-nav a[aria-current="page"] {
  color: var(--accent-bright);
}

.is-scrolled .primary-nav a[aria-current="page"] {
  color: var(--accent-text);
}

.page-hero--visual {
  padding: 70px 0;
  border-bottom: 1px solid var(--line);
  background: #eef1eb;
}

.page-hero__grid {
  display: grid;
  align-items: center;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.page-hero__grid h1,
.legal-hero h1,
.article-hero h1 {
  margin-bottom: 20px;
  font-size: clamp(2.8rem, 5vw, 5.5rem);
  letter-spacing: -0.02em;
}

.page-hero__grid p {
  max-width: 600px;
  margin-bottom: 0;
  color: var(--ink-soft);
}

.page-hero__grid > img {
  width: auto;
  height: auto;
  border: 1px solid #b8c7bf;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.content-split {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 90px;
}

.content-split h2,
.media-block h2,
.contact-layout h2,
.faq-page-grid h2,
.cta-strip h2 {
  font-size: clamp(2rem, 3.5vw, 3.6rem);
  letter-spacing: -0.02em;
}

.prose {
  color: var(--ink-soft);
}

.prose p {
  margin-bottom: 20px;
}

.content-alt {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #eef1eb;
}

.info-card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.info-card-grid article {
  /* min-height: 220px; */
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.step-list > article > strong {
  display: block;
  margin-bottom: 54px;
  color: var(--accent-text);
  font-size: 1rem;
}

.info-card-grid h3 {
  font-size: 1.08rem;
}

.info-card-grid p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.75rem;
}

.cta-strip {
  padding: 60px 0;
  color: var(--white);
  background: var(--dark);
}

.cta-strip .container {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
}

.cta-strip .section-index {
  color: var(--accent-bright);
}

.cta-strip h2 {
  margin-bottom: 0;
}

.step-list {
  border-top: 1px solid var(--line);
}

.step-list > article {
  display: grid;
  padding: 46px 0;
  border-bottom: 1px solid var(--line);
  grid-template-columns: 100px 1fr;
  gap: 35px;
}

.step-list > article > strong {
  margin: 7px 0 0;
}

.step-list h2 {
  margin-bottom: 13px;
  font-size: clamp(1.8rem, 3vw, 3rem);
  letter-spacing: -0.02em;
}

.step-list p {
  max-width: 740px;
  margin-bottom: 0;
  color: var(--ink-soft);
}

.media-block {
  display: grid;
  align-items: center;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
}

.media-block img {
  width: 100%;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.media-block p {
  color: var(--ink-soft);
}

.faq-page-grid {
  display: grid;
  grid-template-columns: 0.68fr 1.32fr;
  gap: 80px;
}

.faq-page-grid > div:first-child {
  position: sticky;
  top: 120px;
  align-self: start;
}

.faq-page-grid > div:first-child p {
  color: var(--ink-soft);
}

.faq-page-grid a {
  color: var(--accent-text);
  font-weight: 700;
}

.contact-layout {
  display: grid;
  align-items: start;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 80px;
}

.contact-line {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.contact-line small {
  display: block;
  margin-bottom: 5px;
  color: #4f5c56;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
}

.contact-line a {
  color: var(--accent-text);
  font-weight: 700;
}

.contact-line p {
  margin: 0;
  color: var(--ink-soft);
}

.contact-form {
  position: relative;
  display: grid;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.contact-form h2 {
  margin-bottom: 24px;
}

.contact-form label {
  margin: 12px 0 6px;
  font-size: 0.68rem;
  font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid #b6c1bb;
  border-radius: 5px;
  color: var(--ink);
  background: #fafbf9;
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form .check-row {
  display: flex;
  align-items: start;
  margin: 18px 0;
  gap: 9px;
  color: var(--ink-soft);
  font-size: 0.66rem;
  font-weight: 500;
}

.contact-form .check-row input {
  width: 24px;
  min-height: 24px;
  margin-top: 3px;
}

.form-message--static {
  position: static;
  margin-top: 8px;
  color: var(--accent-text);
}

.legal-hero {
  padding: 85px 0 58px;
  border-bottom: 1px solid var(--line);
  background: #eef1eb;
}

.legal-hero p {
  max-width: 700px;
  color: var(--ink-soft);
}

.legal-hero small {
  color: #4f5c56;
  font-size: 0.65rem;
}

.legal-layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 80px;
}

.legal-layout aside {
  position: sticky;
  top: 115px;
  align-self: start;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--white);
}

.legal-layout aside strong {
  font-size: 0.72rem;
}

.legal-layout aside p,
.legal-layout aside a {
  display: block;
  margin: 9px 0 0;
  color: var(--ink-soft);
  font-size: 0.65rem;
  word-break: break-word;
}

.legal-layout aside a {
  color: var(--accent-text);
  font-weight: 700;
}

.legal-copy {
  max-width: 780px;
}

.legal-copy section {
  padding: 0 0 28px;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--line);
}

.legal-copy h2 {
  margin-bottom: 11px;
  font-size: 1.3rem;
}

.legal-copy p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.85rem;
}

.legal-copy p + p {
  margin-top: 12px;
}

.footer__operator {
  padding: 18px 0;
  border-top: 1px solid #1d3129;
  color: #748a80;
  font-size: 0.6rem;
}

.footer__operator p {
  margin: 0;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.news-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--white);
  transition: border-color 0.18s ease;
}

.news-card:hover {
  border-color: #90a49a;
}

.news-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.news-card > div {
  padding: 24px;
}

.news-card time,
.article-hero #article-meta {
  color: var(--accent-text);
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
}

.news-card h2 {
  margin: 10px 0;
  font-size: 1.32rem;
  letter-spacing: -0.035em;
}

.news-card p {
  color: var(--ink-soft);
  font-size: 0.76rem;
}

.news-card__link,
.back-link {
  color: var(--accent-text);
  font-size: 0.7rem;
  font-weight: 700;
}

.article-hero {
  padding: 76px 0 48px;
  border-bottom: 1px solid var(--line);
  background: #eef1eb;
}

.article-hero .back-link {
  display: inline-block;
  margin-bottom: 42px;
}

.article-hero h1 {
  max-width: 980px;
  font-size: clamp(2.6rem, 5vw, 5rem);
}

.article-layout {
  display: grid;
  align-items: start;
  padding-top: 70px;
  padding-bottom: 110px;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
}

.article-layout > img {
  position: sticky;
  top: 110px;
  width: 100%;
  border-radius: 9px;
  box-shadow: var(--shadow);
}

.article-copy section {
  padding-bottom: 28px;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--line);
}

.article-copy h2 {
  font-size: 1.5rem;
  letter-spacing: -0.035em;
}

.article-copy p {
  color: var(--ink-soft);
}

@media (max-width: 900px) {
  .page-hero__grid,
  .content-split,
  .media-block,
  .faq-page-grid,
  .contact-layout,
  .article-layout {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .info-card-grid,
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .faq-page-grid > div:first-child,
  .article-layout > img {
    position: static;
  }

  .legal-layout {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .legal-layout aside {
    position: static;
  }
}

@media (max-width: 560px) {
  .page-hero--visual,
  .legal-hero,
  .article-hero {
    padding-top: 55px;
  }

  .page-hero__grid h1,
  .legal-hero h1,
  .article-hero h1 {
    font-size: 2.7rem;
  }

  .info-card-grid,
  .news-grid {
    grid-template-columns: 1fr;
  }

  .step-list > article {
    grid-template-columns: 45px 1fr;
    gap: 10px;
  }

  .cta-strip .container {
    align-items: stretch;
    flex-direction: column;
  }

  .contact-form {
    padding: 23px 18px;
  }

  .article-layout {
    padding-top: 35px;
    padding-bottom: 70px;
  }
}

/* === footer extras, shipped 21.08 after legal asked for social + pay marks === */
/* Taken from old "ProjectX" social row, refactor later */
.soc-row,
.bgw-social {
  display: flex;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.soc-row a {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid #2a4339;
  border-radius: 8px;
  color: #d7efe4;
}

.soc-row a:hover,
.soc-row a:focus-visible {
  color: var(--accent-bright);
  border-color: var(--accent-bright);
}

.payRow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.payBadge {
  display: inline-grid;
  min-width: 46px;
  padding: 5px 8px;
  place-items: center;
  border: 1px solid #3a5a4d;
  border-radius: 4px;
  color: #e8f3ed;
  background: #10251d;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.bgw-revNote,
.ui-stamp {
  margin: 0;
  color: #4f5c56;
  font-size: 0.68rem;
}

/* leftover aliases from the Jul/Aug layout experiments. do not delete, inner pages still reference them */
.custom-bento-grid,
.stats-custom-layout,
.hero-baner,
.pricin-card,
.secton-dark,
.card-fix-2026,
.heroCopy {
  /* no-op hooks on purpose */
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
