:root {
  --ink: #181a20;
  --text: #2d3139;
  --muted: #525866;
  --line: #d6dae2;
  --surface: #f1f3f7;
  --canvas: #f6f7fb;
  --bg: #ffffff;

  --accent: #88397a;
  --accent-hover: #6e2a62;
  --accent-soft: #f5e8f3;
  --accent-border: #d8a7cf;

  --pass: #046c4e;
  --pass-ink: #065f46;
  --pass-bg: #d1fae5;
  --pass-border: #059669;

  --block: #c81e1e;
  --block-ink: #991b1b;
  --block-bg: #fee2e2;
  --block-border: #ef4444;

  --watch: #a84b06;
  --watch-ink: #92400e;
  --watch-bg: #fef3c7;
  --watch-border: #d97706;

  --info: #1d4ed8;
  --info-ink: #1e40af;
  --info-bg: #dbeafe;
  --info-border: #3b82f6;

  --neutral: #334155;
  --neutral-ink: #1e293b;
  --neutral-bg: #e2e8f0;
  --neutral-border: #64748b;

  --wp-ink: #1d6b91;
  --wp-bg: #eff6ff;
  --wp-border: #3b82f6;

  --woo-ink: #6d3fa6;
  --woo-bg: #f5f3ff;
  --woo-border: #8b5cf6;

  --cf-ink: #b84a00;
  --cf-bg: #fff7ed;
  --cf-border: #ea580c;

  --radius: 8px;
  --shadow-sm: 0 1px 3px rgba(24, 26, 32, 0.06), 0 1px 2px rgba(24, 26, 32, 0.04);
  --shadow-md: 0 4px 14px rgba(24, 26, 32, 0.06);
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  background: var(--canvas);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--canvas);
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.visually-hidden:where(:not(:focus-within, :active)) {
  position: absolute !important;
  clip-path: inset(50%) !important;
  overflow: hidden !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  border: 0 !important;
  white-space: nowrap !important;
}

.skip-link:focus {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  padding: 10px 14px;
  border-radius: 6px;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

h1, h2, h3, h4 {
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.02em;
}

p {
  margin: 0 0 12px;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--ink);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--accent-hover);
}

code, pre {
  font-family: var(--font-mono);
}

/* Inline SVG Icons */
.icon-svg {
  width: 16px;
  height: 16px;
  flex: none;
  display: inline-block;
  vertical-align: middle;
}

.icon-svg--lg {
  width: 18px;
  height: 18px;
}

.icon-brand {
  width: 16px;
  height: 16px;
}

/* Header */
.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}

.wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

.wrap--narrow {
  max-width: 740px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  padding: 14px 20px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 800;
  font-size: 16px;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-badge {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 2px 10px;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 14px;
}

.header-nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 700;
}

.header-nav a:hover {
  color: var(--ink);
  text-decoration: underline;
}

/* Main */
main {
  flex: 1;
  padding: 36px 0 56px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 6px;
  padding: 11px 20px;
  font: inherit;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  background: var(--ink);
  color: #fff;
  transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  min-height: 44px;
}

.btn:hover:not(:disabled) {
  background: #0d0e12;
  color: #fff;
}

.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.btn--accent {
  background: var(--accent);
  color: #fff;
}

.btn--accent:hover:not(:disabled) {
  background: var(--accent-hover);
  color: #fff;
}

.btn--ghost {
  background: #fff;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px #c5cbd6;
}

.btn--ghost:hover:not(:disabled) {
  background: var(--surface);
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px #9aa3b2;
}

.btn--sm {
  padding: 7px 13px;
  font-size: 13px;
  min-height: 36px;
}

/* Start Screen */
.hero {
  padding: 24px 0 16px;
}

.hero h1 {
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.08;
  font-weight: 800;
  margin-bottom: 14px;
}

.hero-lead {
  font-size: 18px;
  color: var(--muted);
  max-width: 58ch;
  margin-bottom: 28px;
}

.check-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-md);
}

.url-form-row {
  display: flex;
  gap: 10px;
  align-items: stretch;
}

