/* Fonts: self-hosted (SIL Open Font License), latin and latin-ext subsets */
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 400 800; font-stretch: 62% 125%; font-display: swap; src: url("fonts/archivo-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: "Archivo"; font-style: normal; font-weight: 400 800; font-stretch: 62% 125%; font-display: swap; src: url("fonts/archivo-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; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("fonts/inter-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: "Inter"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("fonts/inter-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 {
  /* Base: one neutral dark stage, colour only as accent */
  --midnight: #0a0b0d;
  --bone: #f3f2ee;
  /* Pillars */
  --red: #d21f3c;
  --green: #00a862;
  --sand: #e6d3ae;

  --surface: #131417;
  --text: var(--bone);
  --text-2: rgba(243, 242, 238, .68);
  --text-3: rgba(243, 242, 238, .45);
  --line: #1d1f23;
  --line-2: #2b2d32;

  --font-display: "Archivo", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(80px, 10vw, 136px);
  --radius: 20px;
  --radius-sm: 12px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
html::-webkit-scrollbar,
body::-webkit-scrollbar { display: none; width: 0; height: 0; }

body {
  margin: 0;
  background: var(--midnight);
  color: var(--text);
  font: 400 16px/1.6 var(--font-body);
  letter-spacing: -.006em;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 700; letter-spacing: -.02em; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
button { font: inherit; color: inherit; }
::selection { background: var(--red); color: var(--bone); }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 6px; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--bone);
  color: var(--midnight);
  font-weight: 600;
  transform: translateY(-160%);
}
.skip:focus { transform: none; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.ico { width: 16px; height: 16px; flex: none; }

/* Type */
.h2 { font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.05; letter-spacing: -.03em; text-wrap: balance; }
.lead { margin-top: 20px; font-size: clamp(1.02rem, 1.25vw, 1.12rem); line-height: 1.65; color: var(--text-2); max-width: 36em; text-wrap: pretty; }
.lead a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: 600 15px/1 var(--font-body);
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .25s ease, border-color .25s ease;
}
.btn--red { background: var(--red); color: var(--bone); }
.btn--red:hover { background: color-mix(in srgb, var(--red) 88%, var(--bone)); }
.btn--ghost { border-color: var(--line-2); background: transparent; color: var(--bone); }
.btn--ghost:hover { border-color: var(--text-3); }
.btn--sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn--block { width: 100%; }

/* Nav */
.logo { font: 700 13px/1 var(--font-display); font-stretch: 112%; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  background: var(--midnight);
  border-bottom: 1px solid var(--line);
}
.nav__bar {
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  height: 68px;
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav__links { display: flex; gap: 28px; margin-left: auto; margin-right: 20px; }
.nav__links a { font-size: 14px; font-weight: 500; color: var(--text-2); transition: color .2s ease; }
.nav__links a:hover,
.nav__links a[aria-current="true"] { color: var(--bone); }
.lang {
  display: grid;
  place-items: center;
  height: 40px;
  min-width: 40px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  font: 600 12.5px/1 var(--font-body);
  letter-spacing: .08em;
  color: var(--text-2);
  transition: color .2s ease, border-color .2s ease;
}
.lang:hover { color: var(--bone); border-color: var(--text-3); }
.nav__toggle {
  display: none;
  position: relative;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  background: none;
  cursor: pointer;
}
.nav__toggle span { position: absolute; left: 11px; width: 16px; height: 1.6px; border-radius: 2px; background: var(--bone); transition: transform .35s var(--ease); }
.nav__toggle span:first-child { top: 15px; }
.nav__toggle span:last-child { top: 21px; }
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }

.sheet {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  align-items: flex-end;
  padding: 96px var(--gutter) calc(32px + env(safe-area-inset-bottom));
  background: var(--midnight);
  opacity: 0;
  transition: opacity .3s ease;
}
.sheet[hidden] { display: none; }
.sheet.is-open { opacity: 1; }
.sheet__inner { width: 100%; display: grid; }
.sheet__inner a:not(.btn) {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font: 600 clamp(1.5rem, 6vw, 2rem)/1.1 var(--font-display);
  letter-spacing: -.02em;
}
.sheet__inner .btn { margin-top: 28px; }

/* Hero */
.hero { position: relative; min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: 1fr; isolation: isolate; overflow: hidden; }
.hero__media { position: absolute; inset: 68px 0 0; z-index: -1; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 72% 30%; }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(10, 11, 13, .88) 0%, rgba(10, 11, 13, .6) 40%, rgba(10, 11, 13, 0) 68%),
    linear-gradient(180deg, rgba(10, 11, 13, .55) 0%, rgba(10, 11, 13, .1) 30%, rgba(10, 11, 13, .7) 82%, var(--midnight) 100%);
}
.hero__content { align-self: end; padding-top: 140px; padding-bottom: clamp(56px, 9vh, 96px); }
.hero__title {
  margin: 0 0 24px;
  font-size: clamp(2.6rem, 12vw, 9rem);
  font-weight: 800;
  font-stretch: 75%;
  line-height: .86;
  letter-spacing: -.012em;
  text-transform: uppercase;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .05em; margin-bottom: -.05em; }
