/*
 * Homepage styles: index.html only.
 *
 * Built to the Figma "landing page" design (file fynrox-final-360, page
 * 7:2891): the 1440 desktop frame (23:2) and the 390 mobile frame (49:2).
 * The other pages still use styles.css. The homepage loads this file
 * instead, so neither design can restyle the other while the rest of the
 * site is still on the old look.
 *
 * Layout steps: the desktop frame above 1100px; the hero stacks below
 * that; card rows drop to one column below 900px; below 720px the page
 * follows the mobile frame.
 *
 * The deployed routing file is generated by scripts/merge-web-deploy.js
 * and currently sets no long-lived cache for /assets/* (the one-year rule
 * in apps/landing/staticwebapp.config.json is not the file that gets
 * deployed). The ?v= on this file's <link> in index.html is there so a
 * stale copy can't stick if that changes: bump it whenever this file
 * changes.
 */

:root {
  --ink: #0a0a0a;
  --surface: #ffffff;
  --surface-alt: #f5f5f5;
  --surface-dark: #1a1a1a;
  --mint: #70d4a8;
  --mint-hover: #8adcb9;
  --accent-text: #6fd3a8;
  --text-secondary: #6b6b6b;
  --text-on-dark-muted: #a3a3a3;
  --grey-strong: #525252;
  --border: #e5e5e5;
  --border-dark: #2e2e2e;

  --font-display: "Bricolage Grotesque", "Figtree", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --gutter: 24px;
  --content: 1192px;
  --section-y: 104px;
}

/* ------------------------------------------------------------------ */
/* Base                                                                 */
/* ------------------------------------------------------------------ */

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

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

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
p,
ul,
ol,
figure {
  margin: 0;
}

h1,
h2,
h3 {
  font: inherit;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
}

img,
svg {
  display: block;
}

/*
 * Bricolage Grotesque is a variable font with an optical-size axis, and
 * Figma sizes it automatically (larger text gets the tighter display
 * cut). The browser's default font-optical-sizing: auto does the same,
 * so the opsz axis is loaded and left alone: measured against the design,
 * "Know what to" at 88px comes out at 508px here and 509px in Figma.
 */
.brand__word,
.hero__title,
.h2,
.letter__char,
.feature__title,
.program__title,
.step__num,
.step__title,
.plan__name,
.partner__title,
.download__title,
.site-foot__word,
.scr-hello,
.scr-workout__name {
  font-family: var(--font-display);
}

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.is-dark :focus-visible {
  outline-color: var(--mint);
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -100px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--mint);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
}

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

.container {
  width: min(var(--content), 100% - 2 * var(--gutter));
  margin-inline: auto;
}

.accent {
  color: var(--accent-text);
}

/* ------------------------------------------------------------------ */
/* Shared section parts                                                 */
/* ------------------------------------------------------------------ */

.section {
  padding-block: var(--section-y);
}

.section--alt {
  background: var(--surface-alt);
}

.section--dark {
  background: var(--ink);
  color: var(--surface);
}

.section__stack {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

/* Section label: ink with a mint dot on light backgrounds, mint on dark. */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 12px;
  color: var(--ink);
}

.eyebrow::before {
  content: "";
  flex: none;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--mint);
}

.is-dark .eyebrow {
  color: var(--mint);
}

.is-dark .eyebrow::before {
  content: none;
}

.h2 {
  font-weight: 700;
  font-size: 46px;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 48px;
}

.section-head__main {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
}

.section-head__aside {
  flex: 0 0 420px;
  font-size: 16px;
  color: var(--grey-strong);
}

.section-head__aside--narrow {
  flex-basis: 400px;
}

.is-dark .section-head__aside {
  color: var(--text-on-dark-muted);
}

.section-head__aside a {
  color: var(--ink);
  font-weight: 600;
  text-underline-offset: 2px;
}

.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

/* Plans shows two cards for now (Basic and Prime). */
.cards-3--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* Partners shows only the professional card for now (gyms and creators
   are hidden until they launch): a coach photo beside a compact card.
   The card sets the row height; the photo just fills its slot (it is
   absolutely positioned so its tall portrait size can't stretch the row). */
.partner-feature {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 16px;
}

.partner-feature__media {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  border-radius: 24px;
  background: var(--ink);
}

.partner-feature__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 6%;
}

.partner--feature {
  justify-content: center;
}

.partner--feature .bullets {
  margin-bottom: 6px;
}

.partner--feature .bullets li::before {
  background: var(--mint);
}

/* Beats .btn-ink's full-width, pushed-to-bottom, ink defaults (declared
   later): content width, and mint like the site's other primary actions. */
.partner .btn-ink--auto {
  width: auto;
  margin-top: 4px;
  padding: 0 28px;
  background: var(--mint);
  color: var(--ink);
}

