:root {
  color-scheme: light dark;
  --page: #F1F3F2;
  --card: #FFFFFF;
  --card-near: #E9ECEC;
  --card-far: #E2E6E7;
  --ink: #0F1113;
  --ink-2: #3B4248;
  --muted: #5A6168;
  --dim: #5F666D;
  --progress: #4E6A00;
  --control: #80878D;
  --outline: #C9CFD2;
  --rule: #D7DCDE;
  --rule-2: #E3E7E8;
  --inverse: #0F1113;
  --inverse-text: #F1F3F2;
  --inverse-progress: #C8F03C;
  --inverse-muted: #9AA2A8;
  --inverse-rule: #2C3136;
}
@media (prefers-color-scheme: dark) {
  :root {
    --page: #0F1113;
    --card: #1A1D20;
    --card-near: #16191C;
    --card-far: #131619;
    --ink: #EEF1F0;
    --ink-2: #C3CACE;
    --muted: #9AA2A8;
    --dim: #858D93;
    --progress: #C8F03C;
    --control: #646C74;
    --outline: #343A40;
    --rule: #2C3136;
    --rule-2: #24292D;
    --inverse: #EEF1F0;
    --inverse-text: #0F1113;
    --inverse-progress: #4E6A00;
    --inverse-muted: #5A6168;
    --inverse-rule: #D7DCDE;
  }
}
.scheme-dark {
  color-scheme: dark;
  --page: #0F1113;
  --card: #1A1D20;
  --card-near: #16191C;
  --card-far: #131619;
  --ink: #EEF1F0;
  --ink-2: #C3CACE;
  --muted: #9AA2A8;
  --dim: #858D93;
  --progress: #C8F03C;
  --control: #646C74;
  --outline: #343A40;
  --rule: #2C3136;
  --rule-2: #24292D;
  --inverse: #EEF1F0;
  --inverse-text: #0F1113;
  --inverse-progress: #4E6A00;
  --inverse-muted: #5A6168;
  --inverse-rule: #D7DCDE;
}
.scheme-light {
  color-scheme: light;
  --page: #F1F3F2;
  --card: #FFFFFF;
  --card-near: #E9ECEC;
  --card-far: #E2E6E7;
  --ink: #0F1113;
  --ink-2: #3B4248;
  --muted: #5A6168;
  --dim: #5F666D;
  --progress: #4E6A00;
  --control: #80878D;
  --outline: #C9CFD2;
  --rule: #D7DCDE;
  --rule-2: #E3E7E8;
  --inverse: #0F1113;
  --inverse-text: #F1F3F2;
  --inverse-progress: #C8F03C;
  --inverse-muted: #9AA2A8;
  --inverse-rule: #2C3136;
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/IBMPlexSans-Regular-Latin1.woff2?v=b5ad7bd39f") format("woff2");
  unicode-range: U+0000, U+000D, U+0020-007E, U+00A0-00A3, U+00A4-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2013-2014, U+2018-201A, U+201C-201E, U+2020-2022, U+2026, U+2030, U+2039-203A, U+2044, U+2074, U+20AC, U+2122, U+2212, U+FB01-FB02;
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/IBMPlexSans-Medium-Latin1.woff2?v=b5610af04d") format("woff2");
  unicode-range: U+0000, U+000D, U+0020-007E, U+00A0-00A3, U+00A4-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2013-2014, U+2018-201A, U+201C-201E, U+2020-2022, U+2026, U+2030, U+2039-203A, U+2044, U+2074, U+20AC, U+2122, U+2212, U+FB01-FB02;
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/IBMPlexSans-SemiBold-Latin1.woff2?v=fff0ab3a88") format("woff2");
  unicode-range: U+0000, U+000D, U+0020-007E, U+00A0-00A3, U+00A4-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2013-2014, U+2018-201A, U+201C-201E, U+2020-2022, U+2026, U+2030, U+2039-203A, U+2044, U+2074, U+20AC, U+2122, U+2212, U+FB01-FB02;
}
@font-face {
  font-family: "IBM Plex Sans Condensed";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/IBMPlexSansCondensed-SemiBold-Latin1.woff2?v=6738b1096f") format("woff2");
  unicode-range: U+0000, U+000D, U+0020-007E, U+00A0-00A3, U+00A4-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2013-2014, U+2018-201A, U+201C-201E, U+2020-2022, U+2026, U+2030, U+2039-203A, U+2044, U+2074, U+20AC, U+2122, U+2212, U+FB01-FB02;
}
@font-face {
  font-family: "IBM Plex Sans Condensed";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/IBMPlexSansCondensed-Bold-Latin1.woff2?v=765b0d6c8e") format("woff2");
  unicode-range: U+0000, U+000D, U+0020-007E, U+00A0-00A3, U+00A4-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2013-2014, U+2018-201A, U+201C-201E, U+2020-2022, U+2026, U+2030, U+2039-203A, U+2044, U+2074, U+20AC, U+2122, U+2212, U+FB01-FB02;
}
/*
 * trainpersonal.app (docs/specs/website.md, section H). The colours are not here: the build
 * writes them before this file as custom properties from packages/design, light by default,
 * dark from the system, and `.scheme-dark` / `.scheme-light` for a band that keeps one.
 * The type is the app's: IBM Plex Sans Condensed for names, numbers and headlines, IBM Plex
 * Sans for sentences. Volt (--progress) is for progress only, as in the app.
 */

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

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

