:root {
  --bg: #09111f;
  --bg2: #0d1830;
  --panel: rgba(10, 18, 34, 0.92);
  --panel-2: rgba(7, 13, 26, 0.92);
  --line: rgba(148, 163, 184, 0.14);
  --line-strong: rgba(148, 163, 184, 0.22);
  --text: #f8fafc;
  --muted: #94a3b8;
  --blue: #60a5fa;
  --purple: #a78bfa;
  --pink: #f472b6;
  --green: #22c55e;
  --yellow: #facc15;
  --red: #f87171;
  --shadow: 0 18px 46px rgba(0, 0, 0, 0.28);
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, Arial, Helvetica, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(96, 165, 250, 0.12), transparent 25%),
    radial-gradient(circle at top right, rgba(167, 139, 250, 0.12), transparent 24%),
    linear-gradient(180deg, #0d1932 0%, #09111f 40%, #08101b 100%);
}

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

.site-header,
.page-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}


.brand-lockup {
  display: flex;
  align-items: center;
  gap: 14px;
}
.brand-mark {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  object-fit: contain;
  background: rgba(255,255,255,0.92);
  padding: 2px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.brand-eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 6px;
}
.brand-subline {
  margin-top: 6px;
  color: #dbeafe;
  font-weight: 700;
  font-size: 13px;
}
.brand-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 22px;
  overflow: hidden;
}
.brand-banner h2 {
  margin: 4px 0 6px;
  font-size: 24px;
}
.brand-banner-logo {
  width: min(320px, 42vw);
  max-height: 120px;
  object-fit: contain;
  background: rgba(255,255,255,0.96);
  border-radius: 14px;
  padding: 10px 14px;
  filter: drop-shadow(0 12px 26px rgba(0,0,0,.2));
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  padding: 28px 0 18px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(10, 18, 34, 0.78);
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
  box-shadow: var(--shadow);
}
.contact-btn:hover { transform: translateY(-1px); }

.header-copy h1 {
  margin: 0 0 8px;
  font-size: 42px;
  line-height: 1;
  letter-spacing: -0.04em;
}
.tagline {
  margin: 0 0 8px;
  color: #dbeafe;
  font-size: 16px;
}
.privacy-note {
  margin: 0;
  color: var(--muted);
  max-width: 760px;
  font-size: 14px;
  line-height: 1.45;
}
.counter {
  white-space: nowrap;
  background: rgba(10, 18, 34, 0.78);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 16px;
  font-weight: 800;
  box-shadow: var(--shadow);
}

.page-shell {
  display: grid;
  gap: 20px;
  padding-bottom: 42px;
}

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.input-card {
  padding: 22px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 14px;
}

h2 {
  margin: 0 0 8px;
  font-size: 28px;
  letter-spacing: -0.03em;
}

.helper {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
  font-size: 14px;
}

.field-label,
.section-kicker,
.metric-label,
.micro-label {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 11px;
  color: var(--muted);
}

.method-bar {
  min-width: 170px;
  display: grid;
  gap: 8px;
}

select,
textarea,
.waitlist-inline input {
  width: 100%;
  background: rgba(2, 6, 23, 0.92);
  color: var(--text);
  border: 1px solid var(--line-strong);
  border-radius: 14px;
}

select {
  padding: 10px 12px;
  font-weight: 700;
}

textarea {
  min-height: 280px;
  resize: vertical;
  padding: 16px;
  line-height: 1.55;
  font-size: 14px;
}

.input-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 12px;
}

.small-meta {
  font-size: 12px;
  color: var(--muted);
}

.actions {
  display: flex;
  gap: 10px;
}

button {
  border: 0;
  border-radius: 12px;
  padding: 11px 14px;
  font-weight: 800;
  color: white;
  background: linear-gradient(135deg, #60a5fa, #7c3aed);
  cursor: pointer;
  transition: transform 120ms ease, opacity 120ms ease;
}
button:hover { transform: translateY(-1px); }
button.secondary,
.mini-btn.secondary {
  background: #334155;
}
button:disabled { opacity: 0.65; cursor: not-allowed; transform: none; }

.loading-status,
.error {
  margin-top: 14px;
  border-radius: 14px;
  padding: 12px 14px;
}
.loading-status {
  border: 1px dashed rgba(167, 139, 250, 0.75);
  background: rgba(76, 29, 149, 0.16);
  color: #f5d0fe;
  font-weight: 700;
}
.error {
  background: rgba(127, 29, 29, 0.45);
  border: 1px solid #7f1d1d;
  color: #fecaca;
}
.hidden { display: none !important; }

.empty-state {
  min-height: 260px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 28px;
  color: var(--muted);
}
.empty-title {
  font-size: 28px;
  color: white;
  font-weight: 800;
  margin-bottom: 8px;
}

.results-shell {
  display: grid;
  gap: 18px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.9fr);
  gap: 18px;
}

