/* ============================================================
   SCAMANOT.CSS — Shared Stylesheet v1.5
   Governs all pages on scamanot.com
   Security North Star: Scamanot_Security_Policy_Framework.docx
   Author: Robert Scott Singleton | Founded May 2026

   CHANGELOG v1.1:
   - BUG FIX: Scoped `nav { position: fixed }` to `body > nav`
     so footer <nav aria-label="Footer navigation"> no longer
     inherits fixed positioning and renders at page top.

   CHANGELOG v1.2:
   - Tool page styles added.

   CHANGELOG v1.3:
   - Contact page + footer variant styles added.

   CHANGELOG v1.4:
   - about.html styles added: stat strip, doc layout, about-quote,
     about-why-grid, principles list, tools grid, CTA block.
   - Added standalone .scam / .not wordmark color classes (nav).

   CHANGELOG v1.5:
   - Global: nav-logo-img, btn-secondary added.

   CHANGELOG v1.6:
   - Mobile nav fix: 860px breakpoint hides text links, keeps CTA button.
   - CTA always visible on mobile across all tool pages (no toggle required).

   CHANGELOG v1.7:
   - Grid background texture added to .page-hero (all tool pages now match homepage).
   - Footer standardised: tool pages already use correct 3-column structure.

   CHANGELOG v1.8:
   - FAQ accordion CSS moved to shared stylesheet (fixes would-you-fall-for-it).
   - Homepage footer inline overrides removed; scamanot.css now governs all footers.
   - Legal pages: doc-meta, doc-callout, doc-callout-warning,
     doc-alert, doc-alert-label, doc-contact-box, doc-contact-sub,
     privacy-promise-strip, promise-item, promise-dot.
   - would-you-fall-for-it.html: full quiz CSS added (no inline
     style block existed — all quiz classes now in shared CSS).
   ============================================================ */

/* ===== RESET & ROOT ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:          #0B1F2E;
  --navy-mid:      #0F2D42;
  --navy-deep:     #0A1E30;
  --teal:          #1D9E75;
  --teal-light:    #5DCAA5;
  --amber:         #EF9F27;
  --red:           #E24B4A;
  --cream:         #F0EDE4;
  --muted:         #8BA4B4;
  --border:        rgba(29,158,117,0.2);
  --border-bright: rgba(29,158,117,0.5);
}

html { scroll-behavior: smooth; }

body {
  background: var(--navy);
  color: var(--cream);
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ===== NAV — TOP NAVIGATION ONLY =====
   CRITICAL: Use "body > nav" NOT "nav" — the footer contains
   <nav aria-label="Footer navigation"> which must NOT inherit
   position: fixed. This is the v1.1 bug fix. */
body > nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--navy);
  border-bottom: 1px solid rgba(240,237,228,0.08);
  padding: 0 2rem;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.nav-logo img {
  height: 36px;
  width: auto;
}

.nav-wordmark {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--cream);
  letter-spacing: 0.05em;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: rgba(240,237,228,0.65);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 400;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--cream); }

.nav-cta {
  background: var(--teal);
  color: var(--cream) !important;
  padding: 0.5rem 1.25rem;
  border-radius: 4px;
  font-weight: 500 !important;
  transition: background 0.2s !important;
}

.nav-cta:hover { background: #18876200 !important; outline: 1px solid var(--teal); }

/* Push page content below fixed nav */
body > nav + * { padding-top: 68px; }
main, .page-body { padding-top: 68px; }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--cream);
  margin: 4px 0;
  transition: 0.3s;
}

@media (max-width: 860px) {
  .nav-links li:not(:last-child) { display: none; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links li:last-child { display: block; }
  .nav-links a.nav-cta {
    display: inline-block;
  }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--navy);
    border-bottom: 1px solid var(--border);
    padding: 1.5rem 2rem;
    gap: 1.25rem;
  }
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  line-height: 1.15;
  color: var(--cream);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }

.label-tag {
  display: inline-block;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--amber);
  background: rgba(239,159,39,0.12);
  border: 1px solid rgba(239,159,39,0.3);
  padding: 0.3rem 0.9rem;
  border-radius: 2rem;
  margin-bottom: 1rem;
}

.label-teal {
  color: var(--teal-light);
  background: rgba(29,158,117,0.12);
  border-color: rgba(29,158,117,0.3);
}

/* ===== LAYOUT ===== */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
}

.section {
  padding: 5rem 0;
}

.section-sm { padding: 3rem 0; }
.section-lg { padding: 7rem 0; }

/* Grid */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }

@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ===== TOOL SECTION — AI ANALYZER ===== */
.tool-section {
  background: var(--navy-mid);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2.5rem;
  max-width: 760px;
  margin: 0 auto;
}

.tool-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-light);
  margin-bottom: 0.75rem;
}

