/* ============================================================
   Risk Radar — main.css
   Design source: Signal · Primary Flow (Risk Radar Standalone.html)
   Tokens: bg #f6f8fc · ink #15295c · radar #3ba3e9 · mono JetBrains Mono · sans Space Grotesk
   ============================================================ */

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.5;
  color: #15295c;
  background: #f6f8fc;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main { flex: 1; }

/* ── Accessibility ── */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: #15295c;
  color: #fff;
  padding: 8px 12px;
  text-decoration: none;
  z-index: 200;
  font-size: 12px;
  border-radius: 0 0 6px 0;
}
.skip-link:focus { top: 0; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

*:focus-visible {
  outline: 2px solid #3ba3e9;
  outline-offset: 2px;
}

/* ── Header ──────────────────────────────────────────────── */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid #dce3ef;
  padding: 14px 32px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.logo img {
  height: 56px;
  width: auto;
  display: block;
}

/* Nav */
.header-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
  color: #5a6580;
}

.nav-link {
  color: #5a6580;
  text-decoration: none;
  font-weight: 400;
  transition: color 0.15s;
}
.nav-link:hover { color: #15295c; }

/* Model badge — navy bg, green dot, mono */
.model-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: #e8edf6;
  color: #15295c;
  border-radius: 999px;
  font-size: 12px;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  letter-spacing: 0.04em;
  font-weight: 500;
  white-space: nowrap;
}

.model-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22853c;
  flex-shrink: 0;
}

/* Refresh button */
.refresh-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid #dce3ef;
  border-radius: 8px;
  background: #ffffff;
  color: #5a6580;
  cursor: pointer;
  transition: all 0.15s;
  padding: 0;
  flex-shrink: 0;
}

.refresh-btn:hover {
  background: #f6f8fc;
  color: #15295c;
  border-color: #c5cfe0;
}

.refresh-btn:active {
  background: #eef2f9;
}

.refresh-btn svg {
  width: 18px;
  height: 18px;
}

/* ── Landing section ──────────────────────────────────────── */
.landing {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 48px 40px 36px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

/* Signal strip */
.signal-strip {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
  color: #5a6580;
  letter-spacing: 0.06em;
  margin-bottom: 22px;
}

.signal-dot {
  width: 8px;
  height: 8px;
  background: #3ba3e9;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(59,163,233,0.13);
  flex-shrink: 0;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 4px rgba(59,163,233,0.13); }
  50%       { box-shadow: 0 0 0 7px rgba(59,163,233,0.07); }
}

/* Headline */
.headline {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 72px;
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.035em;
  margin: 0;
  text-align: center;
  max-width: 900px;
  color: #15295c;
}

.headline-line1 {
  display: block;
  color: #15295c;
}

.headline-line2 {
  display: block;
  color: #3ba3e9;
}

/* Subtitle */
.subtitle {
  font-size: 19px;
  color: #5a6580;
  margin-top: 20px;
  max-width: 600px;
  text-align: center;
  line-height: 1.45;
}

/* ── Input Card ───────────────────────────────────────────── */
.input-card {
  margin-top: 32px;
  width: 100%;
  max-width: 760px;
  background: #ffffff;
  border: 1px solid #dce3ef;
  border-radius: 20px;
  padding: 10px;
  box-shadow: 0 1px 0 rgba(21,41,92,0.02), 0 24px 64px -32px rgba(21,41,92,0.18);
}

/* Input mode tabs (Paste Text / Paste URL) */
.input-tabs {
  display: flex;
  border-bottom: 1px solid #dce3ef;
  margin-bottom: 0;
}

.input-tab {
  flex: 1;
  padding: 11px 16px;
  border: none;
  background: transparent;
  color: #5a6580;
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  text-align: center;
  position: relative;
  transition: color 0.15s;
  user-select: none;
  -webkit-user-select: none;
  pointer-events: auto;
  z-index: 1;
}

