/* The Most Profitable Franchise: Franchise Transparency Score
   Design system inherited from AIOInsights (sibling tool in the Digilu ecosystem).
   Franchise-specific components are appended at the end of this file. */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Cormorant+Garamond:wght@400;500;600&display=swap');

/* ─── Variables ──────────────────────────────────────────────────────────── */
:root {
  --bg:        #0D0D0F;
  --panel:     #16181D;
  --panel-2:   #1C1F27;
  --border:    #252830;
  --text:      #F5F3EE;
  --muted:     #9CA3AF;
  --accent:    #C03A57;
  --accent-dim:#8E2E44;
  --blue:      #C8788A;
  --blue-dim:  #A85E70;
  --warning:   #A65A3A;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --max-w:     1200px;
  --radius:    6px;
  --radius-lg: 12px;
  --transition: 200ms ease;
}

/* ─── Reset ──────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
ul, ol { list-style: none; }
input, select, textarea { font-family: inherit; }

/* ─── Typography ─────────────────────────────────────────────────────────── */
.display-headline {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 600; line-height: 1.15; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); font-weight: 600; line-height: 1.2; letter-spacing: -0.02em; }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.375rem); font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; }
h4 { font-size: 1rem; font-weight: 600; line-height: 1.4; }
p { color: var(--muted); line-height: 1.75; }
p.text-primary { color: var(--text); }
.label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
.accent { color: var(--accent); }
.blue { color: var(--blue); }
.muted { color: var(--muted); }

/* ─── Layout ─────────────────────────────────────────────────────────────── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 780px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section--sm { padding: 48px 0; }
.section--lg { padding: 120px 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-8 { gap: 8px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.gap-32 { gap: 32px; }

/* ─── Divider ────────────────────────────────────────────────────────────── */
.divider { height: 1px; background: var(--border); margin: 48px 0; }

/* ─── Buttons ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-size: 0.9375rem;
  font-weight: 600;
  transition: var(--transition);
  white-space: nowrap;
}
.btn--primary {
  background: var(--accent);
  color: #FFFFFF;
}
.btn--primary:hover { background: #D24A68; }
.btn--secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn--secondary:hover { border-color: var(--accent); color: var(--accent); }
.btn--blue {
  background: var(--blue);
  color: #16181D;
}
.btn--blue:hover { background: var(--blue-dim); }
.btn--lg { padding: 18px 36px; font-size: 1rem; }
.btn--full { width: 100%; justify-content: center; }

/* ─── Header ─────────────────────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(13, 13, 15, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: 68px;
}
.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.site-logo img, .site-logo svg { height: 46px; width: auto; }
.site-logo .logo-text {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}
.site-logo .logo-text span { color: var(--accent); }

/* Primary nav */
.primary-nav { display: flex; align-items: center; gap: 4px; }
.nav-item { position: relative; }
.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  border-radius: var(--radius);
  transition: color var(--transition);
}
.nav-link:hover { color: var(--text); }
.nav-link svg { width: 12px; height: 12px; transition: transform var(--transition); }
.nav-link .nav-ico { width: 15px; height: 15px; }
.nav-item:hover .nav-link .nav-caret { transform: rotate(180deg); }
.nav-item:hover .nav-link .nav-ico { transform: none; }
.nav-item:hover .nav-link { color: var(--text); }

/* Mega menu */
.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  padding: 12px 0 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--transition), visibility var(--transition), transform var(--transition);
  transform: translateX(calc(-50% + var(--mm-shift, 0px))) translateY(-4px);
}
.mega-menu--r { left: 50%; right: auto; }
.nav-item:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(calc(-50% + var(--mm-shift, 0px))) translateY(0);
}
.mega-menu-inner {
  display: flex;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 48px rgba(0,0,0,0.5);
  overflow: hidden;
}

