/* Power Up by Kratos · site.css
   Palette A: white / black / two reds. Provisional type: Open Sans + Archivo Black (Google Fonts). */

:root {
  --white: #FFFFFF;
  --black: #000000;
  --red-logo: #EA2A2A;   /* triangle, bars */
  --red: #C8102E;        /* buttons, links */
  --red-dark: #A80D26;   /* hover */
  --grey-1: #6B6B6B;
  --grey-2: #E6E6E6;
  --grey-3: #F2F2F2;
  --ink-2: #444444;      /* body text on white */
  --ink-dark-2: #CFCFCF; /* body text on black */
  --mid: #8A8A8A;
  --light: #BDBDBD;
  --ghost: #141414;
  --ghost-2: #1F1F1F;
  --line-dark: #2A2A2A;
  --line-dark-2: #3A3A3A;
  --sans: 'Open Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --display: 'Archivo Black', Impact, 'Arial Black', sans-serif;
  --wrap: 1200px;
  --gutter: 24px;
  --nav-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
/* html only: overflow on body too makes body its own scroll box and un-sticks the nav */
html.menu-open { overflow: hidden; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  color: var(--black);
  background: var(--white);
  overflow-x: hidden;
  overflow-x: clip; /* no scroll box of its own, so the sticky nav survives html.menu-open */
}
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
b { font-weight: inherit; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.dark :focus-visible, .cta :focus-visible, .foot :focus-visible { outline-color: var(--white); }

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
}

.skip {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--black); color: var(--white); padding: 10px 14px; border-radius: 8px; font-weight: 700;
}
.skip:focus { top: 16px; }

/* Breakpoint helpers */
@media (min-width: 768px) { .only-mobile { display: none !important; } }
@media (max-width: 767px) { .only-desktop { display: none !important; } }

/* ---------- Type & shared pieces ---------- */
.eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--red);
  display: flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; display: block; width: 22px; height: 3px; background: var(--red); }
.dark .eyebrow { color: var(--white); }
.dark .eyebrow::before { background: var(--red-logo); }

.h2 {
  font-family: var(--display); font-weight: 400;
  font-size: 40px; line-height: 1.1; letter-spacing: -.01em; margin-top: 14px;
}
.lead { font-size: 17px; line-height: 1.6; color: var(--ink-2); margin-top: 14px; max-width: 640px; }
.lead--wide { max-width: 760px; }
.dark .lead { color: var(--ink-dark-2); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 52px; padding: 0 26px; border-radius: 10px;
  font-size: 15px; font-weight: 700; white-space: nowrap; cursor: pointer;
  transition: background-color .15s ease, color .15s ease;
}
.btn-sm { height: 44px; padding: 0 20px; font-size: 14px; }
.btn-lg { height: 56px; padding: 0 32px; }
.btn-red { background: var(--red); color: var(--white); }
.btn-red:hover { background: var(--red-dark); }
.btn-ghost { border: 2px solid var(--white); color: var(--white); }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); }
.btn-white { background: var(--white); color: var(--red); }
.btn-white:hover { background: #FFE1E1; }

.card { background: var(--white); border: 1px solid var(--grey-2); border-radius: 16px; padding: 28px; }
.card__icon { flex: none; }
.ct { font-size: 17px; font-weight: 800; margin-top: 14px; line-height: 1.3; }
.ct--tight { margin-top: 10px; }
.ct--top { margin-top: 0; }
.cp { font-size: 14px; line-height: 1.6; color: var(--ink-2); margin-top: 8px; }

.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* Placeholders for content still to come (photos, credentials) */
.ph {
  border: 1px dashed var(--mid); color: var(--mid);
  font-size: 11px; letter-spacing: .06em; text-transform: uppercase;
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 10px; border-radius: 12px;
}
.ph--dark { border-color: var(--line-dark-2); }
.tag {
  display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--mid); border: 1px dashed var(--light); border-radius: 6px; padding: 3px 7px; vertical-align: middle;
}
.tag--dark { border-color: var(--line-dark-2); }

