:root {
  color-scheme: light;
  --bg: #FAF6F1;
  --bg-card: #FFFFFF;
  --bg-warm: #F2EBE0;
  --bg-soft: #FFFAF3;
  --bg-deep: #1A1A1A;
  --bg-nav: rgba(250, 246, 241, 0.82);
  --ink: #1A1A1A;
  --ink-soft: #4A4A4A;
  --ink-muted: #8A8275;
  --line: #E8DFD2;
  --line-strong: #D4C9B8;
  --line-subtle: rgba(26, 26, 26, 0.06);
  --primary: #2C5F5D;
  --primary-hover: #1F4744;
  --warn: #C85A3C;
  --warn-bg: #FDF0EB;
  --warn-ink: #6E2E1A;
  --safe: #5A7A5E;
  --safe-bg: #EFF3EB;
  --safe-ink: #2D4530;
  --danger: #A8321A;
  --danger-bg: #F9E7E1;
  --danger-ink: #5C1A0E;
  --modal-scrim: rgba(26, 26, 26, 0.55);
  --modal-scrim-strong: rgba(26, 26, 26, 0.72);
  --shadow-soft: 0 1px 2px rgba(26,26,26,0.04), 0 4px 16px rgba(26,26,26,0.05);
  --shadow-modal: 0 8px 32px rgba(0, 0, 0, 0.18);
  --shadow-modal-strong: 0 8px 32px rgba(0, 0, 0, 0.25);
  --radius-md: 12px;
  --radius-lg: 20px;
}

[data-theme="dark"] {
  color-scheme: dark;
  --bg: #15120F;
  --bg-card: #1F1B17;
  --bg-warm: #2A2520;
  --bg-soft: #1B1814;
  --bg-deep: #0F0C0A;
  --bg-nav: rgba(15, 13, 11, 0.82);
  --ink: #F0EBE3;
  --ink-soft: #B5AEA3;
  --ink-muted: #877F73;
  --line: #3A332C;
  --line-strong: #4A4239;
  --line-subtle: rgba(240, 235, 227, 0.08);
  --primary: #6BB5B0;
  --primary-hover: #88CDC8;
  --warn: #F08660;
  --warn-bg: #3A2520;
  --warn-ink: #F4B59A;
  --safe: #8AB390;
  --safe-bg: #1F2D22;
  --safe-ink: #B5D6BA;
  --danger: #E07060;
  --danger-bg: #3A1F1A;
  --danger-ink: #F4A294;
  --modal-scrim: rgba(0, 0, 0, 0.7);
  --modal-scrim-strong: rgba(0, 0, 0, 0.82);
  --shadow-soft: 0 1px 2px rgba(0,0,0,0.5), 0 4px 16px rgba(0,0,0,0.45);
  --shadow-modal: 0 12px 40px rgba(0, 0, 0, 0.7);
  --shadow-modal-strong: 0 12px 40px rgba(0, 0, 0, 0.85);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Geist', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' /%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.035 0' /%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' /%3E%3C/svg%3E");
}

.serif { font-family: 'Fraunces', Georgia, serif; letter-spacing: -0.01em; }
.italic { font-style: italic; }

.container {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

/* === NAV === */
nav {
  padding: 16px 0;
  position: sticky;
  top: 0;
  background: var(--bg-nav);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  z-index: 5;
  border-bottom: 1px solid transparent;
}
nav.is-scrolled { border-bottom-color: var(--line); }
nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
section.block, .hero { scroll-margin-top: 72px; }
details.faq { scroll-margin-top: 72px; }
#result { scroll-margin-top: 88px; }
.wordmark {
  font-family: 'Fraunces', serif;
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
}
.wordmark em {
  font-style: italic;
  color: var(--primary);
  font-weight: 500;
}
.wordmark::after {
  content: "?";
  color: var(--primary);
  font-style: italic;
}
.nav-links {
  display: flex;
  gap: 24px;
  font-size: 14px;
}
.nav-links a {
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--ink); }
@media (max-width: 480px) {
  .nav-links { display: none; }
}

