:root {
  --bg: #05070c;
  --bg-accent-1: rgba(229, 82, 59, 0.08);
  --bg-accent-2: rgba(240, 201, 135, 0.08);
  --text: #f8f8f6;
  --accent: #e5523b;
  --accent-soft: #f0c987;
}

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

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 20% 20%, var(--bg-accent-1), transparent 60%),
    radial-gradient(circle at 80% 10%, var(--bg-accent-2), transparent 55%),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui;
  -webkit-font-smoothing: antialiased;
}

main {
  z-index: 1;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover,
a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ring-progress {
  transform: rotate(-90deg);
}

.glass {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.15rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.62rem;
}

.tag-pill.pill-investigation {
  border-color: rgba(58, 168, 119, 0.35);
  background: rgba(58, 168, 119, 0.12);
  color: #9ef5c9;
}

.tag-pill.pill-explainer {
  border-color: rgba(240, 201, 135, 0.5);
  background: rgba(240, 201, 135, 0.12);
  color: #f5dcb1;
}

.tag-pill.pill-voice {
  border-color: rgba(229, 82, 59, 0.5);
  background: rgba(229, 82, 59, 0.12);
  color: #ffb7a8;
}

.tag-pill.pill-generic {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: #f8f8f6;
}

.content-max {
  max-width: 64rem;
  margin-left: auto;
  margin-right: auto;
}

.prose {
  max-width: none;
}

.prose p,
.prose li {
  line-height: 1.6;
}

.prose h1,
.prose h2,
.prose h3 {
  font-family: Newsreader, ui-serif, Georgia, serif;
  margin-top: 1.4em;
  margin-bottom: 0.4em;
}

@media (max-width: 900px) {
  header .max-w-4xl {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  header nav {
    width: 100%;
    flex-wrap: wrap;
    gap: 0.5rem;
    row-gap: 0.5rem;
    justify-content: flex-start;
  }
  header nav a {
    font-size: 0.75rem;
    letter-spacing: 0.16em;
    padding: 0.15rem 0.25rem;
  }
  .status-indicator {
    display: none;
  }
}