.partner__link {
  display: block;
  margin-top: 12px;
  font-size: 14px;
  font-weight: 600;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.partner .btn-ink--auto:hover {
  background: var(--mint-hover);
}

@media (max-width: 719px) {
  .partner-feature {
    grid-template-columns: minmax(0, 1fr);
  }

  .partner-feature__media {
    min-height: 240px;
  }

  .partner .btn-ink--auto {
    width: 100%;
  }
}

/* ------------------------------------------------------------------ */
/* Buttons                                                              */
/* ------------------------------------------------------------------ */

.pill {
  display: inline-flex;
  align-items: center;
  padding: 11px 18px;
  border-radius: 999px;
  background: var(--mint);
  color: var(--ink);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  white-space: nowrap;
}

.pill:hover {
  background: var(--mint-hover);
}

/* "Download for Android": a two-line label beside a phone glyph on
   desktop, one full-width line on mobile. */
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 58px;
  padding: 0 24px;
  border-radius: 999px;
  background: var(--mint);
  color: var(--ink);
  text-decoration: none;
}

.store-btn:hover {
  background: var(--mint-hover);
}

.store-btn__glyph {
  flex: none;
  width: 14px;
  height: 20px;
  border: 2px solid currentColor;
  border-radius: 3px;
}

.store-btn__label {
  display: flex;
  flex-direction: column;
  white-space: nowrap;
}

.store-btn__pre {
  font-size: 13px;
}

.store-btn__name {
  font-weight: 700;
  font-size: 17px;
}

.btn-ink {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 50px;
  margin-top: auto;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--surface);
  font-weight: 700;
  font-size: 15px;
  text-align: center;
  text-decoration: none;
}

.btn-ink:hover {
  background: #2a2a2a;
}

/* ------------------------------------------------------------------ */
/* Header                                                               */
/* ------------------------------------------------------------------ */

.site-head {
  position: relative;
  z-index: 2;
  background: var(--ink);
  color: var(--surface);
}

.site-head__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1240px, 100% - 2 * var(--gutter));
  height: 72px;
  margin-inline: auto;
  padding-inline: 24px;
  border-bottom: 1px solid var(--border-dark);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--surface);
  text-decoration: none;
}

.brand__mark {
  width: 36px;
  height: 36px;
}

.brand__word {
  font-weight: 700;
  font-size: 22px;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  margin: -8px;
  padding: 8px;
  border: 0;
  border-radius: 8px;
  background: none;
  color: var(--surface);
  cursor: pointer;
}

/* Links sit centred between the logo and the actions, as with the
   design's three-way space-between: the empty first item gives the nav
   the same gap on its left as between its two groups. */
.topnav {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.topnav::before {
  content: "";
}

.topnav__links {
  display: flex;
  gap: 28px;
}

.topnav__links a {
  font-size: 16px;
  color: var(--text-on-dark-muted);
  text-decoration: none;
  white-space: nowrap;
}

.topnav__links a:hover {
  color: var(--surface);
}

.topnav__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.topnav__signin {
  font-weight: 600;
  font-size: 15px;
  color: var(--surface-alt);
  text-decoration: none;
  white-space: nowrap;
}

.topnav__signin:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ------------------------------------------------------------------ */
/* Hero                                                                 */
/* ------------------------------------------------------------------ */

.hero {
  position: relative;
  overflow: hidden;
  padding-bottom: 96px;
  background: var(--ink);
  color: var(--surface);
}

.hero__glow {
  position: absolute;
  top: -12px;
  left: calc(50% + 120px);
  width: 760px;
  height: 760px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(111, 211, 168, 0.16), rgba(111, 211, 168, 0) 70%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 48px;
  width: min(1240px, 100% - 2 * var(--gutter));
  margin-inline: auto;
  padding: 72px 110px 0 24px;
}

.hero__text {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.hero__eyebrow {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 12px;
  color: var(--mint);
}

.hero__title {
  font-weight: 800;
  font-size: 88px;
  line-height: 1;
  letter-spacing: -0.035em;
  color: var(--surface);
}

.hero__lede {
  max-width: 540px;
  font-size: 21px;
  line-height: 1.55;
  color: var(--text-on-dark-muted);
}

/* The phone and its floating cards: an illustration with demo data. */
.stage {
  position: relative;
  flex: none;
  width: 480px;
  height: 720px;
}

.phone {
  position: absolute;
  top: 0;
  left: 75px;
  width: 330px;
  height: 700px;
  border-radius: 58px;
  overflow: hidden;
  background: linear-gradient(115.24deg, #3b3b3b 0%, #0e0e0e 28.571%, #2b2b2b 71.429%);
  box-shadow: 0 60px 100px rgba(0, 0, 0, 0.55);
}

.screen {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 306px;
  height: 676px;
  padding: 58px 18px 0;
  border-radius: 47px;
  overflow: hidden;
  background: var(--surface);
  color: var(--ink);
}

.screen__island {
  position: absolute;
  top: 13px;
  left: 50%;
  width: 104px;
  height: 30px;
  margin-left: -52px;
  border-radius: 999px;
  background: var(--ink);
}

.scr-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.scr-head__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.scr-date {
  font-size: 13px;
  color: var(--text-secondary);
}

.scr-hello {
  font-weight: 800;
  font-size: 30px;
  line-height: 1;
}

.scr-avatar {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--mint);
  font-weight: 800;
  font-size: 13px;
}

.scr-card {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface-alt);
}

.scr-mono {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 9px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.scr-mono--muted {
  color: var(--text-secondary);
}

.scr-brief {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 14px;
}

.scr-brief__text {
  font-size: 13px;
}

.scr-workout {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
}

.scr-workout__head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.scr-workout__icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--mint);
}

