:root {
  --bg: #FFFFFF;
  --bg-muted: #FAFAF8;
  --bg-cream: #FBF6EE;
  --surface: #FFFFFF;
  --text: #0B0B0B;
  --text-2: #2B2B2B;
  --text-muted: #6B6B6B;
  --text-dim: #999999;
  --accent: #D92534;
  --accent-deep: #B01A28;
  --accent-soft: #FBE4E6;
  --amber: #F2B83A;
  --amber-deep: #B8851A;
  --border: #E8E6E1;
  --border-strong: #C9C7C1;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-pill: 999px;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --font-display: "Archivo", "Inter", -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --max-w: 1180px;
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
}

.page-shell {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0 1.25rem;
  border-bottom: 1px solid var(--border);
}
.topbar-left {
  display: flex;
  align-items: center;
  gap: 14px;
}
.topbar-left .mark {
  width: 32px;
  height: 4px;
  background: var(--accent);
  border-radius: 2px;
}
.topbar-crumb {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
}
.topbar-crumb .sep { color: var(--text-dim); margin: 0 8px; font-weight: 400; }
.brand-block {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-logo {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.brand-names {
  font-size: 13px;
  line-height: 1.1;
  text-align: right;
}
.brand-names .name {
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--accent);
}
.brand-names .tag {
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 3px;
  font-weight: 600;
}

.eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 3rem 0 1.5rem;
}
.eyebrow .sep { color: var(--text-dim); margin: 0 10px; font-weight: 400; }

.display-hero {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(40px, 6.5vw, 84px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0 0 1.25rem;
  color: var(--text);
}
.display-hero .accent { color: var(--accent); }

.lede {
  font-size: 18px;
  line-height: 1.45;
  color: var(--text-2);
  max-width: 780px;
  margin: 0 0 2.5rem;
}

.meta-divider {
  border-top: 1px solid var(--border);
  margin: 0 0 1.5rem;
}
.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  margin-bottom: 3rem;
}
.meta-item .lbl {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.meta-item .val {
  font-size: 19px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.01em;
}

.narrator {
  background: var(--bg-cream);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--accent);
  padding: 1rem 1.25rem 1rem 1rem;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin: 0 0 2rem;
  max-width: 880px;
}
.narrator-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent);
  color: #FFF;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.narrator-body {
  flex: 1;
  min-width: 0;
}
.narrator-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 4px;
}
.narrator-text {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--text-2);
}

.statusbar {
  margin-top: auto;
  padding: 1.25rem 0 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.statusbar-left {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.statusbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
}
.pts-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #0B0B0B;
  color: #FFF;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
}
.pts-chip .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber);
}
.nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  border: 1px solid var(--border-strong);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  text-decoration: none;
  font-family: inherit;
  transition: all 0.15s ease;
}
.nav-btn:hover { background: var(--bg-muted); }
.nav-btn.primary {
  background: var(--accent-soft);
  border-color: var(--accent-soft);
  color: var(--accent-deep);
}
.nav-btn.primary:hover { background: #F8D0D4; }
.nav-btn.disabled {
  opacity: 0.5;
  pointer-events: none;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
}
.card-soft {
  background: var(--bg-muted);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  letter-spacing: 0.01em;
  transition: all 0.15s ease;
}
.btn-primary {
  background: var(--accent);
  color: #FFF;
}
.btn-primary:hover { background: var(--accent-deep); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-strong);
}
.btn-ghost:hover { background: var(--bg-muted); }
.btn-dark {
  background: #0B0B0B;
  color: #FFF;
}
.btn-dark:hover { background: #2B2B2B; }

@media (max-width: 720px) {
  .page-shell { padding: 0 1rem; }
  .display-hero { font-size: 42px; }
  .meta-row { gap: 1.5rem; }
}