.tool-section textarea,
.tool-section input[type="text"],
.tool-section input[type="url"] {
  width: 100%;
  background: rgba(11,31,46,0.8);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--cream);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  padding: 1rem 1.25rem;
  resize: vertical;
  transition: border-color 0.2s;
  outline: none;
}

.tool-section textarea:focus,
.tool-section input:focus {
  border-color: var(--teal);
}

.tool-section textarea::placeholder,
.tool-section input::placeholder {
  color: var(--muted);
}

/* Analyze button */
.btn-analyze {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--teal);
  color: var(--cream);
  border: none;
  border-radius: 6px;
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.9rem 2rem;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  margin-top: 1rem;
}

.btn-analyze:hover {
  background: #188762;
  transform: translateY(-1px);
}

.btn-analyze:active { transform: translateY(0); }

.btn-analyze.loading {
  opacity: 0.7;
  cursor: not-allowed;
  pointer-events: none;
}

/* Result box */
.result-box {
  display: none;
  margin-top: 1.75rem;
  background: rgba(11,31,46,0.9);
  border: 1px solid var(--border-bright);
  border-radius: 8px;
  padding: 1.5rem;
}

.result-box.visible { display: block; }

.result-box.result-danger { border-color: rgba(226,75,74,0.6); }
.result-box.result-caution { border-color: rgba(239,159,39,0.6); }
.result-box.result-safe { border-color: rgba(29,158,117,0.6); }

.result-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.result-icon { font-size: 1.5rem; }

.result-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-weight: 700;
}

.result-body {
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(240,237,228,0.9);
}

.result-body ul {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0;
}

.result-body ul li {
  padding: 0.4rem 0;
  padding-left: 1.5rem;
  position: relative;
}

.result-body ul li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--amber);
}

/* Loading spinner */
.spinner {
  display: none;
  margin-top: 1.5rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}

.spinner.visible { display: block; }

.spinner::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid var(--border);
  border-top-color: var(--teal);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  vertical-align: middle;
  margin-right: 0.5rem;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* Security badges strip */
.security-badges {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.badge-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  color: var(--muted);
}

.badge-item svg { flex-shrink: 0; }

/* Liability disclaimer — §6.2 */
.disclaimer-note {
  margin-top: 1rem;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.5;
}

/* ===== CARDS ===== */
.card {
  background: rgba(15,45,66,0.6);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.75rem;
  transition: border-color 0.2s, transform 0.2s;
}

.card:hover {
  border-color: var(--border-bright);
  transform: translateY(-2px);
}

.card-icon {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.card p {
  font-size: 0.9rem;
  color: rgba(240,237,228,0.7);
  line-height: 1.6;
}

/* Tool cards on homepage */
.tool-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: rgba(15,45,66,0.6);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.5rem;
  transition: border-color 0.2s, transform 0.2s, background 0.2s;
}

.tool-card:hover {
  border-color: var(--teal);
  background: rgba(29,158,117,0.08);
  transform: translateY(-2px);
  color: inherit;
}

.tool-card-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.tool-card-desc {
  font-size: 0.85rem;
  color: var(--muted);
}

/* ===== SECTION BACKGROUNDS ===== */
.bg-mid {
  background: var(--navy-mid);
}

.bg-grid {
  background-image:
    linear-gradient(rgba(29,158,117,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(29,158,117,0.05) 1px, transparent 1px);
  background-size: 48px 48px;
}

/* ===== REVEAL ANIMATION ===== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== FOOTER ===== */
footer {
  background: var(--navy-deep);
  border-top: 1px solid var(--border);
  padding: 3.5rem 0 2rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

@media (max-width: 768px) {
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  margin-bottom: 0.75rem;
}

.footer-logo img { height: 28px; width: auto; }

.footer-wordmark {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--cream);
  letter-spacing: 0.05em;
}

.footer-tagline {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.5;
  margin-top: 0.5rem;
}

/* Footer nav — MUST NOT inherit body > nav fixed positioning */
/* This is a plain block nav inside footer */
footer nav { /* scoped to footer context — no position:fixed here */ }

.footer-nav-title {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-light);
  margin-bottom: 1rem;
}

.footer-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-nav-list a {
  color: rgba(240,237,228,0.6);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-nav-list a:hover { color: var(--cream); }

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--muted);
}

.footer-contact a {
  color: var(--teal-light);
  text-decoration: none;
  font-size: 0.85rem;
}

.footer-contact a:hover { color: var(--cream); }

/* ===== UTILITY ===== */
.text-center { text-align: center; }
.text-teal { color: var(--teal-light); }
.text-amber { color: var(--amber); }
.text-muted { color: var(--muted); }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

/* ===== ACCESSIBILITY ===== */
:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}

.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;
}