.input-tab:hover { color: #15295c; background: rgba(59,163,233,0.04); }
.input-tab:active { color: #15295c; }
.input-tab:focus-visible { outline: 2px solid #3ba3e9; outline-offset: -2px; }

.input-tab-active {
  color: #15295c;
  font-weight: 600;
  border-bottom: 3px solid #3ba3e9;
  margin-bottom: -1px;
}

/* Input panels */
.input-panel { display: none; }
.input-panel-active { display: block; }

/* Card header row: label + sample chips */
.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px 10px;
  flex-wrap: wrap;
  gap: 8px;
}

.card-label {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  color: #5a6580;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  flex-shrink: 0;
}

/* Sample chips */
.sample-chips {
  display: flex;
  gap: 6px;
}

.chip {
  background: none;
  border: none;
  border-radius: 999px;
  padding: 5px 11px;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: filter 0.15s;
}
.chip:hover { filter: brightness(0.94); }

.chip-scam  { background: #fce8e7; color: #d8312e; }
.chip-suspicious { background: #fdf1d8; color: #d4881a; }
.chip-legit { background: #e1f3e5; color: #22853c; }

.chip-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  flex-shrink: 0;
}
.chip-scam .chip-dot       { background: #d8312e; }
.chip-suspicious .chip-dot { background: #d4881a; }
.chip-legit .chip-dot      { background: #22853c; }

/* Textarea */
.job-textarea {
  width: 100%;
  min-height: 170px;
  background: #f6f8fc;
  border: 1px solid #dce3ef;
  border-radius: 14px;
  padding: 16px 18px;
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 15px;
  color: #15295c;
  resize: vertical;
  outline: none;
  line-height: 1.55;
  transition: border-color 0.15s, box-shadow 0.15s;
  display: block;
}
.job-textarea::placeholder { color: #8a93ab; }
.job-textarea:focus {
  border-color: #3ba3e9;
  box-shadow: 0 0 0 3px rgba(59,163,233,0.12);
}

/* URL input */
.job-url-input {
  width: 100%;
  padding: 16px 18px;
  background: #f6f8fc;
  border: 1px solid #dce3ef;
  border-radius: 14px;
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 15px;
  color: #15295c;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  display: block;
}
.job-url-input::placeholder { color: #8a93ab; }
.job-url-input:focus {
  border-color: #3ba3e9;
  box-shadow: 0 0 0 3px rgba(59,163,233,0.12);
}

.url-hint {
  font-size: 12px;
  color: #8a93ab;
  margin-top: 8px;
  font-family: "Space Grotesk", system-ui, sans-serif;
}

/* Card footer: trust line + CTA */
.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 6px 6px;
  gap: 10px;
}

.trust-line {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  color: #5a6580;
  flex: 1;
}

.trust-dot {
  width: 6px;
  height: 6px;
  background: #22853c;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Analyze button — gray when empty, navy when ready */
.btn-analyze {
  padding: 14px 24px;
  background: #dce3ef;
  color: #8a93ab;
  border: none;
  border-radius: 14px;
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 16px;
  font-weight: 500;
  cursor: not-allowed;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: background 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-analyze.ready {
  background: #15295c;
  color: #ffffff;
  cursor: pointer;
}

.btn-analyze.ready:hover {
  background: #0c1a44;
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(21,41,92,0.18);
}

.btn-analyze.loading {
  background: #15295c;
  color: #ffffff;
  cursor: wait;
  opacity: 0.75;
}

.btn-arrow {
  font-family: "JetBrains Mono", ui-monospace, monospace;
}

/* Error */
.input-error {
  display: none !important;
  margin-top: 8px;
  padding: 12px 16px;
  background: #fce8e7;
  color: #d8312e;
  border: 1px solid rgba(216,49,46,0.25);
  border-radius: 10px;
  font-size: 14px;
}
.input-error.show { display: block !important; }

/* ── Trust strip ──────────────────────────────────────────── */
.trust-strip {
  margin-top: 28px;
  display: flex;
  gap: 40px;
  align-items: center;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  color: #8a93ab;
  letter-spacing: 0.08em;
  flex-wrap: wrap;
  justify-content: center;
}

.trust-divider {
  width: 1px;
  height: 14px;
  background: #dce3ef;
}

/* ── Result Section ───────────────────────────────────────── */
.result-section {
  max-width: 900px;
  margin: 0 auto 48px;
  padding: 0 32px;
  width: 100%;
}

/* Result card — hero verdict card */
.result-card {
  background: #ffffff;
  border: 1px solid #dce3ef;
  border-radius: 24px;
  padding: 32px;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 32px;
  align-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(21,41,92,0.02), 0 24px 64px -32px rgba(21,41,92,0.18);
  animation: fadeUp 0.35s ease-out;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Color wash overlay */
.result-wash {
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: 24px;
}

/* Status chip */
.result-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
  font-weight: 600;
}

.result-chip-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Verdict heading */
.result-verdict {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 56px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
  color: #15295c;
  margin: 0;
}

.result-verdict-sub {
  display: block;
}

.result-summary {
  font-size: 17px;
  color: #5a6580;
  margin-top: 18px;
  max-width: 460px;
  line-height: 1.5;
}

/* Action buttons */
.result-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.btn-action-primary {
  padding: 12px 20px;
  background: #15295c;
  color: #ffffff;
  border: none;
  border-radius: 999px;
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s;
}
.btn-action-primary:hover { background: #0c1a44; }

.btn-action-ghost {
  padding: 12px 20px;
  background: transparent;
  color: #15295c;
  border: 1px solid #dce3ef;
  border-radius: 999px;
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.15s;
}
.btn-action-ghost:hover { border-color: #15295c; }

/* Gauge side */
.result-gauge-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.result-score-num {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 72px;
  font-weight: 600;
  line-height: 0.9;
  letter-spacing: -0.04em;
  text-align: center;
}

.result-score-label {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  color: #5a6580;
  letter-spacing: 0.16em;
  margin-top: 6px;
  text-align: center;
}

/* Pattern grid */
.patterns-section {
  margin-top: 24px;
}

.patterns-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 14px;
  padding: 0 4px;
}

.patterns-title {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #15295c;
}

.patterns-meta {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  color: #5a6580;
  letter-spacing: 0.08em;
}

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

.pattern-card {
  background: #ffffff;
  border: 1px solid #dce3ef;
  border-radius: 16px;
  padding: 16px 18px;
  position: relative;
  overflow: hidden;
}

.pattern-card-bar {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
}

.pattern-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  gap: 10px;
}

.pattern-num {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  color: #8a93ab;
}

.pattern-label {
  font-size: 15px;
  font-weight: 600;
  color: #15295c;
  flex: 1;
}

.pattern-score {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 999px;
}

.pattern-detail {
  font-size: 13px;
  color: #5a6580;
  margin: 0;
  line-height: 1.45;
}

/* Bar charts inside pattern cards */
.pattern-bars {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.pattern-bar-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pattern-bar-label {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 10px;
  color: #8a93ab;
  width: 90px;
  flex-shrink: 0;
}

.pattern-bar-track {
  flex: 1;
  height: 4px;
  background: #eef2f9;
  border-radius: 2px;
  overflow: hidden;
}

.pattern-bar-fill {
  height: 100%;
  border-radius: 2px;
  transition: width 0.6s ease-out;
}

/* Footnote card */
.patterns-footnote {
  margin-top: 18px;
  padding: 16px 20px;
  background: #ffffff;
  border: 1px solid #dce3ef;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: #5a6580;
}

.patterns-footnote-icon {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: #e8edf6;
  color: #15295c;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  flex-shrink: 0;
  font-family: "Space Grotesk", system-ui, sans-serif;
}

/* ── How It Works ─────────────────────────────────────────── */
.how-section {
  max-width: 900px;
  margin: 0 auto 48px;
  padding: 0 32px;
  width: 100%;
}

.section-title {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: #15295c;
  margin-bottom: 28px;
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.how-step {
  background: #ffffff;
  border: 1px solid #dce3ef;
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.how-num {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
  font-weight: 600;
  color: #3ba3e9;
  letter-spacing: 0.06em;
}

.how-step h3 {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #15295c;
  margin: 0;
}

.how-step p {
  font-size: 14px;
  color: #5a6580;
  line-height: 1.5;
  margin: 0;
}

/* ── Learn Section ────────────────────────────────────────── */
.learn-section {
  max-width: 900px;
  margin: 0 auto 64px;
  padding: 0 32px;
  width: 100%;
}

.learn-container {
  background: #ffffff;
  border: 1px solid #dce3ef;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(21,41,92,0.02), 0 24px 64px -32px rgba(21,41,92,0.10);
}

.learn-tabs {
  display: flex;
  border-bottom: 1px solid #dce3ef;
  background: #f6f8fc;
}

.learn-tab {
  flex: 1;
  padding: 14px 20px;
  border: none;
  background: transparent;
  color: #5a6580;
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  text-align: center;
  transition: color 0.15s, background 0.15s;
  position: relative;
  user-select: none;
  pointer-events: auto;
}

.learn-tab:hover { color: #15295c; }
.learn-tab:focus-visible { outline: 2px solid #3ba3e9; outline-offset: -2px; }

.learn-tab-active {
  color: #15295c;
  font-weight: 600;
  background: #ffffff;
  border-bottom: 3px solid #3ba3e9;
  margin-bottom: -1px;
}

.learn-panel { display: none; padding: 32px; }
.learn-panel-active { display: block; }

.learn-articles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}

.learn-article {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
  background: #f6f8fc;
  border-radius: 14px;
  border-left: 4px solid #3ba3e9;
}

.learn-article-icon {
  font-size: 28px;
  line-height: 1;
}

.learn-article h3 {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #15295c;
  margin: 0;
}

.learn-article p {
  font-size: 13px;
  color: #5a6580;
  line-height: 1.55;
  margin: 0;
}

.learn-article p strong { color: #15295c; font-weight: 600; }

.learn-tip {
  margin-top: 4px;
  padding: 8px 12px;
  background: #ffffff;
  border-radius: 8px;
  font-size: 12px;
  color: #d4881a;
  font-weight: 500;
  border-left: 3px solid #d4881a;
}

/* ── Footer ───────────────────────────────────────────────── */
.site-footer {
  background: #ffffff;
  border-top: 1px solid #dce3ef;
  padding: 28px 32px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-text {
  font-size: 14px;
  color: #5a6580;
}

.footer-nav {
  display: flex;
  gap: 24px;
}

.footer-link {
  font-size: 14px;
  color: #5a6580;
  text-decoration: none;
  transition: color 0.15s;
}
.footer-link:hover { color: #3ba3e9; }

/* ── Loading card ─────────────────────────────────────────── */
.loading-card {
  background: #ffffff;
  border: 1px solid #dce3ef;
  border-radius: 20px;
  padding: 28px 32px;
  box-shadow: 0 1px 0 rgba(21,41,92,0.02), 0 24px 64px -32px rgba(21,41,92,0.12);
  animation: fadeUp 0.25s ease-out;
}

.loading-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.loading-dot {
  width: 8px;
  height: 8px;
  background: #3ba3e9;
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulse-dot 1.2s ease-in-out infinite;
}

.loading-title {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #15295c;
  flex: 1;
}

.loading-timer {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 13px;
  color: #8a93ab;
  letter-spacing: 0.04em;
  min-width: 28px;
  text-align: right;
}

.progress-track {
  height: 6px;
  background: #eef2f9;
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 14px;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #3ba3e9, #5cb8f5);
  border-radius: 3px;
  width: 0%;
  animation: progressLoad 14s cubic-bezier(0.05, 0.95, 0.15, 1) forwards;
}

@keyframes progressLoad {
  0%   { width: 0%; }
  15%  { width: 32%; }
  40%  { width: 58%; }
  70%  { width: 76%; }
  100% { width: 88%; }
}

.loading-status {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
  color: #5a6580;
  letter-spacing: 0.04em;
  margin: 0;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 768px) {
  .landing { padding: 36px 24px 28px; }
  .headline { font-size: 48px; }
  .subtitle { font-size: 16px; }

  .card-header { flex-direction: column; align-items: flex-start; }
  .sample-chips { flex-wrap: wrap; }

  .card-footer { flex-direction: column; gap: 12px; }
  .trust-line { justify-content: center; }
  .btn-analyze { width: 100%; justify-content: center; }

  .trust-strip { gap: 20px; flex-direction: column; align-items: center; }
  .trust-divider { display: none; }

  .result-card { grid-template-columns: 1fr; }
  .result-section, .how-section, .learn-section { padding: 0 20px; }

  .how-grid { grid-template-columns: 1fr; }
  .patterns-grid { grid-template-columns: 1fr; }

  .learn-tabs { overflow-x: auto; }
  .learn-tab { white-space: nowrap; }
  .learn-panel { padding: 20px 16px; }
  .learn-articles { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .site-header { padding: 12px 16px; }
  .header-nav { gap: 12px; }
  .model-badge { display: none; }
  .nav-link { font-size: 13px; }

  .landing { padding: 28px 16px; }
  .headline { font-size: 36px; }
  .subtitle { font-size: 15px; }

  .input-card { border-radius: 16px; }
  .job-textarea { min-height: 140px; }

  .result-verdict { font-size: 40px; }
  .result-score-num { font-size: 56px; }

  .site-footer { padding: 20px 16px; }
  .footer-inner { flex-direction: column; text-align: center; }
}

/* ── Reduced motion ─────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .progress-fill {
    animation: none !important;
    width: 50%;
  }
  .loading-dot {
    animation: none !important;
  }
}
