/* =========================================
   Методология делегирования задач ИИ
   Design System — Modern Framework style
   ========================================= */

/* --- Variables --- */
:root {
  --bg:           #FFFFFF;
  --bg-subtle:    #F8F9FA;
  --bg-muted:     #F0F2F5;
  --border:       #E5E7EB;
  --border-light: #F3F4F6;

  --text:         #0F1923;
  --text-muted:   #6B7280;

  --accent:       #2563EB;
  --accent-light: #EFF6FF;
  --accent-hover: #1D4ED8;

  --zone-green:   #166534; /* было #16A34A, WCAG 1.4.3: 5.74:1 на zone-green-bg */
  --zone-green-bg:#F0FDF4;
  --zone-yellow:  #854D0E; /* было #CA8A04, WCAG 1.4.3: 5.26:1 на zone-yellow-bg */
  --zone-yellow-bg:#FEFCE8;
  --zone-orange:  #9A3412; /* было #EA580C, WCAG 1.4.3: 5.83:1 на zone-orange-bg */
  --zone-orange-bg:#FFF7ED;
  --zone-red:     #991B1B; /* было #DC2626, WCAG 1.4.3: 5.72:1 на zone-red-bg */
  --zone-red-bg:  #FEF2F2;

  --radius:       8px;
  --radius-lg:    12px;
  --shadow:       0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md:    0 4px 6px rgba(0,0,0,.07), 0 2px 4px rgba(0,0,0,.06);

  --font:         'Inter', system-ui, -apple-system, sans-serif;
  --mono:         'JetBrains Mono', 'Fira Code', monospace;

  --max-w:        1120px;
  --nav-h:        64px;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
img { display: block; max-width: 100%; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* --- Typography --- */
h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; line-height: 1.3; letter-spacing: -0.015em; }
h3 { font-size: 1.25rem; font-weight: 600; line-height: 1.4; }
h4 { font-size: 1rem; font-weight: 600; }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* --- Layout --- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
section { padding: 80px 0; }
section.bg-subtle { background: var(--bg-subtle); }

/* --- Navbar --- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  height: var(--nav-h);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.nav-logo {
  font-weight: 700;
  font-size: .875rem;
  color: var(--text);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-logo:hover { text-decoration: none; }
.nav-logo span { color: inherit; }
.nav-links {
  display: flex;
  gap: 8px;
  align-items: center;
  list-style: none;
}
.nav-links a {
  font-size: .875rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 6px 12px;
  border-radius: var(--radius);
  transition: color .15s, background .15s;
}
.nav-links a:hover { color: var(--text); background: var(--bg-subtle); text-decoration: none; }
.nav-links a.active { color: var(--accent); background: var(--accent-light); }
/* nav-cta: обычная ссылка, визуальное выделение убрано */

/* Hamburger */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 14px 11px; /* 44×44px touch target */
  border: none;
  background: none;
}
.nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .2s, opacity .2s;
}

/* Hamburger → ✕ при открытом меню */
.nav-burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* --- Page header (внутренние страницы без hero-gradient) --- */
.page-header {
  padding: 64px 0 80px;
  background: var(--bg);
}
.page-header h1 {
  margin-bottom: 32px;
}
.page-header p { margin-bottom: 16px; }
.page-header .text-muted { font-size: .9375rem; }
.section-no-top-pad { padding-top: 0 !important; }
.section-no-bottom-pad { padding-bottom: 0 !important; }

/* --- Hero --- */
.hero {
  padding: 100px 0 80px;
  background: linear-gradient(135deg, var(--bg) 0%, var(--bg-subtle) 100%);
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .8125rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 20px;
}
.hero h1 { margin-bottom: 8px; max-width: 720px; }
.hero-name {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin: 0 0 24px;
}
.hero-research {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin: 20px 0 0;
  font-style: italic;
}
.hero-lead {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 640px;
  margin-bottom: 16px;
  line-height: 1.7;
}
.hero-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 16px;
  margin-bottom: 4px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.docs-content .hero-actions { margin-top: 48px; }
.hero-actions--center { justify-content: center; }
.footnote { font-size: .875rem; color: var(--text-muted); margin-top: 60px; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 64px;
  max-width: 600px;
}
.hero-stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
}
.hero-stat-label {
  font-size: .8125rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-size: .9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .15s;
  border: none;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); color: #fff; }
