:root {
  --red: #e30613;
  --red-dark: #be0010;
  --black: #070707;
  --muted: #6b6b6b;
  --line: #d8d8d8;
  --paper: #fff;
  font-synthesis: none;
}

* { box-sizing: border-box; }

html { background: #101010; }
body {
  margin: 0;
  background: #101010;
  color: var(--black);
  font-family: Inter, Arial, sans-serif;
}

.page-shell {
  width: min(100%, 1087px);
  min-height: 100vh;
  margin: 0 auto;
  overflow: hidden;
  background: var(--paper);
  border-top: 14px solid var(--red);
  box-shadow: 0 0 40px #0008;
}

.masthead {
  min-height: 94px;
  padding: 18px clamp(22px, 5vw, 58px) 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 4px solid var(--black);
}

.brand {
  display: inline-flex;
  align-items: stretch;
  font: 900 clamp(26px, 4.3vw, 48px)/.9 "Roboto Condensed", Arial Narrow, sans-serif;
  letter-spacing: -1.7px;
}
.brand-word { padding: 7px 8px 5px 0; }
.brand-clock {
  padding: 7px 9px 5px;
  color: #fff;
  background: var(--red);
  transform: skew(-3deg);
}
.live-pill {
  padding: 8px 11px;
  border: 2px solid var(--black);
  font: 900 14px/1 Inter, sans-serif;
  letter-spacing: .8px;
}
.live-pill span {
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 4px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 4px #e3061326;
  animation: pulse 1.8s infinite;
}
@keyframes pulse { 50% { opacity: .45; } }

.hero {
  padding: clamp(30px, 5.5vw, 62px) clamp(22px, 7vw, 76px) clamp(28px, 5vw, 54px);
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.kicker,
.section-label {
  margin: 0;
  color: var(--red);
  font: 900 clamp(13px, 1.8vw, 19px)/1 "Roboto Condensed", Arial Narrow, sans-serif;
  letter-spacing: 1.7px;
  text-transform: uppercase;
}
h1 {
  margin: 10px 0 12px;
  font: 900 clamp(50px, 9.4vw, 99px)/.86 "Roboto Condensed", Arial Narrow, sans-serif;
  letter-spacing: clamp(-4px, -.45vw, -2px);
}
h1 span { color: var(--red); }
.intro {
  max-width: 760px;
  margin: 0 auto;
  color: #2f2f2f;
  font: 600 clamp(15px, 2vw, 21px)/1.33 "Roboto Condensed", sans-serif;
}

.panel { position: relative; }
.debt {
  padding: clamp(30px, 5vw, 52px) clamp(22px, 7vw, 76px) clamp(26px, 4vw, 45px);
  text-align: center;
}
.counter {
  margin: 10px 0 9px;
  font: 900 clamp(38px, 7vw, 72px)/1 "Roboto Condensed", Arial Narrow, sans-serif;
  letter-spacing: -2px;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.counter-debt { font-size: clamp(43px, 8.4vw, 90px); }
.rate-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--red);
  font: 800 clamp(14px, 2.1vw, 22px)/1.2 "Roboto Condensed", sans-serif;
}
.rate-dot {
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  background: var(--red);
  border-radius: 50%;
}
.stand {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.metric-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 4px solid var(--black);
  border-bottom: 4px solid var(--black);
}
.metric {
  min-width: 0;
  padding: clamp(28px, 5vw, 48px) clamp(18px, 4vw, 48px) clamp(30px, 5vw, 51px);
  text-align: center;
}
.metric + .metric { border-left: 1px solid var(--line); }
.metric .counter { font-size: clamp(35px, 6vw, 64px); }
.metric .section-label { color: var(--black); }
.metric::before {
  content: "";
  display: block;
  width: 48px;
  height: 8px;
  margin: 0 auto 22px;
  background: var(--red);
}

.filings { padding: clamp(32px, 5vw, 55px) clamp(22px, 7vw, 76px) 30px; }
.filings-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 18px;
  border-bottom: 3px solid var(--black);
}
.filings-heading .section-label {
  color: var(--black);
  font-size: clamp(22px, 3.2vw, 34px);
  letter-spacing: -.2px;
}
.filings-subtitle {
  margin: 6px 0 0;
  color: var(--muted);
  font: 600 13px/1.3 Inter, sans-serif;
}
.filings-count { text-align: right; }
.filings-count b {
  display: block;
  color: var(--red);
  font: 900 32px/1 "Roboto Condensed", sans-serif;
}
.filings-count span { color: var(--muted); font-size: 11px; text-transform: uppercase; }
.filings-list { min-height: 180px; }
.filing {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  padding: 15px 0 14px;
  border-bottom: 1px solid var(--line);
}
.filing a {
  color: var(--black);
  font: 800 clamp(15px, 1.9vw, 19px)/1.2 "Roboto Condensed", sans-serif;
  text-decoration: none;
}
.filing a:hover, .filing a:focus-visible { color: var(--red); text-decoration: underline; }
.filing-meta { margin-top: 4px; color: var(--muted); font-size: 12px; }
.filing-date { color: var(--red); font: 800 13px/1.2 "Roboto Condensed", sans-serif; white-space: nowrap; }
.loading, .upstream-status { color: var(--muted); font-size: 13px; }
.upstream-status { margin: 14px 0 0; }

.sources {
  margin: 0 clamp(22px, 7vw, 76px) 42px;
  border-top: 3px solid var(--black);
  border-bottom: 1px solid var(--line);
}
.sources summary {
  padding: 16px 0;
  cursor: pointer;
  font: 800 15px/1.2 Inter, sans-serif;
}
.source-item { padding: 0 0 15px; color: #404040; font-size: 12px; line-height: 1.45; }
.source-item a { color: var(--red-dark); font-weight: 700; }
.method-note { padding: 14px; background: #f3f3f3; font-size: 12px; line-height: 1.45; }
footer {
  min-height: 65px;
  padding: 20px clamp(22px, 7vw, 76px);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  background: var(--black);
  color: #fff;
  border-bottom: 14px solid var(--red);
  font: 600 11px/1.3 Inter, sans-serif;
  text-transform: uppercase;
  letter-spacing: .7px;
}

@media (max-width: 650px) {
  .page-shell { border-top-width: 9px; }
  .masthead { min-height: 72px; padding-block: 13px 11px; border-bottom-width: 3px; }
  .hero { padding-top: 36px; }
  .metric-grid { grid-template-columns: 1fr; }
  .metric + .metric { border-left: 0; border-top: 1px solid var(--line); }
  .counter { letter-spacing: -1px; }
  .filings-heading { align-items: flex-start; }
  .filings-subtitle { max-width: 260px; }
  footer { flex-direction: column; }
}

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