:root {
  color-scheme: light;
  --bg: #f7f4ef;
  --paper: #fffdf8;
  --ink: #16201c;
  --soft-ink: #4d5b54;
  --muted: #7a847e;
  --line: #ded6ca;
  --green: #146b52;
  --green-soft: #dceee7;
  --amber: #a56412;
  --amber-soft: #f4e3c8;
  --red: #a63f35;
  --red-soft: #f1d8d4;
  --blue: #284d75;
  --shadow: 0 24px 70px rgba(39, 31, 21, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    linear-gradient(135deg, rgba(20, 107, 82, 0.08), transparent 34%),
    linear-gradient(215deg, rgba(166, 63, 53, 0.08), transparent 30%),
    var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button,
input {
  font: inherit;
}

.page {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 56px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 0 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}

.brand-logo,
.brand-mark {
  width: 44px;
  height: 44px;
}

.brand-logo {
  display: block;
}

.brand strong,
.brand small {
  display: block;
}

.brand small,
.topline {
  color: var(--muted);
  font-size: 13px;
}

.topline {
  text-decoration: none;
}

.topline:hover {
  color: var(--ink);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 36px;
  align-items: end;
  padding: 54px 0 46px;
}

.report-heading {
  position: relative;
  max-width: 760px;
  padding: 44px 0 28px;
}

.legal-heading {
  max-width: none;
  text-align: center;
}

.legal-heading h1,
.legal-heading .lead {
  margin-left: auto;
  margin-right: auto;
}

.signal-field {
  isolation: isolate;
}

.signal-field::before {
  content: "";
  position: absolute;
  inset: 18px -18px 12px;
  z-index: -2;
  border: 1px solid rgba(22, 32, 28, 0.08);
  border-radius: 14px;
  background:
    radial-gradient(circle at 83% 22%, rgba(20, 107, 82, 0.78) 0 5px, transparent 6px),
    radial-gradient(circle at 91% 39%, rgba(165, 100, 18, 0.72) 0 4px, transparent 5px),
    radial-gradient(circle at 76% 58%, rgba(166, 63, 53, 0.68) 0 5px, transparent 6px),
    radial-gradient(circle at 63% 31%, rgba(40, 77, 117, 0.68) 0 4px, transparent 5px),
    radial-gradient(circle at 7% 84%, rgba(20, 107, 82, 0.4) 0 4px, transparent 5px),
    linear-gradient(rgba(22, 32, 28, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 32, 28, 0.045) 1px, transparent 1px),
    rgba(255, 253, 248, 0.38);
  background-size:
    auto,
    auto,
    auto,
    auto,
    auto,
    72px 72px,
    72px 72px,
    auto;
}

.signal-field::after {
  content: "";
  position: absolute;
  right: 48px;
  top: 44px;
  z-index: -1;
  width: 132px;
  aspect-ratio: 1;
  border: 1px solid rgba(20, 107, 82, 0.1);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 253, 248, 0.76) 0 42%, transparent 43%),
    conic-gradient(var(--green) 0 75%, var(--amber-soft) 75% 100%);
  opacity: 0.18;
}

.signal-field.compact::before {
  inset: 18px -20px 0;
}

.signal-field.compact::after {
  right: 8px;
  top: 30px;
  width: 96px;
}

.signal-field > * {
  position: relative;
}

.intro {
  max-width: 760px;
}

.eyebrow {
  display: inline-flex;
  margin: 0 0 14px;
  border: 1px solid rgba(20, 107, 82, 0.22);
  border-radius: 999px;
  background: rgba(220, 238, 231, 0.72);
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  padding: 7px 11px;
}

h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(42px, 7vw, 76px);
  letter-spacing: 0;
  line-height: 0.95;
}

h2 {
  margin: 0;
  font-size: 22px;
  letter-spacing: 0;
}

.lead {
  max-width: 660px;
  margin: 22px 0 0;
  color: var(--soft-ink);
  font-size: 19px;
  line-height: 1.55;
}

.scan-form {
  max-width: 780px;
  margin-top: 32px;
}

.scan-form label {
  display: block;
  margin-bottom: 9px;
  color: var(--soft-ink);
  font-size: 14px;
  font-weight: 800;
}

.input-row {
  display: flex;
  gap: 10px;
  border: 1px solid rgba(22, 32, 28, 0.12);
  border-radius: 10px;
  background: var(--paper);
  box-shadow: var(--shadow);
  padding: 8px;
}

