/* ================================================================
   ScamSupport — Design System
   Brand: Navy (#0F172A) + Amber (#F59E0B) + White (#FFFFFF)
   Accents: Emerald (#10B981) + Orange (#F97316) + Red (#EF4444)
   Typography: Inter (headings bold, body regular) — self-hosted
   ================================================================ */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ============================================================
   NordVPN branded affiliate component (drop /affiliate/nordvpn/nordvpn-logo.svg
   from the Awin dashboard to swap the placeholder for the official mark).
   ============================================================ */
.nord-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  background: #fff;
  border: 1px solid #DBEAFE;
  border-left: 4px solid #4687FF;
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.nord-card__header { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; }
.nord-card__logo { height: 32px; width: auto; flex-shrink: 0; display: block; }
.nord-card__lede { font-size: 1rem; font-weight: 700; color: #0F172A; margin: 0; line-height: 1.35; }
.nord-card__body { font-size: 0.9375rem; line-height: 1.6; color: #334155; margin: 0; }
.nord-card__bullets { font-size: 0.9375rem; line-height: 1.6; color: #334155; margin: 0; padding-left: 1.25rem; }
.nord-card__bullets li { margin-bottom: 0.25rem; }
.nord-card__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 0.75rem; margin-top: 0.25rem; }
.nord-card .nord-card__btn,
.nord-card a.nord-card__btn,
.nord-card a.nord-card__btn:link,
.nord-card a.nord-card__btn:visited {
  display: inline-block;
  background: #0073E6;
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9375rem;
  padding: 0.65rem 1.25rem;
  border-radius: 8px;
  transition: background 120ms ease-in-out;
  border: 0;
}
.nord-card a.nord-card__btn:hover,
.nord-card a.nord-card__btn:focus,
.nord-card a.nord-card__btn:active {
  background: #005DB8;
  color: #ffffff;
  text-decoration: none;
}
.nord-card__disclosure { font-size: 0.75rem; color: #64748B; font-style: italic; margin: 0; }
.nord-card__disclosure a { color: #64748B; }
@media (max-width: 540px) {
  .nord-card { padding: 1rem 1.1rem; }
  .nord-card__logo { height: 26px; }
}

/* ============================================================
   Generic affiliate-card component
   Use for partners without a dedicated branded variant (i.e.
   anything that isn't NordVPN). Border-left colour can be
   overridden per-partner via inline style if needed.
   ============================================================ */
.affiliate-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  background: #fff;
  border: 1px solid #E2E8F0;
  border-left: 4px solid #F59E0B;
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.affiliate-card__header { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; }
.affiliate-card__title { font-size: 1rem; font-weight: 700; color: #0F172A; margin: 0; line-height: 1.35; }
.affiliate-card__tag { font-size: 0.75rem; font-weight: 600; color: #B45309; background: #FFFBEB; padding: 0.125rem 0.5rem; border-radius: 4px; }
.affiliate-card__body { font-size: 0.9375rem; line-height: 1.6; color: #334155; margin: 0; }
.affiliate-card__bullets { font-size: 0.9375rem; line-height: 1.6; color: #334155; margin: 0; padding-left: 1.25rem; }
.affiliate-card__bullets li { margin-bottom: 0.25rem; }
.affiliate-card__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 0.75rem; margin-top: 0.25rem; }
.affiliate-card .affiliate-card__btn,
.affiliate-card a.affiliate-card__btn,
.affiliate-card a.affiliate-card__btn:link,
.affiliate-card a.affiliate-card__btn:visited {
  display: inline-block;
  background: #0F172A;
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9375rem;
  padding: 0.65rem 1.25rem;
  border-radius: 8px;
  transition: background 120ms ease-in-out;
  border: 0;
}
.affiliate-card a.affiliate-card__btn:hover,
.affiliate-card a.affiliate-card__btn:focus,
.affiliate-card a.affiliate-card__btn:active {
  background: #1E293B;
  color: #ffffff;
  text-decoration: none;
}
.affiliate-card__disclosure { font-size: 0.75rem; color: #64748B; font-style: italic; margin: 0; }
.affiliate-card__disclosure a { color: #64748B; }
@media (max-width: 540px) {
  .affiliate-card { padding: 1rem 1.1rem; }
}

/* --- Tokens (copied from hub — this is a standalone file) --- */
:root {
  /* Brand */
  --navy: #0F172A;
  --navy-800: #1E293B;
  --navy-700: #334155;
  --navy-600: #475569;
  --navy-500: #64748B;
  --amber: #F59E0B;
  --amber-dark: #B45309;
  --amber-light: #FCD34D;
  --amber-50: #FFFBEB;
  --white: #FFFFFF;
  --slate-50: #F8FAFC;
  --slate-100: #F1F5F9;
  --slate-200: #E2E8F0;
  --slate-300: #CBD5E1;
  --slate-400: #94A3B8;
  --slate-500: #64748B;
  --slate-600: #475569;
  --slate-700: #334155;
  --emerald: #10B981;
  --emerald-dark: #059669;
  --emerald-50: #ECFDF5;
  --orange: #F97316;
  --orange-dark: #EA580C;
  --orange-50: #FFF7ED;
  --red: #EF4444;
  --red-dark: #DC2626;
  --red-50: #FEF2F2;

  /* Typography */
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;

  /* Spacing */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.25rem;
  --sp-6: 1.5rem;
  --sp-8: 2rem;
  --sp-10: 2.5rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-20: 5rem;
  --sp-24: 6rem;

  /* Layout */
  --max-w: 1200px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(15,23,42,0.06);
  --shadow-md: 0 4px 12px rgba(15,23,42,0.08);
  --shadow-lg: 0 8px 24px rgba(15,23,42,0.12);
  --shadow-xl: 0 16px 48px rgba(15,23,42,0.16);

  /* Motion */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --duration: 0.2s;
  --duration-slow: 0.4s;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--navy);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font: inherit; border: none; background: none; }
ul, ol { list-style: none; }

/* --- Focus --- */
:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* --- Layout --- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--sp-6);
}

.section { padding: var(--sp-16) 0; }
.section--lg { padding: var(--sp-24) 0; }

/* ================================================================
   HEADER
   ================================================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}

.header--scrolled {
  border-bottom-color: var(--slate-200);
  box-shadow: var(--shadow-sm);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.header__back {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--slate-500);
  transition: color var(--duration) var(--ease);
}

.header__back:hover { color: var(--navy); }

.header__back svg {
  width: 16px;
  height: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--navy);
}

.logo svg { width: 28px; height: 28px; }

.nav { display: flex; align-items: center; gap: var(--sp-6); }

.nav__link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--slate-600);
  transition: color var(--duration) var(--ease);
}

.nav__link:hover { color: var(--navy); }

.nav__link--active {
  color: var(--navy);
  font-weight: 600;
}

/* ================================================================
   BUTTONS
   ================================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-6);
  font-size: var(--text-sm);
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all var(--duration) var(--ease);
  min-height: 44px;
  white-space: nowrap;
}

.btn--primary {
  background: var(--amber);
  color: var(--navy);
}

.btn--primary:hover {
  background: var(--amber-dark);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.btn--primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn--outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--slate-300);
}

.btn--outline:hover {
  border-color: var(--navy);
  background: var(--slate-50);
}

.btn--lg {
  padding: var(--sp-4) var(--sp-8);
  font-size: var(--text-base);
  border-radius: var(--radius-lg);
  min-height: 52px;
}

.btn--full { width: 100%; }

.btn--navy {
  background: var(--navy);
  color: var(--white);
}

.btn--navy:hover {
  background: var(--navy-800);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

/* ================================================================
   HERO / INPUT SECTION
   ================================================================ */
.hero {
  position: relative;
  padding: var(--sp-16) 0 var(--sp-10);
  text-align: center;
}

.hero__title {
  font-size: clamp(var(--text-3xl), 5vw, var(--text-5xl));
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--navy);
  margin-bottom: var(--sp-4);
}

.hero__subtitle {
  font-size: clamp(var(--text-lg), 2.5vw, var(--text-xl));
  color: var(--slate-600);
  line-height: 1.5;
  max-width: 640px;
  margin: 0 auto var(--sp-10);
}

/* ================================================================
   TABS — Pill / Capsule Design
   ================================================================ */
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  justify-content: center;
  margin-bottom: var(--sp-6);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.tab {
  padding: var(--sp-2) var(--sp-5);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--slate-600);
  background: var(--slate-100);
  border: 1.5px solid var(--slate-200);
  border-radius: 9999px;
  transition: all var(--duration) var(--ease);
  text-align: center;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  white-space: nowrap;
}

.tab:hover {
  color: var(--navy);
  border-color: var(--navy-700);
  background: var(--slate-50);
}

.tab--active {
  background: var(--navy);
  color: var(--white);
  font-weight: 600;
  border-color: var(--navy);
}

.tab--active:hover {
  background: var(--navy-800);
  border-color: var(--navy-800);
  color: var(--white);
}

.tab svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* ================================================================
   INPUT AREA
   ================================================================ */
.input-area {
  max-width: 720px;
  margin: 0 auto;
}

.input-panel {
  display: none;
}

.input-panel--active {
  display: block;
}

.textarea-wrapper {
  position: relative;
  margin-bottom: var(--sp-3);
}

.textarea {
  width: 100%;
  min-height: 200px;
  padding: var(--sp-5);
  font-family: var(--font);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--navy);
  background: var(--white);
  border: 2px solid var(--slate-200);
  border-radius: var(--radius-lg);
  resize: vertical;
  transition: border-color var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}

.textarea::placeholder { color: var(--slate-400); }

.textarea:focus {
  outline: none;
  border-color: var(--amber);
  box-shadow: 0 0 0 4px rgba(245,158,11,0.1);
}

.url-input,
.phone-input {
  width: 100%;
  padding: var(--sp-4) var(--sp-5);
  font-family: var(--font);
  font-size: var(--text-lg);
  color: var(--navy);
  background: var(--white);
  border: 2px solid var(--slate-200);
  border-radius: var(--radius-lg);
  transition: border-color var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
  min-height: 56px;
}

.url-input::placeholder,
.phone-input::placeholder { color: var(--slate-400); }

.url-input:focus,
.phone-input:focus {
  outline: none;
  border-color: var(--amber);
  box-shadow: 0 0 0 4px rgba(245,158,11,0.1);
}

.char-counter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: var(--text-xs);
  color: var(--slate-400);
  margin-bottom: var(--sp-4);
}

.char-counter__hint {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
}

.char-counter__hint svg {
  width: 14px;
  height: 14px;
}

.input-hint {
  font-size: var(--text-sm);
  color: var(--slate-500);
  margin-top: var(--sp-2);
  margin-bottom: var(--sp-4);
}

/* --- Trust Bar --- */
.trust-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-6);
  flex-wrap: wrap;
  margin-top: var(--sp-4);
  margin-bottom: var(--sp-4);
  padding: var(--sp-3) 0;
}