.input-wrap {
  flex: 1;
  min-width: 0;
}

.text-input {
  width: 100%;
  min-height: 46px;
  padding: 10px 14px;
  border: 1.5px solid #8890a0;
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
}

.text-input:focus {
  border-color: var(--accent);
}

.text-input:is(:user-invalid, .user-invalid-fallback, [aria-invalid="true"]) {
  border-color: var(--block);
  background: var(--block-bg);
}

.field-hint {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 6px;
}

.error-msg {
  display: none;
  color: var(--block-ink);
  font-size: 14px;
  font-weight: 700;
  margin-top: 8px;
}

.error-msg.is-visible,
:is(:user-invalid, .user-invalid-fallback) + .error-msg {
  display: block;
}

.examples-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 13px;
  color: var(--muted);
}

.examples-label {
  font-weight: 700;
  color: var(--ink);
  margin-right: 2px;
}

.chip-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid #c9cfd9;
  background: #fff;
  color: var(--ink);
  border-radius: 999px;
  padding: 5px 12px 5px 8px;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  min-height: 34px;
  transition: border-color 0.15s ease, background-color 0.15s ease, transform 0.1s ease;
}

.chip-btn:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--ink);
}

.chip-btn:active {
  transform: translateY(1px);
}

.chip-favicon {
  width: 18px;
  height: 18px;
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  overflow: hidden;
}

.chip-favicon svg {
  width: 18px;
  height: 18px;
  display: block;
}

.trust-note {
  margin-top: 16px;
  font-size: 14px;
  color: var(--muted);
}

.privacy-note {
  color: var(--muted);
  font-size: 13px;
  margin-top: 8px;
}

/* Loading Screen */
.loading-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-md);
}

.loading-title {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 6px;
}

.loading-domain {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 22px;
  word-break: break-all;
}

.progress-steps {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: grid;
  gap: 12px;
}

.progress-step {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  font-size: 15px;
}

.progress-step.is-active {
  background: #fff;
  border-color: var(--accent);
  color: var(--ink);
  font-weight: 700;
}

.progress-step.is-done {
  background: var(--pass-bg);
  border-color: var(--pass-border);
  color: var(--pass-ink);
  font-weight: 600;
}

.step-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 800;
}

.progress-step.is-pending .step-icon {
  border: 2px solid #9aa3b2;
  color: transparent;
}

.progress-step.is-active .step-icon {
  border: 2px solid var(--accent);
  border-top-color: transparent;
}

@media (prefers-reduced-motion: no-preference) {
  .progress-step.is-active .step-icon {
    animation: spin 0.8s linear infinite;
  }
  @keyframes spin {
    to { transform: rotate(360deg); }
  }
}

.progress-step.is-done .step-icon {
  background: var(--pass);
  color: #fff;
}

/* Result Screen */
.result-stack {
  display: grid;
  gap: 22px;
}

.result-topbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.checked-target {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.checked-domain {
  font-family: var(--font-mono);
  font-size: 17px;
  font-weight: 800;
  color: var(--ink);
  word-break: break-all;
}

.topbar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

/* Notice Banners */
.notice-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg);
  box-shadow: var(--shadow-sm);
  font-size: 14px;
}

.notice-banner--watch {
  background: var(--watch-bg);
  border-color: var(--watch-border);
  color: var(--watch-ink);
}

.notice-banner--block {
  background: var(--block-bg);
  border-color: var(--block-border);
  color: var(--block-ink);
}

