/*
 * palestrando.it: the "ferro e gesso" design system of the app (palestra/src/ui/theme.ts,
 * palestra/system-design). Chalk background, iron text and "now" panels, the Palestrando
 * orange on the one thing to do, plate colors only to name a workout, green/rust/gold only
 * for data.
 */

@font-face {
  font-family: 'Big Shoulders Display';
  src: url('fonts/big-shoulders-display-800.woff2') format('woff2');
  font-weight: 800;
  font-display: swap;
}
@font-face {
  font-family: 'Big Shoulders Display';
  src: url('fonts/big-shoulders-display-700.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'Barlow';
  src: url('fonts/barlow-400.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Barlow';
  src: url('fonts/barlow-600.woff2') format('woff2');
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: 'Barlow';
  src: url('fonts/barlow-700.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: light dark;
  --background: #f3f4f2;
  --surface: #ffffff;
  --border: #d9dde2;
  --text: #1c2733;
  --text-secondary: #5a6573;
  --primary: #1f56d6;
  --accent: #ff5a1f;
  --accent-pressed: #e04812;
  --accent-soft: #ffe8de;
  --on-accent: #ffffff;
  --success: #1e7d49;
  --disabled: #b8bec7;
  --ink: #1c2733;
  --ink-text: #aebbcb;
  --ink-line: rgba(255, 255, 255, 0.14);
  --ink-accent: #7fa6f5;
  --ink-success: #5ccb8c;
  --on-ink: #ffffff;
  --record: #e3a600;
  --plate-blue: #1f56d6;
  --plate-yellow: #f2b705;
  --plate-green: #2a9d5c;
  --on-plate-yellow: #1c2733;

  --display: 'Big Shoulders Display', 'Arial Narrow', sans-serif;
  --body: 'Barlow', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --xs: 4px;
  --sm: 8px;
  --md: 16px;
  --lg: 24px;
  --xl: 32px;
  --radius-md: 14px;
  --radius-lg: 20px;
  /* The page runs edge to edge: only the gutter grows with the screen. */
  --gutter: clamp(16px, 4.5vw, 96px);
}

/* The gym at night: iron background, chalk text, raised steel for the "now" panels. */
@media (prefers-color-scheme: dark) {
  :root {
    --background: #121820;
    --surface: #1b232d;
    --border: #2e3946;
    --text: #eceeea;
    --text-secondary: #a7b1bd;
    --primary: #7fa6f5;
    --accent-soft: #3a2219;
    --success: #5ccb8c;
    --disabled: #4b5562;
    --ink: #2b3a4e;
    --ink-text: #bcc8d6;
    --ink-line: rgba(255, 255, 255, 0.16);
    --ink-accent: #9dbbfa;
    --ink-success: #6fd69a;
    --record: #f2c230;
  }
}

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

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

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: var(--body);
  /* 17 px on phones, up to 20 px on wide desktops so the copy keeps pace with the headlines. */
  font-size: clamp(17px, 0.45vw + 12px, 20px);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
}

/* Components set their own display: `hidden` must still win. */
[hidden] {
  display: none !important;
}

a {
  color: var(--primary);
  text-underline-offset: 3px;
}

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

.skip {
  position: absolute;
  left: var(--md);
  top: -60px;
  background: var(--surface);
  padding: var(--sm) var(--md);
  border-radius: var(--radius-md);
  z-index: 10;
}
.skip:focus {
  top: var(--md);
}

.wrap {
  padding: 0 var(--gutter);
}

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

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0;
}
h1 {
  font-size: clamp(56px, 10vw, 280px);
  line-height: 0.88;
}
h2 {
  font-size: clamp(40px, 5vw, 88px);
  line-height: 0.95;
}
h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(26px, 1vw + 14px, 36px);
  line-height: 1.1;
}
p {
  margin: 0;
}
.lead {
  font-size: clamp(18px, 1vw + 10px, 27px);
  color: var(--text-secondary);
  max-width: 36em;
}
.eyebrow {
  font-weight: 600;
  font-size: clamp(16px, 0.9vw + 8px, 26px);
  color: var(--text-secondary);
}
.muted {
  color: var(--text-secondary);
}
.small {
  font-size: 15px;
}

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

