:root {
  --ink: #1d2329;
  --muted: #66727c;
  --paper: #fffdf8;
  --accent: #b45309;
  --line: #e6dfd3;
}

body {
  background: var(--paper);
  color: var(--ink);
}

.cover-page {
  min-height: 78vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 3rem;
  border: 1px solid var(--ink);
  background:
    linear-gradient(135deg, rgba(180, 83, 9, 0.12), transparent 45%),
    #12171c;
  color: #f8f3e8;
}

.cover-kicker {
  color: #f0a44a;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.cover-title {
  max-width: 11ch;
  margin: 2rem 0 1rem;
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 0.95;
}

.cover-subtitle {
  max-width: 36rem;
  color: #d8d2c6;
  font-size: 1.25rem;
  line-height: 1.45;
}

.cover-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  align-items: flex-end;
  justify-content: space-between;
  border-top: 1px solid rgba(248, 243, 232, 0.3);
  padding-top: 1.25rem;
  color: #d8d2c6;
}

.cover-footer strong {
  color: #f8f3e8;
}

.title-page {
  max-width: 36rem;
  margin: 4rem auto;
  padding: 2rem 0;
  border-top: 4px solid var(--accent);
  border-bottom: 1px solid var(--line);
}

.title-page .title-main {
  font-size: 2.8rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.title-page .title-sub {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 1.3rem;
}

.title-page .title-author {
  margin-top: 3rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.title-page .title-version {
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.ue-meta table {
  width: 100%;
  margin: 1rem 0 1.5rem;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  font-size: 0.9rem;
}

.ue-meta th,
.ue-meta td {
  border: 0;
  padding: 0.45rem 0.5rem;
  text-align: left;
}

.ue-meta th {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status {
  display: inline-block;
  margin: 0.2rem 0.3rem 0.2rem 0;
  padding: 0.2rem 0.55rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fbf7ef;
  font-size: 0.78rem;
}

.status.ready {
  border-color: #b6d7c2;
  background: #edf8f0;
  color: #245c36;
}

.status.draft {
  border-color: #e6c98f;
  background: #fdf5e4;
  color: #7a4b08;
}

.status.todo {
  border-color: #ddd6cc;
  background: #f7f4ee;
  color: #6b6257;
}

.lead {
  font-size: 1.1rem;
  line-height: 1.65;
}

.small {
  color: var(--muted);
  font-size: 0.9rem;
}