:root {
  --sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --condensed: "IBM Plex Sans Condensed", "Arial Narrow", "Roboto Condensed", system-ui, sans-serif;
  --gutter: 16px;
  --wide: 1200px;
  --text: 68ch;
  --radius-card: 24px;
  --radius-button: 16px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font: 400 1.0625rem / 1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

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

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration-thickness: 2px;
}

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

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

.wrap {
  width: 100%;
  max-width: var(--wide);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

@media (min-width: 768px) {
  :root {
    --gutter: 32px;
  }
}

@media (min-width: 1200px) {
  :root {
    --gutter: 48px;
  }
}

.skip {
  position: absolute;
  left: 8px;
  top: -100px;
  z-index: 10;
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--inverse);
  color: var(--inverse-text);
  font-weight: 600;
}

.skip:focus {
  top: 8px;
}

.scheme-dark,
.scheme-light {
  background: var(--page);
  color: var(--ink);
}

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

.display,
.headline,
.title {
  font-family: var(--condensed);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.005em;
  text-wrap: balance;
}

.display {
  font-size: clamp(3rem, 10.5vw, 8.75rem);
  line-height: 0.9;
}

.headline {
  font-size: clamp(2.25rem, 4.8vw, 4.25rem);
  line-height: 0.95;
}

.title {
  font-size: clamp(1.75rem, 3.4vw, 2.5rem);
  line-height: 1;
}

.kicker {
  font-family: var(--condensed);
  font-weight: 600;
  font-size: 0.8125rem;
  line-height: 1.2;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dim);
}

.lede {
  font-size: clamp(1.1875rem, 1.9vw, 1.5rem);
  line-height: 1.45;
  color: var(--ink-2);
  max-width: 34em;
  text-wrap: pretty;
}

.body {
  color: var(--ink-2);
  max-width: 36em;
  text-wrap: pretty;
}

.body + .body {
  margin-top: 0.8em;
}

.muted {
  color: var(--muted);
}

.figure {
  font-family: var(--condensed);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.stack > * + * {
  margin-top: var(--stack, 20px);
}

/* ---------- Buttons and the call to action ---------- */

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

.cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 24px;
  border-radius: var(--radius-button);
  font: 600 1.0625rem / 1.2 var(--sans);
  text-decoration: none;
  white-space: nowrap;
}