/* ---------- Sections ---------- */
.sec { position: relative; overflow: hidden; padding: 72px 0; scroll-margin-top: var(--nav-h); }
.sec--grey { background: var(--grey-3); }
.dark { background: var(--black); color: var(--white); }
.sec__grid { margin-top: 36px; }
.sec__grid--tight { margin-top: 32px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--white); border-bottom: 1px solid var(--grey-2);
}
.nav__in { height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand img { width: 52px; height: 45px; }
.brand__name { font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; white-space: nowrap; }
.brand { min-height: 44px; }
.nav__panel { display: flex; align-items: center; }
.nav__links { display: flex; gap: 14px; font-size: 14px; font-weight: 600; }
.nav__links a { display: inline-block; padding: 12px 9px; }
.nav__links a:hover { color: var(--red); }
.nav__apply-mobile { display: none; }
.nav__right { display: flex; align-items: center; gap: 20px; flex: none; }
.lang { font-size: 13px; font-weight: 700; display: flex; align-items: center; }
.lang__sep { color: var(--light); white-space: pre; }
.lang a { display: inline-block; padding: 12px 3px; color: var(--grey-1); }
.lang a:hover { color: var(--red); }
.lang__on { padding: 0 3px; }
.burger {
  display: none; align-items: center; justify-content: center;
  width: 44px; height: 44px; margin-right: -10px; padding: 0;
  border: 0; background: none; color: var(--black); cursor: pointer;
}
.burger__close { display: none; }
.nav.is-open .burger__open { display: none; }
.nav.is-open .burger__close { display: block; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero__ghost {
  position: absolute; right: -10px; top: 150px;
  font-family: var(--display); font-size: 320px; line-height: 1; letter-spacing: -.03em;
  color: var(--ghost); user-select: none; pointer-events: none;
}
.hero__in { display: flex; align-items: center; justify-content: space-between; gap: 48px; }
.hero__text { position: relative; max-width: 640px; flex: 1 1 auto; padding: 48px 0; }
.hero__title {
  margin-top: 18px; font-family: var(--display); font-weight: 400;
  font-size: clamp(42px, 4.3vw, 62px); line-height: 1.05; letter-spacing: -.015em;
}
.hero__lead { margin-top: 22px; max-width: 560px; }
.hero__cta { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero__talk { margin-top: 14px; font-size: 14px; color: var(--ink-dark-2); }
.hero__talk a { color: var(--white); font-weight: 700; text-decoration: underline; }
.hero__media { position: relative; width: 480px; flex: none; }
.hero__media picture, .about__in picture, .train__grid picture, .apply__radios picture { display: contents; }
picture source { display: none; }
/* The photo is mostly black: lighten lets the ghost PUK show behind him, the mask melts its sides into the page */
.hero__photo {
  display: block; width: 100%; height: auto; mix-blend-mode: lighten;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 86%, transparent);
          mask-image: linear-gradient(to right, transparent, #000 10%, #000 86%, transparent);
}

/* Workout card (hero and phone) */
.wcard {
  position: absolute; right: -16px; top: 64%; width: 260px; height: 140px;
  border-radius: 14px; background: var(--black); color: var(--white);
  border: 1px solid var(--line-dark); padding: 14px; overflow: hidden;
}
.wcard__ghost {
  position: absolute; right: -4px; top: 14px;
  font-family: var(--display); font-size: 68px; line-height: 1; letter-spacing: -.03em; color: var(--ghost-2);
}
.wcard__tri { position: absolute; right: 14px; bottom: 14px; }
.wcard__meta { position: relative; font-size: 9px; font-weight: 700; letter-spacing: .08em; color: var(--ink-dark-2); }
.wcard__title { position: relative; margin-top: 4px; font-size: 18px; font-weight: 800; }
.wcard__pill {
  position: absolute; left: 14px; bottom: 14px; height: 28px; padding: 0 12px; border-radius: 999px;
  background: var(--red); display: flex; align-items: center; font-size: 11px; font-weight: 700;
}

/* ---------- Proof strip ---------- */
.strip { border-bottom: 1px solid var(--grey-2); }
.strip__in {
  min-height: 88px; padding-top: 16px; padding-bottom: 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap;
  font-size: 14px; font-weight: 600;
}
.strip__item { display: flex; align-items: center; gap: 10px; }
.strip__item svg { flex: none; }

/* ---------- How it works ---------- */
.steps li { list-style: none; }
.step__n { display: block; font-family: var(--display); font-size: 28px; line-height: 1.2; color: var(--red); }

/* ---------- What you get ---------- */
.what__in { display: flex; align-items: center; justify-content: space-between; gap: 48px; }
.what__text { max-width: 640px; flex: 1 1 auto; }
.checks { margin-top: 20px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; line-height: 1.5; margin-top: 14px; }
.checks svg { flex: none; margin-top: 2px; }
.what__cta { margin-top: 30px; }

.phone {
  position: relative; flex: none; width: 300px; height: 540px; overflow: hidden;
  border-radius: 34px; background: var(--white); border: 1px solid var(--grey-2);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .12); padding: 20px 16px 0;
}
.phone__top { display: flex; align-items: center; justify-content: space-between; }
.phone__logo { display: flex; align-items: center; gap: 6px; font-family: var(--display); font-size: 15px; line-height: 1; letter-spacing: -.02em; }
.phone__date { margin-top: 16px; font-size: 9px; font-weight: 700; letter-spacing: .06em; color: var(--grey-1); }
.phone__hello { font-size: 18px; font-weight: 800; }
.wcard--phone { position: relative; left: 0; bottom: 0; margin-top: 12px; width: 266px; height: 140px; border-radius: 12px; border: 0; padding: 12px; }
.wcard--phone .wcard__ghost { font-size: 66px; top: 16px; }
.wcard--phone .wcard__tri { right: 12px; bottom: 14px; }
.wcard--phone .wcard__title { font-size: 16px; }
.wcard--phone .wcard__pill { left: 12px; bottom: 12px; }
.phone__label { margin-top: 14px; font-size: 11px; font-weight: 700; letter-spacing: .06em; color: var(--grey-1); }
.habit { margin-top: 10px; display: flex; align-items: center; gap: 10px; }
.habit:first-of-type { margin-top: 8px; }
.habit__dot { width: 18px; height: 18px; flex: none; border-radius: 50%; border: 1.5px solid var(--light); display: flex; align-items: center; justify-content: center; }
.habit__dot--on { background: var(--red); border: 0; }
.habit__name { font-size: 12px; font-weight: 600; }
.habit__count { margin-left: auto; font-size: 11px; color: var(--grey-1); }
.phone__tabs {
  position: absolute; left: 0; right: 0; bottom: 0; height: 54px; padding-bottom: 6px;
  border-top: 1px solid var(--grey-2);
  display: flex; justify-content: space-around; align-items: center;
  font-size: 9px; font-weight: 700; color: var(--grey-1);
}
.phone__tabs span { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.phone__tabs .is-on { color: var(--red); }

/* ---------- About ---------- */
.about__in { display: flex; align-items: center; justify-content: space-between; gap: 48px; }
.about__photo { display: block; width: 440px; height: auto; aspect-ratio: 11 / 10; flex: none; }

/* Training photos, between About and Results */
.train { padding-bottom: 64px; }
.train__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.train__grid img { display: block; width: 100%; height: auto; }
.about__text { max-width: 680px; flex: 1 1 auto; }
.about__text .lead { max-width: 680px; }
.about__creds { margin-top: 18px; min-height: 72px; justify-content: flex-start; text-align: left; }
.about__ig { margin-top: 22px; font-size: 14px; line-height: 1.7; color: var(--ink-dark-2); }
.about__ig a { color: var(--white); font-weight: 700; }
.about__ig a:hover { text-decoration: underline; }

/* ---------- Numbers ---------- */
.num { font-family: var(--display); font-size: 44px; line-height: 1; color: var(--red); }

/* ---------- Pricing ---------- */
.tier { display: flex; flex-direction: column; min-height: 300px; }
.tier--featured { border-color: var(--red); box-shadow: inset 0 0 0 1px var(--red); }
.price { margin-top: 8px; display: flex; align-items: baseline; gap: 8px; }
.price b { font-family: var(--display); font-size: 36px; line-height: 1.1; }
.price span { font-size: 13px; color: var(--grey-1); }
.tier .cp { margin-top: 10px; flex: 1 1 auto; }
.tier__cta { margin-top: 24px; }

/* ---------- FAQ ---------- */
.faq__grid { margin-top: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; align-items: start; }
.faq__item { border-bottom: 1px solid var(--grey-2); }
.faq__item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 0; font-size: 16px; font-weight: 800; line-height: 1.4;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--red); }
.faq__icon { flex: none; color: var(--red); }
.faq__item[open] .faq__v { display: none; }
.faq__item p { font-size: 14px; line-height: 1.6; color: var(--ink-2); padding: 0 36px 20px 0; margin-top: -6px; }
.faq__item p a { color: var(--red); font-weight: 700; text-decoration: underline; }

/* ---------- Apply (CTA band) ---------- */
.cta { background: var(--red); color: var(--white); padding: 64px 0; scroll-margin-top: var(--nav-h); }
.cta__head { max-width: 760px; }
.cta__title { font-family: var(--display); font-weight: 400; font-size: 44px; line-height: 1.1; }
.cta__sub { margin-top: 12px; font-size: 17px; color: #FFE1E1; }
@media (min-width: 1024px) {
  .cta { padding: 88px 0; }
  .cta__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: start; }
  .cta__head { position: sticky; top: calc(var(--nav-h) + 32px); }
  .cta__title { font-size: 64px; line-height: 1.02; }
  .cta__sub { margin-top: 20px; font-size: 18px; }
  .cta__in .apply { margin-top: 0; }
}

/* ---- Application form: black card on the red band. Stepped by site.js (.is-stepped); without it, one long form ---- */
.apply { position: relative; margin-top: 36px; background: var(--black); color: var(--white); border-radius: 16px; padding: 36px; color-scheme: dark; box-shadow: 0 24px 60px rgba(0, 0, 0, .28); scroll-margin-top: calc(var(--nav-h) + 16px); }
.apply :focus-visible { outline-color: var(--white); }
.apply [hidden] { display: none !important; }
.apply__vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Progress: three bars that power up */
.apply__progress { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 32px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--mid); }
.apply__progress li { position: relative; padding-top: 14px; transition: color .2s ease; }
.apply__progress li::before, .apply__progress li::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; border-radius: 2px; background: var(--line-dark-2); }
.apply__progress li::after { background: var(--red-logo); transform: scaleX(0); transform-origin: left; transition: transform .35s ease; }
.apply__progress li[aria-current], .apply__progress li.is-done { color: var(--white); }
.apply__progress li[aria-current]::after, .apply__progress li.is-done::after { transform: scaleX(1); }