/* feature panel (left) */
.mm-feature {
  flex: 0 0 210px;
  padding: 22px 20px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--border);
  background:
    radial-gradient(120% 90% at 0% 100%, rgba(192,58,87,0.16), transparent 60%),
    linear-gradient(160deg, #1C1F27, #121319);
}
.mm-fx { position: absolute; right: -30px; bottom: -26px; opacity: 0.5; pointer-events: none; }
.mm-flabel { display: block; font-size: 0.625rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.mm-feature h4 { font-family: var(--font-display); font-size: 1.4rem; font-weight: 500; line-height: 1.12; margin: 0 0 8px; color: var(--text); }
.mm-feature p { font-size: 0.78rem; color: var(--muted); line-height: 1.5; margin: 0 0 16px; }
.mm-fcta { margin-top: auto; display: inline-flex; align-items: center; gap: 7px; font-size: 0.8rem; font-weight: 600; color: var(--accent); transition: gap var(--transition); }
.mm-fcta svg { width: 14px; height: 14px; }
.mm-feature:hover .mm-fcta { gap: 11px; }

/* link list (right) */
.mm-list { padding: 12px; min-width: 290px; }
.mm-glabel { display: block; padding: 10px 14px 6px; font-size: 0.625rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.mm-cols { display: flex; gap: 6px; }
.mm-cols > div { flex: 1; min-width: 220px; }
.mega-menu .mm-row {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 10px 14px;
  border-radius: var(--radius);
  transition: background var(--transition);
}
.mega-menu .mm-row:hover { background: var(--panel-2); }
.mm-ico { flex-shrink: 0; width: 34px; height: 34px; border-radius: 9px; background: rgba(200,120,138,0.08); border: 1px solid rgba(200,120,138,0.16); display: flex; align-items: center; justify-content: center; }
.mm-ico svg { width: 18px; height: 18px; }
.mm-tt { display: block; font-size: 0.875rem; font-weight: 600; color: var(--text); line-height: 1.25; }
.mm-ds { display: block; font-size: 0.75rem; color: var(--muted); margin-top: 4px; line-height: 1.45; }

/* Header CTA */
.header-cta { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

/* Hamburger */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  border-radius: var(--radius);
  transition: background var(--transition);
}
.menu-toggle:hover { background: var(--panel); }
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg);
  overflow-y: auto;
  z-index: 99;
  padding: 24px;
}
.mobile-nav.open { display: block; }
.mobile-nav-section { margin-bottom: 24px; }
.mobile-nav-label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
  padding: 0 4px;
}
.mobile-nav a {
  display: block;
  padding: 10px 4px;
  font-size: 1rem;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  transition: color var(--transition);
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover { color: var(--text); }
.mobile-nav .mobile-cta { margin-top: 24px; }
.mobile-nav .mobile-cta a,
.mobile-nav .mobile-cta a:hover { color: #FFFFFF; border-bottom: none; }

/* Page offset for fixed header */
.page-content { padding-top: 68px; }

/* ─── Hero ───────────────────────────────────────────────────────────────── */
.hero {
  padding: 32px 0 80px;
  border-bottom: 1px solid var(--border);
}
.hero--center { text-align: center; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(192,58,87, 0.08);
  border: 1px solid rgba(192,58,87, 0.2);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 28px;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}
.hero h1 { margin-bottom: 24px; }
.hero h1 .display-headline {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 500;
}
.hero .lead {
  font-size: clamp(1rem, 2vw, 1.1875rem);
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto 40px;
  line-height: 1.75;
}
.hero .lead.left-align { margin-left: 0; }
.hero-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.hero-actions.center { justify-content: center; }

/* ─── Section headers ────────────────────────────────────────────────────── */
.section-header { margin-bottom: 48px; }
.section-header--center { text-align: center; }
.section-header .label { margin-bottom: 14px; }
.section-header h2 { margin-bottom: 16px; }
.section-header p { max-width: 580px; }
.section-header--center p { margin: 0 auto; }

/* ─── Cards / Panels ─────────────────────────────────────────────────────── */
.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.card--hover { transition: border-color var(--transition), transform var(--transition); }
.card--hover:hover { border-color: rgba(192,58,87, 0.3); transform: translateY(-2px); }
.card-icon {
  width: 44px;
  height: 44px;
  background: rgba(192,58,87, 0.08);
  border: 1px solid rgba(192,58,87, 0.15);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  flex-shrink: 0;
}
.card-icon svg { width: 20px; height: 20px; stroke: var(--accent); }
.card-icon--blue { background: rgba(200,120,138, 0.08); border-color: rgba(200,120,138, 0.15); }
.card-icon--blue svg { stroke: var(--blue); }
.card h3 { margin-bottom: 10px; }
.card p { font-size: 0.9375rem; }

/* ─── Score display ──────────────────────────────────────────────────────── */
.score-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.score-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--blue));
}
.score-number {
  font-family: var(--font-display);
  font-size: 6rem;
  font-weight: 500;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.04em;
}
.score-denom {
  font-size: 2rem;
  color: var(--muted);
  font-weight: 300;
}
.score-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 8px;
}
.score-band {
  display: inline-block;
  margin-top: 16px;
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 600;
}
.band--high { background: rgba(192,58,87, 0.12); color: var(--accent); }
.band--medium { background: rgba(200,120,138, 0.12); color: var(--blue); }
.band--low { background: rgba(166, 90, 58, 0.12); color: var(--warning); }

/* ─── Issue card ─────────────────────────────────────────────────────────── */
.issue-card {
  background: var(--panel);
  border: 1px solid rgba(166, 90, 58, 0.3);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
}
.issue-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--warning);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.issue-type-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: rgba(166, 90, 58, 0.1);
  border: 1px solid rgba(166, 90, 58, 0.2);
  border-radius: 100px;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--warning);
  margin-bottom: 16px;
}
.issue-card h3 { margin-bottom: 12px; }
.issue-card p { font-size: 0.9375rem; margin-bottom: 16px; }
.issue-card .recommendation {
  background: var(--panel-2);
  border-radius: var(--radius);
  padding: 16px;
  border-left: 3px solid var(--accent);
}
.recommendation .rec-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}
.recommendation p { font-size: 0.875rem; color: var(--text); margin: 0; }

/* ─── Locked cards ───────────────────────────────────────────────────────── */
.locked-section { margin-top: 40px; }
.locked-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.locked-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.locked-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: relative;
  overflow: hidden;
}
.locked-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(13, 13, 15, 0.6);
  backdrop-filter: blur(3px);
}
.locked-card-inner { position: relative; z-index: 0; }
.locked-card h4 { margin-bottom: 8px; }
.locked-card .score-preview {
  font-size: 2rem;
  font-weight: 700;
  color: var(--muted);
  filter: blur(6px);
}
.lock-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  width: 36px;
  height: 36px;
  background: var(--panel-2);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lock-icon svg { width: 16px; height: 16px; stroke: var(--muted); }
.unlock-cta {
  background: linear-gradient(180deg, transparent, var(--bg) 60%);
  padding: 48px 32px 32px;
  text-align: center;
  margin-top: -32px;
  position: relative;
}

