/* SniffTest domain report — shared stylesheet */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg: #fdf6ec;
  --orange: #ff5c1a;
  --orange-light: #fff0e8;
  --orange-mid: #ffcfb3;
  --green: #1a8c5b;
  --yellow: #e8b84a;
  --yellow-light: #fff8e6;
  --red: #d63b2f;
  --danger-bg: #c94a3d;
  --danger-light: #fbeceb;
  --text: #1a1208;
  --muted: #8a7460;
  --border: #e8ddd0;
  --white: #fffdf9;
  --sans: 'Nunito', sans-serif;
  --mono: 'Instrument Mono', monospace;
  --nav-logo-size: 1.4rem;
  --nav-link-size: 0.85rem;
  --radius: 20px;
  --radius-sm: 12px;
}
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }

/* ── LAYOUT ── */
.report-wrap { max-width: 720px; margin: 0 auto; padding: 2rem 1.5rem 4rem; }
.btn {
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.65rem 1.4rem; border-radius: 100px;
  font-family: var(--sans); font-weight: 900; font-size: 0.85rem;
  text-decoration: none; border: none; cursor: pointer;
  background: var(--orange); color: #fff;
  transition: transform 0.15s, box-shadow 0.15s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255,92,26,0.25); }
footer .logo {
  font-size: 1.1rem; font-weight: 900; color: var(--text); text-decoration: none;
}

/* ── BREADCRUMB ── */
.breadcrumb {
  display: flex; align-items: center; gap: 0.4rem;
  font-size: 0.8rem; font-weight: 700; color: var(--muted);
  margin-bottom: 1.5rem; list-style: none;
}
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--text); text-decoration: underline; }
.breadcrumb-sep { opacity: 0.4; }
.breadcrumb-current { color: var(--text); font-family: var(--mono); font-size: 0.78rem; max-width: 280px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ── PAGE HEADER ── */
.report-header { margin-bottom: 1.75rem; }
.report-header h1 {
  font-size: clamp(1.65rem, 4vw, 2.2rem);
  font-weight: 900; line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}
.report-meta { font-size: 0.82rem; color: var(--muted); line-height: 1.5; }
.report-meta a { color: var(--orange); font-weight: 700; text-decoration: none; }
.report-meta a:hover { text-decoration: underline; }

/* ── VERDICT CARD ── */
.verdict-card {
  border-radius: var(--radius);
  border: 2px solid var(--border);
  overflow: hidden;
  margin-bottom: 1.75rem;
  background: var(--white);
  box-shadow: 0 4px 24px rgba(26,18,8,0.08);
}
.verdict-head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1.25rem;
  padding: 1.5rem;
  color: #fff;
}
.verdict-head.safe { background: var(--green); }
.verdict-head.warn { background: var(--yellow); color: var(--text); }
.verdict-head.danger { background: var(--danger-bg); }
.verdict-label {
  font-size: 0.7rem; font-weight: 900;
  text-transform: uppercase; letter-spacing: 0.09em;
  opacity: 0.8; margin-bottom: 0.35rem;
}
.verdict-title { font-size: 1.5rem; font-weight: 900; line-height: 1.15; }
.verdict-subtitle { font-size: 0.88rem; margin-top: 0.4rem; opacity: 0.85; line-height: 1.4; }