.trust-bar__item {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--slate-500);
}

.trust-bar__item svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--emerald);
}

/* --- Analyse Button --- */
.analyse-btn {
  margin-top: var(--sp-4);
  margin-bottom: var(--sp-4);
}

.analyse-btn .btn {
  transition: all var(--duration) var(--ease), box-shadow 0.3s ease;
}

.analyse-btn .btn:hover:not(:disabled) {
  box-shadow: 0 0 0 4px rgba(245,158,11,0.25);
}

.analyse-btn .btn svg {
  width: 18px;
  height: 18px;
}

.privacy-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  font-size: var(--text-xs);
  color: var(--slate-400);
  margin-top: var(--sp-3);
}

.privacy-note svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* ================================================================
   LOADING SPINNER
   ================================================================ */
.loading {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-4);
  padding: var(--sp-12) 0;
}

.loading--active { display: flex; }

.spinner {
  width: 48px;
  height: 48px;
  border: 4px solid var(--slate-200);
  border-top-color: var(--amber);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.loading__text {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--slate-600);
}

/* ================================================================
   RESULTS SECTION
   ================================================================ */
.results {
  display: none;
  max-width: 720px;
  margin: 0 auto;
  padding-top: var(--sp-8);
}

.results--visible { display: block; }

/* --- Verdict Banner (Full-Colour) --- */
.verdict {
  border-radius: var(--radius-lg);
  padding: var(--sp-8);
  margin-bottom: var(--sp-6);
  animation: fadeUp 0.4s var(--ease) both;
  color: var(--white);
}

.verdict--safe       { background: #059669; }
.verdict--possible_scam { background: #D97706; }
.verdict--probable_scam { background: #EA580C; }
.verdict--scam       { background: #DC2626; }

.verdict__content {
  display: flex;
  align-items: center;
  gap: var(--sp-8);
}

.verdict__text {
  flex: 1;
  min-width: 0;
}

.verdict__label {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.85;
  margin-bottom: var(--sp-2);
}

.verdict__headline {
  font-size: var(--text-2xl);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: var(--sp-2);
  color: var(--white);
}

.verdict__subtext {
  font-size: var(--text-sm);
  line-height: 1.6;
  opacity: 0.9;
  margin-bottom: var(--sp-4);
  color: var(--white);
}

.verdict__action-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-5);
  font-size: var(--text-sm);
  font-weight: 600;
  background: rgba(255,255,255,0.2);
  color: var(--white);
  border-radius: 9999px;
  backdrop-filter: blur(4px);
  transition: background var(--duration) var(--ease);
  text-decoration: none;
}

.verdict__action-btn:hover {
  background: rgba(255,255,255,0.35);
}

/* --- Score Gauge (CSS-only ring) --- */
.score-gauge {
  flex-shrink: 0;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: conic-gradient(
    rgba(255,255,255,0.9) calc(var(--pct) * 1%),
    rgba(255,255,255,0.15) calc(var(--pct) * 1%)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.score-gauge__inner {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: inherit;
  background: rgba(0,0,0,0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.score-gauge__value {
  font-size: var(--text-lg);
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.score-gauge__label {
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.8;
  color: var(--white);
  margin-top: 2px;
}

/* --- Action Panel --- */
.action-panel {
  margin-bottom: var(--sp-6);
  animation: fadeUp 0.4s var(--ease) 0.1s both;
}

.action-panel__title {
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--sp-4);
}

.action-panel__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--sp-4);
}

.action-card {
  background: var(--white);
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: var(--sp-5);
  transition: border-color var(--duration) var(--ease);
}

.action-card:hover {
  border-color: var(--slate-300);
}

.action-card--safe {
  border-color: var(--emerald);
  background: var(--emerald-50);
}

.action-card__icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--slate-50);
  border-radius: var(--radius-md);
  color: var(--navy);
  margin-bottom: var(--sp-3);
}

.action-card--safe .action-card__icon {
  background: var(--emerald);
  color: var(--white);
}

.action-card__title {
  font-size: var(--text-sm);
  font-weight: 700;
  margin-bottom: var(--sp-1);
}

.action-card__text {
  font-size: var(--text-sm);
  color: var(--slate-600);
  line-height: 1.5;
}

.action-card__text a {
  color: var(--amber-dark);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.action-card__text a:hover {
  color: var(--navy);
}

/* --- Findings (Expand/Collapse, Severity Tiers) --- */
.findings {
  margin-bottom: var(--sp-8);
}

.findings__title {
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--sp-4);
}

.findings__count {
  font-weight: 400;
  color: var(--slate-500);
  font-size: var(--text-sm);
}

.finding-card {
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  margin-bottom: var(--sp-3);
  overflow: hidden;
  animation: fadeUp 0.3s var(--ease) both;
}

.finding-card:nth-child(2) { animation-delay: 0.05s; }
.finding-card:nth-child(3) { animation-delay: 0.10s; }
.finding-card:nth-child(4) { animation-delay: 0.15s; }
.finding-card:nth-child(5) { animation-delay: 0.20s; }
.finding-card:nth-child(6) { animation-delay: 0.25s; }
.finding-card:nth-child(7) { animation-delay: 0.30s; }

/* Severity left borders */
.finding-card--high   { border-left: 4px solid var(--red); }
.finding-card--medium { border-left: 4px solid var(--amber); }
.finding-card--low    { border-left: 4px solid #3B82F6; }

/* Legacy severity classes (NCSC findings) */
.finding-card--info    { border-left: 4px solid var(--emerald); }
.finding-card--warning { border-left: 4px solid var(--amber); }
.finding-card--danger  { border-left: 4px solid var(--red); }

/* Header row (clickable) */
.finding-card__header {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  width: 100%;
  padding: var(--sp-4) var(--sp-5);
  cursor: pointer;
  background: none;
  border: none;
  font: inherit;
  text-align: left;
  color: var(--navy);
  transition: background var(--duration) var(--ease);
}

.finding-card__header:hover {
  background: var(--slate-50);
}

.finding-card__icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
}

.finding-card--high .finding-card__icon   { background: var(--red-50); color: var(--red-dark); }
.finding-card--medium .finding-card__icon { background: var(--amber-50); color: var(--amber-dark); }
.finding-card--low .finding-card__icon    { background: #EFF6FF; color: #2563EB; }
.finding-card--info .finding-card__icon   { background: var(--emerald-50); color: var(--emerald-dark); }
.finding-card--warning .finding-card__icon { background: var(--amber-50); color: var(--amber-dark); }
.finding-card--danger .finding-card__icon { background: var(--red-50); color: var(--red-dark); }

.finding-card__icon svg {
  width: 18px;
  height: 18px;
}

.finding-card__title {
  flex: 1;
  font-size: var(--text-sm);
  font-weight: 600;
  min-width: 0;
}

.finding-card__content { flex: 1; }

/* Points badge pill */
.finding-card__badge {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  padding: 2px var(--sp-2);
  font-size: 0.6875rem;
  font-weight: 700;
  border-radius: 9999px;
  letter-spacing: 0.02em;
}

.finding-card__badge--high   { background: var(--red-50); color: var(--red-dark); }
.finding-card__badge--medium { background: var(--amber-50); color: var(--amber-dark); }
.finding-card__badge--low    { background: #EFF6FF; color: #2563EB; }

/* Chevron rotation */
.finding-card__chevron {
  flex-shrink: 0;
  transition: transform var(--duration) var(--ease);
  color: var(--slate-400);
}

.finding-card--expanded .finding-card__chevron {
  transform: rotate(180deg);
}

/* Expandable body */
.finding-card__body {
  padding: 0 var(--sp-5) var(--sp-4) var(--sp-5);
  margin-left: calc(32px + var(--sp-3));
}

.finding-card__body p {
  font-size: var(--text-sm);
  color: var(--slate-600);
  line-height: 1.6;
}

.finding-card__desc {
  font-size: var(--text-sm);
  color: var(--slate-600);
  line-height: 1.5;
}

.finding-card__points {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--slate-400);
  margin-top: var(--sp-1);
}

/* --- Action Advice --- */
.advice {
  background: var(--slate-50);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  margin-bottom: var(--sp-8);
  animation: fadeUp 0.4s var(--ease) 0.2s both;
}

.advice__title {
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--sp-3);
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

.advice__title svg {
  width: 20px;
  height: 20px;
  color: var(--amber-dark);
}

.advice__text {
  font-size: var(--text-base);
  color: var(--slate-700);
  line-height: 1.7;
}

/* --- Affiliate Cards --- */
.affiliate-section {
  margin-bottom: var(--sp-8);
}

.affiliate-section__title {
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--sp-4);
}

.affiliate-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-4);
}

