/* =============================================
   EASC Market Navigator™ — Design System
   Light Professional Theme · Dual-AI Edition
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap');

/* ── Tokens ── */
:root {
  /* Brand */
  --brand: #1d4ed8;
  --brand-light: #dbeafe;
  --brand-dark: #1e3a8a;

  /* AI Engines */
  --gpt: #059669;
  --gpt-light: #d1fae5;
  --gpt-dark: #064e3b;
  --cla: #b45309;
  --cla-light: #fef3c7;
  --cla-dark: #78350f;

  /* Tool Colors */
  --tool-assess: #7c3aed;
  --tool-assess-light: #ede9fe;
  --tool-audit: #1d4ed8;
  --tool-audit-light: #dbeafe;

  /* SEO / GEO */
  --seo: #0891b2;
  --seo-light: #cffafe;
  --geo: #7c3aed;
  --geo-light: #ede9fe;

  /* Neutrals */
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;

  /* Status */
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;

  /* Typography */
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;

  /* Spacing */
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
  --shadow: 0 4px 16px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.04);
  --shadow-lg: 0 20px 40px rgba(0,0,0,0.10), 0 8px 16px rgba(0,0,0,0.06);
}

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

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

body {
  font-family: var(--font-sans);
  background: var(--white);
  color: var(--gray-700);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ── Navigation ── */
.nav {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo {
  font-size: 13px;
  font-weight: 700;
  color: var(--brand);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-separator { color: var(--gray-300); margin: 0 4px; }

.nav-tool {
  font-size: 13px;
  color: var(--gray-500);
  font-weight: 500;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-600);
  padding: 6px 14px;
  border-radius: 8px;
  transition: all 0.2s;
}

.nav-link:hover { background: var(--gray-100); color: var(--gray-900); }

.nav-link.active {
  background: var(--brand-light);
  color: var(--brand);
}

/* ── Utility ── */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
}

.badge-brand { background: var(--brand-light); color: var(--brand); }
.badge-gpt   { background: var(--gpt-light);   color: var(--gpt-dark); }
.badge-cla   { background: var(--cla-light);   color: var(--cla-dark); }
.badge-seo   { background: var(--seo-light);   color: var(--seo); }
.badge-geo   { background: var(--geo-light);   color: var(--geo); }
.badge-assess{ background: var(--tool-assess-light); color: var(--tool-assess); }
.badge-soon  { background: var(--gray-100);    color: var(--gray-500); }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.btn-primary {
  background: var(--brand);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(29,78,216,0.3);
}

.btn-primary:hover {
  background: var(--brand-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(29,78,216,0.4);
}

.btn-secondary {
  background: var(--white);
  color: var(--gray-700);
  border: 1.5px solid var(--gray-200);
}

.btn-secondary:hover {
  border-color: var(--gray-300);
  background: var(--gray-50);
}

.btn-lg {
  font-size: 17px;
  padding: 16px 32px;
  border-radius: 14px;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
}

/* ── Form Elements ── */
.input-field {
  width: 100%;
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--gray-900);
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 13px 16px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.input-field::placeholder { color: var(--gray-400); }

.input-field:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(29,78,216,0.1);
}

.form-row {
  display: grid;
  gap: 12px;
  margin-bottom: 12px;
}

.form-row.cols-3 { grid-template-columns: 1fr 1fr 1fr; }

/* ── Cards ── */
.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
}

.card-hover {
  transition: all 0.25s;
  cursor: pointer;
}

.card-hover:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gray-300);
}

/* ── Score Display ── */
.score-circle {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
}

.score-number {
  font-family: var(--font-mono);
  font-size: 40px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.03em;
}

.score-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 2px;
}

/* ── Grade Tag ── */
.grade-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 700;
}

/* ── Progress Bar ── */
.progress-bar {
  height: 8px;
  background: var(--gray-100);
  border-radius: 100px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  border-radius: 100px;
  transition: width 0.8s ease;
}

/* ── Check List ── */
.check-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 14px;
}

.check-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 700;
}

.check-pass { background: #d1fae5; color: #065f46; }
.check-fail { background: #fee2e2; color: #991b1b; }
.check-warn { background: #fef3c7; color: #92400e; }

/* ── Loading State ── */
.loading-overlay {
  position: fixed;
  inset: 0;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  z-index: 200;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.loading-overlay.active { display: flex; }

.loading-spinner {
  width: 48px;
  height: 48px;
  border: 3px solid var(--gray-200);
  border-top-color: var(--brand);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

.loading-steps {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 320px;
}

.loading-step {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--gray-400);
  padding: 6px 0;
  transition: color 0.3s;
}

.loading-step.active {
  color: var(--gray-900);
  font-weight: 500;
}

.loading-step.done { color: var(--success); }

.step-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gray-200);
  flex-shrink: 0;
  transition: background 0.3s;
}

.loading-step.active .step-dot { background: var(--brand); animation: pulse 1s ease infinite; }
.loading-step.done  .step-dot { background: var(--success); }

@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.4} }

/* ── AI Engine Blocks ── */
.ai-block {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1.5px solid var(--gray-200);
}

.ai-block-gpt {
  border-top: 4px solid var(--gpt);
}

.ai-block-claude {
  border-top: 4px solid var(--cla);
}

.ai-engine-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.ai-engine-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.ai-engine-icon-gpt { background: var(--gpt-light); }
.ai-engine-icon-claude { background: var(--cla-light); }

.ai-engine-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--gray-900);
}

.ai-engine-sub {
  font-size: 12px;
  color: var(--gray-500);
  margin-top: 2px;
}

/* ── Index Score ── */
.index-block {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border-radius: var(--radius);
  background: var(--gray-50);
}

.index-value {
  font-family: var(--font-mono);
  font-size: 32px;
  font-weight: 500;
  line-height: 1;
}

/* ── Hero ── */
.hero {
  padding: 80px 0 64px;
  background: linear-gradient(160deg, var(--gray-50) 0%, var(--white) 60%);
  border-bottom: 1px solid var(--gray-200);
}

.hero-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 16px;
}

.hero-title {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  max-width: 680px;
}

.hero-title em {
  font-style: normal;
  color: var(--brand);
}

.hero-desc {
  font-size: 18px;
  color: var(--gray-600);
  line-height: 1.7;
  max-width: 600px;
  margin-bottom: 36px;
}

/* ── Tool Cards (Homepage) ── */
.tools-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
}

.tool-card {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.25s;
  display: flex;
  flex-direction: column;
}

.tool-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.tool-card-banner {
  height: 8px;
}

.tool-card-body {
  padding: 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.tool-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 20px;
}

