/* ==========================================================================
   AI ACT NAVIGATOR - MASTER HIGH-CONTRAST DARK THEME
   ========================================================================== */

:root {
  --bg-main: #060913;
  --bg-card: #0d1527;
  --bg-card-hover: #131f38;
  --bg-input: #111c35;
  --bg-glass: rgba(13, 21, 39, 0.85);
  
  --border: #1e293b;
  --border-light: #334155;
  --border-glow: rgba(56, 189, 248, 0.35);
  
  --primary: #38bdf8;
  --primary-dark: #0284c7;
  --accent: #818cf8;
  
  --text-dark: #ffffff;
  --text-body: #e2e8f0;
  --text-muted: #94a3b8;
  
  --success: #34d399;
  --warning: #fbbf24;
  
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 24px -6px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 30px -5px rgba(56, 189, 248, 0.25);
  --radius: 12px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-body);
  line-height: 1.6;
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(56, 189, 248, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 85% 85%, rgba(129, 140, 248, 0.08) 0%, transparent 40%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--primary); text-decoration: none; transition: color 0.15s ease; }
a:hover { color: #7dd3fc; }

/* Announcement & Regulatory Strips */
.top-banner {
  background: linear-gradient(90deg, #1e1b4b 0%, #0f172a 100%);
  border-bottom: 1px solid var(--border);
  padding: 0.5rem 1rem;
  font-size: 0.775rem;
  text-align: center;
  color: #e2e8f0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}
.top-banner a { color: var(--primary); font-weight: 700; }

.regulatory-strip {
  background: rgba(15, 23, 42, 0.95);
  border-bottom: 1px solid var(--border);
  padding: 0.5rem 1rem;
  font-size: 0.775rem;
  text-align: center;
  color: #cbd5e1;
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 0.85rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
}

.logo {
  font-size: 1.2rem;
  font-weight: 800;
  color: #ffffff !important;
  text-decoration: none !important;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.logo span { color: var(--primary); }

.nav-links { display: flex; align-items: center; gap: 1.5rem; }
.nav-links a { color: var(--text-body); font-weight: 600; font-size: 0.875rem; }
.nav-links a:hover { color: #ffffff; }

.nav-cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #041324 !important;
  font-weight: 700;
  padding: 0.45rem 1rem;
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.3);
}

/* Typography & Layout */
.page-container { max-width: 1100px; margin: 0 auto; padding: 3rem 1.25rem 5rem; }
.breadcrumb { font-size: 0.825rem; color: var(--text-muted); margin-bottom: 1.25rem; }
.breadcrumb a { color: var(--text-body); font-weight: 600; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text-dark);
  margin-bottom: 0.85rem;
}
h1 span {
  background: linear-gradient(135deg, #38bdf8 0%, #818cf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

h2 { font-size: 1.6rem; font-weight: 800; color: var(--text-dark); margin: 2rem 0 1rem; }
h3 { font-size: 1.15rem; font-weight: 700; color: var(--text-dark); }
p, .subtitle { font-size: 1rem; color: var(--text-body); line-height: 1.6; margin-bottom: 1.25rem; }

/* Buttons */
.btn-visit, .btn-generate {
  background: linear-gradient(135deg, #38bdf8 0%, #0284c7 100%);
  color: #041324 !important;
  font-weight: 700;
  padding: 0.75rem 1.4rem;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 4px 14px rgba(56, 189, 248, 0.3);
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-visit:hover, .btn-generate:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(56, 189, 248, 0.45); }

.btn-compare {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--border-light);
  color: var(--text-dark) !important;
  font-weight: 600;
  padding: 0.75rem 1.4rem;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}
.btn-compare:hover { background: var(--bg-card-hover); border-color: var(--primary); }

/* Hero Split Layout */
.hero-visual-container {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem;
  align-items: center;
  margin-bottom: 3.5rem;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Interactive Terminal Visual */
.blueprint-visual-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: var(--shadow-glow);
}
.blueprint-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.75rem;
  margin-bottom: 1rem;
}
.window-dots { display: flex; gap: 6px; }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-red { background: #ef4444; }
.dot-amber { background: #f59e0b; }
.dot-green { background: #10b981; }

.blueprint-diagram { display: flex; flex-direction: column; gap: 0.65rem; }
.diagram-node {
  background: rgba(6, 9, 19, 0.8);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-dark);
  transition: all 0.2s ease;
}
.diagram-node:hover { border-color: var(--primary); transform: translateX(4px); }
.diagram-connector { text-align: center; color: var(--primary); font-size: 0.85rem; opacity: 0.6; }

/* Interactive Metric Cards */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 3.5rem;
}
.metric-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.metric-card:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}
.metric-value { font-size: 1.95rem; font-weight: 800; color: var(--text-dark); margin-bottom: 0.35rem; line-height: 1; }
.metric-label { font-size: 0.775rem; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }

/* Feature Pillars */
.features-visual-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 4rem;
}
.feature-visual-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.2s ease;
}
.feature-visual-card:hover { border-color: var(--primary); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature-icon-badge {
  width: 44px; height: 44px; border-radius: 10px;
  background: rgba(56, 189, 248, 0.1); border: 1px solid rgba(56, 189, 248, 0.2);
  display: flex; align-items: center; justify-content: center; font-size: 1.35rem; margin-bottom: 1.25rem;
}

/* Requirements Grid */
.requirements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 1.25rem;
  margin: 1.5rem 0 3.5rem;
}
.requirement-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}
.requirement-card:hover { border-color: var(--primary); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.requirement-card h3 { color: var(--text-dark); margin: 0; }
.requirement-card p { color: var(--text-body); font-size: 0.875rem; margin: 0; }

/* Directory Grid & Cards */
.directory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}
.tool-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.2s ease;
}
.tool-card:hover { border-color: var(--border-light); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.is-featured-card {
  border-color: rgba(56, 189, 248, 0.4);
  background: linear-gradient(180deg, rgba(13, 21, 39, 1) 0%, rgba(18, 29, 54, 0.7) 100%);
}

.tool-card-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 0.5rem; }
.tool-logo-img {
  width: 34px; height: 34px; border-radius: 8px; background: #ffffff;
  padding: 2px; object-fit: contain; border: 1px solid var(--border); flex-shrink: 0;
}
.tool-card-title { font-size: 1.15rem; font-weight: 700; color: var(--text-dark); margin: 0; }
.tool-card-hq { font-size: 0.75rem; color: var(--text-muted); display: block; margin-top: 0.2rem; }
.tool-card-desc { font-size: 0.875rem; color: var(--text-body); margin: 0.85rem 0; line-height: 1.5; }

