/* PhishDestroy: NameSilo / xmrwallet evidence mirror
   Punchy editorial layout, mobile-first, no JS, dark-mode aware.
   Design influences: classic investigative-journalism pages — wide hero, narrow body. */

:root {
  --ink: #0e0e0e;
  --ink-soft: #2c2c2c;
  --ink-faint: #6b6b6b;
  --rule: #c9c9c9;
  --bg: #ffffff;
  --bg-soft: #f5f5f3;
  --bg-card: #fafaf8;
  --link: #b3271c;          /* investigative red — anchors authority */
  --link-hover: #781b13;
  --accent: #b3271c;
  --bad-bg: #fff3f0;
  --bad-border: #b3271c;
  --good: #1d6d3a;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  font-family: "Charter", "Iowan Old Style", "Source Serif Pro", Georgia, serif;
  margin: 0;
  color: var(--ink);
  line-height: 1.65;
  font-size: 19px;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main { display: block; }

/* ---- Page header / breadcrumb ---- */

.page-header {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 14px;
  color: var(--ink-faint);
  padding: 16px 24px;
  border-bottom: 1px solid #eee;
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: saturate(150%) blur(8px);
  background-color: rgba(255, 255, 255, 0.92);
}

.page-header a {
  color: var(--ink-faint);
  text-decoration: none;
}

.page-header a:hover { color: var(--link); }

/* ---- Hero ---- */

.hero {
  max-width: 1100px;
  margin: 0 auto;
  padding: 64px 24px 32px;
  border-bottom: 1px solid #eee;
}

.kicker {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 13px;
  color: var(--accent);
  margin: 0 0 16px;
  font-weight: 700;
}

h1 {
  font-family: "Playfair Display", Charter, Georgia, serif;
  font-weight: 800;
  font-size: 56px;
  line-height: 1.05;
  letter-spacing: -1.2px;
  margin: 0 0 24px;
  max-width: 900px;
  color: var(--ink);
}

.hero .lede {
  font-size: 22px;
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 760px;
  margin: 0 0 32px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 20px;
  margin: 32px 0;
  padding: 24px 0;
  border-top: 1px solid #e8e8e8;
  border-bottom: 1px solid #e8e8e8;
}

.stat {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  text-align: center;
}

.stat strong {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1.1;
}

.stat span {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--ink-faint);
  margin-top: 4px;
}

.byline {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 14px;
  color: var(--ink-faint);
  margin: 0;
}

@media (max-width: 720px) {
  .hero { padding: 32px 18px 24px; }
  h1 { font-size: 36px; letter-spacing: -0.8px; }
  .hero .lede { font-size: 18px; }
  .stat strong { font-size: 22px; }
  body { font-size: 17px; }
}

/* ---- TOC ---- */

.toc {
  max-width: 740px;
  margin: 32px auto 8px;
  padding: 16px 24px;
  background: var(--bg-soft);
  border-left: 4px solid var(--accent);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 15px;
}

.toc strong {
  display: block;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 11px;
  color: var(--ink-faint);
}

.toc ol { margin: 0; padding-left: 24px; }
.toc li { margin-bottom: 4px; }
.toc a { color: var(--ink-soft); text-decoration: none; }
.toc a:hover { color: var(--link); text-decoration: underline; }

/* ---- Article body ---- */

article {
  max-width: 740px;
  margin: 32px auto 80px;
  padding: 0 24px;
}

h2 {
  font-family: "Playfair Display", Charter, Georgia, serif;
  font-weight: 800;
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: -0.4px;
  margin: 64px 0 20px;
  color: var(--ink);
  scroll-margin-top: 72px;
}

h3 {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-weight: 700;
  font-size: 21px;
  margin: 32px 0 12px;
  color: var(--ink);
}

@media (max-width: 720px) {
  h2 { font-size: 26px; }
  h3 { font-size: 19px; }
  article { padding: 0 18px; }
}

p { margin: 0 0 22px; }

a {
  color: var(--link);
  text-decoration: underline;
  text-decoration-color: rgba(179, 39, 28, 0.4);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

a:hover {
  color: var(--link-hover);
  text-decoration-color: currentColor;
}

a.more {
  display: inline-block;
  margin-top: 8px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid currentColor;
  padding-bottom: 1px;
}

strong { color: var(--ink); }

code {
  font-family: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;
  font-size: 0.9em;
  background: var(--bg-soft);
  padding: 1px 6px;
  border-radius: 3px;
}

/* ---- Blockquote ---- */

blockquote {
  border-left: 3px solid var(--ink);
  padding: 4px 0 4px 24px;
  margin: 0 0 24px;
  color: var(--ink-soft);
  font-style: italic;
}

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

blockquote.quote-big {
  border-left: 4px solid var(--accent);
  font-size: 24px;
  line-height: 1.4;
  font-style: normal;
  font-family: "Playfair Display", Charter, Georgia, serif;
  margin: 32px 0;
  padding: 8px 0 8px 28px;
  color: var(--ink);
}

blockquote.quote-big cite {
  display: block;
  margin-top: 12px;
  font-size: 14px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--ink-faint);
  font-style: normal;
}