input {
  flex: 1;
  min-width: 0;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--ink);
  font-size: 17px;
  outline: none;
  padding: 15px 14px;
}

input::placeholder {
  color: #9b9992;
}

button {
  flex: 0 0 auto;
  min-width: 124px;
  border: 0;
  border-radius: 7px;
  background: var(--ink);
  color: var(--paper);
  cursor: pointer;
  font-weight: 800;
  padding: 0 22px;
}

button:hover {
  background: #26362f;
}

button:disabled {
  cursor: wait;
  opacity: 0.74;
}

.secondary-link,
.report-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border: 1px solid rgba(22, 32, 28, 0.16);
  border-radius: 7px;
  background: var(--paper);
  color: var(--ink);
  font-size: 14px;
  font-weight: 850;
  padding: 0 13px;
  text-decoration: none;
}

.secondary-link {
  margin-top: 20px;
}

.report-link {
  margin-top: 16px;
}

.secondary-link:hover,
.report-link:hover {
  border-color: rgba(22, 32, 28, 0.3);
  background: #f7f1e8;
}

.report-link[hidden] {
  display: none;
}

.signal-board {
  align-self: center;
  border: 1px solid rgba(22, 32, 28, 0.12);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.76);
  box-shadow: var(--shadow);
  padding: 22px;
}

.signal-board h2 {
  margin-top: 4px;
}

.signal-row {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 48px;
  border-bottom: 1px solid var(--line);
}

.signal-row:last-of-type {
  border-bottom: 0;
}

.signal-row span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
}

.signal-row.good span {
  background: var(--green);
}

.signal-row.warn span {
  background: var(--amber);
}

.signal-row.danger span {
  background: var(--red);
}

.signal-row p {
  margin: 0;
  color: var(--soft-ink);
  font-weight: 750;
}

.mini-note {
  margin-top: 14px;
  border-radius: 7px;
  background: #f0ebe2;
  color: var(--soft-ink);
  font-size: 14px;
  line-height: 1.45;
  padding: 12px;
}

.mini-note strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
}

.signal-board .secondary-link {
  width: 100%;
  margin-top: 16px;
}

.report,
.loading-panel {
  display: grid;
  grid-template-columns: 286px 1fr;
  gap: 18px;
  align-items: start;
  margin-top: 18px;
}

.report[hidden] {
  display: none;
}

.score-card[hidden] {
  display: none;
}

.live-report.scanning {
  grid-template-columns: 1fr;
}

.loading-panel {
  align-items: center;
  border: 1px solid rgba(22, 32, 28, 0.12);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 14px 44px rgba(39, 31, 21, 0.08);
  padding: 24px;
  animation: reportIn 240ms ease-out both;
}

.loading-panel[hidden] {
  display: none;
}

.score-card,
.panel {
  border: 1px solid rgba(22, 32, 28, 0.12);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 14px 44px rgba(39, 31, 21, 0.08);
}

.score-card {
  position: sticky;
  top: 18px;
  overflow: hidden;
  display: grid;
  justify-items: center;
  padding: 24px;
  animation: reportIn 320ms ease-out both;
}

.score-card::before {
  display: block;
  width: calc(100% + 48px);
  height: 8px;
  margin: -24px -24px 20px;
  background: var(--green);
  content: "";
}

.score-card.medium::before {
  background: var(--amber);
}

.score-card.high::before {
  background: var(--red);
}

.score-card.unavailable::before {
  background: #8b8f8a;
}

.panel {
  padding: 24px;
}

.label {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  word-break: break-word;
}

.score-card .label {
  justify-self: stretch;
  width: 100%;
}

.verdict {
  justify-self: stretch;
  width: 100%;
  margin: 0;
  font-size: 20px;
  font-weight: 850;
  line-height: 1.2;
}

.score-summary {
  justify-self: stretch;
  width: 100%;
  margin: 9px 0 0;
  color: var(--soft-ink);
  line-height: 1.45;
}

.section-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.section-title span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.findings {
  display: grid;
  gap: 10px;
}

.result-groups {
  display: grid;
  gap: 18px;
}

.finding-group[hidden],
.more-signals[hidden] {
  display: none;
}

.group-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
}

.group-heading h3 {
  margin: 0;
  font-size: 16px;
  letter-spacing: 0;
}