.cta-soon {
  background: var(--inverse);
  color: var(--inverse-text);
  gap: 10px;
}

.cta-soon::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--inverse-progress);
  flex: none;
}

.cta-store {
  padding: 0;
  min-height: 0;
}

.cta-store img {
  height: 54px;
  width: auto;
}

.button {
  border: 1px solid var(--control);
  color: var(--ink);
  background: transparent;
  transition: background-color 150ms ease;
}

.button:hover {
  background: var(--card);
  text-decoration: none;
}

.text-link {
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
}

.text-link::after {
  content: "→";
  transition: transform 200ms var(--ease-out);
}

.text-link:hover::after {
  transform: translateX(4px);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: color-mix(in srgb, var(--page) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--rule);
}

.header-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0 24px;
  min-height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  text-decoration: none;
  font-family: var(--condensed);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.mark-small {
  width: 26px;
  height: 31px;
}

.mark-bar {
  fill: var(--muted);
}

.mark-plate {
  fill: var(--ink);
}

.mark-added {
  fill: var(--progress);
}

.site-nav {
  order: 3;
  width: 100%;
  margin-inline: -8px;
}

.site-nav ul,
.footer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 8px;
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--ink-2);
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--ink);
}

.site-nav a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.45em;
}

.header-cta {
  display: none;
}

.header-cta .cta {
  min-height: 44px;
  padding: 0 16px;
  font-size: 0.9375rem;
}

@media (min-width: 900px) {
  .site-nav {
    order: 0;
    width: auto;
    margin-inline: auto 0;
  }

  .site-nav a {
    padding: 0 12px;
  }

  .header-cta {
    display: block;
  }
}

/* ---------- Bands ---------- */

.band {
  padding-block: clamp(72px, 10vw, 136px);
  position: relative;
}

.band-tight {
  padding-block: clamp(56px, 8vw, 112px);
}

.band + .band:not([class*="scheme-"]):not(.band-inverse) {
  border-top: 1px solid var(--rule);
}

.band-card {
  background: var(--card);
}

.band-inverse {
  background: var(--inverse);
  color: var(--inverse-text);
}

.band-inverse .kicker {
  color: var(--inverse-muted);
}

.band-inverse .lede,
.band-inverse .body {
  color: var(--inverse-text);
  opacity: 0.86;
}

.band-head {
  max-width: 980px;
  display: grid;
  gap: 24px;
}

.split {
  display: grid;
  gap: 56px;
  align-items: center;
}

@media (min-width: 960px) {
  .split {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 72px;
  }

  .split-flip > :first-child {
    order: 2;
  }
}

/* ---------- The screens ----------
 * The app's own screens, with no device drawn around them: Apple allows only its own device
 * art, unmodified (docs/research/2026-10-20-website-guide-and-store-rules.md, Part B). A
 * screen is a rounded panel, lit from below.
 */

.phone {
  position: relative;
  width: min(100%, var(--phone-width, 340px));
  margin-inline: auto;
  aspect-ratio: 402 / 874;
  border-radius: calc(var(--phone-width, 340px) * 0.15);
  box-shadow:
    0 0 0 1px var(--outline),
    0 2px 4px rgb(0 0 0 / 0.05),
    0 28px 56px -16px rgb(0 0 0 / 0.26),
    0 64px 120px -32px rgb(0 0 0 / 0.24);
}

.phone > picture,
.phone > img,
.phone .screens {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  overflow: hidden;
  background: var(--card);
}

.phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.phone-large {
  --phone-width: 380px;
}

.phone-small {
  --phone-width: 260px;
}

/* Several screens in one phone, shown in turn as the words go by (site.js). */
.phone .screens {
  position: relative;
}

.phone .screens > [data-shot] {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 360ms ease;
}

.phone .screens > [data-shot].is-shown {
  opacity: 1;
}

.phone .screens > [data-shot] > picture {
  height: 100%;
}