/* ─── Form elements ──────────────────────────────────────────────────────── */
.form-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}
.form-label .required { color: var(--accent); margin-left: 2px; }
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
  font-size: 0.9375rem;
  color: var(--text);
  transition: border-color var(--transition);
  appearance: none;
  -webkit-appearance: none;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.form-input::placeholder { color: var(--muted); opacity: 0.6; }
.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239CA3AF' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}
.form-select option { background: var(--panel); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-error {
  font-size: 0.8125rem;
  color: var(--warning);
  margin-top: 6px;
  display: none;
}
.form-input.error,
.form-select.error { border-color: var(--warning); }
.form-group.has-error .form-error { display: block; }
.form-note {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 12px;
  line-height: 1.5;
}

/* ─── Loading screen ─────────────────────────────────────────────────────── */
.loading-overlay {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 200;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}
.loading-overlay.active { display: flex; }
.loading-spinner {
  width: 48px;
  height: 48px;
  border: 2px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loading-message {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--text);
  text-align: center;
  min-height: 1.7em;
  transition: opacity 0.4s;
}
.loading-bar-track {
  width: 280px;
  height: 2px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
}
.loading-bar-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 2px;
  width: 0%;
  transition: width 0.5s ease;
}
.loading-step-label {
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ─── Trust pillars ──────────────────────────────────────────────────────── */
/* 6 pillars in a balanced 3x2. Rounded outer corners come from the container
   (overflow:hidden), so the layout stays clean at any column count. */
.pillar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; border-radius: var(--radius-lg); overflow: hidden; }
.pillar-item {
  background: var(--panel);
  padding: 32px 28px;
  border: 1px solid var(--border);
  transition: border-color var(--transition);
}
.pillar-item:hover { border-color: rgba(192,58,87, 0.25); }
.pillar-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 400;
  color: rgba(192,58,87, 0.25);
  line-height: 1;
  margin-bottom: 16px;
}
.pillar-item h3 { font-size: 1rem; margin-bottom: 10px; }
.pillar-item p { font-size: 0.875rem; }

/* ─── FAQ accordion ──────────────────────────────────────────────────────── */
.faq-list { border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question {
  width: 100%;
  text-align: left;
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  background: none;
  border: none;
  transition: color var(--transition);
}
.faq-question:hover { color: var(--accent); }
.faq-question svg {
  width: 18px;
  height: 18px;
  stroke: var(--muted);
  flex-shrink: 0;
  transition: transform var(--transition);
}
.faq-item.open .faq-question svg { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}
.faq-item.open .faq-answer { max-height: 600px; padding-bottom: 22px; }
.faq-answer p { font-size: 0.9375rem; }

/* ─── Insights grid ──────────────────────────────────────────────────────── */
.insight-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition);
}
.insight-card:hover { border-color: rgba(192,58,87, 0.25); transform: translateY(-2px); }
.insight-card-body { padding: 28px; }
.insight-category {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.insight-card h3 { font-size: 1.125rem; margin-bottom: 10px; }
.insight-card p { font-size: 0.875rem; margin-bottom: 16px; }
.insight-card .read-more {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition);
}
.insight-card:hover .read-more { gap: 10px; }

/* ─── Article / long-form ────────────────────────────────────────────────── */
.article-header { padding: 80px 0 60px; border-bottom: 1px solid var(--border); }
.article-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.article-meta .category { color: var(--accent); font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; }
.article-meta .date { color: var(--muted); font-size: 0.8125rem; }
.article-meta .separator { color: var(--border); }
.article-body { padding: 64px 0; }
.article-body h2 { margin-bottom: 20px; margin-top: 48px; }
.article-body h2:first-child { margin-top: 0; }
.article-body h3 { margin-bottom: 14px; margin-top: 36px; }
.article-body p { margin-bottom: 22px; font-size: 1rem; }
.article-body ul, .article-body ol { margin-bottom: 22px; padding-left: 20px; }
.article-body ul { list-style: disc; }
.article-body ol { list-style: decimal; }
.article-body li { margin-bottom: 8px; color: var(--muted); font-size: 1rem; line-height: 1.7; }
.article-body blockquote {
  border-left: 3px solid var(--accent);
  padding: 16px 24px;
  background: var(--panel);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 32px 0;
}
.article-body blockquote p { color: var(--text); font-style: italic; margin: 0; }

/* ─── Breadcrumb ─────────────────────────────────────────────────────────── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 0;
  font-size: 0.8125rem;
  color: var(--muted);
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--muted); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { color: var(--border); }
.breadcrumb .current { color: var(--text); }

/* ─── AI summary block ───────────────────────────────────────────────────── */
.ai-summary {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin: 64px 0 0;
}
.ai-summary .summary-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}
.ai-summary p { font-size: 0.9375rem; color: var(--muted); line-height: 1.75; margin-bottom: 12px; }
.ai-summary p:last-child { margin-bottom: 0; }

