:root {
  color-scheme: dark;
  --bg: #09090b;
  --panel: #0f1014;
  --panel-2: #13151b;
  --line: #25262d;
  --line-strong: #3a3b44;
  --text: #fafafa;
  --soft: #d4d4d8;
  --muted: #a1a1aa;
  --faint: #71717a;
  --cyan: #67e8f9;
  --green: #22c55e;
  --yellow: #facc15;
  --red: #fb7185;
  --purple: #a78bfa;
  --blue: #60a5fa;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-family: var(--sans);
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(103, 232, 249, 0.08), transparent 30rem),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    #09090b;
  background-size: auto, 72px 72px, 72px 72px, auto;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.topbar {
  width: min(1180px, calc(100vw - 32px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(12, 12, 15, 0.88);
  color: var(--cyan);
  font-size: 17px;
  line-height: 1;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.brand strong {
  display: block;
  line-height: 1;
  font-size: 15px;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  color: rgba(250, 250, 250, 0.76);
  text-decoration: none;
  font-size: 15px;
  font-weight: 650;
}

.nav a:hover {
  color: #ffffff;
}

.nav-icon {
  width: 32px;
  border-radius: 999px;
}

.nav-icon svg {
  width: 21px;
  height: 21px;
  display: block;
}

.nav-x span {
  width: 21px;
  height: 21px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #09090b;
  background: rgba(250, 250, 250, 0.84);
  font-size: 12px;
  font-weight: 900;
}

.main {
  flex: 1;
  width: min(1180px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 14px 0 70px;
}

.home {
  display: grid;
  gap: 68px;
}

.hero {
  min-height: calc(100vh - 148px);
  display: grid;
  align-content: center;
  gap: 28px;
  padding: 16px 0 52px;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(520px, 1.14fr);
  gap: 44px;
  align-items: center;
}

.wordmark {
  margin: 0 0 22px;
  color: var(--text);
  font-size: clamp(76px, 10vw, 132px);
  line-height: 0.82;
  font-weight: 900;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 540px;
  display: grid;
  gap: 0;
}

.eyebrow {
  width: fit-content;
  min-height: 30px;
  margin-bottom: 22px;
  border: 1px solid rgba(103, 232, 249, 0.28);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  padding: 0 11px;
  color: var(--cyan);
  background: rgba(103, 232, 249, 0.08);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.hero-title {
  margin: 0;
  color: var(--soft);
  font-size: clamp(30px, 4.2vw, 54px);
  line-height: 1.02;
  font-weight: 650;
  letter-spacing: 0;
}

.hero-title span {
  color: #ffffff;
}

.hero-text {
  max-width: 520px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.68;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 28px;
}

.hero-stats span {
  min-height: 72px;
  border-top: 1px solid var(--line-strong);
  padding-top: 13px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.hero-stats strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text);
  font-family: var(--mono);
  font-size: 19px;
}

.release-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.release-strip span {
  min-height: 34px;
  border: 1px solid rgba(103, 232, 249, 0.2);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 11px;
  color: var(--muted);
  background: rgba(103, 232, 249, 0.055);
  font-size: 12px;
  line-height: 1.25;
}

.release-strip strong {
  color: var(--cyan);
  font-family: var(--mono);
  font-weight: 800;
}

.hero-product {
  min-width: 0;
}

.terminal {
  border: 1px solid var(--line);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 34%),
    #0c0c0f;
  overflow: hidden;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.34);
}

.terminal-top {
  min-height: 44px;
  border-bottom: 1px solid var(--line);
  padding: 0 16px;
  display: flex;
  align-items: center;
  gap: 7px;
}

.terminal-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
}

.terminal-dot:nth-child(1) {
  background: #ff6159;
}

.terminal-dot:nth-child(2) {
  background: #ffbd2e;
}

.terminal-dot:nth-child(3) {
  background: #28c941;
}

.terminal-top small {
  margin-left: 8px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
}

.scan-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 122px;
  gap: 10px;
  padding: 18px 18px 14px;
  border-bottom: 1px solid var(--line);
}

.scan-shell label {
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 54px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #09090b;
  padding: 0 14px;
}

.prompt {
  color: var(--cyan);
  font-family: var(--mono);
}