.affiliate-card {
  position: relative;
  z-index: 10;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: var(--sp-5);
  text-align: center;
  transition: all var(--duration) var(--ease);
}

.affiliate-card:hover {
  border-color: var(--amber);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.affiliate-card__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto var(--sp-3);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--slate-100);
  border-radius: var(--radius-md);
  color: var(--slate-600);
}

.affiliate-card__icon svg {
  width: 24px;
  height: 24px;
}

.affiliate-card__name {
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: var(--sp-1);
}

.affiliate-card__desc {
  font-size: var(--text-xs);
  color: var(--slate-500);
  margin-bottom: var(--sp-3);
  line-height: 1.4;
}

.affiliate-card__btn {
  position: relative;
  z-index: 11;
  pointer-events: all;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-2) var(--sp-4);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--navy);
  background: var(--amber-50);
  border-radius: var(--radius-sm);
  transition: background var(--duration) var(--ease);
}

.affiliate-card__btn:hover {
  background: var(--amber-light);
}

/* Text link style (replaces button in redesign) */
.affiliate-card__link {
  display: inline-flex;
  align-items: center;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--amber-dark);
  transition: color var(--duration) var(--ease);
  text-decoration: none;
  margin-top: var(--sp-2);
}

.affiliate-card__link:hover {
  color: var(--navy);
}

/* Category label */
.affiliate-card__cat {
  font-size: var(--text-xs);
  color: var(--slate-500);
  margin-bottom: var(--sp-2);
}

/* Recommended badge */
.affiliate-card__recommended {
  position: absolute;
  top: var(--sp-3);
  right: var(--sp-3);
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 2px var(--sp-2);
  background: var(--amber);
  color: var(--navy);
  border-radius: 9999px;
}

/* Highlighted affiliate card */
.affiliate-card--highlighted {
  border-color: var(--amber);
  background: var(--amber-50);
}

.affiliate-section,
.affiliate-grid {
  pointer-events: all;
}

.affiliate-card::after,
.affiliate-card::before {
  pointer-events: none;
}

/* --- Brand Logo Badges --- */
.affiliate-card__logo {
  margin-bottom: var(--sp-2);
}

.affiliate-card__logo-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.affiliate-card__logo-badge--nordvpn {
  background: #4687FF;
  color: #ffffff;
}

.affiliate-card__logo-badge--nordpass {
  background: #34A853;
  color: #ffffff;
}

.affiliate-card__logo-badge--bitdefender {
  background: #ED1C24;
  color: #ffffff;
}

.affiliate-card__logo-badge--identity-guard {
  background: #1B3A6B;
  color: #ffffff;
}

.affiliate-disclosure {
  font-size: var(--text-xs);
  color: var(--slate-400);
  text-align: center;
  margin-top: var(--sp-4);
  line-height: 1.5;
}

/* --- Result Actions --- */
.result-actions {
  display: flex;
  gap: var(--sp-4);
  justify-content: center;
  padding-top: var(--sp-4);
  border-top: 1px solid var(--slate-200);
  margin-top: var(--sp-8);
}

/* ================================================================
   SCAM TYPES PAGE — Card Grid
   ================================================================ */
.scam-types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--sp-6);
}

.scam-type-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  transition: all var(--duration) var(--ease);
}

.scam-type-card:hover {
  border-color: var(--slate-300);
  box-shadow: var(--shadow-md);
}

.scam-type-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--amber-50);
  border-radius: var(--radius-md);
  color: var(--amber-dark);
  margin-bottom: var(--sp-4);
}

.scam-type-card__icon svg {
  width: 24px;
  height: 24px;
}

.scam-type-card__title {
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--sp-2);
}

.scam-type-card__desc {
  font-size: var(--text-sm);
  color: var(--slate-600);
  line-height: 1.6;
}

/* ================================================================
   REPORT FORM
   ================================================================ */
.report-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: var(--sp-5);
}

.form-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: var(--sp-2);
  color: var(--navy);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: var(--sp-3) var(--sp-4);
  font-family: var(--font);
  font-size: var(--text-base);
  color: var(--navy);
  background: var(--white);
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-md);
  transition: border-color var(--duration) var(--ease);
  min-height: 44px;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(245,158,11,0.1);
}

.form-textarea {
  min-height: 150px;
  resize: vertical;
}

/* ================================================================
   HOW IT WORKS — Flow Diagram Steps
   ================================================================ */
.how-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 640px;
  margin: 0 auto;
}

.how-step {
  display: flex;
  gap: var(--sp-5);
  position: relative;
  padding-bottom: var(--sp-8);
}

.how-step:last-child { padding-bottom: 0; }

.how-step__number {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--amber);
  color: var(--navy);
  font-size: var(--text-lg);
  font-weight: 700;
  border-radius: 50%;
  position: relative;
  z-index: 1;
}

/* Connector line */
.how-step:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 23px;
  top: 48px;
  width: 2px;
  bottom: 0;
  background: var(--slate-200);
}

.how-step__content {
  flex: 1;
  padding-top: var(--sp-2);
}