.tool-card-number {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.tool-card-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 12px;
}

.tool-card-subtitle {
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-500);
  margin-bottom: 16px;
  letter-spacing: 0.01em;
}

.tool-card-desc {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 24px;
}

.tool-card-features {
  list-style: none;
  margin-bottom: 28px;
}

.tool-card-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--gray-600);
  padding: 5px 0;
}

.tool-card-features .feat-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.tool-card-cta {
  margin-top: auto;
}

/* Coming Soon Block */
.coming-soon-card {
  background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%);
  border: 1.5px solid #c4b5fd;
}

.coming-soon-card .tool-card-banner {
  background: linear-gradient(90deg, var(--tool-assess), #9333ea);
}

/* Audit Card */
.audit-card .tool-card-banner {
  background: linear-gradient(90deg, var(--brand), #3b82f6);
}

/* ── Footer ── */
.footer {
  background: var(--gray-900);
  color: var(--gray-400);
  padding: 40px 0;
}

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

.footer-brand {
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.06em;
}

.footer-text { font-size: 13px; }

/* ── Audit Page ── */
.audit-hero {
  background: linear-gradient(160deg, #eff6ff 0%, var(--white) 70%);
  padding: 64px 0 48px;
  border-bottom: 1px solid var(--gray-200);
}

.ai-badge-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.ai-plus {
  font-size: 14px;
  font-weight: 700;
  color: var(--gray-400);
}

.audit-form-card {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-lg);
  margin-top: -24px;
  position: relative;
}

.url-input-wrapper {
  position: relative;
  margin-bottom: 12px;
}

.url-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  pointer-events: none;
}

.url-input {
  padding-left: 46px;
  font-size: 16px;
}

.form-disclaimer {
  font-size: 12px;
  color: var(--gray-400);
  text-align: center;
  margin-top: 12px;
}

.testcode-section {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px dashed var(--gray-200);
}

.testcode-toggle {
  font-size: 13px;
  color: var(--gray-400);
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  font-family: var(--font-sans);
  display: flex;
  align-items: center;
  gap: 6px;
}

.testcode-toggle:hover { color: var(--gray-600); }

.testcode-input {
  display: none;
  margin-top: 10px;
}

.testcode-input.open { display: block; }

/* ── Feature Section ── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 24px;
}

.feature-icon {
  font-size: 28px;
  margin-bottom: 12px;
}

.feature-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
}

.feature-desc {
  font-size: 13px;
  color: var(--gray-600);
  line-height: 1.6;
}

/* ── Score Category ── */
.category-row {
  margin-bottom: 14px;
}

.category-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.category-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-700);
}

.category-score {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--gray-500);
}

/* ── SEO / GEO Index Section ── */
.index-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 24px 0;
}

.index-card {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
}

.index-card-seo { border-top: 3px solid var(--seo); }
.index-card-geo { border-top: 3px solid var(--geo); }

.index-num {
  font-family: var(--font-mono);
  font-size: 36px;
  font-weight: 500;
  line-height: 1;
  margin-bottom: 4px;
}

.index-grade-badge {
  display: inline-block;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  line-height: 28px;
  text-align: center;
  margin-bottom: 8px;
}

.index-desc {
  font-size: 12px;
  color: var(--gray-500);
  line-height: 1.4;
}

/* ── Probability Bar ── */
.prob-bar-wrap {
  background: var(--gray-100);
  border-radius: 100px;
  height: 12px;
  overflow: hidden;
  margin: 12px 0;
}

.prob-bar-fill {
  height: 100%;
  border-radius: 100px;
  background: linear-gradient(90deg, var(--seo), var(--geo));
  transition: width 1s ease;
}

/* ── Report Layout ── */
.report-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 32px;
}

/* ── Assessment Page ── */
.assess-hero {
  background: linear-gradient(135deg, #f5f3ff 0%, #faf5ff 60%, var(--white) 100%);
  padding: 80px 0 64px;
  border-bottom: 1px solid var(--gray-200);
}

.assess-banner {
  background: linear-gradient(135deg, var(--tool-assess), #9333ea);
  border-radius: var(--radius-lg);
  padding: 48px;
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-bottom: 48px;
}

.assess-banner::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
}

.assess-banner::after {
  content: '';
  position: absolute;
  bottom: -40px;
  left: -40px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
}

.assess-banner-title {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
  position: relative;
  z-index: 1;
}

.assess-banner-sub {
  font-size: 16px;
  opacity: 0.85;
  position: relative;
  z-index: 1;
  max-width: 480px;
  margin: 0 auto 28px;
  line-height: 1.6;
}

.assess-badge {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 16px;
  position: relative;
  z-index: 1;
}

.assess-dims {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin: 40px 0;
}

.assess-dim {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 20px 16px;
  text-align: center;
  position: relative;
}

.assess-dim-num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--tool-assess);
  margin-bottom: 8px;
}

.assess-dim-icon { font-size: 28px; margin-bottom: 8px; }

.assess-dim-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 6px;
}

.assess-dim-desc {
  font-size: 12px;
  color: var(--gray-500);
  line-height: 1.5;
}

.assess-notify {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow);
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
}

/* ── Why Two AIs Section ── */
.two-ai-section {
  background: var(--gray-50);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}

.ai-compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.ai-compare-card {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 24px;
}

.ai-compare-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--gray-100);
}

.ai-compare-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.ai-dot-gpt { background: var(--gpt); }
.ai-dot-cla { background: var(--cla); }

.ai-compare-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--gray-900);
}

.ai-compare-model {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--gray-400);
  background: var(--gray-100);
  padding: 3px 8px;
  border-radius: 4px;
}

.ai-trait {
  display: flex;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--gray-50);
}

.ai-trait:last-child { border-bottom: none; }

.ai-trait-icon { flex-shrink: 0; font-size: 16px; }
.ai-trait-text { font-size: 13px; color: var(--gray-600); line-height: 1.5; }

/* ── Error Message ── */
.error-box {
  background: #fff5f5;
  border: 1.5px solid #fecaca;
  border-radius: var(--radius);
  padding: 20px 24px;
  display: none;
  margin-bottom: 16px;
}

.error-box.show { display: block; }

.error-title {
  font-size: 14px;
  font-weight: 700;
  color: #991b1b;
  margin-bottom: 6px;
}

.error-desc { font-size: 13px; color: #7f1d1d; }

/* ── Recommendation Section ── */
.recommend-section {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  border: 1.5px solid #86efac;
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 24px;
}

.recommend-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #166534;
  margin-bottom: 12px;
}