/* ─── About lineage diagram ──────────────────────────────────────────────── */
.about-visual {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px 32px;
}
.about-emblem { display: flex; justify-content: center; margin-bottom: 28px; }
.about-emblem svg { width: 96px; height: 96px; }
.lineage-node {
  display: block;
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel-2);
  padding: 18px 20px;
  transition: border-color var(--transition), transform var(--transition);
}
.lineage-node--aio { border-color: rgba(192,58,87, 0.4); }
.lineage-node--digilu { border-color: rgba(200,120,138, 0.4); }
.lineage-node:hover { transform: translateY(-2px); }
.lineage-node--aio:hover { border-color: var(--accent); }
.lineage-node--digilu:hover { border-color: var(--blue); }
.ln-cta {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 14px;
  font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.02em;
}
.lineage-node--aio .ln-cta { color: var(--accent); }
.lineage-node--digilu .ln-cta { color: var(--blue); }
.ln-cta svg { width: 15px; height: 15px; transition: transform var(--transition); }
.lineage-node--aio .ln-cta svg { stroke: var(--accent); }
.lineage-node--digilu .ln-cta svg { stroke: var(--blue); }
.lineage-node:hover .ln-cta svg { transform: translateX(3px); }
.lineage-node--digilu .ln-est { margin-top: 12px; margin-right: 12px; }
.lineage-node .ln-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.lineage-node .ln-dot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }
.lineage-node--aio .ln-dot { background: var(--accent); }
.lineage-node--digilu .ln-dot { background: var(--blue); }
.lineage-node .ln-name { margin: 0; font-size: 1.0625rem; }
.lineage-node .ln-name span { color: var(--muted); font-weight: 400; font-size: 0.8125rem; letter-spacing: 0.04em; }
.lineage-node .ln-desc { margin: 0; font-size: 0.875rem; color: var(--muted); line-height: 1.6; }
.lineage-node .ln-est {
  display: inline-block; margin-top: 12px;
  font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--blue); border: 1px solid rgba(200,120,138, 0.35); border-radius: 999px; padding: 4px 12px;
}
.lineage-link {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 10px 0; color: var(--muted);
}
.lineage-link svg { width: 18px; height: 18px; stroke: var(--accent-dim); }
.lineage-link span { font-size: 0.6875rem; letter-spacing: 0.1em; text-transform: uppercase; }

/* ─── Trust signal band ──────────────────────────────────────────────────── */
.trust-band {
  background: var(--panel);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 32px 0;
}
.trust-band-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.trust-point {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
}
.trust-point svg { width: 16px; height: 16px; stroke: var(--accent); flex-shrink: 0; }

/* ─── Result-page score methodology caption ─────────────────────────────── */
.score-method { margin: 14px 0 0; font-size: 0.75rem; line-height: 1.5; color: var(--muted); text-align: center; }
.score-method strong { color: var(--text); font-weight: 600; }

/* ─── Live evaluation stats strip ────────────────────────────────────────── */
.live-stats { padding: 40px 0; border-bottom: 1px solid var(--border); }
.live-stats-inner { display: flex; align-items: flex-start; justify-content: center; gap: 64px; flex-wrap: wrap; text-align: center; }
.lstat { display: flex; flex-direction: column; gap: 6px; min-width: 120px; }
.lstat[hidden] { display: none; }  /* author rule above beats the UA [hidden]; restore hiding */
.lstat-num { font-family: var(--font-display); font-size: 2.75rem; font-weight: 500; color: var(--accent); line-height: 1; }
.lstat-label { font-size: 0.8125rem; font-weight: 500; color: var(--muted); letter-spacing: 0.01em; }
@media (max-width: 640px) { .live-stats-inner { gap: 36px 48px; } .lstat-num { font-size: 2.25rem; } }

