/* courtlab.ai — one stylesheet, no web fonts, no third-party requests. */

:root {
  --bg: #050506;
  --bg-alt: #0c0d10;
  --surface: #121318;
  --surface-2: #181a20;
  --line: #24262e;
  --text: #f2f3f5;
  --muted: #a3a7b2;
  --faint: #6f7480;
  --chrome-1: #ffffff;
  --chrome-2: #b9bec8;
  --orange: #ff6b1a;
  --orange-deep: #e2541b;
  --ball: #d6f53a;
  --radius: 14px;
  --wrap: 1120px;
  --gutter: 16px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 var(--font);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--ball); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #e9ff7a; }
:focus-visible { outline: 2px solid var(--ball); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 720px) { :root { --gutter: 28px; } }

.skip {
  position: absolute; left: -9999px; top: 8px;
  background: var(--ball); color: #000; padding: 8px 14px; border-radius: 8px; z-index: 10;
}
.skip:focus { left: 8px; }

/* ── Header ───────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 5;
  background: rgba(5, 5, 6, 0.86);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { border-radius: 8px; }

.wordmark { font: 800 20px/1 var(--font-display); letter-spacing: 0.06em; }
.wordmark.small { font-size: 16px; }
.wordmark .court {
  background: linear-gradient(180deg, var(--chrome-1) 0%, var(--chrome-2) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.wordmark .lab { color: var(--orange); }

.site-nav { display: flex; align-items: center; gap: 4px; font-size: 15px; }
.site-nav a { color: var(--muted); text-decoration: none; padding: 8px 10px; border-radius: 8px; white-space: nowrap; }
.site-nav a:hover { color: var(--text); background: var(--surface); }
.site-nav .nav-cta { color: var(--text); border: 1px solid var(--line); margin-left: 4px; }
@media (max-width: 720px) {
  .nav-hide-sm { display: none; }
  .site-nav { gap: 0; font-size: 14px; }
  .site-nav a { padding: 8px; }
}
@media (max-width: 400px) { .nav-hide-xs { display: none; } }
@media (max-width: 340px) { .wordmark { font-size: 17px; } }

/* ── Type ─────────────────────────────────────────────── */
h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; margin: 0 0 0.5em; }
h1 { font-size: clamp(36px, 7vw, 64px); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(28px, 4.4vw, 42px); font-weight: 800; letter-spacing: -0.015em; }
h3 { font-size: 19px; font-weight: 700; }
.home h1, .band h2 {
  background: linear-gradient(180deg, var(--chrome-1) 30%, var(--chrome-2) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
p { margin: 0 0 1em; }
.eyebrow {
  color: var(--orange); font-size: 13px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 12px;
}
.lede { color: var(--muted); font-size: clamp(17px, 2.2vw, 20px); max-width: 38em; }
.fine { color: var(--faint); font-size: 14px; }

/* ── Buttons ──────────────────────────────────────────── */
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 14px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  font-weight: 700; font-size: 16px; text-decoration: none; white-space: nowrap;
}
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-deep); color: #fff; }
.btn-ghost { border: 1px solid var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--muted); color: var(--text); }
.btn-soon { border: 1px dashed #3a3d47; color: var(--muted); cursor: default; }
@media (max-width: 420px) { .btn { width: 100%; } }

/* ── Hero ─────────────────────────────────────────────── */
.hero { padding: 56px 0 40px; position: relative; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(600px 300px at 80% 10%, rgba(214, 245, 58, 0.10), transparent 70%),
    radial-gradient(700px 400px at 10% 90%, rgba(255, 107, 26, 0.10), transparent 70%);
}
.hero-grid { display: grid; gap: 36px; align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1fr 1.05fr; } .hero { padding: 88px 0 64px; } }
.hero-art { margin: 0; }
.hero-art img { border-radius: var(--radius); border: 1px solid var(--line); }

/* ── Bands ────────────────────────────────────────────── */
.band { padding: 64px 0; border-top: 1px solid var(--line); }
.band-alt { background: var(--bg-alt); }
@media (min-width: 960px) { .band { padding: 96px 0; } }

.steps { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.steps li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.steps p { color: var(--muted); margin: 0; }
.step-num {
  display: inline-grid; place-items: center; width: 34px; height: 34px; margin-bottom: 14px;
  border-radius: 50%; background: var(--ball); color: #0b0b0b; font-weight: 800;
}

.grid { display: grid; gap: 16px; margin-top: 32px; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid { grid-template-columns: repeat(4, 1fr); } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card h3 { font-size: 17px; }
.card p { color: var(--muted); font-size: 15px; margin: 0; }
.icon {
  width: 30px; height: 30px; margin-bottom: 14px;
  fill: none; stroke: var(--ball); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}

.split { display: grid; gap: 28px; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; } }

.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checks li {
  position: relative; padding: 14px 16px 14px 46px; color: var(--muted);
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
}
.checks li::before {
  content: ""; position: absolute; left: 16px; top: 19px; width: 16px; height: 9px;
  border-left: 2.5px solid var(--ball); border-bottom: 2.5px solid var(--ball); transform: rotate(-45deg);
}

.plans { display: grid; gap: 16px; margin-top: 32px; }
@media (min-width: 760px) { .plans { grid-template-columns: 1fr 1fr; } }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.plan h3 { font-size: 24px; }
.plan ul { margin: 0 0 16px; padding-left: 20px; color: var(--muted); }
.plan li { margin-bottom: 6px; }
.plan-pro { border-color: var(--orange); box-shadow: 0 0 0 1px var(--orange) inset; }
.plan-pro h3 { color: var(--orange); }

.band-cta { text-align: center; }
.cta-final .cta-row { justify-content: center; }

/* ── Documents (support, privacy, terms, 404) ─────────── */
.doc { max-width: 760px; margin: 0 auto; padding: 48px var(--gutter) 72px; }
.doc h1 { font-size: clamp(32px, 6vw, 46px); }
.doc h2 { font-size: 24px; margin-top: 2em; color: var(--text); }
.doc h3 { font-size: 18px; margin-top: 1.6em; }
.doc p, .doc li { color: #c9ccd4; }
.doc ul, .doc ol { padding-left: 22px; }
.doc li { margin-bottom: 6px; }
.doc hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.doc strong { color: var(--text); }
.doc code { background: var(--surface-2); padding: 1px 6px; border-radius: 6px; font-size: 0.92em; }
.table-wrap { overflow-x: auto; margin: 1em 0 1.5em; border: 1px solid var(--line); border-radius: 12px; }
.doc table { border-collapse: collapse; width: 100%; font-size: 15px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.doc th { background: var(--surface); color: var(--text); }
.doc tr:last-child td { border-bottom: 0; }
.not-found { text-align: center; padding-top: 96px; padding-bottom: 120px; }

/* ── Footer ───────────────────────────────────────────── */
.site-footer { border-top: 1px solid var(--line); padding: 36px 0 28px; background: var(--bg-alt); }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; }
.footer-brand p { color: var(--faint); font-size: 14px; margin: 8px 0 0; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 15px; }
.footer-nav a { color: var(--muted); text-decoration: none; }
.footer-nav a:hover { color: var(--text); }
.footer-legal p { color: var(--faint); font-size: 13px; margin: 20px 0 0; }