.scr-workout__name {
  font-weight: 800;
  font-size: 20px;
}

.scr-meta {
  font-size: 11.5px;
  color: var(--text-secondary);
}

.scr-btn {
  display: grid;
  place-items: center;
  height: 40px;
  border-radius: 999px;
  background: var(--mint);
  font-weight: 700;
  font-size: 13px;
}

.scr-nutrition {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
}

.scr-nutrition__rows {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.scr-bar {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.scr-bar__row {
  display: flex;
  justify-content: space-between;
  font-size: 11.5px;
}

.scr-bar__track {
  display: block;
  height: 5px;
  border-radius: 9px;
  background: var(--border);
  overflow: hidden;
}

.scr-bar__fill {
  display: block;
  height: 100%;
  border-radius: 9px;
  background: var(--mint);
}

.scr-bar__fill--ink {
  background: var(--ink);
}

.scr-stats {
  display: flex;
  padding: 12px 6px;
}

.scr-stat {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.scr-stat span {
  font-size: 11px;
  color: var(--text-secondary);
}

.scr-stat b {
  font-size: 15px;
}

.scr-stat small {
  font-size: 9.5px;
  color: var(--text-secondary);
}

.scr-tabs {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  height: 62px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.scr-tabs span {
  flex: 1 1 0;
  text-align: center;
  font-size: 9.5px;
  color: var(--text-secondary);
}

.scr-tabs .is-active {
  font-weight: 800;
  color: var(--ink);
}

/* Progress rings: the design's own SVGs, with a centred label. */
.ring {
  position: relative;
  flex: none;
  display: grid;
  place-items: center;
}

.ring svg {
  position: absolute;
  inset: 0;
}

.ring--74 {
  width: 74px;
  height: 74px;
}

.ring--92 {
  width: 92px;
  height: 92px;
}

.ring--100 {
  width: 100px;
  height: 100px;
}

.ring__label {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.ring__label b {
  font-weight: 800;
  font-size: 15px;
}

.ring__label small {
  font-size: 9px;
  color: var(--text-secondary);
}

.ring__label--lg b,
.ring__label--pct {
  font-weight: 800;
  font-size: 17px;
}

.float {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
}

.float--protein {
  top: 139px;
  left: -70px;
  width: 150px;
  align-items: center;
  border-color: var(--mint);
}

.float--reminder {
  top: 233px;
  left: 395px;
  width: 178px;
  gap: 6px;
}

.float--water {
  top: 421px;
  left: -89px;
  width: 160px;
  align-items: flex-start;
}

.float__title {
  font-weight: 700;
  font-size: 13px;
}

.float__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.float__stat b {
  font-size: 12px;
}

.float__stat span {
  font-size: 13px;
  color: var(--text-secondary);
}

.float__mono {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 9.5px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.float__name {
  font-weight: 700;
  font-size: 15px;
}

.float__sub {
  font-size: 13px;
  color: var(--text-secondary);
}

.float__head {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 13px;
}

.stage__caption {
  position: absolute;
  top: 712px;
  left: 75px;
  width: 330px;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 12px;
  text-align: center;
  color: var(--text-on-dark-muted);
}

/* ------------------------------------------------------------------ */
/* What Fynrox stands for                                               */
/* ------------------------------------------------------------------ */

.meaning__card {
  display: flex;
  flex-direction: column;
  gap: 36px;
  padding: 48px;
  border-radius: 28px;
  background: var(--ink);
  color: var(--surface);
}

.meaning .h2 {
  color: var(--surface-alt);
}

.letters {
  display: flex;
  border-top: 1px solid var(--border-dark);
}

.letter {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 24px 20px 4px;
  border-left: 1px solid var(--border-dark);
}

.letter:first-child {
  padding-left: 0;
  border-left: 0;
}

.letter__char {
  font-weight: 800;
  font-size: 64px;
  line-height: normal;
  color: var(--surface);
}

.letter__text {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.letter__name {
  font-weight: 700;
  font-size: 17px;
  color: var(--surface-alt);
}

.letter__desc {
  font-size: 14px;
  color: var(--text-on-dark-muted);
}

.letter--x .letter__char,
.letter--x .letter__name {
  color: var(--mint);
}

/* ------------------------------------------------------------------ */
/* The app                                                              */
/* ------------------------------------------------------------------ */

.app__stack {
  gap: 28px;
}

.app__title {
  max-width: 760px;
}

.app__rows {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.app__row1 {
  display: flex;
  gap: 16px;
}

.app__row2 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--surface);
}

.app__row2 .feature {
  padding-bottom: 82px;
}

.feature--dark {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--surface);
}

.feature__title {
  font-weight: 700;
  font-size: 26px;
}

.feature--dark .feature__title {
  color: var(--surface-alt);
}

.feature__body {
  font-size: 16px;
  color: var(--grey-strong);
}

.feature--dark .feature__body {
  color: var(--text-on-dark-muted);
}

.feature--train {
  flex: 1 1 0;
  min-width: 0;
  flex-direction: row;
  align-items: center;
  gap: 32px;
}

.feature__text {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.feature--fuel {
  flex: 0 0 470px;
}

.feature__spacer {
  flex: none;
  height: 40px;
}

.sets {
  flex: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 330px;
  font-size: 13px;
}

.set {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--surface-dark);
}

.set__n {
  font-weight: 500;
  color: var(--text-on-dark-muted);
}

.set__w {
  font-weight: 700;
  color: var(--surface-alt);
}

.set__s {
  font-weight: 600;
  color: var(--mint);
}

.set--now {
  border: 2px solid var(--mint);
}

.set--now .set__n {
  color: var(--mint);
}

.meal-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--surface-alt);
  font-size: 13px;
}

.meal-row__q {
  font-weight: 500;
}

.meal-row__a {
  font-weight: 700;
}

/* ------------------------------------------------------------------ */
/* Programs                                                             */
/* ------------------------------------------------------------------ */

.program {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 32px;
  border-top: 3px solid var(--mint);
  border-radius: 24px;
  background: var(--surface-dark);
}

.program__tag {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 12px;
  color: var(--mint);
}

.program__title {
  font-weight: 800;
  font-size: 34px;
  letter-spacing: -0.01em;
  color: var(--surface);
}

.program__body {
  font-size: 16px;
  color: var(--text-on-dark-muted);
}

/* Who the programme is for, kept below the promise and set apart in mint. */
.program__for {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 14px;
  color: var(--mint);
}

.programs__note {
  font-size: 15px;
  color: var(--text-on-dark-muted);
}

/* ------------------------------------------------------------------ */
/* How it works                                                         */
/* ------------------------------------------------------------------ */

.step {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 32px;
  border-radius: 24px;
  background: var(--surface-alt);
}

.step__num {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--mint);
  font-weight: 800;
  font-size: 26px;
  color: var(--ink);
}

.step__title {
  font-weight: 700;
  font-size: 22px;
}

.step__body {
  font-size: 16px;
  color: var(--grey-strong);
}

/* ------------------------------------------------------------------ */
/* Privacy                                                              */
/* ------------------------------------------------------------------ */

.privacy__grid {
  display: flex;
  align-items: flex-start;
  gap: 64px;
}

.privacy__intro {
  flex: 0 0 520px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.privacy__lede {
  font-size: 19px;
  line-height: 1.55;
  color: var(--text-on-dark-muted);
}

.privacy__list {
  flex: 1 1 0;
  min-width: 0;
}

.privacy__item {
  display: flex;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border-dark);
}

.privacy__item:last-child {
  border-bottom: 0;
}

.privacy__term {
  flex: 0 0 220px;
  font-weight: 700;
  font-size: 15px;
  color: var(--surface);
}

.privacy__desc {
  flex: 1 1 0;
  min-width: 0;
  font-size: 16px;
  color: var(--text-on-dark-muted);
}

/* ------------------------------------------------------------------ */
/* Plans                                                                */
/* ------------------------------------------------------------------ */

.plan {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--surface);
}

.plan--featured {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--surface);
  filter: drop-shadow(0 24px 24px rgba(0, 0, 0, 0.18));
}