.recommend-text {
  font-size: 15px;
  color: #14532d;
  line-height: 1.7;
}

/* ── Tabs ── */
.tab-nav {
  display: flex;
  gap: 4px;
  background: var(--gray-100);
  border-radius: 10px;
  padding: 4px;
  margin-bottom: 24px;
}

.tab-btn {
  flex: 1;
  padding: 8px 16px;
  border: none;
  background: transparent;
  border-radius: 7px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-500);
  cursor: pointer;
  transition: all 0.2s;
}

.tab-btn.active {
  background: var(--white);
  color: var(--gray-900);
  box-shadow: var(--shadow-sm);
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .tools-grid,
  .report-grid,
  .ai-compare-grid,
  .index-section { grid-template-columns: 1fr; }

  .feature-grid { grid-template-columns: 1fr 1fr; }

  .assess-dims { grid-template-columns: 1fr 1fr; }

  .form-row.cols-3 { grid-template-columns: 1fr; }

  .nav-links { display: none; }

  .hero-title { font-size: 28px; }

  .hero { padding: 48px 0 36px; }
}

@media (max-width: 480px) {
  .feature-grid,
  .assess-dims { grid-template-columns: 1fr; }

  .container { padding: 0 16px; }

  .section { padding: 56px 0; }

  .audit-form-card { padding: 24px; }
}

/* ── Print / PDF ── */
@media print {
  .nav, .footer, .v2footer, .loading-overlay, .mn-report-top-nav, [data-no-print="true"] { display: none !important; }
  .section { padding: 24px 0; }
}

/* ══════════════════════════════════════════
   Assessment page additions
   ══════════════════════════════════════════ */

/* showSec helper used by assessment.js */
.assess-sec { display: none; }

/* Question block styles */
.q-block {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 20px 22px;
  margin-bottom: 14px;
  transition: border-color .2s, background .2s;
}
.q-block.answered {
  border-color: #86efac;
  background: #f0fdf4;
}
.q-block.missing {
  border-color: #f87171;
  animation: shake .3s ease;
}
@keyframes shake {
  0%,100%{transform:translateX(0)}
  25%{transform:translateX(-6px)}
  75%{transform:translateX(6px)}
}
.q-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.q-code {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  background: var(--brand-light);
  color: var(--brand);
  padding: 2px 8px;
  border-radius: 4px;
}
.q-type { font-size: 11px; color: var(--gray-400); }
.q-max-note { font-size: 11px; color: var(--warning); font-weight: 600; }
.q-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 6px;
  line-height: 1.4;
}
.q-hint {
  font-size: 12px;
  color: var(--gray-400);
  margin-bottom: 10px;
  line-height: 1.4;
}
.q-opts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.q-opt {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-700);
  background: var(--gray-50);
  border: 1.5px solid var(--gray-200);
  border-radius: 8px;
  padding: 8px 14px;
  cursor: pointer;
  transition: all .15s;
  white-space: normal;
  text-align: left;
  line-height: 1.3;
}
.q-opt:hover {
  background: var(--brand-light);
  border-color: var(--brand);
  color: var(--brand);
}
.q-opt.selected {
  background: var(--brand);
  border-color: var(--brand);
  color: white;
  font-weight: 600;
}

/* Progress */
.prog-bar-wrap { margin-bottom: 20px; }
.prog-bar {
  height: 8px;
  background: var(--gray-100);
  border-radius: 100px;
  overflow: hidden;
}
.prog-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--brand), #3b82f6);
  border-radius: 100px;
  transition: width .4s ease;
}
.prog-text {
  font-size: 12px;
  color: var(--gray-400);
  margin-top: 6px;
  text-align: right;
}

/* Loading animation for assessment */
.loading-anim {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  gap: 20px;
  padding: 48px 24px;
}
.loading-dots span {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--brand);
  margin: 0 4px;
  animation: bounce 1.2s ease infinite;
}
.loading-dots span:nth-child(2) { animation-delay: .2s; }
.loading-dots span:nth-child(3) { animation-delay: .4s; }
@keyframes bounce {
  0%,60%,100%{transform:translateY(0)}
  30%{transform:translateY(-12px)}
}

/* Form error for assessment */
.form-err {
  display: none;
  background: #fff5f5;
  border: 1.5px solid #fecaca;
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 13px;
  color: #991b1b;
  margin-bottom: 12px;
}

/* EGI display */
.egi-main {
  text-align: center;
  background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px 24px;
  margin-bottom: 24px;
}
.egi-num {
  font-family: var(--font-mono);
  font-size: 80px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.04em;
  margin-bottom: 8px;
}
.egi-grade {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 8px;
  margin-bottom: 8px;
}

/* Entry cards */
.entry-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 32px 0;
}
.entry-card {
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px;
  cursor: pointer;
  transition: all .2s;
  background: var(--white);
}
.entry-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.entry-card.entry-a { border-top: 4px solid var(--brand); }
.entry-card.entry-b { border-top: 4px solid var(--tool-assess); }
.entry-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 100px;
  display: inline-block;
  margin-bottom: 12px;
}
.entry-features { list-style: none; padding: 0; }
.entry-features li {
  font-size: 13px;
  color: var(--gray-600);
  padding: 3px 0;
}
.entry-features li::before { content: '✓ '; color: var(--success); font-weight: 700; }

/* Result card */
.result-card {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 20px 22px;
  margin-bottom: 16px;
}
.result-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 10px;
}

/* Skip notice */
.skip-notice {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 14px 18px;
  font-size: 13px;
  color: var(--gray-500);
  margin-bottom: 20px;
  line-height: 1.5;
}

@media (max-width: 640px) {
  .entry-grid { grid-template-columns: 1fr; }
  .egi-num { font-size: 60px; }
  .q-opt { font-size: 12px; padding: 7px 12px; }
}

@media (max-width: 640px) { .contact-grid { grid-template-columns: 1fr !important; } }

