:root {
  --bg:           #0E0E10;
  --surface:      #18181C;
  --surface-2:    #212126;
  --border:       #2A2A30;
  --text:         #EDECE8;
  --text-muted:   #8A8A96;
  --text-dim:     #52525E;
  --accent:       #E88A0A;
  --accent-light: #F5C06A;
  --orange:       #DB6D28;
}

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

html {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent-light); text-decoration: none; }
a:hover { text-decoration: underline; }

.mono { font-family: 'JetBrains Mono', 'SF Mono', monospace; font-size: 0.82em; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }

/* ── Masthead ── */
.masthead {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.masthead-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  gap: 2rem;
}

.wordmark {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
}

.wordmark:hover { text-decoration: none; }
.dot { color: var(--accent); }

.masthead-nav { display: flex; gap: 0.25rem; }

.nav-link {
  color: var(--text-muted);
  font-size: 0.875rem;
  padding: 0.35rem 0.7rem;
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
}
.nav-link:hover { color: var(--text); background: var(--surface-2); text-decoration: none; }

/* ── Buttons ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--accent);
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.55rem 1.25rem;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.15s;
}
.btn-primary:hover { background: #CA7A09; text-decoration: none; }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.15s;
}
.btn-secondary:hover { color: var(--text); text-decoration: none; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  transition: border-color 0.15s, color 0.15s;
  text-decoration: none;
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent-light); text-decoration: none; }

/* ── Lead section ── */
.lead-section {
  padding: 4rem 0 3rem;
  border-bottom: 1px solid var(--border);
}

.lead-headline {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--text);
  max-width: 700px;
  margin-bottom: 1rem;
}

.lead-sub {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 1.75rem;
  line-height: 1.7;
}

.lead-ctas { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }

/* ── Coverage section ── */
.coverage-section { padding: 3rem 0; border-bottom: 1px solid var(--border); }

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.section-title {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--text);
}

.section-link {
  font-size: 0.875rem;
  color: var(--text-muted);
}
.section-link:hover { color: var(--accent-light); }

.case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.case-card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.1rem 1.25rem;
  text-decoration: none;
  transition: border-color 0.15s, background 0.15s;
}
.case-card:hover { border-color: var(--accent); background: var(--surface-2); text-decoration: none; }

.case-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.tier-badge {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.docket {
  color: var(--text-dim);
  font-size: 0.78em;
}

.case-name {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--text);
  line-height: 1.35;
  margin-bottom: 0.35rem;
}

.case-note {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.tracker-cta { text-align: center; padding-top: 0.5rem; }

/* ── About section ── */
.about-section { padding: 3rem 0; border-bottom: 1px solid var(--border); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.about-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem;
}

.about-title {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.about-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1rem;
}

/* ── Footer ── */
.site-footer { padding: 2rem 0; }

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-brand {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 1rem;
  color: var(--text-muted);
}

.footer-note {
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* ── Mobile ── */
@media (max-width: 640px) {
  .hide-mobile { display: none; }
  .lead-section { padding: 2.5rem 0 2rem; }
  .about-grid { grid-template-columns: 1fr; }
  .masthead-inner { gap: 1rem; }
  .lead-ctas { flex-direction: column; align-items: flex-start; }
  .section-link { display: none; }
  .tracker-cta { text-align: left; }
}
