/* The RunFast website, drawn with the design guide's tokens and components
   (docs/design/README.md § 15). Every colour is a § 3 token below; WebSiteTests holds the
   values to RunFast/Theme/Tokens.swift. */

/* Tokens: light on :root, then dark, then the Increase Contrast values for each. */
:root {
  color-scheme: light dark;
  --background: #ECEDE8;
  --surface: #FFFFFF;
  --fill: #E3E5DF;
  --separator: #C9CCC3;
  --label: #15181C;
  --secondaryLabel: #4C514B;
  --tertiaryLabel: #6E737A;
  --mark: #7A7F78;
  --tint: #EB4F16;
  --onTint: #15181C;
  --tintText: #B23A0C;
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #111316;
    --surface: #1C1F24;
    --fill: #3A3F46;
    --separator: #30343A;
    --label: #ECEDE8;
    --secondaryLabel: #A9AEA6;
    --tertiaryLabel: #6E737A;
    --mark: #8E938B;
    --tint: #FF5A1F;
    --onTint: #15181C;
    --tintText: #FF7A45;
  }
}

@media (prefers-contrast: more) {
  :root {
    --separator: #80857E;
    --secondaryLabel: #3F443E;
    --mark: #62675F;
  }
}

@media (prefers-contrast: more) and (prefers-color-scheme: dark) {
  :root {
    --separator: #737870;
    --secondaryLabel: #C4C8C0;
    --mark: #A3A89F;
  }
}

/* Base. Sizes are rem, so the browser's text size scales them (§ 4's Dynamic Type). */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--background);
  color: var(--label);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

img, svg { display: block; }

a { color: var(--tintText); text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }

/* State never changes a colour, so text keeps its token pair's contrast; focus is a ring. */
:focus-visible { outline: 2px solid var(--tintText); outline-offset: 3px; }

.num { font-variant-numeric: tabular-nums; }
.secondary { color: var(--secondaryLabel); }

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding-inline: clamp(16px, 4vw, 40px);
}

.section { border-top: 1px solid var(--separator); }
.section > .wrap { padding-block: clamp(48px, 7vw, 88px); }

/* Header and footer */
.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  padding-block: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  color: var(--label);
  font-size: 1.25rem;
  font-weight: 700;
  text-decoration: none;
}
.brand img { width: 32px; height: 32px; border-radius: 7px; }

.nav { display: flex; flex-wrap: wrap; gap: 0 24px; font-size: 0.9375rem; }
.nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  color: var(--secondaryLabel);
  text-decoration: none;
}
.nav a:hover { text-decoration: underline; }

.site-footer { border-top: 1px solid var(--separator); }
.site-footer .wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-block: 24px 48px;
  font-size: 0.8125rem;
  color: var(--secondaryLabel);
}
.site-footer .nav a { color: var(--label); }
.site-footer p { max-width: 60em; }

/* Type beyond the app's: the page and section headlines grow with the window. */
.display {
  font-size: clamp(2.5rem, 1.5rem + 3.4vw, 4.25rem);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.headline {
  font-size: clamp(1.75rem, 1.25rem + 1.6vw, 2.5rem);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.lede {
  font-size: clamp(1.125rem, 1rem + 0.4vw, 1.3125rem);
  line-height: 1.45;
  color: var(--secondaryLabel);
  text-wrap: pretty;
}

.title3 { font-size: 1.25rem; line-height: 1.25; font-weight: 700; }
.semibold { font-weight: 600; }
.subheadline { font-size: 0.9375rem; }
.footnote { font-size: 0.8125rem; }
.caption { font-size: 0.75rem; }

/* The one action (§ 6.5): a capsule in tint with onTint text. Hover underlines the label. */
.action { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.action--centre { align-items: center; }
.action .caption-line { font-size: 0.8125rem; color: var(--secondaryLabel); }

.button-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 28px;
  border-radius: 999px;
  background: var(--tint);
  color: var(--onTint);
  font-size: 1.0625rem;
  font-weight: 600;
  text-decoration: none;
}
.button-primary:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Cards and their pieces (§ 5, § 6) */
.card { padding: 16px; border-radius: 24px; background: var(--surface); }

.icon-well {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--fill);
  color: var(--label);
}
.icon-well--small { width: 28px; height: 28px; }
.icon-well--tint { background: var(--tint); color: var(--onTint); }

.badge {
  align-self: flex-start;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--fill);
  color: var(--label);
  font-size: 0.75rem;
  font-weight: 600;
}

