/* LearnWise shortcut buttons guide */
@import url("https://api.fontshare.com/v2/css?f[]=satoshi@400,500,700&display=swap");

:root {
  /* Brand palette (aligned with learnwise.ai tokens) */
  --ink: #041225;
  --ink-soft: #444444;
  --muted: #555555;
  --line: #eeeeee;
  --neutral-grey: #f9f9f9;
  --neutral-light: #aaaaaa;
  --neutral-lighter: #cccccc;
  --bg: #fff9f3;
  --bg-alt: #fff0e2;
  --card: #ffffff;
  --accent: #2d62ff;
  --accent-soft: #d9e5ff;
  --accent-hover: #121b51;
  --highlight: #dd23bb;
  --highlight-soft: #fce7f7;
  --highlight-deep: #3c043b;
  --tutor: #2d62ff;
  --enroll: #005b5f;
  --services: #dd23bb;
  --general: #6d28d9;
  --pink: #dd23bb;
  --good: #114e0b;
  --good-soft: #cef5ca;
  --bad: #3b0b0b;
  --bad-soft: #f8e4e4;
  --orange-accent: #ffbf60;
  --orange-mid: #fdd686;
  --prompt-bg: #041225;
  --shadow-card: 0 1px 2px rgba(4, 18, 37, 0.06), 0 6px 16px rgba(4, 18, 37, 0.05);
  --shadow-soft: 0 8px 24px rgba(4, 18, 37, 0.07);
  --font: "Satoshi", Arial, sans-serif;
  --display: "larken", Georgia, serif;
  /* Type scale (doc / microsite) */
  --text-xs: 0.6875rem;
  --text-sm: 0.8125rem;
  --text-base: 1rem;
  --text-md: 1.125rem;
  --text-lg: 1.25rem;
  --text-xl: 1.5rem;
  --text-display: clamp(2.25rem, 5vw, 3.25rem);
  --page-max: 80rem;
  --page-gutter: clamp(1.25rem, 4vw, 2.5rem);
  --topbar-h: 4.875rem;
  --stack-tabs-h: 3.75rem;
  --section-space: 2.5rem;
  --section-head-gap: 1rem;
  --section-block-gap: 1.25rem;
  --hero-fold-peek: clamp(5.5rem, 17vh, 9rem);
  --hero-stage-min: calc(
    100svh - var(--sticky-top, var(--topbar-h)) - 1.75rem - var(--hero-fold-peek)
  );
}

.page-container {
  width: 100%;
  max-width: var(--page-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--page-gutter);
  padding-right: var(--page-gutter);
  box-sizing: border-box;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--text-base);
  font-weight: 500;
  line-height: 1.5;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 200;
  padding: 0.75rem 1rem;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  border-radius: 0.25rem;
}
.skip-link:focus { top: 0.75rem; }

/* Site nav, mirrors learnwise.ai navbar layout (brand left, links + CTA right) */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
}
.site-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--topbar-h);
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
.site-nav__start {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
  flex: 1 1 auto;
}
.site-nav__brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}
.site-nav__brand img {
  display: block;
  height: 1.75rem;
  width: auto;
}
.site-nav__meta {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  min-width: 0;
  padding-left: 1rem;
  border-left: 1px solid var(--line);
}
.site-nav__eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  line-height: 1.2;
}
.site-nav__page {
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.site-nav__end {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}
.site-nav__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  min-height: 2.375rem;
  padding: 0 0.875rem;
  font-family: var(--font);
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  border-radius: 0.5rem;
  transition: opacity 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.site-nav__action--ghost {
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
}
.site-nav__action--ghost:hover {
  border-color: var(--ink);
  opacity: 0.85;
}
.site-nav__action--primary {
  color: #fff;
  background: var(--ink);
  border: 1px solid var(--ink);
}
.site-nav__action--primary:hover {
  opacity: 0.9;
}
.site-nav__action-label--compact {
  display: none;
}

/* In-page section nav — revealed after scroll */
.doc-nav {
  display: grid;
  grid-template-rows: 0fr;
  background: var(--bg);
  border-top: 1px solid transparent;
  transition:
    grid-template-rows 0.35s ease,
    border-color 0.3s ease;
  pointer-events: none;
}
.site-nav.is-doc-nav-revealed .doc-nav {
  grid-template-rows: 1fr;
  border-top-color: var(--line);
  pointer-events: auto;
}
.doc-nav__inner {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.5rem;
  min-height: 0;
  overflow: hidden;
  padding-top: 0.625rem;
  padding-bottom: 0.75rem;
  opacity: 0;
  transform: translateY(-0.375rem);
  transition:
    opacity 0.3s ease,
    transform 0.35s ease;
}
.site-nav.is-doc-nav-revealed .doc-nav__inner {
  overflow-x: auto;
  opacity: 1;
  transform: translateY(0);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scroll-padding-inline: var(--page-gutter);
}
@media (prefers-reduced-motion: reduce) {
  .doc-nav,
  .doc-nav__inner {
    transition: none;
  }
  .site-nav:not(.is-doc-nav-revealed) .doc-nav__inner {
    opacity: 0;
    transform: none;
  }
  .site-nav.is-doc-nav-revealed .doc-nav__inner {
    opacity: 1;
  }
}
.doc-nav__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  min-height: 2.375rem;
  padding: 0 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1;
  color: var(--ink-soft);
  text-decoration: none;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 999px;
  white-space: nowrap;
  transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.doc-nav__link:hover {
  color: var(--ink);
  border-color: rgba(4, 18, 37, 0.2);
}
.doc-nav__link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.doc-nav__link.is-active {
  color: var(--ink);
  background: var(--card);
  border-color: var(--accent);
  box-shadow: 0 1px 2px rgba(4, 18, 37, 0.06);
}
.insight-prose {
  margin: 0;
}
.insight-prose p {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--ink-soft);
}