.hero__title [data-hero-line] { display: inline-block; }
.hero__lede { max-width: 32em; font-size: clamp(1.02rem, 1.35vw, 1.18rem); line-height: 1.6; color: var(--text-2); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.js .hero__title [data-hero-line] { --reveal-y: 105%; transform: translateY(var(--reveal-y)); transition: --reveal-y 1s var(--ease); }
.js .hero__title .line:nth-child(2) [data-hero-line] { transition-delay: .08s; }
.js.is-loaded .hero__title [data-hero-line] { --reveal-y: 0px; }
.js [data-hero-in] { opacity: 0; transition: opacity .8s ease; }
.js.is-loaded [data-hero-in] { opacity: 1; transition-delay: .3s; }

/* Sections */
.section { padding-block: var(--section-y); }
.section + .section { border-top: 1px solid var(--line); }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 56px); }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 96px); align-items: center; }
.split--flip .split__media { order: 2; }
.split__media { overflow: hidden; border-radius: var(--radius); background: var(--surface); aspect-ratio: 4 / 5; }
.split__media--wide { aspect-ratio: 4 / 3; }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
#moha .split__media img { object-position: 50% 20%; }
.creds { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 40px; border-top: 1px solid var(--line-2); }
.creds li { display: grid; align-content: start; gap: 4px; padding: 20px 20px 20px 0; }
.creds li:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--line); }
.creds li:nth-child(n + 3) { padding-bottom: 0; border-top: 1px solid var(--line); }
.creds strong { font: 800 clamp(1.6rem, 2.6vw, 2.2rem)/1 var(--font-display); font-stretch: 75%; letter-spacing: 0; text-transform: uppercase; }
.creds span { font-size: 14px; color: var(--text-2); }
.prose { margin-top: 24px; display: grid; gap: 16px; max-width: 36em; color: var(--text-2); font-size: clamp(1.02rem, 1.25vw, 1.12rem); line-height: 1.65; }