.btn-secondary { background: var(--bg); color: var(--text); border: 1px solid var(--border); }
.btn-secondary:hover { background: var(--bg-subtle); color: var(--text); }
.btn-ghost { background: transparent; color: var(--accent); }
.btn-ghost:hover { background: var(--accent-light); color: var(--accent); }
.btn-lg { padding: 14px 28px; font-size: 1rem; }

/* --- Cards --- */
.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
}
.card-muted { background: var(--bg-subtle); border-color: var(--border-light); box-shadow: none; }

/* --- Zone badges --- */
.zone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: .8125rem;
  font-weight: 600;
  white-space: nowrap;
}
.zone-green  { background: var(--zone-green-bg);  color: var(--zone-green); }
.zone-yellow { background: var(--zone-yellow-bg); color: var(--zone-yellow); }
.zone-orange { background: var(--zone-orange-bg); color: var(--zone-orange); }
.zone-red    { background: var(--zone-red-bg);    color: var(--zone-red); }

.zone-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.zone-green  .zone-dot { background: var(--zone-green); }
.zone-yellow .zone-dot { background: var(--zone-yellow); }
.zone-orange .zone-dot { background: var(--zone-orange); }
.zone-red    .zone-dot { background: var(--zone-red); }

/* --- Section header --- */
.section-header { text-align: center; margin-bottom: 56px; }
.section-eyebrow {
  display: inline-block;
  font-size: .8125rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 12px;
}
.section-header h2 { margin-bottom: 16px; }
.docs-content .section-eyebrow { margin-top: 32px; }
.section-header p { color: var(--text-muted); max-width: 540px; margin: 0 auto; font-size: 1.0625rem; }

/* --- Steps grid (landing) --- */
.phases-wrap { display: flex; flex-direction: column; gap: 0; }
.phase-1 { padding-bottom: 40px; }
.phase-2 { border-top: 1px solid var(--border); padding-top: 40px; }
.phase-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.phase-label span {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  /* background задаётся классами .phase-badge-blue/.phase-badge-purple — не переопределяем */
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.step-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  box-shadow: var(--shadow);
  transition: box-shadow .15s;
  display: flex;
  flex-direction: column;
}
.step-card:hover { box-shadow: var(--shadow-md); }
.step-num {
  font-size: .75rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: .06em;
  margin-bottom: 8px;
}
.step-title { font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.step-desc { font-size: .875rem; color: var(--text-muted); line-height: 1.5; margin-bottom: 12px; }
.step-time {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: .75rem;
  font-weight: 500;
  color: var(--text-muted);
}
.step-result {
  margin-top: auto;
  padding-top: 10px;
  padding: 8px 12px;
  background: var(--bg-subtle);
  border-radius: 6px;
  font-size: .8125rem;
  color: var(--text-muted);
}
.step-result strong { color: var(--text); }

/* Phase connectors — один цвет для обеих фаз */
.phase-1 .step-card { border-top: 3px solid var(--accent); }
.phase-2 .step-card { border-top: 3px solid var(--accent); }

/* --- Notice bar (информационный баннер вверху страницы) --- */
.notice-bar { padding: 12px 0; background: var(--accent-light); border-bottom: 1px solid var(--border); }
.notice-bar p { margin: 0; font-size: .9375rem; }

/* --- Zones section --- */
.zones-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}
.zone-card {
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid transparent;
}
.zone-card.z-green  { background: var(--zone-green-bg);  border-color: #BBF7D0; }
.zone-card.z-yellow { background: var(--zone-yellow-bg); border-color: #FEF08A; }
.zone-card.z-orange { background: var(--zone-orange-bg); border-color: #FED7AA; }
.zone-card.z-red    { background: var(--zone-red-bg);    border-color: #FECACA; }

.zone-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.zone-icon { font-size: 1.25rem; }
.zone-card-title { font-size: 1rem; font-weight: 700; }
.zone-epoch {
  margin-left: auto;
  font-size: .75rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 100px;
  background: rgba(0,0,0,.06);
}
.zone-card p { font-size: .875rem; color: var(--text-muted); margin-bottom: 8px; }
.zone-mode {
  font-size: .8125rem;
  font-weight: 600;
  color: var(--text);
}

/* --- Problems --- */
.problems-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin: 32px 0;
}
.problem-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
}
.problem-num {
  font-size: .75rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: .08em;
  margin-bottom: 12px;
}
.problem-title { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.problem-desc { font-size: .875rem; color: var(--text-muted); line-height: 1.6; }

/* --- Metrics (case study results) --- */
.metrics-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: center;
}
.metric-value {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--zone-green);
  line-height: 1;
  margin-bottom: 6px;
}
.metric-label { font-size: .9375rem; color: var(--text-muted); }

/* --- Tables --- */
.table-wrap {
  overflow-x: auto;
  margin: 20px 0;
  background:
    linear-gradient(to right, var(--bg) 30%, rgba(255,255,255,0)) left  / 40px 100% no-repeat local,
    linear-gradient(to left,  var(--bg) 30%, rgba(255,255,255,0)) right / 40px 100% no-repeat local,
    linear-gradient(to right, rgba(0,0,0,.07), rgba(0,0,0,0))    left  / 14px 100% no-repeat scroll,
    linear-gradient(to left,  rgba(0,0,0,.07), rgba(0,0,0,0))    right / 14px 100% no-repeat scroll;
}
table {
  width: 100%;
  min-width: 480px;
  border-collapse: collapse;
  font-size: .9375rem;
}
thead { background: var(--bg-subtle); }
th {
  text-align: left;
  padding: 10px 16px;
  font-size: .8125rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .04em;
  border-bottom: 1px solid var(--border);
}
td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-light);
  vertical-align: top;
}
tr:last-child td { border-bottom: none; }
tr:hover td { background: var(--bg-subtle); }
.col-num { text-align: right; }
table th[scope="row"] {
  font-weight: 600;
  white-space: nowrap;
  vertical-align: top;
  color: var(--text);
  text-transform: none;
  letter-spacing: 0;
  font-size: .9375rem;
  background: none;
  border-bottom: 1px solid var(--border-light);
}