.how-step__title {
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--sp-2);
}

.how-step__desc {
  font-size: var(--text-sm);
  color: var(--slate-600);
  line-height: 1.6;
}

/* ================================================================
   GET ALERTS — Email Capture
   ================================================================ */
.alerts-section {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--sp-12) var(--sp-8);
  text-align: center;
}

.alerts-section__title {
  font-size: var(--text-2xl);
  font-weight: 700;
  margin-bottom: var(--sp-3);
}

.alerts-section__text {
  color: var(--slate-300);
  margin-bottom: var(--sp-8);
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.email-form {
  display: flex;
  gap: var(--sp-3);
  max-width: 420px;
  margin: 0 auto var(--sp-4);
}

.email-form__input {
  flex: 1;
  padding: var(--sp-3) var(--sp-4);
  font-size: var(--text-sm);
  font-family: var(--font);
  border: 1px solid var(--navy-600);
  border-radius: var(--radius-md);
  background: var(--navy-800);
  color: var(--white);
  min-height: 44px;
}

.email-form__input::placeholder { color: var(--slate-400); }
.email-form__input:focus { border-color: var(--amber); outline: none; }

.alerts-section__privacy {
  font-size: var(--text-xs);
  color: var(--slate-400);
}

/* ================================================================
   PAGE HEADER (subpages)
   ================================================================ */
.page-header {
  max-width: 720px;
  margin-bottom: var(--sp-10);
}

.page-header__title {
  font-size: clamp(var(--text-3xl), 5vw, var(--text-4xl));
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--navy);
  margin-bottom: var(--sp-4);
}

.page-header__subtitle {
  font-size: clamp(var(--text-lg), 2.5vw, var(--text-xl));
  color: var(--slate-500);
  line-height: 1.5;
}

/* ================================================================
   REPORT PAGE — Enhanced Form
   ================================================================ */
.report-container {
  max-width: 640px;
}

.report-form {
  display: flex;
  flex-direction: column;
  gap: var(--sp-6);
  max-width: 640px;
}

.form-required {
  color: var(--red);
  font-weight: 700;
}

.form-optional {
  color: var(--slate-400);
  font-weight: 400;
}

.form-textarea--short {
  min-height: 90px;
}

.form-hint {
  font-size: var(--text-xs);
  color: var(--slate-400);
  margin-top: var(--sp-1);
}

.form-error-message {
  font-size: var(--text-sm);
  color: var(--red);
  font-weight: 500;
  padding: var(--sp-3) var(--sp-4);
  background: var(--red-50);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: var(--radius-md);
}

.form-privacy {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--text-xs);
  color: var(--slate-400);
  margin-top: var(--sp-2);
}

.form-privacy svg {
  flex-shrink: 0;
}

/* --- Thank You Card --- */
.thank-you-card {
  text-align: center;
  padding: var(--sp-12) var(--sp-6);
  background: var(--slate-50);
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-xl);
}

.thank-you-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: var(--emerald-50);
  border-radius: 50%;
  color: var(--emerald);
  margin-bottom: var(--sp-6);
}

.thank-you-title {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: var(--sp-3);
}

.thank-you-text {
  font-size: var(--text-lg);
  color: var(--slate-600);
  line-height: 1.6;
  margin-bottom: var(--sp-4);
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.thank-you-subtext {
  font-size: var(--text-sm);
  color: var(--slate-400);
  line-height: 1.6;
  margin-bottom: var(--sp-8);
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Info Cards (why report) --- */
.info-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}

.info-card {
  padding: var(--sp-6);
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
}

.info-card__icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--amber-50);
  border-radius: var(--radius-md);
  color: var(--amber-dark);
  margin-bottom: var(--sp-4);
}

.info-card__title {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--navy);
  margin-bottom: var(--sp-2);
}

.info-card__text {
  font-size: var(--text-sm);
  color: var(--slate-600);
  line-height: 1.6;
}

/* ================================================================
   HOW IT WORKS — Score Levels
   ================================================================ */
.score-levels {
  max-width: 720px;
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.score-level {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-5);
  padding: var(--sp-5) var(--sp-6);
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-lg);
  transition: border-color var(--duration) var(--ease);
}

.score-level:hover {
  border-color: var(--slate-300);
}

.score-level__indicator {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  margin-top: 4px;
}

.score-level--safe .score-level__indicator { background: var(--emerald); }
.score-level--suspicious .score-level__indicator { background: var(--amber); }
.score-level--probable .score-level__indicator { background: var(--orange); }
.score-level--scam .score-level__indicator { background: var(--red); }

.score-level--safe { border-left: 4px solid var(--emerald); }
.score-level--suspicious { border-left: 4px solid var(--amber); }
.score-level--probable { border-left: 4px solid var(--orange); }
.score-level--scam { border-left: 4px solid var(--red); }

.score-level__content { flex: 1; }

.score-level__title {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: var(--sp-1);
}

.score-level__text {
  font-size: var(--text-sm);
  color: var(--slate-600);
  line-height: 1.6;
}

/* ================================================================
   SCAM TYPES PAGE — Detail Cards (full-width with examples)
   ================================================================ */
.scam-types-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-8);
}

.scam-detail-card {
  display: flex;
  gap: var(--sp-6);
  padding: var(--sp-8);
  background: var(--white);
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-xl);
  transition: border-color var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}

.scam-detail-card:hover {
  border-color: var(--slate-300);
  box-shadow: var(--shadow-md);
}

.scam-detail-card__number {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  color: var(--amber);
  font-size: var(--text-lg);
  font-weight: 800;
  border-radius: var(--radius-md);
}

.scam-detail-card__body {
  flex: 1;
  min-width: 0;
}

.scam-detail-card__title {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: var(--sp-3);
}

.scam-detail-card__what {
  font-size: var(--text-base);
  color: var(--slate-600);
  line-height: 1.7;
  margin-bottom: var(--sp-5);
}

.scam-detail-card__what strong {
  color: var(--navy);
  font-weight: 600;
}

.scam-detail-card__example {
  background: var(--slate-50);
  border-left: 3px solid var(--amber);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: var(--sp-4) var(--sp-5);
  margin-bottom: var(--sp-5);
}

.scam-detail-card__label {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--sp-2);
}

.scam-detail-card__label--example { color: var(--amber-dark); }
.scam-detail-card__label--flags { color: var(--red); }

.scam-detail-card__example p {
  font-size: var(--text-sm);
  color: var(--slate-600);
  line-height: 1.7;
}

.scam-detail-card__example em {
  color: var(--navy);
  font-style: italic;
}

.scam-detail-card__example strong {
  color: var(--navy);
  font-weight: 600;
}

.scam-detail-card__flags {
  margin-bottom: var(--sp-5);
}

.scam-detail-card__flags ul {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.scam-detail-card__flags li {
  font-size: var(--text-sm);
  color: var(--slate-600);
  line-height: 1.5;
  padding-left: var(--sp-5);
  position: relative;
}

.scam-detail-card__flags li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  background: var(--red);
  border-radius: 50%;
}

.scam-detail-card__action {
  font-size: var(--text-sm);
  color: var(--slate-600);
  line-height: 1.7;
  padding: var(--sp-4) var(--sp-5);
  background: var(--emerald-50);
  border: 1px solid rgba(16, 185, 129, 0.15);
  border-radius: var(--radius-md);
}

.scam-detail-card__action strong {
  color: var(--emerald-dark);
  font-weight: 600;
}

.scam-detail-card__action a {
  color: var(--amber-dark);
  text-decoration: underline;
  font-weight: 500;
}

.scam-detail-card__action a:hover {
  color: var(--navy);
}

/* ================================================================
   GET ALERTS PAGE — Hero Layout
   ================================================================ */
.alerts-hero {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: var(--sp-12);
  align-items: start;
}

.alerts-hero__content {
  padding-top: var(--sp-4);
}

.alerts-benefits {
  margin-top: var(--sp-8);
}

.alerts-benefits__list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.alerts-benefits__item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  font-size: var(--text-base);
  color: var(--slate-600);
  line-height: 1.5;
}

.alerts-benefits__check {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  color: var(--emerald);
}

/* --- Signup Card --- */
.alerts-signup__card {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--sp-8);
}