/* The main action: orange, big and bold (white on orange is readable large only, 3:1). */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sm);
  min-height: 56px;
  padding: 0 var(--lg);
  border-radius: var(--radius-md);
  background: var(--accent);
  color: var(--on-accent);
  font-family: var(--body);
  font-weight: 700;
  font-size: clamp(19px, 0.4vw + 14px, 22px);
  text-decoration: none;
  transition: background-color 0.15s;
}
.button:hover,
.button:active {
  background: var(--accent-pressed);
}
.button.secondary {
  background: var(--surface);
  color: var(--text);
  border: 1.5px solid var(--border);
  font-weight: 600;
  font-size: 17px;
}
.button.secondary:hover {
  background: var(--background);
}

/* The action next to a title: an orange-rimmed pill on a soft fill. */
.pill-action {
  display: inline-flex;
  align-items: center;
  gap: var(--xs);
  min-height: 44px;
  padding: 0 var(--md);
  border-radius: 999px;
  border: 1.5px solid var(--accent);
  background: var(--accent-soft);
  color: var(--text);
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
}
.pill-action svg {
  color: var(--accent);
}

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

.site-header {
  padding: var(--md) 0;
}
.site-header img {
  height: 40px;
  width: auto;
}
/* Small phones: logo and pill must share 360 px. */
@media (max-width: 420px) {
  .site-header.over img {
    height: 32px;
  }
  .site-header.over .pill-action {
    min-height: 40px;
    padding: 0 12px;
    font-size: 15px;
  }
}
/* Home: the header floats over the hero, the pill over the iron panel. */
.site-header.over {
  position: absolute;
  inset: 0 0 auto;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--md);
  padding: var(--lg) var(--gutter);
}

/* --- Hero: the whole first screen, text on chalk and the phone on an iron panel ----------- */

.hero {
  position: relative;
  display: grid;
  padding: 0;
}
.hero-text {
  display: grid;
  gap: var(--lg);
  justify-items: start;
  align-content: center;
  padding: 112px var(--gutter) 56px;
}
.hero h1 {
  /* Room for the descender of "palestra" under the tight leading. */
  padding-bottom: 0.1em;
}
/* Stacked hero (phones, tablets upright): the headline takes the width it has. */
@media (max-width: 999px) {
  .hero h1 {
    font-size: clamp(56px, 15vw, 150px);
  }
}
.hero h1 span {
  display: block;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--md) var(--lg);
}
.hero-note {
  font-size: clamp(15px, 0.5vw + 9px, 19px);
  color: var(--text-secondary);
}
.hero-stage {
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 56px var(--gutter);
  background: var(--ink);
}
/* A weight plate seen from the front, cropped by the panel. */
.stage-plate {
  position: absolute;
  width: max(560px, 120%);
  right: -45%;
  bottom: -35%;
  fill: none;
  stroke: var(--ink-line);
  stroke-width: 1.5;
}
.hero-stage .phone {
  position: relative;
}
@media (min-width: 1000px) {
  .hero {
    grid-template-columns: minmax(0, 1.45fr) minmax(440px, 1fr);
    min-height: 100vh;
    min-height: 100svh;
  }
  .hero-text {
    padding-top: 120px;
    padding-bottom: 80px;
  }
  .hero-stage {
    padding-top: 112px;
  }
}
/* On big screens the phone grows with the panel. */
@media (min-width: 1800px) {
  .hero-stage .phone {
    zoom: 1.3;
  }
}
@media (min-width: 2400px) {
  .hero-stage .phone {
    zoom: 1.55;
  }
}

/* One entrance: the headline rises line by line, the phone follows. */
@media (prefers-reduced-motion: no-preference) {
  .hero h1 span,
  .hero-stage .phone {
    animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }
  .hero h1 span:nth-child(2) {
    animation-delay: 0.08s;
  }
  .hero h1 span:nth-child(3) {
    animation-delay: 0.16s;
  }
  .hero-stage .phone {
    animation-delay: 0.28s;
  }
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(0.4em);
  }
}

/* --- Phone mockup: the workout screen, drawn with the app's own components --------------- */

