:root {
  --win: #2f7d4f;
  --win-bg: #e8f3ec;
  --lose: #b4532a;
  --lose-bg: #f8ebe4;
}
@media (prefers-color-scheme: dark) {
  :root {
    --win: #7fd1a0;
    --win-bg: #1c2a22;
    --lose: #f0a07c;
    --lose-bg: #2e211b;
  }
}

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.mc-hero { padding-bottom: 40px; }
.mc-form { display: flex; gap: 10px; max-width: 560px; }
.mc-form input {
  flex: 1; min-width: 0; padding: 12px 16px; font: inherit; font-size: 1.05rem;
  border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--text);
}
.mc-form input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.mc-form button { border: 0; cursor: pointer; font: inherit; font-weight: 500; }
.mc-form button:disabled { opacity: .6; cursor: progress; }
.mc-hint { color: var(--muted); font-size: .88rem; margin: 12px 0 0; }

.mc-progress, .mc-error, .mc-report { padding-bottom: 48px; }
.mc-progress-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.mc-spinner {
  width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid var(--line); border-top-color: var(--accent);
  animation: mc-spin .8s linear infinite;
}
@keyframes mc-spin { to { transform: rotate(360deg); } }
.mc-log { list-style: none; margin: 0; padding: 0; color: var(--muted); font-size: .92rem; max-height: 260px; overflow-y: auto; }
.mc-log li { padding: 4px 0; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.mc-log li span { color: var(--text); }

.mc-error {
  color: var(--lose); background: var(--lose-bg); border-radius: var(--radius);
  padding: 16px 20px; margin-bottom: 40px;
}

.mc-report h2 { font-size: 1.7rem; margin: 40px 0 16px; }
.mc-report h3 { margin: 0 0 6px; font-size: 1.15rem; }
.mc-company { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.mc-company .tag { margin-bottom: 4px; }
.mc-company h2 { margin: 0 0 8px; }
.mc-company p { margin: 0; color: var(--muted); }

.mc-competitors { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.mc-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.mc-card p { margin: 0; color: var(--muted); font-size: .93rem; }
.mc-card a { font-size: .85rem; text-decoration: none; overflow-wrap: anywhere; }

.mc-split { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.mc-col h2 { margin-top: 40px; }
.mc-point { border-radius: var(--radius); padding: 16px 18px; margin-bottom: 12px; }
.mc-point.win { background: var(--win-bg); border-left: 4px solid var(--win); }
.mc-point.lose { background: var(--lose-bg); border-left: 4px solid var(--lose); }
.mc-point h3 { font-family: Inter, system-ui, sans-serif; font-size: 1rem; font-weight: 600; }
.mc-point p { margin: 6px 0; font-size: .93rem; }
.mc-versus { font-size: .82rem; color: var(--muted); }

.mc-sources { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.mc-sources a {
  font-size: .78rem; padding: 2px 9px; border-radius: 999px; text-decoration: none;
  border: 1px solid var(--line); background: var(--surface); color: var(--muted);
}
.mc-sources a:hover { color: var(--accent); border-color: var(--accent); }

.mc-quote-wall { columns: 2 280px; column-gap: 14px; }
.mc-quote-wall .mc-quote {
  break-inside: avoid; margin: 0 0 14px; padding: 18px 20px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  border-left: 4px solid var(--line);
}
.mc-quote-wall .mc-quote.positive { border-left-color: var(--win); }
.mc-quote-wall .mc-quote.negative { border-left-color: var(--lose); }
.mc-quote-wall .mc-quote.mixed { border-left-color: var(--muted); }
.mc-quote-wall blockquote { font-family: Fraunces, Georgia, serif; font-size: 1.08rem; line-height: 1.45; }

.mc-quotes { margin-top: 10px; }
.mc-quote { margin: 0 0 10px; }
.mc-quote blockquote { margin: 0; font-size: .95rem; font-style: italic; overflow-wrap: anywhere; }
.mc-quote figcaption { margin-top: 4px; font-size: .8rem; color: var(--muted); }
.mc-quote figcaption a { color: var(--muted); }
.mc-quote figcaption a:hover { color: var(--accent); }
.mc-snapshot .mc-quotes { border-top: 1px solid var(--line); padding-top: 10px; }

.mc-snapshot ul { margin: 6px 0 0; padding-left: 18px; font-size: .92rem; }
.mc-snapshot .label { font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; margin-top: 10px; }
.mc-snapshot .label.win { color: var(--win); }
.mc-snapshot .label.lose { color: var(--lose); }

.mc-opps { padding-left: 20px; }
.mc-opps li { margin: 6px 0; }
.mc-note { color: var(--muted); font-size: .9rem; border-top: 1px solid var(--line); margin-top: 32px; padding-top: 16px; }

@media (max-width: 720px) {
  .mc-form { flex-direction: column; }
  .mc-split { grid-template-columns: 1fr; gap: 0; }
}
