:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --text: #0f172a;
  --text-muted: #64748b;
  --brand-primary: #312e81;
  --brand-accent: #14b8a6;
  --brand-accent-strong: #0d9488;
  --border: rgba(15, 23, 42, 0.08);
  --pill-bg: rgba(20, 184, 166, 0.08);
  --pill-border: rgba(20, 184, 166, 0.24);
  --glow: rgba(20, 184, 166, 0.24);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1120;
    --surface: #111827;
    --text: #f8fafc;
    --text-muted: #94a3b8;
    --brand-primary: #c7d2fe;
    --brand-accent: #2dd4bf;
    --brand-accent-strong: #14b8a6;
    --border: rgba(248, 250, 252, 0.08);
    --pill-bg: rgba(45, 212, 191, 0.1);
    --pill-border: rgba(45, 212, 191, 0.25);
    --glow: rgba(45, 212, 191, 0.28);
  }
}

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

html,
body {
  height: 100%;
  margin: 0;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  background-color: var(--bg);
  background-image: radial-gradient(
    ellipse 60% 45% at 50% 35%,
    rgba(49, 46, 129, 0.06),
    transparent 70%
  );
  color: var(--text);
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu,
    Cantarell, "Helvetica Neue", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}

@media (prefers-color-scheme: dark) {
  body {
    background-image: radial-gradient(
      ellipse 60% 45% at 50% 35%,
      rgba(99, 102, 241, 0.12),
      transparent 70%
    );
  }
}

main.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
  text-align: center;
}

.mark-wrap {
  position: relative;
  display: grid;
  place-items: center;
  width: 96px;
  height: 96px;
  margin-bottom: 1.5rem;
}

.mark-wrap::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 50%;
  background: var(--glow);
  filter: blur(18px);
  pointer-events: none;
}

.mark {
  position: relative;
  width: 80px;
  height: 80px;
}

.mark .bracket {
  stroke: var(--brand-primary);
}

.wordmark {
  margin: 0;
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.wordmark .sepio {
  color: var(--brand-primary);
}

.wordmark .labs {
  color: var(--brand-accent);
  font-weight: 500;
}

.tagline {
  margin: 0.85rem 0 0;
  max-width: 34ch;
  font-size: 1rem;
  color: var(--text-muted);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2rem;
  padding: 0.4rem 0.9rem;
  border-radius: 9999px;
  border: 1px solid var(--pill-border);
  background: var(--pill-bg);
  color: var(--brand-accent-strong);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

@media (prefers-color-scheme: dark) {
  .status-pill {
    color: var(--brand-accent);
  }
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-accent);
}

/* Subpages (e.g. Privacy Policy) */
main.content {
  flex: 1;
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem 2.5rem;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 2rem;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.15s ease;
}

.back-link:hover {
  color: var(--brand-accent-strong);
}

main.content h1 {
  margin: 0 0 0.5rem;
  font-size: 1.875rem;
  letter-spacing: -0.025em;
  color: var(--text);
}

main.content .updated {
  margin: 0 0 2rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

main.content h2 {
  margin: 2rem 0 0.5rem;
  font-size: 1.125rem;
  color: var(--text);
}

main.content p {
  margin: 0 0 1rem;
  color: var(--text-muted);
}

footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.8125rem;
  color: var(--text-muted);
}

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

footer a:hover {
  color: var(--brand-accent-strong);
}

footer .sep {
  opacity: 0.4;
}