.row { display: flex; align-items: center; gap: 12px; }
.row .grow { flex: 1; }
.card-head { gap: 10px; }
.spread { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }

.progress-labels {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.8125rem;
  color: var(--secondaryLabel);
}
.progress { height: 8px; margin-top: 6px; border-radius: 999px; background: var(--fill); }
.progress > div { height: 8px; border-radius: 999px; background: var(--tint); }

.numeral { line-height: 1; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.numeral-row { display: flex; align-items: baseline; gap: 8px; }

/* Hero */
.hero { display: flex; flex-direction: column; gap: clamp(32px, 4vw, 48px); padding-block: clamp(24px, 5vw, 64px) clamp(56px, 8vw, 96px); }
.hero-top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 64px; }
.hero-top h1 { flex: 1 1 460px; max-width: 640px; }
.hero-pitch { flex: 1 1 340px; max-width: 420px; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }

/* The plan card: Plan's header and progress (§ 12 Plan) over the plan volume chart (§ 6.9) */
.plan-card { padding: clamp(16px, 2.4vw, 32px); display: flex; flex-direction: column; gap: 20px; }
.plan-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 32px; }
.plan-head .numeral { font-size: clamp(3rem, 2rem + 2.4vw, 4.5rem); }
.volume { padding-top: 16px; border-top: 1px solid var(--separator); display: flex; flex-direction: column; gap: 12px; }

.weeks, .phases {
  display: grid;
  grid-template-columns: repeat(13, minmax(0, 1fr));
  gap: clamp(4px, 1vw, 12px);
}
.weeks { height: clamp(140px, 15vw, 220px); }
.week { height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 6px; }
.week > div { align-self: stretch; border-radius: 4px; background: var(--mark); }
.week--done > div { background: var(--label); }
.week--done > svg { color: var(--label); }
.week--now > div { background: var(--tint); }
.week--now > svg { color: var(--tint); }

.phases { margin-top: 8px; padding-top: 6px; border-top: 1px solid var(--separator); font-size: 0.75rem; color: var(--secondaryLabel); }
.phases .current { color: var(--label); font-weight: 600; }

.legend { display: flex; flex-wrap: wrap; gap: 4px 20px; font-size: 0.75rem; color: var(--secondaryLabel); }
.legend span { display: flex; align-items: center; gap: 6px; }
.legend i { width: 10px; height: 10px; border-radius: 4px; background: var(--mark); }
.legend .done { background: var(--label); }
.legend .now { background: var(--tint); }

/* Three columns: a card from the app over a heading and two lines */
.columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  align-items: start;
  gap: 48px 24px;
}
.column { display: flex; flex-direction: column; gap: 16px; }
.column h2 { font-size: 1.375rem; line-height: 1.25; font-weight: 700; }
.column > p { color: var(--secondaryLabel); }

/* Week bars (§ 6.9): planned distance above, day initials below, today in tint */
.days, .day-initials {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 12px;
  text-align: center;
  font-size: 0.75rem;
  color: var(--secondaryLabel);
}
.days { height: 98px; margin-top: 12px; align-items: end; font-weight: 600; font-variant-numeric: tabular-nums; }
.day { display: flex; flex-direction: column; gap: 4px; }
.day > div { border-radius: 4px; background: var(--mark); }
.day--today span { color: var(--tintText); }
.day--today > div { background: var(--tint); }
.day-initials { margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--separator); }
.day-initials .today { color: var(--tintText); font-weight: 700; }

/* Session card (§ 6.4) */
.session { display: flex; flex-direction: column; }
.session .numeral-row { margin-top: 12px; gap: 6px; }
.session .numeral { font-size: 4rem; }
.session .session-caption { margin-top: 4px; }
.session .unit { font-size: 1.25rem; font-weight: 600; color: var(--secondaryLabel); }
.shape { margin-top: 14px; height: 40px; display: flex; align-items: flex-end; gap: 3px; }
.shape > div { border-radius: 4px; background: var(--mark); }
.shape .effort { background: var(--tint); }
.metrics {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--separator);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.metrics > div { display: flex; flex-direction: column; gap: 2px; }
.metrics .value { font-size: 1.25rem; font-weight: 600; }