/* === HERO === */
.hero {
  padding: 72px 0 40px;
  text-align: center;
}
@media (max-width: 600px) { .hero { padding: 48px 0 32px; } }
.tagline {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--ink-muted);
  margin: 0 0 24px;
  font-weight: 500;
}
h1.headline {
  font-family: 'Fraunces', serif;
  font-size: clamp(48px, 9vw, 88px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin: 0 0 24px;
  color: var(--ink);
}
h1.headline em {
  font-style: italic;
  font-weight: 500;
  color: var(--primary);
}
.subhead {
  font-size: 19px;
  color: var(--ink-soft);
  max-width: 540px;
  margin: 0 auto 40px;
  line-height: 1.5;
}

/* === CHECKER === */
.checker {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 8px;
  box-shadow: var(--shadow-soft);
  text-align: left;
  transition: border-color 0.2s;
}
.checker:focus-within { border-color: var(--primary); }
textarea.input {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  font-family: inherit;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  padding: 20px 20px 8px;
  resize: none;
  min-height: 120px;
  max-height: 320px;
}
textarea.input::placeholder { color: var(--ink-muted); }
.checker-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px 12px;
  gap: 12px;
  flex-wrap: wrap;
}
.checker-meta {
  font-size: 13px;
  color: var(--ink-muted);
  display: flex;
  gap: 14px;
  align-items: center;
}
.checker-meta span { display: inline-flex; align-items: center; gap: 6px; }
.checker-meta .dot {
  width: 4px; height: 4px;
  background: var(--ink-muted);
  border-radius: 50%;
}
.btn {
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  background: var(--primary);
  color: white;
  border: none;
  padding: 12px 22px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn:hover { background: var(--primary-hover); }
.btn:active { transform: scale(0.98); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.btn-secondary {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-strong);
}
.btn-secondary:hover {
  background: var(--bg-warm);
  border-color: var(--ink-muted);
}
.microcopy {
  font-size: 13px;
  color: var(--ink-muted);
  margin: 16px 0 0;
  text-align: center;
}
.help-strip {
  text-align: center;
  margin: 16px 0 0;
  font-size: 13px;
}
.help-strip a {
  display: inline-block;
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  transition: background 0.15s, border-color 0.15s;
}
.help-strip a:hover {
  background: var(--bg-warm);
  border-color: var(--line-strong);
}
.stats-grid-main {
  margin-top: 40px;
}
.stats-cta {
  text-align: center;
  margin: 28px 0 0;
  font-size: 15px;
}
.checker-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.btn-icon {
  padding: 10px 16px;
}
.btn-icon svg { display: block; }
.image-preview {
  position: relative;
  display: inline-block;
  margin: 4px 16px 4px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 6px;
  background: var(--bg-warm);
  max-width: 200px;
}
.image-preview[hidden] { display: none; }
.image-preview img {
  display: block;
  max-width: 100%;
  max-height: 120px;
  border-radius: 6px;
}
.image-remove {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--bg-card);
  color: var(--ink);
  font-size: 16px;
  line-height: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  box-shadow: var(--shadow-soft);
}
.image-remove:hover { background: var(--warn-bg); color: var(--warn-ink); }
.qr-hint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 4px 16px 8px;
  padding: 8px 12px;
  background: var(--bg-warm);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  font-size: 13px;
  color: var(--ink-soft);
  max-width: 100%;
  flex-wrap: wrap;
}
.qr-hint[hidden] { display: none; }
.qr-hint-icon { flex-shrink: 0; color: var(--ink-muted); }
.qr-hint-label { font-weight: 600; color: var(--ink); }
.qr-hint-url {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  color: var(--ink-soft);
  word-break: break-all;
  overflow-wrap: anywhere;
}
.fallback-note {
  font-size: 12px;
  color: var(--ink-muted);
  margin: 16px 0 0;
  text-align: center;
  font-style: italic;
}
.result-lang-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  margin: 0 0 20px;
  background: var(--bg-warm);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 13px;
  color: var(--ink-soft);
  scroll-margin-top: 80px;
}
.result-lang-banner .btn {
  padding: 8px 14px;
  font-size: 13px;
  flex-shrink: 0;
}
@media (max-width: 480px) {
  .result-lang-banner { flex-direction: column; align-items: stretch; }
  .result-lang-banner .btn { width: 100%; }
}