/* ---- Lists ---- */

ul, ol { margin: 0 0 24px; padding-left: 28px; }
li { margin-bottom: 6px; }
ul.tight li { margin-bottom: 2px; font-size: 15px; }

/* ---- Tables ---- */

table {
  border-collapse: collapse;
  width: 100%;
  margin: 0 0 28px;
  font-size: 16px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

caption {
  font-style: italic;
  color: var(--ink-faint);
  font-size: 13px;
  margin-bottom: 8px;
  text-align: left;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

th, td {
  text-align: left;
  padding: 10px 14px;
  border-bottom: 1px solid #ececec;
  vertical-align: top;
}

th {
  background: var(--bg-soft);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--ink-faint);
}

tr.row-bad td {
  background: var(--bad-bg);
  font-weight: 600;
}

/* ---- Figures ---- */

figure {
  margin: 32px 0;
  padding: 0;
}

figure img {
  display: block;
  max-width: 100%;
  height: auto;
  border: 1px solid #e3e3e3;
  border-radius: 4px;
  background: #fafafa;
}

figcaption {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 14px;
  color: var(--ink-faint);
  text-align: center;
  margin-top: 12px;
  font-style: italic;
  line-height: 1.45;
}

figure.dual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

figure.dual img { width: 100%; }

figure.dual figcaption {
  grid-column: 1 / -1;
  text-align: left;
}

@media (max-width: 600px) {
  figure.dual { grid-template-columns: 1fr; }
}

/* ---- Lie grid (the four claims) ---- */

.lie-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 24px 0;
}

@media (max-width: 720px) {
  .lie-grid { grid-template-columns: 1fr; }
}

.lie {
  background: var(--bg-card);
  border-left: 4px solid var(--accent);
  padding: 18px 22px;
  border-radius: 0 4px 4px 0;
}

.lie h3 {
  margin-top: 0;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
}

.lie p {
  font-size: 15px;
  line-height: 1.55;
  margin-bottom: 12px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.lie-verdict {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 13px !important;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 !important;
  font-weight: 700;
}

/* ---- Evidence grid ---- */

.evidence-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin: 32px 0;
}

.evidence-grid figure { margin: 0; }

.evidence-grid figcaption {
  text-align: left;
  margin-top: 8px;
  font-size: 13px;
}

/* ---- CTA grid ---- */

.cta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin: 24px 0;
}

.cta {
  background: var(--bg-card);
  border: 1px solid #e6e6e6;
  border-radius: 6px;
  padding: 20px 22px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 15px;
}

.cta h3 {
  margin-top: 0;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--ink-faint);
  font-weight: 700;
  margin-bottom: 8px;
}

.cta p { font-size: 15px; margin-bottom: 8px; }

.cta .muted {
  font-size: 13px;
  color: var(--ink-faint);
  line-height: 1.45;
}

/* ---- Misc ---- */

hr {
  border: none;
  border-top: 1px solid #e6e6e6;
  margin: 56px 0;
}

.hydra {
  text-align: center;
  font-size: 16px;
  color: var(--ink-faint);
  margin: 32px 0;
}

/* ---- Footer ---- */

.page-footer {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 14px;
  color: var(--ink-faint);
  max-width: 740px;
  margin: 64px auto 32px;
  padding: 24px 24px 0;
  border-top: 1px solid #eee;
  text-align: center;
}

.page-footer p { margin: 0 0 8px; }
.page-footer a { color: var(--ink-faint); }
.page-footer a:hover { color: var(--link); }

/* ---- Print ---- */

@media print {
  body { font-size: 11pt; }
  .page-header { position: static; backdrop-filter: none; }
  .toc, .page-footer { display: none; }
  h1 { font-size: 22pt; }
  h2 { font-size: 16pt; margin-top: 24pt; }
  a { color: #000; text-decoration: underline; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #666; }
  figure { page-break-inside: avoid; }
  .lie-grid, .evidence-grid, .cta-grid { display: block; }
  .lie, .cta { page-break-inside: avoid; margin-bottom: 12px; }
}

/* ---- Dark mode ---- */

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #ededed;
    --ink-soft: #d2d2d2;
    --ink-faint: #9a9a9a;
    --rule: #333;
    --bg: #0e0e0e;
    --bg-soft: #1a1a1a;
    --bg-card: #1c1c1c;
    --link: #ff7166;
    --link-hover: #ffa498;
    --accent: #ff7166;
    --bad-bg: #2a1612;
    --bad-border: #ff7166;
  }
  body { background: var(--bg); color: var(--ink); }
  .page-header { background-color: rgba(14, 14, 14, 0.92); border-color: #2a2a2a; }
  figure img { border-color: #2a2a2a; background: #1c1c1c; }
  th { background: #181818; color: #aaa; }
  th, td { border-color: #2a2a2a; }
  hr, .toc, .page-footer, .hero, .cta { border-color: #2a2a2a; }
  .cta { background: var(--bg-card); }
  .lie { background: var(--bg-card); }
  tr.row-bad td { background: var(--bad-bg); }
}