.caption {
  margin-top: 20px;
  text-align: center;
  font-size: 0.9375rem;
  color: var(--muted);
}

/* ---------- The mark, large, with its one movement ---------- */

.mark-hero {
  width: clamp(120px, 18vw, 200px);
  height: auto;
  overflow: visible;
}

.mark-hero .mark-added,
.site-header .mark-added {
  animation: plate-seat 450ms var(--ease-out) 300ms both;
}

@keyframes plate-seat {
  from {
    transform: translateX(144px);
  }

  to {
    transform: translateX(0);
  }
}

/* ---------- Hero ----------
 * Product first: the promise and the real Home screen side by side, both in the first view.
 * The screen is sized from the window's height, so it is never cut off at the fold.
 */

.hero {
  display: grid;
  align-items: center;
  min-height: min(calc(100svh - 64px), 940px);
  padding-block: clamp(40px, 6vh, 72px);
  overflow: clip;
}

.hero-grid {
  display: grid;
  gap: 48px;
  align-items: center;
}

.hero-text {
  display: grid;
  gap: 24px;
  justify-items: start;
  max-width: 640px;
}

.hero .display {
  font-size: clamp(2.5rem, 5vw, 4.75rem);
  line-height: 0.95;
}

.hero .lede {
  max-width: 30em;
}

.hero .actions {
  margin-top: 8px;
}

.hero .phone {
  --phone-width: min(340px, calc((100svh - 200px) * 402 / 874));
  width: var(--phone-width);
  min-width: 240px;
}

@media (min-width: 1040px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 72px;
  }
}

/* ---------- Worries: three questions and their answers ---------- */

.worries {
  display: grid;
  gap: 16px;
  margin-top: 64px;
  padding: 0;
  list-style: none;
}

@media (min-width: 860px) {
  .worries {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }
}

.worry {
  padding: 32px 28px 36px;
  border-radius: var(--radius-card);
  background: var(--card);
  border: 1px solid var(--rule);
}

.worry-q {
  font-family: var(--condensed);
  font-weight: 600;
  font-size: clamp(1.625rem, 2.6vw, 2rem);
  line-height: 1.05;
  color: var(--ink);
}

.worry-a {
  margin-top: 20px;
  font-size: 1.125rem;
  line-height: 1.5;
  color: var(--ink);
}

/* ---------- A row of phones: set-up's four questions ---------- */

.phone-row {
  --phone-width: 248px;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(72%, 248px);
  gap: 20px;
  margin-top: 64px;
  margin-inline: calc(var(--gutter) * -1);
  padding: 8px var(--gutter) 8px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  list-style: none;
}

.phone-row > li {
  scroll-snap-align: start;
}

.phone-row figcaption {
  margin-top: 20px;
}

.step-number {
  font-family: var(--condensed);
  font-weight: 600;
  font-size: 0.8125rem;
  letter-spacing: 0.16em;
  color: var(--dim);
  font-variant-numeric: tabular-nums;
}

.step-label {
  margin-top: 6px;
  font-weight: 600;
  line-height: 1.35;
}

@media (min-width: 1100px) {
  .phone-row {
    grid-auto-flow: row;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-inline: 0;
    padding-inline: 0;
    overflow: visible;
  }
}

/* ---------- Three screens, each with its line ---------- */

.trio {
  --phone-width: 300px;
  display: grid;
  gap: 64px;
  margin: 64px 0 0;
  padding: 0;
  list-style: none;
}

.trio > li {
  display: grid;
  gap: 16px;
  align-content: start;
}

.trio .phone {
  margin-bottom: 16px;
}

.trio .title {
  font-size: 1.625rem;
}

@media (min-width: 900px) {
  .trio {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px;
  }
}

/* ---------- The weights going up: the app's turned card ---------- */

.lift {
  display: grid;
  gap: 56px;
  align-items: center;
}

@media (min-width: 960px) {
  .lift {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 72px;
  }
}