/* Report cover */
.report-cover {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 1.2fr);
  grid-template-rows: minmax(var(--hero-stage-min), auto) auto;
  gap: clamp(1.75rem, 4vw, 3.25rem);
  align-items: center;
  min-height: calc(var(--hero-stage-min) + var(--hero-fold-peek));
  margin: 0 0 3rem;
  padding-bottom: 0;
  border-bottom: none;
  position: relative;
}
.report-cover__visual {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  margin: 0;
  padding: 0;
  background: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
}
.report-cover__visual img {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(520px, 54vw);
  object-fit: contain;
  object-position: center center;
  border-radius: 0.75rem;
}
.report-cover__inner {
  grid-column: 1;
  grid-row: 1;
  align-self: center;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: clamp(0.75rem, 2.5vh, 2rem) 0;
}
.report-cover h1 {
  font-family: var(--display);
  font-size: clamp(2rem, 4.25vw, 2.875rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 0.875rem;
  color: var(--ink);
}
.report-subtitle {
  margin: 0 0 1rem;
  max-width: 36ch;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.35;
}
.report-lede {
  margin: 0;
  max-width: 48ch;
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink-soft);
  line-height: 1.55;
}
.kpi-strip--hero {
  display: inline-flex;
  flex-wrap: wrap;
  width: fit-content;
  max-width: 100%;
  margin: clamp(1.5rem, 3.5vh, 2.5rem) 0 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 0.625rem;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.kpi-strip--hero .kpi-card {
  flex: 0 1 auto;
  padding: 0.625rem 1rem;
  background: transparent;
  border: none;
  border-radius: 0;
  border-right: 1px solid var(--line);
  box-shadow: none;
}
.kpi-strip--hero .kpi-card:last-child {
  border-right: none;
}
.kpi-strip--hero .kpi-card__val {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.1;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.kpi-strip--hero .kpi-card:first-child .kpi-card__val {
  color: var(--accent);
}
.kpi-strip--hero .kpi-card__lbl {
  margin-top: 0.15rem;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.2;
  max-width: 11rem;
}
.path-picker--below-fold {
  grid-column: 1 / -1;
  grid-row: 2;
  align-self: end;
  margin: 0;
  padding: clamp(2rem, 4vw, 2.75rem) clamp(1.25rem, 3vw, 2rem);
  background: var(--ink);
  border: none;
  border-radius: 1rem;
  box-shadow: var(--shadow-soft);
  text-align: center;
  position: relative;
  z-index: 1;
}
.path-picker--below-fold .path-picker__label {
  margin: 0 0 0.5rem;
  font-family: var(--display);
  font-size: clamp(1.375rem, 2.5vw, 1.75rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  text-transform: none;
  color: #fff;
}
.path-picker--below-fold .path-picker__hint {
  margin: 0 auto 1.5rem;
  max-width: 36rem;
  font-size: var(--text-base);
  font-weight: 500;
  line-height: 1.45;
  color: rgba(255, 249, 243, 0.88);
}
.path-picker--below-fold .path-picker__options {
  width: 100%;
  max-width: none;
  margin: 0 auto;
  gap: 1rem;
}
.path-picker--below-fold .path-card {
  background: var(--card);
  border-color: rgba(4, 18, 37, 0.08);
  box-shadow: 0 2px 8px rgba(4, 18, 37, 0.12);
}
.path-picker--below-fold .path-card:hover {
  border-color: var(--accent);
  background: var(--card);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}
.path-picker--below-fold .path-card:focus-visible {
  outline-color: var(--orange-accent);
  border-color: var(--accent);
}
.path-picker--below-fold .path-card__icon {
  background: var(--accent-soft);
  color: var(--accent);
}
.path-picker--below-fold .path-card:hover .path-card__icon {
  background: var(--accent);
  color: #fff;
}
.path-picker--below-fold .path-card__title {
  color: var(--ink);
}
.path-picker--below-fold .path-card__desc {
  color: var(--ink-soft);
}
.path-picker--below-fold .path-card__arrow {
  color: var(--neutral-light);
}
.path-picker--below-fold .path-card:hover .path-card__title {
  color: var(--accent);
}
.path-picker--below-fold .path-card:hover .path-card__arrow {
  color: var(--accent);
}
.path-picker__label {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.path-picker__options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.625rem;
}
.path-card {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  min-height: 5.5rem;
  padding: 1.125rem 1rem 1.125rem 1.125rem;
  text-decoration: none;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 0.875rem;
  box-shadow: var(--shadow-card);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.path-card:hover {
  border-color: var(--accent);
  box-shadow: 0 6px 20px rgba(45, 98, 255, 0.12);
  transform: translateY(-2px);
}
.path-card:focus-visible {
  border-color: var(--accent);
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.path-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.625rem;
  background: var(--accent-soft);
  color: var(--accent);
}
.path-card:hover .path-card__icon {
  background: var(--accent);
  color: #fff;
}
.path-card__icon svg {
  display: block;
}
.path-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
  text-align: left;
}
.path-card__title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--ink);
}
.path-card__desc {
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--muted);
}
.path-card__arrow {
  flex-shrink: 0;
  margin-left: auto;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1;
  color: var(--neutral-light);
  transition: color 0.15s ease, transform 0.15s ease;
}
.path-card:hover .path-card__title {
  color: var(--accent);
}
.path-card:hover .path-card__arrow {
  color: var(--accent);
  transform: translateX(3px);
}
@media (prefers-reduced-motion: reduce) {
  .path-card:hover {
    transform: none;
  }
  .path-card:hover .path-card__arrow {
    transform: none;
  }
}
@media (max-width: 900px) {
  .report-cover {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    align-items: start;
    align-content: start;
  }
  .report-cover__inner,
  .report-cover__visual {
    align-self: start;
  }
  .path-picker--below-fold {
    align-self: end;
    margin-top: auto;
  }
  .kpi-strip--hero {
    width: 100%;
  }
  .kpi-strip--hero .kpi-card {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }
  .kpi-strip--hero .kpi-card:last-child {
    border-bottom: none;
  }
}
@media (max-width: 720px) {
  .kpi-strip--hero {
    display: flex;
    flex-direction: column;
    width: 100%;
  }
  .kpi-strip--hero .kpi-card__lbl {
    max-width: none;
  }
  .path-picker__options {
    grid-template-columns: 1fr;
  }
  .path-picker--below-fold {
    text-align: left;
  }
  .path-picker--below-fold .path-picker__hint {
    margin-left: 0;
    margin-right: 0;
  }
}
/* Main column, horizontal rhythm comes from .page-container only */
.doc-layout {
  width: 100%;
}