.alerts-signup__title {
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--sp-2);
}

.alerts-signup__subtitle {
  font-size: var(--text-sm);
  color: var(--slate-300);
  margin-bottom: var(--sp-6);
}

.alerts-signup__form {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.alerts-signup__input {
  padding: var(--sp-3) var(--sp-4);
  font-family: var(--font);
  font-size: var(--text-base);
  color: var(--white);
  background: var(--navy-800);
  border: 1.5px solid var(--navy-600);
  border-radius: var(--radius-md);
  min-height: 48px;
  transition: border-color var(--duration) var(--ease);
}

.alerts-signup__input::placeholder {
  color: var(--slate-400);
}

.alerts-signup__input:focus {
  outline: none;
  border-color: var(--amber);
}

.alerts-signup__privacy {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--text-xs);
  color: var(--slate-400);
  margin-top: var(--sp-3);
}

.alerts-signup__privacy svg {
  flex-shrink: 0;
}

/* --- Alert Previews --- */
.alert-previews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}

.alert-preview {
  padding: var(--sp-6);
  background: var(--white);
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  transition: border-color var(--duration) var(--ease);
}

.alert-preview:hover {
  border-color: var(--slate-300);
}

.alert-preview__date {
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--amber-dark);
}

.alert-preview__title {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.4;
}

.alert-preview__excerpt {
  font-size: var(--text-sm);
  color: var(--slate-500);
  line-height: 1.6;
  flex: 1;
}

.alert-preview__link {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--amber-dark);
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
}

.alert-preview__link--disabled {
  color: var(--slate-400);
  cursor: default;
}

/* --- Social Proof --- */
.social-proof {
  display: flex;
  justify-content: center;
  gap: var(--sp-16);
  padding: var(--sp-8) 0;
}

.social-proof__stat {
  text-align: center;
}

.social-proof__number {
  display: block;
  font-size: var(--text-3xl);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.social-proof__label {
  display: block;
  font-size: var(--text-sm);
  color: var(--slate-500);
  margin-top: var(--sp-1);
}

/* ================================================================
   CONTENT ARTICLE LAYOUT (SEO pages)
   ================================================================ */
.article {
  max-width: 680px;
  margin: 0 auto;
  padding: var(--sp-12) 0;
}

.article__title {
  font-size: clamp(var(--text-2xl), 4vw, var(--text-4xl));
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: var(--sp-4);
}

.article__meta {
  font-size: var(--text-sm);
  color: var(--slate-500);
  margin-bottom: var(--sp-8);
  padding-bottom: var(--sp-6);
  border-bottom: 1px solid var(--slate-200);
}

.article h2 {
  font-size: var(--text-2xl);
  font-weight: 700;
  margin-top: var(--sp-10);
  margin-bottom: var(--sp-4);
}

.article h3 {
  font-size: var(--text-xl);
  font-weight: 600;
  margin-top: var(--sp-8);
  margin-bottom: var(--sp-3);
}

.article p {
  font-size: var(--text-base);
  line-height: 1.8;
  color: var(--slate-700);
  margin-bottom: var(--sp-5);
}

.article ul,
.article ol {
  padding-left: var(--sp-6);
  margin-bottom: var(--sp-5);
  list-style: disc;
}

.article ol { list-style: decimal; }

.article li {
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--slate-700);
  margin-bottom: var(--sp-2);
}

.article blockquote {
  border-left: 3px solid var(--amber);
  padding-left: var(--sp-5);
  margin: var(--sp-6) 0;
  color: var(--slate-600);
  font-style: italic;
}

.article a {
  color: var(--amber-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.article a:hover { color: var(--navy); }

.article img {
  border-radius: var(--radius-lg);
  margin: var(--sp-6) 0;
}

/* ================================================================
   BADGE
   ================================================================ */
.badge {
  display: inline-flex;
  align-items: center;
  padding: var(--sp-1) var(--sp-3);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 9999px;
}

.badge--amber {
  background: var(--amber);
  color: var(--navy);
}

.badge--slate {
  background: var(--slate-200);
  color: var(--slate-600);
}

/* ================================================================
   SECTION HEADINGS
   ================================================================ */
.section__title {
  font-size: clamp(var(--text-2xl), 3vw, var(--text-3xl));
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: var(--sp-3);
}

.section__subtitle {
  font-size: var(--text-lg);
  color: var(--slate-500);
  margin-bottom: var(--sp-10);
}

/* ================================================================
   FOOTER
   ================================================================ */
.footer {
  border-top: 1px solid var(--slate-200);
  padding: var(--sp-10) 0 var(--sp-8);
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-6);
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--navy);
}

.footer__brand svg {
  width: 20px;
  height: 20px;
}

.footer__links {
  display: flex;
  gap: var(--sp-6);
}

.footer__link {
  font-size: var(--text-sm);
  color: var(--slate-500);
  transition: color var(--duration) var(--ease);
}

.footer__link:hover { color: var(--navy); }

.footer__copy {
  font-size: var(--text-xs);
  color: var(--slate-600);
  width: 100%;
  text-align: center;
  margin-top: var(--sp-6);
  padding-top: var(--sp-6);
  border-top: 1px solid var(--slate-100);
}

/* ================================================================
   HAMBURGER / MOBILE NAV
   ================================================================ */
.hamburger {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
}

.hamburger svg { width: 24px; height: 24px; color: var(--navy); }

.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(15,23,42,0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.mobile-nav--open { display: flex; }

.mobile-nav__panel {
  margin-left: auto;
  width: 280px;
  background: var(--white);
  padding: var(--sp-8) var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-6);
  box-shadow: var(--shadow-xl);
}

.mobile-nav__close {
  align-self: flex-end;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-nav__link {
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--navy);
  padding: var(--sp-2) 0;
}

/* ================================================================
   SUBPAGE CONTENT UTILITIES
   ================================================================ */

/* Page content wrapper */
.content-section {
  max-width: 900px;
  margin: 0 auto;
  padding: var(--sp-10) 0;
}

/* ----------------------------------------------------------------
   Article / long-form typography
   Applies to SEO scam-guide pages and inherited by blog articles
   (blog articles have an inline-scoped block that further narrows
   the column to 720px).
   Direct-child selectors (>) keep these rules from cascading into
   .scam-types-grid cards, forms, or other nested layouts.
   ---------------------------------------------------------------- */