/* ── CTA always visible on mobile (tool pages have no toggle button) ── */
@media (max-width: 768px) {
  .nav-links li:last-child {
    display: list-item !important;
  }
  body > nav .nav-links {
    display: flex !important;
    gap: 0;
  }
  body > nav .nav-links li:not(:last-child) {
    display: none !important;
  }
  body > nav .nav-links li:last-child {
    display: list-item !important;
  }
}

/* ============================================================
   FAQ ACCORDION — shared across all tool pages
   Previously lived only in per-page inline <style> blocks.
   Moved to shared CSS v1.8 so would-you-fall-for-it and any
   future pages get correct styling automatically.
   ============================================================ */

.faq-list {
  max-width: 740px;
  margin: 2.5rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: rgba(10,30,48,0.6);
  border: none;
  padding: 1.1rem 1.5rem;
  text-align: left;
  color: var(--cream);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: background 0.2s;
}
.faq-question:hover { background: rgba(29,158,117,0.06); }

.faq-chevron {
  width: 16px; height: 16px;
  flex-shrink: 0;
  transition: transform 0.25s;
  color: var(--teal);
}
.faq-item.open .faq-chevron { transform: rotate(180deg); }

.faq-answer {
  display: none;
  padding: 0 1.5rem 1.25rem;
  background: rgba(10,30,48,0.4);
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.75;
}
.faq-item.open .faq-answer { display: block; }

/* ============================================================
   v1.2 ADDITIONS — Tool page styles
   All classes used across the 10 tool page HTML files.
   Added to v1.1 base without changing any existing rules.
   ============================================================ */

/* ===== SECTION BACKGROUNDS (tool pages) ===== */
.grid-dark { background: var(--navy);     padding: 5rem 0; }
.grid-mid  { background: var(--navy-mid); padding: 5rem 0; }

/* ===== SECTION HEADING SYSTEM ===== */
.section-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.75rem;
  display: block;
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: var(--cream);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.section-body {
  font-size: 1rem;
  color: var(--muted);
  max-width: 580px;
  line-height: 1.75;
  margin-bottom: 2rem;
}

/* ===== PAGE HERO ===== */
.page-hero {
  padding: 5rem 2rem 3.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-top: 68px;
  background-image:
    linear-gradient(rgba(29,158,117,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(29,158,117,0.05) 1px, transparent 1px);
  background-size: 48px 48px;
}

.page-hero-glow {
  position: absolute;
  top: -60px; left: 50%;
  transform: translateX(-50%);
  width: 500px; height: 400px;
  background: radial-gradient(ellipse at center, rgba(29,158,117,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  justify-content: center;
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--muted); text-decoration: none; transition: color 0.2s; }
.breadcrumb a:hover { color: var(--teal-light); }

.page-hero-eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.75rem;
  display: block;
}

.page-hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 700;
  color: var(--cream);
  line-height: 1.1;
  margin-bottom: 1rem;
}

.page-hero-sub {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.75;
  max-width: 580px;
  margin: 0 auto 1.5rem;
}

/* ===== TOOL WRAP — macOS-style analyzer panel ===== */
.tool-wrap {
  max-width: 760px;
  margin: 0 auto;
  background: var(--navy-mid);
  border: 1px solid var(--border-bright);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 60px rgba(29,158,117,0.07);
}

.tool-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.25rem;
  background: rgba(10,30,48,0.6);
  border-bottom: 1px solid var(--border);
}