.doc-content {
  min-width: 0;
  width: 100%;
  padding: 1.75rem 0 3.5rem;
  font-size: var(--text-base);
  font-weight: 500;
}
.eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin: 0 0 0.5rem;
}

h1 {
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
}

h2 {
  font-family: var(--font);
  font-size: var(--text-xl);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 var(--section-head-gap);
  color: var(--ink);
  scroll-margin-top: calc(var(--sticky-top, var(--topbar-h)) + 1.25rem);
}

/* Consistent vertical rhythm between major sections */
.doc-content > section.section-anchor {
  margin-top: var(--section-space);
}
.doc-content > section.section-anchor:first-of-type,
.report-cover + section.section-anchor {
  margin-top: 2.75rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
.doc-content > section.section-anchor > .prose {
  margin-top: 0;
  margin-bottom: var(--section-block-gap);
}
.doc-content > section.section-anchor > .prose:last-child {
  margin-bottom: 0;
}

h3 {
  font-family: var(--font);
  font-size: var(--text-lg);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin: 1.75rem 0 0.5rem;
  color: var(--ink);
}

h4 {
  font-family: var(--font);
  font-size: var(--text-base);
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
}

p, .prose {
  color: var(--ink);
  font-size: var(--text-base);
  font-weight: 500;
  line-height: 1.5;
  margin: 0.5rem 0 1rem;
}

.prose strong,
.report-lede strong {
  font-weight: 700;
  color: var(--ink);
}

.ref-banner {
  background: var(--bg-alt);
  border-radius: 0.5rem;
  padding: 0.875rem 1rem;
  margin: 0.75rem 0 1.25rem;
}
.ref-banner p {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--ink-soft);
}
.ref-banner a {
  color: var(--accent);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 0.12em;
}
.prose a,
.report-lede a,
.guide-figure figcaption a {
  color: var(--accent);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
.prose a:hover,
.report-lede a:hover,
.guide-figure figcaption a:hover {
  color: var(--accent-hover);
}

code {
  background: var(--neutral-grey);
  padding: 0.1rem 0.35rem;
  border-radius: 3px;
  font-size: 0.875em;
  font-weight: 500;
}

.section-anchor { scroll-margin-top: calc(var(--sticky-top, var(--topbar-h)) + 1.25rem); }

/* Insights section — shared gap and card padding */
.findings-section {
  --insights-gap: 1.25rem;
  --insights-pad: 1.5rem;
}
.findings-intro {
  margin: 0 0 var(--insights-gap);
  max-width: 52ch;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--ink-soft);
}
.findings-source {
  margin: 0 0 var(--insights-gap);
  max-width: 62ch;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--ink-soft);
}
.findings-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--insights-gap);
  margin: 0;
}
.findings-section .findings-section__charts {
  gap: var(--insights-gap);
  margin: var(--insights-gap) 0 0;
}
.findings-section .finding-card,
.findings-section .chart-panel,
.findings-section .insight-prose {
  padding: var(--insights-pad);
  border-radius: 1rem;
}
.findings-section .insight-prose {
  margin-top: var(--insights-gap);
  background: var(--bg-alt);
  box-shadow: none;
}
.finding-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  border-top: 4px solid var(--highlight);
}
.finding-card__index {
  position: absolute;
  top: var(--insights-pad, 1.5rem);
  right: var(--insights-pad, 1.5rem);
  margin: 0;
  width: 1.75rem;
  height: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--highlight-soft);
  color: var(--highlight);
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1;
}
.finding-card__stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 0.25rem;
}
.finding-card__value {
  font-size: 2.75rem;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--highlight);
}
.finding-card__label {
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink-soft);
  max-width: 16ch;
}
.finding-card__title {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
  padding-right: 2rem;
}
.finding-card__body {
  margin: 0;
  flex: 1;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--ink-soft);
}
.finding-card__takeaway {
  margin: 0.5rem 0 0;
  padding: 0.75rem 0.875rem;
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.45;
  color: var(--ink);
  background: var(--bg-alt);
  border-radius: 0.5rem;
  border-left: 3px solid var(--orange-accent);
}
.finding-card__takeaway-label {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--highlight-deep);
}
.finding-card__source {
  margin: 0.25rem 0 0;
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.45;
  color: var(--ink-soft);
}

/* Cards, matches learnwise.ai use-case-link-card / feature-card */
.lw-card {
  background: var(--card);
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
}


.use-case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin: 0;
}
.use-case-card {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.use-case-card__pill {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.use-case-card__title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
}
.use-case-card__desc {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--ink-soft);
}
.use-case-card__list {
  margin: 0.25rem 0 0;
  padding-left: 1.125rem;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.45;
  color: var(--ink-soft);
}
.use-case-card__list li { margin-bottom: 0.25rem; }