/* Badges & Tag Styling */
.badge-featured { background: rgba(245, 158, 11, 0.15); border: 1px solid rgba(245, 158, 11, 0.3); color: #fbbf24; font-size: 0.7rem; font-weight: 700; padding: 0.15rem 0.5rem; border-radius: 6px; }
.badge-eu, .badge-active { background: rgba(2, 132, 199, 0.15); border: 1px solid rgba(2, 132, 199, 0.3); color: #38bdf8; font-size: 0.7rem; font-weight: 700; padding: 0.15rem 0.5rem; border-radius: 6px; }
.badge-global, .badge-prepare { background: rgba(100, 116, 139, 0.15); border: 1px solid rgba(100, 116, 139, 0.3); color: #cbd5e1; font-size: 0.7rem; font-weight: 700; padding: 0.15rem 0.5rem; border-radius: 6px; }

.tool-mandate-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0.6rem 0; }
.tag-mandate { background: rgba(15, 23, 42, 0.8); border: 1px solid var(--border); color: #93c5fd; font-size: 0.725rem; font-weight: 600; padding: 0.2rem 0.5rem; border-radius: 6px; }

.tool-card-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center; margin-bottom: 1rem; }
.tag-pill { font-size: 0.725rem; font-weight: 600; padding: 0.2rem 0.5rem; border-radius: 6px; }
.tag-role { background: rgba(56, 189, 248, 0.1); color: var(--primary); border: 1px solid rgba(56, 189, 248, 0.2); }
.tag-price { background: rgba(16, 185, 129, 0.1); color: #34d399; border: 1px solid rgba(16, 185, 129, 0.2); }
.tag-security { background: rgba(129, 140, 248, 0.1); color: #a5b4fc; border: 1px solid rgba(129, 140, 248, 0.2); }

.tool-card-actions { display: flex; gap: 0.5rem; }

/* Filter Controls & Search Panel */
.search-filter-panel {
  display: flex;
  gap: 0.85rem;
  margin: 1.5rem 0 1rem;
  background: var(--bg-card);
  padding: 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  align-items: center;
}
.search-filter-panel input[type="search"] { flex: 2; }
.search-filter-panel select { flex: 1; }

.filter-pills, .category-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1rem 0 2rem; }
.filter-pill, .category-pill {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-body);
  padding: 0.45rem 0.95rem;
  border-radius: 20px;
  font-size: 0.825rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}
.filter-pill:hover, .filter-pill.active, .category-pill:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #041324;
  font-weight: 700;
}

/* Form Inputs & Select Controls */
input[type="text"], input[type="search"], select {
  width: 100%;
  padding: 0.75rem 0.9rem;
  background-color: var(--bg-input) !important;
  color: #ffffff !important;
  border: 1.5px solid var(--border-light) !important;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  outline: none;
  font-family: inherit;
  box-sizing: border-box;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
input::placeholder { color: var(--text-muted) !important; opacity: 1; }
input:focus, select:focus {
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.25);
}

/* Centered Full-Width Decision Engine Card (index.html) */
.decision-card {
  width: 100%;
  margin: 4rem auto 0;
  padding: 3.5rem 2rem;
  background: linear-gradient(180deg, rgba(13, 21, 39, 0.95) 0%, rgba(11, 19, 41, 0.95) 100%);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 16px;
  box-shadow: var(--shadow-glow);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.decision-card .eyebrow {
  margin-bottom: 0.85rem;
}

.decision-card h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.25rem);
  font-weight: 800;
  color: #ffffff;
  margin: 0.25rem 0 1rem;
}