.content-section .page-header {
  margin-bottom: var(--sp-6, 1.5rem);
  padding-bottom: var(--sp-4, 1rem);
  border-bottom: 1px solid var(--slate-200);
}
.content-section .page-header__title {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: var(--sp-2, 0.5rem);
  color: var(--navy);
}
.content-section .page-header__subtitle {
  font-size: 1.0625rem;
  color: var(--slate-600);
  line-height: 1.5;
}
.content-section > p {
  font-size: 1.0625rem;
  line-height: 1.78;
  margin-bottom: 1.5rem;
  color: var(--slate-700);
}
.content-section > h2 {
  margin-top: 3rem;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.content-section > h3 {
  margin-top: 2.25rem;
  margin-bottom: 0.625rem;
  font-size: 1.1875rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--navy);
}
.content-section > h4 {
  margin-top: 1.75rem;
  margin-bottom: 0.5rem;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--navy);
}
.content-section > ul,
.content-section > ol {
  margin: 0 0 1.5rem 0;
  padding-left: 1.5rem;
  line-height: 1.75;
  font-size: 1.0625rem;
  color: var(--slate-700);
}
.content-section > ul li,
.content-section > ol li {
  margin-bottom: 0.625rem;
}
.content-section > ul li > ul,
.content-section > ol li > ol {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}
.content-section > .ad-slot {
  margin: 2.5rem 0;
  text-align: center;
}
.content-section > p strong,
.content-section > ul strong,
.content-section > ol strong {
  color: var(--navy);
  font-weight: 600;
}
.content-section > p a:not(.btn),
.content-section > ul a:not(.btn),
.content-section > ol a:not(.btn) {
  color: var(--amber-dark, #D97706);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
}
.content-section > p a:not(.btn):hover,
.content-section > ul a:not(.btn):hover,
.content-section > ol a:not(.btn):hover {
  text-decoration-thickness: 2px;
}
.content-section em {
  font-style: italic;
  color: var(--slate-700);
}
/* Warning-box used by the SEO pages — soften the visual weight */
.content-section .warning-box {
  background: var(--slate-50, #F8FAFC);
  border-left: 4px solid var(--amber, #F59E0B);
  border-radius: 0 var(--radius-md, 8px) var(--radius-md, 8px) 0;
  padding: var(--sp-4, 1rem) var(--sp-5, 1.25rem);
  margin: 1.5rem 0;
}
.content-section .warning-box p {
  margin-bottom: 0.5rem;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--slate-700);
}
.content-section .warning-box p:last-child { margin-bottom: 0; }
.content-section .warning-box ul {
  margin: 0.75rem 0;
  padding-left: 1.25rem;
  font-size: 1rem;
}

/* Generic content card (section blocks on subpages) */
.content-card {
  background: var(--white);
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: var(--sp-8);
  margin-bottom: var(--sp-6);
}

.content-card h2 {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: var(--sp-4);
}

.content-card p {
  font-size: var(--text-base);
  color: var(--slate-600);
  line-height: 1.7;
  margin-bottom: var(--sp-4);
}

.content-card p:last-child { margin-bottom: 0; }

.content-card ul,
.content-card ol {
  padding-left: var(--sp-6);
  margin-bottom: var(--sp-4);
}

.content-card li {
  font-size: var(--text-base);
  color: var(--slate-600);
  line-height: 1.7;
  margin-bottom: var(--sp-2);
}

/* Highlight / callout box */
.highlight-box {
  background: var(--amber-50);
  border-left: 4px solid var(--amber);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: var(--sp-5) var(--sp-6);
  margin-bottom: var(--sp-6);
}

.highlight-box p {
  font-size: var(--text-base);
  color: var(--slate-700);
  line-height: 1.7;
}

.highlight-box strong { color: var(--navy); }

/* Important callout (stronger emphasis) */
.important-box {
  background: var(--slate-50);
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: var(--sp-5) var(--sp-6);
  margin-bottom: var(--sp-6);
}

/* Stat grid (ML model page) */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--sp-6);
  margin-bottom: var(--sp-8);
}

.stat-item {
  text-align: center;
  padding: var(--sp-6);
  background: var(--white);
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-lg);
}

.stat-item__number {
  font-size: var(--text-3xl);
  font-weight: 800;
  color: var(--amber-dark);
  letter-spacing: -0.02em;
}

.stat-item__label {
  font-size: var(--text-sm);
  color: var(--slate-500);
  margin-top: var(--sp-1);
}

/* Feature grid (premium page) */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--sp-6);
  margin-bottom: var(--sp-8);
}

.feature-card {
  padding: var(--sp-6);
  background: var(--white);
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-lg);
  transition: border-color var(--duration) var(--ease);
}

.feature-card:hover {
  border-color: var(--slate-300);
}

.feature-card__icon {
  font-size: 32px;
  margin-bottom: var(--sp-3);
}

.feature-card__title {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--navy);
  margin-bottom: var(--sp-2);
}

.feature-card__desc {
  font-size: var(--text-sm);
  color: var(--slate-600);
  line-height: 1.6;
}

/* Data table */
.data-table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--sp-4) 0;
}

.data-table th {
  padding: var(--sp-3) var(--sp-4);
  text-align: left;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--navy);
  border-bottom: 2px solid var(--slate-200);
}

.data-table td {
  padding: var(--sp-3) var(--sp-4);
  font-size: var(--text-sm);
  color: var(--slate-600);
  border-bottom: 1px solid var(--slate-100);
}

.data-table tr:last-child td { border-bottom: none; }

/* Detection method detail box */
.detection-detail {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: var(--sp-4);
  margin: var(--sp-3) 0;
  font-size: var(--text-sm);
  color: var(--slate-600);
  line-height: 1.7;
}

/* Warning signs box (scam type cards) */
.warning-box {
  background: var(--red-50, #fef2f2);
  border-left: 4px solid var(--red);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: var(--sp-3) var(--sp-4);
  margin-bottom: var(--sp-4);
  font-size: var(--text-sm);
  color: var(--slate-600);
}

.warning-box strong { color: #991B1B; }  /* WCAG AA fix: #EF4444 on #FEF2F2 was 3.7:1; #991B1B gives 7.4:1 (AAA). 2026-05-17 */

/* Ad slot placeholder */
.ad-slot {
  background: var(--slate-50);
  border: 2px dashed var(--slate-200);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  text-align: center;
  color: var(--slate-400);
  margin: var(--sp-8) 0;
  min-height: 100px;
}

/* Database report entry card */
.report-entry {
  background: var(--white);
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: var(--sp-5);
  margin-bottom: var(--sp-4);
  display: flex;
  gap: var(--sp-4);
  align-items: flex-start;
}

.report-entry__type {
  display: inline-block;
  padding: var(--sp-1) var(--sp-3);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 9999px;
  background: var(--amber-50);
  color: var(--amber-dark);
}

.report-entry__meta {
  font-size: var(--text-xs);
  color: var(--slate-400);
}

/* Last updated label */
.last-updated {
  font-size: var(--text-sm);
  color: var(--slate-400);
  margin-bottom: var(--sp-6);
}

/* Subpage responsive overrides */
@media (max-width: 768px) {
  .content-section { padding: var(--sp-6) 0; }
  .content-card { padding: var(--sp-6); }
  .stat-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .report-entry { flex-direction: column; }
}

/* ================================================================
   ANIMATIONS
   ================================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-in {
  animation: fadeUp 0.5s var(--ease) both;
}

.animate-in--d1 { animation-delay: 0.1s; }
.animate-in--d2 { animation-delay: 0.2s; }
.animate-in--d3 { animation-delay: 0.3s; }

/* ================================================================
   USER-SELECT PROTECTION
   ================================================================ */
.protected { -webkit-user-select: none; user-select: none; }
.protected a, .protected button, .protected input, .protected textarea, .protected select { -webkit-user-select: auto; user-select: auto; }

/* ================================================================
   REDUCED MOTION
   ================================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ================================================================
   PRINT STYLES
   ================================================================ */
@media print {
  .header,
  .hamburger,
  .mobile-nav,
  .nav,
  .footer,
  .analyse-btn,
  .result-actions,
  .affiliate-section,
  .affiliate-disclosure,
  .privacy-note,
  .trust-bar,
  .action-panel,
  .tabs {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
    font-size: 12pt;
  }

  .container { max-width: 100%; padding: 0; }
  .section, .section--lg { padding: 1rem 0; }

  .verdict {
    border: 2px solid #000;
    break-inside: avoid;
  }

  .finding-card {
    border: 1px solid #ccc;
    break-inside: avoid;
  }

  .article a::after {
    content: " (" attr(href) ")";
    font-size: 10pt;
    color: #666;
  }
}

/* ================================================================
   RESPONSIVE — Tablet (768px)
   ================================================================ */
@media (max-width: 768px) {
  .nav { display: none; }
  .hamburger { display: flex; }

  .hero { padding: var(--sp-12) 0 var(--sp-8); }

  /* Tabs: 3 per row on tablet */
  .tabs {
    max-width: 100%;
    gap: var(--sp-2);
  }

  .tab {
    flex: 0 0 calc(33.333% - var(--sp-2));
  }

  .textarea { min-height: 160px; }

  /* Trust bar stack on tablet */
  .trust-bar {
    gap: var(--sp-3);
  }

  /* Verdict: stack gauge below text */
  .verdict__content {
    flex-direction: column;
    text-align: center;
  }

  .score-gauge {
    margin: var(--sp-4) auto 0;
  }

  /* Action panel: single column */
  .action-panel__grid {
    grid-template-columns: 1fr;
  }

  /* Findings body margin adjust */
  .finding-card__body {
    margin-left: 0;
  }

  .affiliate-grid { grid-template-columns: 1fr; }

  .scam-types-grid { grid-template-columns: 1fr; }

  .info-cards { grid-template-columns: 1fr; }

  .scam-detail-card {
    flex-direction: column;
    gap: var(--sp-4);
    padding: var(--sp-6);
  }

  .scam-detail-card__number {
    width: 36px;
    height: 36px;
    font-size: var(--text-base);
  }

  .alerts-hero {
    grid-template-columns: 1fr;
    gap: var(--sp-8);
  }

  .alert-previews {
    grid-template-columns: 1fr;
  }

  .social-proof {
    gap: var(--sp-8);
  }

  .social-proof__number {
    font-size: var(--text-2xl);
  }

  .how-step { gap: var(--sp-4); }

  .email-form { flex-direction: column; }

  .result-actions { flex-direction: column; }
  .result-actions .btn { width: 100%; }

  .section { padding: var(--sp-10) 0; }
  .section--lg { padding: var(--sp-16) 0; }

  .footer__inner { flex-direction: column; text-align: center; }
  .footer__links { justify-content: center; flex-wrap: wrap; }

  .article { padding: var(--sp-8) 0; }
}

/* ================================================================
   RESPONSIVE — Small (480px)
   ================================================================ */
@media (max-width: 480px) {
  .hero__title { font-size: var(--text-3xl); }

  /* Tabs: 2 per row on small screens */
  .tab {
    flex: 0 0 calc(50% - var(--sp-2));
    font-size: var(--text-xs);
    padding: var(--sp-2) var(--sp-3);
  }

  .textarea { min-height: 140px; padding: var(--sp-4); }

  .verdict { padding: var(--sp-5); }
  .verdict__headline { font-size: var(--text-xl); }

  /* Trust bar: vertical on small */
  .trust-bar {
    flex-direction: column;
    gap: var(--sp-2);
    align-items: center;
  }

  /* Score gauge smaller */
  .score-gauge {
    width: 80px;
    height: 80px;
  }

  .score-gauge__inner {
    width: 60px;
    height: 60px;
  }

  .score-gauge__value {
    font-size: var(--text-base);
  }

  .finding-card__header {
    padding: var(--sp-3) var(--sp-4);
    gap: var(--sp-2);
  }

  .finding-card__body {
    padding: 0 var(--sp-4) var(--sp-3) var(--sp-4);
    margin-left: 0;
  }

  .how-step__number { width: 40px; height: 40px; font-size: var(--text-base); }
  .how-step:not(:last-child)::before { left: 19px; }

  .alerts-section { padding: var(--sp-8) var(--sp-5); }

  .scam-detail-card__example {
    padding: var(--sp-3) var(--sp-4);
  }

  .scam-detail-card__action {
    padding: var(--sp-3) var(--sp-4);
  }

  .social-proof {
    flex-direction: column;
    gap: var(--sp-6);
    align-items: center;
  }

  /* EML upload: compact */
  .upload-zone--eml {
    padding: var(--sp-5) var(--sp-4);
  }

  .upload-zone__icon-lg {
    width: 48px;
    height: 48px;
  }

  .eml-howto__step {
    font-size: var(--text-xs);
  }
}

/* ================================================================
   Sprint F3 — Detection Modes, Upload Zones, File Previews
   ================================================================ */

/* Detection mode toggles */
.detection-modes {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  flex-wrap: wrap;
  margin: var(--sp-3) 0;
}

.detection-modes__label {
  font-size: var(--text-xs);
  color: var(--slate-400);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-right: var(--sp-1);
}

.toggle-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  padding: var(--sp-1) var(--sp-3);
  background: var(--slate-100);
  border: 1px solid var(--slate-200);
  border-radius: 20px;
  font-size: var(--text-xs);
  color: var(--slate-600);
  cursor: pointer;
  transition: all 0.2s;
  user-select: none;
}

.toggle-pill:hover {
  background: var(--slate-200);
}

.toggle-pill:has(input:checked) {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--navy);
  font-weight: 600;
}