/* ---------- Features in a grid ---------- */

.features {
  display: grid;
  gap: 16px;
  margin-top: 64px;
  padding: 0;
  list-style: none;
}

@media (min-width: 720px) {
  .features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
}

@media (min-width: 1080px) {
  .features-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.feature {
  padding: 28px;
  border-radius: var(--radius-card);
  background: var(--card);
  border: 1px solid var(--rule);
}

.feature h3 {
  font-family: var(--condensed);
  font-weight: 600;
  font-size: 1.375rem;
  line-height: 1.15;
}

.feature p {
  margin-top: 10px;
  color: var(--ink-2);
}

/* ---------- Private: three plain statements ---------- */

.promises {
  display: grid;
  gap: 0;
  margin-top: 56px;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--rule);
}

.promise {
  display: grid;
  gap: 8px 48px;
  padding-block: 28px;
  border-bottom: 1px solid var(--rule);
}

.promise h2,
.promise h3 {
  font-family: var(--condensed);
  font-weight: 600;
  font-size: clamp(1.5rem, 2.6vw, 2.125rem);
  line-height: 1.05;
}

.promise p {
  color: var(--ink-2);
  max-width: 36em;
}

@media (min-width: 860px) {
  .promise {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: baseline;
  }
}

/* ---------- Prices ---------- */

.plans {
  display: grid;
  gap: 20px;
  margin-top: 56px;
}

@media (min-width: 860px) {
  .plans {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
  }
}

.plan {
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 4vw, 44px);
  border-radius: var(--radius-card);
  background: var(--card);
  border: 1px solid var(--rule);
}

.plan-inverse {
  background: var(--inverse);
  color: var(--inverse-text);
  border-color: transparent;
}

.plan-inverse .kicker,
.plan-inverse .muted {
  color: var(--inverse-muted);
}

.plan-name {
  font-family: var(--condensed);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  text-transform: uppercase;
}

.plan-price {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
}

.plan-price .figure {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  line-height: 1;
}

.plan-list {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.plan-list li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 12px;
  line-height: 1.45;
}

.plan-list li::before {
  content: "";
  width: 14px;
  height: 8px;
  margin-top: 0.42em;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
  opacity: 0.7;
}

/* Pricing page: the free plan's long list runs in two columns beside the coach plan. */
@media (min-width: 1080px) {
  .plans-wide {
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  }

  .plan-list-two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 32px;
  }
}

.plan-foot {
  margin-top: auto;
  padding-top: 28px;
  font-size: 0.9375rem;
}

/* ---------- Cards that link: the guide ---------- */

.cards {
  display: grid;
  gap: 16px;
  margin-top: 56px;
  padding: 0;
  list-style: none;
}

@media (min-width: 720px) {
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
}

@media (min-width: 1080px) {
  .cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* The guide's first read leads, two cards wide, so five cards fill the grid. */
@media (min-width: 720px) {
  .card-lead {
    grid-column: span 2;
  }

  .card-lead .card-link h3 {
    font-size: clamp(2rem, 3.4vw, 2.75rem);
    text-transform: uppercase;
    line-height: 1;
  }

  .card-lead .card-link {
    background: var(--inverse);
    color: var(--inverse-text);
    border-color: transparent;
  }

  .card-lead .card-link p,
  .card-lead .card-link .kicker {
    color: var(--inverse-muted);
  }
}

.card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 200px;
  padding: 28px;
  border-radius: var(--radius-card);
  background: var(--card);
  border: 1px solid var(--rule);
  text-decoration: none;
  transition:
    transform 240ms var(--ease-out),
    border-color 240ms ease;
}

.card-link:hover {
  transform: translateY(-3px);
  border-color: var(--control);
}

.card-link h3 {
  margin-top: 14px;
  font-family: var(--condensed);
  font-weight: 600;
  font-size: 1.625rem;
  line-height: 1.1;
}

