/* Outline — the same language as the app: heavy uniform strokes, flat fills,
   hard offset shadows with zero blur. Written by hand rather than pulled from a
   framework so the site weighs nothing and needs no build step. */

:root {
  --canvas: #f2efe9;
  --card: #fffdf8;
  --ink: #14120f;
  --dim: #6b655c;
  --lilac: #c9bcf5;
  --mint: #bfe3a8;
  --peach: #ffc79a;
  --sand: #ede6d8;
  --stroke: 2.5px;
  --shadow: 4px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 720px; margin: 0 auto; padding: 32px 20px 80px; }

header { display: flex; align-items: center; gap: 12px; margin-bottom: 40px; flex-wrap: wrap; }

.mark {
  font-weight: 900;
  letter-spacing: 2px;
  font-size: 15px;
  padding: 8px 14px;
  background: var(--card);
  border: var(--stroke) solid var(--ink);
  border-radius: 100px;
  box-shadow: 3px 3px 0 var(--ink);
  text-decoration: none;
  color: var(--ink);
}

nav { margin-left: auto; display: flex; gap: 16px; flex-wrap: wrap; }
nav a { color: var(--dim); text-decoration: none; font-weight: 600; font-size: 15px; }
nav a:hover, nav a[aria-current="page"] { color: var(--ink); text-decoration: underline; }

h1 { font-size: 40px; line-height: 1.1; letter-spacing: -1px; font-weight: 900; margin: 0 0 18px; }
h2 { font-size: 22px; line-height: 1.25; letter-spacing: -0.3px; font-weight: 800; margin: 40px 0 12px; }
p { margin: 0 0 16px; }
ul { margin: 0 0 16px; padding-left: 22px; }
li { margin-bottom: 8px; }
a { color: var(--ink); }
em { color: var(--dim); font-style: normal; font-size: 15px; }

.block {
  background: var(--card);
  border: var(--stroke) solid var(--ink);
  border-radius: 24px;
  box-shadow: var(--shadow) var(--shadow) 0 var(--ink);
  padding: 24px;
  margin: 0 0 24px;
}
.block.sand { background: var(--sand); }
.block.mint { background: var(--mint); }
.block.lilac { background: var(--lilac); }
.block.peach { background: var(--peach); }
.block > :last-child { margin-bottom: 0; }

.label {
  font-size: 12px; font-weight: 900; letter-spacing: 0.8px;
  text-transform: uppercase; color: var(--dim); margin-bottom: 8px;
}

footer {
  margin-top: 64px; padding-top: 24px;
  border-top: var(--stroke) solid var(--ink);
  color: var(--dim); font-size: 15px;
  display: flex; gap: 18px; flex-wrap: wrap;
}
footer a { color: var(--dim); }

/* Screenshots. Three across on a wide screen, scrolled sideways on a narrow one
   rather than shrunk to the point where the interface stops being legible. */
.shots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 0 0 28px;
}
.shots figure { margin: 0; }
.shots img {
  width: 100%;
  height: auto;
  display: block;
  border: var(--stroke) solid var(--ink);
  border-radius: 18px;
  box-shadow: var(--shadow) var(--shadow) 0 var(--ink);
  background: var(--card);
}
.shots figcaption {
  font-size: 12px; font-weight: 900; letter-spacing: 0.8px;
  text-transform: uppercase; color: var(--dim);
  margin-top: 10px; padding-left: 2px;
}

/* The table of contents. The number matters — it is a day, not a bullet. */
ol.days { margin: 0; padding-left: 26px; }
ol.days li { margin-bottom: 10px; font-weight: 700; }
ol.days li::marker { color: var(--dim); font-weight: 900; font-size: 14px; }
ol.days span { font-weight: 400; color: var(--dim); }

.cta {
  display: inline-block;
  font-weight: 800;
  text-decoration: none;
  padding: 14px 22px;
  background: var(--lilac);
  border: var(--stroke) solid var(--ink);
  border-radius: 18px;
  box-shadow: var(--shadow) var(--shadow) 0 var(--ink);
}
.cta:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }

/* The lesson page. Wider leading and larger type than the rest of the site:
   this is the one page meant to be read rather than scanned. */
.crumb {
  font-size: 12px; font-weight: 900; letter-spacing: 0.8px;
  text-transform: uppercase; color: var(--dim); margin-bottom: 10px;
}
.lede {
  font-size: 15px; line-height: 1.65; color: var(--dim);
  border-left: 5px solid var(--mint); padding-left: 16px; margin-bottom: 32px;
}
.lesson p { font-size: 18px; line-height: 1.75; margin-bottom: 22px; }
.lesson p:first-child { font-size: 21px; line-height: 1.6; }

@media (max-width: 700px) {
  .shots { grid-template-columns: repeat(3, 62%); overflow-x: auto; padding-bottom: 8px; }
}

@media (max-width: 520px) {
  h1 { font-size: 32px; }
  .wrap { padding: 24px 16px 60px; }
  .lesson p { font-size: 17px; }
  .lesson p:first-child { font-size: 19px; }
}