/* === RECOMMENDED TOOLS === */
.tools-disclosure {
  font-size: 12px;
  color: var(--ink-muted);
  margin: 0 0 12px;
  font-style: italic;
}
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}
.tool-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: var(--bg-warm);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 16px;
  transition: border-color 0.15s, background 0.15s, transform 0.1s;
}
.tool-card:hover {
  border-color: var(--ink-muted);
  background: var(--bg-card);
}
.tool-card:active { transform: translateY(1px); }
.tool-name {
  font-weight: 500;
  font-size: 15px;
  margin: 0 0 4px;
  color: var(--ink);
}
.tool-desc {
  font-size: 13px;
  color: var(--ink-soft);
  margin: 0 0 12px;
  line-height: 1.45;
  flex: 1;
}
.tool-cta {
  font-size: 13px;
  color: var(--primary);
  font-weight: 500;
}

.foot-byline {
  font-size: 13px;
  color: var(--ink-muted);
  margin: 12px 0 0;
  font-style: italic;
}

/* === FOLLOWUP CARD === */
.followup-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-top: 20px;
  box-shadow: var(--shadow-soft);
}
@media (max-width: 600px) { .followup-card { padding: 22px; } }
.followup-subtitle {
  font-size: 13px;
  color: var(--ink-muted);
  margin: 0 0 16px;
}
.followup-thread { display: flex; flex-direction: column; gap: 16px; margin-bottom: 16px; }
.followup-thread:empty { margin-bottom: 0; }
.followup-pair {
  border-left: 2px solid var(--line-strong);
  padding: 4px 0 4px 16px;
}
.followup-q {
  font-weight: 500;
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 15px;
}
.followup-a {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.55;
  white-space: pre-wrap;
}
.followup-form {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.followup-form[hidden] { display: none; }
.followup-form textarea {
  flex: 1;
  font-family: inherit;
  font-size: 15px;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: white;
  resize: vertical;
  min-height: 56px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.15s;
}
.followup-form textarea:focus { border-color: var(--primary); }
.followup-form .btn { flex-shrink: 0; padding: 12px 20px; }
@media (max-width: 500px) {
  .followup-form { flex-direction: column; }
  .followup-form .btn { width: 100%; }
}
.followup-error {
  font-size: 13px;
  color: var(--danger-ink);
  background: var(--danger-bg);
  padding: 10px 12px;
  border-radius: 8px;
  margin: 12px 0 0;
}
.followup-max {
  font-size: 13px;
  color: var(--ink-muted);
  font-style: italic;
  margin: 0;
  text-align: center;
}

/* === REPORT MODAL === */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: var(--modal-scrim);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 50;
  padding: 20px;
  animation: fadeIn 0.18s ease-out;
}
.modal-overlay[hidden] { display: none; }
.modal-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  max-width: 480px;
  width: 100%;
  padding: 32px;
  position: relative;
  box-shadow: var(--shadow-modal);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
}
@media (max-width: 500px) { .modal-card { padding: 24px; } }
.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: transparent;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: var(--ink-muted);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  padding: 0;
}
.modal-close:hover { background: var(--bg-warm); color: var(--ink); }
.modal-title {
  font-family: 'Fraunces', serif;
  font-size: 28px;
  font-weight: 400;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}
.modal-sub {
  color: var(--ink-soft);
  font-size: 15px;
  margin: 0 0 22px;
  line-height: 1.5;
}
.modal-form { display: flex; flex-direction: column; gap: 14px; }
.modal-form[hidden] { display: none; }
.modal-field { display: flex; flex-direction: column; gap: 6px; }
.modal-label {
  font-size: 13px;
  color: var(--ink-soft);
  font-weight: 500;
}
.modal-form textarea,
.modal-form input {
  font-family: inherit;
  font-size: 15px;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: white;
  color: var(--ink);
  outline: none;
  transition: border-color 0.15s;
}
.modal-form textarea { resize: vertical; min-height: 110px; }
.modal-form textarea:focus,
.modal-form input:focus { border-color: var(--primary); }
.modal-error {
  font-size: 13px;
  color: var(--danger-ink);
  margin: 0;
  background: var(--danger-bg);
  padding: 10px 12px;
  border-radius: 8px;
}
.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 4px;
}
.modal-success { text-align: center; padding: 20px 0 4px; }
.modal-card.is-success .modal-title,
.modal-card.is-success .modal-sub { display: none; }
.cf-turnstile { min-height: 65px; }