/* KPI strip */
.kpi-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.kpi-card {
  background: var(--card);
  border: none;
  border-radius: 1rem;
  padding: 1.25rem;
  box-shadow: var(--shadow-card);
}
.kpi-card--hero {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.kpi-card__val {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}
.kpi-card--hero .kpi-card__val { color: var(--orange-accent); }
.kpi-card__lbl {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin-top: 0.375rem;
  line-height: 1.3;
}
.kpi-card--hero .kpi-card__lbl { color: rgba(255,255,255,0.75); }

.kpi-card--skeleton .kpi-card__val,
.kpi-card--skeleton .kpi-card__lbl {
  border-radius: 0.25rem;
  background: linear-gradient(90deg, #eee 25%, #f5f5f5 50%, #eee 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.2s ease-in-out infinite;
  color: transparent;
  min-height: 1.5rem;
}
.kpi-card--skeleton .kpi-card__val { width: 4rem; margin-bottom: 0.5rem; }
.kpi-card--skeleton .kpi-card__lbl { width: 80%; min-height: 2rem; }
.kpi-card--hero.kpi-card--skeleton { background: #1a2d4a; }
.kpi-card--hero.kpi-card--skeleton .kpi-card__val,
.kpi-card--hero.kpi-card--skeleton .kpi-card__lbl {
  background: linear-gradient(90deg, #2a3f5f 25%, #354a6b 50%, #2a3f5f 75%);
  background-size: 200% 100%;
}
@keyframes skeleton-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.findings-grid.is-loading,
.use-case-grid.is-loading {
  min-height: 14rem;
  border-radius: 1rem;
  background: linear-gradient(90deg, var(--bg-alt) 25%, var(--card) 50%, var(--bg-alt) 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.2s ease-in-out infinite;
}
.chart-bars.is-loading,
.topic-chart-host.is-loading,
.position-chart.is-loading {
  min-height: 14rem;
  border-radius: 0.5rem;
  background: linear-gradient(90deg, var(--neutral-grey) 25%, var(--card) 50%, var(--neutral-grey) 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.2s ease-in-out infinite;
}
.rec-list.is-loading {
  min-height: 8rem;
  border-radius: 0.75rem;
  background: linear-gradient(90deg, var(--bg-alt) 25%, var(--card) 50%, var(--bg-alt) 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.2s ease-in-out infinite;
}

/* Concept block */
.concept-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(240px, 0.85fr);
  gap: clamp(1.25rem, 3vw, 2rem);
  align-items: start;
  margin: 1.5rem 0;
}

.concept-visual {
  background: var(--card);
  border: none;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
}

.concept-visual__hint {
  font-size: 0.8125rem;
  color: var(--muted);
  margin: 0 0 0.875rem;
}

.chip-demo {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.chip-demo span {
  display: block;
  padding: 0.625rem 0.875rem;
  border-radius: 0.625rem;
  font-size: 0.8125rem;
  font-weight: 500;
  text-align: center;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
}
.chip-demo .chip--primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.chip-demo .chip--label {
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  text-align: left;
  padding: 0.5rem 0 0;
  border: none;
  background: none;
}
.concept-visual__note {
  margin: 0.75rem 0 0;
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.4;
}

.guide-banner {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  padding: 0.875rem 1.125rem;
  margin: 1.5rem 0 0;
}
#shortcuts .guide-banner {
  margin-top: var(--section-block-gap);
  margin-bottom: 0;
}
.guide-banner p {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--ink-soft);
}
.guide-banner a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}
.guide-banner a:hover { text-decoration: underline; }

.guide-steps {
  margin: 1.25rem 0;
  padding-left: 1.25rem;
  color: var(--ink-soft);
  font-size: 0.9375rem;
  line-height: 1.65;
}
.guide-steps li { margin-bottom: 0.625rem; }
.guide-steps a {
  color: var(--accent);
  font-weight: 500;
  text-decoration: none;
}
.guide-steps a:hover { text-decoration: underline; }

.guide-figure {
  margin: 1.5rem 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(4, 18, 37, 0.06);
}
.guide-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-bottom: 1px solid var(--line);
}
.guide-figure figcaption {
  padding: 0.75rem 1rem;
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.45;
}

.table-wrap {
  overflow-x: auto;
  margin: 1rem 0 1.5rem;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: var(--card);
}
.doc-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}
.doc-table th {
  text-align: left;
  padding: 0.75rem 1rem;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.doc-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  vertical-align: top;
  line-height: 1.45;
}
.doc-table tr:last-child td { border-bottom: none; }
.doc-table td strong { color: var(--ink); }
.doc-table--compact td,
.doc-table--compact th { padding: 0.625rem 0.875rem; font-size: 0.8125rem; }
.doc-table th:last-child,
.doc-table td:last-child { min-width: 12rem; }

.callout {
  background: var(--bg-alt);
  border: 2px solid var(--orange-accent);
  border-radius: 0.9375rem;
  padding: 1.25rem;
  margin: 1.25rem 0;
}
.callout p {
  margin: 0;
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.5;
}
.callout strong { font-weight: 700; }
.callout--warn {
  background: var(--bad-soft);
  border-color: var(--bad);
}
.callout--accent {
  background: linear-gradient(135deg, var(--accent-soft) 0%, var(--bg-alt) 100%);
}
.callout h4 {
  margin: 0 0 0.375rem;
  font-size: 0.9375rem;
  color: var(--ink);
}

.gap-chart { display: flex; flex-direction: column; gap: 0.75rem; }
.gap-row {
  display: grid;
  grid-template-columns: minmax(130px, 1.4fr) 1fr 1fr 3rem;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.75rem;
}
.gap-row__label { font-weight: 600; color: var(--ink-soft); line-height: 1.25; }
.gap-row__track {
  height: 8px;
  background: #f9f9f9;
  border-radius: 4px;
  overflow: hidden;
}
.gap-row__fill--clicks { background: var(--accent); height: 100%; border-radius: 4px; }
.gap-row__fill--config { background: var(--neutral-lighter); height: 100%; border-radius: 4px; }
.gap-row__fill--warn { background: var(--bad); }
.gap-row__pct { font-weight: 700; font-variant-numeric: tabular-nums; text-align: right; color: var(--ink); }
.gap-legend {
  display: flex;
  gap: 1.25rem;
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
}
.gap-legend span::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  margin-right: 0.375rem;
  vertical-align: middle;
}
.gap-legend .leg-clicks::before { background: var(--accent); }
.gap-legend .leg-config::before { background: var(--neutral-lighter); }

.archetype-grid {
  display: grid;
  gap: 1rem;
  margin: 1.25rem 0;
}
.archetype-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  padding: 1.25rem 1.5rem;
  border-top: 3px solid var(--accent);
}
.archetype-card[data-case="enrollment"] { border-top-color: var(--enroll); }
.archetype-card[data-case="services"] { border-top-color: var(--services); }
.archetype-card[data-case="general"] { border-top-color: var(--general); }
.archetype-card__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  align-items: baseline;
  margin-bottom: 0.5rem;
}
.archetype-card__stat {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--muted);
  margin: 0.5rem 0 0;
}
.archetype-card__stack {
  margin-top: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--bg);
  border-radius: 0.5rem;
  font-size: 0.8125rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