.phone {
  justify-self: center;
  width: min(340px, 100%);
  padding: 10px;
  border-radius: 44px;
  background: #0b1016;
  box-shadow: 0 30px 60px -30px rgba(28, 39, 51, 0.55);
}
.screen {
  --background: #f3f4f2;
  --surface: #ffffff;
  --border: #d9dde2;
  --text: #1c2733;
  --text-secondary: #5a6573;
  --ink: #1c2733;
  --ink-text: #aebbcb;
  --ink-line: rgba(255, 255, 255, 0.14);
  --ink-accent: #7fa6f5;
  --ink-success: #5ccb8c;
  --success: #1e7d49;
  border-radius: 34px;
  overflow: hidden;
  background: var(--background);
  color: var(--text);
  padding: 18px 16px 16px;
  display: grid;
  gap: 12px;
  font-size: 14px;
  line-height: 1.35;
}
@media (prefers-color-scheme: dark) {
  .screen {
    --background: #121820;
    --surface: #1b232d;
    --border: #2e3946;
    --text: #eceeea;
    --text-secondary: #a7b1bd;
    --ink: #2b3a4e;
    --ink-text: #bcc8d6;
    --ink-line: rgba(255, 255, 255, 0.16);
    --ink-accent: #9dbbfa;
    --ink-success: #6fd69a;
    --success: #5ccb8c;
  }
}
.screen-top {
  display: flex;
  align-items: center;
  gap: 10px;
}
.plate {
  flex: none;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-family: var(--display);
  font-weight: 800;
  font-size: 20px;
  box-shadow: inset 0 0 0 3px rgba(0, 0, 0, 0.12);
}
.plate.yellow {
  background: var(--plate-yellow);
  color: var(--on-plate-yellow);
}
.plate.blue {
  background: var(--plate-blue);
  color: #fff;
}
.plate.green {
  background: var(--plate-green);
  color: #fff;
}
.screen-title {
  font-family: var(--display);
  font-weight: 800;
  font-size: 22px;
  line-height: 1;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.screen-count {
  font-weight: 600;
  font-size: 13px;
}
.segments {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 4px;
}
.segments span {
  height: 5px;
  border-radius: 999px;
  background: var(--border);
}
.segments .done {
  background: var(--success);
}
.segments .now {
  background: var(--text);
}
.exercise {
  display: flex;
  gap: 12px;
  align-items: center;
}
.exercise-image {
  flex: none;
  width: 64px;
  height: 64px;
  border-radius: 14px;
  background: #d9f2fd;
  display: grid;
  place-items: center;
  color: #1c2733;
}
.exercise-name {
  font-family: var(--display);
  font-weight: 800;
  font-size: 24px;
  line-height: 1.05;
}
.sets {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}
.set {
  border-radius: 10px;
  padding: 6px 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 12px;
}
.set b {
  display: block;
  font-family: var(--display);
  font-weight: 700;
  font-size: 16px;
  white-space: nowrap;
}
@media (max-width: 400px) {
  .set {
    padding: 6px;
  }
  .set b {
    font-size: 14px;
  }
}
.set.done {
  border-color: var(--success);
  color: var(--success);
}
.set.now {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--ink-text);
}
.set.now b {
  color: #fff;
}
.now-panel {
  background: var(--ink);
  color: #fff;
  border-radius: 20px;
  padding: 14px 16px 16px;
  display: grid;
  gap: 6px;
  justify-items: center;
}
.now-label {
  color: var(--ink-accent);
  font-weight: 600;
  font-size: 13px;
  justify-self: start;
}
.hero-numbers {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 56px;
  line-height: 1;
}
.hero-numbers small {
  font-size: 22px;
  color: var(--ink-text);
  margin-left: 2px;
}
.hero-numbers .times {
  font-size: 30px;
  color: var(--ink-text);
}
.coach {
  font-size: 13px;
  color: var(--ink-text);
  text-align: center;
}
.coach strong {
  color: var(--ink-success);
  font-weight: 600;
}
.strip {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 8px;
  color: var(--text-secondary);
  font-size: 13px;
}
.strip b {
  font-family: var(--display);
  font-weight: 800;
  font-size: 26px;
  color: var(--text);
}
.screen-button {
  border-radius: 14px;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 700;
  font-size: 19px;
  text-align: center;
  padding: 18px 0;
}

/* --- Sections: full-width rows, separated by background rather than boxes ---------------- */

section {
  padding: clamp(64px, 8vw, 128px) 0;
}
section.surface {
  background: var(--surface);
}
.section-head {
  display: grid;
  gap: var(--md);
  align-content: start;
  margin-bottom: var(--xl);
  max-width: 44em;
}
/* Title on the left, content across the rest of the width. */
@media (min-width: 1100px) {
  .split {
    display: grid;
    grid-template-columns: minmax(300px, 0.75fr) minmax(0, 2fr);
    gap: clamp(48px, 6vw, 128px);
    align-items: start;
  }
  .split .section-head {
    position: sticky;
    top: var(--xl);
    margin-bottom: 0;
  }
}