.group-heading span,
.more-signals small {
  display: inline-grid;
  min-width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 999px;
  background: #eee7dc;
  color: var(--soft-ink);
  font-size: 12px;
  font-weight: 900;
}

.quiet-summary {
  border: 1px solid rgba(20, 107, 82, 0.22);
  border-radius: 7px;
  background: rgba(220, 238, 231, 0.72);
  padding: 14px 15px;
}

.quiet-summary strong {
  display: block;
  font-size: 15px;
}

.quiet-summary p {
  margin: 6px 0 0;
  color: var(--soft-ink);
  line-height: 1.45;
}

.more-signals {
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.more-signals > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 36px;
  color: var(--ink);
  cursor: pointer;
  font-size: 16px;
  font-weight: 850;
  list-style: none;
}

.more-signals > summary::-webkit-details-marker {
  display: none;
}

.more-signals > summary span::after {
  margin-left: 8px;
  color: var(--blue);
  content: "+";
  font-weight: 900;
}

.more-signals[open] > summary span::after {
  content: "-";
}

.more-signals .findings {
  margin-top: 10px;
}

.finding {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--line);
  border-radius: 7px;
  background: #fffaf1;
  padding: 14px 15px;
  animation: findingIn 460ms ease-out both;
}

.finding > div:first-child {
  min-width: 0;
}

.finding:nth-child(2) {
  animation-delay: 45ms;
}

.finding:nth-child(3) {
  animation-delay: 90ms;
}

.finding:nth-child(4) {
  animation-delay: 135ms;
}

.finding:nth-child(5) {
  animation-delay: 180ms;
}

.finding:nth-child(n + 6) {
  animation-delay: 220ms;
}

.finding strong {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
}

.finding strong::before {
  display: inline-grid;
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 999px;
  background: #eee7dc;
  color: var(--soft-ink);
  content: "–";
  font-size: 16px;
  font-weight: 950;
  line-height: 1;
}

.finding p {
  margin: 6px 0 0;
  color: var(--soft-ink);
  line-height: 1.45;
}

.finding-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  margin-top: 10px;
  border: 1px solid rgba(22, 32, 28, 0.34);
  border-radius: 7px;
  background: var(--paper);
  color: var(--ink);
  font-size: 13px;
  font-weight: 850;
  padding: 0 12px;
  text-decoration: none;
}

.finding-link:hover {
  border-color: rgba(22, 32, 28, 0.55);
  background: #f7f1e8;
}

.confirm-positive {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 0;
  min-height: 30px;
  margin: 10px 0 0 8px;
  border: 1px solid rgba(20, 107, 82, 0.26);
  border-radius: 7px;
  background: var(--green);
  color: var(--paper);
  font-size: 13px;
  font-weight: 850;
  padding: 0 12px;
}

.confirm-positive:hover {
  background: #1d7b60;
}

.confirm-positive:disabled {
  cursor: default;
  opacity: 1;
}

.finding-details {
  margin-top: 10px;
}

.finding-details summary {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border: 0;
  color: var(--blue);
  cursor: pointer;
  font-size: 13px;
  font-weight: 850;
  list-style: none;
}

.finding-details summary::-webkit-details-marker {
  display: none;
}

.finding-details summary::after {
  margin-left: 6px;
  content: "+";
  font-weight: 900;
}

.finding-details[open] summary::after {
  content: "-";
}

.finding-details p {
  max-width: 760px;
  margin-top: 8px;
  border-left: 2px solid rgba(40, 77, 117, 0.22);
  background: rgba(255, 253, 248, 0.42);
  color: var(--soft-ink);
  font-size: 13px;
  padding: 8px 0 8px 10px;
  white-space: pre-line;
}

.finding-details .technical-detail {
  margin-top: 8px;
  color: var(--muted);
}

.finding span {
  color: var(--muted);
  font-weight: 850;
}

.finding.positive {
  border-left-color: var(--green);
  background: var(--green-soft);
}

.finding.positive strong::before {
  background: rgba(20, 107, 82, 0.14);
  color: var(--green);
  content: "✔";
  font-size: 15px;
}

.finding.manually-confirmed {
  border-color: rgba(20, 107, 82, 0.24);
  border-left-color: var(--green);
  background: var(--green-soft);
}

.finding.manually-confirmed strong::before {
  background: rgba(20, 107, 82, 0.14);
  color: var(--green);
  content: "+";
}