.rec-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr));
  gap: 1rem;
  margin: 0;
}
.rec-item {
  padding: 1.25rem 1.5rem;
}
.rec-item h4 {
  margin: 0 0 0.375rem;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
}
.rec-item p {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.5;
}
.rec-item .rec-why {
  margin-top: 0.5rem;
  font-size: 0.8125rem;
  color: var(--muted);
  font-style: italic;
}

.site-footer {
  width: 100%;
  margin-top: 0;
  padding: 2.5rem 0 2.75rem;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, transparent 0%, var(--bg-alt) 100%);
}
.site-footer__logo img { display: block; height: 1.5rem; width: auto; margin-bottom: 0.75rem; }
.site-footer__copy {
  margin: 0 0 0.75rem;
  font-size: 0.875rem;
  color: var(--ink);
}
.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
}
.site-footer__nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--accent);
  text-decoration: none;
}
.site-footer__nav a:hover { color: var(--accent-hover); text-decoration: underline; }
.site-footer__meta {
  margin: 0;
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.5;
  max-width: 36rem;
}

/* Audience */
/* Learnings */
.learning-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin: 1.25rem 0;
}

.learning-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  padding: 1.125rem 1.25rem;
}
.learning-card__pct {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}
.learning-card h4 {
  margin: 0.375rem 0 0.375rem;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
}
.learning-card p {
  margin: 0;
  font-size: 0.8125rem;
}

/* Charts */
.charts-grid {
  display: grid;
  gap: 1.25rem;
  margin: 0;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .charts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .chart-panel--topics {
    grid-column: 1 / -1;
  }
}
.chart-panel {
  background: var(--card);
  border: none;
  border-radius: 1rem;
  padding: 1.5rem;
  margin: 0;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}
.chart-panel:last-child {
  margin-bottom: 0;
}
.chart-panel h3 {
  margin: 0 0 0.375rem;
  font-size: var(--text-lg);
  font-weight: 700;
  line-height: 1.3;
}
.chart-panel .chart-note {
  font-size: 0.8125rem;
  color: var(--muted);
  margin: 0 0 1rem;
}

.chart-bars { display: flex; flex-direction: column; gap: 0.625rem; }

/* Topic ranking chart */
.topic-chart {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}
.topic-chart__row {
  display: grid;
  grid-template-columns: 1.75rem 1fr;
  gap: 0.75rem;
  align-items: start;
}
.topic-chart__rank {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  margin-top: 0.125rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--muted);
  background: var(--neutral-grey);
  border-radius: 0.375rem;
}
.topic-chart__row--lead .topic-chart__rank {
  background: var(--accent);
  color: #fff;
}
.topic-chart__row--strong .topic-chart__rank {
  background: var(--accent-soft);
  color: var(--accent-hover);
}
.topic-chart__body {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  min-width: 0;
}
.topic-chart__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.375rem 0.625rem;
}
.topic-chart__label {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
}
.topic-chart__row--tail .topic-chart__label {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--ink-soft);
}
.topic-chart__tag {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent-hover);
  background: var(--accent-soft);
  padding: 0.125rem 0.4375rem;
  border-radius: 0.25rem;
}
.topic-chart__row--lead .topic-chart__tag {
  background: var(--orange-mid);
  color: var(--ink);
}
.topic-chart__track {
  height: 0.625rem;
  background: var(--neutral-grey);
  border-radius: 999px;
  overflow: hidden;
}
.topic-chart__row--lead .topic-chart__track {
  height: 1rem;
}
.topic-chart__row--strong .topic-chart__track {
  height: 0.75rem;
}
.topic-chart__fill {
  height: 100%;
  border-radius: inherit;
  background: var(--accent);
  transition: width 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.topic-chart__row--strong .topic-chart__fill {
  background: color-mix(in srgb, var(--accent) 82%, #fff);
}
.topic-chart__row--mid .topic-chart__fill {
  background: color-mix(in srgb, var(--accent) 55%, var(--neutral-light));
}
.topic-chart__row--tail .topic-chart__fill {
  background: color-mix(in srgb, var(--accent) 32%, var(--neutral-grey));
}
.topic-chart__scale {
  margin: 0.25rem 0 0;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.4;
}

.chart-row {
  display: grid;
  grid-template-columns: minmax(7rem, 1.1fr) 1fr;
  gap: 0.625rem;
  align-items: center;
  font-size: 0.8125rem;
}
.chart-row__label { color: var(--ink-soft); font-weight: 500; }
.chart-row__track {
  height: 10px;
  background: var(--neutral-grey);
  border-radius: 5px;
  overflow: hidden;
}
.chart-row__fill {
  height: 100%;
  background: var(--accent);
  border-radius: inherit;
  transition: width 0.8s ease;
}

/* Donut, button type mix */
.donut-chart-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.25rem 1.5rem;
  flex: 1;
  min-height: 11rem;
}
.donut-chart {
  position: relative;
  width: 8.5rem;
  height: 8.5rem;
  flex-shrink: 0;
}
.donut-chart__ring {
  width: 100%;
  height: 100%;
  border-radius: 50%;
}
.donut-chart__hole {
  position: absolute;
  inset: 24%;
  background: var(--card);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.25rem;
}
.donut-chart__center {
  font-size: 0.625rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
  max-width: 4.5rem;
}
.donut-legend {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
  min-width: 10rem;
  max-width: 14rem;
}
.donut-legend__item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.75rem;
  line-height: 1.35;
  color: var(--ink-soft);
}
.donut-legend__swatch {
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 2px;
  flex-shrink: 0;
  margin-top: 0.2rem;
}
.donut-legend__label { font-weight: 500; }

.position-chart {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.625rem;
  flex: 1;
  min-height: 11rem;
  padding: 0.75rem 0.25rem 0;
  border-top: 2px solid var(--line);
  margin-top: 0.25rem;
}
.position-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  min-width: 0;
}
.position-col__bar {
  width: 100%;
  max-width: 3.25rem;
  background: color-mix(in srgb, var(--accent) 45%, var(--neutral-grey));
  border-radius: 8px 8px 2px 2px;
  min-height: 10px;
  transition: height 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}