.hero-card,
.card,
.snapshot-card,
.detail-card,
.stat-card,
.category-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 18px;
  padding: 18px;
  align-items: center;
}

.gif-wrap {
  display: grid;
  gap: 10px;
}
.gif-wrap img {
  width: 100%;
  height: 180px;
  object-fit: contain;
  background: rgba(2, 6, 23, 0.72);
  border-radius: 14px;
  border: 1px solid var(--line);
}
.gif-caption {
  font-size: 12px;
  line-height: 1.4;
  color: #f9a8d4;
}

.hero-copy {
  display: grid;
  gap: 10px;
}
.score-row {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  flex-wrap: wrap;
}
.score-big {
  font-size: clamp(56px, 9vw, 82px);
  line-height: 0.9;
  font-weight: 900;
  letter-spacing: -0.05em;
}
.score-big span {
  font-size: 22px;
  color: var(--muted);
  margin-left: 4px;
}
.hero-tone {
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -0.03em;
}
.hero-summary {
  color: #dbeafe;
  line-height: 1.45;
  max-width: 60ch;
}
.hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.mini-btn {
  padding: 9px 12px;
  font-size: 13px;
  background: rgba(51, 65, 85, 0.92);
}

.snapshot-card {
  padding: 16px;
  display: grid;
  gap: 14px;
}
.snapshot-top {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.snapshot-metric {
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(2, 6, 23, 0.72);
  border: 1px solid var(--line);
}
.snapshot-value {
  margin-top: 6px;
  font-size: 26px;
  font-weight: 850;
  letter-spacing: -0.03em;
}
.snapshot-secondary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.snapshot-highlight {
  padding: 14px;
  background: rgba(2, 6, 23, 0.72);
  border-radius: 14px;
  border: 1px solid var(--line);
}
.highlight-title {
  font-weight: 800;
  font-size: 20px;
  margin: 4px 0 6px;
}

.red-flags-card {
  padding: 18px;
}
.red-flags-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 12px;
}
.red-flags-card h3,
.action-card h3,
.stats-card h3,
.detail-card h3,
.locked-panel h3 {
  margin: 4px 0 0;
  font-size: 22px;
  letter-spacing: -0.03em;
}

.action-strip {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
  gap: 18px;
}

.action-card,
.stats-card {
  padding: 18px;
}

.key-line {
  margin-top: 10px;
  font-size: 18px;
  font-weight: 800;
  color: white;
}

.tight-list {
  margin: 0;
  padding-left: 18px;
}
.tight-list li {
  margin-bottom: 7px;
  line-height: 1.45;
}

