/* Rally — shared faces, palette and primitives for the landing page and the club dashboard.
   The palette is the sport's own: the optic-lime ball (the Rally mark), the orange outdoor ball,
   court-surface blue, the grey of a concrete surround, and the brand's near-black. */

@font-face {
  font-family: "Roundo";
  src: url("../fonts/roundo-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Roundo";
  src: url("../fonts/roundo-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Roundo";
  src: url("../fonts/roundo-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
/* Figtree carries the product's figures: Roundo has no tabular digits */
@font-face {
  font-family: "Figtree";
  src: url("../fonts/figtree-var-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* the sport */
  --lime: #d7f24c;
  --lime-deep: #b9d62a;
  --orange: #ff6831;
  --orange-deep: #e4521d;
  --court: #2a63c9;
  --court-deep: #1f4fa6;
  --concrete: #c9cec7;
  --concrete-deep: #b3b9b1;
  --night: #0d1b16;
  --night-2: #1b2a24;

  --paper: #ffffff;
  --ink: #0d1b16;
  --muted: #4c5a54; /* 7.3:1 on white: secondary notes only */

  --display: "Roundo", "Figtree", ui-rounded, system-ui, sans-serif;
  --ui: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
  --t-press: 140ms;
  --t-hover: 180ms;
  --t-ui: 240ms;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
  color: inherit;
}

h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

.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;
}

/* The wordmark: the five-hole ball and the name */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.logo-mark {
  width: 1.15em;
  height: 1.15em;
  flex: none;
}