.plan__name {
  font-weight: 700;
  font-size: 22px;
}

.plan__note {
  font-size: 16px;
  color: var(--grey-strong);
}

.plan--featured .plan__note {
  color: var(--text-on-dark-muted);
}

.plan__name {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.plan__tag {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--mint);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
}

.plan__price {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 40px;
  line-height: 1;
  letter-spacing: -0.02em;
}

.plan__price span {
  margin-left: 2px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  color: var(--grey-strong);
}

.plan--featured .plan__price {
  color: var(--mint);
}

.plan--featured .plan__price span {
  color: var(--text-on-dark-muted);
}

.plan__note--small {
  font-size: 14px;
}

/* ------------------------------------------------------------------ */
/* Partners                                                             */
/* ------------------------------------------------------------------ */

.partner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--surface);
}

.partner__title {
  font-weight: 700;
  font-size: 26px;
}

.bullets {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}

.bullets li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--grey-strong);
}

.bullets li::before {
  content: "";
  flex: none;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--grey-strong);
}

/* ------------------------------------------------------------------ */
/* Questions                                                            */
/* ------------------------------------------------------------------ */

.faq .container {
  width: min(900px, 100% - 2 * var(--gutter));
}

.faq__stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.faq__list {
  align-self: stretch;
  display: flex;
  flex-direction: column;
}

.qa {
  border-bottom: 1px solid var(--border);
}

.qa summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  font-weight: 700;
  font-size: 19px;
  list-style: none;
  cursor: pointer;
}

.qa summary::-webkit-details-marker {
  display: none;
}

.qa summary::after {
  content: "+";
  flex: none;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--mint);
  font-weight: 700;
  font-size: 22px;
  line-height: 1;
}

