/* Chouinard learn pages on chouinard.studio. Matches the site: Geist, light weights, plain white paper, light pencil lines. */
:root {
  --ink: #231f20;
  --soft: #5a5556;
  --paper: #ffffff;
  --line: #cfcbc8;
  --card: #f6f5f3;
  --accent: #231f20;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #f2efed;
    --soft: #b9b4b1;
    --paper: #161415;
    --line: #3a3637;
    --card: #211e1f;
    --accent: #f2efed;
  }
  .logo { filter: invert(1); }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 300 17px/1.55 Geist, system-ui, -apple-system, "Segoe UI", sans-serif;
}
.wrap { max-width: 640px; margin: 0 auto; padding: 24px 16px 40px; }
a { color: inherit; }
.top { display: flex; align-items: center; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid var(--soft); box-shadow: 0 2px 0 -1px var(--line); }
.top a { display: block; line-height: 0; }
.logo { width: 52px; height: auto; }
.top p { margin: 0; color: var(--soft); font-size: 15px; }
h1 { font-size: 30px; font-weight: 300; line-height: 1.15; letter-spacing: -0.01em; margin: 24px 0 6px; }
.lede { margin: 0 0 20px; color: var(--soft); }
.video {
  aspect-ratio: 16 / 9; background: transparent; box-shadow: 2px 2px 0 -1px var(--line); border: 1px dashed var(--line); border-radius: 10px;
  display: flex; align-items: center; justify-content: center; text-align: center; padding: 16px;
  color: var(--soft); margin: 0 0 24px;
}
.video iframe { width: 100%; height: 100%; border: 0; border-radius: 10px; }
ol.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; display: grid; gap: 18px; }
ol.steps li { counter-increment: step; display: grid; grid-template-columns: 36px 1fr; gap: 14px; align-items: start; }
ol.steps li::before {
  content: counter(step); width: 32px; height: 32px; border-radius: 50%;
  background: transparent; color: var(--ink); border: 1px solid var(--soft); box-shadow: 1px 1px 0 0 var(--line);
  font-family: "Geist Mono", ui-monospace, monospace; font-weight: 400; font-size: 15px;
  display: flex; align-items: center; justify-content: center;
}
ol.steps h2 { font-size: 17px; font-weight: 400; margin: 3px 0 2px; }
ol.steps p { margin: 0; color: var(--soft); }
.list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.list a {
  display: block; padding: 16px 18px; min-height: 44px; border: 1px solid var(--line); border-radius: 10px;
  text-decoration: none; background: var(--card);
}
.list strong { display: block; font-size: 18px; font-weight: 400; }
.list span { color: var(--soft); font-size: 15px; }
.note-unused { margin-top: 28px; padding: 14px 16px; border-radius: 10px; background: var(--card); color: var(--soft); font-size: 15px; }
footer { margin-top: 36px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--soft); font-size: 14px; display: flex; flex-wrap: wrap; gap: 6px 18px; justify-content: space-between; }
@media print {
  :root { --ink: #000; --soft: #333; --paper: #fff; --card: #fff; --accent: #000; }
  .logo { filter: none; }
  .video, footer .tip { display: none; }
  ol.steps li::before { border: 1px solid #000; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
