:root {
  --bg: #f4f1ea;
  --panel: rgba(255, 255, 255, 0.72);
  --panel-strong: rgba(255, 255, 255, 0.92);
  --text: #14201d;
  --muted: #566662;
  --line: rgba(20, 32, 29, 0.12);
  --accent: #135c4a;
  --accent-strong: #0d4436;
  --production: #0f766e;
  --preview: #6b7280;
  --status: #1d4ed8;
  --shadow: 0 22px 60px rgba(20, 32, 29, 0.12);
  --radius: 24px;
}
* { box-sizing: border-box; }
html {
  min-height: 100%;
  background:
    radial-gradient(circle at top left, rgba(19, 92, 74, 0.12), transparent 36%),
    radial-gradient(circle at top right, rgba(29, 78, 216, 0.08), transparent 28%),
    var(--bg);
}
body {
  margin: 0;
  min-height: 100%;
  color: var(--text);
  font-family: "IBM Plex Sans", "Avenir Next", "Segoe UI", sans-serif;
  line-height: 1.5;
}
a { color: inherit; }
.page-shell { width: min(1120px, calc(100% - 32px)); margin: 0 auto; padding: 28px 0 48px; }
.masthead, .content-section {
  position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--panel); backdrop-filter: blur(16px); box-shadow: var(--shadow);
}
.masthead { padding: 28px; }
.masthead::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(19, 92, 74, 0.06), transparent 42%), radial-gradient(circle at 88% 18%, rgba(29, 78, 216, 0.08), transparent 26%);
  pointer-events: none;
}
.title-block, .summary-strip, .eyebrow-row { position: relative; z-index: 1; }
.eyebrow-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.kicker, .section-kicker, .summary-label, .fact-label, .row-meta dt {
  margin: 0; color: var(--muted); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
}
.title-block h1, .section-heading h2 {
  margin: 0; font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", serif; font-weight: 700; letter-spacing: -0.03em;
}
.title-block h1 { max-width: 12ch; font-size: clamp(2.5rem, 7vw, 4.8rem); line-height: 0.95; }
.lede, .row-heading p, .section-note, .empty-state { color: var(--muted); }
.lede { max-width: 60ch; margin: 14px 0 0; font-size: 1.05rem; }
.summary-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 28px; }
.summary-strip > div, .callout {
  padding: 16px 18px; border: 1px solid rgba(20, 32, 29, 0.08); border-radius: 18px; background: var(--panel-strong);
}
.summary-strip strong, .callout strong { display: block; margin-top: 6px; font-size: 1rem; }
.action-row { position: sticky; top: 12px; z-index: 3; display: flex; flex-wrap: wrap; gap: 10px; padding: 16px 0; }
.button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 16px;
  border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,0.82); color: var(--text);
  font-size: 0.96rem; font-weight: 600; text-decoration: none;
}
.button-primary { border-color: transparent; background: var(--accent); color: #f7faf9; }
.button-primary:hover, .button-primary:focus-visible { background: var(--accent-strong); }
.button-secondary { background: rgba(255,255,255,0.88); }
.content-section { margin-top: 18px; padding: 28px; }
.section-heading { margin-bottom: 20px; }
.section-heading h2 { font-size: clamp(1.8rem, 4vw, 2.4rem); line-height: 1.02; }
.facts-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.compact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fact { min-height: 108px; padding: 16px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,0.64); }
.fact-value { margin-top: 10px; font-size: 1rem; font-weight: 600; }
.mono, .commit-sha, .row-meta .mono { font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace; }
.split-section { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.95fr); gap: 22px; }
.callout { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-bottom: 16px; }
.commit-list { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.commit-item {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 14px 16px;
  border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,0.72);
}
.commit-sha { color: var(--accent); font-weight: 700; }
.commit-subject { min-width: 0; font-weight: 600; }
.commit-author { color: var(--muted); white-space: nowrap; }
.badge {
  display: inline-flex; align-items: center; min-height: 30px; padding: 0 12px; border-radius: 999px;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
}
.badge-neutral { background: rgba(20, 32, 29, 0.07); color: var(--text); }
.badge-production { background: rgba(15, 118, 110, 0.12); color: var(--production); }
.badge-preview { background: rgba(107, 114, 128, 0.14); color: var(--preview); }
.badge-status { background: rgba(29, 78, 216, 0.12); color: var(--status); }
.deployment-list { display: grid; gap: 14px; }
.deployment-row {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px; padding: 18px; border: 1px solid var(--line);
  border-radius: 22px; background: rgba(255,255,255,0.7);
}
.row-main { display: grid; gap: 16px; }
.row-heading h3 { margin: 6px 0 4px; font-size: 1.5rem; line-height: 1; }
.row-heading p { margin: 0; }
.row-meta { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 0; }
.row-meta div { padding-top: 12px; border-top: 1px solid var(--line); }
.row-meta dd { margin: 8px 0 0; font-weight: 600; }
.row-actions { display: flex; flex-direction: column; gap: 10px; min-width: 168px; }
@media (max-width: 980px) {
  .summary-strip, .facts-grid, .row-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split-section, .deployment-row { grid-template-columns: 1fr; }
  .row-actions { min-width: 0; flex-direction: row; flex-wrap: wrap; }
}
@media (max-width: 640px) {
  .page-shell { width: min(100% - 20px, 100%); padding: 16px 0 32px; }
  .masthead, .content-section { padding: 20px; border-radius: 20px; }
  .summary-strip, .facts-grid, .compact-grid, .row-meta, .callout { grid-template-columns: 1fr; }
  .title-block h1 { max-width: none; }
  .action-row { top: 8px; }
  .button { width: 100%; }
  .commit-item { grid-template-columns: 1fr; }
  .commit-author { white-space: normal; }
}