:root {
  --ink: #2e2440;
  --ink-2: #6b6178;
  --paper: #fffdfb;
  --blush: #fbeeee;
  --raspberry: #c2508b;
  --line: rgba(46, 36, 64, 0.1);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--blush);
  color: var(--ink);
  font: 16px/1.6 Inter, system-ui, -apple-system, sans-serif;
}

a {
  color: var(--ink);
  text-underline-offset: 2px;
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1080px;
  margin: 0 auto;
  padding: 18px 16px;
  font-size: 14px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
}

.wordmark svg {
  color: var(--raspberry);
}

.wordmark em {
  font-style: normal;
  font-weight: 500;
  color: var(--ink-2);
}

main {
  max-width: 1080px;
  margin: 0 auto;
  padding: 16px 16px 48px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}

h1,
h2,
h3 {
  font-family: Lora, Georgia, serif;
  font-weight: 600;
  line-height: 1.2;
}

h1 {
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 400;
  margin: 0 0 14px;
}

h2 {
  font-size: 24px;
  margin: 0 0 10px;
}

h3 {
  font-size: 17px;
  margin: 18px 0 2px;
}

section {
  max-width: 720px;
  margin-top: 40px;
}

p,
li {
  color: var(--ink-2);
}

p {
  margin: 0 0 10px;
}

.lead {
  font-size: 18px;
  max-width: 640px;
  margin-bottom: 20px;
}

.fine {
  font-size: 14px;
  margin-top: 12px;
}

.btn {
  display: inline-block;
  padding: 13px 24px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

.btn:hover {
  background: #453a5a;
}

:focus-visible {
  outline: 3px solid rgba(194, 80, 139, 0.45);
  outline-offset: 2px;
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  padding: 0;
  list-style: none;
  font-size: 15px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
  padding: 0;
  list-style: none;
}

section:has(.cards) {
  max-width: none;
}

.cards a {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  text-decoration: none;
}

.cards a:hover {
  background: var(--paper);
}

.cards img {
  width: 56px;
  height: 56px;
  margin-bottom: 8px;
  object-fit: contain;
}

.cards span {
  color: var(--ink-2);
  font-size: 14px;
}

footer {
  padding: 20px 16px 32px;
  text-align: center;
  font-size: 14px;
}

/* ---------- example boards: sketches made from our own stickers ---------- */

.example .fine {
  margin-top: 14px;
  text-align: center;
}

.board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 16px;
  border-radius: 8px;
  background: #f6ece8;
  box-shadow: 0 10px 30px rgba(46, 36, 64, 0.12);
}

.board-title {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--ink);
  font: 600 26px/1.2 Lora, Georgia, serif;
  text-align: center;
}

.board figure {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  padding: 8px;
  min-width: 0;
}

.board figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
}

.board figcaption {
  color: var(--ink);
  font-size: 12px;
  line-height: 1.25;
  text-align: center;
  overflow-wrap: anywhere;
}

.look-scrapbook figure {
  box-shadow: 0 3px 10px rgba(46, 36, 64, 0.16);
}

.look-scrapbook figure:nth-of-type(odd) {
  transform: rotate(-2.5deg);
}

.look-scrapbook figure:nth-of-type(even) {
  transform: rotate(2deg);
}

.look-scrapbook figcaption {
  font: 600 16px/1.1 Caveat, cursive;
}

.look-mosaic {
  gap: 0;
  padding: 0;
  overflow: hidden;
  background: var(--ink);
}

.look-mosaic .board-title {
  padding: 10px;
  color: #fff;
  font-family: Inter, system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.look-mosaic figcaption {
  font-weight: 600;
}

.look-editorial {
  gap: 20px;
  padding: 28px;
  background: #fff;
}

.look-editorial .board-title {
  text-align: left;
  font-size: 18px;
  font-weight: 500;
}

.look-editorial figure {
  background: #f7f4f1 !important;
}

.look-editorial figcaption {
  text-align: left;
  color: var(--ink-2);
  font-size: 11px;
}

.look-doodle {
  background: #e9e1ff;
}

.look-doodle .board-title {
  font: 600 32px/1 Caveat, cursive;
}

.look-doodle figure {
  border: 2px dashed rgba(46, 36, 64, 0.35);
  border-radius: 14px;
  background: transparent !important;
}

.look-doodle figcaption {
  font: 600 16px/1.1 Caveat, cursive;
}

@media (max-width: 760px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .board figcaption {
    font-size: 11px;
  }
}
