@font-face {
  font-family: "Shrikhand";
  src: url("fonts/Shrikhand-Regular.ttf") format("truetype");
  font-display: swap;
}

:root {
  --paper: #FFFBF4;
  --sheet: #FFFFFF;
  --ink: #2B211C;
  --ink-2: #7A6A60;
  --rule: #E6D9CC;
  --tape: rgba(244, 180, 0, .32);
  --tape-edge: #C98F00;
  --display: system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --headline: "Shrikhand", Georgia, serif;
}

@media (prefers-color-scheme: dark) {
  :root { --paper: #1F1916; --sheet: #2A221E; --ink: #F6EEE6; --ink-2: #B7A99F; --rule: #463A33; }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.55 var(--display);
}

a { color: inherit; text-underline-offset: 3px; }
a:focus-visible { outline: 3px solid #F4B400; outline-offset: 2px; border-radius: 2px; }

.page { max-width: 46rem; margin: 0 auto; padding: 2.5rem 1.5rem 4rem; }

/* The wordmark (img/wordmark.svg, generated by brand/generate.ts) follows the color scheme by itself. */
.brand { display: inline-block; line-height: 0; }
.brand img { height: 28px; width: auto; }

h1, h2, h3 { line-height: 1.15; }
h1 { font-family: var(--headline); font-weight: 400; font-size: clamp(2.3rem, 7vw, 3.4rem); margin: 2.5rem 0 1rem; }
h2 { font-size: 1.5rem; font-weight: 800; margin: 2.5rem 0 .5rem; }
h3 { font-size: 1.2rem; font-weight: 700; margin: 1.5rem 0 .25rem; }
p, li { max-width: 38rem; }
.lead { font-size: 1.2rem; color: var(--ink-2); }
.muted { color: var(--ink-2); font-size: .95rem; }

/* The pattern sheet, with the round you are on highlighted like in the app. */
.sheet { background: var(--sheet); border-radius: 6px; padding: .5rem 1.25rem; box-shadow: 0 10px 30px rgba(43, 33, 28, .08); margin: 2rem 0; }
.row { display: flex; gap: .75rem; padding: .7rem .6rem; border-bottom: 2px dashed var(--rule); align-items: baseline; }
.row:last-child { border-bottom: 0; }
.row b { min-width: 3.6rem; }
.row.done { color: var(--ink-2); }
.row.done::before { content: "✓"; color: #13998A; font-weight: 800; font-size: .85rem; margin-right: -.25rem; }
.row.now { background: var(--tape); color: #2B211C; border: 0; border-radius: 14px; outline: 1.5px dashed var(--tape-edge); outline-offset: -5px; margin: .2rem 0; }

.shots { display: flex; gap: 1rem; margin: 2rem 0; }
.shots img { width: 50%; max-width: 280px; border-radius: 28px; box-shadow: 0 10px 30px rgba(43, 33, 28, .12); }

.points { list-style: none; padding: 0; }
.points li { padding: .9rem 0; border-bottom: 2px dashed var(--rule); }
.points strong { font-size: 1.1rem; display: block; }

.badge { display: inline-block; background: var(--ink); color: var(--paper); padding: .85rem 1.4rem; border-radius: 18px; font-weight: 700; text-decoration: none; }

footer { margin-top: 4rem; padding-top: 1.5rem; border-top: 2px dashed var(--rule); color: var(--ink-2); font-size: .9rem; }
footer nav { display: flex; gap: 1.25rem; flex-wrap: wrap; margin-bottom: .75rem; }

@media (max-width: 520px) {
  .shots img { border-radius: 18px; }
}