.tool-dot { width: 11px; height: 11px; border-radius: 50%; flex-shrink: 0; }
.dot-red   { background: #E24B4A; }
.dot-amber { background: #EF9F27; }
.dot-green { background: #1D9E75; }

.tool-title-bar {
  flex: 1;
  text-align: center;
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.06em;
}

.tool-body { padding: 1.75rem 2rem 1.5rem; }

.tool-input-wrap { position: relative; }

.tool-input-icon {
  position: absolute;
  top: 1rem; left: 1rem;
  opacity: 0.7;
  pointer-events: none;
  z-index: 1;
}

.tool-textarea {
  width: 100%;
  background: var(--navy-deep);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--cream);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  line-height: 1.6;
  padding: 1rem 1.25rem 1rem 3.25rem;
  resize: vertical;
  min-height: 140px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.tool-textarea::placeholder { color: rgba(139,164,180,0.5); }
.tool-textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(29,158,117,0.12);
}

.tool-body input[type="text"],
.tool-body input[type="url"] {
  width: 100%;
  background: var(--navy-deep);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--cream);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  padding: 1rem 1.25rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.tool-body input[type="text"]:focus,
.tool-body input[type="url"]:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(29,158,117,0.12);
}
.tool-body input::placeholder { color: rgba(139,164,180,0.5); }

.tool-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.tool-hint { font-size: 0.82rem; color: var(--muted); line-height: 1.5; }
.tool-hint strong { color: var(--teal-light); font-weight: 500; }

.analyze-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--teal);
  color: #fff;
  border: none;
  padding: 0.8rem 1.75rem;
  border-radius: 6px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  letter-spacing: 0.02em;
  transition: background 0.2s, transform 0.1s;
  white-space: nowrap;
}
.analyze-btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.analyze-btn:hover { background: #188762; transform: translateY(-1px); }
.analyze-btn:active { transform: translateY(0); }
.analyze-btn.loading { opacity: 0.7; cursor: not-allowed; pointer-events: none; }

.tool-disclaimer {
  text-align: center;
  font-size: 0.76rem;
  color: rgba(139,164,180,0.5);
  padding: 0.75rem 1.5rem 1.1rem;
  border-top: 1px solid var(--border);
  line-height: 1.6;
}

/* ===== SECURITY STRIP ===== */
.security-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.security-badge {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  color: var(--muted);
}
.security-badge svg { width: 14px; height: 14px; flex-shrink: 0; }

/* ===== STEPS ===== */
.steps-row {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.step-item {
  flex: 1;
  min-width: 200px;
  max-width: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  position: relative;
  padding: 0 1.5rem;
  text-align: center;
}

.step-connector {
  position: absolute;
  top: 36px; right: -1px;
  width: 50%; height: 1px;
  background: linear-gradient(to right, var(--teal), transparent);
  pointer-events: none;
}

.step-connector-left {
  position: absolute;
  top: 36px; left: -1px;
  width: 50%; height: 1px;
  background: linear-gradient(to left, transparent, var(--teal));
  pointer-events: none;
}

.step-num {
  width: 72px; height: 72px;
  border-radius: 50%;
  border: 2px solid var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--teal-light);
  background: var(--navy-deep);
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.step-word {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--cream);
}

.step-desc { font-size: 0.9rem; color: var(--muted); line-height: 1.65; }

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--teal);
  color: #fff;
  padding: 0.9rem 2.2rem;
  border-radius: 5px;
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: background 0.2s, transform 0.1s;
  border: none;
  cursor: pointer;
}
.btn-primary:hover { background: #188762; transform: translateY(-1px); color: #fff; }
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: var(--cream);
  padding: 0.9rem 2.2rem;
  border-radius: 5px;
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  text-decoration: none;
  border: 1px solid var(--border-bright);
  transition: border-color 0.2s, color 0.2s;
  cursor: pointer;
}
.btn-ghost:hover { border-color: var(--teal-light); color: var(--teal-light); }

/* ===== TOOL SUITE GRID ===== */
.tool-tier-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px;
}

.tool-suite-card {
  background: rgba(10,30,48,0.6);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1rem 1.1rem;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: border-color 0.2s, background 0.2s;
}
.tool-suite-card:hover {
  border-color: var(--border-bright);
  background: rgba(29,158,117,0.06);
}

.tool-suite-card-top { display: flex; align-items: center; gap: 8px; }

.ts-icon {
  width: 30px; height: 30px;
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.ts-icon svg { width: 16px; height: 16px; }
.ts-icon-t1 { background: rgba(29,158,117,0.12); }
.ts-icon-t2 { background: rgba(93,202,165,0.10); }
.ts-icon-t3 { background: rgba(239,159,39,0.10); }

.ts-badge {
  font-size: 0.6rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 2px 6px; border-radius: 3px;
  margin-left: auto; flex-shrink: 0;
}
.ts-badge-t1 { background: rgba(29,158,117,0.15); color: var(--teal-light); }
.ts-badge-t2 { background: rgba(93,202,165,0.10); color: var(--teal-light); }
.ts-badge-t3 { background: rgba(239,159,39,0.12); color: var(--amber); }

.ts-name { font-family: 'DM Sans', sans-serif; font-size: 0.85rem; font-weight: 500; color: var(--cream); line-height: 1.3; }
.ts-desc { font-size: 0.76rem; color: var(--muted); line-height: 1.45; }

/* ===== FOOTER — tool page classes ===== */
.footer-brand { max-width: 320px; }

.footer-logo-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.75rem;
}

.footer-logo-img { height: 28px; width: auto; }

.footer-wordmark .scam { color: var(--amber); }
.footer-wordmark .not  { color: var(--teal-light); }

.footer-tagline {
  font-size: 0.82rem;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
  line-height: 1.5;
}

.footer-desc {
  font-size: 0.85rem;
  color: rgba(139,164,180,0.6);
  line-height: 1.65;
}

.footer-nav {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
}

.footer-col h4 {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-col a {
  font-size: 0.86rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--cream); }

/* Override footer-top for tool pages (flex instead of grid) */
footer .footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0;
  flex-wrap: wrap;
}

