/* Collectful website: the app's "stack" theme (docs/design-system.md). Ink and neutral chrome;
   colour only from the collection boxes. Archivo, subset to Latin (fonts/OFL.txt). */
@font-face { font-family: "Archivo"; src: url("/fonts/archivo-regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("/fonts/archivo-medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("/fonts/archivo-bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Archivo Expanded"; src: url("/fonts/archivo-expandedextrabold.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Archivo Expanded"; src: url("/fonts/archivo-expandedblack.woff2") format("woff2"); font-weight: 900; font-display: swap; }

:root {
  color-scheme: light dark;
  --background: #F6F6F2; --surface: #FFFFFF; --text: #1C1C21; --muted: #686871;
  --ink: #1C1C21; --on-ink: #FFFFFF; --border: #DCDCD5; --danger: #B42318;
}
@media (prefers-color-scheme: dark) {
  :root {
    --background: #131316; --surface: #1D1D22; --text: #F2F2EE; --muted: #A3A3AB;
    --ink: #F2F2EE; --on-ink: #131316; --border: #34343B; --danger: #F59A8F;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--background); color: var(--text);
  font: 400 16px/1.6 "Archivo", system-ui, sans-serif;
}
a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 3px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }

.page { width: 100%; max-width: 720px; margin: 0 auto; padding: 0 20px; }
header.site { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding: 20px 0; }
@media (max-width: 560px) { nav.site { width: 100%; } }
.wordmark { font: 900 20px/1 "Archivo Expanded", "Archivo", sans-serif; letter-spacing: -0.4px; text-decoration: none; }
nav.site { display: flex; flex-wrap: wrap; gap: 4px 16px; font-weight: 500; font-size: 15px; }
nav.site a { text-decoration: none; padding: 6px 0; }
nav.site a[aria-current="page"] { text-decoration: underline; }

main { padding: 24px 0 56px; }
h1 { font: 900 clamp(30px, 7vw, 40px)/1.15 "Archivo Expanded", "Archivo", sans-serif; letter-spacing: -0.6px; margin: 0 0 12px; }
h2 { font: 800 13px/1.3 "Archivo Expanded", "Archivo", sans-serif; letter-spacing: 1px; text-transform: uppercase;
  display: flex; align-items: center; gap: 12px; margin: 40px 0 12px; }
h2::after { content: ""; flex: 1; height: 1px; background: var(--border); }
h3 { font-weight: 700; font-size: 17px; margin: 24px 0 6px; }
p, ul, ol { margin: 0 0 14px; }
li { margin-bottom: 6px; }
.lede { font-size: 18px; color: var(--muted); }
.meta { color: var(--muted); font-size: 14px; }

/* The app icon's stack of boxes (assets/brand in the app). Sizes are the icon's, in units of 2.4px. */
.stack { display: grid; justify-items: center; gap: 8px; margin: 24px auto 32px; }
.stack span { display: block; border-radius: 10px; height: var(--h); width: var(--w); background: hsl(var(--hue), 55%, var(--l, 72%)); }
@media (prefers-color-scheme: dark) { .stack span { --l: 66%; } }
.stack span:nth-child(1) { --hue: 28; --w: 106px; --h: 29px; }
.stack span:nth-child(2) { --hue: 200; --w: 154px; --h: 36px; }
.stack span:nth-child(3) { --hue: 130; --w: 86px; --h: 24px; }
.stack span:nth-child(4) { --hue: 340; --w: 134px; --h: 38px; }
.hero { text-align: center; }
.hero .lede { max-width: 30em; margin: 0 auto 24px; }

.card { background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: 16px 18px; margin: 0 0 14px; }
.card > :last-child { margin-bottom: 0; }
.steps { padding-left: 22px; }
.button { display: inline-block; background: var(--ink); color: var(--on-ink); text-decoration: none; font-weight: 700;
  border-radius: 10px; padding: 12px 20px; min-height: 48px; }
.danger { color: var(--danger); font-weight: 700; }

footer.site { border-top: 1px solid var(--border); padding: 20px 0 32px; color: var(--muted); font-size: 14px;
  display: flex; flex-wrap: wrap; gap: 8px 16px; justify-content: space-between; }
footer.site nav { display: flex; flex-wrap: wrap; gap: 4px 16px; }