.decision-card p {
  max-width: 700px;
  margin: 0 auto 2rem;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-body);
}

.decision-card .btn-generate {
  margin: 0 auto;
  font-size: 0.95rem;
  padding: 0.85rem 1.75rem;
}

/* Assessment Form Grid & Diagnostic Layout (assessment.html) */
.assessment-form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.form-field label {
  font-weight: 700;
  color: var(--text-dark);
  font-size: 0.85rem;
}
.form-field label span {
  color: var(--text-muted);
  font-weight: 500;
}
.form-field small {
  color: var(--text-muted);
  font-size: 0.75rem;
  line-height: 1.45;
}
.form-field input,
.form-field select {
  width: 100%;
  min-height: 42px;
}
.assessment-form-notice {
  margin-top: 1.5rem;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-card);
  color: var(--text-body);
  font-size: 0.85rem;
  line-height: 1.55;
}
.assessment-form-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 1.5rem;
}
.assessment-form-actions button:disabled {
  opacity: 0.65;
  cursor: wait;
}
.assessment-primary {
  color: var(--text-dark);
}
.assessment-warning {
  color: var(--warning);
}
.assessment-warning-box {
  border-color: var(--warning) !important;
}
.assessment-report-card {
  background: var(--bg-card);
  border: 2px solid var(--primary);
  border-radius: 12px;
  padding: 2rem;
  margin-top: 2rem;
  box-shadow: var(--shadow-glow);
}
.report-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 1px solid var(--border);
  padding-bottom: 1.25rem;
  margin-bottom: 1.25rem;
  gap: 1rem;
}
.report-eyebrow {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 0.05em;
}
.report-meta {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin: 0.25rem 0 0;
}
.report-meta strong {
  color: var(--text-dark);
}
.score-badge-box {
  background: rgba(6, 9, 19, 0.8);
  border: 1px solid var(--border);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  text-align: center;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}