/* ===== RESPONSIVE — tool pages ===== */
@media (max-width: 768px) {
  .page-hero { padding: 3.5rem 1.25rem 2.5rem; }
  .tool-body { padding: 1.25rem; }
  .tool-actions { flex-direction: column; align-items: flex-end; }
  .steps-row { flex-direction: column; align-items: center; }
  .step-connector, .step-connector-left { display: none; }
  .tool-tier-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .tool-tier-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   v1.3 ADDITIONS — Contact page + footer variant styles
   ============================================================ */

/* ===== GRID-LIGHT — contact/legal page background ===== */
.grid-light {
  background: var(--navy);
  padding: 4rem 0 6rem;
}

/* ===== CONTACT LAYOUT — two-column: form + sidebar ===== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 2.5rem;
  align-items: flex-start;
  max-width: 1000px;
  margin: 0 auto;
}

@media (max-width: 860px) {
  .contact-layout { grid-template-columns: 1fr; }
}

/* ===== CONTACT FORM CARD ===== */
.contact-form-card {
  background: var(--navy-mid);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2.25rem 2.25rem 2rem;
}

.contact-form-card h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 1.5rem;
}

/* ===== FORM FIELDS ===== */
.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.form-field label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-light);
}

.form-field input[type="text"],
.form-field input[type="email"],
.form-field select,
.form-field textarea {
  width: 100%;
  background: var(--navy-deep);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--cream);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  padding: 0.85rem 1rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
  -webkit-appearance: none;
}

.form-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238BA4B4' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-field select option {
  background: var(--navy-mid);
  color: var(--cream);
}

.form-field textarea {
  resize: vertical;
  min-height: 130px;
  line-height: 1.6;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(29,158,117,0.12);
}

.form-field input::placeholder,
.form-field textarea::placeholder { color: rgba(139,164,180,0.5); }

.char-count {
  font-size: 0.75rem;
  color: var(--muted);
  text-align: right;
  margin-top: 0.25rem;
}

/* Full-width button variant */
.btn-full {
  width: 100%;
  justify-content: center;
  padding: 0.9rem;
  font-size: 1rem;
  border-radius: 6px;
  margin-top: 0.5rem;
}

.form-note {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.55;
  margin-top: 1rem;
}

/* Form success state */
.form-success {
  text-align: center;
  padding: 3rem 1rem;
}

.success-check {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(29,158,117,0.15);
  border: 2px solid var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--teal);
  margin: 0 auto 1.25rem;
}

.form-success h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  color: var(--cream);
  margin-bottom: 0.5rem;
}

.form-success p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ===== CONTACT SIDEBAR ===== */
.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-info-card {
  background: var(--navy-mid);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.5rem;
}

.contact-info-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 0.6rem;
}

.contact-info-card p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.65;
}

.contact-info-card a {
  color: var(--teal-light);
  text-decoration: none;
  transition: color 0.2s;
}

.contact-info-card a:hover { color: var(--cream); }

.contact-quick-links {
  list-style: none;
  margin-top: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.contact-quick-links li::before {
  content: '→ ';
  color: var(--teal);
  font-size: 0.85rem;
}

.contact-quick-links a {
  font-size: 0.88rem;
  color: var(--teal-light);
  text-decoration: none;
  transition: color 0.2s;
}

.contact-quick-links a:hover { color: var(--cream); }

/* ===== FOOTER VARIANT — contact/inner pages ===== */
/* Some pages use .footer-brand-col instead of .footer-brand */
.footer-brand-col {
  max-width: 320px;
}

.footer-brand-col .footer-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  margin-bottom: 0.75rem;
}

.footer-brand-col .footer-logo img {
  width: 36px;
  height: 36px;
}

/* footer-bottom on contact page is outside footer-inner */
.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.5rem 2rem 0;
  border-top: 1px solid var(--border);
  margin-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-privacy-note {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: var(--teal);
}

.privacy-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  display: inline-block;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

/* ===== RESPONSIVE — contact page ===== */
@media (max-width: 768px) {
  .contact-form-card { padding: 1.5rem; }
  .grid-light { padding: 3rem 0 4rem; }
}

/* ============================================================
   v1.4 ADDITIONS — about.html styles
   ============================================================ */

/* ===== WORDMARK COLOR — nav spans =====
   .footer-wordmark .scam/.not already defined above for footer.
   These standalone classes handle bare <span class="scam"> in nav. */
.scam { color: var(--amber); }
.not  { color: var(--teal-light); }

/* ===== STAT STRIP — grid-dark section on about.html ===== */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding: 1rem 0;
}

.stat-card {
  text-align: center;
  padding: 1.75rem 1rem;
  background: rgba(15,45,66,0.5);
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: border-color 0.2s;
}

.stat-card:hover { border-color: var(--border-bright); }