/* ─── Stat block ─────────────────────────────────────────────────────────── */
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.stat-item { text-align: center; padding: 40px 24px; background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.stat-number { font-family: var(--font-display); font-size: 3rem; font-weight: 500; color: var(--accent); line-height: 1; margin-bottom: 8px; }
.stat-label { font-size: 0.875rem; color: var(--muted); }

/* ─── Footer ─────────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--panel);
  border-top: 1px solid var(--border);
  padding: 64px 0 0;
}
.footer-top { display: grid; grid-template-columns: 280px 1fr; gap: 64px; margin-bottom: 64px; }
.footer-brand .logo-text { font-size: 1.125rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 16px; display: block; }
.footer-brand .logo-text span { color: var(--accent); }
.footer-brand p { font-size: 0.875rem; color: var(--muted); line-height: 1.7; margin-bottom: 20px; }
.footer-nav-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 32px; }
.footer-col h4 {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 0.875rem; color: var(--muted); transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--text); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: 0.8125rem; color: var(--muted); margin: 0; }
.footer-legal { display: flex; align-items: center; gap: 24px; }
.footer-legal a { font-size: 0.8125rem; color: var(--muted); transition: color var(--transition); }
.footer-legal a:hover { color: var(--text); }
.footer-digilu-note {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 32px 0;
  text-align: center;
}
.footer-digilu-note p { font-size: 0.875rem; color: var(--muted); margin: 0; line-height: 1.75; }
.footer-digilu-note a { color: var(--accent); }
.footer-ecosystem {
  border-top: 1px solid var(--border);
  padding: 40px 0 8px;
}
.footer-ecosystem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer-ecosystem .footer-col span[aria-current] { font-size: 0.875rem; color: var(--text); font-weight: 600; }
@media (max-width: 720px) {
  .footer-ecosystem-grid { grid-template-columns: 1fr; }
}

/* ─── Highlight box ──────────────────────────────────────────────────────── */
.highlight-box {
  background: rgba(192,58,87, 0.05);
  border: 1px solid rgba(192,58,87, 0.15);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.highlight-box--blue {
  background: rgba(200,120,138, 0.05);
  border-color: rgba(200,120,138, 0.15);
}

/* ─── Methodology steps ──────────────────────────────────────────────────── */
.method-step { display: flex; gap: 24px; padding: 32px 0; border-bottom: 1px solid var(--border); }
.method-step:first-child { padding-top: 0; }
.method-step:last-child { border-bottom: none; padding-bottom: 0; }
.step-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 400;
  color: var(--accent);
  line-height: 1;
  flex-shrink: 0;
  min-width: 64px;
}
.step-content h3 { margin-bottom: 10px; }
.step-content p { font-size: 0.9375rem; }
/* Pillar chips under each interpretation stage: ties the mechanism to the two pillars it is scored by. */
.step-pillars { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.pillar-tag { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.02em; color: var(--accent); background: rgba(192,58,87, 0.10); border: 1px solid rgba(192,58,87, 0.28); border-radius: 999px; padding: 4px 12px; }
.mechanism-close { max-width: 760px; margin: 32px auto 0; text-align: center; color: var(--muted); font-size: 0.95rem; line-height: 1.6; }

/* ─── Check list ─────────────────────────────────────────────────────────── */
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.9375rem;
  color: var(--muted);
}
.check-list li::before {
  content: '';
  display: block;
  width: 16px;
  height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23C03A57' stroke-width='2'%3E%3Cpath d='M2 8l4 4 8-8'/%3E%3C/svg%3E") center/contain no-repeat;
  flex-shrink: 0;
  margin-top: 3px;
}

/* ─── Two column with aside ──────────────────────────────────────────────── */
.layout-with-aside { display: grid; grid-template-columns: 1fr 360px; gap: 48px; align-items: start; }
.aside-card { position: sticky; top: 88px; }

/* ─── Page hero variants ─────────────────────────────────────────────────── */
.page-hero {
  padding: 80px 0 64px;
  border-bottom: 1px solid var(--border);
}
.page-hero h1 { margin-bottom: 20px; }
.page-hero .lead { color: var(--muted); font-size: 1.125rem; max-width: 680px; line-height: 1.75; }

/* ─── Utility ────────────────────────────────────────────────────────────── */
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-20 { margin-bottom: 20px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.mb-64 { margin-bottom: 64px; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mt-64 { margin-top: 64px; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ─── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .pillar-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-nav-grid { grid-template-columns: repeat(3, 1fr); }
  .layout-with-aside { grid-template-columns: 1fr; }
  .aside-card { position: static; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stat-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .primary-nav { display: none; }
  .header-cta .btn { display: none; }
  .menu-toggle { display: flex; }
  .hero { padding: 32px 0 48px; }
  .section { padding: 56px 0; }
  .section--lg { padding: 72px 0; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .locked-grid { grid-template-columns: 1fr; }
  .pillar-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .footer-nav-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .trust-band-inner { gap: 24px; }
  .score-card { padding: 36px 24px; }
  .score-number { font-size: 5rem; }
  .form-card { padding: 28px 20px; }
  .card { padding: 24px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-actions.center { align-items: center; }
  .method-step { flex-direction: column; gap: 12px; }
  .step-number { min-width: auto; }
  .layout-with-aside { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  :root { font-size: 15px; }
  .container { padding: 0 16px; }
  .footer-nav-grid { grid-template-columns: 1fr; }
  .score-number { font-size: 4rem; }
}

/* ============================================================
   Thin-line graphics system (pillars, card icons, diagrams, video)
   Palette: gold #C03A57, slate blue #C8788A, warning #A65A3A
   ============================================================ */

/* Pillar card icon badge */
.pillar-icon {
  width: 46px; height: 46px; border-radius: 12px;
  background: rgba(192,58,87,0.08); border: 1px solid rgba(192,58,87,0.18);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.pillar-icon svg { width: 26px; height: 26px; }
.pillar-item .pillar-number { margin-bottom: 6px; }

/* Generic feature/card lead icon (problem + audience cards) */
.feat-icon {
  width: 44px; height: 44px; border-radius: 11px;
  background: rgba(192,58,87,0.08); border: 1px solid rgba(192,58,87,0.18);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.feat-icon svg { width: 25px; height: 25px; }
.feat-icon--warn { background: rgba(166,90,58,0.08); border-color: rgba(166,90,58,0.20); }

/* Step icons on the "How AI interprets" method steps */
.step-icon { flex-shrink: 0; width: 40px; height: 40px; border-radius: 10px;
  background: rgba(192,58,87,0.08); border: 1px solid rgba(192,58,87,0.18);
  display: flex; align-items: center; justify-content: center; }
.step-icon svg { width: 24px; height: 24px; }

/* Conceptual diagram frame */
.aio-art { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; }
.aio-art svg { display: block; max-width: 100%; height: auto; margin: 0 auto; }
.aio-cap { text-align: center; color: var(--muted); font-size: 0.78rem; letter-spacing: 0.04em; margin-top: 18px; }

/* Video section: framed click-to-load */
.video-frame {
  position: relative; max-width: 760px; margin: 0 auto; aspect-ratio: 16 / 9;
  border: 1px solid rgba(192,58,87,0.35); border-radius: var(--radius-lg);
  overflow: hidden; cursor: pointer;
  background: linear-gradient(150deg, #16181D, #0D0D0F);
}
.vf-motif { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.35; pointer-events: none; }
.vf-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.vf-play span {
  width: 84px; height: 84px; border-radius: 50%; border: 1.5px solid var(--accent);
  display: flex; align-items: center; justify-content: center; background: rgba(13,13,15,0.55);
  transition: transform var(--transition), background var(--transition);
}
.video-frame:hover .vf-play span { transform: scale(1.06); background: rgba(192,58,87,0.18); }
.vf-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 26px; text-align: left;
  background: linear-gradient(0deg, rgba(13,13,15,0.88), transparent); }
.vf-eyebrow { font-size: 0.625rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.vf-title { font-family: var(--font-display); font-size: 1.6rem; color: var(--text); line-height: 1.1; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-frame.is-playing { cursor: default; }

@media (max-width: 768px) {
  .mm-cols { flex-direction: column; }
  .vf-title { font-size: 1.2rem; }
}

/* ─── Article Visuals (insight pages) ────────────────────────────────────── */
.fig { margin: 40px 0; }
.fig svg { display: block; width: 100%; height: auto; }
.fig-cap { margin-top: 14px; font-size: 0.8125rem; color: var(--muted); text-align: center; }
.fig-panel { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px 24px; }

/* Two-column helper */
.cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin: 32px 0; }
.cols-2 > p { margin-bottom: 16px !important; }
@media (max-width: 640px) { .cols-2 { grid-template-columns: 1fr; gap: 0; } }

/* Comparison cards (good vs bad / before vs after / two models) */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 38px 0; }
.compare-card { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; position: relative; overflow: hidden; }
.compare-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; }
.compare-card--pos::before { background: var(--accent); }
.compare-card--neg::before { background: var(--warning); }
.compare-tag { display: inline-flex; align-items: center; gap: 7px; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 12px; }
.compare-card--pos .compare-tag { color: var(--accent); }
.compare-card--neg .compare-tag { color: var(--warning); }
.compare-tag svg { width: 16px; height: 16px; stroke: currentColor; fill: none; }
.compare-card h4 { font-family: var(--font-display); font-size: 1.3rem; font-weight: 500; line-height: 1.15; margin-bottom: 12px; color: var(--text); }
.compare-card p { font-size: 0.9rem !important; color: var(--muted); margin-bottom: 12px !important; line-height: 1.65; }
.compare-card p:last-child { margin-bottom: 0 !important; }
.compare-card .verdict { display: inline-flex; align-items: center; gap: 7px; margin-top: 4px; font-size: 0.8rem; font-weight: 600; }
.compare-card--pos .verdict { color: var(--accent); }
.compare-card--neg .verdict { color: var(--warning); }
@media (max-width: 640px) { .compare { grid-template-columns: 1fr; } }

/* Process / stage steps */
.steps { margin: 38px 0; display: flex; flex-direction: column; gap: 16px; }
.step { display: grid; grid-template-columns: 56px 1fr; gap: 20px; align-items: start; background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; transition: border-color var(--transition); }
.step:hover { border-color: var(--accent-dim); }
.step-badge { width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; background: var(--bg); }
.step-badge svg { width: 28px; height: 28px; stroke: var(--accent); fill: none; }
.step-body .step-num { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; display: block; }
.step-body h3 { font-family: var(--font-display); font-size: 1.4rem; font-weight: 500; margin: 0 0 8px !important; color: var(--text); }
.step-body p { font-size: 0.9375rem !important; color: var(--muted); margin-bottom: 12px !important; line-height: 1.7; }
.step-body p:last-child { margin-bottom: 0 !important; }
@media (max-width: 540px) { .step { grid-template-columns: 1fr; gap: 14px; } }

/* Chips */
.chip-row { display: flex; gap: 8px; flex-wrap: wrap; margin: 6px 0 0; }
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: 0.75rem; font-weight: 600; color: var(--blue); background: rgba(200,120,138,0.1); border: 1px solid rgba(200,120,138,0.32); border-radius: 999px; padding: 4px 12px; }
.chip--accent { color: var(--accent); background: rgba(192,58,87,0.1); border-color: rgba(192,58,87,0.32); }
.chip svg { width: 13px; height: 13px; stroke: currentColor; fill: none; }

/* Callout */
.callout { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; background: linear-gradient(135deg, rgba(192,58,87,0.07), transparent); border: 1px solid var(--border); border-left: 3px solid var(--accent); border-radius: var(--radius); padding: 20px 22px; margin: 34px 0; }
.callout > svg { width: 24px; height: 24px; stroke: var(--accent); fill: none; flex-shrink: 0; margin-top: 2px; }
.callout p { margin: 0 !important; font-size: 0.9375rem !important; color: var(--text) !important; }

/* Feature grid (pillars, types, elements) */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; margin: 34px 0; }
.feature-cell { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 18px; text-align: center; transition: border-color var(--transition), transform var(--transition); }
.feature-cell:hover { border-color: var(--accent-dim); transform: translateY(-2px); }
.feature-cell svg { width: 32px; height: 32px; margin: 0 auto 12px; display: block; stroke: var(--blue); fill: none; }
.feature-cell .ft { font-size: 0.875rem; font-weight: 600; color: var(--text); display: block; }
.feature-cell .fd { font-size: 0.78rem; color: var(--muted); margin-top: 5px; line-height: 1.5; }

/* Stat band */
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 16px; margin: 34px 0; }
.stat { text-align: center; padding: 20px 14px; background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); }
.stat .num { font-family: var(--font-display); font-size: 2.4rem; line-height: 1; color: var(--accent); }
.stat .lbl { font-size: 0.8rem; color: var(--muted); margin-top: 8px; }

/* ============================================================
   FRANCHISE TRANSPARENCY SCORE — site-specific components
   Reuses the inherited gold/blue/dark system. Adds: the
   transparency-grade display, 7-factor rubric bars, verbatim
   Item-19 quote block, the legal disclaimer system, the
   questionnaire tool, and the "what to ask" output.
   ============================================================ */

/* ─── Sitewide legal disclaimer banner (conspicuous, every page) ─── */
.legal-strip {
  background: var(--panel-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}
.legal-strip p {
  font-size: 0.75rem;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
  text-align: center;
  max-width: 980px;
  margin: 0 auto;
}
.legal-strip strong { color: var(--text); font-weight: 600; }

/* Full disclosure block (footer + report foot + disclosure pages) */
.disclosure-block {
  background: rgba(166, 90, 58, 0.05);
  border: 1px solid rgba(166, 90, 58, 0.22);
  border-radius: var(--radius-lg);
  padding: 28px 30px;
}
.disclosure-block .disclosure-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--warning); margin-bottom: 14px;
}
.disclosure-block .disclosure-label svg { width: 15px; height: 15px; stroke: var(--warning); fill: none; }
.disclosure-block ul { display: flex; flex-direction: column; gap: 10px; }
.disclosure-block li {
  position: relative; padding-left: 20px;
  font-size: 0.8125rem; line-height: 1.6; color: var(--muted);
}
.disclosure-block li::before {
  content: ''; position: absolute; left: 0; top: 8px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--warning); opacity: 0.7;
}
.disclosure-block li strong { color: var(--text); font-weight: 600; }

/* ─── Transparency grade card (headline output) ─────────────────── */
.grade-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.grade-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--blue));
}
.grade-eyebrow {
  font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 18px;
}
.grade-number {
  font-family: var(--font-display);
  font-size: 5.5rem; font-weight: 500; line-height: 1; letter-spacing: -0.04em;
  color: var(--accent);
}
.grade-denom { font-size: 1.75rem; color: var(--muted); font-weight: 300; }
.grade-band {
  display: inline-block; margin-top: 18px; padding: 7px 18px; border-radius: 100px;
  font-size: 0.875rem; font-weight: 600;
}
.grade-sub { margin-top: 16px; font-size: 0.9rem; color: var(--muted); max-width: 52ch; margin-left: auto; margin-right: auto; }
.grade-meta { margin-top: 14px; font-size: 0.72rem; color: var(--muted); letter-spacing: 0.04em; }
.grade-meta strong { color: var(--text); }

