/* Homepage Build Log — matches flow.html ink/cyan language */

.changelog-page {
  min-height: 100vh;
}

.changelog-main {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 24px 96px;
}

.changelog-kicker {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 12px;
}

.changelog-title {
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 8px;
}

.changelog-count {
  font-family: var(--mono);
  font-size: 0.55em;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0;
  margin-left: 0.35em;
  vertical-align: middle;
}

.changelog-home {
  margin-bottom: 18px;
}

.changelog-home a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
}

.changelog-home a:hover {
  color: var(--cyan);
}

.changelog-blurb,
.changelog-summary {
  color: var(--muted);
  font-size: 1.02rem;
  margin-bottom: 32px;
  max-width: 40rem;
}

/* Roadmap feed: full posts stacked, newest first */
.changelog-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.changelog-entry {
  padding: 8px 0 4px;
}

/* One header row: title left · date + Copy link right */
.changelog-entry-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px 20px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.changelog-entry-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  flex-shrink: 0;
  margin-left: auto;
}

.changelog-entry-title {
  font-size: clamp(1.2rem, 2.8vw, 1.45rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.3;
  margin: 0;
  color: var(--text);
  flex: 1 1 12rem;
  min-width: 0;
}

.changelog-entry-date,
.changelog-post-date {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--muted);
  margin: 0;
  letter-spacing: 0.02em;
}

.changelog-post-date {
  margin: 0 0 12px;
}

.changelog-entry-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  flex-shrink: 0;
}

.changelog-entry-body {
  margin-top: 4px;
}

/* Subtle dotted separator — Cepho rule language, not cards */
.changelog-sep {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 36px 0;
  height: 1px;
  position: relative;
}

.changelog-sep::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  border-top: 1px dotted var(--rule);
}

.changelog-sep span {
  position: relative;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--muted);
  opacity: 0.55;
  z-index: 1;
}

.changelog-empty,
.changelog-status {
  margin-top: 28px;
  color: var(--muted);
  font-size: 0.95rem;
}

.changelog-back {
  margin-bottom: 24px;
}

.changelog-back a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
}

.changelog-back a:hover {
  color: var(--cyan);
}

.changelog-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}

.changelog-copy {
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  background: var(--cyan);
  border: none;
  border-radius: 8px;
  padding: 9px 14px;
  cursor: pointer;
}

.changelog-copy:hover {
  filter: brightness(1.06);
}

/* Quiet ghost button — same cyan as "Build in public" kicker */
.changelog-copy--quiet {
  background: transparent;
  color: var(--cyan);
  border: 1px solid var(--cyan);
  font-weight: 500;
  font-size: 0.78rem;
  padding: 6px 10px;
}

.changelog-copy--quiet:hover {
  filter: none;
  color: var(--cyan);
  border-color: var(--cyan);
  background: var(--cyan-dim);
}

.changelog-copy-flash {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--green);
}

.changelog-body {
  color: var(--text);
  font-size: 1.02rem;
  line-height: 1.7;
}

.changelog-body p {
  margin-bottom: 1rem;
}

.changelog-body h2,
.changelog-body h3 {
  margin: 1.4rem 0 0.6rem;
  font-size: 1.15rem;
}

.changelog-body code {
  font-family: var(--mono);
  font-size: 0.88em;
  background: var(--panel);
  padding: 0.1em 0.35em;
  border-radius: 4px;
}

.changelog-body pre {
  font-family: var(--mono);
  font-size: 0.85rem;
  background: var(--panel);
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 14px 16px;
  overflow-x: auto;
  margin-bottom: 1rem;
}

.changelog-body ul,
.changelog-body ol {
  margin: 0 0 1rem 1.25rem;
}

.changelog-body a {
  color: var(--cyan);
}

@media (max-width: 640px) {
  .changelog-main {
    padding: 32px 18px 72px;
  }

  .changelog-sep {
    margin: 28px 0;
  }

  .changelog-page > header {
    padding: 16px 18px;
  }
}
