/* Fergie briefing app. Dark product UI. Mobile first. */
:root {
  color-scheme: dark;
  --page: #050508;
  --surface-1: #0e0e14;
  --surface-2: #14141c;
  --text-primary: #f4f4f8;
  --text-secondary: #a8a8b8;
  --muted: #6e6e80;
  --grid: #22222e;
  --border: rgba(255,255,255,0.08);
  --accent: #6366f1;
  --accent-2: #22d3ee;
  --chip: #12121a;
}
* { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--page);
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--text-primary);
  font-size: 15px;
  line-height: 1.45;
  padding: 12px;
  display: flex; justify-content: center;
  min-height: 100vh;
}
.wrap { max-width: 920px; width: 100%; }
.card {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px 16px 18px;
  box-shadow: 0 0 0 1px rgba(99,102,241,0.08), 0 24px 48px rgba(0,0,0,0.35);
}
.brand { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.av {
  width: 32px; height: 32px; border-radius: 50%;
  background: #111; color: #fff; font-weight: 700; font-size: 13px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(99,102,241,0.45);
  box-shadow: 0 0 0 3px rgba(99,102,241,0.12);
}
h1 { font-size: 18px; font-weight: 650; letter-spacing: -0.02em; }
.sub { color: var(--text-secondary); font-size: 13px; margin-top: 2px; }
.example {
  display: inline-block; margin-top: 8px;
  font-size: 10px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  color: #fcd34d; border: 1px solid rgba(251,191,36,0.4); background: rgba(251,191,36,0.1);
  padding: 2px 8px; border-radius: 999px;
}
.nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 4px; }
.nav a {
  color: var(--accent-2); text-decoration: none; font-size: 13px;
  border: 1px solid var(--border); border-radius: 999px; padding: 6px 10px;
}
.nav a:hover { border-color: rgba(34,211,238,0.4); }
.shape {
  margin-top: 10px; font-size: 13px; font-weight: 550;
  padding: 10px 12px; border-radius: 10px;
  background: var(--surface-2); border: 1px solid var(--border);
}
.shape span { color: var(--accent-2); font-weight: 600; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 16px 0 4px; }
.tile {
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: 12px; padding: 12px;
}
.tile .lbl { font-size: 11px; color: var(--text-secondary); font-weight: 550; }
.tile .val { font-size: 22px; font-weight: 650; margin-top: 4px; letter-spacing: -0.02em; }
.tile .hint { font-size: 11px; color: var(--muted); margin-top: 2px; }
.section { margin-top: 22px; }
.section h2 {
  font-size: 11px; font-weight: 700; color: var(--accent-2);
  letter-spacing: 0.06em; text-transform: uppercase;
  border-bottom: 1px solid var(--grid); padding-bottom: 7px; margin-bottom: 12px;
}
.rgt {
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: 12px; padding: 14px; margin-bottom: 10px;
}
.rgt.quarry { border-color: rgba(99,102,241,0.45); }
.quarry-tag {
  display: inline-block; font-size: 10px; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase;
  color: #c7d2fe; background: rgba(99,102,241,0.2);
  border: 1px solid rgba(99,102,241,0.4);
  padding: 2px 8px; border-radius: 999px; margin-bottom: 6px;
}
.rgt .title { font-size: 15px; font-weight: 650; margin: 4px 0 8px; }
.meta { font-size: 13px; color: var(--text-secondary); }
.pill {
  display: inline-block; font-size: 10px; font-weight: 700;
  padding: 2px 8px; border-radius: 999px; border: 1px solid var(--border);
  text-transform: uppercase;
}
.pill.unlock { color: #93c5fd; border-color: rgba(59,130,246,0.5); background: rgba(59,130,246,0.12); }
.numlist { list-style: none; padding: 0; counter-reset: p; }
.numlist li {
  font-size: 14px; padding: 9px 0 9px 28px; position: relative;
  border-bottom: 1px solid var(--grid); counter-increment: p;
}
.numlist li:last-child { border-bottom: none; }
.numlist li::before {
  content: counter(p);
  position: absolute; left: 0; top: 9px;
  width: 20px; height: 20px; border-radius: 50%;
  background: rgba(99,102,241,0.18); color: #c7d2fe;
  font-size: 11px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.out {
  margin-top: 12px; padding: 12px 14px; border-radius: 12px;
  border: 1px solid rgba(34,211,238,0.35); background: rgba(34,211,238,0.07);
  font-size: 13.5px;
}
.out strong { color: var(--accent-2); }
.squad { display: grid; grid-template-columns: 1fr; gap: 8px; }
.schip {
  display: flex; gap: 10px; align-items: flex-start;
  background: var(--chip); border: 1px solid var(--border);
  border-radius: 12px; padding: 11px 12px;
}
.schip .av { width: 32px; height: 32px; flex-shrink: 0; }
.av-fergie { background: #111; }
.av-dash { background: #22d3ee; color: #041016; }
.av-spike { background: #f59e0b; }
.av-dev { background: #6366f1; }
.schip .who { font-size: 12px; font-weight: 700; color: var(--text-secondary); }
.schip .line { font-size: 13.5px; margin-top: 2px; }
.inspo .punch { font-size: 14px; margin: 10px 0; }
.inspo .why { font-size: 13px; color: var(--text-secondary); }
.inspo a { color: var(--accent-2); text-decoration: none; font-size: 12.5px; overflow-wrap: anywhere; }
.foot {
  margin-top: 22px; padding-top: 12px; border-top: 1px solid var(--grid);
  font-size: 11.5px; color: var(--muted);
}
@media (min-width: 640px) { .squad { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px) {
  body { padding: 24px; }
  .card { padding: 28px 32px; }
  .tile .val { font-size: 26px; }
}
@media (max-width: 389px) {
  .tiles { grid-template-columns: 1fr; }
}