/* Bands: high = gold, mid = blue, low = warning */
.band--transparent { background: rgba(192,58,87,0.14); color: var(--accent); }
.band--substantial { background: rgba(192,58,87,0.10); color: var(--accent); }
.band--moderate    { background: rgba(200,120,138,0.14); color: var(--blue); }
.band--limited     { background: rgba(166,90,58,0.12); color: var(--warning); }
.band--opaque      { background: rgba(166,90,58,0.18); color: var(--warning); }

/* ─── 7-factor breakdown bars ───────────────────────────────────── */
.factor-list { display: flex; flex-direction: column; gap: 4px; }
.factor-row {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  transition: border-color var(--transition);
}
.factor-row:hover { border-color: rgba(192,58,87,0.25); }
.factor-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 9px; }
.factor-name { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 0.95rem; color: var(--text); }
.factor-name .factor-ico { width: 26px; height: 26px; flex-shrink: 0; }
.factor-name .factor-ico svg { width: 26px; height: 26px; stroke: var(--blue); fill: none; }
.factor-item-tag { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.04em; color: var(--muted); }
.factor-score { font-variant-numeric: tabular-nums; font-weight: 700; font-size: 1rem; }
.factor-score span { color: var(--muted); font-weight: 400; font-size: 0.78rem; }
.factor-bar { height: 8px; border-radius: 6px; background: rgba(255,255,255,0.07); overflow: hidden; }
.factor-bar > i { display: block; height: 100%; border-radius: 6px; }
.factor-reason { margin-top: 10px; font-size: 0.84rem; color: var(--muted); line-height: 1.55; }
.factor-weight { font-size: 0.68rem; color: var(--muted); opacity: 0.8; }