/* The three steps run across the screen, divided by rules. */
.steps {
  display: grid;
  padding: 0;
  margin: 0;
  list-style: none;
  border-top: 2px solid var(--text);
}
.steps li {
  display: grid;
  gap: var(--sm);
  align-content: start;
  padding: var(--lg) 0 var(--xl);
}
.steps li + li {
  border-top: 1px solid var(--border);
}
.steps .muted {
  max-width: 34em;
}
@media (min-width: 820px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
  .steps li {
    padding: var(--lg) clamp(24px, 3vw, 56px) 0;
  }
  .steps li:first-child {
    padding-left: 0;
  }
  .steps li + li {
    border-top: 0;
    border-left: 1px solid var(--border);
  }
}
/* Tablets upright: number beside the text, so the stacked steps fill the row. */
@media (min-width: 560px) and (max-width: 819px) {
  .steps li {
    grid-template-columns: 112px 1fr;
    column-gap: var(--lg);
  }
  .steps .step-number {
    grid-row: span 2;
    margin-bottom: 0;
  }
}
.step-number {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(96px, 10vw, 176px);
  line-height: 0.85;
  margin-bottom: var(--md);
}

.features {
  display: grid;
  column-gap: var(--xl);
}
.features article {
  display: grid;
  gap: var(--sm);
  align-content: start;
  padding: var(--lg) 0 var(--xl);
  border-top: 1px solid var(--border);
}
@media (min-width: 640px) {
  .features {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1100px) {
  .features {
    grid-template-columns: repeat(3, 1fr);
  }
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--lg);
  display: grid;
  gap: var(--sm);
  align-content: start;
}
.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--background);
  display: grid;
  place-items: center;
  color: var(--text);
  margin-bottom: var(--xs);
}
.premium-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85em;
  font-weight: 600;
  color: var(--text-secondary);
}