.finding.manually-confirmed::after {
  align-self: flex-start;
  color: var(--green);
  content: "+";
  font-weight: 950;
}

.finding.info {
  border-left-color: var(--blue);
  background: #e7edf3;
}

.finding.info strong::before {
  background: rgba(40, 77, 117, 0.14);
  color: var(--blue);
  content: "–";
  font-size: 18px;
}

.finding.low,
.finding.medium {
  border-left-color: var(--amber);
  background: var(--amber-soft);
}

.finding.low strong::before,
.finding.medium strong::before {
  background: rgba(165, 100, 18, 0.16);
  color: var(--amber);
  content: "!";
  font-size: 15px;
}

.finding.high {
  border-left-color: var(--red);
  background: var(--red-soft);
}

.finding.high strong::before {
  background: rgba(166, 63, 53, 0.16);
  color: var(--red);
  content: "!";
  font-size: 15px;
}

.disclaimer {
  grid-column: 1 / -1;
  max-width: 880px;
  margin: 0;
  color: var(--soft-ink);
  font-size: 14px;
  line-height: 1.55;
}

.support-card {
  position: relative;
  overflow: hidden;
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  border: 1px solid rgba(20, 107, 82, 0.18);
  border-radius: 8px;
  background:
    radial-gradient(circle at 90% 22%, rgba(20, 107, 82, 0.58) 0 5px, transparent 6px),
    radial-gradient(circle at 82% 72%, rgba(165, 100, 18, 0.45) 0 4px, transparent 5px),
    radial-gradient(circle at 9% 80%, rgba(40, 77, 117, 0.36) 0 4px, transparent 5px),
    linear-gradient(rgba(22, 32, 28, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 32, 28, 0.035) 1px, transparent 1px),
    linear-gradient(135deg, rgba(220, 238, 231, 0.86), rgba(255, 253, 248, 0.96) 58%),
    var(--paper);
  background-size:
    auto,
    auto,
    auto,
    70px 70px,
    70px 70px,
    auto,
    auto;
  box-shadow: 0 14px 44px rgba(39, 31, 21, 0.08);
  margin-top: 10px;
  padding: 24px 28px;
}

.support-card::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(20, 107, 82, 0.08);
  border-radius: 7px;
  pointer-events: none;
}

.support-card[hidden] {
  display: none;
}

.support-card.is-visible {
  animation: reportIn 360ms ease-out both;
}

.support-card h2 {
  margin-top: 2px;
}

.support-card p:not(.label) {
  max-width: 720px;
  margin: 8px 0 0;
  color: var(--soft-ink);
  line-height: 1.5;
}

.support-button {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 7px;
  background: var(--green);
  color: var(--paper);
  font-weight: 900;
  padding: 0 18px;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(20, 107, 82, 0.2);
}

.support-button:hover {
  background: #0f5d47;
}

.support-card.is-visible .support-button {
  animation: supportNudge 900ms ease-out 1400ms both;
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-width: 1040px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 10px;
}

.legal-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-width: 1040px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 10px;
}

.legal-wide {
  grid-column: 1 / -1;
}

.method-block {
  border: 1px solid rgba(22, 32, 28, 0.12);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 14px 44px rgba(39, 31, 21, 0.08);
  padding: 22px;
}

.method-block p {
  margin: 10px 0 0;
  color: var(--soft-ink);
  line-height: 1.55;
}

.method-disclaimer {
  max-width: 1040px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 22px;
}

.method-sources {
  max-width: 1040px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 16px;
  border: 1px solid rgba(22, 32, 28, 0.12);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 14px 44px rgba(39, 31, 21, 0.08);
  padding: 22px;
}

.method-sources h2 {
  margin: 4px 0 10px;
}

.method-sources p {
  color: var(--soft-ink);
  line-height: 1.55;
  margin: 0;
}

.source-list {
  display: grid;
  gap: 9px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 18px;
}

.source-list a {
  background: rgba(43, 115, 89, 0.07);
  border: 1px solid rgba(43, 115, 89, 0.14);
  border-radius: 6px;
  color: var(--ink);
  font-weight: 800;
  padding: 10px 11px;
  text-align: center;
  text-decoration: none;
}

.source-list a:hover {
  background: rgba(43, 115, 89, 0.12);
  border-color: rgba(43, 115, 89, 0.36);
  color: var(--green);
}

