/* NoRush site — shared styles. Mirrors the app: true black, quiet cards, green accent. */
:root {
  color-scheme: dark;
  --bg: #000;
  --card: #121519;
  --line: rgba(190, 210, 255, .09);
  --text: #fff;
  --muted: rgba(235, 240, 255, .62);
  --faint: rgba(235, 240, 255, .42);
  --accent: #52C868;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: Inter, -apple-system, system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 16px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: 720px; margin: 0 auto; padding: 0 16px; }

/* Nav */
.nav { border-bottom: .5px solid var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { font: 600 22px/1 var(--serif); color: var(--text); letter-spacing: -.01em; }
.brand span { color: var(--accent); }
.brand:hover { text-decoration: none; }
.nav nav { display: flex; gap: 20px; font-size: 14px; }
.nav nav a { color: var(--muted); }
.nav nav a:hover, .nav nav a[aria-current] { color: var(--text); text-decoration: none; }

main { padding: 56px 0 88px; }

/* Type */
h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -.015em; line-height: 1.2; margin: 0; }
h1 { font-size: clamp(34px, 8vw, 52px); }
h2 { font-size: 24px; margin: 48px 0 12px; }
h3 { font-size: 18px; margin: 0 0 4px; }
p { margin: 0 0 16px; }
ul { padding-left: 1.2em; margin: 0 0 16px; }
li { margin-bottom: 8px; }
li::marker { color: var(--faint); }
.lede { font-size: 18px; color: var(--muted); margin-top: 16px; }
.muted { color: var(--muted); }
.small { font-size: 14px; color: var(--faint); }
.eyebrow { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }

/* Cards */
.card { background: var(--card); border: .5px solid var(--line); border-radius: 18px; padding: 20px; }
.features { display: grid; gap: 12px; margin: 40px 0; padding: 0; list-style: none; }
.features li { margin: 0; }
.features p { margin: 0; color: var(--muted); font-size: 15px; }
@media (min-width: 600px) { .features { grid-template-columns: 1fr 1fr; } }

/* Buttons */
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 14px;
  font: 600 16px/1 var(--sans); background: var(--accent); color: #000;
}
.btn:hover { text-decoration: none; filter: brightness(1.08); }
.btn.ghost { background: transparent; color: var(--text); border: .5px solid rgba(190, 210, 255, .22); }

/* FAQ */
.faq { display: grid; gap: 10px; margin: 24px 0; }
.faq details { background: var(--card); border: .5px solid var(--line); border-radius: 16px; }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 48px 18px 20px; position: relative;
  font-weight: 500;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  color: var(--faint); font-size: 20px; font-weight: 300;
}
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 20px 18px; color: var(--muted); }
.faq details > div p:last-child { margin-bottom: 0; }

/* Legal */
.legal h2 { font-size: 21px; }
.legal p, .legal li { color: rgba(255, 255, 255, .86); }
.legal strong { color: var(--text); font-weight: 600; }

/* Centered single-card pages (join, sign-in, game links) */
.center { min-height: calc(100vh - 65px); display: flex; align-items: center; padding: 48px 0; }
.center .wrap { max-width: 460px; text-align: center; }
.center .actions { justify-content: center; }
.code {
  font: 600 32px/1 ui-monospace, Menlo, monospace; letter-spacing: 8px; color: var(--accent);
  background: var(--card); border: .5px solid var(--line); border-radius: 16px;
  padding: 18px 22px 18px 30px; display: inline-block; margin: 20px 0;
}

/* Footer */
footer { border-top: .5px solid var(--line); padding: 32px 0 48px; font-size: 14px; color: var(--faint); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; }
footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
footer a { color: var(--muted); }