.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--teal-light);
  line-height: 1.1;
  margin-bottom: 0.5rem;
  display: block;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.5;
  display: block;
}

@media (max-width: 860px) {
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .stat-strip { grid-template-columns: 1fr; }
}

/* ===== DOC LAYOUT — about/legal body content ===== */
.doc-container {
  max-width: 860px;
  margin: 0 auto;
}

.doc-section {
  margin-bottom: 3.5rem;
}

.doc-section h2 {
  margin-bottom: 1.25rem;
}

.doc-section p {
  font-size: 1rem;
  color: rgba(240,237,228,0.8);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.doc-section p:last-child { margin-bottom: 0; }

/* ===== ABOUT QUOTE — italic pullquote callout ===== */
.about-quote {
  border-left: 3px solid var(--teal);
  padding: 1.25rem 1.75rem;
  margin: 1.5rem 0;
  background: rgba(29,158,117,0.06);
  border-radius: 0 8px 8px 0;
}

.about-quote p {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
  font-weight: 600;
  font-style: italic;
  color: var(--cream);
  line-height: 1.5;
  margin: 0 !important;
}

/* ===== WHY GRID — 2x2 reason cards ===== */
.about-why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.why-card {
  background: rgba(15,45,66,0.5);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.5rem;
  transition: border-color 0.2s;
}

.why-card:hover { border-color: var(--border-bright); }

.why-card h3 {
  font-size: 1.05rem;
  color: var(--teal-light);
  margin-bottom: 0.5rem;
}

.why-card p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.65;
  margin: 0 !important;
}

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

/* ===== PRINCIPLES LIST — numbered vertical stack ===== */
.principles-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 1.5rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}

.principle-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.5rem 1.75rem;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
}

.principle-item:last-child { border-bottom: none; }

.principle-item:hover { background: rgba(29,158,117,0.04); }

.principle-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--teal);
  min-width: 2.5rem;
  flex-shrink: 0;
  line-height: 1.2;
  margin-top: 0.1rem;
}

.principle-item h3 {
  font-size: 1rem;
  color: var(--cream);
  margin-bottom: 0.35rem;
}

.principle-item p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.65;
  margin: 0 !important;
}

/* ===== TOOLS GRID — pill links on about page ===== */
.about-tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.about-tool-link {
  display: block;
  text-align: center;
  padding: 0.75rem 1rem;
  background: rgba(15,45,66,0.5);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--teal-light);
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.about-tool-link:hover {
  background: rgba(29,158,117,0.1);
  border-color: var(--teal);
  color: var(--cream);
}

/* ===== ABOUT CTA BLOCK — bottom call to action ===== */
.about-cta-block {
  text-align: center;
  padding: 3rem 2rem;
  background: rgba(15,45,66,0.5);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-top: 1rem;
}

.about-cta-block h2 {
  margin-bottom: 0.75rem;
}

.about-cta-block p {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.75;
  max-width: 560px;
  margin: 0 auto 1.75rem;
}

/* ===== RESPONSIVE — about page ===== */
@media (max-width: 768px) {
  .doc-section { margin-bottom: 2.5rem; }
  .principle-item { padding: 1.25rem; gap: 1rem; }
  .about-cta-block { padding: 2rem 1.25rem; }
}

/* ============================================================
   v1.4b PATCH — footer-inner flex layout
   Fixes contact.html + about.html footer: brand-col and
   footer-nav were stacking vertically (no flex rule on
   footer-inner). footer-bottom sits outside footer-inner
   and is unaffected.
   ============================================================ */

/* footer-inner: brand col left, nav columns right */
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 3rem;
  padding-bottom: 2.5rem;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .footer-inner {
    flex-direction: column;
    gap: 2rem;
  }
  .footer-brand-col { max-width: 100%; }
}

/* ============================================================
   v1.5 ADDITIONS — Global missing classes + legal pages +
   would-you-fall-for-it.html quiz styles
   ============================================================ */

/* ===== GLOBAL — nav-logo-img (all pages) ===== */
.nav-logo-img {
  height: 36px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

/* ===== GLOBAL — btn-secondary ===== */
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--teal-light);
  padding: 0.75rem 1.75rem;
  border-radius: 5px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid var(--border-bright);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.btn-secondary:hover {
  border-color: var(--teal-light);
  background: rgba(29,158,117,0.06);
  color: var(--cream);
}

/* ============================================================
   LEGAL PAGE STYLES — privacy-policy, terms-of-service,
   disclaimer (no inline <style> block on these pages)
   ============================================================ */