.apply__step { animation: applyIn .28s ease both; }
@keyframes applyIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.apply:not(.is-stepped) .apply__step + .apply__step { margin-top: 36px; padding-top: 36px; border-top: 1px solid var(--line-dark); }
.apply__title { font-family: var(--display); font-weight: 400; font-size: 28px; line-height: 1.15; margin-bottom: 28px; }
.apply__title:focus { outline: none; }
.apply__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
fieldset.field { display: block; border: 0; margin: 0; padding: 0; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-weight: 600; font-size: 15px; line-height: 1.4; color: var(--white); }
.field legend { padding: 0; margin-bottom: 10px; }
.field__opt { font-weight: 400; color: var(--mid); }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 16px; line-height: 1.4; color: var(--white); background: var(--ghost);
  border: 1px solid var(--line-dark-2); border-radius: 10px; padding: 0 14px; height: 48px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { display: block; height: auto; min-height: 104px; padding: 12px 14px; resize: vertical; }
.field input:hover, .field textarea:hover { border-color: var(--mid); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--red-logo); box-shadow: 0 0 0 3px rgba(234, 42, 42, .28); }
.field input::placeholder, .field textarea::placeholder { color: var(--mid); }
.field input:-webkit-autofill { -webkit-text-fill-color: var(--white); caret-color: var(--white); box-shadow: 0 0 0 100px var(--ghost) inset; }

