:root {
  --bg: #f6f0e8;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-strong: #ffffff;
  --ink: #1f1b1a;
  --muted: #6f665f;
  --line: rgba(31, 27, 26, 0.08);
  --accent: #ff6b2c;
  --accent-soft: #ffd9c8;
  --accent-deep: #bb3d09;
  --shadow: 0 24px 80px rgba(72, 44, 32, 0.12);
  --radius-lg: 28px;
  --radius-md: 18px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(255, 173, 96, 0.28), transparent 34%),
    radial-gradient(circle at bottom right, rgba(255, 209, 131, 0.36), transparent 28%),
    linear-gradient(180deg, #fdf9f2 0%, var(--bg) 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

.page-shell {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 64px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand strong,
h1,
h2,
h3 {
  font-family: "Space Grotesk", sans-serif;
}

.brand small {
  display: block;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 11px;
}

.brand-mark {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  background: #111111;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.ghost-link {
  color: var(--muted);
}

.hero-card,
.panel {
  background: var(--surface);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.hero-card {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.7fr);
  gap: 24px;
  padding: 36px;
}

.hero-copy h1 {
  margin: 12px 0 16px;
  font-size: clamp(36px, 5vw, 68px);
  line-height: 0.98;
  max-width: 11ch;
}

.lead {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.eyebrow {
  margin: 0;
  color: var(--accent-deep);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 800;
}

.hero-actions,
.inline-actions,
.inline-form,
.status-grid,
.split-grid {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-panel,
.card-list,
.stack-form {
  display: grid;
  gap: 14px;
}

.hero-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}

.hero-logo {
  width: min(100%, 280px);
  border-radius: 28px;
  box-shadow: 0 22px 60px rgba(31, 27, 26, 0.18);
}

.metric-card,
.list-card {
  background: var(--surface-strong);
  border-radius: var(--radius-md);
  padding: 18px;
  border: 1px solid var(--line);
}

.metric-card span,
.list-card small {
  color: var(--muted);
  display: block;
  margin-bottom: 8px;
}

.metric-card strong {
  font-size: 22px;
  line-height: 1.3;
}

.accent {
  background: linear-gradient(135deg, #fff3ea 0%, #ffe4cf 100%);
}

.secondary-button,
button,
select,
input,
textarea {
  border-radius: 14px;
  font: inherit;
}

button,
.secondary-button {
  border: 0;
  background: linear-gradient(135deg, var(--accent) 0%, #f59a54 100%);
  color: white;
  padding: 12px 18px;
  font-weight: 700;
  cursor: pointer;
}

.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(31, 27, 26, 0.08);
  color: var(--ink);
}

.page-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-grid .wide,
.spotlight,
.hero-card {
  grid-column: 1 / -1;
}

.spotlight {
  padding: 28px;
}

.panel {
  padding: 24px;
}

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

.panel-heading h2,
.list-card h3 {
  margin: 0;
}

.empty-state {
  color: var(--muted);
  margin: 0;
}

.card-link {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.table-wrap {
  overflow-x: auto;
}

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

th,
td {
  text-align: left;
  padding: 14px 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

th {
  color: var(--muted);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.stack-form label {
  display: grid;
  gap: 8px;
}

input,
textarea,
select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 96px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(31, 27, 26, 0.08);
  font-size: 13px;
  font-weight: 700;
}

.pill.approved {
  background: #ddf7e5;
}

.pill.pending {
  background: #fff0c9;
}

.pill.blocked {
  background: #ffd6d1;
}

.participant-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

@media (max-width: 900px) {
  .hero-card,
  .page-grid {
    grid-template-columns: 1fr;
  }

  .page-shell {
    width: min(100% - 20px, 1240px);
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-card,
  .panel,
  .spotlight {
    padding: 22px;
  }
}