.qa[open] summary {
  padding-bottom: 4px;
}

.qa[open] summary::after {
  content: "\2212";
}

.qa__a {
  padding-bottom: 22px;
  font-size: 16px;
  color: var(--grey-strong);
}

/* ------------------------------------------------------------------ */
/* Download                                                             */
/* ------------------------------------------------------------------ */

.download {
  position: relative;
  overflow: hidden;
  padding-block: 120px;
  background: var(--ink);
  color: var(--surface);
  text-align: center;
}

.download__glow {
  position: absolute;
  top: -260px;
  left: 50%;
  width: 800px;
  height: 800px;
  margin-left: -400px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(111, 211, 168, 0.14), rgba(111, 211, 168, 0) 70%);
  pointer-events: none;
}

.download__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.download__title {
  font-weight: 800;
  font-size: 72px;
  line-height: 1;
  letter-spacing: -0.035em;
  color: var(--surface);
}

/* ------------------------------------------------------------------ */
/* Footer                                                               */
/* ------------------------------------------------------------------ */

.site-foot {
  padding: 56px 0 40px;
  border-top: 1px solid var(--border-dark);
  background: var(--ink);
  color: var(--surface);
}

.site-foot__inner {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.site-foot__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
}

.site-foot__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--text-on-dark-muted);
}

.site-foot__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--surface);
  text-decoration: none;
}

.site-foot__logo img {
  width: 32px;
  height: 32px;
}

.site-foot__word {
  font-weight: 700;
  font-size: 20px;
}

.site-foot__mail {
  color: var(--surface-alt);
  text-decoration: none;
}

.site-foot__mail:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-foot__cols {
  display: flex;
  gap: 56px;
}

.site-foot__col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 15px;
}

.site-foot__title {
  font-weight: 700;
  color: var(--surface);
}

.site-foot__col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.site-foot__col a {
  color: var(--text-on-dark-muted);
  text-decoration: none;
  white-space: nowrap;
}

.site-foot__col a:hover {
  color: var(--surface);
}

.site-foot__bottom {
  display: flex;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border-dark);
  font-size: 14px;
  color: var(--text-on-dark-muted);
}

/* ------------------------------------------------------------------ */
/* Cookie bar (rendered by assets/js/cookie-consent.js)                 */
/* ------------------------------------------------------------------ */

.cookie-bar {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 60;
  padding: 14px 0;
  border-top: 1px solid var(--border);
  background: var(--surface);
  box-shadow: 0 -4px 28px rgba(10, 10, 10, 0.12);
}

.cookie-bar .wrap {
  width: min(var(--content), 100% - 2 * var(--gutter));
  margin-inline: auto;
}

.cookie-bar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.cookie-bar__text {
  flex: 1 1 320px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--grey-strong);
}

.cookie-bar__text a {
  color: var(--ink);
}

.cookie-bar__actions {
  display: flex;
  flex-shrink: 0;
  gap: 8px;
}

.cookie-bar .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 16px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
}

.cookie-bar .btn--ghost {
  background: transparent;
  color: var(--ink);
}

.cookie-bar .btn--primary {
  background: var(--ink);
  color: var(--surface);
}

/*
 * The bar is fixed over the bottom of the screen and the page reserves no
 * room for it, so until a choice is made it covers the footer's last lines
 * (found in the local checks). While it is showing, the footer grows by a
 * little more than the bar's height so it can scroll clear: the bar is
 * about 70px tall on a wide screen, about 140px around 600px wide and
 * about 200px at 320px wide, where its text wraps the most.
 */
body:has(.cookie-bar) .site-foot {
  padding-bottom: 136px;
}

@media (max-width: 899px) {
  body:has(.cookie-bar) .site-foot {
    padding-bottom: 184px;
  }
}

/* ------------------------------------------------------------------ */
/* Below 1100px: the hero stacks                                        */
/* ------------------------------------------------------------------ */

@media (max-width: 1099px) {
  .hero__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 56px;
    padding: 64px 24px 0;
  }

  .hero__title {
    font-size: clamp(56px, 8vw, 88px);
  }

  .stage {
    align-self: center;
  }

  .app__row1 {
    flex-direction: column;
  }

  .feature--fuel {
    flex-basis: auto;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .section-head__aside {
    flex-basis: auto;
    max-width: 560px;
  }

  .privacy__grid {
    flex-direction: column;
    gap: 32px;
  }

  .privacy__intro {
    flex-basis: auto;
    max-width: 620px;
  }
}

/* ------------------------------------------------------------------ */
/* Below 900px: one-column cards, collapsible menu                      */
/* ------------------------------------------------------------------ */

