/* Dab & Doodle's pages: the coloring book's cream table and ink, its rounded type and the purple of its
   store captions (src/style.css and scripts/store-shots.ts there). All of it is under .dab-and-doodle, the
   class of its pages' <html> and of its card on the home page. */

.dab-and-doodle {
  --bg: #fdf3e1;
  --raised: #ffffff;
  --ink: #26262e;
  --ink-secondary: #5d5d68;
  --ink-tertiary: #6c6c78;
  --rule: rgba(38, 38, 46, 0.12);
  --link: #7a3fc8;
  --display: ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display-tracking: 0;
  --radius: 1.25rem;
  --button-bg: #8a50d6;
  --button-ink: #ffffff;
}

@media (prefers-color-scheme: dark) {
  .dab-and-doodle {
    --bg: #1c1a24;
    --raised: #282538;
    --ink: #f6efe4;
    --ink-secondary: #c4bfd2;
    --ink-tertiary: #a39eb6;
    --rule: rgba(246, 239, 228, 0.14);
    --link: #c4a3ff;
    --button-bg: #c4a3ff;
    --button-ink: #1c1a24;
  }
}

.dab-and-doodle .wordmark { font-size: 1.625rem; font-weight: 800; }
.dab-and-doodle h1, .dab-and-doodle h3, .dab-and-doodle .tagline { font-weight: 800; }

/* Section heads in the purple, which the app's store captions use, to set them apart here. */
.dab-and-doodle h2 {
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
  color: var(--link);
}

.dab-and-doodle .contact {
  border-color: transparent;
  box-shadow: 0 2px 10px rgba(60, 40, 10, 0.07);
}

/* The app's big, round buttons. */
.dab-and-doodle .button {
  padding: 0.875rem 1.75rem;
  border-radius: 1.25rem;
  font-weight: 800;
  box-shadow: 0 6px 16px color-mix(in srgb, var(--button-bg) 35%, transparent);
}