.card-link p {
  margin-top: 10px;
  color: var(--ink-2);
}

.card-link .meta {
  margin-top: auto;
  padding-top: 20px;
  font-size: 0.875rem;
  color: var(--muted);
}

/* ---------- The closing call ---------- */

.closing {
  display: grid;
  gap: 32px;
  justify-items: center;
  text-align: center;
}

.closing .actions {
  justify-content: center;
}

/* ---------- Page heads for the inner pages ---------- */

.page-head {
  display: grid;
  gap: 24px;
  padding-block: clamp(56px, 9vw, 120px) clamp(40px, 6vw, 72px);
}

/* ---------- How it works: numbered steps ---------- */

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
}

.steps > li {
  counter-increment: step;
  display: grid;
  gap: 40px;
  padding-block: clamp(56px, 8vw, 112px);
  border-top: 1px solid var(--rule);
  align-items: center;
}

/* The step's number, set large above its title. */
.steps > li > div::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  margin-bottom: 20px;
  font-family: var(--condensed);
  font-weight: 700;
  font-size: clamp(3.5rem, 7vw, 6rem);
  line-height: 0.85;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  color: var(--dim);
}

.steps .body {
  font-size: 1.125rem;
  max-width: 30em;
}

.steps .title + .body {
  margin-top: 20px;
}

.steps .phone {
  --phone-width: 300px;
}

@media (min-width: 900px) {
  .steps > li {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(48px, 7vw, 112px);
  }

  /* Phones alternate sides, so the eye zigzags down the page. */
  .steps > li:nth-child(even) > figure {
    order: -1;
  }
}

/* ---------- Prose: the guide and the policies ---------- */

.prose {
  max-width: var(--text);
  margin-inline: auto;
  padding: 0 var(--gutter) 96px;
  font-size: 1.125rem;
  line-height: 1.7;
  overflow-wrap: break-word;
}

.prose h1 {
  font-family: var(--condensed);
  font-weight: 700;
  font-size: clamp(2.25rem, 6vw, 3.75rem);
  line-height: 0.98;
  text-transform: uppercase;
  text-wrap: balance;
  margin: clamp(48px, 8vw, 96px) 0 24px;
}

.prose h2 {
  font-family: var(--condensed);
  font-weight: 600;
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.1;
  margin: 2em 0 0.5em;
}

.prose h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 1.6em 0 0.3em;
}

.prose p,
.prose ul,
.prose ol,
.prose table,
.prose blockquote {
  margin: 0 0 1em;
}

.prose ul,
.prose ol {
  padding-left: 1.3em;
}

.prose li + li {
  margin-top: 0.35em;
}

.prose a {
  text-decoration-color: var(--control);
}

.prose blockquote {
  padding: 4px 0 4px 20px;
  border-left: 3px solid var(--progress);
  color: var(--ink-2);
}

.prose table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.prose th,
.prose td {
  border: 1px solid var(--rule);
  padding: 8px 12px;
  text-align: left;
  vertical-align: top;
}

.prose code {
  background: var(--card);
  padding: 0.1em 0.3em;
  border-radius: 4px;
  font-size: 0.9em;
}

.prose hr {
  border: 0;
  border-top: 1px solid var(--rule);
  margin: 2em 0;
}

/* A guide article's head and its closing note (the build writes both). */
.guide > header {
  display: grid;
  gap: 20px;
  margin: clamp(48px, 8vw, 96px) 0 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--rule);
}

.guide > header > h1 {
  margin: 0;
}

.guide .meta {
  font-size: 0.875rem;
  color: var(--muted);
}

.guide-note {
  margin-top: 48px;
  padding: 20px 24px;
  border-radius: 16px;
  background: var(--card);
  border: 1px solid var(--rule);
  color: var(--ink-2);
  font-size: 0.9375rem;
}

.guide-app {
  margin-top: 48px;
  padding: clamp(24px, 4vw, 36px);
  border-radius: var(--radius-card);
  background: var(--inverse);
  color: var(--inverse-text);
}