/* Tap answers: radios that look like buttons */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips--four { display: grid; grid-template-columns: repeat(4, 1fr); }
.chip { position: relative; flex: 1 1 auto; display: flex; cursor: pointer; }
.field .chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; padding: 0; opacity: 0; cursor: pointer; }
.chip > span {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 48px; padding: 8px 14px;
  background: var(--ghost); border: 1px solid var(--line-dark-2); border-radius: 10px;
  font-size: 15px; font-weight: 600; line-height: 1.25; text-align: center; color: var(--white);
  transition: background-color .15s ease, border-color .15s ease;
}
.chip:hover > span { border-color: var(--mid); }
.chip input:checked + span { background: var(--red); border-color: var(--red); }
.chip input:focus-visible + span { outline: 3px solid var(--white); outline-offset: 2px; }
.chip--tier > span { min-height: 68px; padding: 8px 4px; }
.chip--tier strong { font-weight: 700; font-size: 15px; }
.chip--tier small { margin-top: 2px; font-size: 13px; font-weight: 400; color: var(--light); }
.chip--tier input:checked + span small { color: var(--white); }

.apply__call { display: flex; align-items: center; gap: 14px; }
.apply__call .chips { flex: 1; }
.apply__avatar { flex: none; width: 52px; height: 52px; border-radius: 50%; }
.check { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; line-height: 1.5; color: var(--ink-dark-2); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--red); cursor: pointer; }
.check a { color: var(--white); text-decoration: underline; text-underline-offset: 2px; }