.scan-shell input {
  min-width: 0;
  width: 100%;
  border: 0;
  outline: none;
  color: var(--text);
  background: transparent;
  font-family: var(--mono);
  font-size: 15px;
}

.primary-btn,
.ghost-btn,
.chip {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 14px;
  color: var(--text);
  background: #13151b;
  text-decoration: none;
  font-weight: 700;
}

.primary-btn {
  border-color: #f4f4f5;
  color: #09090b;
  background: #f4f4f5;
}

.primary-btn:hover {
  color: #f4f4f5;
  background: transparent;
}

.primary-btn:disabled,
.ghost-btn:disabled,
.chip:disabled,
.scan-shell input:disabled {
  cursor: progress;
  opacity: 0.66;
}

.ghost-btn:hover,
.chip:hover {
  border-color: var(--line-strong);
  background: #181920;
}

.ghost-btn.copied {
  border-color: rgba(34, 197, 94, 0.38);
  color: #bbf7d0;
  background: rgba(34, 197, 94, 0.1);
}

.ghost-btn.watching {
  border-color: rgba(103, 232, 249, 0.42);
  color: var(--cyan);
  background: rgba(103, 232, 249, 0.1);
}

.sample-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0 18px 16px;
}

.scan-error {
  margin: -4px 18px 16px;
  border: 1px solid rgba(251, 113, 133, 0.26);
  border-radius: 8px;
  padding: 10px 12px;
  color: #fecdd3;
  background: rgba(251, 113, 133, 0.08);
  font-size: 13px;
  line-height: 1.45;
}

.chip {
  min-height: 34px;
  color: var(--soft);
  background: rgba(255, 255, 255, 0.025);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
}

.chip-compare {
  border-color: rgba(103, 232, 249, 0.24);
  color: var(--cyan);
  background: rgba(103, 232, 249, 0.06);
}

.chip-watch {
  border-color: rgba(34, 197, 94, 0.24);
  color: #bbf7d0;
  background: rgba(34, 197, 94, 0.06);
}

.chip-redflags {
  border-color: rgba(251, 113, 133, 0.28);
  color: #fecdd3;
  background: rgba(251, 113, 133, 0.07);
}

.report-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 0;
}

.console {
  min-height: 304px;
  border-right: 1px solid var(--line);
  padding: 22px;
  font-family: var(--mono);
  color: #c9d1d9;
  font-size: 14px;
  line-height: 1.78;
}

.console p {
  margin: 0;
}

.console em {
  color: #8b949e;
  font-style: normal;
}

.console b {
  color: var(--cyan);
  font-weight: 500;
}

.console i {
  color: var(--purple);
  font-style: normal;
}

.risk-panel {
  min-width: 0;
  padding: 22px;
  background: rgba(255, 255, 255, 0.018);
}

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

.risk-head span {
  display: block;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
}

.risk-head strong {
  display: block;
  margin-top: 5px;
  color: var(--text);
  font-size: 21px;
  line-height: 1.08;
}