/* Highlight videos: muted preview loops; a click opens the full video in the player dialog */
.film { margin-top: clamp(72px, 9vw, 120px); }
.film__head { margin-bottom: 28px; }
.film__title { font: 800 clamp(1.8rem, 3.2vw, 2.6rem)/1 var(--font-display); font-stretch: 75%; text-transform: uppercase; }
.film__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 20px; }
.film__item { display: flex; flex-direction: column; min-width: 0; }
.film__item--lead { grid-column: span 2; grid-row: span 2; }
.film__frame { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius-sm); background: var(--surface); }
.film__item--lead .film__frame { flex: 1; aspect-ratio: auto; min-height: 0; }
.film__link,
.film__clip { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.film__clip { object-fit: cover; }
.film__link::after { content: ""; position: absolute; inset: 0; background: rgba(10, 11, 13, .28); transition: background .3s ease; }
.film__link:hover::after { background: rgba(10, 11, 13, .1); }
.film__link:focus-visible { outline: 2px solid var(--bone); outline-offset: -2px; }
.film__btn { position: absolute; z-index: 1; left: 50%; top: 50%; display: grid; place-items: center; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; background: var(--bone); color: var(--midnight); transition: background .25s ease, color .25s ease; }
.film__item--lead .film__btn { width: 76px; height: 76px; margin: -38px 0 0 -38px; }
.film__btn .ico { width: 22px; height: 22px; }
.film__item--lead .film__btn .ico { width: 28px; height: 28px; }
.film__link:hover .film__btn { background: var(--red); color: var(--bone); }
.film__name { margin-top: 14px; font-weight: 600; line-height: 1.3; }
.film__item--lead .film__name { font-size: 1.15rem; }
.film__meta { margin-top: 4px; font-size: 14px; color: var(--text-3); }

.split--top { align-items: start; }
.split__media--sticky { position: sticky; top: 104px; }
.beats { margin-top: 40px; border-top: 1px solid var(--line); }
.beat { padding: 28px 0; border-bottom: 1px solid var(--line); }
.beat__title { font: 700 clamp(1.2rem, 1.6vw, 1.4rem)/1.25 var(--font-display); letter-spacing: -.02em; }
.beat p { margin-top: 10px; color: var(--text-2); font-size: clamp(1rem, 1.15vw, 1.06rem); line-height: 1.7; text-wrap: pretty; }

/* FAQ */
.faq-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.faq-layout__head { position: sticky; top: 104px; }
.faq { border-top: 1px solid var(--line-2); }
.faq__item { border-bottom: 1px solid var(--line-2); }
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  font: 700 1.12rem/1.35 var(--font-display);
  cursor: pointer;
  list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:focus-visible { outline-offset: 4px; }
.faq__icon { position: relative; width: 28px; height: 28px; flex: none; border-radius: 50%; border: 1px solid var(--line-2); transition: background-color .3s ease, border-color .3s ease; }
.faq__icon::before,
.faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.6px; margin: -.8px 0 0 -5px; border-radius: 2px; background: currentColor; transition: transform .35s var(--ease); }
.faq__icon::after { transform: rotate(90deg); }
.faq__item.is-open .faq__icon { background: var(--bone); border-color: var(--bone); color: var(--midnight); }
.faq__item.is-open .faq__icon::after { transform: rotate(0deg); }
.faq__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.faq__body > div { overflow: hidden; min-height: 0; }
.faq__body p { padding: 0 52px 24px 0; color: var(--text-2); opacity: 0; transition: opacity .3s ease; }
.faq__item.is-open .faq__body { grid-template-rows: 1fr; }
.faq__item.is-open .faq__body p { opacity: 1; transition-delay: .08s; }

/* Compare */
/* Rows share one column grid (subgrid), so a column is as wide as its longest word in any row */
.compare { display: grid; grid-template-columns: .8fr 1fr 1fr 1.25fr; overflow: hidden; border-radius: 0 0 var(--radius) var(--radius); border: 1px solid var(--line); }
.compare__row { display: grid; grid-column: 1 / -1; grid-template-columns: .8fr 1fr 1fr 1.25fr; grid-template-columns: subgrid; }
.compare__row + .compare__row { border-top: 1px solid var(--line); }
.compare__row > * { padding: 20px 24px; font-size: 15px; }
.compare__row [role="rowheader"] { font-family: var(--font-display); font-weight: 600; }
.compare__row [role="cell"] { color: var(--text-2); }
.compare__row--head > * { padding-block: 16px; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.compare__us { background: var(--surface); }
.compare__row [role="cell"].compare__us { color: var(--bone); font-weight: 500; }
.compare__row--head .compare__us { color: var(--bone); }

/* Trial */
/* Moha's story: a rail that fills as the reader moves through the chapters */
.story { margin-top: clamp(80px, 10vw, 136px); }
.story__list { position: relative; --p: 0; --tick: 14px; --rail: var(--line-2); }
.story__list::before,
.story__list::after { content: ""; position: absolute; left: 0; top: var(--tick); bottom: var(--rail-end, 0px); width: 2px; border-radius: 2px; }
.story__list::before { background: var(--rail); }
.story__list::after { bottom: auto; height: calc((100% - var(--tick) - var(--rail-end, 0px)) * var(--p)); background: var(--red); }
.chapter { --year: clamp(2.4rem, 4.6vw, 4.2rem); position: relative; display: grid; grid-template-columns: calc(var(--year) * 3.4) minmax(0, 1fr) minmax(0, 1fr); gap: 0 clamp(28px, 4.5vw, 64px); padding: 0 0 clamp(64px, 8vw, 112px) clamp(28px, 4vw, 48px); }
.chapter:last-child { padding-bottom: 0; }
.chapter::before { content: ""; position: absolute; left: 0; top: var(--tick); width: 18px; height: 2px; background: var(--rail); transition: background .3s ease; }
.chapter.is-reached::before { background: var(--red); }
.chapter__year { font: 800 var(--year)/.9 var(--font-display); font-stretch: 75%; letter-spacing: -.01em; white-space: nowrap; }
.chapter--now .chapter__year { color: var(--red); }
.chapter__copy { grid-column: 2 / -1; max-width: 40em; }
.chapter--media .chapter__copy { grid-column: 2; }
.chapter__place { font: 600 12px/1.4 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
.chapter__title { margin: 12px 0 14px; font: 700 clamp(1.45rem, 2.3vw, 2rem)/1.15 var(--font-display); letter-spacing: -.02em; text-wrap: balance; }
.chapter__copy > p:last-child { color: var(--text-2); font-size: clamp(1rem, 1.15vw, 1.08rem); line-height: 1.7; text-wrap: pretty; }
.chapter__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius-sm); background: var(--surface); }
.chapter__media--pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.chapter__media--pair img { aspect-ratio: 4 / 5; }
img[src$="moha-olimpik-shakhtar.webp"] { object-position: 65% 30%; }
img[src$="moha-olimpik-dynamo.webp"] { object-position: 86% 50%; }
img[src$="moha-spain-red-1.webp"] { object-position: 62% 50%; }
img[src$="moha-spain-red-3.webp"] { object-position: 40% 40%; }