@media (max-width: 899px) {
  :root {
    --section-y: 80px;
  }

  .site-head__bar {
    flex-wrap: wrap;
    height: auto;
    min-height: 64px;
    padding-block: 14px;
  }

  /* Without JS the nav stays visible, wrapped under the logo; with JS
     (main.js adds .has-nav-toggle) it sits behind the menu button. */
  .topnav {
    flex: 1 1 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 12px 24px;
  }

  .topnav::before {
    content: none;
  }

  .topnav__links {
    flex-wrap: wrap;
    gap: 12px 24px;
  }

  .has-nav-toggle .menu-toggle {
    display: inline-flex;
  }

  .has-nav-toggle .topnav {
    display: none;
  }

  .has-nav-toggle .topnav.is-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 8px 0 12px;
  }

  .has-nav-toggle .topnav.is-open .topnav__links {
    flex-direction: column;
    gap: 0;
  }

  .has-nav-toggle .topnav.is-open .topnav__links a {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-dark);
    font-size: 17px;
    color: var(--surface);
  }

  .has-nav-toggle .topnav.is-open .topnav__actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .cards-3,
  .app__row2 {
    grid-template-columns: minmax(0, 1fr);
  }

  .feature--train {
    flex-direction: column;
    align-items: flex-start;
  }

  .sets {
    width: 100%;
    max-width: 420px;
  }

  .site-foot__top {
    flex-direction: column;
  }

  .site-foot__cols {
    flex-wrap: wrap;
    gap: 32px 56px;
  }
}

/* ------------------------------------------------------------------ */
/* Below 720px: the 390 mobile frame                                    */
/* ------------------------------------------------------------------ */