/* --- Tabs --- */
.tabs { margin-bottom: 32px; }
.tabs-list {
  display: flex;
  gap: 4px;
  border-bottom: 2px solid var(--border);
  overflow-x: auto;
  scrollbar-width: none;
}
.tabs-list::-webkit-scrollbar { display: none; }
.tab-btn {
  padding: 10px 18px;
  font-size: .9375rem;
  font-weight: 500;
  color: var(--text-muted);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  white-space: nowrap;
  transition: color .15s, border-color .15s;
}
.tab-btn:hover { color: var(--text); }
.tab-btn.active { color: var(--accent); border-bottom-color: var(--accent); font-weight: 600; }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* --- Sidebar layout (methodology page) --- */
.docs-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 48px;
  align-items: start;
  padding-top: 0;
  padding-bottom: 80px;
  /* Centering for pages where docs-layout is not inside .container */
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}
/* When already inside .container — remove duplicate padding/max-width */
.container .docs-layout {
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  padding-right: 0;
}
.docs-sidebar {
  position: sticky;
  top: calc(var(--nav-h) + 24px);
  max-height: calc(100vh - var(--nav-h) - 48px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
  min-width: 0;
}

/* Sidebar structure used in case pages (docs-sidebar-inner + plain h3/ul) */
.docs-sidebar-inner { margin-bottom: 24px; }
.docs-sidebar-inner h3 {
  font-size: .6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text-muted);
  padding: 0 12px;
  margin-bottom: 6px;
}
.docs-sidebar-inner ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.docs-sidebar-inner ul li { margin-bottom: 2px; }
.docs-sidebar-inner ul a {
  display: block;
  padding: 7px 12px;
  font-size: .875rem;
  color: var(--text-muted);
  border-radius: var(--radius);
  transition: color .1s, background .1s;
  text-decoration: none;
}
.docs-sidebar-inner ul a:hover {
  color: var(--text);
  background: var(--bg-subtle);
  text-decoration: none;
}

.sidebar-section { margin-bottom: 24px; }
.sidebar-section-title {
  font-size: .6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text-muted);
  padding: 0 12px;
  margin-bottom: 6px;
}
.sidebar-nav { list-style: none; }
.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  font-size: .875rem;
  color: var(--text-muted);
  border-radius: var(--radius);
  transition: color .1s, background .1s;
  text-decoration: none;
}
.sidebar-nav a:hover { color: var(--text); background: var(--bg-subtle); }
.sidebar-nav a.active { color: var(--accent); background: var(--accent-light); font-weight: 500; }
.sidebar-nav .step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--bg-muted);
  font-size: .6875rem;
  font-weight: 700;
  color: var(--text-muted);
  flex-shrink: 0;
}
.sidebar-nav a.active .step-badge { background: var(--accent-light); color: var(--accent); }