/* === RECOVERY MODAL === */
.recovery-card { max-width: 560px; }
.recovery-instruction {
  font-size: 13px;
  color: var(--ink-soft);
  margin: 0 0 10px;
  font-weight: 500;
}
.recovery-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}
.recovery-option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: var(--ink);
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.recovery-option:hover { border-color: var(--line-strong); }
.recovery-option input { margin-top: 3px; cursor: pointer; accent-color: var(--primary); }
.recovery-form[hidden] { display: none; }
.recovery-country {
  font-family: inherit;
  font-size: 15px;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: white;
  color: var(--ink);
  outline: none;
  transition: border-color 0.15s;
  width: 100%;
}
.recovery-country:focus { border-color: var(--primary); }

.recovery-result { margin-top: 8px; }
.recovery-intro {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 20px;
  line-height: 1.4;
  font-weight: 400;
  color: var(--ink);
  margin: 0 0 24px;
  letter-spacing: -0.01em;
}
.recovery-section {
  margin-top: 18px;
  padding: 20px 22px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
}
.recovery-section.urgent { background: var(--danger-bg); border-color: rgba(168, 50, 26, 0.12); }
.recovery-section.today { background: var(--warn-bg); border-color: rgba(200, 90, 60, 0.12); }
.recovery-section.protect { background: var(--safe-bg); border-color: rgba(90, 122, 94, 0.18); }
.recovery-section.report { background: var(--bg-warm); border-color: var(--line); }
.recovery-section-h {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink);
  margin: 0 0 14px;
}
.recovery-section.urgent .recovery-section-h { color: var(--danger-ink); }
.recovery-section.today .recovery-section-h { color: var(--warn-ink); }
.recovery-section.protect .recovery-section-h { color: var(--safe-ink); }
.recovery-section.report .recovery-section-h { color: var(--ink); }
.recovery-section-icon { font-size: 20px; line-height: 1; }
.recovery-item {
  display: flex;
  gap: 16px;
  padding: 10px 0;
  border-top: 1px solid var(--line-subtle);
}
.recovery-item:first-of-type { border-top: none; padding-top: 4px; }
.recovery-num {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 28px;
  color: var(--primary);
  line-height: 1;
  flex-shrink: 0;
  width: 32px;
}
.recovery-item-body { flex: 1; min-width: 0; }
.recovery-item-action {
  font-weight: 500;
  margin: 0 0 4px;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.4;
}
.recovery-item-why {
  font-size: 14px;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.5;
}
.report-card {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--line-subtle);
  align-items: flex-start;
}
.report-card:first-of-type { border-top: none; padding-top: 4px; }
.report-card-icon { font-size: 22px; line-height: 1; flex-shrink: 0; margin-top: 2px; }
.report-card-body { flex: 1; min-width: 0; }
.report-card-agency { font-weight: 500; color: var(--ink); margin: 0 0 4px; font-size: 15px; }
.report-card-country {
  font-size: 11px;
  color: var(--ink-muted);
  margin-left: 6px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.report-card-link { display: block; margin-top: 2px; font-size: 14px; word-break: break-all; }
.report-card-phone { display: block; margin-top: 4px; font-size: 14px; color: var(--ink-soft); }

/* === COFFEE THANK YOU OVERLAY === */
.coffee-overlay {
  position: fixed;
  inset: 0;
  background: var(--modal-scrim-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 20px;
  animation: fadeIn 0.2s ease-out;
}
.coffee-overlay[hidden] { display: none; }
.coffee-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  max-width: 420px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-modal-strong);
  animation: coffeePop 0.32s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}
@keyframes coffeePop {
  from { opacity: 0; transform: scale(0.88); }
  to { opacity: 1; transform: scale(1); }
}
.coffee-emoji {
  font-size: 64px;
  line-height: 1;
  margin: 0 0 16px;
}
.coffee-thanks {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 34px;
  font-weight: 400;
  color: var(--primary);
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}
.coffee-body {
  color: var(--ink-soft);
  font-size: 15px;
  margin: 0 0 22px;
  line-height: 1.5;
}
.coffee-redirect {
  color: var(--ink-muted);
  font-size: 13px;
  font-style: italic;
  margin: 0;
}