.toggle-pill input { display: none; }

/* Upload zones */
.upload-zone {
  border: 2px dashed var(--slate-300);
  border-radius: var(--radius-lg);
  padding: var(--sp-8) var(--sp-6);
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
}

.upload-zone:hover {
  border-color: var(--amber);
  background: var(--amber-50);
}

.upload-zone__icon {
  margin-bottom: var(--sp-2);
  color: var(--slate-400);
}

.upload-zone:hover .upload-zone__icon { color: var(--amber-dark); }

.upload-zone__text {
  font-size: var(--text-sm);
  color: var(--slate-600);
  font-weight: 500;
}

.upload-zone__formats {
  font-size: var(--text-xs);
  color: var(--slate-400);
  margin-top: var(--sp-1);
}

.upload-zone input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

/* File preview */
.file-preview {
  min-height: 1px;
}

.file-preview img {
  border-radius: var(--radius-md);
  border: 1px solid var(--slate-200);
}

.file-preview audio {
  width: 100%;
  margin-top: var(--sp-2);
}

/* .eml file selected display */
.file-selected {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--navy-800);
  border: 1px solid var(--amber);
  border-radius: var(--radius-md);
  padding: 0.6rem 1rem;
  margin-top: 0.75rem;
}

.file-selected__name {
  color: var(--amber);
  font-size: 0.85rem;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-selected__clear {
  background: none;
  border: none;
  color: var(--slate-400);
  font-size: 1.25rem;
  cursor: pointer;
  padding: 0 0.25rem;
  line-height: 1;
  transition: color 0.15s;
}

.file-selected__clear:hover {
  color: var(--red);
}

/* --- EML Upload Zone Redesign --- */
.upload-zone--eml {
  border: 2px dashed var(--slate-300);
  border-radius: var(--radius-lg);
  padding: var(--sp-8) var(--sp-6);
  text-align: center;
}

.upload-zone__icon-lg {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin: 0 auto var(--sp-4);
  background: var(--slate-100);
  border-radius: 50%;
  color: var(--slate-500);
}

.upload-zone__icon-lg svg {
  width: 28px;
  height: 28px;
}

.upload-zone__headline {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: var(--sp-1);
}

.upload-zone__subtext {
  font-size: var(--text-sm);
  color: var(--slate-500);
  margin-bottom: var(--sp-4);
}

.upload-zone__btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-6);
  font-size: var(--text-sm);
  font-weight: 600;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--duration) var(--ease);
  min-height: 44px;
}

.upload-zone__btn:hover {
  background: var(--navy-800);
  box-shadow: var(--shadow-md);
}

/* How-to export steps */
.eml-howto {
  margin-top: var(--sp-6);
  padding-top: var(--sp-5);
  border-top: 1px solid var(--slate-200);
  text-align: left;
}

.eml-howto__title {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: var(--sp-3);
}

.eml-howto__steps {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.eml-howto__step {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  font-size: var(--text-sm);
  color: var(--slate-600);
  line-height: 1.5;
}

.eml-howto__num {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  color: var(--white);
  font-size: var(--text-xs);
  font-weight: 700;
  border-radius: 50%;
}

.eml-howto__step strong {
  color: var(--navy);
  font-weight: 600;
}

/* ================================================================
   Share Modal
   ================================================================ */
.share-modal {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.share-modal--open {
  opacity: 1;
  pointer-events: auto;
}

.share-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
}

.share-modal__card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg, 12px);
  padding: 2rem;
  max-width: 380px;
  width: 90%;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.3);
  transform: translateY(12px);
  transition: transform 0.2s ease;
}

.share-modal--open .share-modal__card {
  transform: translateY(0);
}

.share-modal__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--slate-400, #94a3b8);
  cursor: pointer;
  line-height: 1;
  padding: 0.25rem;
}

.share-modal__close:hover {
  color: var(--navy);
}

.share-modal__title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 1.25rem;
}

.share-modal__buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md, 8px);
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.share-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.share-btn--whatsapp {
  background: #25d366;
  color: #fff;
}

.share-btn--twitter {
  background: #000;
  color: #fff;
}

