.guide-page {
  --gutter: max(20px, env(safe-area-inset-left), env(safe-area-inset-right));
  --guide-tint: #edf5f0;
  --guide-surface: #f8fbf9;
  --guide-accent: #286346;
  min-height: 100vh;
  color: var(--ink);
  background: var(--paper);
}

.guide-page .site-header,
.guide-page .site-footer,
.guide {
  width: min(100% - var(--gutter) * 2, 760px);
  margin-inline: auto;
}

.guide-page .wordmark img {
  border-radius: 10px;
}

.guide-intro {
  margin-block: clamp(26px, 6vw, 68px) clamp(38px, 7vw, 68px);
}

.guide-eyebrow {
  margin-bottom: 12px;
  color: var(--guide-accent);
  font-size: 14px;
  font-weight: 700;
}

.guide h1 {
  font-size: clamp(36px, 8vw, 62px);
}

.guide .intro {
  max-width: 27em;
}

.guide .download-button {
  margin-top: 24px;
  border-radius: 14px;
}

.guide-hint {
  max-width: 33em;
  margin-top: 10px;
  color: var(--soft);
  font-size: 14px;
  line-height: 1.65;
}

.steps-list {
  display: grid;
  gap: 12px;
  margin: 20px 0 0;
  padding-left: 0;
  list-style: none;
  counter-reset: step;
}

.steps-list li,
.guide-notifications {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--guide-surface);
}

.steps-list li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 14px;
  padding: clamp(16px, 3vw, 23px);
  counter-increment: step;
}

.steps-list svg {
  width: 38px;
  height: 38px;
  padding: 9px;
  border-radius: 12px;
  color: var(--guide-accent);
  background: var(--guide-tint);
}

.steps-list h3 {
  font-size: 17px;
  line-height: 1.45;
}

.steps-list h3::before {
  content: counter(step, decimal-leading-zero);
  margin-inline-end: 8px;
  color: var(--guide-accent);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.steps-list p,
.guide-notifications p {
  margin-top: 6px;
  color: var(--soft);
  font-size: 15px;
  line-height: 1.7;
}

.guide-notifications {
  margin-block: 24px 42px;
  padding: clamp(18px, 4vw, 28px);
  background: var(--guide-tint);
}

.guide-notifications h2 {
  margin-bottom: 10px;
  font-size: 20px;
}

.guide-page .site-footer {
  align-items: center;
  padding-bottom: max(24px, env(safe-area-inset-bottom));
}

@supports (corner-shape: squircle) {
  .steps-list li,
  .guide-notifications { corner-shape: squircle; }
}

@media (prefers-color-scheme: dark) {
  .guide-document {
    color-scheme: dark;
    background: #141917;
  }

  .guide-page {
    color-scheme: dark;
    --paper: #141917;
    --ink: #f1f5f2;
    --soft: #c0ccc4;
    --green: #8ee0b1;
    --green-deep: #e8f5ed;
    --line: #34453b;
    --guide-accent: #a9e3be;
    --guide-tint: #21382c;
    --guide-surface: #1b2420;
  }

  .guide-page .download-button {
    color: #10291b;
  }

  .guide-page .wordmark img {
    padding: 4px;
    background: #eff4f0;
  }

  .guide-page :focus-visible {
    outline-color: var(--guide-accent);
  }
}
