/* Stack & Tumble's pages: the builder's pale sky and ink, its rounded type and the blue of its Redo button and
   store captions, darkened a little to read as text (src/style.css there). All of it is under .stack-and-tumble,
   the class of its pages' <html> and of its card on the home page. */

.stack-and-tumble {
  --bg: #eaf4ff;
  --raised: #ffffff;
  --ink: #22324a;
  --ink-secondary: #4f5b6d;
  --ink-tertiary: #5a6475;
  --rule: rgba(34, 50, 74, 0.12);
  --link: #1c64d4;
  --display: ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display-tracking: 0;
  --radius: 1.25rem;
  --button-bg: #1f6be0;
  --button-ink: #ffffff;
}

@media (prefers-color-scheme: dark) {
  .stack-and-tumble {
    --bg: #161e2b;
    --raised: #222c3d;
    --ink: #eef4fc;
    --ink-secondary: #bdc8d8;
    --ink-tertiary: #9daabd;
    --rule: rgba(238, 244, 252, 0.14);
    --link: #8dbaff;
    --button-bg: #8dbaff;
    --button-ink: #161e2b;
  }
}

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

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

.stack-and-tumble .contact {
  border-color: transparent;
  box-shadow: 0 6px 16px rgba(30, 50, 90, 0.08);
}

/* The app's big, round buttons. */
.stack-and-tumble .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);
}