/* --- Docs content --- */
.docs-content { max-width: 720px; min-width: 0; }
.docs-content section { padding: 48px 0; }
.docs-content section:first-child { padding-top: 0; }
.docs-content h2 { margin-top: 48px; margin-bottom: 24px; }
.docs-content h2:first-child { margin-top: 0; }
.docs-content h3 { margin-top: 32px; margin-bottom: 20px; }
.docs-content ul, .docs-content ol { margin: 16px 0; padding-left: 20px; line-height: 1.8; }
.docs-content p { margin-top: 16px; }
.docs-content p:first-child { margin-top: 0; }
.docs-content h4 { margin-bottom: 8px; }
.docs-content hr { margin: 40px 0; border: none; border-top: 1px solid var(--border); }

/* --- Pre variants --- */
.pre-subtle {
  background: var(--bg-subtle);
  padding: 20px;
  border-radius: var(--radius);
  overflow-x: auto;
  font-size: 0.9375rem;
  line-height: 1.6;
}
.pre-light {
  background: #fff;
  padding: 16px;
  border-radius: 4px;
  overflow-x: auto;
  font-size: 0.9rem;
}
.step-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  padding: 20px 24px;
  background: var(--bg-subtle);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}
.step-header-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  flex-shrink: 0;
}
.phase-2-color .step-header-num { background: #7C3AED; }
.step-header-meta { flex: 1; }
.step-header-title { font-size: 1.375rem; font-weight: 700; margin-bottom: 4px; }
.step-header-sub { font-size: .875rem; color: var(--text-muted); }
.step-header-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  background: var(--bg-muted);
  border-radius: 100px;
  font-size: .75rem;
  font-weight: 500;
  color: var(--text-muted);
}

/* --- EPOCH table --- */
.epoch-row-E { --epoch-color: #7C3AED; }
.epoch-row-P { --epoch-color: #2563EB; }
.epoch-row-O { --epoch-color: #0891B2; }
.epoch-row-C { --epoch-color: #059669; }
.epoch-row-H { --epoch-color: #D97706; }

.epoch-letter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  font-size: .75rem;
  font-weight: 800;
  background: var(--epoch-color, var(--bg-muted));
  color: #fff;
  flex-shrink: 0;
}

/* --- Progress bar (course) --- */
.course-progress {
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 40px;
}
.course-progress-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 2px;
  transition: width .4s ease;
}
.course-steps-indicator {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.course-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--border);
  transition: background .2s;
  cursor: pointer;
}
.course-dot.done { background: var(--accent); }
.course-dot.current { background: var(--accent); box-shadow: 0 0 0 3px var(--accent-light); }

.course-slide { display: none; max-width: 680px; margin: 0 auto; }
.course-slide.active { display: block; }
.course-slide-eyebrow {
  font-size: .8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--accent);
  margin-bottom: 12px;
}
.course-slide h2 { margin-bottom: 20px; }
.course-slide-body { font-size: 1.0625rem; color: var(--text-muted); line-height: 1.75; }
.course-slide-body p { margin-bottom: 14px; }
.course-reflection {
  margin-top: 32px;
  padding: 20px 24px;
  background: var(--accent-light);
  border-radius: var(--radius-lg);
  border-left: 3px solid var(--accent);
}
.course-reflection-label {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--accent);
  margin-bottom: 8px;
}
.course-reflection p { font-size: .9375rem; color: var(--text); margin: 0; }
.course-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.course-step-count {
  font-size: .875rem;
  color: var(--text-muted);
}

/* --- Delegation card --- */
.delegation-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
}
.dc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border);
}
.dc-title { font-weight: 700; font-size: .9375rem; }
.dc-body { padding: 20px; }
.dc-row { display: flex; gap: 12px; margin-bottom: 14px; }
.dc-row:last-child { margin-bottom: 0; }
.dc-icon { font-size: 1rem; flex-shrink: 0; padding-top: 2px; }
.dc-content strong { display: block; font-size: .75rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 3px; }
.dc-content p { font-size: .9rem; margin: 0; }
.dc-content ul, .dc-content ol { margin: 0; }
.dc-hint { color: var(--text-muted); margin-top: 8px; }
/* Детализированный режим карточки (9 полей) */
.dc-section { margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--border-light); }
.dc-section:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.dc-label { font-size: .8125rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 6px; }

/* --- Case page hero --- */
.case-hero { padding: 0 0 32px; border-bottom: 1px solid var(--border); margin-bottom: 0; }
.case-lead { font-size: 1.125rem; color: var(--text-muted); max-width: 640px; line-height: 1.7; margin: 12px 0 20px; }
.case-meta { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 16px; }

