:root {
  --ink: #121A1B;
  --olive-deep: #505039;
  --olive: #A7AA63;
  --cream: #EAE6D2;
  --radius-lg: 26px;
  --radius-md: 18px;
  --radius-sm: 13px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--ink);
  color-scheme: dark;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--cream);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 12% 0%, rgba(167, 170, 99, .18), transparent 34rem),
    radial-gradient(circle at 92% 18%, rgba(80, 80, 57, .35), transparent 30rem),
    linear-gradient(180deg, rgba(80, 80, 57, .12), transparent 26rem),
    var(--ink);
  background-attachment: fixed;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .32;
  background-image:
    linear-gradient(rgba(234, 230, 210, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(234, 230, 210, .025) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(to bottom, rgba(18, 26, 27, 1), transparent 70%);
}

button,
input,
select {
  font: inherit;
}

button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}

button,
a {
  transition:
    color .2s ease,
    background-color .2s ease,
    border-color .2s ease,
    box-shadow .2s ease,
    transform .2s ease;
}

.app-shell,
.admin-shell {
  position: relative;
  z-index: 1;
  width: min(100%, 928px);
  margin: 0 auto;
  padding:
    max(18px, env(safe-area-inset-top))
    max(14px, env(safe-area-inset-right))
    max(44px, env(safe-area-inset-bottom))
    max(14px, env(safe-area-inset-left));
}

.admin-shell {
  width: min(100%, 1328px);
}

.page-header {
  padding: 12px 0 16px;
  text-align: center;
}

.page-header h1 {
  max-width: none;
  margin: 0 auto;
  text-align: center;
  text-shadow:
    0 2px 14px rgba(0, 0, 0, .42),
    0 0 18px rgba(167, 170, 99, .18);
  animation: page-title-pulse 3.2s ease-in-out infinite;
}

@keyframes page-title-pulse {
  0%, 100% {
    text-shadow:
      0 2px 14px rgba(0, 0, 0, .42),
      0 0 16px rgba(167, 170, 99, .14);
  }
  50% {
    text-shadow:
      0 3px 18px rgba(0, 0, 0, .50),
      0 0 26px rgba(167, 170, 99, .30);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-header h1 {
    animation: none;
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--olive);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .18em;
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--olive);
  box-shadow: 0 0 12px rgba(167, 170, 99, .45);
}

h1 {
  max-width: 760px;
  margin: 10px 0 11px;
  color: var(--cream);
  font-size: clamp(30px, 7vw, 48px);
  line-height: 1.03;
  letter-spacing: -.035em;
  text-wrap: balance;
}

h2 {
  position: relative;
  margin: 28px 0 14px;
  padding-left: 15px;
  color: var(--cream);
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: -.015em;
}

h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: .18em;
  bottom: .18em;
  width: 3px;
  border-radius: 99px;
  background: var(--olive);
  box-shadow: 0 0 14px rgba(167, 170, 99, .34);
}

p {
  line-height: 1.6;
}

.muted {
  color: rgba(234, 230, 210, .61);
  font-size: 14px;
}
