/* ScamDialer — handcrafted stylesheet */
:root {
  --navy: #0a1828;
  --navy-2: #112844;
  --navy-3: #1c3a5e;
  --crimson: #d92339;
  --crimson-2: #b21a2c;
  --crimson-3: #8a0f1f;
  --amber: #f5b942;
  --amber-2: #d99820;
  --paper: #f7f2e8;
  --paper-2: #efe8d6;
  --ink: #14181f;
  --ink-2: #3a4350;
  --muted: #6c7585;
  --line: #ddd5c2;
  --line-2: #c9bfa3;
  --green: #1f7a47;
  --orange: #c2580d;
  --shadow-sm: 0 1px 2px rgba(10,24,40,.06);
  --shadow: 0 1px 0 rgba(10,24,40,.04), 0 12px 32px -16px rgba(10,24,40,.18);
  --shadow-lg: 0 20px 60px -28px rgba(10,24,40,.4);
  --radius: 10px;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
a { color: var(--crimson-2); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--crimson-3); text-decoration: underline; text-underline-offset: 2px; }
img { max-width: 100%; height: auto; display: block; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Layout */
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 22px; }
.row { display: grid; gap: 36px; grid-template-columns: 1fr; }
@media (min-width: 980px) { .row.with-sidebar { grid-template-columns: minmax(0, 1fr) 320px; } }