.trial { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.steps { margin-top: 36px; counter-reset: step; border-top: 1px solid var(--line); }
.steps li { counter-increment: step; display: grid; grid-template-columns: 36px 1fr; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); color: var(--text-2); }
.steps li::before { content: counter(step); font: 700 15px/1.6 var(--font-display); color: var(--bone); }
.wa-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 28px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; text-decoration-color: var(--line-2); transition: text-decoration-color .2s ease; }
.wa-link:hover { text-decoration-color: currentColor; }
.wa-link .ico { width: 18px; height: 18px; color: var(--green); }
.trial__where { margin-top: 20px; font-size: 14px; color: var(--text-3); }

.form { padding: clamp(24px, 3.5vw, 40px); border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.form__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; align-items: end; margin-bottom: 24px; }
.field { display: grid; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field > span { font-size: 13px; font-weight: 600; color: var(--text-2); }
.field em { font-style: normal; font-weight: 400; color: var(--text-3); }
.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-2);
  background: var(--surface);
  color: var(--bone);
  font: 400 15px/1.4 var(--font-body);
  -webkit-appearance: none;
  appearance: none;
  transition: border-color .2s ease;
}
.field select { padding-right: 44px; cursor: pointer; }
.field textarea { resize: none; min-height: 120px; }
.field input[type="number"] { -moz-appearance: textfield; appearance: textfield; }
.field input[type="number"]::-webkit-inner-spin-button,
.field input[type="number"]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.field :is(input, textarea, select):hover { border-color: rgba(244, 241, 234, .3); }
.field :is(input, textarea, select):focus { outline: none; border-color: var(--bone); }
.form.was-validated :is(input, textarea):invalid { border-color: var(--sand); }
.select { position: relative; display: block; }
.select::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 7px;
  height: 7px;
  margin-top: -5px;
  border-right: 1.6px solid var(--text-2);
  border-bottom: 1.6px solid var(--text-2);
  transform: rotate(45deg);
  pointer-events: none;
}
.form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__legal { margin-top: 14px; font-size: 12.5px; color: var(--text-3); text-align: center; }
.form__legal a { color: var(--text-2); text-decoration: underline; text-underline-offset: 2px; }
.form__status { margin-top: 10px; min-height: 1.5em; font-size: 14px; color: var(--text-2); text-align: center; }

/* WhatsApp float */
.wa-float {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 30;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--green);
  color: var(--midnight);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}