.score-label {
  display: block;
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}
.score-number {
  display: block;
  margin-top: 0.25rem;
  color: var(--text-dark);
  font-size: 1.2rem;
  font-weight: 800;
}
.score-note {
  display: block;
  margin-top: 0.2rem;
  color: var(--text-muted);
  font-size: 0.7rem;
}
.report-mandates-box {
  background: rgba(6, 9, 19, 0.8);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  margin-bottom: 1.25rem;
}
.report-mandates-list {
  margin: 0;
  padding-left: 1.25rem;
  font-size: 0.875rem;
  color: var(--text-body);
  line-height: 1.6;
}
.stack-phase-row {
  background: rgba(6, 9, 19, 0.6);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.2rem;
  margin-bottom: 0.75rem;
  transition: all 0.2s ease;
}
.stack-phase-row:hover {
  border-color: var(--primary);
  background: rgba(13, 21, 39, 0.9);
}
.assessment-empty-state,
.assessment-error {
  padding: 1.25rem;
  border: 1px dashed var(--border);
  border-radius: 8px;
  color: var(--text-body);
  background: var(--bg-card);
  font-size: 0.9rem;
}
.assessment-error {
  border-style: solid;
  border-color: var(--warning);
}
.assessment-disclaimer {
  margin-top: 1.5rem;
  padding: 1rem 0 0;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.8rem;
  line-height: 1.6;
}
.export-actions-bar { display: flex; gap: 0.75rem; margin-top: 1.75rem; flex-wrap: wrap; }
.btn-export {
  background: #0f172a;
  border: 1px solid var(--border-light);
  color: #ffffff;
  padding: 0.65rem 1.15rem;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.2s ease;
}
.btn-export:hover { background: var(--bg-card-hover); border-color: var(--primary); }

/* Parallel Comparison Layout */
.compare-selectors-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}
.table-wrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  margin-top: 1.5rem;
}
.comparison-table { width: 100%; border-collapse: collapse; table-layout: fixed; min-width: 650px; }
.comparison-table th, .comparison-table td {
  padding: 1rem 1.15rem; text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top; font-size: 0.875rem; line-height: 1.45; color: var(--text-body);
}
.comparison-table th { background: rgba(6, 9, 19, 0.8); color: var(--text-dark); font-weight: 800; font-size: 1rem; }
.comparison-table td:first-child { background: rgba(6, 9, 19, 0.4); font-weight: 700; color: var(--text-dark); }

/* Timeline Tab Filters & Accordions */
.timeline-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.tab-btn {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-body);
  padding: 0.45rem 1rem;
  border-radius: 20px;
  font-size: 0.825rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}
.tab-btn.active, .tab-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #041324;
  font-weight: 700;
}
.timeline-accordion-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.35rem;
  margin-bottom: 1rem;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}
