/* Running Result team site. Colors come from tokens.css (copied from
   runningresult.com's public/ui/tokens.css); never use fixed colors here. */

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

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  line-height: 1.5;
}

a {
  color: var(--red-lift);
}

.bar,
.page,
.foot {
  max-width: 64rem;
  margin: 0 auto;
  padding: 1rem;
}

.bar {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--rule);
}

.bar nav {
  display: flex;
  gap: 1rem;
}

.bar nav a {
  color: var(--paper-dim);
  text-decoration: none;
}

.brand {
  color: var(--paper);
  font-weight: 700;
  text-decoration: none;
}

.brand span {
  color: var(--red);
}

.hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 6vw, 3.5rem);
  line-height: 1.1;
}

.dim {
  color: var(--paper-dim);
}

.btn {
  display: inline-block;
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
  background: var(--red);
  color: var(--on-accent);
  font-weight: 600;
  text-decoration: none;
}

.btn--ghost {
  background: transparent;
  color: var(--paper);
  border: 1px solid var(--rule);
}

.foot {
  color: var(--paper-faint);
  border-top: 1px solid var(--rule);
}

@media (prefers-reduced-motion: no-preference) {
  .btn {
    transition: background-color 0.15s ease;
  }
}
