/* The site stays dark in both light and dark mode. */
:root {
  --bg: #0b0b0e;
  --text: #ece8e1;
  --muted: #8d8a85;
  --faint: #55534f;
  --glow: rgba(214, 190, 150, 0.16);
  --serif: "Cormorant Garamond", "Iowan Old Style", "Palatino", Georgia, serif;
}

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

html {
  background: var(--bg);
  color: var(--text);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  font-family: var(--serif);
  font-weight: 300;
}

a {
  color: inherit;
}

footer {
  padding: 24px 16px calc(24px + env(safe-area-inset-bottom));
  text-align: center;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
}

footer a {
  color: var(--faint);
  text-decoration: none;
  transition: color 0.3s ease;
}

footer a:hover,
footer a:focus-visible {
  color: var(--muted);
}

/* Home: the coming-soon page. */

.home main {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  text-align: center;
  overflow: hidden;
}

.glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(90vw, 560px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, var(--glow) 0%, transparent 65%);
  animation: breathe 9s ease-in-out infinite;
  pointer-events: none;
}

.wordmark {
  position: relative;
  margin: 0;
  font-size: clamp(3.5rem, 16vw, 7.5rem);
  font-weight: 300;
  letter-spacing: 0.04em;
  line-height: 1;
  animation: fade-in 2.4s ease-out both;
}

.teaser {
  position: relative;
  margin: 1.5rem 0 0;
  color: var(--muted);
  font-size: clamp(1.1rem, 4.5vw, 1.4rem);
  font-style: italic;
  letter-spacing: 0.02em;
  animation: fade-in 2.4s ease-out 1.2s both;
}

@keyframes breathe {
  0%, 100% { opacity: 0.55; transform: translate(-50%, -50%) scale(0.92); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.05); }
}

@keyframes fade-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .glow,
  .wordmark,
  .teaser {
    animation: none;
  }
}

/* Privacy: a readable column. */

.doc main {
  flex: 1;
  width: 100%;
  max-width: 40rem;
  margin: 0 auto;
  padding: 56px 16px 32px;
  font-size: 1.2rem;
  line-height: 1.6;
}

.doc .home-link {
  display: inline-block;
  margin-bottom: 40px;
  color: var(--muted);
  font-size: 1.6rem;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.doc h1 {
  margin: 0 0 0.25rem;
  font-size: 2.4rem;
  font-weight: 300;
  line-height: 1.2;
}

.doc h2 {
  margin: 2.5rem 0 0.5rem;
  font-size: 1.5rem;
  font-weight: 300;
  font-style: italic;
}

.doc p,
.doc ul {
  margin: 0 0 1rem;
}

.doc ul {
  padding-left: 1.25rem;
}

.doc li {
  margin-bottom: 0.35rem;
}

.doc .meta {
  color: var(--muted);
  font-style: italic;
}

.doc .draft {
  margin: 1.5rem 0;
  padding: 12px 16px;
  border: 1px solid var(--faint);
  border-radius: 6px;
  color: var(--muted);
  font-size: 1rem;
}

.doc strong {
  font-weight: 500;
}