/* --- Details (collapsible) --- */
details.details-block { margin: 20px 0; border: 1px solid var(--border-light); border-radius: var(--radius); }
details.details-block summary { cursor: pointer; font-weight: 600; font-size: .9375rem; color: var(--accent); padding: 12px 16px; list-style: none; }
details.details-block summary::-webkit-details-marker { display: none; }
details.details-block summary::before { content: "▸ "; }
details.details-block[open] summary::before { content: "▾ "; }
details.details-block[open] summary { border-bottom: 1px solid var(--border-light); }
details.details-block .details-body { padding: 16px; }
details.details-block .details-body .table-wrap { margin-left: -16px; margin-right: -16px; }

/* --- Checklist --- */
.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}
.checklist li {
  margin-bottom: 12px;
}
.checklist li:last-child {
  margin-bottom: 0;
}

/* --- Callout / blockquote --- */
.callout {
  padding: 16px 20px;
  border-radius: var(--radius);
  border-left: 3px solid var(--border);
  background: var(--bg-subtle);
  margin: 20px 0;
  font-size: .9375rem;
}
.callout p { margin: 0; }
.callout ul, .callout ol { margin: 0; padding-left: 20px; }
.callout h3 { font-size: 1rem; margin-top: 20px; margin-bottom: 8px; }
.callout h3:first-child { margin-top: 0; }
.callout p + ul { margin-top: 12px; }
.callout ul + p, .callout ol + p { margin-top: 12px; }
.callout-plain { border-left: none; }
.callout-warn { border-left-color: var(--zone-orange); background: var(--zone-orange-bg); }
.callout-note { border-left-color: var(--border); background: var(--bg-subtle); }
/* Семантические модификаторы callout */
.callout-info    { border-left-color: var(--accent); background: var(--accent-light); }
.callout-warning { border-left-color: #F59E0B; background: #FEFCE8; }
.callout-danger  { border-left-color: #EF4444; background: #FEF2F2; }
.callout-success { border-left-color: #22C55E; background: #F0FDF4; }

/* --- Code / mono --- */
code {
  font-family: var(--mono);
  font-size: .875em;
  background: var(--bg-muted);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--accent);
}
pre {
  font-family: var(--mono);
  font-size: .875rem;
  background: var(--text);
  color: #E5E7EB;
  padding: 20px 24px;
  border-radius: var(--radius-lg);
  overflow-x: auto;
  line-height: 1.7;
  margin: 20px 0;
}

/* --- Footer --- */
.footer {
  margin-top: auto;
  background: var(--text);
  color: rgba(255,255,255,.7);
  padding: 40px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-logo { color: #fff; font-weight: 700; font-size: .9375rem; }
.footer-links {
  display: flex;
  gap: 20px;
  list-style: none;
}
.footer-links a {
  color: rgba(255,255,255,.6);
  font-size: .875rem;
  transition: color .15s;
}
.footer-links a:hover { color: #fff; text-decoration: none; }
.footer-copy { font-size: .8125rem; }

/* --- Utility --- */
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.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; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }

/* =========================================
   Link Preview Tooltip (Wikipedia-style)
   ========================================= */

.link-preview-tooltip {
  position: fixed;
  z-index: 9999;
  width: 300px;
  max-width: calc(100vw - 32px);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 4px 24px rgba(15, 25, 35, 0.12);
  padding: 14px 16px;
  pointer-events: none;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 150ms ease, transform 150ms ease;
  font-size: 0.875rem;
  line-height: 1.5;
}

.link-preview-tooltip.lp-visible {
  pointer-events: auto;
  opacity: 1;
  transform: translateY(0);
}

.lp-title {
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
  font-size: 0.9rem;
}

.lp-meta {
  font-size: 0.75rem;
  color: var(--text-muted, #6B7280);
  margin-bottom: 2px;
}

.lp-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 8px 0;
}

.lp-text {
  color: var(--text-secondary, #4B5563);
  font-size: 0.8125rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* =========================================
   NEW COMPONENTS
   ========================================= */

/* --- Profile Card Component --- */
.profile-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.profile-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  background: var(--bg);
  box-shadow: var(--shadow);
}

.profile-card-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.profile-card-title {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--text);
}

.profile-card-pain {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.5;
}

/* --- Sidebar Toggle Button --- */
.sidebar-toggle {
  display: none;
  width: 100%;
  padding: 12px;
  min-height: 44px;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  margin-bottom: 16px;
  color: var(--text);
  transition: background 0.15s, color 0.15s;
}

.sidebar-toggle:hover {
  background: var(--border);
  color: var(--text);
}

.docs-sidebar.collapsed .sidebar-nav {
  display: none;
}

/* --- Breadcrumbs --- */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  align-items: center;
}

.breadcrumbs a {
  color: var(--text-muted);
  transition: color 0.15s;
}

.breadcrumbs a:hover {
  color: var(--text);
  text-decoration: none;
}

.breadcrumbs span.separator {
  color: var(--text-muted);
}

/* --- Breadcrumbs bar --- */
.breadcrumbs-bar {
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

/* --- Step meta (время выполнения, подписи внизу шага) --- */
.step-meta { font-size: .9375rem; color: var(--text-muted); margin-top: 32px; }
.step-time { font-size: 1.0625rem; font-weight: 600; margin-bottom: 8px; }
.step-label { font-weight: 600; }
.page-intro { font-size: 1.0625rem; line-height: 1.6; color: var(--text-muted); margin-bottom: 32px; }

/* --- Карточки-сетка (например, принципы HAIF) --- */
.cards-grid { display: grid; gap: 20px; margin-bottom: 32px; }

/* --- Список с увеличенными отступами (многострочные пункты) --- */
.list-spaced li { margin-bottom: 20px; }
.list-spaced li:last-child { margin-bottom: 0; }

/* --- Step Navigation Footer --- */
.step-nav {
  display: flex;
  justify-content: space-between;
  padding: 32px 0;
  margin-top: 48px;
  gap: 16px;
}

.step-nav a {
  flex: 1;
}

.step-nav a:last-child {
  text-align: right;
}

.step-nav a.btn-secondary {
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--border);
}

.step-nav a.btn-secondary:hover {
  background: var(--bg-subtle);
}

/* --- Checkbox Styles for Express Page --- */
.checklist-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 8px 0;
}

.checklist-item input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--accent);
  margin-top: 2px;
  cursor: pointer;
  flex-shrink: 0;
}