.timeline-accordion-card:hover { border-color: var(--primary); }
.timeline-status-active { border-left: 5px solid #10b981; }
.timeline-status-prepare { border-left: 5px solid #38bdf8; }

.timeline-drawer {
  display: none;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px dashed var(--border);
  font-size: 0.875rem;
  color: var(--text-body);
}

/* Prose Cards */
.prose-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
  margin-top: 1.5rem;
}
.prose-card h2 { color: var(--text-dark); margin-top: 1.5rem; margin-bottom: 0.5rem; }
.prose-card p, .prose-card li { color: var(--text-body); line-height: 1.6; }

/* Modals */
.modal-backdrop {
  position: fixed; inset: 0; background: rgba(6, 9, 19, 0.8);
  backdrop-filter: blur(8px); display: flex; align-items: center; justify-content: center; z-index: 1000; padding: 1rem;
}
.modal-card {
  background: var(--bg-card); border-radius: 12px; max-width: 540px; width: 100%;
  padding: 1.75rem; box-shadow: var(--shadow-glow); border: 1px solid var(--border-light);
}
.modal-header {
  display: flex; justify-content: space-between; align-items: flex-start;
  border-bottom: 1px solid var(--border); padding-bottom: 0.85rem; margin-bottom: 1rem;
}
.btn-modal-close { background: none; border: none; font-size: 1.2rem; font-weight: 700; color: var(--text-muted); cursor: pointer; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 3.5rem 1.5rem;
  text-align: center;
  background: var(--bg-main);
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 4rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .page-container { padding: 1.25rem 1rem 3.5rem; }
  .hero-visual-container { grid-template-columns: 1fr; gap: 1.5rem; }
  .metrics-grid { grid-template-columns: 1fr 1fr; }
  .features-visual-grid { grid-template-columns: 1fr; }
  .site-header { flex-direction: column; gap: 0.75rem; }
  .search-filter-panel { flex-direction: column; align-items: stretch; }
  .compare-selectors-grid { grid-template-columns: 1fr; }
  .directory-grid, .requirements-grid { grid-template-columns: 1fr; }
  .report-header { flex-direction: column; align-items: flex-start; }
  .score-badge-box { width: 100%; }
}
@media (max-width: 640px) {
  .assessment-form-actions { justify-content: stretch; }
  .assessment-form-actions button { width: 100%; }
}

/* Day 4 — Readiness lead magnet */
.lead-hero {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 2rem;
  align-items: stretch;
  margin: 1rem 0 2.5rem;
}
.lead-hero h1 { font-size: clamp(2.4rem, 5vw, 4.4rem); line-height: 1.02; margin: 0.6rem 0 1rem; letter-spacing: -0.035em; }
.lead-hero h1 span { color: var(--primary); }
.lead-hero-note { color: var(--text-body); max-width: 700px; font-weight: 600; }
.lead-preview-card {
  background: linear-gradient(145deg, rgba(15,23,42,.96), rgba(15,35,65,.88));
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 1.7rem;
  box-shadow: var(--shadow-glow);
}
.lead-preview-kicker { font-size: .72rem; letter-spacing: .12em; font-weight: 800; color: var(--primary); margin-bottom: 1rem; }
.lead-preview-card ul { margin: 0; padding-left: 1.2rem; color: var(--text-dark); line-height: 1.8; }
.lead-grid { display: grid; grid-template-columns: 1fr 0.9fr; gap: 1.5rem; align-items: start; margin-bottom: 2rem; }
.lead-benefits { display: grid; gap: .8rem; margin: 1.5rem 0; }
.lead-benefits div { display: flex; gap: .8rem; align-items: flex-start; padding: .85rem 0; border-top: 1px solid var(--border); }
.lead-benefits strong { color: var(--primary); min-width: 2rem; }
.lead-benefits span { color: var(--text-body); }
.lead-disclaimer { margin: 1rem 0 0; padding: .9rem; border-left: 3px solid var(--primary); background: rgba(56,189,248,.06); color: var(--text-muted); font-size: .82rem; line-height: 1.55; }
.lead-form-card { position: sticky; top: 1rem; }
.lead-form-card h2 { margin-top: 0; }
.form-intro { color: var(--text-body); }
.consent-field { margin-top: .35rem; }
.checkbox-label { display: flex; align-items: flex-start; gap: .65rem; font-size: .82rem; color: var(--text-body); line-height: 1.45; cursor: pointer; }
.checkbox-label input { width: 1rem; height: 1rem; margin-top: .15rem; flex: 0 0 auto; }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.lead-submit { width: 100%; justify-content: center; margin-top: .35rem; }
.lead-submit[disabled] { opacity: .65; cursor: wait; }
.form-legal { font-size: .72rem; color: var(--text-muted); line-height: 1.5; margin: .85rem 0 0; }
.lead-form-status { min-height: 1.3rem; margin-top: .7rem; font-size: .82rem; }
.lead-form-status.error { color: #fecaca; }
.lead-next-step { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center; padding: 1.5rem; margin: 2rem 0; border: 1px solid var(--border); border-radius: 16px; background: var(--bg-card); }
.lead-actions { display: flex; flex-wrap: wrap; gap: .65rem; justify-content: flex-end; }
.source-note { margin-bottom: 2rem; }
.small-note { font-size: .75rem; color: var(--text-muted); line-height: 1.5; }
.thanks-hero { max-width: 780px; text-align: center; margin: 3rem auto 2.5rem; }
.thanks-hero h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); margin: .7rem 0 1rem; }
.thanks-hero h1 span { color: var(--primary); }
.success-mark { width: 56px; height: 56px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(16,185,129,.45); background: rgba(16,185,129,.1); color: #34d399; font-size: 1.7rem; font-weight: 800; margin-bottom: 1rem; }
.thanks-grid { margin-top: 0; }
.thanks-list { color: var(--text-body); line-height: 1.7; padding-left: 1.25rem; }
@media (max-width: 800px) {
  .lead-hero, .lead-grid { grid-template-columns: 1fr; }
  .lead-form-card { position: static; }
  .lead-next-step { grid-template-columns: 1fr; }
  .lead-actions { justify-content: flex-start; }
}
@media (max-width: 520px) {
  .lead-hero h1 { font-size: 2.35rem; }
  .lead-actions a, .lead-submit { width: 100%; justify-content: center; }
}