.stack { display: flex; flex-direction: column; gap: 8px; }
.stack--tight { gap: 2px; }

/* AI Coach */
.coach { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 40px 72px; }
.coach-text { flex: 1 1 380px; max-width: 480px; display: flex; flex-direction: column; gap: 16px; }
.coach-text .lede { font-size: 1.1875rem; }
.note { flex: 1 1 360px; max-width: 460px; display: flex; flex-direction: column; gap: 8px; }
.note .part { margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--separator); display: flex; flex-direction: column; gap: 2px; }
.note figcaption { padding-top: 12px; border-top: 1px solid var(--separator); }

/* Facts */
.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 16px;
}
.fact { padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.fact h2 { margin-top: 4px; font-size: 1.0625rem; font-weight: 600; }
.fact p { font-size: 0.9375rem; color: var(--secondaryLabel); }

/* Screenshots: the app itself, in two pairs that wrap, so four across or two by two, never three
   and one. The shot's ground is the page's, so a hairline keeps the screen's edge; its corners are
   the iPhone screen's own (elliptical, as the shot is tall). */
.shots-wrap { display: flex; flex-direction: column; gap: clamp(24px, 3vw, 40px); }
.shots-head { display: flex; flex-direction: column; gap: 12px; max-width: 640px; }
.shots { display: flex; flex-wrap: wrap; gap: 32px 24px; }
.shot-pair { flex: 1 1 280px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.shot { display: flex; flex-direction: column; gap: 12px; }
.shot img { width: 100%; max-width: 280px; height: auto; border: 1px solid var(--separator); border-radius: 13% / 6%; }
.shot figcaption { display: flex; flex-direction: column; gap: 2px; }
.shot-title { font-size: 1.0625rem; font-weight: 600; }
.shot-line { font-size: 0.9375rem; color: var(--secondaryLabel); }

/* Closing */
.closing { display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.closing p { max-width: 30em; font-size: 1.1875rem; color: var(--secondaryLabel); text-wrap: pretty; }
.section > .wrap.closing { padding-block: clamp(56px, 8vw, 104px); }

/* Document pages: support and the privacy policy, one column of text */
.nav a[aria-current="page"] { color: var(--label); }

.doc {
  max-width: 680px;
  margin: 0 auto;
  padding: clamp(16px, 4vw, 40px) clamp(16px, 4vw, 40px) clamp(56px, 8vw, 96px);
}
.doc h1 { font-size: 2.125rem; line-height: 1.2; font-weight: 700; letter-spacing: 0.01em; }
.doc > .lede { margin-top: 8px; }
.doc h2 { margin-top: 32px; font-size: 1.25rem; line-height: 1.25; font-weight: 700; }
.doc h2 + p, .doc h2 + ul { margin-top: 8px; }
.doc p + p, .doc ul + p, .doc p + ul { margin-top: 12px; }
.doc ul { margin-bottom: 0; padding-left: 1.25em; }
.doc li + li { margin-top: 6px; }
.doc .stamp { margin-top: 24px; }
.doc .card { margin-top: 16px; }
.doc .card > p + p { margin-top: 4px; }

/* Questions: an inset grouped list (§ 6.6) whose rows open in place. The summary is the
   control: the row's full width, at least 44 px tall, its chevron pointing down when open. */
.questions { margin-top: 12px; border-radius: 24px; background: var(--surface); }
.questions details + details::before {
  content: "";
  display: block;
  height: 1px;
  margin-left: 16px;
  background: var(--separator);
}
.questions summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
  padding: 10px 16px;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}
.questions summary::-webkit-details-marker { display: none; }
.questions summary::after {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  margin-right: 4px;
  border-right: 2px solid var(--tertiaryLabel);
  border-bottom: 2px solid var(--tertiaryLabel);
  transform: rotate(-45deg);
}
.questions details[open] > summary::after { transform: rotate(45deg); }
.questions summary:focus-visible { outline-offset: -3px; border-radius: 20px; }
.questions details > p { margin: 0 16px; padding-bottom: 12px; }
.questions details > p + p { margin-top: 0; }

/* Guides (§ 15): Markdown on the document page. Prose blocks space themselves; headings,
   tables, images and the In RunFast card follow the document page's sizes. */
.prose > * + * { margin-top: 12px; }
.prose > h2 + *, .prose > h3 + * { margin-top: 8px; }
.prose > h3 { margin-top: 24px; font-size: 1.0625rem; line-height: 1.3; font-weight: 600; }
.doc ol { margin-bottom: 0; padding-left: 1.25em; }
.doc img { max-width: 100%; height: auto; border-radius: 24px; }

.back { display: inline-flex; align-items: center; min-height: 44px; margin-bottom: 4px; }
.guide > .guide-meta { margin-top: 12px; }
.guide > .guide-note { margin-top: 32px; padding-top: 16px; border-top: 1px solid var(--separator); }

/* A citation: a superscript number linking to its source, its target padded past the digit. */
.cite { font-size: 0.75rem; font-weight: 600; line-height: 0; white-space: nowrap; }
.cite a { padding: 6px 3px; margin: 0 -3px; text-decoration: none; }
.cite a:hover { text-decoration: underline; }

/* A guide: one text column of at most 720 px inside the site's 1120 px width. Wide tables (4 or
   more columns) span the full width; everything else stays with the text, where lines stay
   readable. Without :has(), every table stays in the text column and scrolls inside its card. */
.doc.guide {
  max-width: 1120px;
  display: grid;
  grid-template-columns: [full-start] minmax(0, 1fr) [text-start] minmax(0, 720px) [text-end] minmax(0, 1fr) [full-end];
}
.doc.guide > * { grid-column: text; }
.doc.guide > .table-wrap:has(th:nth-child(4)) { grid-column: full; }

/* A table: a card that scrolls sideways inside itself, never the page. */
.table-wrap { overflow-x: auto; border-radius: 24px; background: var(--surface); }
.table-wrap:focus-visible { outline-offset: -2px; }
.table-wrap table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.table-wrap caption { padding: 16px 16px 0; text-align: left; font-size: 0.8125rem; color: var(--secondaryLabel); }
.table-wrap th, .table-wrap td { padding: 10px 16px; text-align: left; vertical-align: top; }
.table-wrap th { font-size: 0.8125rem; font-weight: 600; color: var(--secondaryLabel); white-space: nowrap; }
.table-wrap tbody tr { border-top: 1px solid var(--separator); }
.table-wrap td { min-width: 7em; }
.table-wrap td.align-right { white-space: nowrap; }
.table-wrap .align-right { text-align: right; }
.table-wrap .align-center { text-align: center; }

/* In RunFast: the guide's one paragraph on the app, a card that stands apart. */
.callout { display: flex; flex-direction: column; gap: 8px; }
.doc .callout h2 { margin-top: 0; font-size: 1.0625rem; line-height: 1.3; font-weight: 600; }
.doc .callout > p + p { margin-top: 0; }

/* Sources: the numbered list the citations point at. Long DOIs and URLs break anywhere. */
.doc .sources { padding-left: 1.5em; }
.sources li + li { margin-top: 8px; }
.sources a { overflow-wrap: anywhere; }
.sources li:target { font-weight: 600; }

/* Guide rows: an inset grouped list (§ 6.6) of two-line rows, each row the link, a chevron at
   its end. On the index and under Related guides. */
.doc .rows { margin-top: 12px; padding: 0; list-style: none; border-radius: 24px; background: var(--surface); }
.doc .rows li + li { margin-top: 0; }
.rows li + li::before { content: ""; display: block; height: 1px; margin-left: 16px; background: var(--separator); }
.rows a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 60px;
  padding: 10px 16px;
  color: var(--label);
  text-decoration: none;
}
.rows a::after {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  margin-right: 4px;
  border-right: 2px solid var(--tertiaryLabel);
  border-bottom: 2px solid var(--tertiaryLabel);
  transform: rotate(-45deg);
}
.rows a:hover .row-title { text-decoration: underline; }
.rows a:focus-visible { outline-offset: -3px; border-radius: 20px; }
.row-text { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.row-detail { color: var(--secondaryLabel); }

/* Tool pages (§ 15): the pace calculator, a document page holding two tools. Its controls are
   neutral, as § 6.13 has the app's segmented pickers; orange stays for links and the focus ring. */
.vh {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.pc [hidden] { display: none !important; }
/* No specificity, so a list row's inset still applies to a fieldset that is one. */
:where(.pc fieldset) { min-width: 0; margin: 0; padding: 0; border: 0; }
.pc .pc-noscript { margin-top: 16px; color: var(--secondaryLabel); }

.pc-units { margin-top: 20px; display: flex; align-items: center; gap: 12px; }
.pc-units-label { color: var(--secondaryLabel); font-size: 0.9375rem; }

/* Segmented control (app: the segmented Picker, Profile's Units): radios in a fill capsule, the
   chosen one a label-coloured thumb with background-coloured text. The app's thumb is a lighter
   fill with a shadow; the site has no shadows, so this one carries its own contrast. */
.pc-seg { display: inline-flex; border-radius: 999px; background: var(--fill); }
.pc-seg--full { display: flex; }
.pc-seg--full > label { flex: 1; }
.pc-seg label { display: flex; min-height: 44px; padding: 2px; cursor: pointer; }
.pc-seg label > span {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  padding: 0 16px;
  border-radius: 999px;
  color: var(--label);
  font-size: 0.9375rem;
}
.pc-seg input:checked + span { background: var(--label); color: var(--background); font-weight: 600; }
.pc-seg input:focus-visible + span { outline: 2px solid var(--tintText); outline-offset: 2px; }

/* An inset grouped list (§ 6.6) of input rows, a result, or label and value rows. Hairlines run
   between visible rows, inset 16 px from the leading edge. */
.pc .pc-group { margin: 16px 0 0; padding: 0; border-radius: 24px; background: var(--surface); }
.pc h2 + .pc-group, .pc h3 + .pc-group { margin-top: 12px; }
.pc-group > * { margin: 0 0 0 16px; padding: 0 16px 0 0; }
.pc-group > :not([hidden]) ~ :not([hidden]) { border-top: 1px solid var(--separator); }
.pc-group dt, .pc-group dd { margin: 0; }
.pc-solve { padding-block: 12px; }

.pc-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 12px;
  min-height: 44px;
  padding-block: 8px;
}
.pc-row--input { min-height: 60px; }
.pc-value { color: var(--secondaryLabel); font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Text field and select (app: a form row's value, the menu Picker): a fill capsule, label text,
   right-aligned and at least 44 px tall. Focus is the site's ring. */
.pc-field {
  width: 9.5em;
  max-width: 100%;
  min-height: 44px;
  margin: 0;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: var(--fill);
  color: var(--label);
  font: inherit;
  font-variant-numeric: tabular-nums;
  text-align: right;
}
.pc-with-unit { display: flex; align-items: center; gap: 8px; }
.pc-with-unit .pc-field { width: 7em; }
.pc-with-unit > span { color: var(--secondaryLabel); }
.pc-select { position: relative; display: inline-flex; }
.pc-select select { -webkit-appearance: none; appearance: none; padding-right: 36px; text-align-last: right; }
.pc-select svg {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--secondaryLabel);
  pointer-events: none;
}

/* The answer: the § 4 hero numeral with its unit as on the session card, smaller only where the
   window can't hold it. */
.pc-result { padding-block: 12px 16px; }
.pc .pc-result p + p { margin-top: 4px; }
.pc-result .numeral-row { flex-wrap: wrap; gap: 6px; }
.pc-hero { font-size: clamp(2rem, 16vw, 4rem); overflow-wrap: anywhere; }
.pc-hero-unit { font-size: 1.25rem; font-weight: 600; color: var(--secondaryLabel); }
.pc-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: 4px; }

/* A list's footer and a message in the results' place (§ 6.12): secondaryLabel, no colour. */
.pc .pc-foot { margin: 8px 16px 0; font-size: 0.8125rem; color: var(--secondaryLabel); }
.pc .pc-message { color: var(--secondaryLabel); }
.pc .pc-message--below { margin: 12px 16px 0; }
.pc h3 { margin-top: 24px; font-size: 1.0625rem; line-height: 1.3; font-weight: 600; }

/* The pace chart: the guides' table with figures that fit a phone, right-aligned and tabular,
   the pace per km as each row's header. */
.pc .table-wrap { margin-top: 12px; }
.pc-chart th, .pc-chart td { min-width: 0; padding: 6px 5px; text-align: right; white-space: nowrap; }
.pc-chart th:first-child, .pc-chart td:first-child { padding-left: 16px; }
.pc-chart th:last-child, .pc-chart td:last-child { padding-right: 16px; }
.pc-chart td, .pc-chart tbody th { font-size: 0.9375rem; }
.pc-chart tbody th { color: var(--label); }

.pc .callout { margin-top: 32px; }
