/* usepointless.com: one full-bleed home screen plus plain reading pages for the legal text. */
:root {
  --ink: #0b0d12;
  --paper: #f6f3ec;
  --muted: rgba(246, 243, 236, 0.72);
  --rule: rgba(246, 243, 236, 0.22);
  --glass: rgba(11, 13, 18, 0.38);
  --ball: #ec7a2c;
  --ball-deep: #d4651a;
  --display: "Big Shoulders Display", "Arial Narrow", "Helvetica Neue Condensed", Impact, sans-serif;
  --body: "Archivo", "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--body);
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--ball); outline-offset: 3px; }

.wordmark {
  display: inline-flex;
  flex-direction: column;
  gap: 3px;
  font-family: var(--display);
  font-weight: 900;
  font-size: 26px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
}
/* The court decal's orange underline, taken off the floor. */
.wordmark::after { content: ""; height: 3px; width: 58%; background: var(--ball); }

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  padding-top: 14px;
  border-top: 1px solid var(--rule);
  font-size: 13px;
  color: var(--muted);
}
.site-footer nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.site-footer a:hover { color: var(--paper); }

/* ---------- Home ---------- */
.stage {
  position: relative;
  height: 100%;
  min-height: 600px;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding-left: max(28px, env(safe-area-inset-left, 0px));
  padding-right: max(28px, env(safe-area-inset-right, 0px));
  padding-top: calc(22px + env(safe-area-inset-top, 0px));
  padding-bottom: calc(22px + env(safe-area-inset-bottom, 0px));
}
.photo {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 34% 42%;
  transform-origin: 34% 40%;
  animation: drift 24s ease-in-out infinite alternate;
}
@keyframes drift { from { transform: scale(1); } to { transform: scale(1.06); } }
.scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to bottom, rgba(11, 13, 18, 0.55) 0%, rgba(11, 13, 18, 0) 18%),
    linear-gradient(to top, rgba(11, 13, 18, 0.94) 0%, rgba(11, 13, 18, 0.6) 34%, rgba(11, 13, 18, 0) 62%);
}
.stage header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px 16px;
}
.join {
  color: var(--paper);
  font-family: var(--body);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  letter-spacing: 0.02em;
  padding: 9px 16px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: var(--glass);
  backdrop-filter: blur(6px);
  transition: border-color 160ms ease, background 160ms ease;
}
.join:hover { border-color: var(--paper); background: rgba(11, 13, 18, 0.55); }

.lower {
  align-self: end;
  max-width: 760px;
  padding-bottom: 26px;
}
.lower h1 {
  margin: 0;
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(52px, 8.2vw, 116px);
  line-height: 0.86;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  text-wrap: balance;
}
.lower h1 em { font-style: normal; color: var(--ball); }

/* Waitlist modal: the page stays put behind a blur. */
.modal {
  width: min(460px, calc(100vw - 32px));
  padding: 32px 28px 28px;
  border: 1px solid var(--rule);
  border-radius: 20px;
  background: rgba(16, 19, 26, 0.92);
  color: var(--paper);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}
.modal[open] { animation: rise 220ms ease-out; }
.modal::backdrop {
  background: rgba(11, 13, 18, 0.45);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
@keyframes rise { from { opacity: 0; transform: translateY(12px) scale(0.98); } to { opacity: 1; transform: none; } }
.modal h2 {
  margin: 0 0 6px;
  font-family: var(--display);
  font-weight: 900;
  font-size: 40px;
  line-height: 0.95;
  text-transform: uppercase;
}
.modal-sub { margin: 0 0 22px; font-size: 15px; color: var(--muted); }
.modal .waitlist { max-width: none; }
.modal .waitlist input { background: rgba(246, 243, 236, 0.06); backdrop-filter: none; }
.modal .error { margin: 10px 0 0 18px; }
.modal .done { max-width: none; background: rgba(246, 243, 236, 0.06); backdrop-filter: none; }
.close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}
.close:hover { color: var(--paper); background: rgba(246, 243, 236, 0.08); }

.waitlist { display: flex; flex-wrap: wrap; gap: 10px; max-width: 520px; }
.waitlist label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.waitlist input {
  flex: 1 1 240px;
  min-width: 0;
  height: 48px;
  padding: 0 18px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: var(--glass);
  backdrop-filter: blur(6px);
  color: var(--paper);
  font: 500 16px var(--body);
}
.waitlist input::placeholder { color: rgba(246, 243, 236, 0.5); }
.waitlist input:focus { border-color: var(--paper); }
.waitlist button {
  flex: 0 0 auto;
  height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: var(--ball);
  color: var(--ink);
  font: 600 15px var(--body);
  cursor: pointer;
  transition: background 160ms ease, opacity 160ms ease;
}
.waitlist button:hover { background: var(--ball-deep); }
.waitlist button:disabled { opacity: 0.6; cursor: progress; }
.error { margin: -4px 0 0 18px; font-size: 13px; color: var(--ball); }
.done {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 520px;
  margin: 0;
  padding: 12px 18px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: var(--glass);
  backdrop-filter: blur(6px);
  font-size: 15px;
}
.done::before {
  content: "";
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ball);
}
.done b { font-weight: 600; }

/* ---------- Legal pages ---------- */
.page {
  min-height: 100%;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 48px;
  max-width: 760px;
  margin: 0 auto;
  padding-left: max(24px, env(safe-area-inset-left, 0px));
  padding-right: max(24px, env(safe-area-inset-right, 0px));
  padding-top: calc(24px + env(safe-area-inset-top, 0px));
  padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px));
}
.doc { max-width: 68ch; line-height: 1.65; font-size: 16px; color: rgba(246, 243, 236, 0.86); }
.doc h1 {
  margin: 0 0 6px;
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(40px, 7vw, 64px);
  line-height: 0.95;
  text-transform: uppercase;
  color: var(--paper);
}
.doc .meta { margin: 0 0 32px; font-size: 13px; letter-spacing: 0.06em; color: var(--muted); font-variant-numeric: tabular-nums; }
.doc h2, .doc h3 { margin: 32px 0 8px; font-size: 18px; font-weight: 600; color: var(--paper); }
.doc h3 { font-size: 16px; margin-top: 22px; }
.doc p { margin: 0 0 12px; }
.doc ul { margin: 0 0 14px; padding-left: 22px; }
.doc li { margin: 0 0 4px; }
.doc li::marker { color: var(--ball); }

@media (max-width: 640px) {
  .stage {
    padding-left: max(18px, env(safe-area-inset-left, 0px));
    padding-right: max(18px, env(safe-area-inset-right, 0px));
  }
  .photo { object-position: 30% 40%; }
  .wordmark { font-size: 22px; }
  .lower { padding-bottom: 16px; }
  .modal { padding: 28px 20px 22px; }
  .modal .waitlist button { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .photo, .modal[open] { animation: none; }
}