/* Questions of a beginner: two columns of question and answer, divided by rules. */
.faq {
  display: grid;
  column-gap: var(--xl);
}
.faq article {
  display: grid;
  gap: var(--sm);
  align-content: start;
  padding: var(--lg) 0 var(--xl);
  border-top: 1px solid var(--border);
}
@media (min-width: 820px) {
  .faq {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* --- Progress ---------------------------------------------------------------------------- */

.progress {
  align-items: center;
}
.chart-card {
  margin: 0;
  gap: var(--md);
  padding: clamp(16px, 3vw, 48px);
}
@media (min-width: 1100px) {
  .chart-card {
    grid-template-columns: 1.3fr 1fr;
    gap: clamp(32px, 4vw, 64px);
    align-items: end;
  }
}
.chart {
  position: relative;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  align-items: end;
  gap: clamp(4px, 1.5vw, 14px);
  height: 240px;
  padding-top: 24px;
}
.goal-line {
  position: absolute;
  left: 0;
  right: 0;
  /* 3 workouts (38 px each) above the date under the bars (18 px line, 4 px gap). */
  bottom: 136px;
  border-top: 2px dashed var(--text-secondary);
  opacity: 0.6;
}
.goal-label {
  position: absolute;
  right: 0;
  transform: translateY(-120%);
  font-size: clamp(13px, 0.3vw + 10px, 16px);
  color: var(--text-secondary);
  background: var(--surface);
  padding-left: 6px;
}
.bar {
  display: grid;
  justify-items: center;
  gap: 4px;
  font-size: clamp(12px, 0.3vw + 9px, 15px);
  line-height: 18px;
  white-space: nowrap;
  color: var(--text-secondary);
}
.bar b {
  font-family: var(--display);
  font-weight: 700;
  font-size: 18px;
  line-height: 22px;
  color: var(--text);
}
.bar span {
  width: 100%;
  border-radius: 6px 6px 3px 3px;
  background: var(--disabled);
}
.bar.on span {
  background: var(--success);
}
.bar.current span {
  background: transparent;
  border: 2px solid var(--disabled);
}
.loads {
  display: grid;
  border-top: 1px solid var(--border);
}
.load {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: var(--md);
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.load-name {
  font-weight: 600;
}
.load-values {
  font-family: var(--display);
  font-weight: 700;
  font-size: 20px;
  color: var(--text-secondary);
  text-align: right;
  white-space: nowrap;
}
.load-gain {
  display: inline-block;
  min-width: 3.4em;
  margin-left: var(--sm);
  font-weight: 800;
  font-size: 22px;
  color: var(--success);
}
@media (max-width: 480px) {
  .load {
    gap: 12px;
  }
  .load-values {
    font-size: 17px;
  }
  .load-gain {
    font-size: 19px;
    min-width: 2.8em;
  }
}

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

.privacy {
  display: grid;
  column-gap: var(--xl);
  padding: 0;
  margin: 0;
  list-style: none;
}
@media (min-width: 820px) {
  .privacy {
    grid-template-columns: repeat(2, 1fr);
  }
}
.privacy li {
  display: flex;
  gap: var(--md);
  align-items: flex-start;
  padding: var(--lg) 0;
  border-top: 1px solid var(--border);
}
.privacy svg {
  flex: none;
  color: var(--success);
  margin-top: 2px;
}

/* --- Closing band and footer --------------------------------------------------------------- */

.band {
  background: var(--ink);
  color: var(--on-ink);
}
.band .wrap {
  display: grid;
  gap: var(--lg);
  justify-items: start;
}
.band .muted {
  color: var(--ink-text);
  max-width: 34em;
}
.band-brand {
  display: flex;
  align-items: center;
  gap: var(--lg);
}
.band-brand img {
  width: 80px;
  height: 80px;
}
.band-brand h2 {
  margin-bottom: var(--sm);
}
@media (max-width: 600px) {
  .band-brand {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (min-width: 820px) {
  .band .wrap {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}
.store {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 var(--lg);
  border-radius: var(--radius-md);
  border: 1.5px solid var(--ink-line);
  color: var(--on-ink);
  font-weight: 600;
}

.site-footer {
  padding: 40px 0 56px;
  color: var(--text-secondary);
  font-size: 0.88em;
}
.site-footer .wrap {
  display: grid;
  gap: var(--md);
}
@media (min-width: 820px) {
  .site-footer .wrap {
    grid-template-columns: auto 1fr;
    gap: var(--xl);
    align-items: center;
  }
  .site-footer p {
    justify-self: end;
    text-align: right;
  }
  .footer-nav {
    grid-column: 1 / -1;
    justify-self: end;
  }
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sm) var(--lg);
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: var(--sm);
  color: var(--text);
  font-family: var(--display);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0.04em;
}
.footer-brand img {
  width: 28px;
  height: 28px;
}

/* --- Small pages (shared plan, 404) ------------------------------------------------------- */

.narrow {
  max-width: 520px;
  margin: 0 auto;
  padding: var(--lg) var(--md) 48px;
  display: grid;
  gap: var(--md);
}
.narrow .site-header {
  padding: 0 0 var(--sm);
}
.now-card {
  background: var(--ink);
  color: var(--on-ink);
  border-radius: var(--radius-lg);
  padding: var(--lg);
  display: grid;
  gap: var(--sm);
}
.now-card .label {
  color: var(--ink-accent);
  font-weight: 600;
  font-size: 15px;
}
.now-card h1 {
  font-size: 40px;
}
.code {
  font-family: var(--display);
  font-weight: 800;
  font-size: 48px;
  letter-spacing: 0.08em;
  line-height: 1;
}
.narrow .button {
  width: 100%;
}

/* --- Documents (privacy, terms, account deletion) --------------------------------------- */

.doc {
  max-width: 680px;
  margin: 0 auto;
  padding: var(--lg) var(--md) 48px;
}
.doc .site-header {
  padding: 0 0 var(--lg);
}
.doc h1 {
  font-size: clamp(44px, 8vw, 64px);
  line-height: 0.95;
}
.doc h2 {
  font-size: clamp(30px, 5vw, 38px);
  margin: 40px 0 var(--sm);
  scroll-margin-top: var(--md);
}
.doc h3 {
  font-size: 22px;
  margin: var(--lg) 0 var(--xs);
}
.doc p,
.doc ul,
.doc ol {
  margin: 0 0 var(--md);
}
.doc ul,
.doc ol {
  padding-left: 1.3em;
}
.doc li + li {
  margin-top: var(--xs);
}
.doc .lead {
  margin-top: var(--md);
}
.doc .updated {
  margin-top: var(--sm);
  font-size: 15px;
  color: var(--text-secondary);
}
.doc .steps-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--md) var(--lg);
  margin: 0 0 var(--md);
}
.doc .steps-box ol {
  margin: 0;
}
.doc-nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--md);
  margin-top: 48px;
  padding-top: var(--md);
  border-top: 1px solid var(--border);
  font-size: 15px;
}
