:root {
  --brand-primary: #2f6fed;
  --brand-secondary: #0f172a;
  --brand-accent: #22c55e;
  --surface: #ffffff;
  --surface-muted: #f5f7fb;
  --border: #e5e7eb;
  --text-primary: #0f172a;
  --text-muted: #6b7280;
  --shadow: 0 18px 48px rgba(15, 23, 42, 0.12);
  --radius-lg: 20px;
  --radius-md: 14px;
  --font-heading: "Manrope", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--surface-muted);
  line-height: 1.6;
}

a {
  color: var(--brand-primary);
  text-decoration: none;
}

a:hover {
  color: #1d4ed8;
}

.app-shell {
  background: var(--surface-muted);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  padding: 0.75rem 1rem;
  background: var(--brand-primary);
  color: #fff;
  border-radius: 0 0 0.75rem 0;
  z-index: 999;
}

.skip-link:focus {
  left: 1rem;
}

.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
}

.navbar-brand {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--brand-secondary);
}

.navbar-nav .nav-link {
  font-weight: 500;
  color: var(--brand-secondary);
}

.navbar-nav .nav-link:hover {
  color: var(--brand-primary);
}

.page-content {
  padding-bottom: 4rem;
}

.hero-section {
  background: radial-gradient(circle at top left, rgba(47, 111, 237, 0.15), transparent 45%),
    linear-gradient(180deg, #ffffff 0%, #eef2ff 100%);
}

.hero-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.hero-image {
  width: 100%;
  height: auto;
  display: block;
}

.hero-card-body {
  padding: 1.75rem;
}

.hero-card-body .label {
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.hero-card-body .value {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.hero-card-body .divider {
  height: 1px;
  background: var(--border);
  margin: 1rem 0;
}

.mini-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 1rem;
  border: 1px solid var(--border);
  height: 100%;
}

.mini-card .label {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.mini-card .value {
  font-weight: 600;
  margin-bottom: 0;
}

.section-title {
  margin-bottom: 2rem;
}

.section-spacer {
  padding: 4rem 0;
}

.info-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 2rem;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}

.stats-section {
  background: #0f172a;
  padding: 3.5rem 0;
  color: #fff;
}

.stat-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  height: 100%;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-card .label {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 0.5rem;
}

.stat-card .value {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.stat-card .hint {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.7);
}

.cta-section {
  padding: 4rem 0 5rem;
}

.cta-card {
  background: linear-gradient(120deg, #2f6fed 0%, #1d4ed8 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  box-shadow: var(--shadow);
}

.cta-card .eyebrow {
  color: rgba(255, 255, 255, 0.7);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.page-hero {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 2.5rem 0;
}

.form-card {
  border-radius: var(--radius-lg);
}

.sticky-side {
  position: sticky;
  top: 1.5rem;
}

.participant-card {
  background: var(--surface-muted);
  border: 1px dashed #cbd5f5;
  border-radius: var(--radius-md);
  padding: 1rem;
}

.info-list li {
  display: flex;
  justify-content: space-between;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--border);
}

.info-list li:last-child {
  border-bottom: none;
}

.info-list .label {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.7rem;
  color: var(--text-muted);
}

.info-list .value {
  font-weight: 600;
}

.info-pill {
  background: var(--surface-muted);
  border-radius: 12px;
  padding: 0.75rem;
  text-align: center;
}

.info-pill .title {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.info-pill .detail {
  font-weight: 600;
  margin-bottom: 0;
}

.contact-card {
  border-radius: var(--radius-lg);
}

.admin-table thead th {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-muted);
}

.flash-stack .alert {
  border-radius: 12px;
}

@media (max-width: 991px) {
  .cta-card {
    padding: 2rem;
  }
}