.guide-app h2 {
  margin-top: 0;
}

/* ---------- Questions: native disclosure, no script ---------- */

.faq {
  max-width: 880px;
  border-top: 1px solid var(--rule);
}

.faq details {
  border-bottom: 1px solid var(--rule);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding-block: 16px;
  cursor: pointer;
  list-style: none;
  font-family: var(--condensed);
  font-weight: 600;
  font-size: clamp(1.25rem, 2.2vw, 1.625rem);
  line-height: 1.2;
}

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

.faq summary::after {
  content: "";
  flex: none;
  width: 12px;
  height: 12px;
  margin-right: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-3px);
  transition: transform 200ms var(--ease-out);
}

.faq details[open] summary::after {
  transform: rotate(-135deg) translateY(-3px);
}

.faq .answer {
  padding-bottom: 28px;
  color: var(--ink-2);
  max-width: 40em;
}

.answer > p + p {
  margin-top: 0.8em;
}

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

.site-footer {
  border-top: 1px solid var(--rule);
  padding-block: 56px 48px;
  font-size: 0.9375rem;
}

.footer-top {
  display: grid;
  gap: 8px;
}

.footer-line {
  color: var(--muted);
}

.footer-nav {
  margin: 32px 0 24px;
  margin-inline: -8px;
}

.footer-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 8px;
  color: var(--ink-2);
}

.fine {
  color: var(--muted);
  font-size: 0.875rem;
  max-width: 60em;
}

.fine + .fine {
  margin-top: 8px;
}

/* ---------- The draft bar ---------- */

.draft-bar {
  margin: 0;
  padding: 10px 16px;
  background: var(--inverse);
  color: var(--inverse-text);
  text-align: center;
  font-weight: 600;
  font-size: 0.9375rem;
}

/* ---------- Not found ---------- */

.not-found {
  min-height: 60vh;
  display: grid;
  align-content: center;
}

/* ---------- Things that come into view (site.js adds .js and .is-in) ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 700ms var(--ease-out),
    transform 700ms var(--ease-out);
}

.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ---------- Less motion: nothing moves, the plate is drawn seated ---------- */

@media (prefers-reduced-motion: reduce) {
  .mark-hero .mark-added,
  .site-header .mark-added {
    animation: none;
  }

  .js .reveal,
  .phone .screens > [data-shot],
  .card-link,
  .text-link::after,
  .button,
  .faq summary::after {
    transition: none;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }

  .card-link:hover,
  .text-link:hover::after {
    transform: none;
  }
}

/* ---------- Print: the policies print plainly ---------- */

@media print {
  .site-header,
  .site-footer,
  .draft-bar,
  .skip {
    display: none;
  }

  body {
    background: #fff;
    color: #000;
  }
}

/* ---------- Home: the weights band, today's focus ---------- */

.done-card {
  width: min(100%, 440px);
  margin: 8px 0;
}

.done-card img {
  width: 100%;
  border-radius: 6.6% / 16%;
  box-shadow:
    0 0 0 1px var(--outline),
    0 28px 56px -16px rgb(0 0 0 / 0.3);
}

.focus {
  display: grid;
  gap: 28px;
  justify-items: center;
  text-align: center;
}

.focus .lede {
  margin-inline: auto;
}

.focus-quote {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 8px 20px;
  padding: 24px 32px;
  border-radius: var(--radius-card);
  background: var(--page);
  border: 1px solid var(--rule);
  font-size: clamp(1.25rem, 2.6vw, 1.75rem);
  font-weight: 500;
  line-height: 1.3;
}

.focus-label {
  font-family: var(--condensed);
  font-weight: 600;
  font-size: 0.8125rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dim);
}

.more {
  margin-top: 32px;
}

.cards-flush {
  margin-top: 0;
}

.promises-flush {
  margin-top: 0;
}
