/* streka.ai in the app's look, Ink (docs/22-design-system.md): white pages,
   black type, black buttons, grey hairlines, green as a single highlight.
   The brand's deep greens (the logo tile and app icon) are the marketing art:
   the home page's hero and closing sign-up band. Dark mode is Ink in
   charcoal; the deep green bands stay as they are.
   Manrope is served from this site (fonts/, SIL Open Font License), so no
   visitor's address goes to a font service. */
@font-face { font-family: "Manrope"; src: url("/fonts/Manrope_400Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("/fonts/Manrope_600SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("/fonts/Manrope_800ExtraBold.ttf") format("truetype"); font-weight: 700 800; font-display: swap; }

:root {
  color-scheme: light;
  --page: #ffffff;
  --card: #ffffff;
  --band: #f6f6f6;
  --ink: #0f0f0f;
  --text-2: #2a2a2a;
  --muted: #6e6e6e;
  --faint: #8c8c8c;
  --line: #e5e5e5;
  --line-card: #dedede;
  --line-strong: #c9c9c9;
  --tile: #f5f5f5;
  --tile-strong: #ebebeb;
  --active-bg: #f0f0f0;
  --bubble: #f2f2f2;
  --green: #1b7f47;
  --green-deep: #16693b;
  --green-soft: #e8f3ec;
  --on-green: #ffffff;
  --carbs: #3a3a3a;
  --fat: #b5b5b5;
  --amber: #8a5a12;
  --amber-soft: #fbf3e2;
  --error: #d23f3f;
  --button: #0f0f0f;
  --button-text: #ffffff;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --shadow-lift: 0 22px 44px -22px rgba(0, 0, 0, 0.22);

  /* The brand greens: the same in both themes (docs/22 §2). */
  --deep: #1b4a31;
  --night: #0a1d13;
  --abyss: #050b08;
  --glow: #59c07e;
  --mint: #8fe0ae;
  --on-deep: #ffffff;
  --on-deep-2: rgba(255, 255, 255, 0.74);
  --on-deep-3: rgba(255, 255, 255, 0.62);
  --on-deep-line: rgba(255, 255, 255, 0.14);

  --header-h: 72px;
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --page: #141414;
    --card: #1c1c1c;
    --band: #191919;
    --ink: #f2f2f2;
    --text-2: #d0d0d0;
    --muted: #9a9a9a;
    --faint: #7a7a7a;
    --line: #2a2a2a;
    --line-card: #333333;
    --line-strong: #4d4d4d;
    --tile: #242424;
    --tile-strong: #2e2e2e;
    --active-bg: #2c2c2c;
    --bubble: #262626;
    --green: #3fbf74;
    --green-deep: #8fe0ae;
    --green-soft: rgba(63, 191, 116, 0.14);
    --on-green: #0f0f0f;
    --carbs: #d0d0d0;
    --fat: #7a7a7a;
    --amber: #f2c679;
    --amber-soft: rgba(245, 182, 61, 0.1);
    --error: #f0806b;
    --button: #f2f2f2;
    --button-text: #0f0f0f;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    --shadow-lift: 0 22px 44px -22px rgba(0, 0, 0, 0.7);
  }
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--green); }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

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

