/* Signara brand palette (navy, blue, gray, cyan) */
:root {
  --background: 210 33% 97%;
  --foreground: 216 45% 14%;
  --card: 0 0% 100%;
  --card-foreground: 216 45% 14%;
  --border: 212 24% 85%;
  --input: 212 20% 72%;
  --primary: 214 64% 26%;
  --primary-foreground: 0 0% 100%;
  --secondary: 205 60% 93%;
  --secondary-foreground: 214 64% 22%;
  --muted: 210 25% 93%;
  --muted-foreground: 215 14% 36%;
  --accent: 195 62% 88%;
  --accent-foreground: 200 70% 20%;
  --ring: 196 78% 42%;
  --gold: #1f8fc0;
  --sage: #4f6f8f;
  --cream: #f4f7fb;
  --wine: #173a6b;
  --surface: #ffffff;
}

.dark {
  --background: 216 45% 8%;
  --foreground: 210 30% 92%;
  --card: 216 38% 12%;
  --card-foreground: 210 30% 92%;
  --border: 214 25% 24%;
  --input: 214 22% 34%;
  --primary: 196 72% 56%;
  --primary-foreground: 216 45% 8%;
  --secondary: 214 30% 18%;
  --secondary-foreground: 210 30% 92%;
  --muted: 214 28% 16%;
  --muted-foreground: 212 16% 68%;
  --accent: 200 40% 22%;
  --accent-foreground: 195 60% 86%;
  --ring: 196 72% 56%;
  --gold: #5cc8ea;
  --sage: #8fa8c2;
  --cream: #0e1a2c;
  --wine: #7cc4ea;
  --surface: #13233a;
}

.brand-mark--official {
  display: block;
  width: 2.9rem;
  height: 2.55rem;
  object-fit: contain;
}

.score-disclaimer {
  max-width: 42rem;
  margin: 1rem 0 0;
  color: hsl(var(--muted-foreground));
  font-size: 0.76rem;
  line-height: 1.55;
}

/* Conditional Pioneer invitation */
.pioneer-invite {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 2rem;
  margin-top: 1rem;
  padding: clamp(1.6rem, 4vw, 3rem);
  border: 1px solid hsl(var(--primary) / 0.35);
  border-radius: 1rem;
  background: linear-gradient(135deg, hsl(var(--primary) / 0.07), hsl(var(--accent) / 0.45));
}

.pioneer-invite h2 {
  margin-bottom: 1rem;
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
  letter-spacing: -0.03em;
}

.pioneer-invite p {
  max-width: 44rem;
  color: hsl(var(--muted-foreground));
}

.pioneer-invite small {
  display: block;
  margin-top: 0.4rem;
  color: hsl(var(--muted-foreground));
  font-size: 0.76rem;
}

.pioneer-button {
  flex: 0 0 auto;
  white-space: nowrap;
  text-decoration: none;
}

@media (max-width: 900px) {
  .pioneer-invite {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .pioneer-button {
    justify-self: start;
  }
}

@media (max-width: 420px) {
  .pioneer-button {
    width: 100%;
    white-space: normal;
  }
}
