/* The app's light theme (products/writeous/themes/light.css): bg, text, text-muted. The wordmark carries the caret red. */
:root {
  color-scheme: light;
  background: #f6f2ea;
  color: #1d1a16;
  font:
    1.125rem / 1.6 system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
}

body {
  min-height: 100dvh;
  margin: 0;
  display: grid;
  grid-template-rows: 1fr auto;
  padding: 2.5rem clamp(1.5rem, 6vw, 6rem);
  box-sizing: border-box;
}

main {
  align-self: center;
  max-width: 38rem;
}

/* The wordmark as on the app's sign-in page (#421): the brand font (ADR-0040) and a blinking caret. */
@font-face {
  font-family: "Writeous Wordmark";
  src: url("/wordmark.woff2") format("woff2");
  font-weight: 100 900;
  font-display: block;
}

.wordmark {
  display: flex;
  align-items: center;
  margin: 0;
  color: #1d1a16;
  font-family: "Writeous Wordmark", sans-serif;
  font-size: 2.75rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.028em;
}

/* The caret's light-theme crimson (products/writeous/theme.css --color-caret). It blinks forever, a deliberate exception
   to WCAG 2.2.2 as on the sign-in page (WRI-198, #421), and not at all with reduced motion. */
.caret {
  width: max(2px, round(0.055em, 1px));
  height: 0.94em;
  margin-inline-start: 0.07em;
  border-radius: 1px;
  background: #8f2817;
}

@media (prefers-reduced-motion: no-preference) {
  .caret {
    animation: blink 1200ms ease-in-out infinite;
  }
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

h1 {
  margin: 2.5rem 0 1rem;
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

p {
  margin: 0;
  color: #6b6359;
}

footer {
  font-size: 0.875rem;
  color: #6b6359;
}