.share-btn--copy {
  background: var(--slate-100, #f1f5f9);
  color: var(--navy);
}

.share-btn--copy:hover {
  background: var(--slate-200, #e2e8f0);
}

.share-prompt {
  font-size: var(--text-sm);
  color: var(--slate-500, #64748b);
  margin-top: 0.75rem;
  text-align: center;
  font-style: italic;
}

/* ================================================================
   OCR Status & Progress
   ================================================================ */
.ocr-status {
  margin-top: 1rem;
}

.ocr-progress {
  width: 100%;
  height: 6px;
  background: var(--slate-200, #e2e8f0);
  border-radius: 3px;
  overflow: hidden;
}

.ocr-progress__bar {
  height: 100%;
  background: var(--amber);
  border-radius: 3px;
  transition: width 0.3s ease;
}

.ocr-progress__label {
  font-size: var(--text-sm);
  color: var(--slate-500, #64748b);
  margin-top: 0.5rem;
}

.ocr-extract {
  margin-top: 0.75rem;
  border: 1px solid var(--slate-200, #e2e8f0);
  border-radius: var(--radius-md, 8px);
  padding: 0.75rem 1rem;
}

.ocr-extract summary {
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--navy);
  cursor: pointer;
}

.ocr-extract__pre {
  font-size: var(--text-xs);
  white-space: pre-wrap;
  word-break: break-word;
  color: var(--slate-600, #475569);
  margin: 0.5rem 0 0;
  max-height: 120px;
  overflow-y: auto;
}

.ocr-notice {
  font-size: var(--text-sm);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md, 8px);
  margin-top: 0.75rem;
}

.ocr-notice--warn {
  background: #fef3c7;
  color: #92400e;
}

.ocr-notice--error {
  background: #fee2e2;
  color: #991b1b;
}

/* ================================================================
   Bulk Email Tester
   ================================================================ */

.bulk-tester {
  margin-top: var(--sp-4);
}

.bulk-input-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.bulk-label {
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--navy);
}

.bulk-label code {
  background: var(--slate-100);
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  font-size: var(--text-xs);
}

.bulk-hint {
  font-size: var(--text-sm);
  color: var(--slate-500);
  margin-bottom: 0.5rem;
}

.bulk-textarea {
  width: 100%;
  min-height: 280px;
  padding: 0.75rem 1rem;
  font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
  font-size: var(--text-sm);
  line-height: 1.6;
  color: var(--navy);
  background: var(--slate-50);
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-md, 8px);
  resize: vertical;
  box-sizing: border-box;
}

.bulk-textarea:focus {
  outline: none;
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15);
}

.bulk-textarea::placeholder {
  color: var(--slate-400);
  opacity: 1;
}

/* Controls row */
.bulk-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.75rem;
  flex-wrap: wrap;
}

.bulk-controls-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.bulk-counter {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--slate-500);
  white-space: nowrap;
}

/* Danger outline button */
.btn--outline--danger {
  color: var(--red-dark, #DC2626);
  border-color: var(--red-dark, #DC2626);
}

.btn--outline--danger:hover {
  background: var(--red-50, #FEF2F2);
  border-color: var(--red, #EF4444);
}

/* Progress section */
.bulk-progress {
  margin-top: 1.5rem;
}

.bulk-progress-text {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.bulk-progress-bar-outer {
  width: 100%;
  height: 8px;
  background: var(--slate-200);
  border-radius: 999px;
  overflow: hidden;
}

.bulk-progress-bar-inner {
  height: 100%;
  background: var(--amber);
  border-radius: 999px;
  transition: width 0.3s ease;
}

/* Summary stat boxes */
.bulk-summary {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 1.5rem 0 1rem;
}

.bulk-stat {
  flex: 1;
  min-width: 80px;
  text-align: center;
  padding: 0.75rem 0.5rem;
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md, 8px);
}

.bulk-stat__number {
  font-size: var(--text-2xl);
  font-weight: 700;
  line-height: 1.2;
}

.bulk-stat__label {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--slate-500);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 0.25rem;
}

/* Filter tabs */
.bulk-filter-tabs {
  display: flex;
  gap: 0.375rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.bulk-filter-tab {
  padding: 0.375rem 0.75rem;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--slate-600);
  background: var(--slate-50);
  border: 1.5px solid var(--slate-200);
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.bulk-filter-tab:hover {
  border-color: var(--navy);
  color: var(--navy);
}

.bulk-filter-tab.active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

/* Results table */
.bulk-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md, 8px);
}

.bulk-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
}

.bulk-table thead th {
  text-align: left;
  padding: 0.625rem 0.75rem;
  font-weight: 700;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--slate-500);
  background: var(--slate-50);
  border-bottom: 1.5px solid var(--slate-200);
  white-space: nowrap;
}

.bulk-table tbody td {
  padding: 0.5rem 0.75rem;
  vertical-align: middle;
  border-bottom: 1px solid var(--slate-100);
}

.bulk-row {
  cursor: pointer;
  transition: background 0.1s ease;
}

.bulk-row:hover {
  background: var(--slate-50);
}

.bulk-row--flagged {
  background: var(--red-50, #FEF2F2);
}

.bulk-row--flagged:hover {
  background: #fde8e8;
}

/* Score and verdict colors */
.bulk-score--scam,
.bulk-verdict--scam {
  color: var(--red-dark, #DC2626);
  font-weight: 700;
}

.bulk-score--suspicious,
.bulk-verdict--suspicious {
  color: var(--orange-dark, #EA580C);
  font-weight: 700;
}

.bulk-score--uncertain,
.bulk-verdict--uncertain {
  color: var(--amber-dark, #D97706);
  font-weight: 600;
}

.bulk-score--safe,
.bulk-verdict--safe {
  color: var(--emerald-dark, #059669);
  font-weight: 600;
}

.bulk-preview {
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--slate-600);
}

.bulk-top-finding {
  font-size: var(--text-xs);
  color: var(--slate-600);
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Flag buttons */
.bulk-flag-cell {
  white-space: nowrap;
}

.bulk-flag-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 1px solid var(--slate-200);
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.15s ease;
}

.bulk-flag-btn:hover {
  background: var(--slate-100);
}

.bulk-flag-up--active {
  background: var(--emerald-50, #ECFDF5);
  border-color: var(--emerald, #10B981);
}

.bulk-flag-down--active {
  background: var(--red-50, #FEF2F2);
  border-color: var(--red, #EF4444);
}

.bulk-copy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 1px solid var(--slate-200);
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.15s ease;
}

.bulk-copy-btn:hover {
  background: var(--slate-100);
}

/* Detail / accordion row */
.bulk-row-detail td {
  padding: 0;
}

.bulk-detail-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding: 1rem;
  background: var(--slate-50);
  border-top: 1px solid var(--slate-200);
}

.bulk-detail-email pre {
  font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
  font-size: var(--text-xs);
  line-height: 1.6;
  white-space: pre-wrap;
  word-break: break-word;
  color: var(--slate-600);
  max-height: 200px;
  overflow-y: auto;
  margin: 0;
  padding: 0.75rem;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 6px;
}

.bulk-detail-findings {
  font-size: var(--text-sm);
  color: var(--navy);
}

.bulk-detail-findings strong {
  display: block;
  margin-bottom: 0.5rem;
}

.bulk-detail-finding {
  padding: 0.375rem 0.5rem;
  border-radius: 6px;
  margin-bottom: 0.375rem;
  font-size: var(--text-xs);
  line-height: 1.5;
}

.bulk-finding--danger {
  background: var(--red-50, #FEF2F2);
  color: var(--red-dark, #DC2626);
  border-left: 3px solid var(--red, #EF4444);
}

.bulk-finding--warning {
  background: var(--orange-50, #FFF7ED);
  color: var(--orange-dark, #EA580C);
  border-left: 3px solid var(--orange, #F97316);
}

/* Export row */
.bulk-export-row {
  display: flex;
  justify-content: flex-end;
  margin-top: 1rem;
}

/* ── Bulk tester responsive ── */
@media (max-width: 768px) {
  .bulk-controls {
    flex-direction: column;
    align-items: stretch;
  }

  .bulk-controls-left {
    flex-direction: column;
  }

  .bulk-controls-left .btn {
    width: 100%;
  }

  .bulk-counter {
    text-align: center;
  }

  .bulk-summary {
    gap: 0.5rem;
  }

  .bulk-stat {
    min-width: 60px;
    padding: 0.5rem 0.25rem;
  }

  .bulk-stat__number {
    font-size: var(--text-xl);
  }

  .bulk-detail-inner {
    grid-template-columns: 1fr;
  }

  .bulk-table {
    font-size: var(--text-xs);
  }

  .bulk-preview {
    max-width: 120px;
  }

  .bulk-top-finding {
    max-width: 100px;
  }
}