/* ── VERDICT STAMP (matches homepage .result-stamp) ── */
.verdict-stamp {
  flex-shrink: 0;
  align-self: center;
  pointer-events: none;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  padding: 0.26rem 0.52rem;
  border: 2px solid;
  border-radius: 5px;
  background: rgba(255, 253, 249, 0.84);
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
  transform: scale(1.95) rotate(-2deg);
  transform-origin: center;
}
.verdict-stamp.show {
  animation: stamp-slap 0.45s cubic-bezier(0.45, 1.5, 0.4, 1) 0.55s forwards;
}
@keyframes stamp-slap {
  0%   { opacity: 0;    transform: scale(2.4) rotate(-2deg); }
  60%  { opacity: 1;    transform: scale(0.88) rotate(-12deg); }
  100% { opacity: 0.94; transform: scale(1) rotate(-9deg); }
}
.verdict-stamp.safe   { color: var(--green);     border-color: var(--green); }
.verdict-stamp.warn   { color: #92710a;          border-color: #d4aa10; }
.verdict-stamp.danger { color: var(--danger-bg); border-color: var(--danger-bg); }

.verdict-body { padding: 1.35rem 1.5rem 1.5rem; }
.verdict-reason {
  font-size: 1rem; line-height: 1.65;
  color: var(--text);
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1.5px solid var(--border);
}

/* ── SIGNALS ── */
.signals-heading {
  font-size: 0.7rem; font-weight: 900;
  text-transform: uppercase; letter-spacing: 0.09em;
  color: var(--muted); margin-bottom: 0.75rem;
}
.signal-list { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.signal-item {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 0.75rem;
  align-items: start;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  padding: 0.875rem 1rem;
}
.signal-item.bad { background: #fdf2f1; border-color: rgba(214,59,47,0.2); }
.signal-item.warn { background: var(--yellow-light); border-color: rgba(232,184,74,0.3); }
.signal-icon {
  width: 28px; height: 28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 900; flex-shrink: 0; margin-top: 1px;
}
.signal-item.bad .signal-icon { background: rgba(214,59,47,0.12); color: var(--red); }
.signal-item.warn .signal-icon { background: rgba(232,184,74,0.2); color: #7a5c00; }
.signal-badge {
  display: block;
  font-weight: 900; font-size: 0.82rem;
  color: var(--text);
  margin-bottom: 0.2rem;
}
.signal-text { font-size: 0.88rem; color: var(--muted); line-height: 1.5; }

/* ── CONTEXT ── */
.context-block {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.75rem;
}
.context-block p { font-size: 0.95rem; line-height: 1.65; color: var(--text); }
.context-block p + p { margin-top: 0.75rem; color: var(--muted); font-size: 0.88rem; }

/* ── FACTS TABLE ── */
.facts-section { margin-bottom: 1.75rem; }
.facts-heading,
.community-heading {
  font-size: 0.75rem; font-weight: 900;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--muted); margin-bottom: 0.875rem;
}
.facts {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.facts .fact {
  display: grid;
  grid-template-columns: 40% 1fr;
  gap: 1rem;
  padding: 0.8rem 1.25rem;
  font-size: 0.9rem;
}
.facts .fact + .fact { border-top: 1.5px solid var(--border); }
.facts dt { font-weight: 800; color: var(--muted); }
.facts dd { font-weight: 700; color: var(--text); word-break: break-word; }

/* ── COMMUNITY EVIDENCE ── */
.community { margin-bottom: 1.75rem; }
.community-lead { font-size: 0.88rem; color: var(--muted); line-height: 1.55; margin-bottom: 0.875rem; }
.community-list { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.community-list li {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); padding: 0.75rem 1rem;
}
.community-list a {
  color: var(--text); font-weight: 700; font-size: 0.9rem;
  text-decoration: none; word-break: break-word;
}
.community-list a:hover { color: var(--orange); text-decoration: underline; }

/* ── CTA ── */
.cta-box {
  background: linear-gradient(135deg, var(--orange-light) 0%, #fff8f5 100%);
  border: 2px solid var(--orange-mid);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
  margin-bottom: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.cta-text strong { display: block; font-size: 1rem; font-weight: 900; margin-bottom: 0.2rem; }
.cta-text span { font-size: 0.85rem; color: var(--muted); }
.cta-box .btn { white-space: nowrap; flex-shrink: 0; }

/* ── RELATED ── */
.related { margin-bottom: 2rem; }
.related h2 {
  font-size: 0.75rem; font-weight: 900;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--muted); margin-bottom: 0.875rem;
}
.related-links { display: flex; flex-direction: column; gap: 0.5rem; }
.related-link {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); padding: 0.875rem 1rem;
  text-decoration: none; color: var(--text); font-weight: 700; font-size: 0.92rem;
  transition: border-color 0.15s, transform 0.15s;
}
.related-link:hover { border-color: var(--orange); transform: translateX(3px); }
.related-link-arrow { color: var(--muted); transition: color 0.15s; font-size: 1rem; }
.related-link:hover .related-link-arrow { color: var(--orange); }

/* ── DISCLAIMER ── */
.disclaimer {
  font-size: 0.78rem; color: var(--muted); line-height: 1.65;
  padding-top: 1.25rem; border-top: 1.5px solid var(--border);
}

/* ── FOOTER ── */
footer {
  border-top: 2px solid var(--border); padding: 1.75rem 2rem;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
  background: var(--white);
}
.footer-links { display: flex; gap: 1.25rem; list-style: none; flex-wrap: wrap; }
.footer-links a { font-size: 0.8rem; font-weight: 700; color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--text); }
.footer-copy { font-size: 0.75rem; color: var(--muted); font-weight: 700; }

@media (max-width: 600px) {
  .verdict-stamp {
    font-size: 0.66rem;
    padding: 0.25rem 0.5rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .verdict-stamp.show {
    opacity: 0.94 !important;
    transform: scale(1) rotate(-9deg) !important;
    animation: none !important;
  }
}
@media (max-width: 540px) {
  .verdict-head { grid-template-columns: 1fr; }
  .verdict-stamp { justify-self: start; }
  .cta-box { flex-direction: column; align-items: flex-start; }
  .report-wrap { padding: 1.5rem 1.1rem 3rem; }
  .newsletter-signup-form { flex-direction: column; align-items: stretch; }
  .newsletter-signup-form .btn { width: 100%; justify-content: center; }
}

/* ── NEWSLETTER SIGNUP ── */
.newsletter-signup {
  margin-top: 2rem;
  margin-bottom: 2.75rem;
  padding: 1.75rem 1.5rem;
  background: var(--orange-light);
  border: 2px solid var(--orange-mid);
  border-radius: var(--radius);
  text-align: center;
}
.newsletter-signup h2 {
  font-size: 1.15rem; font-weight: 900;
  letter-spacing: -0.02em; margin-bottom: 0.5rem;
}
.newsletter-signup-micro {
  font-size: 0.88rem; color: var(--muted); font-weight: 700;
  margin-bottom: 1rem; line-height: 1.5;
}
.newsletter-signup-micro a { color: var(--orange); font-weight: 800; text-decoration: none; }
.newsletter-signup-form {
  display: flex; flex-wrap: wrap; gap: 0.65rem;
  justify-content: center; max-width: 460px; margin: 0 auto;
}
.newsletter-signup-input {
  flex: 1; min-width: 12rem; min-height: 44px;
  background: var(--white); border: 2px solid var(--orange-mid);
  border-radius: 100px; padding: 0.75rem 1.2rem;
  font-family: var(--sans); font-size: 0.9rem; font-weight: 700;
  color: var(--text); outline: none;
}
.newsletter-signup-input:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255,92,26,0.12);
}
.newsletter-signup-success,
.newsletter-signup-warning,
.newsletter-signup-error {
  display: none; margin-top: 1rem;
  font-size: 0.88rem; font-weight: 700; line-height: 1.5;
}
.newsletter-signup-success { color: var(--green); }
.newsletter-signup-warning { color: #9a6500; }
.newsletter-signup-error { color: var(--red); }
.newsletter-signup-success.show,
.newsletter-signup-warning.show,
.newsletter-signup-error.show { display: block; }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