.notice-banner-text {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.notice-meta {
  color: var(--muted);
  font-size: 13px;
}

/* Verdict Card */
.verdict-card {
  border: 1.5px solid var(--line);
  border-left-width: 7px;
  border-radius: var(--radius);
  padding: 26px;
  background: #fff;
  box-shadow: var(--shadow-md);
}

.verdict-card--pass {
  border-color: var(--pass-border);
  border-left-color: var(--pass);
  background: linear-gradient(135deg, var(--pass-bg) 0%, #f4fdf9 48%, #ffffff 85%);
}

.verdict-card--block {
  border-color: var(--block-border);
  border-left-color: var(--block);
  background: linear-gradient(135deg, var(--block-bg) 0%, #fff5f5 48%, #ffffff 85%);
}

.verdict-card--watch {
  border-color: var(--watch-border);
  border-left-color: var(--watch);
  background: linear-gradient(135deg, var(--watch-bg) 0%, #fffbeb 48%, #ffffff 85%);
}

.verdict-card--neutral {
  border-color: var(--info-border);
  border-left-color: var(--info);
  background: linear-gradient(135deg, #bfdbfe 0%, var(--info-bg) 45%, #f5f9ff 100%);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}

.status-pill--pass { background: var(--pass); color: #fff; }
.status-pill--block { background: var(--block); color: #fff; }
.status-pill--watch { background: var(--watch); color: #fff; }
.status-pill--neutral { background: var(--info); color: #fff; }

.verdict-title {
  font-size: clamp(23px, 3.2vw, 30px);
  font-weight: 800;
  line-height: 1.18;
  color: var(--ink);
  margin-bottom: 10px;
}

.verdict-desc {
  font-size: 16px;
  color: var(--text);
  max-width: 70ch;
}

/* Summary Chips */
.summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.summary-chip {
  border: 1.5px solid var(--line);
  border-top-width: 4px;
  border-radius: var(--radius);
  padding: 15px 16px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
}

.summary-chip--pass { border-color: var(--pass-border); background: #f7fefb; }
.summary-chip--block { border-color: var(--block-border); background: #fff9f9; }
.summary-chip--watch { border-color: var(--watch-border); background: #fffdf5; }
.summary-chip--neutral { border-color: var(--info-border); background: #f7fbff; }

.summary-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}

.summary-label .icon-svg {
  color: var(--muted);
}

.summary-value {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.badge--pass { background: var(--pass-bg); color: var(--pass-ink); border: 1px solid var(--pass-border); }
.badge--block { background: var(--block-bg); color: var(--block-ink); border: 1px solid var(--block-border); }
.badge--watch { background: var(--watch-bg); color: var(--watch-ink); border: 1px solid var(--watch-border); }
.badge--neutral { background: var(--info-bg); color: var(--info-ink); border: 1px solid var(--info-border); }

/* Section Cards */
.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.panel-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

.panel-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  color: var(--ink);
}

.panel-title-icon {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 7px;
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid var(--accent-border);
  flex: none;
}

.panel-sub {
  font-size: 14px;
  color: var(--muted);
  margin-top: 6px;
}

.caveat-inline {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: var(--watch-ink);
  background: var(--watch-bg);
  border: 1px solid var(--watch-border);
  border-left: 4px solid var(--watch);
  padding: 11px 14px;
  border-radius: 0 6px 6px 0;
  margin-bottom: 16px;
}

.caveat-inline .icon-svg {
  margin-top: 2px;
  color: var(--watch);
}

/* Matrix Groups (details/summary) */
.matrix-groups {
  display: grid;
  gap: 14px;
}

.matrix-group {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
}

.matrix-group > summary {
  list-style: none;
  cursor: pointer;
  padding: 13px 16px;
  background: var(--surface);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-weight: 800;
  color: var(--ink);
  font-size: 15px;
}

.matrix-group > summary::-webkit-details-marker {
  display: none;
}

.summary-left {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.summary-group-icon {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 5px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--accent);
  flex: none;
}

.summary-chevron {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--muted);
  transform: rotate(-90deg);
}

.matrix-group[open] > summary .summary-chevron {
  transform: rotate(0deg);
}

@media (prefers-reduced-motion: no-preference) {
  .summary-chevron {
    transition: transform 0.18s ease;
  }
}

.group-summary-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12.5px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
}

/* Responsive Table */
.table-wrap {
  container-type: inline-size;
  width: 100%;
}

.bot-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.bot-table th,
.bot-table td {
  padding: 11px 14px;
  text-align: left;
  border-top: 1px solid var(--line);
  vertical-align: middle;
}

.bot-table thead th {
  border-top: 1px solid var(--line);
  background: #f8f9fc;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.bot-name {
  font-weight: 800;
  color: var(--ink);
  display: block;
}

.bot-company {
  font-size: 12.5px;
  color: var(--muted);
}

.verdict-cell {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
  white-space: nowrap;
}

.verdict-cell--pass {
  background: var(--pass-bg);
  color: var(--pass-ink);
  border: 1px solid var(--pass-border);
}

.verdict-cell--block {
  background: var(--block-bg);
  color: var(--block-ink);
  border: 1px solid var(--block-border);
}

.verdict-cell--muted {
  background: var(--info-bg);
  color: var(--info-ink);
  border: 1px solid var(--info-border);
}

.probe-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--watch-bg);
  color: var(--watch-ink);
  border: 1px solid var(--watch-border);
  white-space: nowrap;
}

.probe-pill--200 {
  background: var(--pass-bg);
  color: var(--pass-ink);
  border-color: var(--pass-border);
}

.probe-pill--403,
.probe-pill--429,
.probe-pill--challenge,
.probe-pill--500,
.probe-pill--502,
.probe-pill--504 {
  background: var(--block-bg);
  color: var(--block-ink);
  border-color: var(--block-border);
}

.probe-pill--watch,
.probe-pill--503,
.probe-pill--unknown {
  background: var(--watch-bg);
  color: var(--watch-ink);
  border-color: var(--watch-border);
}

.probe-none {
  color: var(--muted);
  font-size: 13px;
}

.rule-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid #c5cbd6;
  background: #fff;
  color: var(--ink);
  border-radius: 5px;
  padding: 5px 10px;
  font: inherit;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  min-height: 32px;
  white-space: nowrap;
}

.rule-toggle-btn:hover {
  background: var(--surface);
  border-color: var(--ink);
}

.rule-toggle-btn[aria-expanded="true"] {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.rule-detail-row[hidden] {
  display: none;
}

.rule-detail-cell {
  background: var(--surface);
  padding: 12px 16px !important;
  border-top: 1px dashed var(--line) !important;
}

.rule-code {
  margin: 6px 0 0;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 5px;
  font-size: 13px;
  line-height: 1.45;
  overflow-x: auto;
  color: var(--ink);
}

@container (max-width: 600px) {
  .bot-table,
  .bot-table thead,
  .bot-table tbody,
  .bot-table tr,
  .bot-table th,
  .bot-table td {
    display: block;
  }

  .bot-table thead {
    display: none;
  }

  .bot-table tbody tr.bot-row {
    padding: 12px 14px;
    border-top: 1px solid var(--line);
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px 12px;
    align-items: center;
  }

  .bot-table tbody tr.bot-row:first-child {
    border-top: 0;
  }

  .bot-table tbody tr.bot-row > th,
  .bot-table tbody tr.bot-row > td {
    border: 0;
    padding: 0;
  }

  .bot-table tbody tr.bot-row > th {
    grid-column: 1 / 2;
  }

  .bot-table tbody tr.bot-row > td.col-action {
    grid-column: 2 / 3;
    grid-row: 1;
    justify-self: end;
  }

  .bot-table tbody tr.bot-row > td.col-robots,
  .bot-table tbody tr.bot-row > td.col-probe {
    grid-column: 1 / -1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
  }

  .bot-table tbody tr.bot-row > td.col-robots::before {
    content: "robots.txt";
    color: var(--muted);
    font-weight: 700;
  }

  .bot-table tbody tr.bot-row > td.col-probe::before {
    content: "Server answer";
    color: var(--muted);
    font-weight: 700;
  }

  .bot-table tbody tr.rule-detail-row > td {
    padding: 12px 14px !important;
  }
}

/* Toggletip */
.th-with-tip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.toggletip-btn {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1.5px solid #8890a0;
  background: #fff;
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}

.toggletip-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.toggletip-popover {
  max-width: 320px;
  padding: 12px 14px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.45;
  text-transform: none;
  letter-spacing: 0;
  box-shadow: 0 12px 28px rgba(20, 21, 25, 0.24);
}

@supports (position-area: block-end) {
  .toggletip-popover[popover] {
    inset: auto;
    margin: 8px 0 0;
    position-area: block-end span-inline-end;
    position-try-fallbacks: flip-block, flip-inline, flip-block flip-inline;
  }
}

/* Signals Grid */
.signals-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.signal-item {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 13px 15px;
  background: #f8f9fc;
  min-width: 0;
}

.signal-label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 6px;
}

.signal-label .icon-svg {
  color: var(--accent);
}

.signal-value {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  word-break: break-word;
}

.signal-value code {
  font-size: 13px;
  font-weight: 600;
}

.stack-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2px;
}

.stack-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 5px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--muted);
}

.stack-badge--active {
  background: var(--accent-soft);
  border-color: var(--accent-border);
  color: var(--ink);
}

.stack-badge--wp {
  background: var(--wp-bg);
  border-color: var(--wp-border);
  color: var(--wp-ink);
}

.stack-badge--woo {
  background: var(--woo-bg);
  border-color: var(--woo-border);
  color: var(--woo-ink);
}

.stack-badge--cf {
  background: var(--cf-bg);
  border-color: var(--cf-border);
  color: var(--cf-ink);
}

/* What to do + Recommended robots.txt */
.todo-list {
  margin: 0 0 18px;
  padding: 0 0 0 22px;
  display: grid;
  gap: 10px;
  color: var(--text);
}

.todo-list li {
  padding-left: 4px;
}

.robots-snippet-details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.robots-snippet-details > summary {
  list-style: none;
  cursor: pointer;
  padding: 12px 16px;
  font-weight: 700;
  color: var(--ink);
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.robots-snippet-details > summary::-webkit-details-marker {
  display: none;
}

.robots-snippet-details[open] > summary .summary-chevron {
  transform: rotate(0deg);
}

.robots-snippet-body {
  padding: 0 16px 16px;
}

.code-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  font-size: 13px;
  color: var(--muted);
}

.code-block {
  margin: 0;
  padding: 14px;
  border-radius: 6px;
  background: var(--ink);
  color: #eef0f4;
  font-size: 13px;
  line-height: 1.5;
  overflow-x: auto;
}

/* CTA Block */
.cta-card {
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  background: #fff;
  box-shadow: var(--shadow-md);
}

.cta-card--wp {
  background: var(--ink);
  color: #e4e6ec;
  border-color: var(--ink);
  border-top: 4px solid #3888b0;
  box-shadow: var(--shadow-md);
}

.cta-card--monitor {
  border-color: var(--accent-border);
  border-left: 6px solid var(--accent);
  background: linear-gradient(135deg, var(--accent-soft) 0%, #fcf7fb 52%, #ffffff 90%);
}

.cta-card--wp h2,
.cta-card--wp h3 {
  color: #fff;
}

.cta-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #93c5fd;
  margin-bottom: 10px;
}

.cta-card:not(.cta-card--wp) .cta-eyebrow {
  color: var(--accent);
}

.cta-title {
  font-size: 23px;
  font-weight: 800;
  margin-bottom: 10px;
}

.cta-lead {
  color: var(--text);
  max-width: 64ch;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 18px;
}

.cta-note {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
}

.woo-upsell {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.woo-upsell p {
  margin: 0;
  font-size: 15px;
  color: #f3e8ff;
  max-width: 56ch;
}

.woo-upsell-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #d8b4fe;
}

.btn--light-outline {
  background: transparent;
  color: #fff;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.52);
}

.btn--light-outline:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

/* Share Footer Bar */
.share-bar,
.share-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.share-url-preview {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--muted);
  word-break: break-all;
}

/* Error Screen */
.error-state-card {
  border: 1.5px solid var(--block-border);
  border-left: 6px solid var(--block);
  border-radius: var(--radius);
  padding: 26px;
  background: #fff;
  box-shadow: var(--shadow-md);
}

.error-state-card h1,
.error-state-card h2 {
  font-size: 24px;
  margin-bottom: 8px;
}

/* Why it matters: verified market figures */
.why { padding: 44px 0 36px; border-top: 1px solid var(--line); }
.why-title { font-size: 22px; font-weight: 800; margin: 0 0 8px; color: var(--ink); }
.why-lead { margin: 0 0 20px; color: var(--muted); font-size: 15px; line-height: 1.55; max-width: 680px; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.why-card { display: flex; flex-direction: column; gap: 6px; padding: 18px 18px 16px; border-radius: 12px; color: #fff; }
.why-card--a { background: linear-gradient(135deg, #2563eb, #7c3aed); }
.why-card--b { background: linear-gradient(135deg, #059669, #0d9488); }
.why-card--c { background: linear-gradient(135deg, #ea580c, #db2777); }
.why-num { font-size: 34px; font-weight: 800; line-height: 1; letter-spacing: -0.02em; }
.why-text { font-size: 14px; line-height: 1.45; color: rgba(255,255,255,.95); }
.why-source { margin: 12px 0 0; font-size: 12px; color: var(--muted); }
.why-source a { color: inherit; }
@media (max-width: 680px) { .why-grid { grid-template-columns: 1fr; } .why-card { flex-direction: row; align-items: center; gap: 14px; } .why-num { font-size: 28px; min-width: 92px; } }

/* More from the author */
.more { padding: 48px 0 40px; border-top: 1px solid var(--line); background: var(--surface); }
.more-title { font-size: 20px; font-weight: 800; margin: 0 0 18px; color: var(--ink); }
.more-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.more-card, .author-card { display: flex; flex-direction: column; gap: 8px; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: var(--ink); transition: border-color .15s, box-shadow .15s, transform .15s; }
.more-card:hover, .author-card:hover, .more-card:focus-visible, .author-card:focus-visible { border-color: var(--info-border); box-shadow: 0 6px 20px rgba(29, 78, 216, .12); transform: translateY(-2px); }
.more-icon { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; color: #fff; }
.more-icon--ai { background: linear-gradient(135deg, #7c3aed, #2563eb); }
.more-icon--vote { background: linear-gradient(135deg, #f97316, #e11d48); }
.more-icon--lrm { background: linear-gradient(135deg, #059669, #0d9488); }
.more-name { display: block; font-weight: 800; font-size: 16px; }
.more-desc { display: block; font-size: 14px; line-height: 1.5; color: var(--muted); }
.more-meta { display: block; margin-top: auto; font-size: 14px; font-weight: 700; color: var(--info); }
.author-card { flex-direction: row; align-items: center; gap: 16px; margin-top: 16px; }
.author-links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 4px; }
.author-links a { text-decoration: none; }
.author-links a:hover { text-decoration: underline; }
.author-card:hover { transform: none; }
.author-mark { width: 52px; height: 52px; font-size: 18px; border-radius: 12px; flex: none; }
@media (max-width: 680px) { .more-grid { grid-template-columns: 1fr; } .more { padding: 36px 0 28px; } }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg);
  padding: 20px 0;
  font-size: 13px;
  color: var(--muted);
}

#public-stats {
  color: var(--muted);
  font-size: 13px;
  margin-top: 8px;
}

/* Forced Colors Mode */
@media (forced-colors: active) {
  .verdict-card,
  .summary-chip,
  .panel,
  .cta-card,
  .verdict-cell,
  .probe-pill,
  .stack-badge,
  .status-pill,
  .group-summary-pill,
  .summary-value {
    border: 1px solid CanvasText;
  }
}

/* Mobile */
@media (max-width: 680px) {
  .brand { font-size: 15px; }
  .header-nav { font-size: 13px; }

  main {
    padding: 24px 0 40px;
  }

  .url-form-row {
    flex-direction: column;
  }

  .summary-grid,
  .signals-grid {
    grid-template-columns: 1fr;
  }

  .verdict-card,
  .panel,
  .cta-card,
  .loading-card,
  .check-card {
    padding: 18px;
  }

  .panel-title {
    font-size: 18px;
  }
}