.source-note {
  border-left: 3px solid rgba(43, 115, 89, 0.35);
  margin-top: 16px !important;
  padding-left: 12px;
}

.correction-link-wrap {
  color: var(--muted);
  font-size: 14px;
  margin: 10px 0 0;
}

.correction-link-wrap a {
  color: var(--green);
  font-weight: 900;
  text-decoration: none;
}

.correction-link-wrap a:hover {
  color: var(--ink);
}

.correction-panel {
  border: 1px solid rgba(22, 32, 28, 0.12);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 14px 44px rgba(39, 31, 21, 0.08);
  max-width: 720px;
  padding: 24px;
}

.correction-form {
  display: grid;
  gap: 11px;
}

.correction-form input,
.correction-form textarea {
  border: 1px solid rgba(22, 32, 28, 0.15);
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
  padding: 13px 14px;
}

.correction-form textarea {
  line-height: 1.45;
  resize: vertical;
}

.form-message {
  border-left: 4px solid rgba(33, 83, 136, 0.45);
  background: rgba(33, 83, 136, 0.08);
  margin-bottom: 18px;
  padding: 14px 16px;
}

.form-message.success {
  border-left-color: rgba(43, 115, 89, 0.6);
  background: rgba(43, 115, 89, 0.09);
}

.form-message.error {
  border-left-color: rgba(166, 63, 53, 0.65);
  background: rgba(166, 63, 53, 0.09);
}

.form-message p {
  color: var(--soft-ink);
  margin: 6px 0 0;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 34px;
  border-top: 1px solid rgba(22, 32, 28, 0.1);
  color: var(--muted);
  font-size: 13px;
  padding-top: 18px;
}

.creator-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
}

.creator-link:hover {
  color: var(--ink);
}

.creator-link img {
  width: 132px;
  height: auto;
  opacity: 0.86;
}

.creator-link:hover img {
  opacity: 1;
}

.footer-links {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.footer-links a {
  color: inherit;
  font-weight: 800;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--ink);
}

.error {
  border-color: rgba(166, 63, 53, 0.35);
}

.safe-meter {
  --meter-value: 0deg;
  width: min(178px, 100%);
  aspect-ratio: 1;
  margin: 18px auto 22px;
}

.scan-progress {
  width: 100%;
  min-width: 180px;
}

.scan-progress-track {
  overflow: hidden;
  height: 14px;
  border: 1px solid rgba(22, 32, 28, 0.12);
  border-radius: 999px;
  background: #e5ded3;
}

.scan-progress-track span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--amber), var(--green));
  transition: width 160ms ease-out;
}