@media (max-width: 719px) {
  :root {
    --gutter: 20px;
    --section-y: 56px;
  }

  .h2 {
    font-weight: 800;
    font-size: 34px;
    line-height: 1.05;
  }

  .section__stack,
  .section-head,
  .app__stack,
  .app__rows,
  .app__row1,
  .app__row2,
  .cards-3,
  .faq__stack {
    gap: 20px;
  }

  .section-head__aside {
    color: var(--text-secondary);
  }

  /* Header */
  .site-head__bar {
    min-height: 0;
    padding: 20px 0 0;
    border-bottom: 0;
  }

  .brand__mark {
    width: 26px;
    height: 26px;
  }

  .brand__word {
    font-weight: 800;
    font-size: 24px;
  }

  /* Hero */
  .hero {
    padding-bottom: 56px;
  }

  .hero__glow {
    display: none;
  }

  .hero__inner {
    gap: 20px;
    padding: 56px 0 0;
  }

  .hero__text {
    gap: 20px;
  }

  .hero__title {
    font-size: 44px;
    line-height: 1.05;
    letter-spacing: -0.02em;
  }

  .hero__lede {
    font-size: 16px;
    line-height: normal;
  }

  .store-btn {
    justify-content: center;
    width: 100%;
    height: 50px;
    padding: 0 16px;
  }

  .store-btn__glyph {
    display: none;
  }

  .store-btn__label {
    display: block;
  }

  .store-btn__pre,
  .store-btn__name {
    font-weight: 700;
    font-size: 15px;
  }

  .stage {
    width: 100%;
    height: auto;
  }

  .phone {
    position: static;
    width: auto;
    height: auto;
    padding-top: 12px;
    border-radius: 0;
    overflow: visible;
    background: none;
    box-shadow: none;
  }

  .screen {
    position: relative;
    top: auto;
    left: auto;
    width: min(300px, 100%);
    height: 663px;
    margin-inline: auto;
    border-radius: 46px;
  }

  .float {
    display: none;
  }

  .stage__caption {
    position: static;
    width: auto;
    margin-top: 12px;
  }

  /* What Fynrox stands for: rows on white instead of the dark card */
  .meaning__card {
    gap: 20px;
    padding: 0;
    border-radius: 0;
    background: none;
    color: var(--ink);
  }

  .meaning .h2 {
    color: var(--ink);
  }

  .meaning .eyebrow {
    color: var(--ink);
  }

  /* The card is white here, so its side note takes the light-surface grey, not the dark card's (2.5:1 on white). */
  .meaning .section-head__aside {
    color: var(--grey-strong);
  }

  .meaning .eyebrow::before {
    content: "";
  }

  .letters {
    flex-direction: column;
    gap: 20px;
    border-top: 0;
  }

  .letter {
    flex-direction: row;
    align-items: flex-start;
    gap: 16px;
    padding: 0 0 14px;
    border-left: 0;
    border-bottom: 1px solid var(--border);
  }

  .letter__char {
    flex: none;
    width: 36px;
    font-size: 36px;
    color: var(--mint);
  }

  .letter__text {
    gap: 2px;
    padding-top: 1.5px;
  }

  .letter__name,
  .letter--x .letter__name {
    color: var(--ink);
  }

  .letter__desc {
    font-size: 15px;
    color: var(--text-secondary);
  }

  /* The app: plain white cards */
  .feature,
  .feature--dark,
  .app__row2 .feature {
    gap: 8px;
    padding: 20px;
    border: 0;
    border-radius: 20px;
    background: var(--surface);
    color: var(--ink);
  }

  .feature--dark .eyebrow {
    color: var(--ink);
  }

  .feature--dark .eyebrow::before {
    content: "";
  }

  .feature__title,
  .feature--dark .feature__title {
    font-size: 22px;
    color: var(--ink);
  }

  .feature__body,
  .feature--dark .feature__body {
    color: var(--text-secondary);
  }

  .sets,
  .meal-row,
  .feature__spacer {
    display: none;
  }

  /* Programs */
  .program {
    gap: 10px;
    padding: 20px;
    border-top: 0;
    border-radius: 20px;
  }

  .program__title {
    font-weight: 700;
    font-size: 26px;
    letter-spacing: 0;
  }

  .programs__note {
    font-size: 14px;
  }

  /* How it works: number beside the text */
  .step {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    align-items: start;
    gap: 4px 14px;
    padding: 0;
    border-radius: 0;
    background: none;
  }

  .step__num {
    grid-row: span 2;
    width: 36px;
    height: 36px;
    background: var(--ink);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 15px;
    color: var(--mint);
  }

  .step__title {
    font-family: var(--font-body);
    font-size: 17px;
  }

  .step__body {
    color: var(--text-secondary);
  }

  /* Privacy: one card per point */
  .privacy__intro {
    gap: 20px;
  }

  .privacy__lede {
    font-size: 16px;
    line-height: normal;
  }

  .privacy__list {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .privacy__item,
  .privacy__item:last-child {
    flex-direction: column;
    gap: 6px;
    padding: 20px;
    border: 0;
    border-radius: 20px;
    background: var(--surface-dark);
  }

  .privacy__term {
    flex: none;
    font-size: 17px;
  }

  /* Plans */
  .plan {
    gap: 10px;
    padding: 20px;
    border: 0;
    border-radius: 20px;
    background: var(--surface-alt);
  }

  .plan--featured {
    background: var(--ink);
    filter: none;
  }

  .plan__note {
    color: var(--text-secondary);
  }

  /* Partners */
  .partner {
    gap: 10px;
    padding: 20px;
    border: 0;
    border-radius: 20px;
  }

  .partner__title {
    font-size: 24px;
  }

  .bullets {
    margin-bottom: 0;
  }

  .bullets li {
    align-items: flex-start;
    font-weight: 500;
    color: var(--ink);
  }

  .bullets li::before {
    width: 7px;
    height: 7px;
    margin-top: 5.5px;
    background: var(--mint);
  }

  /* Questions */
  .faq__list {
    gap: 20px;
  }

  .qa {
    padding-bottom: 16px;
  }

  .qa summary {
    padding: 0;
    font-size: 17px;
  }

  .qa summary::after {
    width: auto;
    height: auto;
    background: none;
    font-size: 20px;
  }

  .qa[open] summary {
    padding-bottom: 8px;
  }

  .qa__a {
    padding-bottom: 0;
    color: var(--text-secondary);
  }

  /* Download */
  .download {
    padding-block: 56px;
  }

  .download__glow {
    display: none;
  }

  .download__inner {
    gap: 20px;
  }

  .download__title {
    font-size: 38px;
    line-height: 1.05;
    letter-spacing: -0.02em;
  }

  /* Footer: compact, links run inline */
  .site-foot {
    padding: 40px 0;
  }

  .site-foot__inner,
  .site-foot__top,
  .site-foot__brand {
    gap: 14px;
  }

  .site-foot__logo img {
    display: none;
  }

  .site-foot__word {
    font-weight: 800;
    font-size: 26px;
  }

  .site-foot__brand {
    font-size: 14px;
  }

  .site-foot__brand > p:first-of-type {
    font-weight: 500;
    font-size: 13px;
  }

  .site-foot__mail {
    color: var(--text-on-dark-muted);
  }

  .site-foot__cols {
    flex-direction: column;
    gap: 14px;
  }

  .site-foot__col {
    gap: 4px;
  }

  .site-foot__title {
    font-family: var(--font-mono);
    font-weight: 500;
    font-size: 12px;
    text-transform: uppercase;
    color: var(--mint);
  }

  .site-foot__col ul {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0;
  }

  .site-foot__col li + li::before {
    content: "\00b7";
    margin: 0 6px;
    color: var(--surface);
  }

  .site-foot__col a {
    font-weight: 500;
    font-size: 14px;
    color: var(--surface);
  }

  .site-foot__bottom {
    flex-direction: column;
    gap: 2px;
    padding-top: 0;
    border-top: 0;
    font-size: 13px;
  }
}

@media (max-width: 560px) {
  .cookie-bar__actions {
    width: 100%;
  }

  .cookie-bar__actions .btn {
    flex: 1;
  }

  body:has(.cookie-bar) .site-foot {
    padding-bottom: 240px;
  }
}

/* ------------------------------------------------------------------ */
/* Homepage v2 sections (problem, method, photo programmes, pricing,   */
/* why Fynrox). Same fonts, tokens and type scale as the blocks above. */
/* ------------------------------------------------------------------ */

.hero__title--long {
  max-width: 540px;
  font-size: 52px;
  line-height: 1.02;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.hero__ctas--center {
  justify-content: center;
}

.pill--lg {
  height: 58px;
  padding: 0 26px;
  font-size: 16px;
}

.pill--block {
  display: flex;
  justify-content: center;
  width: 100%;
  height: 50px;
  margin-top: auto;
}

/* Secondary action: an outline pill, white on dark sections. */
.ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  color: var(--ink);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  white-space: nowrap;
}

.ghost-btn:hover {
  background: rgba(10, 10, 10, 0.06);
}

.is-dark .ghost-btn {
  border-color: rgba(255, 255, 255, 0.32);
  color: var(--surface);
}

.is-dark .ghost-btn:hover {
  border-color: var(--mint);
  background: rgba(112, 212, 168, 0.08);
}

.hero__ctas .ghost-btn {
  height: 58px;
  padding: 0 24px;
  font-size: 16px;
}

/* Hero: what you get, as a short row of mint-ticked points. */
.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  list-style: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-on-dark-muted);
}