.checklist-item label {
  flex: 1;
  cursor: pointer;
  color: var(--text);
  font-size: 0.9375rem;
}

/* --- Dropdown Menu Styles for Nav --- */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 8px;
  display: none;
  min-width: 200px;
  z-index: 1000;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
  display: block;
}

.nav-dropdown-menu a {
  display: block;
  padding: 8px 16px;
  color: var(--text-muted);
  border-radius: var(--radius);
  transition: color 0.15s, background 0.15s;
}

.nav-dropdown-menu a:hover {
  color: var(--text);
  background: var(--bg-subtle);
  text-decoration: none;
}

/* =========================================
   RESPONSIVE STYLES
   ========================================= */

@media (max-width: 1024px) {
  .docs-layout {
    grid-template-columns: 200px 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .docs-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .sidebar-toggle {
    display: block;
    min-height: 44px;
  }

  .docs-sidebar {
    position: static;
    max-height: none;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 12px;
    background: var(--bg-subtle);
  }

  .docs-sidebar.collapsed {
    padding: 0;
    border: none;
    background: transparent;
  }

  .docs-sidebar.collapsed .sidebar-nav {
    display: none;
  }

  .docs-sidebar:not(.collapsed) .sidebar-nav {
    display: block;
  }

  .sidebar-nav a { min-height: 44px; align-items: center; }

  .profile-cards-grid {
    grid-template-columns: 1fr;
  }

  .metrics-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  table { min-width: 0; font-size: 0.875rem; }
  th { padding: 8px 12px; }
  td { padding: 10px 12px; }
  section { padding: 56px 0; }
  .page-header { padding: 40px 0 24px; }
  .hero { padding: 72px 0 56px; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    align-items: stretch; /* левое выравнивание пунктов */
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    background: #fff;
    padding: 8px 0 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.10);
    z-index: 99;
    gap: 0;
  }
  .nav-burger { display: flex; }
  .nav-links.open a {
    padding: 0 20px;
    min-height: 44px;   /* touch target */
    display: flex;
    align-items: center;
  }
  .nav-dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    border-radius: 0;
    padding: 4px 0 4px 16px;
    background: transparent;
    min-width: 0;
  }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; min-height: 44px; justify-content: center; white-space: normal; text-align: center; }
  .cta-stack .btn { white-space: normal; text-align: center; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .hero-stat-value { font-size: 1.375rem; }
  .metrics-row { grid-template-columns: 1fr; }
  .zones-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .problems-grid { grid-template-columns: 1fr; }
  .course-actions { flex-direction: column; gap: 16px; }
  .step-nav { flex-direction: column; }
  .profile-cards-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 24px; }
  .footer-links { flex-direction: column; gap: 12px; }
}