.meter-ring {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 999px;
  background:
    radial-gradient(circle at center, var(--paper) 0 58%, transparent 59%),
    conic-gradient(var(--green) var(--meter-value), #e5ded3 0);
  box-shadow: inset 0 0 0 1px rgba(22, 32, 28, 0.08);
  transition: background 120ms linear;
}

.score-card.perfect .meter-ring {
  box-shadow:
    0 0 0 1px rgba(20, 107, 82, 0.16) inset,
    0 0 0 8px rgba(20, 107, 82, 0.12),
    0 0 34px rgba(20, 107, 82, 0.28),
    0 20px 58px rgba(20, 107, 82, 0.26);
  animation: scoreGlow 2200ms ease-in-out infinite;
}

.score-card.manual-plus .meter-ring {
  box-shadow: inset 0 0 0 1px rgba(22, 32, 28, 0.08);
  animation: none;
}

.score-card.perfect.manual-plus .meter-ring {
  box-shadow:
    0 0 0 1px rgba(20, 107, 82, 0.22) inset,
    0 0 0 10px rgba(20, 107, 82, 0.16),
    0 0 44px rgba(20, 107, 82, 0.42),
    0 22px 72px rgba(20, 107, 82, 0.36);
  animation: scoreGlow 1400ms ease-in-out infinite;
}

.score-card.medium .meter-ring {
  background:
    radial-gradient(circle at center, var(--paper) 0 58%, transparent 59%),
    conic-gradient(var(--amber) var(--meter-value), #e5ded3 0);
}

.score-card.high .meter-ring {
  background:
    radial-gradient(circle at center, var(--paper) 0 58%, transparent 59%),
    conic-gradient(var(--red) var(--meter-value), #e5ded3 0);
}

.score-card.unavailable .meter-ring {
  background:
    radial-gradient(circle at center, var(--paper) 0 58%, transparent 59%),
    conic-gradient(#9a9d98 var(--meter-value), #e1ddd5 0);
  box-shadow:
    inset 0 0 0 1px rgba(22, 32, 28, 0.06),
    0 0 0 6px rgba(130, 134, 128, 0.08);
  animation: unavailableGlitch 2100ms steps(1, end) infinite;
}

.score-card.unavailable .score,
.score-card.unavailable .meter-ring > .score {
  color: #6f756f;
}

.score,
.meter-ring > .score {
  position: absolute;
  top: 50%;
  left: 50%;
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.05em;
  min-width: 128px;
  transform: translate(-50%, -50%);
  color: var(--ink);
  font-size: 52px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}

.score-card.manual-plus .score,
.score-card.manual-plus .meter-ring > .score {
  color: var(--ink);
  transform: translate(-50%, -50%);
}

.score-plus {
  display: inline-block;
  position: relative;
  align-self: center;
  width: 0.36em;
  height: 0.36em;
  margin-left: 0.02em;
  color: #1f7fc7;
  transform: translateY(0.01em);
}

.score-plus::before,
.score-plus::after {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 999px;
  background: currentColor;
  content: "";
  transform: translate(-50%, -50%);
}

.score-plus::before {
  width: 100%;
  height: 0.13em;
}

.score-plus::after {
  width: 0.13em;
  height: 100%;
}

.score-card.perfect.manual-plus .verdict {
  font-size: clamp(18px, 1.65vw, 20px);
  white-space: nowrap;
}

@keyframes reportIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes findingIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scoreGlow {
  0%,
  100% {
    filter: drop-shadow(0 0 10px rgba(20, 107, 82, 0.18));
  }
  50% {
    filter: drop-shadow(0 0 26px rgba(20, 107, 82, 0.62));
  }
}

@keyframes unavailableGlitch {
  0%,
  82%,
  100% {
    filter: none;
    transform: translate(0, 0);
  }
  84% {
    filter: contrast(1.08);
    transform: translate(1px, 0);
  }
  86% {
    filter: brightness(0.96);
    transform: translate(-1px, 1px);
  }
  88% {
    filter: none;
    transform: translate(0, 0);
  }
}

@keyframes supportNudge {
  0%,
  100% {
    transform: translateX(0) scale(1);
  }
  18% {
    transform: translateX(0) scale(1.08);
  }
  34% {
    transform: translateX(-3px) scale(1.06);
  }
  48% {
    transform: translateX(3px) scale(1.06);
  }
  62% {
    transform: translateX(-2px) scale(1.03);
  }
  78% {
    transform: translateX(1px) scale(1.01);
  }
}

@media (max-width: 860px) {
  .topbar {
    align-items: flex-start;
  }

  .hero,
  .report,
  .loading-panel,
  .method-grid,
  .legal-panel {
    grid-template-columns: 1fr;
  }

  .signal-board {
    max-width: 460px;
  }

  .score-card {
    position: static;
  }

  .safe-meter {
    width: 148px;
  }

  .signal-field::before {
    inset: 14px -10px 8px;
    background-size:
      auto,
      auto,
      auto,
      auto,
      auto,
      56px 56px,
      56px 56px,
      auto;
  }

  .signal-field::after {
    right: 14px;
    top: 24px;
    width: 86px;
  }

  .source-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .page {
    width: min(100% - 24px, 1120px);
    padding-top: 14px;
  }

  .topbar {
    display: block;
  }

  .topline {
    display: block;
    margin-top: 12px;
  }

  .hero {
    padding-top: 34px;
  }

  h1 {
    font-size: 43px;
  }

  .lead {
    font-size: 17px;
  }

  .input-row {
    display: block;
  }

  button {
    width: 100%;
    height: 48px;
    margin-top: 4px;
  }

  .confirm-positive {
    width: 100%;
    height: 40px;
    margin-left: 0;
  }

  .section-title,
  .finding {
    display: block;
  }

  .finding span {
    display: inline-block;
    margin-top: 10px;
  }

  .loading-panel {
    padding: 20px;
  }

  .scan-progress {
    min-width: 0;
  }

  .support-card {
    display: block;
    padding: 22px;
  }

  .support-button {
    width: 100%;
    margin-top: 14px;
  }

  .site-footer {
    align-items: flex-start;
    display: grid;
  }

  .footer-links {
    justify-content: flex-start;
  }
}