/* === LANGUAGE PICKER === */
.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
  padding: 0;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.theme-toggle:hover { color: var(--ink); border-color: var(--ink-muted); }
.theme-toggle:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.theme-toggle svg { width: 16px; height: 16px; display: block; }
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }
[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
.lang-select {
  font-family: inherit;
  font-size: 14px;
  padding: 6px 26px 6px 10px;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--ink-soft);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'><path d='M1 3l4 4 4-4' stroke='%238A8275' stroke-width='1.4' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 10px center;
  transition: border-color 0.15s, color 0.15s;
}
.lang-select:hover { border-color: var(--ink-muted); color: var(--ink); }
.lang-select:focus { outline: none; border-color: var(--primary); }

/* === RESULT === */
#result {
  display: none;
  margin-top: 32px;
  animation: fadeIn 0.4s ease-out;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.verdict-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: left;
  box-shadow: var(--shadow-soft);
}
@media (max-width: 600px) { .verdict-card { padding: 24px; } }
.verdict-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.pattern-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-muted);
  font-weight: 600;
  margin: 0 0 12px;
}
.pattern-dot {
  width: 6px;
  height: 6px;
  background: var(--warn);
  border-radius: 50%;
  display: inline-block;
}
.link-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.link-row {
  padding: 14px 16px;
  margin-bottom: 10px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--bg);
}
.link-row:last-child { margin-bottom: 0; }
.link-row.safe-yes {
  background: var(--safe-bg);
  border-color: rgba(90, 122, 94, 0.22);
}
.link-row.safe-no {
  background: var(--danger-bg);
  border-color: rgba(168, 50, 26, 0.22);
}
.link-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 4px 10px 4px 8px;
  border-radius: 999px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  margin-bottom: 10px;
}
.link-row.safe-yes .link-status {
  color: var(--safe-ink);
  border-color: rgba(90, 122, 94, 0.32);
}
.link-row.safe-no .link-status {
  color: var(--danger-ink);
  border-color: rgba(168, 50, 26, 0.32);
}
.link-status-icon {
  font-size: 13px;
  line-height: 1;
  font-weight: 700;
}
.link-source-badge {
  margin-left: 4px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--bg-warm);
  color: var(--ink-muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--line);
}
.link-url {
  font-family: 'Geist Mono', SFMono-Regular, Menlo, monospace;
  font-size: 13px;
  color: var(--ink);
  margin: 0 0 4px;
  word-break: break-all;
}
.link-url-text { font-family: inherit; }
.link-redirect {
  font-size: 13px;
  color: var(--ink-soft);
  margin: 0 0 4px;
}
.link-redirect .link-final {
  font-family: 'Geist Mono', SFMono-Regular, Menlo, monospace;
  word-break: break-all;
  color: var(--ink);
}
.link-threats {
  font-size: 13px;
  color: var(--warn-ink);
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.threat-pill {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--danger-bg);
  color: var(--danger-ink);
}
.link-safe {
  font-size: 13px;
  color: var(--safe-ink);
  margin: 0;
}
.link-source {
  font-size: 13px;
  margin: 4px 0 0;
  display: flex;
  align-items: baseline;
  gap: 8px;
  line-height: 1.4;
}
.link-source-icon {
  flex-shrink: 0;
  width: 14px;
  text-align: center;
  font-weight: 700;
  font-size: 13px;
}
.link-source-name {
  color: var(--ink);
  font-weight: 500;
}
.link-source-val { color: var(--ink-soft); }
.link-source.src-good .link-source-icon { color: var(--safe-ink); }
.link-source.src-bad .link-source-icon { color: var(--danger-ink); }
.link-source.src-bad .link-source-val { color: var(--danger-ink); font-weight: 500; }
.link-source.src-warn .link-source-icon { color: var(--warn-ink); }
.link-source.src-warn .link-source-val { color: var(--warn-ink); }
.link-source.src-skip { color: var(--ink-muted); }
.link-source.src-skip .link-source-icon,
.link-source.src-skip .link-source-name,
.link-source.src-skip .link-source-val { color: var(--ink-muted); }
.link-source em { font-style: italic; }
.verdict-badge.danger { background: var(--danger-bg); color: var(--danger-ink); }
.verdict-badge.warn { background: var(--warn-bg); color: var(--warn-ink); }
.verdict-badge.safe { background: var(--safe-bg); color: var(--safe-ink); }
.verdict-summary {
  font-family: 'Fraunces', serif;
  font-size: 26px;
  line-height: 1.25;
  font-weight: 400;
  margin: 0 0 24px;
  letter-spacing: -0.02em;
}
.section-h {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--ink-muted);
  font-weight: 600;
  margin: 32px 0 12px;
}
.red-flag {
  border-left: 2px solid var(--warn);
  padding: 10px 0 10px 16px;
  margin-bottom: 14px;
}
.red-flag-title {
  font-weight: 500;
  margin: 0 0 4px;
  color: var(--ink);
}
.red-flag-expl {
  font-size: 15px;
  color: var(--ink-soft);
  margin: 0;
}
.action-list {
  margin: 0;
  padding-left: 0;
  list-style: none;
}
.action-list li {
  padding: 12px 0 12px 30px;
  position: relative;
  font-size: 16px;
  border-bottom: 1px solid var(--line);
}
.action-list li:last-child { border-bottom: none; }
.action-list.do li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 12px;
  color: var(--safe);
  font-weight: 600;
}
.action-list.dont li::before {
  content: "×";
  position: absolute;
  left: 4px;
  top: 9px;
  color: var(--warn);
  font-weight: 600;
  font-size: 20px;
}
.share-box {
  background: var(--bg-warm);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-top: 24px;
}
.share-text {
  background: white;
  border: 1px dashed var(--line-strong);
  border-radius: 8px;
  padding: 14px 16px;
  font-size: 15px;
  color: var(--ink-soft);
  margin: 12px 0;
  font-style: italic;
  line-height: 1.5;
}

