/* mendari.co: one page, no scripts. Colour pairs meet WCAG AA in both themes. */
:root {
  --bg: #fbf7f1;
  --glow-1: #f6dcc8;
  --glow-2: #efe3cf;
  --text: #2a241f;
  --muted: #665a50;
  --accent: #a8481f;
  --on-accent: #ffffff;
  --pill: #f3e6da;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1a1714;
    --glow-1: #3a261c;
    --glow-2: #2c2419;
    --text: #f2ebe3;
    --muted: #b8ab9f;
    --accent: #ef9d76;
    --on-accent: #1a1714;
    --pill: #2b241f;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  height: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(60rem 40rem at 85% -10%, var(--glow-1), transparent 70%),
    radial-gradient(50rem 36rem at -10% 110%, var(--glow-2), transparent 70%),
    var(--bg);
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

main {
  flex: 1;
  width: 100%;
  max-width: 40rem;
  margin: 0 auto;
  padding: clamp(3rem, 14vh, 9rem) 1rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin: 0 0 clamp(2rem, 6vh, 3.5rem);
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.mark {
  width: 2.25rem;
  height: 2.25rem;
  flex: none;
}

.mark rect {
  fill: var(--accent);
}

.mark path {
  fill: var(--on-accent);
}

h1 {
  margin: 0 0 1.25rem;
  font-family: var(--serif);
  font-size: clamp(2.25rem, 7vw, 3.5rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.lede {
  margin: 0 0 2rem;
  max-width: 34rem;
  color: var(--muted);
  font-size: clamp(1.0625rem, 2.4vw, 1.1875rem);
  text-wrap: pretty;
}

.lede strong {
  color: var(--text);
  font-weight: 600;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  align-self: flex-start;
  margin: 0;
  padding: 0.375rem 0.875rem;
  border-radius: 999px;
  background: var(--pill);
  color: var(--accent);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: currentColor;
  animation: breathe 2.4s ease-in-out infinite;
}

@keyframes breathe {
  50% {
    opacity: 0.35;
    transform: scale(0.8);
  }
}

@media (prefers-reduced-motion: reduce) {
  .dot {
    animation: none;
  }
}

footer {
  width: 100%;
  max-width: 40rem;
  margin: 0 auto;
  padding: 1.5rem 1rem 2rem;
  color: var(--muted);
  font-size: 0.875rem;
}