.position-col--lead .position-col__bar {
  background: linear-gradient(180deg, var(--accent) 0%, color-mix(in srgb, var(--accent) 75%, var(--accent-hover)) 100%);
  box-shadow: 0 2px 8px color-mix(in srgb, var(--accent) 35%, transparent);
}
.position-col__label {
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--muted);
  text-align: center;
  line-height: 1.2;
}
.position-col--lead .position-col__label {
  color: var(--ink);
  font-size: 0.75rem;
}
.narrative-steps {
  margin: 1.5rem 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.narrative-steps li {
  counter-increment: step;
  position: relative;
  padding: 0 0 1.25rem 2.75rem;
  border-left: 2px solid var(--line);
  margin-left: 0.75rem;
}
.narrative-steps li:last-child { border-left-color: transparent; padding-bottom: 0; }
.narrative-steps li::before {
  content: counter(step);
  position: absolute;
  left: -0.875rem;
  top: 0;
  width: 1.75rem;
  height: 1.75rem;
  background: var(--ink);
  color: #fff;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.narrative-steps strong { color: var(--ink); }

/* Stacks */
.section-stacks,
.section-library {
  background: var(--bg-alt);
  margin-top: var(--section-space);
  margin-left: calc(-1 * var(--page-gutter));
  margin-right: calc(-1 * var(--page-gutter));
  padding: 2rem var(--page-gutter) 2.5rem;
  width: calc(100% + 2 * var(--page-gutter));
  max-width: 100vw;
  box-sizing: border-box;
}
.section-library {
  border-radius: 1rem;
  overflow: hidden;
}
.section-stacks > h2,
.section-library > h2 {
  margin-top: 0;
}
.section-stacks > .prose,
.section-library > .prose {
  margin-bottom: var(--section-block-gap);
}

.use-case-card__stat {
  margin: 0 0 0.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--accent);
}
.use-case-card__sub {
  margin: 0.75rem 0 0.375rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.library-toolbar.intent-tabs-sticky {
  position: sticky;
  top: var(--sticky-top, var(--topbar-h));
  z-index: 20;
  margin: 0 0 var(--section-block-gap);
  padding: 0.75rem 0 0.625rem;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.library-toolbar__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-width: 0;
}
.library-filters {
  flex: 1;
  min-width: 0;
}
.library-search {
  position: relative;
  flex: 0 0 auto;
  width: min(100%, 16rem);
}
.library-search__icon {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
  display: flex;
}
.library-search__input {
  width: 100%;
  min-height: 2.5rem;
  padding: 0.5rem 4.25rem 0.5rem 2.25rem;
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  box-shadow: 0 1px 2px rgba(4, 18, 37, 0.04);
}
.library-search__input::placeholder {
  color: var(--muted);
  font-weight: 400;
}
.library-search__input:hover {
  border-color: rgba(4, 18, 37, 0.2);
}
.library-search__input:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-color: var(--accent);
}
.library-search__clear {
  position: absolute;
  right: 0.375rem;
  top: 50%;
  transform: translateY(-50%);
  padding: 0.25rem 0.5rem;
  font-family: var(--font);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ink-soft);
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 0.375rem;
  cursor: pointer;
}
.library-search__clear:hover {
  color: var(--ink);
  background: var(--card);
}
.library-search-status {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--muted);
  min-height: 1.25rem;
}
.library-empty {
  margin: 0 0 1.5rem;
  padding: 2rem 1.5rem;
  text-align: center;
  background: var(--card);
  border: 1px dashed var(--line);
  border-radius: 0.625rem;
}
.library-empty__title {
  margin: 0 0 0.5rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--ink);
}
.library-empty__hint {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.5;
}
.library-empty__term {
  font: inherit;
  font-weight: 600;
  color: var(--accent-hover);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.library-empty__term:hover {
  color: var(--accent);
}

.intent-tabs-sticky {
  position: sticky;
  top: var(--topbar-h);
  z-index: 20;
  margin: 0 0 var(--section-block-gap);
  padding: 0.625rem 0 0.75rem;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
}
.intent-filter-tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.25rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.intent-filter-tab {
  flex-shrink: 0;
  padding: 0.625rem 1rem;
  min-height: 2.75rem;
  font-family: var(--font);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink-soft);
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  border-radius: 0.375rem 0.375rem 0 0;
  cursor: pointer;
}
.intent-filter-tab:hover {
  color: var(--ink);
  background: rgba(4, 18, 37, 0.04);
}
.intent-filter-tab.is-active {
  color: var(--ink);
  border-bottom-color: var(--accent);
  background: var(--card);
}
.intent-filter-tab:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.page-load-error {
  margin: 0 0 var(--section-block-gap);
  padding: 0.875rem 1rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink);
  background: var(--bad-soft);
  border: 1px solid rgba(59, 11, 11, 0.15);
  border-radius: 0.5rem;
}