/* ===== DOC META — effective date line ===== */
.doc-meta {
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.05em;
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

/* ===== DOC CALLOUT — standard info box ===== */
.doc-callout {
  background: rgba(29,158,117,0.06);
  border: 1px solid rgba(29,158,117,0.2);
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  font-size: 0.9rem;
  color: rgba(240,237,228,0.85);
  line-height: 1.75;
}

.doc-callout strong { color: var(--teal-light); }

/* ===== DOC CALLOUT WARNING — red variant ===== */
.doc-callout-warning {
  background: rgba(226,75,74,0.06);
  border: 1px solid rgba(226,75,74,0.2);
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  font-size: 0.88rem;
  color: rgba(240,237,228,0.8);
  line-height: 1.75;
}

.doc-callout-warning strong { color: var(--red); }

/* ===== DOC ALERT — top-of-page banner (TOS) ===== */
.doc-alert {
  background: rgba(239,159,39,0.07);
  border: 1px solid rgba(239,159,39,0.25);
  border-radius: 8px;
  padding: 1rem 1.5rem;
  margin-bottom: 2rem;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

.doc-alert-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--amber);
  display: block;
  margin-bottom: 0.35rem;
}

.doc-alert p {
  font-size: 0.88rem;
  color: rgba(240,237,228,0.8);
  line-height: 1.65;
  margin: 0;
}

/* ===== DOC CONTACT BOX — bottom contact block ===== */
.doc-contact-box {
  background: var(--navy-mid);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.5rem 1.75rem;
  margin-top: 3rem;
}

.doc-contact-box h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 0.5rem;
}

.doc-contact-box p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 0.5rem;
}

.doc-contact-box a {
  color: var(--teal-light);
  text-decoration: none;
  transition: color 0.2s;
}
.doc-contact-box a:hover { color: var(--cream); }

.doc-contact-sub {
  font-size: 0.78rem;
  color: rgba(139,164,180,0.6);
  line-height: 1.5;
  margin-top: 0.75rem !important;
}

/* ===== PRIVACY PROMISE STRIP — privacy-policy.html ===== */
.privacy-promise-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2rem 0;
  padding: 1.5rem;
  background: rgba(29,158,117,0.05);
  border: 1px solid rgba(29,158,117,0.15);
  border-radius: 10px;
}

.promise-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--teal-light);
  font-weight: 500;
}

.promise-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  flex-shrink: 0;
}

/* ============================================================
   WOULD YOU FALL FOR IT — Quiz page styles
   No inline <style> block exists on this page — all CSS here
   ============================================================ */

/* ===== QUIZ META STRIP — 4 stat boxes above quiz ===== */
.quiz-meta-strip {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  padding: 2rem 0;
}

.quiz-meta-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.quiz-meta-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--teal-light);
  line-height: 1;
}

.quiz-meta-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ===== QUIZ START SCREEN ===== */
.quiz-start-body {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: flex-start;
}

.quiz-start-desc {
  font-size: 0.95rem;
  color: rgba(240,237,228,0.8);
  line-height: 1.75;
}

.quiz-start-note {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--muted);
}

/* ===== QUIZ PROGRESS BAR ===== */
.quiz-progress-wrap {
  margin-bottom: 1.5rem;
}

.quiz-progress-bar-outer {
  height: 4px;
  background: rgba(29,158,117,0.15);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 0.6rem;
}

.quiz-progress-bar-inner {
  height: 100%;
  background: var(--teal);
  border-radius: 2px;
  transition: width 0.4s ease;
}

.quiz-progress-label {
  font-size: 0.78rem;
  color: var(--muted);
  text-align: right;
}

/* ===== QUIZ CARD — question container ===== */
.quiz-card {
  background: var(--navy-mid);
  border: 1px solid var(--border-bright);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.quiz-q-number {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal);
  display: block;
  margin-bottom: 0.5rem;
}

.quiz-q-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  font-weight: 700;
  color: var(--cream);
  line-height: 1.3;
  margin-bottom: 1.25rem;
}

/* ===== QUIZ SCENARIO MESSAGE ===== */
.quiz-scenario-msg {
  background: var(--navy-deep);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  font-size: 0.9rem;
  color: rgba(240,237,228,0.9);
  line-height: 1.75;
  white-space: pre-wrap;
  font-family: 'DM Sans', sans-serif;
  margin-bottom: 1.5rem;
}

/* ===== QUIZ CHOICES ===== */
.quiz-choices {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.quiz-choice {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.9rem 1.1rem;
  background: rgba(10,30,48,0.5);
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  text-align: left;
  width: 100%;
  font-family: 'DM Sans', sans-serif;
  color: var(--cream);
  font-size: 0.9rem;
  line-height: 1.55;
}

.quiz-choice:hover {
  border-color: var(--border-bright);
  background: rgba(29,158,117,0.06);
}

.quiz-choice.selected {
  border-color: var(--teal);
  background: rgba(29,158,117,0.1);
}

.quiz-choice.correct {
  border-color: var(--teal);
  background: rgba(29,158,117,0.12);
}

.quiz-choice.incorrect {
  border-color: var(--red);
  background: rgba(226,75,74,0.08);
}

.quiz-choice-letter {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--teal);
  min-width: 1.25rem;
  flex-shrink: 0;
  margin-top: 0.05rem;
}

