:root {
  --ink: #111111;
  --cream: #f6f0e7;
  --red: #d94841;
  --green: #2e6f57;
  --gold: #e9b949;
  --blue: #2e6171;
  --stone: #c8c2b8;
  --surface: rgba(246, 240, 231, 0.92);
  --border: rgba(17, 17, 17, 0.12);
  --shadow: 0 24px 60px rgba(17, 17, 17, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Manrope', sans-serif;
  background:
    radial-gradient(circle at top left, rgba(233, 185, 73, 0.22), transparent 36%),
    radial-gradient(circle at top right, rgba(46, 111, 87, 0.22), transparent 34%),
    linear-gradient(180deg, #f4ede2 0%, #efe4d7 100%);
  color: var(--ink);
}

.page-mesh {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(17, 17, 17, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 17, 17, 0.025) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent);
}

.console-shell {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0 64px;
  position: relative;
}

.hero-panel,
.panel,
.status-strip,
.metric-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.hero-panel {
  padding: 28px;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1.7fr) minmax(280px, 1fr);
  margin-bottom: 20px;
}

.eyebrow {
  margin: 0 0 10px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: rgba(17, 17, 17, 0.62);
}

h1,
h2 {
  margin: 0;
  font-family: 'Fraunces', serif;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(2.2rem, 4vw, 4.1rem);
  line-height: 0.98;
  max-width: 12ch;
}

h2 {
  font-size: 1.65rem;
}

.lede {
  margin: 18px 0 0;
  max-width: 64ch;
  line-height: 1.7;
  color: rgba(17, 17, 17, 0.74);
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
}

.button {
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.95rem 1.35rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition:
    transform 120ms ease,
    background 120ms ease,
    border-color 120ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-solid {
  background: var(--red);
  color: #fff9f2;
}

.button-outline {
  background: transparent;
  border-color: rgba(46, 97, 113, 0.35);
  color: var(--blue);
}

.button-ghost {
  background: rgba(17, 17, 17, 0.05);
  color: var(--ink);
}

.button.small {
  padding: 0.65rem 1rem;
}

.status-strip {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 16px 20px;
  margin-bottom: 20px;
}

.status-label {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(17, 17, 17, 0.55);
  margin-bottom: 6px;
}

.grid {
  display: grid;
  gap: 20px;
  margin-bottom: 20px;
}

.grid-four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.grid-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.metric-card {
  padding: 18px 20px;
}

.metric-card strong {
  display: block;
  font-size: 2rem;
  line-height: 1;
  margin-top: 10px;
}

.metric-card p {
  margin: 8px 0 0;
  color: rgba(17, 17, 17, 0.72);
}

.panel {
  padding: 22px;
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.panel-state {
  min-height: 1.4rem;
  margin-bottom: 12px;
  color: rgba(17, 17, 17, 0.68);
}

.table-shell {
  overflow-x: auto;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 20px;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 14px 16px;
  text-align: left;
  font-size: 0.96rem;
  border-bottom: 1px solid rgba(17, 17, 17, 0.07);
}

th {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(17, 17, 17, 0.58);
}

tbody tr:last-child td {
  border-bottom: none;
}

.feed-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.feed-list li {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(17, 17, 17, 0.08);
}

.feed-list strong {
  display: block;
  margin-bottom: 4px;
}

.muted {
  color: rgba(17, 17, 17, 0.62);
}

.pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.28rem 0.72rem;
  font-size: 0.78rem;
  font-weight: 700;
}

.pill.high,
.pill.open {
  background: rgba(217, 72, 65, 0.12);
  color: var(--red);
}

.pill.resolved,
.pill.published,
.pill.reviewed {
  background: rgba(46, 111, 87, 0.12);
  color: var(--green);
}

.pill.pending,
.pill.normal,
.pill.queued {
  background: rgba(46, 97, 113, 0.12);
  color: var(--blue);
}

@media (max-width: 980px) {
  .hero-panel,
  .grid-four,
  .grid-two,
  .status-strip {
    grid-template-columns: 1fr;
  }
}