.intent-library {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: none;
}
.intent-card {
  scroll-margin-top: calc(var(--sticky-top, var(--topbar-h)) + var(--stack-tabs-h) + 0.75rem);
  padding: 1.75rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
}
.intent-card--warn {
  background: var(--bad-soft);
  border: 1px solid rgba(59, 11, 11, 0.12);
}
.intent-card__head {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.intent-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
}
.intent-tag {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.5rem;
  border-radius: 0.25rem;
  background: var(--accent-soft);
  color: var(--accent-hover);
}
.intent-card__title {
  margin: 0;
  font-size: var(--text-lg);
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
}
.intent-card__purpose {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink-soft);
  line-height: 1.5;
  max-width: 72ch;
}
.intent-card__tip {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.45;
  padding: 0.5rem 0.75rem;
  background: var(--bg-alt);
  border-radius: 0.375rem;
  border-left: 3px solid var(--orange-accent);
}
.intent-card__admin-type {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--muted);
}
.intent-card__section {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.intent-card__section-label {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
}
.intent-card__section-hint {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.4;
}
.intent-card__examples {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.shortcut-examples {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.shortcut-example {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 0.625rem;
  box-shadow: 0 1px 2px rgba(4, 18, 37, 0.04);
}
.shortcut-example--setup {
  background: var(--bg-alt);
}
.shortcut-example__field-label {
  margin: 0 0 0.375rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
}
.shortcut-example__field-hint {
  margin: 0 0 0.5rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.4;
}
.shortcut-example__shared-note {
  margin: -0.25rem 0 0;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.4;
}
.shortcut-example__title-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.shortcut-example__title-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  max-width: 100%;
  padding: 0.5rem 0.5rem 0.5rem 0.75rem;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 0.5rem;
}
.shortcut-example__title-chip--warn {
  border-color: rgba(59, 11, 11, 0.2);
  background: #fff;
}
.shortcut-example__title-text {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
}
.shortcut-example__title-chip .copy-icon-btn {
  width: 2.25rem;
  height: 2.25rem;
  min-width: 2.25rem;
  min-height: 2.25rem;
}
.shortcut-example__prompts {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  padding-top: 0.25rem;
  border-top: 1px solid var(--line);
}
.shortcut-example__setup {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-soft);
  line-height: 1.5;
  padding-top: 0.25rem;
  border-top: 1px solid var(--line);
}
.prompt-options-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.prompt-option {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  overflow: hidden;
}
.prompt-option__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: var(--neutral-grey);
  border-bottom: 1px solid var(--line);
}
.prompt-option__label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-soft);
}
.prompt-option__text {
  margin: 0;
  padding: 0.75rem;
  font-family: ui-monospace, Menlo, monospace;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--ink-soft);
  white-space: pre-wrap;
  word-break: break-word;
  background: transparent;
}
.prompt-option .copy-icon-btn {
  width: 2.25rem;
  height: 2.25rem;
  min-width: 2.25rem;
  min-height: 2.25rem;
  color: var(--ink-soft);
}

.localization-block {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 2px solid var(--line);
}
.localization-block__title {
  margin: 0 0 0.75rem;
  font-size: var(--text-lg);
  font-weight: 700;
}
.localization-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}
.localization-card h4 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
}
.localization-card ul {
  margin: 0;
  padding-left: 1.125rem;
  font-size: 0.875rem;
}
.localization-card__clicks,
.localization-card__note {
  margin: 0.5rem 0 0;
  font-size: 0.8125rem;
  color: var(--muted);
}
/* Flows, level-up section */
.section-flows {
  scroll-margin-top: calc(var(--topbar-h) + 1.25rem);
  margin-top: var(--section-space);
  padding: 1.75rem 2rem 1.5rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 4px solid var(--orange-accent);
  border-radius: 0.75rem;
  box-shadow: var(--shadow-card);
}
.section-flows > h2 {
  margin-top: 0.75rem;
}
.flows-badge {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--bg-alt);
  padding: 0.25rem 0.625rem;
  border-radius: 0.25rem;
  border: 1px solid var(--line);
}
.flows-examples {
  margin: 0 0 var(--section-block-gap);
  padding-left: 1.25rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink-soft);
  line-height: 1.55;
}
.flows-examples li {
  margin-bottom: 0.75rem;
}
.flows-examples li:last-child {
  margin-bottom: 0;
}
.flows-examples strong {
  color: var(--ink);
  font-weight: 700;
}
.flows-rule {
  margin-bottom: var(--section-block-gap);
}
.section-flows .flows-links {
  margin: 0;
}

.playbook-toolbar.stack-tabs-sticky {
  position: sticky;
  top: var(--topbar-h);
  z-index: 20;
  margin: 0 0 var(--section-block-gap);
  padding: 0.625rem 0;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
}
.stack-tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.25rem;
  margin: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.stack-tab {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  padding: 0.625rem 1rem;
  min-height: 2.75rem;
  font-family: var(--font);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
  color: var(--ink-soft);
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  border-radius: 0.375rem 0.375rem 0 0;
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.stack-tab:hover {
  color: var(--ink);
  background: rgba(4, 18, 37, 0.04);
}
.stack-tab.is-active {
  color: var(--ink);
  border-bottom-color: var(--highlight);
  background: var(--card);
}
.playbook-stacks {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin: 0;
}
.stack-section {
  scroll-margin-top: calc(var(--topbar-h) + var(--stack-tabs-h) + 0.75rem);
}
.stack-eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--highlight-deep);
}
.stack-section[data-stack="tutor"] .stack-eyebrow { color: var(--accent); }
.stack-section[data-stack="services"] .stack-eyebrow { color: var(--highlight); }
.stack-section[data-stack="enrollment"] .stack-eyebrow { color: var(--enroll); }
.stack-section[data-stack="general"] .stack-eyebrow { color: var(--highlight-deep); }

.stack {
  background: var(--card);
  border: none;
  border-radius: 1rem;
  padding: 1.5rem 1.75rem;
  margin: 0;
  box-shadow: var(--shadow-card);
}

.stack-title {
  margin: 0 0 0.375rem;
  font-size: var(--text-lg);
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
}

.stack-sub {
  color: var(--muted);
  font-size: 0.8125rem;
  margin: 0.25rem 0 1rem;
}

.shortcut-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 0.5rem;
}
.shortcut-card {
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}
.shortcut-card:first-child {
  border-top: none;
  padding-top: 0;
}
.shortcut-card__insight {
  margin: 0 0 0.75rem;
  padding: 0.5rem 0.625rem;
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.45;
  color: var(--ink-soft);
  background: var(--bg-alt);
  border-radius: 0.375rem;
  border-left: 3px solid var(--orange-accent);
}
.admin-field__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.375rem;
}
.admin-field__head .admin-field__label {
  margin: 0;
}
.shortcut-card__hint {
  font-size: 0.8125rem;
  color: var(--muted);
  margin: 0.5rem 0 0;
  font-style: italic;
}

.admin-field { margin-bottom: 0.75rem; }
.admin-field__label {
  display: block;
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 0.375rem;
}
.admin-field__value {
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--ink);
  padding: 0.625rem 0.75rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  line-height: 1.4;
}