/* ===== QUIZ ANSWER PROMPT ===== */
.quiz-answer-prompt {
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
  margin-top: 0.75rem;
}

/* ===== QUIZ REVEAL — post-answer explanation ===== */
.quiz-reveal {
  margin-top: 1.25rem;
  padding: 1.25rem 1.5rem;
  background: rgba(10,30,48,0.6);
  border: 1px solid var(--border);
  border-radius: 8px;
  border-top: 3px solid var(--teal);
}

.quiz-reveal-verdict {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  display: block;
}

.quiz-reveal-verdict.correct { color: var(--teal-light); }
.quiz-reveal-verdict.incorrect { color: var(--red); }

.quiz-reveal-text {
  font-size: 0.9rem;
  color: rgba(240,237,228,0.85);
  line-height: 1.75;
}

/* ===== QUIZ FLAGS ===== */
.quiz-flags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.85rem;
}

.quiz-flag-tag {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--amber);
  background: rgba(239,159,39,0.1);
  border: 1px solid rgba(239,159,39,0.25);
  padding: 0.2rem 0.6rem;
  border-radius: 3px;
}

/* ===== QUIZ NEXT BUTTON ===== */
.quiz-next-wrap {
  display: flex;
  justify-content: flex-end;
  margin-top: 1.25rem;
}

/* ===== QUIZ RESULTS CARD ===== */
.quiz-results-card {
  background: var(--navy-mid);
  border: 1px solid var(--border-bright);
  border-radius: 12px;
  overflow: hidden;
}

.quiz-results-body {
  padding: 2rem 2.5rem;
}

.quiz-result-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 0.5rem;
}

.quiz-result-sub {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.quiz-result-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ===== SCORE RING ===== */
.quiz-score-ring {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 4px solid var(--teal);
  background: rgba(29,158,117,0.08);
  margin: 0 auto 1.5rem;
  flex-shrink: 0;
}

.score-ring-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
}

.score-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--teal-light);
}

.score-denom {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 0.2rem;
}

/* ===== QUIZ TIER BADGE ===== */
.quiz-tier-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 0.85rem;
  border-radius: 2rem;
  margin-bottom: 1rem;
}

.quiz-tier-badge.tier-expert {
  background: rgba(29,158,117,0.15);
  color: var(--teal-light);
  border: 1px solid rgba(29,158,117,0.3);
}

.quiz-tier-badge.tier-aware {
  background: rgba(93,202,165,0.12);
  color: var(--teal-light);
  border: 1px solid rgba(93,202,165,0.25);
}

.quiz-tier-badge.tier-learning {
  background: rgba(239,159,39,0.12);
  color: var(--amber);
  border: 1px solid rgba(239,159,39,0.25);
}

.quiz-tier-badge.tier-vulnerable {
  background: rgba(226,75,74,0.1);
  color: var(--red);
  border: 1px solid rgba(226,75,74,0.25);
}

/* ===== QUIZ REVIEW SECTION ===== */
.quiz-review-section {
  margin-top: 2rem;
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
}

.quiz-review-item {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
}

.quiz-review-item:last-child { border-bottom: none; }

.review-q-text {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--cream);
  margin-bottom: 0.5rem;
}

.review-your-ans {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 0.25rem;
}

.review-correct-ans {
  font-size: 0.82rem;
  color: var(--teal-light);
  margin-bottom: 0.5rem;
}

.review-lesson {
  font-size: 0.82rem;
  color: rgba(240,237,228,0.65);
  line-height: 1.65;
  padding-left: 0.75rem;
  border-left: 2px solid var(--border);
  margin-top: 0.5rem;
}

/* ===== TOOL SUITE STRIP — related tools row ===== */
.tool-suite-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.5rem;
  justify-content: center;
}

.suite-strip-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  width: 100%;
  text-align: center;
  margin-bottom: 0.25rem;
}

.suite-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 1rem;
  background: rgba(10,30,48,0.6);
  border: 1px solid var(--border);
  border-radius: 2rem;
  font-size: 0.82rem;
  color: var(--teal-light);
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.suite-pill:hover {
  border-color: var(--teal);
  background: rgba(29,158,117,0.08);
  color: var(--cream);
}

/* ===== RESPONSIVE — quiz page ===== */
@media (max-width: 600px) {
  .quiz-meta-strip { gap: 1.25rem; }
  .quiz-results-body { padding: 1.5rem; }
  .quiz-result-actions { flex-direction: column; }
  .quiz-score-ring { width: 100px; height: 100px; }
  .score-num { font-size: 2rem; }
}