.trust li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.trust li::before,
.plan__list li::before,
.program__list li::before {
  content: "";
  flex: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%230a0a0a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}

.cards-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  list-style: none;
}

/* Problem and Why Fynrox cards: an icon tile, a title and a line. */
.info-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 28px;
  border-radius: 24px;
  background: var(--surface-alt);
}

.icon-tile {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #e3f6ed;
  color: #1c6b44;
}

.info-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.2;
}

.info-card__body {
  font-size: 16px;
  color: var(--grey-strong);
}

/* The Fynrox method: numbered points beside a photo. */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 56px;
}

.split__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.split__lede {
  font-size: 19px;
  line-height: 1.55;
  color: var(--grey-strong);
}

.method {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 8px;
  list-style: none;
  font-size: 16px;
  color: var(--grey-strong);
}

.method li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.method strong {
  color: var(--ink);
}

.method__num {
  display: grid;
  place-items: center;
  flex: none;
  width: 32px;
  height: 32px;
  margin-top: -4px;
  border-radius: 50%;
  background: var(--mint);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  color: var(--ink);
}

.split__img {
  width: 100%;
  height: 100%;
  max-height: 580px;
  min-height: 360px;
  border-radius: 24px;
  object-fit: cover;
}

/* All photography is shown in black and white. */
.bw {
  filter: grayscale(1);
}

/* Programmes with a photo on top. */
.program--photo {
  overflow: hidden;
  padding: 0 0 28px;
}

.program--photo > :not(.program__img) {
  margin-inline: 28px;
}

.program__img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  margin-bottom: 8px;
  object-fit: cover;
}

.program__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 16px;
  margin-top: 4px;
  list-style: none;
  font-size: 15px;
  color: var(--surface);
}

.program__list li,
.plan__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.program__list li::before,
.plan__list li::before {
  margin-top: 3px;
}

.program__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
  padding-top: 16px;
}

.section__cta {
  display: flex;
  justify-content: center;
}

/* Pricing */
.plan__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 12px;
  list-style: none;
  font-size: 15px;
}

.plans__note {
  font-size: 14px;
  text-align: center;
  color: var(--grey-strong);
}

/* Final call to action */
.download__title--long {
  max-width: 920px;
  font-size: 60px;
  line-height: 1.04;
}

.download__lede {
  max-width: 560px;
  font-size: 19px;
  line-height: 1.55;
  color: var(--text-on-dark-muted);
}

@media (max-width: 1099px) {
  .hero__title--long {
    max-width: 720px;
    font-size: clamp(44px, 6.4vw, 60px);
  }

  .cards-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .download__title--long {
    font-size: clamp(40px, 6vw, 60px);
  }
}

@media (max-width: 899px) {
  .split {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .split__img {
    max-height: 420px;
    min-height: 0;
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 719px) {
  .hero__title--long {
    font-size: 36px;
    line-height: 1.06;
  }

  .hero__ctas > * {
    flex: 1 1 100%;
    justify-content: center;
  }

  .pill--lg,
  .hero__ctas .ghost-btn {
    height: 50px;
    font-size: 15px;
  }

  .trust {
    font-size: 13px;
  }

  .cards-4 {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .info-card {
    padding: 20px;
    border-radius: 20px;
  }

  .info-card__title {
    font-size: 18px;
  }

  .split__lede {
    font-size: 16px;
  }

  .split__img {
    border-radius: 20px;
  }

  .program--photo {
    padding: 0 0 20px;
  }

  .program--photo > :not(.program__img) {
    margin-inline: 20px;
  }

  .program__list {
    grid-template-columns: minmax(0, 1fr);
  }

  .program__ctas > * {
    flex: 1 1 100%;
    justify-content: center;
  }

  /* Plans sit on the grey section: keep the cards white. */
  .section--alt .plan:not(.plan--featured) {
    background: var(--surface);
  }

  .download__title--long {
    font-size: 34px;
  }

  .download__lede {
    font-size: 16px;
  }
}

/* Social profiles in the footer. */
.site-foot__social {
  display: flex;
  gap: 10px;
  margin-top: 4px;
  list-style: none;
}

.site-foot__social a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border-dark);
  border-radius: 50%;
  color: var(--surface);
}

.site-foot__social a:hover {
  border-color: var(--mint);
  color: var(--mint);
}

/* Programme titles link to their own pages. */
.program__title a {
  color: inherit;
  text-decoration: none;
}

.program__title a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