/* === SECTIONS === */
section.block { padding: 80px 0; }
@media (max-width: 600px) { section.block { padding: 56px 0; } }
.eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--primary);
  font-weight: 600;
  margin: 0 0 16px;
}
h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(32px, 5vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  font-weight: 400;
  margin: 0 0 24px;
}
h2 em { font-style: italic; color: var(--primary); }
.lede {
  font-size: 19px;
  color: var(--ink-soft);
  max-width: 580px;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; gap: 24px; } }
.step-num {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 56px;
  line-height: 1;
  color: var(--primary);
  opacity: 0.45;
  margin-bottom: 8px;
}
.step-title {
  font-weight: 500;
  margin: 0 0 6px;
  font-size: 17px;
}
.step-body {
  font-size: 15px;
  color: var(--ink-soft);
  margin: 0;
}

/* === FAMILY === */
.family-block {
  background: var(--bg-deep);
  color: #F2EBE0;
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  position: relative;
  overflow: hidden;
}
@media (max-width: 600px) { .family-block { padding: 36px 28px; } }
.family-block .eyebrow { color: #E8B98E; }
.family-block h2 { color: #F2EBE0; }
.family-block .lede { color: #C7BFB1; }
.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 40px 0;
  padding-top: 32px;
  border-top: 1px solid rgba(242,235,224,0.15);
}
@media (max-width: 600px) { .stat-row { grid-template-columns: 1fr; gap: 16px; } }
.stat .n {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 40px;
  letter-spacing: -0.02em;
  color: #E8B98E;
  line-height: 1;
  margin: 0 0 8px;
}
.stat p {
  font-size: 14px;
  color: #C7BFB1;
  margin: 0;
  line-height: 1.4;
}

/* === SAFE WORD === */
.safeword-tool {
  background: var(--bg-card);
  color: var(--ink);
  border-radius: var(--radius-md);
  padding: 32px;
  margin-top: 32px;
}
@media (max-width: 600px) { .safeword-tool { padding: 24px; } }
.safeword-display {
  font-family: 'Fraunces', serif;
  font-size: clamp(26px, 5vw, 36px);
  font-weight: 400;
  letter-spacing: -0.01em;
  padding: 28px 0;
  margin: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
  color: var(--ink);
}
.safeword-display.empty { color: var(--ink-muted); font-style: italic; font-size: 18px; }
.safeword-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* === ABOUT === */
.about-block {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  text-align: center;
  box-shadow: var(--shadow-soft);
}
@media (max-width: 600px) { .about-block { padding: 40px 28px; } }
.about-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 24px;
  display: block;
  border: 3px solid var(--bg);
  box-shadow: 0 4px 16px rgba(26, 26, 26, 0.12);
}
.about-eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--primary);
  font-weight: 600;
  margin: 0 0 14px;
}
.about-heading {
  font-family: 'Fraunces', serif;
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 400;
  font-style: italic;
  color: var(--ink);
  margin: 0 0 22px;
}
.about-story {
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 560px;
  margin: 0 auto 24px;
}
.about-signature {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 15px;
  color: var(--ink-muted);
  margin: 0;
}