.score {
  width: 64px;
  height: 64px;
  border: 1px solid var(--line);
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: var(--score-color);
  background:
    conic-gradient(var(--score-color) calc(var(--score) * 1%), #27272a 0),
    #0c0c0f;
  font-family: var(--mono);
  font-weight: 800;
  position: relative;
}

.score::before {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: inherit;
  background: #0c0c0f;
}

.score span {
  position: relative;
}

.score.low {
  --score-color: var(--green);
}

.score.mid {
  --score-color: var(--yellow);
}

.score.high {
  --score-color: var(--red);
}

.metric-list {
  display: grid;
  gap: 9px;
}

.metric {
  min-height: 44px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.metric span {
  color: var(--muted);
  font-size: 13px;
}

.metric strong {
  color: var(--soft);
  text-align: right;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
}

.risk-panel .ghost-btn {
  width: 100%;
  margin-top: 18px;
}

.panel-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.panel-actions .ghost-btn {
  margin-top: 0;
  padding: 0 10px;
}

.scan-freshness {
  margin-top: 12px;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 12px;
}

.source-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.source-links a {
  min-height: 30px;
  border: 1px solid var(--line);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  color: var(--cyan);
  background: rgba(103, 232, 249, 0.06);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.source-links a:hover {
  border-color: rgba(103, 232, 249, 0.45);
  background: rgba(103, 232, 249, 0.12);
}

.compare-panel {
  display: grid;
  align-content: start;
  gap: 14px;
}

.compare-panel .section-head {
  margin-bottom: 0;
}

.compare-panel h3 {
  margin: 0;
  color: var(--text);
  font-size: 22px;
  line-height: 1.12;
}

.compare-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.compare-scores {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.score-pill {
  min-height: 70px;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.018);
}

.score-pill.active {
  border-color: rgba(34, 197, 94, 0.38);
  background: rgba(34, 197, 94, 0.08);
}

.score-pill span {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
}

.score-pill strong {
  color: var(--text);
  font-family: var(--mono);
  font-size: 24px;
}

.compare-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.compare-actions .ghost-btn {
  min-width: 0;
  margin-top: 0;
  padding: 0 10px;
  font-size: 13px;
}

.compare-detail {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 18px;
  padding: 18px;
}

.compare-assets {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.compare-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.018);
}

.compare-card.active {
  border-color: rgba(103, 232, 249, 0.32);
  background: rgba(103, 232, 249, 0.055);
}

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

.compare-card-head span {
  display: block;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
}

.compare-card-head strong {
  display: block;
  margin-top: 5px;
  color: var(--text);
  font-size: 20px;
  line-height: 1.15;
}

.compare-card-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.compare-card-meta span {
  border-top: 1px solid var(--line);
  padding-top: 9px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.compare-card-meta strong {
  display: block;
  margin-top: 3px;
  color: var(--soft);
  font-family: var(--mono);
  font-size: 13px;
}

.compare-card p {
  margin: 14px 0 0;
  color: var(--soft);
  font-size: 13px;
  line-height: 1.5;
}

.compare-deltas {
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}

.compare-delta-head,
.compare-delta-row {
  display: grid;
  grid-template-columns: minmax(120px, 1.1fr) repeat(3, minmax(84px, 0.7fr));
  gap: 12px;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
}

.compare-delta-head {
  color: var(--faint);
  background: rgba(255, 255, 255, 0.025);
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
}

.compare-delta-row {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.compare-delta-row strong,
.compare-delta-row em {
  color: var(--soft);
  font-family: var(--mono);
  font-size: 13px;
  font-style: normal;
}

.compare-delta-row.left em,
.compare-delta-row.right em {
  color: var(--cyan);
}

.signal-strip {
  border-block: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  background: rgba(12, 12, 15, 0.62);
}

.signal-strip span {
  min-height: 48px;
  border-left: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.signal-strip span:first-child {
  border-left: 0;
}

.sections {
  display: grid;
  gap: 56px;
}

.watchlist-section {
  align-items: stretch;
}

.watchlist-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.watchlist-actions .ghost-btn {
  min-width: 132px;
}

.watchlist-panel {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #0c0c0f;
  overflow: hidden;
}

.watchlist-head {
  min-height: 52px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 16px;
}

.watchlist-head span {
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
}

.watchlist-head small {
  color: var(--faint);
  font-family: var(--mono);
  font-size: 12px;
}

.watchlist-items {
  display: grid;
}

.watch-item {
  display: grid;
  grid-template-columns: minmax(150px, 1.1fr) minmax(190px, 1fr) minmax(140px, 0.85fr) auto;
  gap: 14px;
  align-items: center;
  min-height: 82px;
  border-top: 1px solid rgba(255, 255, 255, 0.055);
  padding: 14px 16px;
}

.watch-item:first-child {
  border-top: 0;
}

.watch-main strong {
  display: block;
  color: var(--text);
  font-size: 16px;
  line-height: 1.2;
}

.watch-main span,
.watch-meta span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.watch-metrics {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.watch-metrics span:not(.mini-risk) {
  min-height: 30px;
  border: 1px solid var(--line);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0 10px;
  color: var(--muted);
  font-size: 12px;
}

.watch-metrics strong {
  color: var(--soft);
  font-family: var(--mono);
  font-weight: 700;
}

.mini-risk {
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  color: var(--score-color);
  background: rgba(255, 255, 255, 0.03);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 800;
}

.mini-risk.low {
  --score-color: var(--green);
}

.mini-risk.mid {
  --score-color: var(--yellow);
}

.mini-risk.high {
  --score-color: var(--red);
}

.watch-meta small {
  display: block;
  margin-top: 4px;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 11px;
}

.watch-row-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(74px, 1fr));
  gap: 8px;
}

.watch-row-actions .ghost-btn {
  min-height: 34px;
  padding: 0 10px;
  font-size: 12px;
}

.watchlist-empty {
  min-height: 160px;
  display: grid;
  place-content: center;
  gap: 8px;
  padding: 24px;
  text-align: center;
}

.watchlist-empty strong {
  color: var(--text);
  font-size: 16px;
}

.watchlist-empty span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.split {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(0, 1.18fr);
  gap: 60px;
  align-items: start;
  border-top: 1px solid var(--line);
  padding-top: 56px;
}

.kicker {
  display: block;
  margin-bottom: 12px;
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.split h2,
.docs h1 {
  margin: 0;
  color: var(--text);
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.03;
  font-weight: 600;
  letter-spacing: 0;
}

.split p,
.docs p {
  max-width: 650px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.flow {
  border: 1px solid var(--line);
  background: #0c0c0f;
}

.flow-step {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 18px;
  min-height: 104px;
  padding: 22px 24px;
  border-top: 1px solid var(--line);
}

.flow-step:first-child {
  border-top: 0;
}

.flow-step code {
  color: var(--purple);
  font-family: var(--mono);
}

.flow-index {
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 13px;
}

.flow-step strong {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
  font-size: 18px;
  font-weight: 600;
}

.flow-step span:last-child {
  display: block;
  color: var(--muted);
  line-height: 1.6;
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.signal {
  min-height: 150px;
  border-top: 1px solid var(--line-strong);
  padding-top: 16px;
}

.signal strong {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
  font-size: 18px;
  font-weight: 600;
}

.signal span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.report-page,
.docs {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  gap: 24px;
  padding-top: 24px;
}

.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.report-card,
.doc-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #0c0c0f;
  overflow: hidden;
}

.report-card-head,
.doc-card h2 {
  margin: 0;
  border-bottom: 1px solid var(--line);
  padding: 20px;
}

.report-card-body,
.doc-card div {
  padding: 20px;
}

.report-card-body {
  display: grid;
  gap: 22px;
}

.report-card-body h2 {
  margin: 0 0 -8px;
  color: var(--text);
  font-size: 18px;
  line-height: 1.2;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.section-head .kicker {
  margin-bottom: 0;
}

.section-head small {
  color: var(--faint);
  font-family: var(--mono);
  font-size: 12px;
}

.redflag-panel {
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

.redflag-panel.compact {
  border-top: 1px solid var(--line);
  padding: 18px;
}

.redflag-panel.focused {
  background: rgba(251, 113, 133, 0.035);
}

.redflag-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.redflag-item {
  border: 1px solid var(--line);
  border-left: 3px solid var(--tone);
  border-radius: 8px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 0.74fr);
  gap: 16px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.018);
}

.redflag-item.high {
  --tone: var(--red);
}

.redflag-item.mid {
  --tone: var(--yellow);
}

.redflag-item.low {
  --tone: var(--green);
}

.redflag-item strong {
  display: block;
  color: var(--text);
  font-size: 14px;
  line-height: 1.25;
}

.redflag-item span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.redflag-item em {
  color: var(--soft);
  font-size: 12px;
  font-style: normal;
  line-height: 1.5;
}

.evidence-panel {
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

.evidence-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 14px;
}

.evidence-group {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.018);
}

.evidence-group h3 {
  margin: 0;
  border-bottom: 1px solid var(--line);
  padding: 12px 14px;
  color: var(--soft);
  font-size: 13px;
  font-weight: 700;
}

.evidence-row {
  min-height: 38px;
  border-top: 1px solid rgba(255, 255, 255, 0.055);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 14px;
}

.evidence-row:first-of-type {
  border-top: 0;
}

.evidence-row span {
  color: var(--muted);
  font-size: 13px;
}

.evidence-row strong {
  color: var(--soft);
  text-align: right;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
}

.quality-panel {
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

.quality-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.2fr);
  gap: 18px;
  margin-top: 14px;
}

.quality-card {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.018);
}

.confidence-card {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 18px;
}

.quality-score {
  width: 64px;
  height: 64px;
  border: 1px solid rgba(103, 232, 249, 0.28);
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: var(--cyan);
  background: rgba(103, 232, 249, 0.07);
  font-family: var(--mono);
  font-size: 20px;
  font-weight: 800;
}

.quality-card h3 {
  margin: 0;
  color: var(--text);
  font-size: 14px;
  line-height: 1.2;
}

.quality-card p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.list-card {
  padding: 16px;
}

.list-card h3 {
  margin-bottom: 12px;
}

.watch-list,
.alt-list {
  display: grid;
  gap: 10px;
}

.watch-row {
  border-left: 3px solid var(--tone);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  padding-left: 12px;
}

.watch-row strong,
.alt-row strong {
  display: block;
  color: var(--soft);
  font-size: 13px;
}

.watch-row span,
.alt-row small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.watch-row em,
.alt-row em {
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 12px;
  font-style: normal;
  white-space: nowrap;
}

.alt-row {
  border-top: 1px solid rgba(255, 255, 255, 0.055);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  padding-top: 10px;
  color: inherit;
  text-decoration: none;
}

.alt-row:first-child {
  border-top: 0;
  padding-top: 0;
}

.alt-row:hover strong {
  color: var(--cyan);
}

.confidence-reasons {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.confidence-reasons span {
  border-left: 3px solid rgba(103, 232, 249, 0.45);
  padding-left: 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.finding-list {
  display: grid;
  gap: 12px;
}

.finding {
  border-left: 3px solid var(--tone);
  padding-left: 12px;
  color: var(--soft);
  line-height: 1.55;
}

.footer {
  width: min(1180px, calc(100vw - 32px));
  margin: 0 auto;
  border-top: 1px solid var(--line);
  padding: 22px 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--faint);
  font-size: 13px;
}

.footer a {
  color: var(--muted);
  text-decoration: none;
}

.footer a:hover {
  color: var(--text);
}

.mono {
  font-family: var(--mono);
}

@media (max-width: 920px) {
  .hero {
    min-height: auto;
    padding-top: 34px;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero-copy {
    max-width: 720px;
  }

  .report-grid,
  .split {
    grid-template-columns: 1fr;
  }

  .console {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .signal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .evidence-grid {
    grid-template-columns: 1fr;
  }

  .quality-grid {
    grid-template-columns: 1fr;
  }

  .compare-assets {
    grid-template-columns: 1fr;
  }

  .watch-item {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .redflag-item {
    grid-template-columns: 1fr;
  }

  .watch-row-actions {
    justify-self: start;
  }

  .signal-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .signal-strip span:nth-child(4) {
    border-left: 0;
  }
}

@media (max-width: 640px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 0;
  }

  .nav {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .nav a {
    min-height: 38px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #0c0c0f;
  }

  .scan-shell {
    grid-template-columns: 1fr;
  }

  .wordmark {
    margin-bottom: 18px;
    font-size: clamp(54px, 19vw, 86px);
  }

  .hero-title {
    font-size: 30px;
  }

  .hero-text {
    font-size: 16px;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .hero-stats span {
    min-height: 58px;
  }

  .signal-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .signal-strip span:nth-child(odd) {
    border-left: 0;
  }

  .console,
  .risk-panel,
  .flow-step,
  .report-card-head,
  .report-card-body,
  .doc-card h2,
  .doc-card div {
    padding: 16px;
  }

  .flow-step {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .signal-grid {
    grid-template-columns: 1fr;
  }

  .compare-scores,
  .compare-actions,
  .compare-card-meta,
  .panel-actions {
    grid-template-columns: 1fr;
  }

  .compare-detail {
    padding: 16px;
  }

  .compare-delta-head,
  .compare-delta-row {
    grid-template-columns: minmax(100px, 1fr) repeat(3, minmax(58px, 0.66fr));
    gap: 8px;
    padding: 10px;
    font-size: 12px;
  }

  .footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