/* "What to ask" list */
.ask-list li {
  display: flex; align-items: flex-start; gap: 11px;
  padding: 12px 0; border-bottom: 1px solid var(--border);
  font-size: 0.9375rem; color: var(--muted); line-height: 1.6;
}
.ask-list li:last-child { border-bottom: none; }
.ask-list li::before {
  content: '?'; flex-shrink: 0;
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(200,120,138,0.12); border: 1px solid rgba(200,120,138,0.3); color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: 700; margin-top: 1px;
}

/* ─── Verbatim Item 19 quote block (reported, never transformed) ── */
.verbatim {
  background: var(--panel-2);
  border: 1px solid var(--border);
  border-left: 3px solid var(--blue);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 22px 24px;
  margin: 24px 0;
}
.verbatim .verbatim-label {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 12px;
}
.verbatim blockquote { font-family: var(--font-body); color: var(--text); font-size: 0.95rem; line-height: 1.7; margin: 0; }
.verbatim .verbatim-attr { margin-top: 12px; font-size: 0.78rem; color: var(--muted); font-style: italic; }

/* ─── The questionnaire tool ────────────────────────────────────── */
.tool-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 36px 32px;
}
.tool-progress { display: flex; align-items: center; gap: 8px; margin-bottom: 28px; }
.tool-progress .tp-dot { flex: 1; height: 4px; border-radius: 4px; background: var(--border); transition: background var(--transition); }
.tool-progress .tp-dot.done { background: var(--accent); }
.tool-progress .tp-dot.active { background: var(--blue); }
.tool-q { display: none; }
.tool-q.active { display: block; animation: fadeIn 0.3s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.tool-q .q-step { font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.tool-q .q-title { font-family: var(--font-display); font-size: 1.6rem; font-weight: 500; line-height: 1.2; color: var(--text); margin-bottom: 8px; }
.tool-q .q-help { font-size: 0.875rem; color: var(--muted); margin-bottom: 22px; line-height: 1.6; }
.q-options { display: flex; flex-direction: column; gap: 10px; }
.q-option {
  display: flex; align-items: flex-start; gap: 13px;
  padding: 16px 18px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
}
.q-option:hover { border-color: rgba(192,58,87,0.4); }
.q-option input { position: absolute; opacity: 0; pointer-events: none; }
.q-option .q-mark {
  flex-shrink: 0; width: 20px; height: 20px; border-radius: 50%;
  border: 1.5px solid var(--border); margin-top: 2px;
  display: flex; align-items: center; justify-content: center; transition: border-color var(--transition);
}
.q-option .q-mark::after { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); transform: scale(0); transition: transform var(--transition); }
.q-option.selected { border-color: var(--accent); background: rgba(192,58,87,0.06); }
.q-option.selected .q-mark { border-color: var(--accent); }
.q-option.selected .q-mark::after { transform: scale(1); }
.q-option .q-otext { font-size: 0.9375rem; color: var(--text); font-weight: 500; line-height: 1.4; }
.q-option .q-odesc { display: block; font-size: 0.8rem; color: var(--muted); margin-top: 3px; font-weight: 400; line-height: 1.5; }
.tool-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 26px; }
.tool-back { font-size: 0.875rem; font-weight: 600; color: var(--muted); background: none; border: none; cursor: pointer; transition: color var(--transition); }
.tool-back:hover { color: var(--text); }
.tool-back[disabled] { opacity: 0.3; cursor: default; }
.tool-intro-fields { display: flex; flex-direction: column; gap: 16px; }