/* =========================================
   PRINT STYLES
   ========================================= */

@media print {
  .nav,
  .footer,
  .docs-sidebar,
  .nav-burger,
  .sidebar-toggle {
    display: none !important;
  }

  .docs-content {
    width: 100%;
  }

  .docs-layout {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .card,
  .delegation-card,
  .step-header {
    page-break-inside: avoid;
    box-shadow: none !important;
  }

  a[href]::after {
    content: none;
  }

  .step-nav {
    display: none !important;
  }

  section {
    page-break-inside: avoid;
  }

  img {
    max-width: 100%;
    page-break-inside: avoid;
  }
}

/* =========================================
   MATURITY CARDS (step-1: уровни зрелости)
   ========================================= */

.maturity-grid { display: grid; gap: 10px; margin: 16px 0; }

.maturity-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-subtle);
}

.maturity-num {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .8125rem;
  margin-top: 1px;
}

.maturity-body strong {
  display: block;
  font-size: .9375rem;
  margin-bottom: 4px;
}

.maturity-body p {
  margin: 0;
  font-size: .875rem;
  color: var(--text);
  line-height: 1.55;
}

.maturity-body em {
  display: block;
  margin-top: 5px;
  font-size: .8125rem;
  color: var(--text-muted);
  font-style: normal;
}

/* =========================================
   SIDEBAR RELATED (перелинковка в сайдбаре)
   ========================================= */

.sidebar-related {
  border-top: 1px solid var(--border);
  margin-top: 20px;
  padding-top: 16px;
}

.sidebar-related-title {
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-muted);
  padding: 0 12px;
  margin-bottom: 8px;
}

.sidebar-related ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-related li { margin-bottom: 2px; }

.sidebar-related a {
  font-size: .875rem;
  color: var(--text-muted);
  text-decoration: none;
  display: block;
  padding: 5px 12px;
  border-radius: var(--radius);
  transition: color .15s, background .15s;
}

.sidebar-related a:hover {
  color: var(--accent);
  background: var(--accent-light);
  text-decoration: none;
}

/* =========================================
   STEP PROGRESS BADGE (этап N из 6)
   ========================================= */

.step-progress {
  font-size: .75rem;
  color: var(--text-muted);
  background: var(--bg-muted);
  padding: 3px 10px;
  border-radius: 20px;
  font-weight: 500;
  white-space: nowrap;
  align-self: center;
  margin-left: auto;
  flex-shrink: 0;
}

/* Nav dropdown group label */
.nav-dropdown-label {
  font-size: .6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-muted);
  padding: 8px 14px 4px;
  pointer-events: none;
  user-select: none;
}

/* =========================================
   BLOCK ITEMS (блоки процесса в кейсах)
   ========================================= */

.blocks-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 16px 0;
}

.block-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: var(--radius);
  border-left: 3px solid transparent;
}

.block-item.zone-green  { border-left-color: var(--zone-green);  background: transparent; color: var(--text); }
.block-item.zone-yellow { border-left-color: var(--zone-yellow); background: transparent; color: var(--text); }
.block-item.zone-orange { border-left-color: var(--zone-orange); background: transparent; color: var(--text); }
.block-item.zone-red    { border-left-color: var(--zone-red);    background: transparent; color: var(--text); }

/* --- Compact process list (case pages) --- */
.process-list {
  list-style: none;
  padding: 0;
  margin: 16px 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.process-list-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: var(--radius);
  font-size: .9375rem;
}
.process-list-item.process-highlight {
  background: var(--zone-orange-bg);
  border: 1px solid #FED7AA;
}
.process-num {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .6875rem;
  font-weight: 700;
  color: var(--text-muted);
  line-height: 1;
}
.process-list-name { flex: 1; }

/* --- Zone legend --- */
.zone-legend {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 20px;
  padding: 16px;
  background: var(--bg-subtle);
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
}
.zone-legend-item {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: .875rem;
}
.zone-legend-item .zone { flex-shrink: 0; white-space: nowrap; }
.zone-legend-desc { color: var(--text-muted); line-height: 1.5; }