/* === FAQ === */
details.faq {
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}
details.faq summary {
  cursor: pointer;
  font-weight: 500;
  font-size: 17px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  color: var(--ink);
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after {
  content: "+";
  font-family: 'Fraunces', serif;
  font-size: 28px;
  font-weight: 300;
  color: var(--primary);
  transition: transform 0.2s;
  flex-shrink: 0;
}
details.faq[open] summary::after { transform: rotate(45deg); }
details.faq[open] summary { margin-bottom: 12px; }
details.faq p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* === FOOTER === */
footer {
  padding: 64px 0 32px;
  border-top: 1px solid var(--line);
  margin-top: 60px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}
@media (max-width: 600px) { .foot-grid { grid-template-columns: 1fr; gap: 32px; } }
.foot h3 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 600;
  color: var(--ink-muted);
  margin: 0 0 16px;
}
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot li { padding: 4px 0; }
.foot a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 14px;
}
.foot a:hover { color: var(--ink); }
.foot-bottom {
  font-size: 13px;
  color: var(--ink-muted);
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.helper-link {
  color: var(--primary);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: rgba(44,95,93,0.3);
}
.helper-link:hover { text-decoration-color: var(--primary); }

.spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* === TRANSPARENCY PAGE === */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 32px 0 16px;
}
@media (min-width: 720px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }
}
.stat-tile {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  text-align: left;
}
.stat-tile-n {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 48px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--primary);
  margin: 0 0 10px;
}
.stat-tile-l {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-muted);
  font-weight: 600;
}
.block-note {
  font-size: 13px;
  color: var(--ink-muted);
  margin: 12px 0 0;
  font-style: italic;
}
.policy-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
}
.policy-list li {
  position: relative;
  padding: 14px 0 14px 26px;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.55;
}
.policy-list li:last-child { border-bottom: none; }
.policy-list li::before {
  content: "·";
  position: absolute;
  left: 6px;
  top: 12px;
  font-size: 22px;
  color: var(--primary);
}
.policy-list li b, .policy-list li strong { color: var(--ink); font-weight: 500; }
.back-link {
  font-size: 14px;
  color: var(--ink-soft);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
.back-link:hover { color: var(--ink); border-color: var(--line-strong); }

/* Common scam guide cards */
.scam-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 24px;
}
@media (min-width: 640px) {
  .scam-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .scam-grid { grid-template-columns: repeat(3, 1fr); }
}
.scam-card {
  display: block;
  padding: 20px 20px 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg-soft, #fffaf3);
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.scam-card:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
  box-shadow: 0 6px 20px rgba(0,0,0,0.05);
}
.scam-card:active { transform: translateY(0); }
.scam-card-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin: 0 0 10px;
}
.scam-card-title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 22px;
  font-weight: 400;
  font-style: italic;
  color: var(--ink);
  margin: 0 0 8px;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.scam-card-desc {
  font-size: 14px;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.5;
}

