/* ═══════════════════════════════════════════════════════════════════════════
   DNS Panopticon — Website Recon
   Page-specific styles for the Website Recon landing page (public/recon/index.html).
   ═══════════════════════════════════════════════════════════════════════════ */

.recon-form {
  width: 100%;
}

/* The search bar chrome lives in page-template.css (.landing-search). */
.recon-input {
  font-family: var(--font-data);
}

.recon-input::placeholder {
  color: var(--txt-4);
}

.recon-mode-desc {
  text-align: center;
}

/* ── Landing illustration: a detective with a magnifier, from the original
   Website Recon landing. Shown in the shared hero tile (page-template.css). */
.recon-hero-orbit,
.recon-detective-coat,
.recon-detective-collar,
.recon-detective-face,
.recon-detective-hat-brim,
.recon-detective-hat-top,
.recon-detective-hat-band,
.recon-detective-eye-line,
.recon-detective-arm,
.recon-glass-lens,
.recon-glass-core,
.recon-glass-highlight,
.recon-glass-handle,
.recon-clue-lines,
.recon-clue-dot {
  vector-effect: non-scaling-stroke;
}

.recon-hero-orbit {
  stroke: var(--primary);
  fill: none;
}

.recon-hero-orbit-outer {
  stroke-width: 2;
  stroke-dasharray: 7 6;
  opacity: 0.34;
  transform-origin: 80px 80px;
  animation: recon-orbit 16s linear infinite;
}

.recon-hero-orbit-inner {
  stroke-width: 2;
  opacity: 0.18;
}

.recon-detective {
  transform-origin: 80px 92px;
  animation: recon-detective-bob 3.4s ease-in-out infinite;
}

.recon-detective-coat {
  fill: color-mix(in srgb, var(--surface) 92%, transparent);
  stroke: color-mix(in srgb, var(--primary) 52%, var(--border));
  stroke-width: 2;
}

.recon-detective-collar,
.recon-detective-eye-line,
.recon-detective-arm {
  stroke: color-mix(in srgb, var(--primary) 70%, white 6%);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.recon-detective-face {
  fill: color-mix(in srgb, var(--surface) 96%, white 4%);
  stroke: color-mix(in srgb, var(--primary) 36%, var(--border));
  stroke-width: 2;
}

.recon-detective-hat-brim,
.recon-detective-hat-top {
  fill: color-mix(in srgb, var(--primary) 16%, var(--surface));
  stroke: color-mix(in srgb, var(--primary) 62%, var(--border));
  stroke-width: 2;
}

.recon-detective-hat-band {
  stroke: color-mix(in srgb, var(--primary) 80%, white 8%);
  stroke-width: 2.5;
  stroke-linecap: round;
}

.recon-magnifier {
  transform-origin: 108px 82px;
  animation: recon-scan-sweep 2.8s ease-in-out infinite;
}

.recon-glass-lens {
  fill: color-mix(in srgb, var(--primary) 10%, transparent);
  stroke: color-mix(in srgb, var(--primary) 80%, white 6%);
  stroke-width: 2.5;
}

.recon-glass-core {
  fill: color-mix(in srgb, var(--surface) 75%, transparent);
  stroke: color-mix(in srgb, var(--primary) 45%, transparent);
  stroke-width: 1.5;
}

.recon-glass-highlight,
.recon-glass-handle {
  stroke: color-mix(in srgb, var(--primary) 80%, white 8%);
  stroke-width: 2.5;
  stroke-linecap: round;
  fill: none;
}

.recon-clue-lines {
  stroke: color-mix(in srgb, var(--primary) 70%, white 6%);
  stroke-width: 2;
  stroke-linecap: round;
  opacity: 0.7;
}

.recon-clue-lines-soft {
  opacity: 0.4;
}

.recon-clue-dot {
  fill: var(--primary);
  opacity: 0.9;
}

@keyframes recon-orbit {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes recon-detective-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(2px); }
}

@keyframes recon-scan-sweep {
  0%, 100% { transform: translate(-6px, 2px) rotate(-12deg); }
  50% { transform: translate(10px, -4px) rotate(10deg); }
}

@media (prefers-reduced-motion: reduce) {
  .recon-hero-orbit-outer,
  .recon-detective,
  .recon-magnifier { animation: none; }
}

/* ── Coverage grid: four columns with a line on each check ─────────────── */
.landing-checks.recon-checks {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 24px;
  row-gap: 8px;
}

.recon-checks .landing-check {
  padding-bottom: 12px;
}

.recon-checks .landing-check span:last-child {
  font-size: var(--text-caption);
  line-height: 1.5;
  color: var(--txt-3);
}

/* ── Where the answers come from ───────────────────────────────────────── */
.recon-trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--border);
}

.recon-trust li {
  display: grid;
  gap: 6px;
  align-content: start;
}

.recon-trust strong {
  font-size: 15px;
  font-weight: 600;
  color: var(--txt);
}

.recon-trust span {
  font-size: var(--text-small);
  line-height: 1.55;
  color: var(--txt-3);
}

@media (max-width: 900px) {
  .landing-checks.recon-checks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .recon-trust { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .landing-checks.recon-checks { grid-template-columns: 1fr; }
}