.prompt-block {
  margin-top: 0;
  background: var(--prompt-bg);
  border-radius: 0.5rem;
  overflow: hidden;
}
.prompt-block__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem 0.375rem;
}
.prompt-block__head .admin-field__label {
  margin: 0;
  color: var(--neutral-light);
}
.prompt-text {
  background: transparent;
  color: var(--neutral-lighter);
  padding: 0 0.75rem 0.875rem;
  border-radius: 0;
  margin: 0;
  font-family: ui-monospace, Menlo, monospace;
  font-size: 0.8125rem;
  line-height: 1.55;
  white-space: pre-wrap;
  word-break: break-word;
}
.copy-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  min-width: 2.75rem;
  min-height: 2.75rem;
  padding: 0;
  background: rgba(255, 255, 255, 0.08);
  color: var(--neutral-lighter);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.375rem;
  cursor: pointer;
  flex-shrink: 0;
}
.copy-icon-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}
.copy-icon-btn.is-done {
  background: var(--good);
  border-color: var(--good);
  color: #fff;
}
.copy-icon-btn--light {
  background: rgba(4, 18, 37, 0.06);
  color: var(--ink-soft);
  border: 1px solid var(--line);
}
.copy-icon-btn--light:hover {
  background: rgba(4, 18, 37, 0.1);
  color: var(--ink);
}
.copy-icon-btn--light.is-done {
  background: var(--good);
  border-color: var(--good);
  color: #fff;
}

/* Cheat */
.cheat {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 0;
}
.cheat .card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  padding: 1.125rem 1.25rem;
}
.cheat .card.do { border-top: 3px solid var(--good); }
.cheat .card.dont { border-top: 3px solid var(--bad); }
.cheat .card h4 {
  margin: 0 0 0.625rem;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
}
.cheat .card.do h4 { color: var(--good); }
.cheat .card.dont h4 { color: var(--bad); }
.cheat ul { margin: 0; padding-left: 1.25rem; font-size: 0.875rem; color: var(--ink-soft); }
.cheat li { margin: 0.375rem 0; }

.toast {
  position: fixed;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  background: var(--ink);
  color: #fff;
  padding: 0.625rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  z-index: 300;
  transition: transform 0.25s;
}
.toast.is-visible { transform: translateX(-50%) translateY(0); }

@media (min-width: 640px) and (max-width: 959px) {
  .findings-grid {
    grid-template-columns: 1fr 1fr;
  }
  .findings-grid .finding-card:last-child {
    grid-column: 1 / -1;
  }
}


@media (min-width: 961px) {
  .site-nav__action {
    min-height: 2.5rem;
    padding: 0 1rem;
    font-size: 0.875rem;
  }
}

@media (max-width: 960px) {
  .doc-nav__inner {
    gap: 0.375rem;
    padding-top: 0.5rem;
    padding-bottom: 0.625rem;
  }
  .site-nav__action {
    min-height: 2.25rem;
    padding: 0 0.75rem;
    font-size: 0.75rem;
  }
  .site-nav__action-label--wide {
    display: none;
  }
  .site-nav__action-label--compact {
    display: inline;
  }
  .site-nav__meta { display: none; }
  .site-nav__inner {
    gap: 0.5rem;
    min-height: 0;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    align-items: center;
  }
  .site-nav__start {
    gap: 0.5rem;
    min-width: 0;
    align-items: center;
  }
  .site-nav__brand {
    flex: 1 1 auto;
    min-width: 0;
    justify-content: flex-start;
    align-items: center;
  }
  .site-nav__brand img {
    height: 1.375rem;
    max-width: 6.5rem;
  }
  .site-nav__end {
    gap: 0.375rem;
    align-items: center;
  }
  .doc-nav__link {
    font-size: 0.75rem;
    min-height: 2rem;
    padding: 0 0.75rem;
  }
  .doc-content { padding: 1.5rem 0 3rem; }
  .doc-content > section.section-anchor,
  .section-stacks {
    margin-top: 2rem;
  }
  .report-cover + section.section-anchor {
    margin-top: 1.5rem;
  }
  .section-stacks,
  .section-library {
    padding: 1.5rem var(--page-gutter) 2rem;
  }
  .library-toolbar__row {
    flex-wrap: wrap;
    gap: 0.625rem;
  }
  .library-search {
    width: 100%;
    max-width: none;
  }
  .intent-card { padding: 1.25rem 1.25rem; }
  .section-flows { padding: 1.25rem 1.25rem 1.25rem; }
  .prompt-options-row { grid-template-columns: 1fr; }
  .shortcut-example__title-chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 0.25rem;
    -webkit-overflow-scrolling: touch;
  }
  .concept-grid { grid-template-columns: 1fr; }
  .report-cover { grid-template-columns: 1fr; }
  .report-cover__inner,
  .report-cover__visual,
  .path-picker--below-fold {
    grid-column: 1;
    grid-row: auto;
  }
  .report-cover__visual {
    order: -1;
    margin-top: 0;
    margin-bottom: 0.5rem;
  }
  .report-cover {
    --hero-fold-peek: clamp(4.5rem, 14vh, 7rem);
    min-height: calc(var(--hero-stage-min) + var(--hero-fold-peek));
    padding-bottom: 0;
  }
  .path-picker--below-fold {
    order: 3;
    margin-top: auto;
    padding: 1.5rem 1.25rem 1.75rem;
    text-align: left;
  }
  .path-picker--below-fold .path-picker__label {
    margin: 0 0 0.375rem;
    max-width: none;
  }
  .path-picker--below-fold .path-picker__hint {
    margin-left: 0;
    margin-right: 0;
  }
  .path-card {
    min-height: 0;
  }
  .kpi-strip--hero {
    margin-top: 1rem;
  }
  .use-case-grid {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 0.5rem;
    -webkit-overflow-scrolling: touch;
  }
  .use-case-grid .use-case-card {
    flex: 0 0 min(85vw, 20rem);
    scroll-snap-align: start;
  }
  .findings-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .doc-table th:last-child,
  .doc-table td:last-child { min-width: 0; }
  .kpi-strip { grid-template-columns: 1fr; }
  .cheat { grid-template-columns: 1fr; }
  .stack-tab {
    font-size: 1rem;
    padding: 0.75rem 1rem;
  }
  .stack-section {
    scroll-margin-top: calc(var(--topbar-h) + var(--stack-tabs-h) + 0.75rem);
  }
}