/* ── Mobile-friendly report export action sheet v2.8.18 ── */
.report-action-sheet { position: fixed; inset: 0; z-index: 999999; display: flex; align-items: flex-end; justify-content: center; }
.report-action-backdrop { position: absolute; inset: 0; background: rgba(15,23,42,.46); backdrop-filter: blur(2px); }
.report-action-panel { position: relative; width: min(520px, calc(100% - 24px)); margin: 0 12px 14px; background: #fff; border: 1px solid rgba(148,163,184,.35); border-radius: 22px; padding: 22px 18px 18px; box-shadow: 0 24px 70px rgba(15,23,42,.28); animation: reportSheetIn .18s ease-out; }
@keyframes reportSheetIn { from { transform: translateY(18px); opacity: .75; } to { transform: translateY(0); opacity: 1; } }
.report-action-close { position: absolute; top: 10px; right: 12px; width: 34px; height: 34px; border: none; background: #f1f5f9; color: #475569; border-radius: 999px; font-size: 24px; line-height: 1; cursor: pointer; }
.report-action-title { font-size: 19px; font-weight: 850; color: #0B1B3F; margin: 2px 44px 6px 0; }
.report-action-sub { font-size: 14px; line-height: 1.65; color: #64748b; margin-bottom: 14px; }
.report-action-btn { width: 100%; display: flex; align-items: center; justify-content: center; gap: 8px; border: 1.5px solid #cbd5e1; background: #fff; color: #334155; border-radius: 14px; padding: 14px 16px; font-size: 15px; font-weight: 800; cursor: pointer; margin-top: 10px; }
.report-action-btn.primary { background: #0B1B3F; border-color: #0B1B3F; color: #fff; }
.report-action-note { margin-top: 12px; font-size: 12px; line-height: 1.55; color: #64748b; background: #f8fafc; border-radius: 12px; padding: 10px 12px; }
.report-export-trigger { white-space: nowrap; }
@media (min-width: 760px) {
  .report-action-sheet { align-items: center; }
  .report-action-panel { margin: 0; padding: 24px; }
}
@media print {
  .no-print, .report-action-sheet, .report-action-backdrop, .report-action-panel { display: none !important; }
}


/* ---- merged from css/v2.css in v2.8.18 clean package ---- */
/* =============================================
   Market Navigator™ — V2 Design Layer
   "Wayfinding instrument for Taiwan manufacturers"
   Layered on top of style.css — backend untouched
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@400;500;700;900&family=Manrope:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  /* V2 brand — navigator / chart instrument */
  --ink: #0B1B3F;          /* deep chart navy */
  --ink-soft: #14264f;
  --signal: #1d5fd4;       /* heading / bearing blue */
  --signal-light: #e7eefb;
  --brass: #C08A3E;        /* compass brass — the one warm note */
  --brass-light: #f7eede;
  --paper: #FBFAF7;        /* warm chart paper */
  --paper-2: #F3F1EA;

  /* override fonts to V2 pairing */
  --font-display: 'Manrope', 'Noto Sans TC', system-ui, sans-serif;
  --font-sans: 'Noto Sans TC', 'Manrope', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

/* ---- base re-skin ---- */
body.v2 {
  background: var(--paper);
  color: #243049;
  font-family: var(--font-sans);
}

/* ---- V2 top nav ---- */
.v2nav {
  position: sticky; top: 0; z-index: 200;
  background: rgba(251,250,247,0.85);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid rgba(11,27,63,0.08);
}
.v2nav-inner {
  max-width: 1180px; margin: 0 auto; padding: 0 24px;
  height: 68px; display: flex; align-items: center; justify-content: space-between;
}
.v2brand { display: flex; align-items: baseline; gap: 9px; font-family: var(--font-display); }
.v2brand .mark {
  font-weight: 800; font-size: 18px; color: var(--ink); letter-spacing: -0.02em;
}
.v2brand .tm { font-size: 9px; color: var(--brass); font-weight: 700; transform: translateY(-6px); }
.v2brand .sub {
  font-size: 11px; color: #6b7791; font-weight: 500; letter-spacing: .02em;
  padding-left: 9px; margin-left: 2px; border-left: 1px solid rgba(11,27,63,.14);
}
.v2nav-links { display: flex; align-items: center; gap: 4px; }
.v2nav-links a {
  font-size: 14px; font-weight: 500; color: #44506b; padding: 8px 14px;
  border-radius: 9px; transition: all .18s;
}
.v2nav-links a:hover { background: rgba(11,27,63,.05); color: var(--ink); }
.v2nav-links a.active { color: var(--signal); font-weight: 700; }
.v2nav-cta {
  background: var(--ink) !important; color: #fff !important; font-weight: 600 !important;
  padding: 9px 18px !important; border-radius: 10px !important;
}
.v2nav-cta:hover { background: var(--signal) !important; }
.v2nav-toggle { display:none; background:none; border:none; font-size:24px; color:var(--ink); cursor:pointer; }

/* ---- hero ---- */
.v2hero { position: relative; overflow: hidden; background: var(--paper); }
.v2hero-grid {
  max-width: 1180px; margin: 0 auto; padding: 80px 24px 72px;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center;
}
.v2eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brass); margin-bottom: 22px;
}
.v2eyebrow::before {
  content: ""; width: 26px; height: 1.5px; background: var(--brass); display: inline-block;
}
.v2hero h1 {
  font-family: var(--font-display); font-weight: 800; color: var(--ink);
  font-size: clamp(34px, 5vw, 52px); line-height: 1.1; letter-spacing: -0.025em; margin-bottom: 22px;
}
.v2hero h1 .accent { color: var(--signal); position: relative; white-space: nowrap; }
.v2hero h1 .accent::after {
  content:""; position:absolute; left:0; right:0; bottom:2px; height:10px;
  background: var(--brass); opacity:.20; z-index:-1; border-radius:2px;
}
.v2hero p.lede {
  font-size: 17px; line-height: 1.85; color: #4a5670; max-width: 520px; margin-bottom: 32px;
}
.v2hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 36px; }
.v2btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-sans); font-weight: 600; font-size: 15px;
  padding: 14px 26px; border-radius: 12px; cursor: pointer; border: none;
  transition: transform .15s, box-shadow .2s, background .2s; white-space: nowrap;
}
.v2btn-primary {
  background: var(--ink); color: #fff; box-shadow: 0 8px 22px rgba(11,27,63,.18);
}
.v2btn-primary:hover { background: var(--signal); transform: translateY(-1px); box-shadow: 0 12px 28px rgba(29,95,212,.28); }
.v2btn-ghost {
  background: transparent; color: var(--ink); border: 1.5px solid rgba(11,27,63,.18);
}
.v2btn-ghost:hover { border-color: var(--ink); background: rgba(11,27,63,.03); }

.v2hero-stats { display: flex; gap: 32px; flex-wrap: wrap; }
.v2stat .num {
  font-family: var(--font-display); font-weight: 800; font-size: 26px; color: var(--ink);
  letter-spacing: -.02em; line-height: 1;
}
.v2stat .lbl { font-size: 12.5px; color: #6b7791; margin-top: 5px; }

/* ---- compass signature card ---- */
.v2compass {
  position: relative; aspect-ratio: 1; border-radius: 24px;
  background:
    radial-gradient(circle at 50% 50%, #fff 0%, var(--paper-2) 78%);
  border: 1px solid rgba(11,27,63,.10);
  box-shadow: 0 30px 60px rgba(11,27,63,.10), inset 0 1px 0 #fff;
  display: flex; align-items: center; justify-content: center;
}
.v2compass svg { width: 86%; height: 86%; }

/* ---- section shell ---- */
.v2section { padding: 84px 0; }
.v2wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.v2wrap-narrow { max-width: 820px; margin: 0 auto; padding: 0 24px; }
.v2kicker {
  font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brass); margin-bottom: 14px;
}
.v2h2 {
  font-family: var(--font-display); font-weight: 800; color: var(--ink);
  font-size: clamp(26px, 3.4vw, 34px); line-height: 1.2; letter-spacing: -.02em;
}
.v2lede { font-size: 16px; line-height: 1.8; color: #55617a; }

/* ---- "why" pain list ---- */
.v2pain-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 8px; }
.v2pain {
  display: flex; gap: 14px; align-items: flex-start;
  background: #fff; border: 1px solid rgba(11,27,63,.09); border-radius: 14px;
  padding: 20px 22px; transition: border-color .2s, transform .2s;
}
.v2pain:hover { border-color: rgba(29,95,212,.4); transform: translateY(-2px); }
.v2pain .dot {
  width: 30px; height: 30px; border-radius: 9px; background: var(--signal-light);
  color: var(--signal); display: flex; align-items: center; justify-content: center;
  font-weight: 800; flex-shrink: 0; font-size: 15px;
}
.v2pain .t { font-size: 15px; color: #2b3650; line-height: 1.6; font-weight: 500; padding-top: 3px; }

/* ---- tool cards ---- */
.v2tools { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.v2tool {
  position: relative; background: #fff; border: 1px solid rgba(11,27,63,.10);
  border-radius: 20px; padding: 34px 32px; overflow: hidden;
  transition: transform .2s, box-shadow .25s, border-color .2s;
}
.v2tool:hover { transform: translateY(-3px); box-shadow: 0 24px 48px rgba(11,27,63,.10); border-color: rgba(29,95,212,.35); }
.v2tool .rail { position: absolute; top: 0; left: 0; right: 0; height: 4px; }
.v2tool.assess .rail { background: linear-gradient(90deg, var(--signal), #5b8def); }
.v2tool.audit .rail { background: linear-gradient(90deg, var(--brass), #d8b06a); }
.v2tool .ico {
  width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center;
  justify-content: center; font-size: 24px; margin-bottom: 18px;
}
.v2tool.assess .ico { background: var(--signal-light); }
.v2tool.audit .ico { background: var(--brass-light); }
.v2tool .name { font-family: var(--font-display); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #8a93a8; margin-bottom: 6px; }
.v2tool h3 { font-family: var(--font-display); font-size: 22px; font-weight: 800; color: var(--ink); margin-bottom: 12px; letter-spacing: -.01em; }
.v2tool .desc { font-size: 14.5px; color: #55617a; line-height: 1.7; margin-bottom: 20px; }
.v2tool ul { list-style: none; margin-bottom: 24px; }
.v2tool li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: #3c4862; padding: 6px 0; }
.v2tool li::before { content: "→"; color: var(--brass); font-weight: 700; flex-shrink: 0; }
.v2tool .go {
  display: inline-flex; align-items: center; gap: 8px; width: 100%; justify-content: center;
  padding: 13px; border-radius: 11px; font-weight: 600; font-size: 15px; transition: all .2s;
}
.v2tool.assess .go { background: var(--ink); color: #fff; }
.v2tool.assess .go:hover { background: var(--signal); }
.v2tool.audit .go { background: var(--brass); color: #fff; }
.v2tool.audit .go:hover { background: #a9762e; }

/* ---- roadmap / plan strip ---- */
.v2plan { background: var(--ink); color: #fff; }
.v2plan .v2kicker { color: var(--brass); }
.v2plan .v2h2 { color: #fff; }
.v2plan .v2lede { color: #b9c2d6; }
.v2roadmap { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin-top: 40px; position: relative; }
.v2step { position: relative; padding: 0 16px; }
.v2step .ph {
  font-family: var(--font-mono); font-size: 12px; color: var(--brass); font-weight: 500; margin-bottom: 14px;
}
.v2step .node {
  width: 14px; height: 14px; border-radius: 50%; background: var(--ink); border: 2px solid var(--brass);
  position: relative; z-index: 2; margin-bottom: 18px;
}
.v2step.current .node { background: var(--brass); box-shadow: 0 0 0 5px rgba(192,138,62,.22); }
.v2step .line { position: absolute; top: 30px; left: 7px; right: -50%; height: 1.5px; background: rgba(255,255,255,.16); z-index: 1; }
.v2step:last-child .line { display: none; }
.v2step h4 { font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 6px; }
.v2step p { font-size: 13px; color: #9aa6c0; line-height: 1.6; }
.v2step .tag { display:inline-block; font-size:10px; font-weight:700; letter-spacing:.05em; padding:2px 8px; border-radius:100px; margin-top:8px; }
.v2step.current .tag { background: var(--brass); color: var(--ink); }
.v2step .tag.soon { background: rgba(255,255,255,.1); color: #b9c2d6; }

/* ---- about / EASC ---- */
.v2split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.v2feature { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 18px; }
.v2feature .fi { font-size: 20px; flex-shrink: 0; }
.v2feature .ft { font-size: 14.5px; font-weight: 700; color: var(--ink); margin-bottom: 3px; }
.v2feature .fd { font-size: 13.5px; color: #5c6884; line-height: 1.65; }

/* ---- CTA band ---- */
.v2cta-band {
  background: linear-gradient(135deg, var(--ink), var(--ink-soft));
  border-radius: 24px; padding: 56px 48px; text-align: center; color: #fff;
  position: relative; overflow: hidden;
}
.v2cta-band h2 { font-family: var(--font-display); font-size: clamp(24px,3.2vw,32px); font-weight: 800; margin-bottom: 14px; letter-spacing: -.02em; }
.v2cta-band p { font-size: 16px; color: #b9c2d6; margin-bottom: 28px; max-width: 520px; margin-left: auto; margin-right: auto; line-height: 1.7; }
.v2cta-band .v2btn-primary { background: var(--brass); color: var(--ink); }
.v2cta-band .v2btn-primary:hover { background: #d8b06a; }

/* ---- footer ---- */
.v2footer { background: var(--ink); color: #9aa6c0; padding: 56px 0 32px; }
.v2footer a { color: #b9c2d6; transition: color .2s; }
.v2footer a:hover { color: #fff; }
.v2footer-top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 32px; padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,.1); }
.v2footer-brand .mark { font-family: var(--font-display); font-size: 20px; font-weight: 800; color: #fff; }
.v2footer-cols { display: flex; gap: 56px; flex-wrap: wrap; }
.v2footer-col h5 { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #6b7791; margin-bottom: 14px; }
.v2footer-col a { display: block; font-size: 14px; margin-bottom: 9px; }
.v2footer-bottom { padding-top: 24px; font-size: 12.5px; color: #6b7791; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

/* ---- responsive ---- */
@media (max-width: 880px) {
  .v2hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .v2compass { max-width: 320px; margin: 0 auto; }
  .v2tools, .v2pain-grid, .v2split { grid-template-columns: 1fr; }
  .v2roadmap { grid-template-columns: 1fr; gap: 28px; }
  .v2step { padding-left: 28px; }
  .v2step .line { top: 7px; left: 6px; right: auto; bottom: -28px; width: 1.5px; height: auto; }
  .v2step:last-child .line { display: none; }
  .v2split { gap: 32px; }
  .v2nav-links { display: none; }
  .v2nav-links.open { display: flex; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; background: var(--paper); border-bottom: 1px solid rgba(11,27,63,.1); padding: 12px 24px; gap: 4px; }
  .v2nav-links.open a { padding: 12px; }
  .v2nav-toggle { display: block; }
  .v2cta-band { padding: 40px 24px; }
}

/* ---- V2 overrides for tool pages (assessment/audit form heroes) ---- */
body.v2 .audit-hero {
  background: linear-gradient(180deg, #FBFAF7 0%, #F3F1EA 100%);
  border-bottom: 1px solid rgba(11,27,63,.08);
}
body.v2 .audit-hero h1 { color: var(--ink) !important; font-family: var(--font-display); }
body.v2 .audit-form-card { background: #fff; }
/* keep existing form component colors intact; only reskin page chrome */


/* ---- V2.8.3 readability refinement for SME owners ---- */
body.v2 { font-size: 16px; }
body.v2 .q-title { font-size: 17px !important; line-height: 1.55 !important; }
body.v2 .q-hint, body.v2 .q-type, body.v2 .q-max-note { font-size: 14px !important; line-height: 1.65 !important; }
body.v2 .q-opt { font-size: 15.5px !important; line-height: 1.45 !important; padding: 10px 15px !important; }
body.v2 .input-field { font-size: 16px !important; min-height: 46px; }
body.v2 .result-card p, body.v2 .result-card div { line-height: 1.75; }
#easc-overlay { font-size: 16px !important; }
#easc-overlay [style*="font-size:11px"] { font-size: 13.5px !important; }
#easc-overlay [style*="font-size:12px"] { font-size: 14px !important; }
#easc-overlay [style*="font-size:13px"] { font-size: 15px !important; }
#easc-overlay [style*="font-size:13.5px"] { font-size: 15.5px !important; }
#easc-overlay [style*="font-size:14px"] { font-size: 16px !important; }
#easc-overlay [style*="font-size:15px"] { font-size: 16.5px !important; }
#easc-overlay p, #easc-overlay div { line-height: 1.75; }
#easc-overlay button, #easc-overlay a { font-size: 16px; }
.report-section, .ai-block, .report-header { font-size: 16px; }
.report-section [style*="font-size:12px"] { font-size: 14px !important; }
.report-section [style*="font-size:13px"] { font-size: 15px !important; }
.report-section [style*="font-size:14px"] { font-size: 16px !important; }
.easc-official-link { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.easc-official-link:hover { color: var(--signal); }


/* ---- V2.8.10 mobile reading and conversion optimization ---- */
.v288-faq-grid { display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:16px; }
.v288-faq-item { background:#fff; border:1px solid rgba(11,27,63,.10); border-radius:16px; padding:22px 22px; box-shadow:0 10px 26px rgba(11,27,63,.045); }
.v288-faq-item h3 { font-family:var(--font-display, inherit); font-size:18px; line-height:1.35; color:var(--ink,#0B1B3F); margin:0 0 10px; }
.v288-faq-item p { font-size:15px; color:#55617a; line-height:1.75; margin:0; }

@media (max-width: 760px) {
  body { overflow-x:hidden; }
  .container, .container-narrow, .v2wrap, .v2wrap-narrow { padding-left:16px !important; padding-right:16px !important; }
  .section, .v2section { padding-top:48px !important; padding-bottom:48px !important; }
  .v2nav-inner, .nav-inner { height:58px; padding-left:16px; padding-right:16px; }
  .v2brand .mark { font-size:16px; }
  .v2brand .sub { display:none; }
  .v2nav-links.open { top:58px; padding:10px 16px; }
  .v2nav-links.open a { width:100%; text-align:center; }

  .v2hero-grid { padding:34px 16px 42px !important; gap:22px !important; }
  .v2eyebrow { font-size:11px !important; margin-bottom:12px !important; letter-spacing:.10em; }
  .v2hero h1 { font-size:clamp(30px, 9vw, 40px) !important; line-height:1.12 !important; margin-bottom:16px !important; }
  .v2hero p.lede { font-size:16px !important; line-height:1.72 !important; margin-bottom:22px !important; }
  .v2hero-cta { gap:10px; margin-bottom:24px; }
  .v2hero-cta .v2btn { flex:1 1 100%; padding:13px 18px; }
  .v2hero-stats { gap:18px; }
  .v2stat .num { font-size:22px !important; }
  .v2stat .lbl { font-size:13px !important; }
  .easc-hero-link { margin-top:18px !important; padding:10px 12px !important; }

  .v2compass { width:100%; max-width:360px !important; aspect-ratio:1.28 / 1 !important; border-radius:20px !important; }
  .v2compass--image { padding:0 !important; overflow:hidden !important; }
  .v2compass--image img { width:100% !important; height:100% !important; object-fit:cover !important; border-radius:20px !important; }

  .v2h2 { font-size:clamp(24px,7vw,32px) !important; }
  .v2lede { font-size:15.5px !important; line-height:1.75 !important; }
  .v2pain-grid, .v2tools, .v2split, .v288-faq-grid { grid-template-columns:1fr !important; gap:12px !important; }
  .v2pain { padding:14px 16px !important; border-radius:13px !important; }
  .v2tool { padding:22px 20px !important; border-radius:16px !important; }
  .v2tool .ico { width:42px; height:42px; font-size:20px; margin-bottom:12px; }
  .v2tool h3 { font-size:20px !important; }
  .v2tool ul { margin-bottom:18px; }
  .v2tool li { padding:4px 0; }

  .v2plan .v2roadmap { gap:12px !important; margin-top:24px !important; }
  .v2step { background:rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.10); border-radius:14px; padding:14px 14px 14px 38px !important; }
  .v2step .node { position:absolute; left:14px; top:18px; margin:0; }
  .v2step .line { display:none !important; }
  .v2step .ph { margin-bottom:6px; }
  .v2step h4 { margin-bottom:4px; }

  .v2cta-band { padding:34px 20px !important; border-radius:18px !important; }
  .v2cta-band p { font-size:15px !important; margin-bottom:20px !important; }
  .v2footer { padding:34px 0 22px !important; }
  .v2footer-top { gap:22px !important; padding-bottom:22px !important; }
  .v2footer-cols { gap:24px !important; display:grid !important; grid-template-columns:1fr 1fr; width:100%; }
  .v2footer-bottom { display:block !important; line-height:1.9; }
  .v2footer-bottom span, .v2footer-bottom a { display:block; }

  .audit-hero { padding:34px 0 26px !important; }
  .audit-hero h1 { font-size:clamp(28px,8vw,36px) !important; }
  .audit-hero p { font-size:15.5px !important; line-height:1.75 !important; }
  .audit-form-card { margin-top:-10px !important; padding:18px !important; border-radius:16px !important; box-shadow:0 12px 26px rgba(11,27,63,.10) !important; }
  .usage-notice { padding:12px 13px !important; font-size:14px !important; }
  .url-input-wrapper { margin-bottom:10px !important; }
  .input-field { min-height:46px !important; }
  .form-row.cols-3 { grid-template-columns:1fr !important; gap:10px !important; }
  #step-info > div[style*="display:flex"] { flex-direction:column; }
  #step-info .btn, #step-url .btn { width:100% !important; }
  .loading-overlay { padding:22px 16px !important; }
  .loading-steps { width:100%; max-width:360px; }
  .loading-step { font-size:13px !important; padding:8px 0 !important; }

  .two-ai-section.section, .section[style*="background:var(--white)"], .section[style*="background:var(--gray-50)"] { padding-top:44px !important; padding-bottom:44px !important; }
  .ai-compare-grid, .feature-grid { grid-template-columns:1fr !important; gap:12px !important; }
  .ai-compare-card, .feature-item { padding:16px !important; border-radius:14px !important; }
  .ai-trait { padding:10px 0 !important; }

  .q-block { padding:15px 15px !important; margin-bottom:10px !important; border-radius:12px !important; }
  .q-title { font-size:16px !important; }
  .q-opts { gap:6px !important; }
  .q-opt { width:100%; padding:10px 12px !important; margin-bottom:0 !important; }
  .entry-card, .result-card, .report-section { padding:16px !important; border-radius:14px !important; }
  .result-card { margin-bottom:12px !important; }
  .footer-inner { padding:0 16px; align-items:flex-start; gap:8px; }
  .footer-inner span { display:block; width:100%; line-height:1.7; }

  #easc-overlay > div { padding:18px 14px 60px !important; max-width:100% !important; }
  #easc-overlay [style*="grid-template-columns:1fr 1fr"],
  #easc-overlay [style*="grid-template-columns:repeat(2"] { grid-template-columns:1fr !important; }
  #easc-overlay .result-card { padding:16px !important; }
}

@media (max-width: 420px) {
  .v2footer-cols { grid-template-columns:1fr !important; }
  .v2hero-stats { display:grid !important; grid-template-columns:repeat(3,1fr); gap:10px !important; }
  .v2stat .num { font-size:20px !important; }
  .v2stat .lbl { font-size:12px !important; }
}


/* ---- V2.8.14 footer alignment and compact contact request ---- */
.easc-footer-logo { display:inline-flex; width:72px; margin-bottom:12px; opacity:.82; }
.easc-footer-logo img { width:72px; height:auto; display:block; }
.v2footer { background: var(--ink); color:#9aa6c0; padding:56px 0 30px; }
.v2footer-top { display:grid; grid-template-columns:minmax(250px, 320px) minmax(0,1fr); gap:44px; align-items:start; padding-bottom:30px; border-bottom:1px solid rgba(255,255,255,.10); }
.v2footer-brand { max-width:320px; }
.v2footer-brand p { font-size:13.5px; line-height:1.75; margin:12px 0 0; color:#aab4c8; }
.v2footer-cols { display:grid; grid-template-columns:repeat(4, minmax(120px,1fr)); gap:26px 42px; width:100%; }
.v2footer-col h5 { font-size:12px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; color:#6b7791; margin:0 0 14px; }
.v2footer-col a { display:block; font-size:14.5px; line-height:1.6; margin:0 0 9px; color:#b9c2d6; text-decoration:none; }
.v2footer-col a:hover { color:#fff; }
.v2footer-resources a { white-space:nowrap; }
.v2footer-bottom { padding-top:20px; font-size:12.5px; color:#6b7791; display:block; }

.contact-request-box { background:#fff; border:1.5px solid #e2e8f0; border-radius:15px; margin:14px 0 4px; box-shadow:0 8px 22px rgba(15,23,42,.045); overflow:hidden; }
.contact-request-toggle { width:100%; display:flex; align-items:center; justify-content:space-between; gap:12px; background:#f8fafc; color:#0B1B3F; border:0; padding:14px 16px; font-size:16px; line-height:1.45; font-weight:850; cursor:pointer; text-align:left; }
.contact-request-toggle:hover { background:#f1f5f9; }
.contact-request-arrow { display:inline-flex; align-items:center; justify-content:center; flex:0 0 auto; width:24px; height:24px; border-radius:50%; background:#0B1B3F; color:#fff; font-size:16px; line-height:1; }
.contact-request-panel { padding:16px; border-top:1px solid #e2e8f0; }
.contact-request-label { font-size:13px; font-weight:800; color:#64748b; letter-spacing:.06em; text-transform:uppercase; margin-bottom:10px; }
.contact-request-option { display:flex; gap:10px; align-items:flex-start; cursor:pointer; margin-bottom:8px; padding:9px 11px; background:#f8fafc; border:1px solid #e2e8f0; border-radius:10px; }
.contact-request-option input[type="checkbox"] { margin-top:4px; width:17px; height:17px; accent-color:#C08A3E; flex:0 0 auto; }
.contact-request-option span { font-size:14.5px; color:#334155; line-height:1.6; flex:1; }
.contact-request-other input[type="text"] { width:100%; margin-top:8px; border:1px solid #cbd5e1; border-radius:9px; padding:9px 10px; font-size:14px; box-sizing:border-box; }
.contact-grid { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin-top:14px; }
.contact-field { display:block; font-size:13px; font-weight:700; color:#475569; }
.contact-field input { width:100%; margin-top:6px; border:1px solid #cbd5e1; border-radius:10px; padding:10px 11px; font-size:14px; box-sizing:border-box; }
.contact-message { width:100%; min-height:72px; margin-top:12px; border:1px solid #cbd5e1; border-radius:10px; padding:11px 12px; font-size:14px; line-height:1.6; box-sizing:border-box; }
.contact-error { color:#b91c1c; background:#fef2f2; border:1px solid #fecaca; border-radius:10px; padding:10px 12px; font-size:13px; margin-top:12px; }
.contact-submit { width:100%; background:#0B1B3F; color:#fff; border:none; border-radius:11px; padding:12px 14px; font-size:15px; font-weight:800; cursor:pointer; margin-top:12px; }
.contact-submit:hover { filter:brightness(1.08); }
.contact-done { text-align:center; color:#166534; background:#f0fdf4; border:1px solid #bbf7d0; border-radius:10px; padding:11px 12px; font-size:14px; font-weight:800; margin-top:12px; }

@media (max-width: 760px) {
  .v2footer { padding:34px 0 22px !important; }
  .v2footer-top { display:block !important; padding-bottom:20px !important; }
  .v2footer-brand { max-width:100% !important; margin-bottom:22px; }
  .v2footer-cols { display:grid !important; grid-template-columns:1fr !important; gap:0 !important; width:100%; }
  .v2footer-col { padding:15px 0 12px; border-top:1px solid rgba(255,255,255,.09); }
  .v2footer-col h5 { margin-bottom:8px !important; }
  .v2footer-col a { font-size:15px; margin-bottom:7px; line-height:1.7; }
  .v2footer-resources a { white-space:normal; }
  .v2footer-bottom { padding-top:16px !important; line-height:1.8; }
  .contact-request-box { margin:12px 0 4px; border-radius:14px; }
  .contact-request-toggle { padding:13px 14px; font-size:15.5px; }
  .contact-request-panel { padding:14px; }
  .contact-grid { grid-template-columns:1fr !important; gap:10px; }
  .contact-request-option { padding:9px 10px; }
  .contact-request-option span { font-size:14.5px; }
}


/* ---- V2.8.14 full-diagnosis continuation ---- */
.lite-review-details {
  margin: 0 0 18px;
  border: 1.5px solid #bfdbfe;
  border-radius: 16px;
  background: linear-gradient(135deg,#eff6ff,#f8fafc);
  box-shadow: 0 8px 22px rgba(29,78,216,.06);
  overflow: hidden;
}
.lite-review-details summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  color: #1e3a8a;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.55;
}
.lite-review-details summary::-webkit-details-marker { display: none; }
.lite-review-details summary strong {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 8px 12px;
  background: #0B1B3F;
  color: #fff;
  font-size: 13px;
  font-weight: 850;
}
.lite-review-body {
  border-top: 1px solid #dbeafe;
  padding: 16px;
  background: #fff;
}
.lite-review-body .q-block {
  margin-bottom: 10px;
  padding: 15px 15px;
  border-radius: 12px;
}
@media (max-width:760px) {
  .lite-review-details summary { display:block; padding:13px 14px; }
  .lite-review-details summary strong { margin-top:10px; width:100%; box-sizing:border-box; }
  .lite-review-body { padding:12px; }
}


/* ---- V2.8.16 SEO CTA cards and compact contact request ---- */
.contact-cta-section {
  background: var(--gray-50);
  border-top: 1px solid var(--gray-200);
  padding: 22px 0 28px;
}
.contact-cta-section .contact-request-box {
  max-width: 620px;
  margin: 0 auto;
}
.contact-request-box.compact-contact-request {
  max-width: 620px;
  margin: 14px auto 4px;
  border: 1.5px solid #dbe3ef;
  border-radius: 16px;
  box-shadow: 0 8px 22px rgba(15,23,42,.04);
}
.contact-request-toggle.contact-request-compact-toggle {
  background: #fff;
  padding: 12px 14px;
  min-height: 52px;
}
.contact-request-toggle.contact-request-compact-toggle:hover { background: #f8fafc; }
.contact-request-title {
  color: #0B1B3F;
  font-size: 15.5px;
  font-weight: 850;
  line-height: 1.45;
}
.contact-request-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  color: #0B1B3F;
  background: #f7f1e8;
  border: 1px solid rgba(192,138,62,.35);
  border-radius: 999px;
  padding: 7px 10px 7px 12px;
  font-size: 13.5px;
  font-weight: 850;
  white-space: nowrap;
}
.contact-request-cta .contact-request-arrow {
  width: 21px;
  height: 21px;
  font-size: 14px;
  background: #C08A3E;
}
.contact-request-panel { background: #fff; }
@media (max-width: 760px) {
  .contact-cta-section { padding: 16px 0 20px; }
  .contact-request-toggle.contact-request-compact-toggle {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding: 12px 13px;
  }
  .contact-request-title { font-size: 15px; }
  .contact-request-cta { font-size: 13px; align-self: flex-start; }
}

/* ---- V2.8.16 typography alignment with V2.8.7 readability ---- */
body.v2 { font-size:16px; }
body.v2 .q-title { font-size:17px !important; line-height:1.55 !important; }
body.v2 .q-opt { font-size:15.5px !important; line-height:1.45 !important; }
body.v2 .v2hero p.lede { font-size:17px; line-height:1.85; }
body.v2 .v2lede { font-size:16px; line-height:1.8; }
@media (max-width:760px) {
  body.v2 { font-size:16px !important; }
  .v2hero h1 { font-size:clamp(34px,9vw,42px) !important; line-height:1.1 !important; }
  .v2hero p.lede { font-size:17px !important; line-height:1.85 !important; }
  .v2h2 { font-size:clamp(26px,7vw,34px) !important; line-height:1.2 !important; }
  .v2lede { font-size:16px !important; line-height:1.8 !important; }
  .audit-hero h1 { font-size:clamp(30px,8vw,38px) !important; line-height:1.16 !important; }
  .audit-hero p { font-size:16px !important; line-height:1.8 !important; }
  .q-title { font-size:17px !important; line-height:1.55 !important; }
  .q-opt { font-size:15.5px !important; line-height:1.45 !important; }
  .entry-card, .result-card, .report-section { font-size:16px !important; }
  #scoreStabilityNote { font-size:12.5px !important; line-height:1.7 !important; }
}