.wa-float.is-shown { opacity: 1; pointer-events: auto; }
.wa-float .ico { width: 24px; height: 24px; }
.sheet-open .wa-float { opacity: 0; pointer-events: none; }

/* Video player */
.player { width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; color: var(--bone); overflow: hidden; }
.player[open] { display: grid; place-items: center; animation: fade-in .25s ease; }
.player::backdrop { background: rgba(0, 0, 0, .9); }
.player__inner { width: min(1200px, 100% - 2 * var(--gutter)); }
.player__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
.player__title { font-weight: 600; line-height: 1.3; }
.player__close { display: grid; place-items: center; flex: none; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line-2); border-radius: 50%; background: transparent; cursor: pointer; transition: border-color .2s ease; }
.player__close:hover { border-color: var(--text-3); }
.player__video { display: block; width: 100%; aspect-ratio: 16 / 9; max-height: calc(100svh - 120px); border-radius: var(--radius-sm); background: #000; }
html:has(.player[open]) { overflow: hidden; }
@keyframes fade-in { from { opacity: 0; } }

/* Footer */
.footer { background: var(--midnight); border-top: 1px solid var(--line); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr auto auto; gap: 40px; padding-block: 64px 48px; }
.footer__brand p { margin-top: 16px; max-width: 28ch; color: var(--text-2); font-size: 15px; }
.footer__col { display: grid; align-content: start; gap: 12px; font-size: 15px; color: var(--text-2); }
.footer__col h3 { margin-bottom: 4px; font: 600 12px/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
.footer__col a { justify-self: start; transition: color .2s ease; }
.footer__col a:hover { color: var(--bone); }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 24px 32px; border-top: 1px solid var(--line); font-size: 13px; color: var(--text-3); }
.footer__legal > span:last-child { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer__legal a:hover,
.footer__consent:hover { color: var(--bone); }
.footer__consent { padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; transition: color .2s ease; }

/* Cookie banner */
.consent { position: fixed; left: 24px; bottom: 24px; z-index: 60; width: min(440px, calc(100% - 48px)); padding: 20px; border: 1px solid var(--line-2); border-radius: var(--radius-sm); background: var(--surface); box-shadow: 0 16px 48px rgba(0, 0, 0, .5); opacity: 0; transform: translateY(8px); transition: opacity .3s ease, transform .4s var(--ease); }
.consent.is-shown { opacity: 1; transform: none; }
.consent[hidden] { display: none; }
.consent__text { font-size: 14px; line-height: 1.55; color: var(--text-2); }
.consent__text a { color: var(--bone); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.consent__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }

/* Legal pages: privacy and cookies */
.legal { padding-block: calc(68px + clamp(48px, 7vw, 96px)) clamp(80px, 10vw, 136px); }
.legal__wrap { max-width: calc(760px + 2 * var(--gutter)); }
.legal__back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 40px; font-size: 14px; font-weight: 500; color: var(--text-2); transition: color .2s ease; }
.legal__back::before { content: "\2190"; }
.legal__back:hover { color: var(--bone); }
.legal__body { color: var(--text-2); font-size: 16px; line-height: 1.7; }
.legal__body h1 { color: var(--bone); font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1.05; letter-spacing: -.03em; }
.legal__body h2 { margin: 48px 0 14px; color: var(--bone); font-size: 1.4rem; line-height: 1.25; }
.legal__body h3 { margin: 28px 0 8px; color: var(--bone); font-size: 1.05rem; }
.legal__body p + p,
.legal__body ul + p,
.legal__body p + ul,
.legal__body p + .legal__table,
.legal__body .legal__table + p { margin-top: 14px; }
.legal__body ul:not(.legal__owner) li { position: relative; padding-left: 20px; }
.legal__body ul:not(.legal__owner) li + li { margin-top: 8px; }
.legal__body ul:not(.legal__owner) li::before { content: ""; position: absolute; left: 0; top: .8em; width: 8px; height: 1px; background: var(--text-3); }
.legal__body strong { color: var(--bone); font-weight: 600; }
.legal__body a { color: var(--bone); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; text-decoration-color: var(--line-2); transition: text-decoration-color .2s ease; }
.legal__body a:hover { text-decoration-color: currentColor; }
.legal__body code { font-size: .9em; color: var(--bone); }
.legal__inline-button { padding: 0; border: 0; background: none; color: var(--bone); font: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; text-decoration-color: var(--line-2); cursor: pointer; }
.legal__inline-button:hover { text-decoration-color: currentColor; }
.legal__updated { margin-top: 14px; font-size: 14px; color: var(--text-3); }
.legal__updated + p { margin-top: 32px; }
.legal__body h1 + p { margin-top: 24px; }
.legal__owner { padding: 20px 24px; border: 1px solid var(--line-2); border-radius: var(--radius-sm); background: var(--surface); display: grid; gap: 4px; }
.legal__owner li:first-child { color: var(--bone); font-weight: 600; }
.legal__table { overflow-x: auto; border: 1px solid var(--line-2); border-radius: var(--radius-sm); }
.legal__table table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 15px; }
.legal__table th,
.legal__table td { padding: 14px 16px; text-align: left; vertical-align: top; }
.legal__table th { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); border-bottom: 1px solid var(--line-2); }