.block-num {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(255,255,255,.7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .6875rem;
  font-weight: 700;
  line-height: 1;
}

.block-text {
  flex: 1;
  font-size: .9375rem;
  line-height: 1.45;
}

.zone-badge {
  flex-shrink: 0;
  font-size: 1rem;
  line-height: 1;
}

/* =========================================
   INDEX PAGE COMPONENTS
   ========================================= */

/* Container helpers */
.container-narrow { max-width: 640px; }
.container-center { text-align: center; }

/* CTA stack */
.cta-stack {
  display: flex;
  margin-bottom: 32px;
  flex-direction: column;
  gap: 12px;
  margin-top: 32px;
}
.cta-stack .btn { justify-content: center; min-height: 44px; }

/* Price block */
.price-old {
  text-decoration: line-through;
  color: var(--text-muted);
}
.price-new {
  font-size: 1.5rem;
  font-weight: 700;
  margin-left: 8px;
}
.price-note {
  color: var(--text-muted);
  margin-top: 8px;
}

/* Centered content block (thank-you pages, CTAs) */
.content-center {
  text-align: center;
  padding: 48px 0;
}
.content-center-full {
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

/* Two paths grid */
.paths-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.path-card {
  display: block;
  padding: 32px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: var(--text);
  transition: box-shadow .2s, transform .2s;
}
.path-card:hover {
  box-shadow: var(--shadow-md);
  text-decoration: none;
  color: var(--text);
}
.path-card-icon { font-size: 2.5rem; margin-bottom: 16px; }
.path-card h3 { margin-bottom: 12px; }
.path-card p { color: var(--text-muted); font-size: .9375rem; margin: 0; }

/* Profile cards extras */
.profile-card-meta { color: var(--text-muted); font-size: .875rem; margin-bottom: 12px; }
.profile-card-pain {
  font-size: .9375rem;
  color: var(--text);
  font-style: normal;
  line-height: 1.6;
  margin-top: 4px;
  margin-bottom: 0;
}
.profile-card-result {
  margin-top: 16px;
  padding: 12px 14px;
  background: var(--accent-light);
  border-radius: var(--radius);
  font-size: .875rem;
  color: var(--text); /* не менять на --text-muted: #6B7280 на #EFF6FF = 4.44:1, не проходит WCAG AA */
  margin-bottom: 0;
}

/* Zone card extras */
.zone-icon { font-size: 1.5rem; }
.zone-card-epoch { font-weight: 600; margin-bottom: 4px; }
.zone-card-mode { margin-top: 12px; margin-bottom: 0; }

/* Step cards — clickable variant (паттерн как у path-card) */
.step-card-link h3 { margin-bottom: 10px; color: var(--text); }
.step-card-link p  { color: var(--text-muted); }
.step-card-link {
  /* display: flex уже задан .step-card — не переопределяем */
  text-decoration: none;
  color: var(--text);
  transition: box-shadow .2s;
}
.step-card-link:hover { box-shadow: var(--shadow-md); text-decoration: none; }
.step-card-link:hover h3 { color: var(--accent); }
.step-card-head {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 12px;
}
.step-card-head h3 { margin: 0; font-size: 1rem; }
.step-card-time {
  font-size: .75rem;
  background: var(--bg-subtle);
  padding: 2px 8px;
  border-radius: 4px;
  color: var(--text-muted);
  white-space: nowrap;
}
.step-card-result {
  padding: 12px;
  background: var(--accent-light);
  border-radius: var(--radius);
  margin-top: auto;
  font-size: .875rem;
  color: var(--text-muted);
}
.step-card-result strong { color: var(--accent); }
.step-card-result-purple { background: var(--accent-light); }
.step-card-result-purple strong { color: var(--accent); }

/* Phase badges */
.phase-badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 100px;
  font-size: .75rem;
  font-weight: 700;
  color: #fff;
  margin-right: 6px;
}
.phase-badge-blue   { background: var(--accent); }
.phase-badge-purple { background: var(--accent); }
.page-header .phase-badge { margin-bottom: 20px; }

/* Callout link */
.callout-link { margin-top: 16px; margin-bottom: 0; }

/* Path card — link visual treatment */
.path-card h3 { color: var(--text); transition: color .15s; }
.path-card:hover h3 { color: var(--accent); }
.path-card-cta {
  display: inline-block;
  margin-top: 16px;
  font-size: .875rem;
  font-weight: 600;
  color: var(--accent);
}

/* CTA section */
.cta-lead {
  font-size: 1.0625rem;
  color: var(--text-muted);
  max-width: 480px;
  margin: 16px auto 0;
  line-height: 1.7;
}
