/* Rally: a community club identity. Fonts are local and work offline. */
@font-face {
  font-family: Bricolage;
  src: url("../assets/fonts/bricolage-grotesque.ttf") format("truetype");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: Public Sans;
  src: url("../assets/fonts/public-sans.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --ink: #203747;
  --ink-2: #344e5f;
  --muted: #526674;
  --faint: #627684;
  --line: #d5dfe5;
  --line-2: #edf2f5;
  --bg: #f3f6f8;
  --card: #fff;
  --green-950: #203747;
  --green-900: #294858;
  --green-800: #245641;
  --green-700: #286249;
  --green-600: #357359;
  --green-100: #e0eee5;
  --green-50: #eff6f1;
  --ball: #f4b89f;
  --ball-600: #dc987d;
  --ball-100: #fceae2;
  --orange: #c74728;
  --orange-hover: #ad361a;
  --orange-light: #fbe9e1;
  --sky: #dfedf6;
  --sky-deep: #c3d9e9;
  --red: #b53730;
  --red-600: #982c26;
  --red-50: #fcece8;
  --amber: #8b590d;
  --amber-50: #fbf1dd;
  --blue: #315e89;
  --blue-50: #e7f0f8;
  --violet: #665482;
  --violet-50: #f0ebf6;
  --radius: 12px;
  --radius-sm: 6px;
  --shadow-sm: none;
  --shadow: 0 5px 16px rgba(32, 55, 71, 0.06);
  --shadow-lg: 0 14px 40px rgba(32, 55, 71, 0.18);
  --font: "Public Sans", ui-sans-serif, system-ui, sans-serif;
  --display: Bricolage, ui-sans-serif, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, monospace;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  scrollbar-color: #9db7c9 #edf2f5;
  scrollbar-width: thin;
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img,
svg {
  display: block;
}
a {
  color: inherit;
  text-underline-offset: 4px;
}
button,
input {
  font: inherit;
  color: inherit;
}
button,
a,
input {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.12;
  letter-spacing: -0.025em;
}
p {
  margin: 0;
}
::selection {
  background: var(--orange);
  color: white;
}
input {
  caret-color: var(--orange);
}
input::placeholder {
  color: var(--muted);
  opacity: 1;
}
:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
  border-radius: 4px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.tabular {
  font-variant-numeric: tabular-nums;
}
.skip-link {
  position: fixed;
  top: -70px;
  left: 16px;
  padding: 10px 16px;
  background: var(--ink);
  color: white;
  z-index: 100;
  text-decoration: none;
  border-radius: 6px;
}
.skip-link:focus {
  top: 12px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 36px;
  letter-spacing: -0.04em;
  text-decoration: none;
  line-height: 1;
  color: var(--orange);
}
.logo-mark {
  width: 29px;
  height: 29px;
  flex: none;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 9px 16px;
  border-radius: 6px;
  border: 1px solid transparent;
  font-weight: 650;
  font-size: 13px;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  line-height: 1.3;
  transition:
    background-color 0.18s,
    color 0.18s,
    border-color 0.18s;
}
.btn-lg {
  min-height: 50px;
  padding: 13px 22px;
  font-size: 15px;
  border-radius: 7px;
}
.btn-sm {
  min-height: 32px;
  padding: 6px 11px;
  font-size: 12px;
  border-radius: 5px;
}
.btn-ball,
.btn-ink {
  background: var(--orange);
  color: white;
  box-shadow: none;
}
.btn-ball:hover,
.btn-ink:hover {
  background: var(--orange-hover);
}
.btn-green {
  background: var(--green-700);
  color: white;
}
.btn-green:hover {
  background: var(--green-800);
}
.btn-red {
  background: var(--red);
  color: white;
}
.btn-red:hover {
  background: var(--red-600);
}
.btn-outline {
  background: white;
  border-color: #bbcbd5;
  color: var(--ink);
}
.btn-outline:hover {
  background: var(--sky);
  border-color: var(--blue);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
}
.btn-ghost:hover {
  background: #e5edf3;
}
.btn[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