/* Reveal: the slide animates a registered property instead of transform, so it paints on the main thread
   and text never re-rasterises a subpixel sideways when the transition ends */
/* Fades composite text with greyscale smoothing; desktop Chrome then repaints it with subpixel (ClearType) smoothing
   once the fade ends, which reads as a 1px jump. Keeping the page content on its own layer keeps one smoothing mode throughout. */
.js main { will-change: opacity; }
@property --reveal-y { syntax: "<length-percentage>"; inherits: false; initial-value: 0px; }
.js .reveal { opacity: 0; --reveal-y: 16px; transform: translateY(var(--reveal-y)); transition: opacity .7s ease, --reveal-y .8s var(--ease); }
.js .reveal.is-in { opacity: 1; --reveal-y: 0px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal,
  .js .hero__title [data-hero-line] { transform: none !important; }
  .faq__body { transition: none; }
  .consent { transform: none; }
}

/* Tablet */
/* Narrow desktop: the brand takes its own row so the four link columns keep their labels on one line */
@media (max-width: 1280px) {
  .footer__grid { grid-template-columns: 1fr 1fr 1fr auto auto; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 960px) {
  .nav__links { display: none; }
  .lang { margin-left: auto; }
  .nav__toggle { display: block; }
  .split,
  .trial,
  .faq-layout { grid-template-columns: minmax(0, 1fr); }
  .split--flip .split__media { order: 0; }
  .split__media { aspect-ratio: 4 / 3; }
  .faq-layout__head { position: static; }
  .split__media--sticky { position: static; }
  .film__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .film__item--lead { grid-row: auto; }
  .chapter { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .chapter__year { margin-bottom: 18px; }
  .chapter__copy,
  .chapter--media .chapter__copy { grid-column: 1; }
  .chapter__media { margin-top: 28px; }
  .story__list { --tick: 12px; }
  .film__item--lead .film__frame { flex: none; aspect-ratio: 16 / 9; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .footer .footer__col--inline { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 12px 22px; }
  .footer .footer__col--inline h3 { flex-basis: 100%; }
  .compare__row > * { padding: 16px; font-size: 14px; line-height: 1.45; }
  .compare__row--head > * { padding-block: 14px; font-size: 11px; line-height: 1.35; letter-spacing: .06em; }
}

/* Phone */
@media (max-width: 600px) {
  :root { --section-y: 64px; }
  .nav__bar { height: 60px; }
  /* Hero stacks: photo on top fading into the page, copy underneath, so the headline never sits on a face */
  .hero { display: block; min-height: 0; }
  .hero::after { display: none; }
  .hero__media { position: relative; inset: auto; z-index: 0; height: min(60svh, 500px); margin-top: 60px; transform: none !important; }
  .hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 11, 13, .15) 0%, rgba(10, 11, 13, 0) 30%, rgba(10, 11, 13, .7) 66%, var(--midnight) 88%); }
  .hero__media img { object-position: 70% 20%; }
  .hero__content { position: relative; z-index: 1; margin-top: -96px; }
  .nav__cta { display: none; }
  .nav__toggle { margin-left: 6px; }
  .logo { font-size: 11.5px; letter-spacing: .06em; }
  .hero__content { padding-top: 0; padding-bottom: 8px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .creds li { padding-right: 12px; }
  .creds li:nth-child(even) { padding-left: 12px; }
  .creds span { font-size: 13px; }
  .split__media { aspect-ratio: 1; }
  .film__grid { gap: 20px 12px; }
  .chapter { padding: 0 0 56px 24px; }
  .chapter:last-child { padding-bottom: 0; }
  .story { margin-top: 72px; }
  .film { margin-top: 72px; }
  .chapter::before { width: 12px; }
  .film__btn { width: 44px; height: 44px; margin: -22px 0 0 -22px; }
  .film__btn .ico { width: 18px; height: 18px; }
  .film__item--lead .film__btn { width: 60px; height: 60px; margin: -30px 0 0 -30px; }
  .film__name { margin-top: 10px; font-size: 14px; }
  .film__meta { font-size: 13px; }
  .faq__item summary { font-size: 1.02rem; padding: 20px 0; }
  .faq__body p { padding-right: 0; }
  .compare { grid-template-columns: minmax(min-content, .82fr) minmax(min-content, 1fr) minmax(min-content, 1fr) minmax(min-content, 1.18fr); }
  .compare__row > * { padding: 12px 7px; font-size: 12px; line-height: 1.4; overflow-wrap: break-word; }
  .compare__row > :first-child { padding-left: 12px; }
  .compare__row--head > * { padding-block: 12px; font-size: 9.5px; letter-spacing: .03em; }
  /* Form: name and email full width, the rest two to a row */
  .form { padding: 20px; }
  .form__grid { gap: 14px 12px; margin-bottom: 20px; }
  .field--wide { grid-column: 1 / -1; }
  .field :is(input, select) { min-height: 48px; padding-block: 12px; }
  .field textarea { min-height: 88px; }
  /* Training beats: swipe sideways instead of scrolling past four long blocks */
  .beats { display: grid; grid-auto-flow: column; grid-auto-columns: 84%; gap: 12px; margin: 28px calc(-1 * var(--gutter)) 0; padding: 0 var(--gutter); border-top: 0; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .beats::-webkit-scrollbar { display: none; }
  .beat { padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); scroll-snap-align: start; }
  .beat p { font-size: 15px; line-height: 1.6; }
  #training .split__media { aspect-ratio: 16 / 10; }
  /* Footer: the two link lists side by side, contact links on one line */
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 24px 20px; padding-block: 40px 24px; }
  .footer__brand p { margin-top: 10px; }
  /* Comfortable tap targets without changing the look */
  .logo { padding-block: 14px; }
  .footer__col { gap: 2px; }
  .footer .footer__col--inline { gap: 0 22px; }
  .footer__col h3 { margin-bottom: 6px; }
  .footer__col a { padding-block: 9px; }
  .footer__legal a,
  .footer__consent { padding-block: 10px; }
  .footer__legal { gap: 0 10px; }
  .wa-link { padding-block: 9px; margin-top: 19px; }
  .footer__legal { padding-block: 12px 20px; }
  .footer__legal > span:last-child { gap: 0 18px; }
  .consent { left: 12px; bottom: 12px; width: calc(100% - 24px); padding: 16px; }
  /* Phones: the banner covers the content, so dim the page behind it while a choice is pending */
  body::after { content: ""; position: fixed; inset: 0; z-index: 55; background: rgba(0, 0, 0, .75); opacity: 0; pointer-events: none; transition: opacity .3s ease; }
  .consent-open::after { opacity: 1; pointer-events: auto; }
  .consent-open .wa-float { opacity: 0; pointer-events: none; }
  .legal__table { overflow: visible; }
  .legal__table table { min-width: 0; }
  .legal__table thead { display: none; }
  .legal__table :is(table, tbody, tr, td) { display: block; }
  .legal__table td { padding: 12px 16px; }
  .legal__table td + td { border-top: 1px solid var(--line-2); }
  .legal__table td::before { content: attr(data-label); display: block; margin-bottom: 2px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
}

/* Narrowest phones: the email address no longer fits half the width, so Email and Phone stack */
@media (max-width: 374px) {
  .footer__col--contact { grid-column: 1 / -1; }
}
