*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  color-scheme: light;
  --bg: #f4f1ec;
  --fg: #141218;
  --muted: rgba(20, 18, 24, 0.58);
  --foot-muted: rgba(20, 18, 24, 0.42);
  --ember: #e85a24;
  --ember-2: #f5a050;
  --violet: #6b4fe0;
  --card: rgba(20, 18, 24, 0.045);
  --border: rgba(20, 18, 24, 0.1);
  --banner-shadow: 0 0 0 1px rgba(232, 90, 36, 0.15), 0 16px 40px rgba(20, 18, 24, 0.08);
  --brand-grad-end: rgba(20, 18, 24, 0.72);
  --banner-text-end: rgba(20, 18, 24, 0.82);
  --noise-opacity: 0.045;
  --glow-a-opacity: 0.35;
  --glow-b-opacity: 0.22;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: "Instrument Sans", system-ui, sans-serif;
  /* Literal fallback if a cached stylesheet dropped variables */
  background: #f4f1ec;
  background: var(--bg);
  color: var(--fg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.bg-layer {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.noise {
  position: absolute;
  inset: 0;
  opacity: var(--noise-opacity);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: var(--glow-a-opacity);
  pointer-events: none;
}

.glow-a {
  width: min(520px, 90vw);
  height: min(520px, 90vw);
  top: -120px;
  right: -80px;
  background: radial-gradient(circle at 30% 30%, var(--ember), transparent 55%);
}

.glow-b {
  width: min(480px, 85vw);
  height: min(480px, 85vw);
  bottom: -140px;
  left: -100px;
  background: radial-gradient(circle at 60% 40%, var(--violet), transparent 60%);
  opacity: var(--glow-b-opacity);
}

.top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1.25rem clamp(1.25rem, 4vw, 2.5rem);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.mark {
  color: var(--ember);
  font-size: 0.85rem;
}

.brand-mini {
  font-size: 0.95rem;
  background: linear-gradient(90deg, var(--fg), var(--brand-grad-end));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero {
  position: relative;
  z-index: 1;
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem clamp(1.25rem, 4vw, 2.5rem) 4rem;
  gap: 1rem;
}

.eyebrow {
  margin: 0;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--muted);
}

.title {
  margin: 0;
  max-width: 100%;
  padding-top: 0.06em;
  padding-bottom: 0.22em;
  font-family: "Syne", "Instrument Sans", sans-serif;
  font-weight: 800;
  font-size: clamp(2.25rem, calc(0.25rem + 9.5vw), 6.5rem);
  line-height: 1.35;
  letter-spacing: -0.04em;
  overflow: visible;
}

.title-line {
  display: inline;
}

.title-line.accent {
  background: linear-gradient(120deg, var(--ember-2), var(--ember) 40%, #ff3d6a 95%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.tagline {
  margin: 0.25rem 0 0;
  font-size: clamp(1rem, 2.4vw, 1.2rem);
  color: var(--muted);
  max-width: 28ch;
}

.banner {
  position: relative;
  margin-top: 2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 1.35rem;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--banner-shadow);
  backdrop-filter: blur(12px);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.banner-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ember);
  box-shadow: 0 0 0 0 rgba(255, 107, 44, 0.55);
  animation: pulse 2.2s ease-out infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 107, 44, 0.55);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 12px rgba(255, 107, 44, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 107, 44, 0);
  }
}

.banner-text {
  background: linear-gradient(90deg, var(--fg), var(--banner-text-end));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hint {
  margin: 1.75rem 0 0;
  font-size: 0.9rem;
  color: var(--muted);
  max-width: 32ch;
}

.foot {
  position: relative;
  z-index: 1;
  padding: 1.5rem;
  text-align: center;
  font-size: 0.8rem;
  color: var(--foot-muted);
}

@media (prefers-reduced-motion: reduce) {
  .banner-pulse {
    animation: none;
    box-shadow: 0 0 12px rgba(255, 107, 44, 0.45);
  }
}