/* TCPA / consent checkbox */
.consent-row { display: flex; align-items: flex-start; gap: 11px; margin: 6px 0; }
.consent-row input[type="checkbox"] { flex-shrink: 0; width: 18px; height: 18px; margin-top: 3px; accent-color: var(--accent); }
.consent-row label { font-size: 0.78rem; color: var(--muted); line-height: 1.55; }
.consent-row.required-consent label strong { color: var(--text); }

/* ─── Thesis / quotable answer block (AIO citation target) ──────── */
.thesis {
  background: linear-gradient(135deg, rgba(200,120,138,0.08), transparent);
  border: 1px solid var(--border);
  border-left: 3px solid var(--blue);
  border-radius: var(--radius);
  padding: 26px 28px;
  margin: 32px 0;
}
.thesis p { font-size: 1.05rem; color: var(--text); line-height: 1.65; margin: 0; }
.thesis .thesis-label { display: block; font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue); margin-bottom: 12px; }

/* ─── Reframe split (profit hook vs what predicts success) ──────── */
.reframe-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 38px 0; }
@media (max-width: 640px) { .reframe-grid { grid-template-columns: 1fr; } }

@media (max-width: 768px) {
  .grade-number { font-size: 4.25rem; }
  .tool-card { padding: 26px 22px; }
  .tool-q .q-title { font-size: 1.3rem; }
}

/* ─── Two-column hero with the tool/form in the right column ─────── */
.hero-split { display: grid; grid-template-columns: 1fr 452px; gap: 56px; align-items: center; }
.hero-copy .hero-eyebrow { margin-bottom: 26px; }
.hero-title { display: flex; flex-direction: column; gap: 8px; margin-bottom: 26px; }
.hero-q { font-size: clamp(1.2rem, 2.3vw, 1.7rem); font-weight: 600; color: var(--text); line-height: 1.18; letter-spacing: -0.01em; }
.hero-wrong {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(3.1rem, 7vw, 5.4rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--accent);
}
.hero .lead.left-align { margin: 0 0 28px; max-width: 560px; }
.hero .lead.left-align em { color: var(--text); font-style: italic; }
.hero-points { display: flex; flex-direction: column; gap: 11px; }
.hero-points li { display: flex; align-items: center; gap: 11px; font-size: 0.9rem; color: var(--muted); }
.hero-points li::before {
  content: ''; flex-shrink: 0; width: 18px; height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C03A57' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M8 12l3 3 5-6'/%3E%3C/svg%3E") center/contain no-repeat;
}
.hero-form { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px 28px 24px; box-shadow: 0 24px 60px rgba(0,0,0,0.35); }
.hero-form-head { margin-bottom: 18px; }
.hero-form-head .label { display: block; margin-bottom: 8px; }
.hero-form-head h2 { font-size: 1.3rem; line-height: 1.2; }
.hero-form .tool-card { background: transparent; border: none; border-radius: 0; padding: 0; }

@media (max-width: 960px) {
  .hero-split { grid-template-columns: 1fr; gap: 36px; }
  .hero-form { max-width: 560px; }
}
