/* Uncle JP's Famous Apps — shared design tokens */
:root {
  --court: #153226;
  --court-deep: #0e231a;
  --court-mid: #1c4332;
  --grass: #2a6a4a;
  --ball: #d7ea4a;
  --ball-hot: #e8f56a;
  --clay: #c0562a;
  --cream: #f3efe4;
  --paper: #fffcf6;
  --ink: #142018;
  --ink-soft: #3d4f44;
  --muted: #6a7a70;
  --line: #ddd6c6;
  --line-strong: #cfc6b3;
  --ok: #1d6b45;
  --err: #a33a22;
  --shadow: 0 12px 40px rgba(20, 32, 24, 0.1);
  --shadow-soft: 0 2px 10px rgba(20, 32, 24, 0.06);
  --radius: 18px;
  --radius-sm: 12px;
  --font: "Outfit", system-ui, sans-serif;
  --display: "Plus Jakarta Sans", "Outfit", system-ui, sans-serif;
  --space: 1.25rem;
  --max: 1100px;
  --header-h: 4.25rem;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: inherit; }

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

h1, h2, h3, .display {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0;
  margin: 0;
}

p { margin: 0 0 1rem; }

p:last-child { margin-bottom: 0; }

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ball);
  color: var(--court);
  padding: 0.5rem 1rem;
  z-index: 100;
}
.skip:focus { left: 0.5rem; top: 0.5rem; }

.wrap {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
}

.mono {
  font-variant-numeric: tabular-nums;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