/* Errors, in the step they belong to */
.field__err { margin-top: 8px; font-size: 14px; font-weight: 600; line-height: 1.4; color: #FF6B6B; }
.field.is-invalid .field__err { margin-top: 0; }
fieldset.field .field__err { margin-top: 8px; }
.is-invalid > input, .is-invalid > textarea { border-color: #FF6B6B; }
.is-invalid .chip > span { border-color: #FF6B6B; }

.apply__hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.apply__turnstile { margin-top: 20px; }
.apply__turnstile:empty { display: none; }
.apply__foot { margin-top: 32px; display: flex; align-items: center; justify-content: flex-end; gap: 12px; }
.apply__back {
  margin-right: auto; height: 56px; padding: 0 22px; font: inherit; font-size: 15px; font-weight: 700; cursor: pointer;
  color: var(--white); background: transparent; border: 1px solid var(--line-dark-2); border-radius: 10px;
  transition: border-color .15s ease;
}
.apply__back:hover { border-color: var(--white); }
.apply__back::before { content: "←"; margin-right: 8px; }
.apply__send { border: 0; font-family: inherit; }
.apply__send.is-next::after { content: "→"; margin-left: 10px; }
.apply.is-sending .apply__send { opacity: .6; cursor: progress; }
.apply__note { margin-top: 16px; font-size: 14px; line-height: 1.5; color: var(--mid); text-align: right; }
.apply:not(.is-stepped) .apply__note { text-align: left; }
.apply__msg { margin-top: 20px; padding: 14px 16px; border-radius: 10px; font-size: 15px; line-height: 1.5; }
.apply__msg:focus { outline: none; }
.apply__msg--err { background: rgba(234, 42, 42, .14); border: 1px solid var(--red-logo); color: #FFD6D6; }
.apply__msg a { text-decoration: underline; }
.apply__done { animation: applyIn .28s ease both; }
.apply__done:focus { outline: none; }
.apply__done .apply__title { margin: 20px 0 12px; }
.apply__done p { font-size: 16px; line-height: 1.6; color: var(--ink-dark-2); }
.apply.is-done > :not(.apply__done) { display: none; }

/* ---------- Footer ---------- */
.foot { background: var(--black); color: var(--white); padding: 56px 0; font-size: 13px; }
.foot__in { display: flex; align-items: center; justify-content: space-between; gap: 32px 40px; flex-wrap: wrap; }
.foot__brand { display: flex; align-items: center; gap: 12px; }
.foot__name { font-weight: 700; letter-spacing: .2em; text-transform: uppercase; font-size: 12px; }
.foot__muted { color: var(--mid); }
.foot__brand .foot__muted { margin-top: 4px; }
.foot__cols { display: flex; gap: 40px; color: var(--ink-dark-2); flex-wrap: wrap; }
.foot__h { color: var(--mid); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.foot__v { margin-top: 6px; }
.foot__v a:hover { color: var(--white); text-decoration: underline; }
/* Inline text links: 44px hit area without moving the line */
.about__ig a, .foot__v a, .hero__talk a, .faq__item p a, .consent__text a, .prose a { display: inline-block; padding: 13px 1px; margin: -13px -1px; }

/* ======================================================
   Tablet and small desktop (< 1024)
   ====================================================== */
@media (max-width: 1023px) {
  :root { --nav-h: 64px; }
  .brand img { width: 40px; height: 35px; }
  .brand__name { font-size: 10px; letter-spacing: .18em; }
  .nav__panel {
    display: none; position: absolute; left: 0; right: 0; top: var(--nav-h);
    flex-direction: column; align-items: stretch;
    background: var(--white); border-bottom: 1px solid var(--grey-2);
    padding: 4px var(--gutter) 24px; box-shadow: 0 16px 32px rgba(0, 0, 0, .08);
    max-height: calc(100vh - var(--nav-h)); max-height: calc(100dvh - var(--nav-h));
    overflow-y: auto; overscroll-behavior: contain;
  }
  .nav.is-open .nav__panel { display: flex; }
  .nav__links { flex-direction: column; gap: 0; font-size: 16px; }
  .nav__links a { padding: 14px 0; border-bottom: 1px solid var(--grey-2); }
  .nav__apply-mobile { display: inline-flex; margin-top: 20px; }
  .nav__apply { display: none; }
  .nav__right { gap: 16px; }
  .lang { font-size: 12px; }
  .burger { display: flex; }

  .hero__in { flex-direction: column; align-items: flex-start; gap: 0; }
  .hero__text { padding-bottom: 8px; }
  .hero__media { width: 100%; max-width: 480px; align-self: center; }
  .tiers { grid-template-columns: 1fr; max-width: 640px; }
  .tier--featured { order: -1; }
  .hero__ghost { font-size: 260px; top: auto; bottom: -40px; }
  .grid4 { grid-template-columns: repeat(2, 1fr); }
  .what__in, .about__in { flex-direction: column; align-items: flex-start; }
  .phone { margin: 24px auto 0; }
  .about__photo { width: 100%; max-width: 440px; }
}

/* ======================================================
   Mobile (< 768)
   ====================================================== */
@media (max-width: 767px) {
  .sec { padding: 48px 0; }
  .h2 { font-size: 32px; }
  .lead { font-size: 16px; }
  .grid3, .grid4 { grid-template-columns: 1fr; gap: 16px; }
  .sec__grid, .sec__grid--tight { margin-top: 28px; }
  .card { padding: 24px; }

  .hero { padding-bottom: 28px; }
  .hero__text { padding: 40px 0 0; }
  .hero__in { gap: 0; }
  .hero__ghost { font-size: 170px; right: -8px; top: auto; bottom: -30px; }
  .hero__title { margin-top: 18px; font-size: clamp(28px, 8.3vw, 42px); }
  .hero__lead { margin-top: 18px; font-size: 16px; }
  .cp, .faq__item p, .about__ig { font-size: 16px; }
  .hero__cta { margin-top: 28px; flex-direction: column; gap: 12px; }
  .hero__cta .btn { width: 100%; }
  .hero__media { width: auto; max-width: none; align-self: stretch; margin: 20px calc(-1 * var(--gutter)) 0; }
  .hero__photo { -webkit-mask-image: none; mask-image: none; }
  .wcard { position: relative; right: auto; top: auto; margin: 8px var(--gutter) 0; width: 220px; height: 110px; border-radius: 12px; padding: 12px; }
  .train { padding-bottom: 40px; }
  .train__grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .wcard__ghost { font-size: 54px; top: 10px; }
  .wcard__tri { right: 12px; bottom: 12px; width: 20px; height: 17px; }
  .wcard__meta { font-size: 8px; }
  .wcard__title { margin-top: 3px; font-size: 15px; }
  .wcard__pill { left: 12px; bottom: 12px; height: 24px; padding: 0 10px; font-size: 10px; }

  .strip__in { flex-direction: column; align-items: flex-start; gap: 12px; padding-top: 20px; padding-bottom: 20px; }

  .phone { width: 300px; max-width: 100%; }
  .wcard--phone { width: 100%; height: 140px; }
  .about__creds { min-height: 0; padding: 14px; }
  .tier { min-height: 0; }
  .faq__grid { grid-template-columns: 1fr; margin-top: 24px; }

  .cta { padding: 48px 0; }
  .cta__title { font-size: 34px; }
  .cta__sub { font-size: 16px; }
  .cta .btn { width: 100%; }
  .apply { margin-top: 28px; padding: 24px 16px; border-radius: 12px; }
  .apply__progress { margin-bottom: 24px; font-size: 11px; }
  .apply__title { font-size: 24px; margin-bottom: 22px; }
  .apply__grid { gap: 20px 12px; }
  .apply__grid > * { grid-column: 1 / -1; }
  .apply__grid > .field--half { grid-column: auto; }
  .chips--four { grid-template-columns: 1fr 1fr; }
  .apply__call { align-items: flex-start; }
  .apply__call .chips { flex-direction: column; }
  .apply__foot { margin-top: 24px; }
  .apply__back { height: 56px; padding: 0 18px; }
  .apply .apply__send { flex: 1; width: auto; padding: 0 16px; }
  .apply__note { text-align: center; }

  .foot { padding: 40px 0; }
  .foot__in { flex-direction: column; align-items: flex-start; gap: 28px; }
  .foot__cols { flex-direction: column; gap: 20px; }
}

/* ======================================================
   Consent banner
   ====================================================== */
.consent {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: var(--white); border-top: 1px solid var(--grey-2); box-shadow: 0 -8px 30px rgba(0, 0, 0, .08);
  padding: 14px var(--gutter);
  display: flex; align-items: center; justify-content: center; gap: 14px 28px; flex-wrap: wrap;
  font-size: 13px; line-height: 1.5; color: var(--ink-2);
}
.consent[hidden] { display: none; }
.consent__text { max-width: 620px; }
.consent__text a { color: var(--red); font-weight: 700; text-decoration: underline; }
.consent__btns { display: flex; gap: 10px; flex: none; }
.btn-outline { border: 2px solid var(--black); color: var(--black); }
.btn-outline:hover { background: var(--grey-3); }
@media (max-width: 767px) {
  .consent { flex-direction: column; align-items: stretch; gap: 10px; padding: 12px var(--gutter); font-size: 14px; line-height: 1.45; }
  .consent__btns { flex-direction: row; }
  .consent__btns .btn { flex: 1 1 0; padding: 0 8px; }
}

/* ======================================================
   Secondary pages: privacy, 404
   ====================================================== */
.page { padding: 72px 0 96px; }
.page__title {
  font-family: var(--display); font-weight: 400;
  font-size: 40px; line-height: 1.1; letter-spacing: -.01em; margin-top: 14px;
}
.prose { max-width: 720px; }
.prose h2 { font-size: 20px; font-weight: 800; line-height: 1.3; margin-top: 40px; }
.prose p, .prose li { font-size: 16px; line-height: 1.7; color: var(--ink-2); }
.prose p { margin-top: 12px; }
.prose ul { list-style: disc; padding-left: 22px; margin-top: 12px; }
.prose li { margin-top: 6px; }
.prose a { color: var(--red); font-weight: 700; text-decoration: underline; }
.prose__date { margin-top: 40px; font-size: 14px; color: var(--grey-1); }

.notfound { position: relative; overflow: hidden; min-height: calc(100vh - var(--nav-h)); display: flex; align-items: center; padding: 72px 0; }
.notfound__code { font-family: var(--display); font-size: 120px; line-height: 1; color: var(--red-logo); }
.notfound .page__title { margin-top: 10px; }
.notfound .lead { max-width: 520px; }
.notfound .btn { margin-top: 30px; }
@media (max-width: 767px) {
  .page { padding: 48px 0 72px; }
  .page__title { font-size: 32px; }
  .notfound__code { font-size: 88px; }
}

/* The Portuguese and Spanish menus are longer: tighter until they fit at their normal size */
@media (min-width: 1024px) and (max-width: 1199px) {
  html:not([lang="en"]) .nav__in { gap: 16px; }
  html:not([lang="en"]) .nav__links { gap: 2px; font-size: 13px; white-space: nowrap; }
  html:not([lang="en"]) .nav__links a { padding: 12px 6px; }
  html:not([lang="en"]) .nav__right { gap: 12px; }
  html:not([lang="en"]) .brand__name { white-space: normal; width: 104px; line-height: 1.3; }
}

/* Pages with no menu keep their button in the header: the logo alone leaves room for it */
@media (max-width: 559px) {
  .nav__in:not(:has(.burger)) .brand__name { display: none; }
}

/* Narrow phones: the three languages stay visible, so the brand name folds onto two lines */
@media (max-width: 479px) {
  .nav__in { gap: 12px; }
  .nav__right { gap: 8px; }
  .brand { gap: 8px; }
  .brand__name { white-space: normal; width: 84px; line-height: 1.3; }
}
@media (max-width: 359px) {
  .lang__sep { display: none; }
}