/* Skip-to-content link: visible only on keyboard focus. */
.skip-link {
  position: absolute;
  left: 8px;
  top: -40px;
  background: var(--primary);
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  z-index: 1000;
  transition: top 0.15s ease;
}
.skip-link:focus {
  top: 8px;
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

/* Spinning country globe under the stats section. */
.globe-wrap {
  position: relative;
  margin-top: 24px;
  background: #0b1220;
  border-radius: 18px;
  overflow: hidden;
}
#globe-canvas {
  width: 100%;
  height: 520px;
  cursor: grab;
  display: block;
}
#globe-canvas:active { cursor: grabbing; }
#globe-canvas canvas { display: block; margin: 0 auto; }
.globe-reset {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(11, 18, 32, 0.85);
  color: rgba(255, 255, 255, 0.85);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  z-index: 2;
}
.globe-reset:hover { background: rgba(11, 18, 32, 1); color: #fff; }
.globe-reset:focus-visible { outline: 2px solid #5b9eff; outline-offset: 2px; }
.globe-loading {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.55);
  font-size: 14px;
  letter-spacing: 0.04em;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.globe-loading.hidden { opacity: 0; }
.globe-top-list {
  position: absolute;
  top: 14px;
  right: 14px;
  margin: 0;
  padding: 14px 16px;
  width: 220px;
  max-height: calc(100% - 28px);
  overflow-y: auto;
  background: rgba(11, 18, 32, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  list-style: none;
  color: rgba(255, 255, 255, 0.92);
  font-size: 13px;
  pointer-events: auto;
  z-index: 1;
  backdrop-filter: blur(6px);
}
@media (max-width: 720px) {
  .globe-top-list {
    position: static;
    width: 100%;
    margin: 0;
    border: none;
    border-radius: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    max-height: 220px;
  }
}
.globe-top-list li {
  display: grid;
  grid-template-columns: 22px 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.globe-top-list li:last-child { border-bottom: none; }
.globe-top-list .rank { color: rgba(255, 255, 255, 0.45); font-variant-numeric: tabular-nums; }
.globe-top-list .name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.globe-top-list .count { font-variant-numeric: tabular-nums; color: rgba(255, 255, 255, 0.7); }

/* Verdict header row: badge on the left, Share button on the right, on
   the same baseline so the card does not have an awkward floating button. */
.verdict-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.verdict-header .verdict-badge {
  margin-bottom: 0;
}

/* === Share button. One pill button; clicks capture a compact branded card
       off-DOM and either open the native share sheet with the PNG, or
       download it as a fallback. === */
.result-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
}
.result-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft);
  background: var(--bg-warm);
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.result-action-btn:hover {
  background: white;
  color: var(--ink);
  border-color: var(--line-strong);
}
.result-action-btn:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
.result-action-btn:disabled { opacity: 0.55; cursor: progress; }
.share-hint {
  font-size: 12px;
  color: var(--ink-soft);
}

/* === Cookie consent banner === */
#cookie-banner {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  max-width: 640px;
  margin: 0 auto;
  z-index: 1000;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: #1f1f1f;
  color: #fff;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  font-size: 14px;
  line-height: 1.4;
}
#cookie-banner p {
  margin: 0;
  flex: 1 1 240px;
  color: rgba(255, 255, 255, 0.92);
}
#cookie-banner a {
  color: #b3e5d5;
  text-decoration: underline;
}
#cookie-banner button {
  cursor: pointer;
  font-family: inherit;
  transition: background 0.12s, color 0.12s;
}
/* Primary OK button: white pill, the obvious thing to click. */
#cookie-banner button.primary {
  background: #fff;
  color: #1f1f1f;
  border: 1px solid #fff;
  padding: 8px 22px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 999px;
}
#cookie-banner button.primary:hover { background: #e9e2d6; border-color: #e9e2d6; }
#cookie-banner button.primary:focus-visible { outline: 2px solid #b3e5d5; outline-offset: 2px; }
/* Opt out: quiet text link, intentionally less prominent. */
#cookie-banner button.subtle {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.55);
  padding: 4px 6px;
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(255, 255, 255, 0.25);
}
#cookie-banner button.subtle:hover {
  color: rgba(255, 255, 255, 0.9);
  text-decoration-color: rgba(255, 255, 255, 0.6);
}
#cookie-banner button.subtle:focus-visible {
  outline: 2px solid rgba(179, 229, 213, 0.6);
  outline-offset: 2px;
  border-radius: 4px;
}
