/* /changelog page — weekly shipping history */

/* Nav overrides (btn-nav defined in theme; active/live variants needed on standalone pages) */
.btn-nav {
  padding: 8px 18px;
  background: var(--bg-2);
  color: var(--fg);
  border-radius: 6px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font-body);
  border: 1px solid var(--border);
  transition: opacity 0.15s;
}
.btn-nav-ghost {
  background: transparent;
  border: 1px solid rgba(248,244,238,0.15);
  color: rgba(248,244,238,0.7);
}
.btn-nav-live {
  color: var(--accent);
  border-color: var(--accent-glow);
}
.btn-nav-active {
  background: var(--accent);
  color: #0D1B2A;
  border-color: transparent;
}
.nav-actions {
  margin-left: auto;
  display: flex;
  gap: 8px;
  align-items: center;
}
.btn-nav:hover { opacity: 0.82; }

.cl-main {
  min-height: 100vh;
}

/* Hero */
.cl-hero {
  padding: 80px 40px 64px;
  border-bottom: 1px solid var(--border);
}
.cl-hero-inner {
  max-width: 760px;
  margin: 0 auto;
}
.cl-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid var(--accent-glow);
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 28px;
}
.cl-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 22px;
}
.cl-hero h1 em {
  font-style: italic;
  color: var(--accent);
}
.cl-sub {
  font-size: 17px;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 620px;
  margin-bottom: 48px;
}

/* Cumulative counters */
.cl-counters {
  display: flex;
  gap: 2px;
  flex-wrap: wrap;
}
.cl-counter {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 24px 32px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  min-width: 140px;
}
.cl-counter-num {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.03em;
}
.cl-counter-label {
  font-size: 12px;
  color: var(--fg-muted);
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}

/* Weekly log */
.cl-log-section {
  padding: 72px 40px;
}
.cl-log-inner {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.cl-empty {
  padding: 48px;
  text-align: center;
  color: var(--fg-muted);
  background: var(--bg-card);
  border: 1px solid var(--border);
}

/* Week group */
.cl-week-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.cl-week-label {
  font-family: var(--font-display);
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--fg);
}
.cl-week-count {
  font-size: 12px;
  color: var(--fg-muted);
  white-space: nowrap;
}

.cl-entries {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* Single entry */
.cl-entry {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 24px 28px;
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 20px;
  align-items: start;
}
.cl-entry-meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 2px;
}
.cl-date {
  font-size: 13px;
  color: var(--fg-muted);
  font-feature-settings: "tnum";
  opacity: 0.85;
}

/* Tag chips — shared with /live */
.cl-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  width: fit-content;
}
.tag-eng {
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid var(--accent-glow);
}
.tag-outreach {
  color: #7eb8ff;
  background: rgba(126, 184, 255, 0.1);
  border: 1px solid rgba(126, 184, 255, 0.2);
}
.tag-content {
  color: #ffa94d;
  background: rgba(255, 169, 77, 0.1);
  border: 1px solid rgba(255, 169, 77, 0.2);
}
.tag-revenue {
  color: #4ade80;
  background: rgba(74, 222, 128, 0.1);
  border: 1px solid rgba(74, 222, 128, 0.2);
}
.tag-research {
  color: #c084fc;
  background: rgba(192, 132, 252, 0.1);
  border: 1px solid rgba(192, 132, 252, 0.2);
}

.cl-entry-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--fg);
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.cl-entry-outcome {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 10px;
}
.cl-redacted {
  display: inline-block;
  font-size: 11px;
  color: var(--fg-muted);
  opacity: 0.5;
  font-style: italic;
  margin-bottom: 10px;
}
.cl-artifact-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid var(--accent-glow);
  padding-bottom: 1px;
  transition: opacity 0.15s;
}
.cl-artifact-link:hover { opacity: 0.8; }

/* Footer CTA */
.cl-cta-section {
  padding: 80px 40px;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}
.cl-cta-inner {
  max-width: 580px;
  margin: 0 auto;
  text-align: center;
}
.cl-cta-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 12px;
  line-height: 1.15;
}
.cl-cta-inner h2 em {
  font-style: italic;
  color: var(--accent);
}
.cl-cta-inner p {
  font-size: 16px;
  color: var(--fg-muted);
  margin-bottom: 32px;
}
.cl-cta-btn {
  display: inline-block;
  background: var(--accent);
  color: #0D1B2A;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  padding: 14px 36px;
  border-radius: 6px;
  text-decoration: none;
  transition: opacity 0.15s;
}
.cl-cta-btn:hover { opacity: 0.88; }

/* Responsive */
@media (max-width: 768px) {
  .cl-hero { padding: 60px 24px 48px; }
  .cl-sub { margin-bottom: 36px; }
  .cl-counters { flex-direction: row; }
  .cl-counter { min-width: 100px; padding: 20px 20px; }
  .cl-counter-num { font-size: 32px; }
  .cl-log-section { padding: 48px 24px; }
  .cl-entry { grid-template-columns: 1fr; gap: 10px; }
  .cl-entry-meta { flex-direction: row; align-items: center; }
  .cl-cta-section { padding: 60px 24px; }
  .nav-actions { gap: 6px; }
  .btn-nav { font-size: 12px; padding: 7px 12px; }
}
@media (max-width: 480px) {
  .cl-counters { flex-direction: column; }
  .cl-counter { flex-direction: row; align-items: baseline; gap: 12px; }
}