/* Alert strip */
.alert-strip { background: linear-gradient(90deg, var(--crimson-3), var(--crimson)); color: #fff; font-size: 13.5px; padding: 8px 0; font-weight: 500; }
.alert-strip .dot { display: inline-block; width: 8px; height: 8px; background: var(--amber); border-radius: 50%; margin-right: 8px; vertical-align: middle; box-shadow: 0 0 0 3px rgba(245,185,66,.25); animation: pulse 2.4s infinite; }
.alert-strip a { color: #fff; text-decoration: underline; text-underline-offset: 2px; font-weight: 600; }
.alert-strip a:hover { color: var(--amber); }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }

/* Header */
.site-header { background: var(--navy); color: #fff; border-bottom: 3px solid var(--crimson); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; flex-wrap: wrap; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: #fff; font-family: 'Fraunces', Georgia, serif; font-weight: 800; font-size: 26px; letter-spacing: -.02em; line-height: 1; }
.brand:hover { text-decoration: none; color: #fff; }
.brand-mark { width: 40px; height: 40px; border-radius: 9px; background: linear-gradient(135deg, var(--crimson), var(--crimson-3)); display: grid; place-items: center; color: #fff; font-weight: 900; font-family: 'Inter', sans-serif; font-size: 16px; letter-spacing: -.04em; box-shadow: inset 0 0 0 1px rgba(255,255,255,.15), 0 4px 14px -4px rgba(217,35,57,.6); }
.brand-text span { color: var(--amber); }
.nav { display: flex; gap: 26px; flex-wrap: wrap; }
.nav a { color: #e9eef5; font-size: 14px; font-weight: 500; letter-spacing: .01em; }
.nav a:hover { color: var(--amber); text-decoration: none; }

/* Search bar */
.searchbar { background: var(--navy-2); padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.06); }
.searchbar form { display: flex; gap: 0; max-width: 720px; margin: 0 auto; box-shadow: 0 8px 24px -10px rgba(0,0,0,.4); border-radius: 8px; overflow: hidden; }
.searchbar input[type=search] { flex: 1; padding: 14px 18px; border: none; font-size: 15px; background: #fff; color: var(--ink); }
.searchbar input[type=search]:focus { outline: 2px solid var(--amber); outline-offset: -2px; }
.searchbar button { padding: 14px 26px; border: none; background: var(--crimson); color: #fff; font-weight: 700; font-size: 14.5px; cursor: pointer; letter-spacing: .02em; transition: background .15s; }
.searchbar button:hover { background: var(--crimson-2); }

/* Hero */
.hero { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 60%, var(--navy-3) 100%); color: #fff; position: relative; overflow: hidden; border-radius: var(--radius); margin-top: 28px; box-shadow: var(--shadow-lg); }
.hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 80% 20%, rgba(217,35,57,.18), transparent 50%), radial-gradient(circle at 20% 90%, rgba(245,185,66,.08), transparent 40%); pointer-events: none; }
.hero-inner { display: grid; grid-template-columns: 1fr; gap: 0; align-items: stretch; position: relative; z-index: 1; }
@media (min-width: 880px) { .hero-inner { grid-template-columns: 1.15fr .85fr; } }
.hero-copy { padding: 56px 36px; max-width: 600px; margin: 0 auto; }
.hero-tag { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; color: var(--amber); text-transform: uppercase; letter-spacing: .14em; margin: 0 0 18px; font-weight: 600; }
.hero-tag::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--amber); }
.hero h1 { font-family: 'Fraunces', Georgia, serif; font-size: clamp(32px, 4.6vw, 50px); line-height: 1.05; margin: 0 0 18px; letter-spacing: -.02em; font-weight: 800; }
.hero h1 em { color: var(--amber); font-style: normal; }
.hero p.lead { font-size: 18px; color: #e3e8f0; margin: 0 0 26px; line-height: 1.55; }
.hero-form { display: flex; gap: 0; box-shadow: 0 12px 28px -12px rgba(0,0,0,.6); border-radius: 8px; overflow: hidden; }
.hero-form input { flex: 1; padding: 14px 18px; border: none; font-size: 15px; font-family: inherit; background: #fff; color: var(--ink); }
.hero-form button { padding: 14px 24px; border: none; background: var(--crimson); color: #fff; font-weight: 700; cursor: pointer; font-family: inherit; transition: background .15s; }
.hero-form button:hover { background: var(--crimson-2); }
.hero-stats { display: flex; gap: 28px; margin-top: 24px; flex-wrap: wrap; }
.hero-stats div { font-size: 13px; color: #b3becf; }
.hero-stats b { display: block; font-size: 22px; color: #fff; font-family: 'Fraunces', Georgia, serif; font-weight: 800; line-height: 1.1; margin-bottom: 2px; }
.hero-img { background: var(--navy-2); min-height: 280px; position: relative; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; min-height: 280px; }
.hero-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy) 0%, transparent 30%); }
@media (max-width: 879px) { .hero-img::after { background: linear-gradient(180deg, transparent 60%, var(--navy)); } }

/* Page heading */
.page-head { padding: 36px 0 18px; border-bottom: 1px solid var(--line); margin-bottom: 30px; }
.page-head h1 { font-family: 'Fraunces', Georgia, serif; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.12; margin: 0 0 10px; letter-spacing: -.02em; font-weight: 800; color: var(--ink); }
.page-head .crumbs { font-size: 12.5px; color: var(--muted); margin-bottom: 10px; text-transform: uppercase; letter-spacing: .08em; font-weight: 500; }
.page-head .crumbs a { color: var(--ink-2); }
.page-head .lead { font-size: 18px; color: var(--ink-2); margin: 0; max-width: 760px; line-height: 1.55; }

/* Section */
.section { padding: 36px 0; }
.section h2 { font-family: 'Fraunces', Georgia, serif; font-size: 28px; margin: 0 0 8px; letter-spacing: -.015em; font-weight: 800; }
.section .section-sub { color: var(--muted); margin: 0 0 22px; font-size: 15.5px; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.section-head a.more { font-size: 14px; font-weight: 600; }

/* Grid + cards */
.grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .grid.cols-2 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 800px) { .grid.cols-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 800px) { .grid.cols-4 { grid-template-columns: repeat(4, 1fr); } }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s, border-color .15s; }
.card:hover { transform: translateY(-1px); box-shadow: 0 8px 24px -10px rgba(10,24,40,.18); border-color: var(--line-2); }
.card h3 { margin: 0 0 6px; font-size: 19px; font-family: 'Fraunces', Georgia, serif; line-height: 1.25; font-weight: 700; }
.card h3 a { color: var(--ink); }
.card .meta { font-size: 13px; color: var(--muted); }
.card .meta strong { color: var(--ink); font-weight: 600; }
.card a.more { display: inline-block; margin-top: 12px; font-size: 14px; font-weight: 600; }
.card-icon { width: 38px; height: 38px; border-radius: 8px; background: var(--paper-2); color: var(--crimson-2); display: grid; place-items: center; font-weight: 800; font-size: 15px; margin-bottom: 12px; font-family: 'JetBrains Mono', monospace; letter-spacing: -.02em; }

/* Number rows */
.number-list { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.number-row { display: grid; grid-template-columns: 1fr auto auto; gap: 16px; padding: 16px 20px; align-items: center; border-bottom: 1px solid var(--line); color: inherit; transition: background .15s; }
.number-row:last-child { border-bottom: none; }
.number-row:hover { background: var(--paper); text-decoration: none; }
.number-row .num { font-family: 'JetBrains Mono', Menlo, monospace; font-weight: 700; font-size: 17.5px; color: var(--ink); letter-spacing: -.01em; }
.number-row .num small { display: block; font-family: 'Inter', sans-serif; font-size: 12.5px; color: var(--muted); font-weight: 500; margin-top: 2px; text-transform: none; letter-spacing: 0; }
.number-row .reports { font-size: 12px; color: var(--muted); white-space: nowrap; text-align: right; text-transform: uppercase; letter-spacing: .06em; font-weight: 500; }
.number-row .reports b { color: var(--ink); display: block; font-size: 17px; font-family: 'JetBrains Mono', monospace; font-weight: 700; letter-spacing: -.02em; text-transform: none; }
.number-row .pill { padding: 5px 11px; border-radius: 999px; font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; white-space: nowrap; }

/* Risk pills */
.pill.danger { background: linear-gradient(180deg, #fce2e6, #f8d4d9); color: var(--crimson-3); box-shadow: inset 0 0 0 1px rgba(178,26,44,.18); }
.pill.warn { background: linear-gradient(180deg, #fde8c4, #fbdca6); color: #7a4900; box-shadow: inset 0 0 0 1px rgba(122,73,0,.15); }
.pill.caution { background: linear-gradient(180deg, #fff1d4, #fde8b8); color: #7a5500; box-shadow: inset 0 0 0 1px rgba(122,85,0,.12); }
.pill.low { background: linear-gradient(180deg, #d8eddf, #c9e3d2); color: var(--green); box-shadow: inset 0 0 0 1px rgba(31,122,71,.18); }
.pill.unknown { background: #ececec; color: #555; }
.pill.danger::before, .pill.warn::before { content: '⚠ '; }

/* Number detail hero */
.number-hero { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; margin-bottom: 28px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.number-hero::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--crimson), var(--amber)); }
.number-hero .sub { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; font-weight: 600; margin-bottom: 6px; }
.number-hero .big { font-family: 'JetBrains Mono', Menlo, monospace; font-size: clamp(34px, 5vw, 46px); font-weight: 800; letter-spacing: -.02em; margin: 0 0 12px; color: var(--ink); }
.stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 24px; }
@media (min-width: 700px) { .stat-grid { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: 14px 16px; }
.stat .label { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.stat .val { font-family: 'Fraunces', Georgia, serif; font-size: 22px; font-weight: 700; margin-top: 4px; line-height: 1.1; color: var(--ink); }
.stat .val.small { font-size: 16px; font-family: 'Inter', sans-serif; font-weight: 600; }

/* Reports */
.report { background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--crimson); border-radius: 8px; padding: 16px 20px; margin-bottom: 12px; box-shadow: var(--shadow-sm); }
.report .report-head { display: flex; gap: 10px; justify-content: space-between; font-size: 13px; color: var(--muted); margin-bottom: 8px; flex-wrap: wrap; }
.report .report-head strong { color: var(--ink); font-weight: 600; }
.report p { margin: 0; }

/* Tactic chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; }
.chip { background: #fef0d8; color: #6b4500; padding: 5px 12px; border-radius: 4px; font-size: 13px; font-weight: 500; }

/* Sidebar */
.sidebar { display: flex; flex-direction: column; gap: 20px; }
.sidebox { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.sidebox h3 { margin: 0 0 14px; font-family: 'Fraunces', Georgia, serif; font-size: 18px; font-weight: 700; padding-bottom: 8px; border-bottom: 2px solid var(--crimson); display: inline-block; letter-spacing: -.01em; }
.sidebox ul { list-style: none; margin: 0; padding: 0; }
.sidebox li { font-size: 14.5px; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.sidebox li:last-child { border-bottom: none; }
.sidebox a { color: var(--ink-2); }
.sidebox a:hover { color: var(--crimson-2); }
.sidebox .small { font-size: 12.5px; color: var(--muted); }

/* Recommended (PBN) box - styled as editorial */
.editorial-rec { background: linear-gradient(180deg, #fff, var(--paper)); border: 1px solid var(--line-2); }
.editorial-rec h3 { border-bottom-color: var(--amber-2); }
.editorial-rec li { padding: 10px 0; }
.editorial-rec a { display: block; color: var(--ink); font-weight: 600; line-height: 1.35; }
.editorial-rec a:hover { color: var(--crimson-2); }
.editorial-rec .src { display: block; font-size: 12px; color: var(--muted); font-weight: 400; margin-top: 2px; }

/* Form */
form.report-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--ink-2); margin-bottom: 6px; text-transform: uppercase; letter-spacing: .04em; }
.field input, .field select, .field textarea { width: 100%; padding: 11px 14px; border: 1px solid var(--line-2); border-radius: 7px; font-family: inherit; font-size: 15px; background: #fff; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--crimson); box-shadow: 0 0 0 3px rgba(217,35,57,.12); }
.field textarea { min-height: 130px; resize: vertical; }
button.btn { background: var(--crimson); color: #fff; border: none; padding: 13px 26px; border-radius: 7px; font-family: inherit; font-weight: 700; font-size: 15px; cursor: pointer; transition: background .15s; }
button.btn:hover { background: var(--crimson-2); }

/* Article prose */
.prose { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); font-family: 'Fraunces', Georgia, serif; font-size: 17.5px; line-height: 1.65; color: var(--ink-2); }
.prose h2 { font-family: 'Fraunces', Georgia, serif; font-size: 26px; margin: 32px 0 14px; color: var(--ink); font-weight: 800; letter-spacing: -.015em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-family: 'Fraunces', Georgia, serif; font-size: 20px; margin: 24px 0 10px; color: var(--ink); font-weight: 700; letter-spacing: -.01em; }
.prose p { margin: 0 0 16px; }
.prose ul, .prose ol { margin: 0 0 16px 24px; padding: 0; font-family: 'Inter', sans-serif; font-size: 16px; }
.prose li { margin-bottom: 8px; }
.prose blockquote { border-left: 3px solid var(--crimson); padding: 10px 18px; margin: 18px 0; color: var(--ink-2); background: var(--paper); border-radius: 0 6px 6px 0; font-style: italic; }
.prose strong { color: var(--ink); }
.prose a { font-weight: 600; }
.prose em { color: var(--ink); font-style: italic; }
.prose code, .prose .mono { font-family: 'JetBrains Mono', monospace; background: var(--paper-2); padding: 1px 6px; border-radius: 3px; font-size: .92em; }

/* Inline link slot styled like editorial reference */
.inline-link { font-family: 'Inter', sans-serif; font-size: 14.5px; background: var(--paper); border-left: 3px solid var(--amber); padding: 12px 16px; margin: 18px 0; color: var(--ink-2); border-radius: 0 6px 6px 0; }
.inline-link strong { color: var(--ink); }
.inline-link a { font-weight: 600; }

/* Adsense placeholders */
.ad-slot { background: repeating-linear-gradient(45deg, #f1ead9, #f1ead9 10px, #ece4cf 10px, #ece4cf 20px); border: 1px dashed var(--line-2); color: #8a7a4a; font-size: 11.5px; text-transform: uppercase; letter-spacing: .12em; text-align: center; padding: 16px; border-radius: 6px; margin: 22px 0; font-weight: 600; }

/* Pagination */
.pagination { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 28px; justify-content: center; }
.pagination a, .pagination span { padding: 9px 14px; border: 1px solid var(--line-2); border-radius: 6px; background: #fff; color: var(--ink-2); font-size: 14px; font-weight: 500; transition: background .15s; }
.pagination a:hover { background: var(--paper); text-decoration: none; }
.pagination .current { background: var(--navy); color: #fff; border-color: var(--navy); font-weight: 700; }

/* Cross-link compact list */
.xlinks { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin: 22px 0; box-shadow: var(--shadow-sm); }
.xlinks h3 { font-family: 'Fraunces', Georgia, serif; font-size: 19px; margin: 0 0 14px; font-weight: 700; padding-bottom: 8px; border-bottom: 2px solid var(--crimson); display: inline-block; }
.xlinks ul { list-style: none; padding: 0; margin: 0; }
.xlinks li { padding: 8px 0; border-bottom: 1px dashed var(--line); display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.xlinks li:last-child { border-bottom: none; }
.xlinks .num { font-family: 'JetBrains Mono', monospace; font-weight: 700; }
.xlinks .what { color: var(--muted); font-size: 13px; }

/* Footer */
.site-footer { background: var(--navy); color: #cdd5e0; margin-top: 56px; padding: 44px 0 26px; border-top: 4px solid var(--crimson); }
.footer-grid { display: grid; gap: 32px; grid-template-columns: 1fr; padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,.07); }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.foot-brand p { font-size: 14px; color: #cdd5e0; margin: 14px 0 8px; line-height: 1.55; }
.site-footer h4 { color: #fff; font-family: 'Fraunces', Georgia, serif; font-size: 17px; margin: 0 0 12px; font-weight: 700; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { padding: 5px 0; }
.site-footer a { color: #cdd5e0; font-size: 14px; }
.site-footer a:hover { color: var(--amber); text-decoration: none; }
.colophon { padding-top: 18px; font-size: 12.5px; color: #8a98ad; text-align: center; }

/* Mobile */
@media (max-width: 599px) {
  .site-header .wrap { padding: 14px 18px; }
  .nav { gap: 14px; }
  .nav a { font-size: 13px; }
  .hero-copy { padding: 36px 22px; }
  .hero-stats { gap: 18px; }
  .number-row { grid-template-columns: 1fr auto; }
  .number-row .reports { display: none; }
  .prose { padding: 22px; font-size: 16.5px; }
  .number-hero { padding: 22px; }
}

/* Helpers */
.muted { color: var(--muted); }
.center { text-align: center; }
.small { font-size: 13.5px; }
.section-band { background: var(--paper-2); margin: 36px -22px; padding: 36px 22px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-band .wrap { padding: 0; }