.quick-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}
.stat-card {
  padding: 14px;
  background: rgba(2, 6, 23, 0.6);
}
.stat-value {
  margin-top: 6px;
  font-size: 26px;
  font-weight: 850;
}
.stat-note {
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}
.leader-inline {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.leader-inline .leaderboard-row {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  gap: 12px;
  align-items: center;
}
.leaderboard-rank {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(96, 165, 250, 0.16);
  color: #bfdbfe;
  font-weight: 900;
}
.leaderboard-title { font-weight: 800; }
.leaderboard-score { font-size: 28px; font-weight: 900; }

.usage-stack { display: grid; gap: 12px; margin-top: 10px; }
.usage-row { display: grid; gap: 6px; }
.usage-top { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; color: #dbeafe; }
.usage-track { height: 10px; border-radius: 999px; background: rgba(51, 65, 85, 0.7); overflow: hidden; }
.usage-track span { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #60a5fa, #a78bfa); }
pre {
  margin: 0;
  white-space: pre-wrap;
  word-break: break-word;
  line-height: 1.45;
  color: var(--text);
}

.locked-panel,
.unlocked-card {
  padding: 18px;
}
.locked-panel {
  border: 1px dashed rgba(167, 139, 250, 0.7);
  background: linear-gradient(180deg, rgba(76, 29, 149, 0.15), rgba(10, 18, 34, 0.92));
}
.waitlist-inline {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.waitlist-inline input {
  flex: 1;
  min-width: 260px;
  padding: 11px 12px;
}
.waitlist-inline button { background: linear-gradient(135deg, #ec4899, #a855f7); }
.unlock-note,
.success-text { font-size: 13px; margin-top: 8px; }
.success-text { color: #86efac; }

.detail-card {
  padding: 18px;
}
.detail-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 14px;
}
.detail-toggle-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.filter-chip {
  border: 1px solid var(--line-strong);
  background: rgba(2, 6, 23, 0.7);
  color: #dbeafe;
}
.filter-chip.active {
  background: rgba(96, 165, 250, 0.16);
  color: white;
  border-color: rgba(96, 165, 250, 0.4);
}
.accordion-stack {
  display: grid;
  gap: 12px;
}
.category-card {
  overflow: hidden;
}
.category-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 14px;
  padding: 16px 18px;
  align-items: center;
  cursor: pointer;
}
.category-main {
  min-width: 0;
}
.category-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}
.category-name {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.03em;
}
.category-subcopy {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}
.category-score {
  font-size: 28px;
  font-weight: 900;
  color: #bfdbfe;
}
.category-chevron {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  color: var(--muted);
  font-weight: 900;
}
.category-card.open .category-chevron { color: white; }
.category-body {
  display: none;
  padding: 0 18px 18px;
  gap: 14px;
}
.category-card.open .category-body { display: grid; }
.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.subpanel {
  border-radius: 14px;
  background: rgba(2, 6, 23, 0.72);
  border: 1px solid var(--line);
  padding: 14px;
}
.subpanel h4 {
  margin: 0 0 8px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.signal-grid {
  display: grid;
  gap: 8px;
}
.signal-row {
  padding-top: 10px;
  border-top: 1px dashed rgba(148, 163, 184, 0.12);
}
.signal-row:first-child {
  border-top: 0;
  padding-top: 0;
}
.signal-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.signal-points {
  color: #93c5fd;
  font-size: 12px;
  margin-top: 4px;
}
.signal-hint {
  color: var(--muted);
  font-size: 12px;
  margin-top: 4px;
}

.badge,
.tiny-badge,
.pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}
.pill { background: rgba(96, 165, 250, 0.16); color: #bfdbfe; }
.badge.Complete,
.tiny-badge.Complete { background: rgba(34, 197, 94, 0.14); color: #86efac; }
.badge.Partial,
.tiny-badge.Partial { background: rgba(250, 204, 21, 0.12); color: #fde047; }
.badge.Missing,
.tiny-badge.Missing { background: rgba(248, 113, 113, 0.14); color: #fca5a5; }

.footer-card {
  text-align: center;
  padding: 18px;
}
.micro-footer {
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 920px) {
  .site-header,
  .page-shell { width: min(100% - 24px, 1120px); }
  .site-header,
  .section-head,
  .input-footer,
  .red-flags-head,
  .detail-head { flex-direction: column; }
  .hero-grid,
  .action-strip,
  .detail-grid,
  .snapshot-top,
  .snapshot-secondary,
  .stats-grid { grid-template-columns: 1fr; }
  .hero-card { grid-template-columns: 1fr; }
  .category-summary { grid-template-columns: 1fr auto; }
  .category-chevron { grid-column: 2; grid-row: 1 / span 2; }
}


@media (max-width: 760px) {
  .brand-banner {
    flex-direction: column;
    align-items: flex-start;
  }
  .brand-banner-logo {
    width: min(100%, 320px);
  }
  .brand-mark {
    width: 48px;
    height: 48px;
  }
}

.footer-actions {
  margin-top: 14px;
  display: flex;
  justify-content: center;
}
.footer-actions .contact-btn {
  box-shadow: none;
  background: rgba(2, 6, 23, 0.72);
}

@media (max-width: 760px) {
  .header-actions { width: 100%; justify-content: space-between; }
  .site-header { flex-direction: column; }
  .hero-card { grid-template-columns: 1fr; }
  .gif-wrap img { height: 220px; }
}
