/* Vertical landing pages — shared styles. Layered on main.css + landing.css. */

.v-hero { padding: 72px 24px 48px; }
.v-hero .hero-sub { font-size: 17px; }
.v-hero-eyebrow {
  display: inline-block;
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--primary); margin-bottom: 16px;
}

/* Citation callout — amber left border signals a regulatory quote. */
.citation {
  max-width: 820px; margin: 0 auto 64px;
  padding: 20px 24px;
  background: color-mix(in srgb, #f59e0b 12%, var(--bg-elev));
  border: 1px solid color-mix(in srgb, #f59e0b 30%, var(--border));
  border-left: 4px solid #f59e0b;
  border-radius: var(--radius);
}
html[data-theme="dark"] .citation {
  background: color-mix(in srgb, #f59e0b 8%, var(--bg-elev));
}
.citation-rule {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 13px; font-weight: 600;
  color: var(--text); margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.citation-quote {
  font-size: 15px; color: var(--text-soft);
  font-style: italic; padding-left: 16px;
  border-left: 2px solid var(--border-strong);
  margin: 8px 0 12px;
}
.citation-note { font-size: 14px; color: var(--text-soft); }

/* Risk cards — red-tinted to telegraph "stakes" without alarm-mode. */
.risk-grid {
  max-width: var(--max-w); margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}
.risk-card {
  padding: 20px;
  background: var(--bg-elev);
  border: 1px solid color-mix(in srgb, var(--danger) 25%, var(--border));
  border-radius: var(--radius-lg);
  border-top: 3px solid var(--danger);
}
.risk-icon {
  width: 36px; height: 36px;
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--danger) 12%, transparent);
  color: var(--danger);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 12px;
}
.risk-card h3 { font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.risk-card p { font-size: 14px; color: var(--text-soft); }

/* Feature grid — 4-col desktop down to 1-col mobile. */
.v-features-grid {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.v-feature {
  padding: 22px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.v-feature .v-feature-icon {
  width: 40px; height: 40px;
  border-radius: var(--radius);
  background: var(--primary-soft); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.v-feature h3 { font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.v-feature p { font-size: 14px; color: var(--text-soft); }
@media (max-width: 960px) {
  .v-features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .v-features-grid { grid-template-columns: 1fr; }
}

/* Comparison table. */
.compare-wrap {
  max-width: var(--max-w); margin: 0 auto;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-elev);
}
.compare-table {
  width: 100%; border-collapse: collapse;
  font-size: 14px; min-width: 640px;
}
.compare-table th, .compare-table td {
  padding: 14px 18px; text-align: left;
  border-bottom: 1px solid var(--border);
}
.compare-table thead th {
  font-weight: 600; font-size: 13px;
  color: var(--text-soft); letter-spacing: 0.02em;
  background: var(--bg-soft);
}
.compare-table tbody td:first-child { font-weight: 500; color: var(--text); }
.compare-table tr:last-child td { border-bottom: none; }
.compare-col-us { color: var(--primary); font-weight: 600; }
.compare-check { color: var(--success); }
.compare-x { color: var(--danger); }

/* Code box on /verify — kept dark in both themes; this IS DevTools. */
.code-box {
  max-width: 820px; margin: 0 auto 32px;
  background: #0b0d12; color: #e2e8f0;
  border: 1px solid #1f2937;
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 13.5px; line-height: 1.6;
  overflow-x: auto;
}
.code-box .c-comment { color: #94a3b8; }
.code-box .c-bad { color: #fca5a5; }
.code-box .c-good { color: #86efac; }
.code-box .c-key { color: #c4b5fd; }
.code-box .c-str { color: #fcd34d; }

/* Step list on /verify. */
.steps {
  max-width: 820px; margin: 0 auto 48px;
  padding: 0; list-style: none; counter-reset: step;
}
.steps li {
  position: relative;
  padding: 16px 20px 16px 64px;
  margin-bottom: 12px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  counter-increment: step;
}
.steps li::before {
  content: counter(step);
  position: absolute; left: 18px; top: 16px;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--grad); color: white;
  font-weight: 600; font-size: 14px;
  display: flex; align-items: center; justify-content: center;
}
.steps li h4 { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.steps li p { font-size: 14px; color: var(--text-soft); }

.source-links {
  max-width: 820px; margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 8px;
}
.source-links a {
  padding: 10px 14px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 13px; color: var(--text-soft);
  transition: border-color .15s, color .15s;
}
.source-links a:hover { border-color: var(--primary); color: var(--primary); }

.v-footer-grid {
  max-width: var(--max-w); margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 32px; padding-bottom: 24px;
}
.v-footer-grid h5 {
  font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--text-mute); margin: 0 0 12px;
}
.v-footer-grid a {
  display: block; font-size: 14px;
  color: var(--text-soft); padding: 4px 0;
}
.v-footer-grid a:hover { color: var(--primary); }
@media (max-width: 720px) {
  .v-footer-grid { grid-template-columns: 1fr; gap: 24px; }
}

.v-section-body {
  max-width: 820px; margin: 0 auto;
  color: var(--text-soft);
  font-size: 16px; line-height: 1.65;
}
.v-section-body p { margin-bottom: 16px; }
.v-section-body strong { color: var(--text); }
.v-cta-row {
  max-width: 720px; margin: 0 auto;
  text-align: center; padding: 48px 24px 8px;
}
.v-cta-row h3 {
  font-size: clamp(22px, 3vw, 30px);
  margin-bottom: 16px;
}
.pill {
  display: inline-block;
  padding: 3px 10px; border-radius: 999px;
  font-size: 12px; font-weight: 500;
  background: var(--primary-soft); color: var(--primary);
  margin-left: 6px;
}

/* ============ /verify live demo (Watch from here) ============ */
/* Dark "DevTools" panel — same palette as .code-box for visual continuity. */
.v-demo {
  max-width: 820px; margin: 0 auto 32px;
  background: #0b0d12; color: #e2e8f0;
  border: 1px solid #1f2937;
  border-radius: var(--radius-lg);
  padding: 0;
  overflow: hidden;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}
.v-demo-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 16px;
  background: #11141c;
  border-bottom: 1px solid #1f2937;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #94a3b8;
}
.v-demo-head .v-demo-dot {
  display: inline-block; width: 8px; height: 8px;
  border-radius: 50%; background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, .6);
  animation: vDemoPulse 2s infinite;
  margin-right: 8px;
  vertical-align: middle;
}
@keyframes vDemoPulse {
  0% { box-shadow: 0 0 0 0 rgba(34,197,94, .55); }
  70% { box-shadow: 0 0 0 8px rgba(34,197,94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34,197,94, 0); }
}

.v-counter-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: #1f2937;
}
.v-counter {
  background: #0b0d12;
  padding: 18px 18px 16px;
  text-align: center;
}
.v-counter-label {
  font-size: 11px; letter-spacing: 0.06em;
  text-transform: uppercase; color: #94a3b8;
  margin-bottom: 6px;
}
.v-counter-num {
  font-size: 36px; font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.v-counter-num.v-num-good { color: #86efac; }
.v-counter-num.v-num-warn { color: #fcd34d; }
.v-counter-num.v-num-neutral { color: #e2e8f0; }
.v-counter-sub {
  font-size: 11px; color: #64748b;
  margin-top: 6px;
}

.v-demo-body {
  padding: 18px;
  border-top: 1px solid #1f2937;
  background: #0b0d12;
}
.v-demo-drop {
  border: 1px dashed #334155;
  border-radius: var(--radius);
  padding: 22px 18px;
  text-align: center;
  background: #0f121a;
  font-family: var(--font, system-ui);
  color: #cbd5e1;
  transition: border-color .15s, background .15s;
  cursor: pointer;
}
.v-demo-drop:hover { border-color: #0e7490; background: #11151f; }
.v-demo-drop input[type=file] {
  position: absolute; opacity: 0; pointer-events: none;
}
.v-demo-drop strong { color: #e2e8f0; }
.v-demo-status {
  margin-top: 10px;
  font-family: ui-monospace, monospace;
  font-size: 12px; color: #94a3b8;
  min-height: 18px;
}
.v-demo-actions {
  margin-top: 14px;
  display: flex; gap: 10px; justify-content: center;
  font-family: var(--font, system-ui);
}
.v-demo-btn {
  background: #0e7490; color: white;
  border: 0; border-radius: var(--radius);
  padding: 10px 18px; font-size: 14px; font-weight: 600;
  cursor: pointer;
  transition: background .15s, opacity .15s;
}
.v-demo-btn:hover:not(:disabled) { background: #4f46e5; }
.v-demo-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.v-demo-btn.v-demo-btn-ghost {
  background: transparent; color: #cbd5e1;
  border: 1px solid #334155;
}
.v-demo-btn.v-demo-btn-ghost:hover:not(:disabled) {
  background: #11151f; border-color: #475569;
}

.v-demo-verdict {
  margin-top: 14px;
  padding: 12px 14px;
  background: rgba(34, 197, 94, .08);
  border: 1px solid rgba(34, 197, 94, .35);
  border-left: 3px solid #22c55e;
  border-radius: var(--radius);
  font-family: var(--font, system-ui);
  font-size: 14px; color: #d1fae5;
}
.v-demo-verdict strong { color: #86efac; }
.v-demo-verdict .v-num-good { color: #86efac; font-weight: 700; }

.v-log-toggle {
  background: transparent; border: 0;
  color: #94a3b8; font-size: 12px;
  cursor: pointer; padding: 12px 0 0;
  text-decoration: underline; text-underline-offset: 3px;
}
.v-log-toggle:hover { color: #cbd5e1; }
.v-log-box {
  margin-top: 10px;
  background: #050709;
  border: 1px solid #1f2937;
  border-radius: var(--radius);
  padding: 8px 10px;
  font-size: 11.5px; line-height: 1.5;
  max-height: 260px; overflow: auto;
}
.v-log-row {
  display: grid;
  grid-template-columns: 64px 80px 1fr;
  gap: 10px; padding: 2px 0;
  white-space: nowrap;
}
.v-log-time { color: #475569; font-variant-numeric: tabular-nums; }
.v-log-cat {
  text-transform: uppercase;
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.05em;
}
.v-log-row.v-log-pf .v-log-cat { color: #fca5a5; }
.v-log-row.v-log-tp .v-log-cat { color: #fcd34d; }
.v-log-url {
  color: #cbd5e1;
  overflow: hidden; text-overflow: ellipsis;
}

@media (max-width: 640px) {
  .v-counter-grid { grid-template-columns: 1fr; }
  .v-counter { border-bottom: 1px solid #1f2937; }
}
