/* Leo the Legend: the style sheet the site and later pages share. Every value comes from tokens.css. */

.leo-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  min-height: 52px;
  padding: var(--space-3) var(--space-5);
  border: 0;
  border-radius: var(--radius-button);
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 17px;
  line-height: 24px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.14s cubic-bezier(0.2, 1.4, 0.4, 1), box-shadow 0.12s;
}
.leo-btn-primary {
  background: var(--accent);
  color: var(--on-accent);
  box-shadow: var(--shadow-button);
}
.leo-btn-primary:hover,
.leo-btn-primary:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--shadow-button-lift);
}
.leo-btn-secondary {
  background: var(--surface);
  color: var(--ink);
  box-shadow: inset 0 0 0 var(--outline) var(--ink);
}
.leo-btn:focus-visible {
  outline: var(--outline-heavy) solid var(--focus-ring);
  outline-offset: 2px;
}
.leo-btn svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}
@media (prefers-reduced-motion: reduce) {
  .leo-btn { transition: none; }
  .leo-btn-primary:hover, .leo-btn-primary:focus-visible { transform: none; }
}

.leo-card {
  background: var(--surface);
  color: var(--ink);
  border-radius: var(--radius-card);
  box-shadow: inset 0 0 0 var(--outline) var(--ink), var(--shadow-hud);
  padding: var(--space-5);
}
.leo-card > img,
.leo-card > .leo-shot {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius-button);
  background: var(--sky);
  margin-bottom: var(--space-4);
}
.leo-card > p { margin: var(--space-2) 0 0; }

.leo-eyebrow {
  display: block;
  font-family: var(--font-sans);
  font-size: 11px;
  line-height: 16px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.leo-chip {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: 2px var(--space-2);
  border-radius: var(--radius-chip);
  background: var(--panel);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 20px;
  font-weight: 700;
}
.leo-chip-orange { background: var(--pop-orange); color: var(--on-accent); }
.leo-chip-blue { background: var(--pop-blue); color: var(--on-accent); }
.leo-chip-good { background: var(--good); color: var(--on-accent); }
.leo-chip-alert { background: var(--alert); color: #ffffff; }

.leo-sticky-bar {
  position: sticky;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 -1px 0 var(--line), var(--shadow-hud);
}
.leo-sticky-bar .leo-btn { flex: 1; }

.leo-band {
  background: var(--sky);
  color: var(--ink);
  padding: var(--space-8) var(--space-4);
  text-align: center;
}
.leo-band-slot {
  width: 646px;
  max-width: 100%;
  height: 190px;
  margin: 0 auto var(--space-5);
  border-radius: var(--radius-button);
  background: var(--panel);
  color: var(--ink-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 20px;
}

.leo-hills { display: block; width: 100%; height: auto; background: var(--sky); }
.leo-hills .sun { fill: var(--accent); }
.leo-hills .deep { fill: var(--hill-deep); }
.leo-hills .mid { fill: var(--hill); }
.leo-hills .light { fill: var(--hill-light); }