[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

.icon {
  width: 22px; height: 22px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.75;
  stroke-linecap: round; stroke-linejoin: round;
}
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ---------- Type ---------- */

.wrap { max-width: 1160px; margin: 0 auto; padding-inline: 20px; }

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 18px;
  font-weight: 800;
  font-size: clamp(38px, 6vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h2 {
  margin: 0 0 12px;
  font-weight: 800;
  font-size: clamp(28px, 4vw, 36px);
  line-height: 1.15;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

h3 { margin: 0 0 6px; font-weight: 800; font-size: 19px; letter-spacing: -0.01em; }

.lede { margin: 0 0 28px; color: var(--muted); font-size: 19px; max-width: 34em; }
.section-lede { margin: 0 0 36px; color: var(--muted); max-width: 40em; }
.small { margin: 0; color: var(--muted); font-size: 14px; }

/* ---------- Buttons and the form ---------- */

.button, .signup button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 0;
  border-radius: 10px;
  background: var(--button);
  color: var(--button-text);
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, opacity 0.15s ease;
}
.button:hover, .signup button:hover { transform: translateY(-1px); }
.button:disabled, .signup button:disabled { opacity: 0.55; cursor: progress; transform: none; }
.button.light { background: #ffffff; color: #0f0f0f; }
.button.light:hover { background: #eef7f1; }
.button.small { min-height: 40px; padding: 8px 16px; font-size: 14px; }

.signup { display: flex; flex-direction: column; gap: 12px; max-width: 34em; }
.field { display: flex; gap: 10px; flex-wrap: wrap; }
.field input {
  flex: 1 1 240px;
  min-width: 0;
  min-height: 52px;
  padding: 12px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: var(--page);
  color: var(--ink);
  font: inherit;
  font-size: 16px;
}
.field input::placeholder { color: var(--faint); }
.field .button { flex: 0 0 auto; min-height: 52px; }
@media (max-width: 520px) { .field .button { flex: 1 1 100%; } }

.consent { margin: 0; color: var(--text-2); font-size: 14px; }
.status { margin: 0; min-height: 1.55em; font-size: 15px; font-weight: 700; }
.status:empty { min-height: 0; }
.status[data-kind="ok"] { color: var(--green); }
.status[data-kind="error"] { color: var(--error); }

/* On the deep green bands. */
.signup.on-dark .field input {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.22);
  color: var(--on-deep);
}
.signup.on-dark .field input::placeholder { color: rgba(255, 255, 255, 0.5); }
.signup.on-dark .field input:focus { border-color: var(--glow); }
.signup.on-dark .consent { color: var(--on-deep-3); font-size: 13.5px; }
.incentive { display: flex; align-items: baseline; gap: 10px; margin: 2px 0 0; color: var(--on-deep-2); font-size: 15px; line-height: 1.45; }
.incentive .live { flex: none; position: relative; top: -1px; }
.incentive strong { color: var(--on-deep); font-weight: 700; }
.signup.on-dark a { color: var(--mint); }
.signup.on-dark .status { color: var(--on-deep); }
.signup.on-dark .status[data-kind="ok"] { color: var(--mint); }
.signup.on-dark .status[data-kind="error"] { color: #ffa493; }
.on-dark a:focus-visible, .on-dark button:focus-visible, .on-dark input:focus-visible,
.site-header a:focus-visible { outline-color: var(--glow); }

/* The honeypot: out of sight and out of the tab order. */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

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

/* ---------- App pieces, drawn as they look in the app ---------- */

.card {
  color: var(--ink);
  background: var(--card);
  border: 1px solid var(--line-card);
  border-radius: 20px;
  padding: 18px;
}
.card.lifted { box-shadow: var(--shadow-lift); }

.chat-head { display: flex; align-items: center; gap: 10px; padding: 4px 6px 10px; border-bottom: 1px solid var(--line); }
.chat-head img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.chat-head .who { font-weight: 800; font-size: 15px; line-height: 1.2; }
.chat-head .status-line { color: var(--muted); font-size: 12px; display: flex; align-items: center; gap: 6px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); display: inline-block; }

.bubbles { display: flex; flex-direction: column; gap: 8px; }
.row { display: flex; align-items: flex-end; gap: 8px; }
.row img { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; flex: none; }
.bubble {
  max-width: 86%;
  padding: 9px 12px;
  border-radius: 16px;
  font-size: 15px;
  line-height: 1.45;
}
.bubble.trainer { background: var(--bubble); color: var(--ink); border-bottom-left-radius: 6px; }
.bubble.me { margin-left: auto; background: var(--ink); color: var(--page); border-bottom-right-radius: 6px; }

.card-eyebrow {
  margin: 0 0 8px;
  color: var(--green);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.card-foot { margin: 14px 0 0; }
.figure { font-size: 34px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.unit { color: var(--muted); font-size: 14px; font-weight: 600; }

.macros { display: grid; gap: 8px; margin-top: 14px; }
.macro { display: grid; grid-template-columns: 64px 1fr 48px; align-items: center; gap: 10px; font-size: 13px; }
.macro .name { color: var(--muted); font-weight: 600; }
.macro .grams { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.track { height: 8px; border-radius: 4px; background: var(--tile); overflow: hidden; }
.track i { display: block; height: 100%; border-radius: 4px; }
.track .protein { background: var(--green); }
.track .carbs { background: var(--carbs); }
.track .fat { background: var(--fat); }

.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.tile { background: var(--tile); border-radius: 12px; padding: 12px; }
.tile .label { color: var(--muted); font-size: 13px; font-weight: 600; }
.tile .value { font-size: 22px; font-weight: 800; font-variant-numeric: tabular-nums; }
.tile .value span { color: var(--muted); font-size: 14px; font-weight: 400; }

.list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.list li { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; }
.list .meal { font-weight: 700; }
.list .meal small { display: block; color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.list .kcal { color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }

.chip {
  display: inline-flex; align-items: center; gap: 6px;
  border-radius: 999px; padding: 5px 11px;
  font-size: 13px; font-weight: 700;
  background: var(--green-soft); color: var(--green-deep);
}

.weeks-label { margin: 16px 0 0; color: var(--muted); font-size: 13px; font-weight: 600; }
.weeks { display: flex; gap: 6px; margin-top: 8px; }
.weeks span { flex: 1; height: 26px; border-radius: 8px; background: var(--tile-strong); }
.weeks span.good { background: var(--green); }

.icon-tile {
  display: grid; place-items: center; flex: none;
  width: 42px; height: 42px; border-radius: 12px;
  background: var(--card); border: 1px solid var(--line-card); color: var(--ink);
}
.card .icon-tile { background: var(--tile); border-color: transparent; }

/* ---------- The header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}
.site-header.scrolled {
  background: rgba(8, 24, 16, 0.95);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
}
.bar { display: flex; align-items: center; gap: 20px; height: var(--header-h); }
.bar .logo img { height: 36px; width: auto; }
.nav { display: flex; gap: 2px; margin-left: auto; }
.nav a {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--on-deep-2);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.15s ease, background-color 0.15s ease;
}
.nav a:hover { color: var(--on-deep); background: rgba(255, 255, 255, 0.08); }
@media (max-width: 900px) {
  .nav { display: none; }
  .bar .button { margin-left: auto; }
}

/* ---------- The first screen: the hero, and the bar under it ---------- */

.first-screen {
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
}
.first-screen > section { border-top: 0; }

.hero {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-top: calc(-1 * var(--header-h));
  padding-block: calc(var(--header-h) + 40px) 56px;
  color: var(--on-deep);
  background:
    radial-gradient(760px 560px at 78% 42%, rgba(89, 192, 126, 0.2), transparent 62%),
    radial-gradient(640px 420px at 0% 100%, rgba(27, 127, 71, 0.2), transparent 64%),
    linear-gradient(165deg, var(--deep) 0%, var(--night) 52%, var(--abyss) 100%);
}
/* A fine grid, fading out from the middle: the page of a training log. */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 75% 70% at 65% 45%, #000 15%, transparent 72%);
  mask-image: radial-gradient(ellipse 75% 70% at 65% 45%, #000 15%, transparent 72%);
}

.hero-grid {
  position: relative;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 40px;
  align-items: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 24px;
  padding: 7px 14px 7px 12px;
  border: 1px solid var(--on-deep-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
  color: var(--glow);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.live {
  flex: none;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--glow);
  box-shadow: 0 0 0 4px rgba(89, 192, 126, 0.2);
  animation: live 2.4s ease-in-out infinite;
}
@keyframes live { 50% { box-shadow: 0 0 0 7px rgba(89, 192, 126, 0.04); } }

.hero h1 {
  margin: 0 0 24px;
  color: var(--on-deep);
  font-size: clamp(52px, 7.4vw, 96px);
  line-height: 0.98;
  letter-spacing: -0.04em;
}
.hero h1 span { display: block; color: var(--glow); }
.hero .lede { margin: 0 0 32px; color: var(--on-deep-2); font-size: 19px; max-width: 28em; }

/* The app on a phone, with two of its cards pulled out beside it. */
.hero-visual { position: relative; }
.stage { position: relative; width: min(100%, 540px); margin-left: auto; }

.rings {
  position: absolute;
  top: 50%;
  left: calc(100% - 150px);
  width: 600px;
  height: 600px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(89, 192, 126, 0.3) 0%, rgba(89, 192, 126, 0.08) 40%, transparent 68%);
  pointer-events: none;
}
.rings::before, .rings::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.07);
}
.rings::before { inset: 80px; }
.rings::after { inset: 0; border-color: rgba(255, 255, 255, 0.045); }

.device {
  position: relative;
  z-index: 1;
  width: 300px;
  margin-left: auto;
  padding: 9px;
  border-radius: 50px;
  background: linear-gradient(155deg, #3a403c, #0b0d0c 22%, #0b0d0c 78%, #2a302c);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12),
    0 60px 120px -30px rgba(0, 0, 0, 0.75),
    0 30px 60px -30px rgba(0, 0, 0, 0.6);
}
.screen {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 616px;
  overflow: hidden;
  border-radius: 41px;
  background: var(--page);
  color: var(--ink);
}
.island {
  position: absolute; top: 10px; left: 50%; z-index: 2;
  width: 88px; height: 25px; border-radius: 14px;
  background: #000; transform: translateX(-50%);
}
.statusbar {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 44px;
  padding: 4px 24px 0 30px;
  font-size: 13px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.batt { position: relative; width: 23px; height: 11px; padding: 1.5px; border: 1.5px solid currentColor; border-radius: 3.5px; }
.batt i { display: block; width: 72%; height: 100%; border-radius: 1.5px; background: currentColor; }
.batt::after { content: ""; position: absolute; right: -4px; top: 2.5px; width: 2px; height: 3.5px; border-radius: 0 1px 1px 0; background: currentColor; }

.app-top { flex: none; display: flex; align-items: center; justify-content: space-between; padding: 4px 14px 10px; }
.app-top img { height: 26px; width: auto; }
.round { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-card); }
.round svg, .composer svg, .tab svg {
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.round svg { width: 15px; height: 15px; }

.chat {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  margin-inline: 8px;
  overflow: hidden;
  border: 1px solid var(--line-card);
  border-radius: 22px;
  background: var(--card);
}
.chat .chat-head { padding: 10px 12px; }
.chat .chat-head img { width: 30px; height: 30px; }
.chat .chat-head .who { font-size: 13.5px; }
.chat .chat-head .status-line { font-size: 11px; }
/* Like a chat scrolled to the latest message: anything older is cut off at the top, and the message box always shows. */
.chat .bubbles { flex: 1; min-height: 0; overflow: hidden; justify-content: flex-end; gap: 6px; padding: 10px 10px; }
.chat .day { margin: 2px 0; color: var(--faint); font-size: 10.5px; font-weight: 600; text-align: center; }
.chat .row { gap: 6px; }
.chat .row img { width: 20px; height: 20px; }
.chat .bubble { font-size: 12px; line-height: 1.38; padding: 7px 10px; border-radius: 14px; }
.chat .bubble.me { max-width: 94%; }
.chat .bubble.trainer { border-bottom-left-radius: 5px; }
.chat .bubble.me { border-bottom-right-radius: 5px; }
.composer {
  display: flex; align-items: center; gap: 8px;
  margin: 0 10px 10px; padding: 5px 5px 5px 14px;
  border: 1px solid var(--line-card); border-radius: 999px;
  color: var(--faint); font-size: 12.5px;
}
.composer span { flex: 1; }
.composer b { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--green); color: var(--on-green); }
.composer svg { width: 15px; height: 15px; stroke-width: 2.3; }

.dock {
  flex: none;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  align-items: end;
  margin: 10px 8px 12px;
  padding: 6px 2px 7px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--card);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}
.tab { display: flex; flex-direction: column; align-items: center; gap: 2px; color: var(--faint); font-size: 8.5px; font-weight: 600; }
.tab i { display: grid; place-items: center; width: 30px; height: 21px; border-radius: 11px; }
.tab svg { width: 15px; height: 15px; }
.tab.on { color: var(--ink); }
.tab.on i { background: var(--active-bg); }
.tab.coach { align-self: center; }
.tab.coach img { width: 40px; height: 40px; margin-top: -18px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px var(--card), 0 0 0 3.5px var(--ink); }

.float {
  position: absolute;
  z-index: 2;
  width: 224px;
  padding: 16px;
  box-shadow: 0 30px 60px -18px rgba(0, 0, 0, 0.6);
  animation: drift 7s ease-in-out infinite;
}
.float-target { top: 64px; left: 0; }
.float-week { bottom: 76px; left: 24px; animation-delay: -3.5s; }
.float .figure { font-size: 28px; }
.float .macros { gap: 7px; margin-top: 12px; }
.float .macro { grid-template-columns: 50px 1fr 38px; gap: 8px; font-size: 12px; }
.float-line { margin: 0; font-size: 13.5px; font-weight: 700; }
.float .weeks span { height: 20px; border-radius: 6px; }
.float-chip { margin: 12px 0 0; }
.float .chip { font-size: 12px; }
@keyframes drift { 50% { transform: translateY(-7px); } }

@media (prefers-reduced-motion: reduce) {
  .live, .float { animation: none; }
  .button:hover, .signup button:hover { transform: none; }
}

@media (max-width: 1180px) {
  .float-week { bottom: 20px; left: 0; }
}
@media (min-width: 961px) and (max-height: 880px) {
  .stage { zoom: 0.84; }
}
@media (max-width: 1080px) {
  .float { width: 200px; }
  .float .figure { font-size: 25px; }
}
@media (max-width: 960px) {
  .hero { padding-block: calc(var(--header-h) + 32px) 56px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .stage { margin-inline: auto; }
}
@media (max-width: 600px) {
  .float { display: none; }
  .stage, .device { margin-inline: auto; }
  .rings { left: 50%; width: 460px; height: 460px; }
  .hero .lede { font-size: 17px; }
}
@media (max-width: 340px) {
  .device { width: 100%; }
}

/* ---------- The strip under the hero ---------- */

.strip { padding-block: 0; border-bottom: 1px solid var(--line); }
.strip .wrap { display: flex; flex-direction: column; gap: 16px; padding-block: 28px 30px; }
.home .strip-title {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.strip-list {
  display: grid;
  grid-template-columns: repeat(6, auto);
  justify-content: space-between;
  gap: 14px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.strip-list li { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 700; white-space: nowrap; }
@media (max-width: 1120px) { .strip-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 600px) { .strip-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Home page sections ---------- */

.home main > section:not(.hero):not(.strip):not(.closing) { padding-block: 104px; }
@media (max-width: 700px) { .home main > section:not(.hero):not(.strip):not(.closing) { padding-block: 72px; } }
.band { background: var(--band); }

.section-head { max-width: 46em; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .section-lede { margin-bottom: 0; }
.home h2 { font-size: clamp(30px, 4.2vw, 44px); letter-spacing: -0.025em; line-height: 1.1; }

/* Trainers */
.trainers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 1000px) { .trainers { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.trainer {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line-card);
  border-radius: 20px;
  background: var(--card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
/* The whole card is a link to the sign-up form at the foot of the page: the
   name link stretches over the card, and the card shows the focus ring. */
.trainer h3 a { color: inherit; text-decoration: none; }
.trainer h3 a::after { content: ""; position: absolute; inset: 0; }
.trainer h3 a:focus-visible { outline: none; }
.trainer:has(a:focus-visible) { outline: 2px solid var(--green); outline-offset: 3px; }
.trainer:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
@media (hover: none) { .trainer:hover { transform: none; box-shadow: none; } }
@media (prefers-reduced-motion: reduce) { .trainer:hover { transform: none; } }
.trainer .photo { position: relative; aspect-ratio: 1; overflow: hidden; }
.trainer .photo img { width: 100%; height: 100%; object-fit: cover; }
.ai-badge {
  position: absolute; top: 12px; left: 12px;
  padding: 3px 10px; border-radius: 999px;
  background: rgba(15, 15, 15, 0.72); color: #ffffff;
  font-size: 12px; font-weight: 800; letter-spacing: 0.06em;
}
.trainer .body { padding: 18px 18px 22px; }
.trainer h3 { font-size: 19px; margin: 0; }
.trainer .spec { margin: 4px 0 0; color: var(--muted); font-size: 14px; font-weight: 600; line-height: 1.4; }
@media (max-width: 560px) {
  .trainers { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .trainer { flex-direction: row; }
  .trainer .photo { width: 38%; flex: none; aspect-ratio: auto; }
  .trainer .body { padding: 14px 14px 16px; }
}

/* How it works */
.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  max-width: 980px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  text-align: center;
}
.steps::before {
  content: "";
  position: absolute;
  top: 22px;
  left: calc((100% - 56px) / 6);
  right: calc((100% - 56px) / 6);
  height: 1px;
  background: var(--line-strong);
}
.steps .num {
  position: relative;
  display: grid; place-items: center;
  width: 44px; height: 44px; margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--ink); color: var(--page);
  font-size: 16px; font-weight: 800;
  box-shadow: 0 0 0 8px var(--page);
}
.steps h3 { font-size: 19px; }
.steps p { max-width: 17em; margin: 0 auto; color: var(--muted); font-size: 16px; }
@media (max-width: 700px) {
  .steps { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .steps::before { display: none; }
}

/* Features */
.feature {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 64px;
  align-items: center;
}
.feature.reverse { grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); }
.feature.reverse > :first-child { order: 2; }
@media (max-width: 900px) {
  .feature, .feature.reverse { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .feature.reverse > :first-child { order: 0; }
}
.feature .points { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.feature .points li { position: relative; padding-left: 22px; color: var(--text-2); }
.feature .points li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
/* The meals card with the workout card laid over its corner. */
.pair { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: start; }
.pair .card:first-child { grid-column: 1 / 10; grid-row: 1; }
.pair .card:last-child { grid-column: 5 / 13; grid-row: 1; margin-top: 230px; position: relative; }
@media (max-width: 1000px) {
  .pair { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .pair .card:first-child, .pair .card:last-child { grid-column: auto; grid-row: auto; margin-top: 0; }
}

.ticks { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.ticks li { display: flex; align-items: center; gap: 14px; font-size: 17px; font-weight: 700; }
.review-bubble { margin-top: 14px; }

/* Safety: four short points in a row */
.safety { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; margin: 0; padding: 0; list-style: none; }
@media (max-width: 900px) { .safety { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .safety { grid-template-columns: minmax(0, 1fr); } }
.safety h3 { margin: 16px 0 4px; font-size: 18px; }
.safety p { margin: 0; color: var(--muted); font-size: 16px; }

/* The price */
.prices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: stretch; max-width: 760px; margin-inline: auto; }
@media (max-width: 700px) { .prices { grid-template-columns: minmax(0, 1fr); } }
.card.price { display: flex; flex-direction: column; align-items: flex-start; padding: 28px; }
.prices .figure { font-size: 44px; letter-spacing: -0.03em; }
.prices .unit { margin-top: 4px; font-size: 15px; }
.card.price .button { margin-top: 20px; }
.price-small { margin-top: 24px; text-align: center; }
.source { max-width: 760px; margin: 8px auto 0; font-size: 13px; text-align: center; }
.source a { color: inherit; }
sup { font-size: 0.7em; line-height: 0; }
.card.highlight { border: 1.5px solid var(--green); background: var(--green-soft); }
/* On pale green, the green label and grey unit fall under 4.5:1: use the deeper green and body grey. */
.card.highlight .card-eyebrow { color: var(--green-deep); }
.card.highlight .unit { color: var(--text-2); }

/* Questions */
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
@media (max-width: 900px) { .faq-grid { grid-template-columns: minmax(0, 1fr); gap: 8px; } }
.faq { border-top: 1px solid var(--line-card); }
.faq details { border-bottom: 1px solid var(--line-card); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.01em;
  list-style: none;
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { width: 20px; height: 20px; color: var(--muted); transition: transform 0.2s ease; }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq details p { margin: 0 0 22px; max-width: 40em; color: var(--text-2); }

/* The closing sign-up band */
.closing {
  position: relative;
  overflow: hidden;
  padding-block: 0;
  color: var(--on-deep);
  background:
    radial-gradient(620px 420px at 100% 0%, rgba(89, 192, 126, 0.2), transparent 65%),
    linear-gradient(160deg, var(--deep) 0%, var(--night) 60%, var(--abyss) 100%);
}
.closing-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
  padding-block: 96px;
}
@media (max-width: 900px) { .closing-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-block: 72px; } }
.closing .pill { margin-bottom: 20px; }
.closing h2 { margin: 0 0 14px; color: var(--on-deep); font-size: clamp(34px, 4.6vw, 52px); letter-spacing: -0.03em; line-height: 1.05; }
.closing .lede { margin: 0; color: var(--on-deep-2); font-size: 18px; }
.next { display: grid; gap: 14px; margin: 6px 0 0; padding: 0; list-style: none; counter-reset: next; max-width: 30em; }
.next li { position: relative; padding-left: 44px; color: var(--on-deep-2); font-size: 16.5px; line-height: 1.5; counter-increment: next; }
.next li::before {
  content: counter(next);
  position: absolute; left: 0; top: -1px;
  display: grid; place-items: center; width: 30px; height: 30px;
  border-radius: 50%; border: 1px solid var(--on-deep-line);
  background: rgba(255, 255, 255, 0.06); color: var(--glow);
  font-size: 14px; font-weight: 800;
}
.next b { color: var(--on-deep); font-weight: 700; }

/* The footer */
.site-footer { padding-block: 64px 40px; border-top: 0; color: var(--muted); font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .foot-brand { grid-column: 1 / -1; } }
.foot-brand img { height: 32px; width: auto; }
.foot-brand p { margin: 16px 0 0; max-width: 24em; }
.site-footer h2 {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.site-footer nav a, .site-footer .foot-grid > div > a {
  display: block;
  margin-bottom: 9px;
  color: var(--text-2);
  text-decoration: none;
}
.site-footer nav a:hover, .site-footer .foot-grid > div > a:hover { color: var(--green); text-decoration: underline; }
.site-footer .foot-grid p { margin: 0; }
.legal { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); }
.legal p { margin: 0 0 6px; font-size: 13px; }

/* ---------- Simple pages (privacy, confirm, landing pages of links) ---------- */

section { padding-block: 72px; border-top: 1px solid var(--line); }
.home main > section { border-top: 0; }

.page { max-width: 720px; margin: 0 auto; padding-inline: 20px; }
.brand { padding-block: 18px; }
.brand img { height: 32px; width: auto; }
.prose .signup { margin-top: 8px; }
.prose { padding-block: 32px 56px; max-width: 40em; }
.prose h1 { font-size: clamp(30px, 6vw, 40px); }
.prose h2 { font-size: 22px; margin-top: 28px; }
.prose p, .prose li { color: var(--text-2); }
.prose ul { padding-left: 1.2em; }

footer {
  padding-block: 28px 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}
footer p { margin: 0 0 6px; }
.site-footer { border-top: 0; }
