:root {
  --ay-bg: #f7f4ee;
  --ay-paper: #fffaf0;
  --ay-card: rgba(255, 250, 240, 0.86);
  --ay-text: #111820;
  --ay-muted: #5f6a72;
  --ay-soft: #e6ded1;
  --ay-line: rgba(18, 26, 31, 0.16);
  --ay-orange: #c84f07;
  --ay-orange-2: #ef6b13;
  --ay-orange-soft: #fff0e3;
  --ay-orange-on-dark: #ffb170;
  --ay-green: #10231f;
  --ay-green-2: #18352f;
  --ay-focus: rgba(200, 79, 7, 0.22);
  --ay-radius: 8px;
  --ay-radius-lg: 14px;
  --ay-shadow: 0 18px 42px rgba(42, 31, 19, 0.1);
  --ay-font: "Geist", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ay-font-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

html,
body,
button,
input,
select,
textarea {
  font-feature-settings: "cv02" 1, "cv03" 1, "cv04" 1, "cv11" 1;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

button,
a,
.ay-button,
.ay-button-secondary,
.button-link,
.topic-chip,
.signal-chip {
  min-width: 0;
  max-width: 100%;
}

.hero-card strong,
#stats,
.ais-RefinementList-count,
.topic-stat-grid strong,
.source-meta-chip strong,
.signal-stat strong,
.signal-count,
.analytics-strip__item strong,
.analytics-stat strong,
.analytics-table td:not(:first-child),
.result-intel strong,
time {
  font-family: var(--ay-font-mono);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1, "cv02" 1, "cv03" 1, "cv04" 1, "cv11" 1;
}

/* Production roadmap data visualization */
.roadmap-page .roadmap-experience {
  position: relative;
  margin: 28px 0;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid rgba(18, 26, 31, 0.11);
  border-radius: var(--ay-radius-lg);
  background: rgba(255, 250, 240, 0.74);
  box-shadow: var(--ay-shadow);
}

.roadmap-page .roadmap-experience::after {
  display: none;
}

.roadmap-page .roadmap-experience__intro {
  max-width: 820px;
  margin-bottom: 20px;
}

.roadmap-page .roadmap-experience__intro h2 {
  max-width: 920px;
  margin: 0 0 12px;
  font-size: clamp(34px, 4.4vw, 58px);
  line-height: 0.98;
}

.roadmap-page .roadmap-experience__intro p:not(.eyebrow) {
  max-width: 760px;
  color: var(--ay-muted);
  font-size: 19px;
}

.roadmap-page .summary-strip,
.roadmap-page .control-strip,
.roadmap-page .roadmap-panel {
  border: 1px solid rgba(18, 26, 31, 0.12);
  border-radius: var(--ay-radius);
  background: rgba(255, 250, 240, 0.84);
  box-shadow: 0 14px 36px rgba(42, 31, 19, 0.07);
}

.roadmap-page .summary-strip {
  display: grid;
  grid-template-columns: 0.85fr 1fr 1.45fr;
  gap: 1px;
  overflow: hidden;
  margin-bottom: 18px;
  background: rgba(18, 26, 31, 0.12);
}

.roadmap-page .summary-strip article {
  min-width: 0;
  padding: 17px 18px;
  background: rgba(255, 250, 240, 0.92);
}

.roadmap-page .summary-strip span {
  display: block;
  margin-bottom: 5px;
  color: var(--ay-orange);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
  line-height: 1.1;
  text-transform: uppercase;
}

.roadmap-page .summary-strip strong {
  display: block;
  font-size: clamp(16px, 1.7vw, 22px);
  line-height: 1.08;
  text-wrap: balance;
}

.roadmap-page .control-strip {
  position: sticky;
  top: 74px;
  z-index: 4;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  margin-bottom: 18px;
  padding: 10px;
  background: rgba(255, 250, 240, 0.94);
  backdrop-filter: blur(14px);
}

.roadmap-page .phase-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.roadmap-page .phase-tab {
  min-height: 42px;
  padding: 8px 12px;
  border: 1px solid rgba(18, 26, 31, 0.12);
  border-radius: var(--ay-radius);
  background: rgba(255, 255, 255, 0.62);
  color: var(--ay-text);
  cursor: pointer;
  font-weight: 640;
  text-align: left;
}

.roadmap-page .phase-tab span {
  display: block;
  margin-bottom: 4px;
  color: var(--ay-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.1;
  text-transform: uppercase;
}

.roadmap-page .phase-tab strong {
  display: block;
  font-size: 15px;
  font-weight: 680;
  line-height: 1.12;
}

.roadmap-page .phase-tab:hover,
.roadmap-page .phase-tab:focus-visible,
.roadmap-page .phase-tab.is-active {
  border-color: rgba(200, 79, 7, 0.34);
  background: var(--ay-orange-soft);
  color: var(--ay-orange);
}

.roadmap-page .view-note {
  color: var(--ay-muted);
  font-size: 14px;
}

.roadmap-page .viz-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: 18px;
}

.roadmap-page .roadmap-panel {
  min-width: 0;
  padding: clamp(18px, 3vw, 26px);
}

.roadmap-page .roadmap-panel-wide {
  grid-column: 1 / -1;
}

.roadmap-page .roadmap-panel-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(18, 26, 31, 0.08);
}

.roadmap-page .roadmap-panel-head h2 {
  margin: 0;
  font-size: clamp(25px, 2.6vw, 34px);
  line-height: 1.05;
}

.roadmap-page .flow-canvas {
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 4px;
}

.roadmap-page .phase-flow {
  display: block;
  width: 100%;
  min-width: 920px;
  height: 288px;
}

.roadmap-page .phase-node {
  cursor: pointer;
}

.roadmap-page .phase-node rect {
  fill: rgba(255, 255, 255, 0.74);
  stroke: rgba(18, 26, 31, 0.13);
  stroke-width: 1;
  rx: 8;
}

.roadmap-page .phase-node.is-active rect {
  fill: var(--ay-orange-soft);
  stroke: rgba(200, 79, 7, 0.42);
}

.roadmap-page .phase-node text {
  fill: var(--ay-text);
  font-size: 13px;
  font-weight: 650;
}

.roadmap-page .phase-node .phase-node__step {
  fill: var(--ay-orange);
  font-size: 22px;
  font-weight: 760;
  letter-spacing: 0;
}

.roadmap-page .phase-node .phase-node__lane {
  fill: var(--ay-text);
  font-size: 14px;
  font-weight: 700;
}

.roadmap-page .phase-node .phase-node__status,
.roadmap-page .phase-node .phase-node__count {
  fill: var(--ay-muted);
  font-size: 12px;
  font-weight: 620;
}

.roadmap-page .phase-link {
  fill: none;
  stroke: rgba(200, 79, 7, 0.34);
  stroke-width: 2.5;
}

.roadmap-page .phase-detail-card {
  display: grid;
  gap: 14px;
}

.roadmap-page .detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.roadmap-page .pill {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  width: fit-content;
  padding: 4px 9px;
  border: 1px solid rgba(18, 26, 31, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  color: var(--ay-muted);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.roadmap-page .status-badge {
  display: inline-flex;
  flex: 0 0 auto;
  min-height: 17px;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  padding: 1px 5px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--ay-muted);
  font-size: 10px;
  font-weight: 760;
  letter-spacing: 0.02em;
  line-height: 1.05;
  text-transform: uppercase;
  white-space: nowrap;
}

.roadmap-page .pill-accent,
.roadmap-page .status-in-progress {
  border-color: rgba(200, 79, 7, 0.28);
  background: rgba(239, 107, 19, 0.08);
  color: var(--ay-orange);
}

.roadmap-page .status-live {
  background: rgba(13, 91, 72, 0.08);
  color: #0d5b48;
}

.roadmap-page .status-completed-built-in-house {
  background: rgba(15, 111, 105, 0.08);
  color: #0f6f69;
}

.roadmap-page .status-next {
  background: rgba(27, 88, 116, 0.08);
  color: #1b5874;
}

.roadmap-page .status-planned {
  background: rgba(18, 26, 31, 0.06);
  color: #48545c;
}

.roadmap-page .status-research {
  background: rgba(91, 72, 157, 0.08);
  color: #5b489d;
}

.roadmap-page .phase-name {
  margin-bottom: 2px;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 0.98;
}

.roadmap-page .phase-purpose {
  color: var(--ay-text);
  font-size: 18px;
  font-weight: 720;
}

.roadmap-page .phase-detail-card h3 {
  margin-bottom: 2px;
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.roadmap-page .phase-detail-card p {
  color: var(--ay-muted);
}

.roadmap-page .milestone-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.roadmap-page .milestone-card,
.roadmap-page .funding-card,
.roadmap-page .priority-column {
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(18, 26, 31, 0.08);
  border-radius: var(--ay-radius);
  background: rgba(255, 255, 255, 0.58);
}

.roadmap-page .milestone-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.roadmap-page .milestone-card h3 {
  margin: 0;
  color: var(--ay-text);
  font-size: 16px;
  font-weight: 760;
  letter-spacing: 0;
  line-height: 1.16;
  text-transform: none;
}

.roadmap-page .mini-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.roadmap-page .mini-list li {
  position: relative;
  padding-left: 18px;
  color: #2f3b43;
}

.roadmap-page .mini-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--ay-orange);
}

.roadmap-page .bar-stack {
  display: grid;
  gap: 12px;
}

.roadmap-page .bar-row {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr) 42px;
  gap: 10px;
  align-items: center;
  width: 100%;
  padding: 8px;
  border: 1px solid transparent;
  border-radius: var(--ay-radius);
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.roadmap-page .bar-row:hover,
.roadmap-page .bar-row:focus-visible,
.roadmap-page .bar-row.is-active {
  border-color: rgba(200, 79, 7, 0.22);
  background: rgba(255, 240, 227, 0.54);
}

.roadmap-page .bar-label,
.roadmap-page .bar-value {
  color: var(--ay-muted);
  font-size: 14px;
  font-weight: 760;
}

.roadmap-page .bar-track {
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(18, 26, 31, 0.08);
}

.roadmap-page .bar-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--ay-orange), var(--ay-orange-2));
}

.roadmap-page .funding-grid,
.roadmap-page .priority-stack {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.roadmap-page .funding-card .status-badge,
.roadmap-page .priority-column .pill {
  margin-bottom: 12px;
}

.roadmap-page .funding-card h3,
.roadmap-page .priority-column h3 {
  margin-bottom: 8px;
  font-size: 20px;
}

.roadmap-page .priority-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: start;
}

.roadmap-page .proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.roadmap-page .proof-card {
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(18, 26, 31, 0.08);
  border-radius: var(--ay-radius);
  background: rgba(255, 255, 255, 0.58);
}

.roadmap-page .proof-card h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

.roadmap-page .proof-card p {
  margin: 0;
  color: #2f3b43;
  font-size: 17px;
  line-height: 1.45;
}

.roadmap-enhanced .roadmap-page .roadmap-fallback {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

@media (max-width: 900px) {
  .roadmap-page .summary-strip,
  .roadmap-page .control-strip,
  .roadmap-page .viz-grid,
  .roadmap-page .funding-grid,
  .roadmap-page .priority-stack,
  .roadmap-page .proof-grid {
    grid-template-columns: 1fr;
  }

  .roadmap-page .view-note {
    display: none;
  }
}

@media (max-width: 560px) {
  .roadmap-page .roadmap-experience {
    padding: 12px;
  }

  .roadmap-page .control-strip {
    position: relative;
    top: auto;
  }

  .roadmap-page .phase-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .roadmap-page .phase-tab {
    width: 100%;
  }

  .roadmap-page .bar-row {
    grid-template-columns: 74px minmax(0, 1fr) 34px;
  }

  .roadmap-page .milestone-grid {
    grid-template-columns: 1fr;
  }

  .roadmap-page .priority-list li {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
  }
}

.roadmap-page .flow-canvas .phase-node.is-active rect {
  fill: var(--ay-orange-soft);
  stroke: rgba(200, 79, 7, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--ay-bg);
  color: var(--ay-text);
  font-family: var(--ay-font);
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 18% 8%, rgba(239, 107, 19, 0.11), transparent 31rem),
    linear-gradient(180deg, #fffaf0 0%, var(--ay-bg) 28rem);
  color: var(--ay-text);
  font-family: var(--ay-font);
  line-height: 1.52;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  padding: 0.6rem 0.9rem;
  border-radius: var(--ay-radius);
  background: var(--ay-green);
  color: #fffaf0;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(18, 26, 31, 0.09);
  backdrop-filter: blur(14px);
}

.site-header__bar {
  width: min(1320px, calc(100% - 24px));
  min-height: 66px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 14px;
}

.site-header__brand,
.site-footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #1f2933;
  font-weight: 690;
  letter-spacing: 0;
  flex: 0 0 auto;
  white-space: nowrap;
}

.site-header__avatar {
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: url("https://aggressorbulkit.online/wp-content/themes/alex-yarosh/assets/alex-yarosh-avatar.png") center / cover no-repeat;
  box-shadow: 0 0 0 1px rgba(18, 26, 31, 0.14);
}

.site-header__mobile-menu {
  display: none;
}

.site-header__nav {
  display: flex;
  align-items: center;
  gap: 1px;
  margin-left: auto;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.site-header__nav::-webkit-scrollbar {
  display: none;
}

.site-header__link {
  padding: 7px 7px;
  color: #1f2933;
  font-size: 13.5px;
  font-weight: 620;
  white-space: nowrap;
  transition: color 160ms ease;
}

.site-header__link:hover,
.site-header__link:focus-visible,
.site-header__link[aria-current="page"],
.site-header__link--base2026 {
  color: var(--ay-orange);
}

.site-header__link:focus-visible {
  outline: 0;
}

.site-header__link--site {
  color: var(--ay-muted);
  font-weight: 560;
}

.site-header__nav-divider {
  width: 1px;
  height: 22px;
  margin: 0 5px;
  flex: 0 0 auto;
  background: rgba(18, 26, 31, 0.12);
}

.site-header__base {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding-bottom: 16px;
  margin-bottom: -16px;
}

.site-header__base-menu {
  position: absolute;
  top: calc(100% + 2px);
  left: 50%;
  z-index: 20;
  display: grid;
  min-width: 230px;
  padding: 10px;
  border: 1px solid rgba(18, 26, 31, 0.12);
  border-radius: 14px;
  background: rgba(255, 250, 240, 0.98);
  box-shadow: 0 22px 52px rgba(42, 31, 19, 0.16);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -6px);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
  visibility: hidden;
}

.site-header__base:hover .site-header__base-menu,
.site-header__base:focus-within .site-header__base-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
  visibility: visible;
}

.site-header__base-menu::before {
  content: "";
  position: absolute;
  top: -16px;
  left: 0;
  width: 100%;
  height: 18px;
}

.site-header__base-menu span {
  padding: 7px 10px 9px;
  color: var(--ay-muted);
  font-size: 12px;
  font-weight: 820;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-header__base-menu a {
  display: flex;
  min-height: 38px;
  align-items: center;
  padding: 8px 10px;
  border-radius: var(--ay-radius);
  color: var(--ay-text);
  font-weight: 720;
  text-decoration: none;
}

.site-header__base-menu a:hover,
.site-header__base-menu a:focus-visible,
.site-header__base-menu a[aria-current="page"] {
  background: var(--ay-orange-soft);
  color: var(--ay-orange);
  outline: 0;
}

.site-header__cta,
.ay-button,
.dialog-close,
.button-link {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 9px 14px;
  border: 1px solid var(--ay-orange);
  border-radius: var(--ay-radius);
  background: var(--ay-orange);
  color: #fff;
  cursor: pointer;
  font-weight: 650;
  line-height: 1;
  white-space: nowrap;
  transition: transform 140ms ease, background 140ms ease, border-color 140ms ease, box-shadow 140ms ease;
}

.site-header__cta:hover,
.ay-button:hover,
.dialog-close:hover,
.button-link:hover {
  background: #a94306;
  border-color: #a94306;
  transform: translateY(-1px);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: -24px 0 26px;
  color: var(--ay-muted);
  font-size: 14px;
}

.breadcrumbs a {
  color: var(--ay-green);
  font-weight: 700;
}

.breadcrumbs a:hover,
.breadcrumbs a:focus-visible {
  color: var(--ay-orange);
}

.ay-button {
  background: var(--ay-green);
  border-color: var(--ay-green);
  color: #fffaf0;
}

.ay-button:hover {
  background: var(--ay-green-2);
  border-color: var(--ay-green-2);
}

.ay-button-orange {
  background: var(--ay-orange);
  border-color: var(--ay-orange);
  color: #fff;
}

.ay-button-orange:hover {
  background: #a94306;
  border-color: #a94306;
}

.ay-button-secondary {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 9px 14px;
  border: 1px solid rgba(18, 26, 31, 0.28);
  border-radius: var(--ay-radius);
  background: rgba(255, 250, 240, 0.82);
  color: var(--ay-text);
  font-weight: 650;
}

.app-shell {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 72px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 430px);
  gap: 18px;
  align-items: center;
  margin-bottom: 12px;
}

.workspace-hero {
  align-items: end;
}

.eyebrow,
.source-kicker {
  margin: 0 0 10px;
  color: var(--ay-orange);
  font-size: 13px;
  font-weight: 780;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 760px;
  margin-bottom: 8px;
  color: var(--ay-text);
  font-size: clamp(28px, 2.6vw, 38px);
  font-weight: 650;
  letter-spacing: 0;
  line-height: 1.06;
}

.lead {
  max-width: 680px;
  margin-bottom: 12px;
  color: var(--ay-muted);
  font-size: 15px;
  line-height: 1.44;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions .is-current,
.hero-actions [aria-current="page"] {
  border-color: var(--ay-orange);
  background: var(--ay-orange);
  color: #fffaf0;
  box-shadow: 0 12px 26px rgba(200, 79, 7, 0.16);
}

.ay-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-card,
.search-command,
.filter-panel,
.results-panel,
.source-detail-panel {
  border: 1px solid var(--ay-line);
  border-radius: var(--ay-radius-lg);
  background: rgba(255, 250, 240, 0.82);
  box-shadow: var(--ay-shadow);
}

.hero-card {
  overflow: hidden;
}

body.knowledge-workspace-active .app-shell {
  padding-top: 24px;
}

body.knowledge-workspace-active .hero {
  align-items: center;
  gap: 18px;
  margin-bottom: 12px;
}

body.knowledge-workspace-active .hero h1 {
  max-width: 680px;
  margin-bottom: 8px;
  font-size: clamp(28px, 2.6vw, 38px);
  line-height: 1.06;
}

body.knowledge-workspace-active .hero .lead {
  max-width: 620px;
  margin-bottom: 12px;
  font-size: 15px;
  line-height: 1.45;
}

body.knowledge-workspace-active .hero-card div {
  grid-template-columns: 1fr;
  gap: 2px;
  padding: 10px 12px;
}

body.knowledge-workspace-active .project-identity {
  display: none;
}

.hero-card div {
  display: grid;
  grid-template-columns: 86px 1fr;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--ay-line);
}

.hero-card div:last-child {
  border-bottom: 0;
}

.hero-card strong {
  color: var(--ay-text);
  font-size: 22px;
  font-weight: 650;
}

.hero-card span {
  color: var(--ay-muted);
  font-size: 12px;
  line-height: 1.25;
}

.workspace-stat-card {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  align-items: stretch;
}

.workspace-stat-card div {
  grid-template-columns: 1fr;
  gap: 2px;
  min-width: 0;
  padding: 10px 12px;
  border-right: 1px solid var(--ay-line);
  border-bottom: 0;
}

.workspace-stat-card div:last-of-type {
  border-right: 0;
}

.workspace-stat-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 96px;
  padding: 10px 12px;
  border-left: 1px solid var(--ay-line);
  color: var(--ay-orange);
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
}

.workspace-stat-link:hover,
.workspace-stat-link:focus-visible {
  background: rgba(239, 107, 19, 0.1);
  outline: 0;
}

.project-identity--collapsed,
.knowledge-product-nav {
  display: none;
}

.project-identity {
  display: grid;
  grid-template-columns: minmax(220px, 0.45fr) minmax(0, 1fr);
  gap: clamp(22px, 4vw, 46px);
  align-items: start;
  margin-bottom: 22px;
  padding: clamp(22px, 3.4vw, 34px);
  border: 1px solid rgba(18, 26, 31, 0.1);
  border-radius: var(--ay-radius-lg);
  background: rgba(255, 250, 240, 0.72);
  box-shadow: var(--ay-shadow-soft);
}

.knowledge-product-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
  margin: 0 0 14px;
  padding: 7px;
  border: 1px solid rgba(18, 26, 31, 0.11);
  border-radius: var(--ay-radius);
  background: rgba(255, 250, 240, 0.76);
}

.knowledge-product-nav a {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 5px 10px;
  border-radius: 7px;
  color: var(--ay-muted);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.knowledge-product-nav a:hover,
.knowledge-product-nav a:focus-visible,
.knowledge-product-nav a[aria-current="page"] {
  background: rgba(239, 107, 19, 0.11);
  color: var(--ay-orange);
  outline: 0;
}

.project-identity h2 {
  margin: 0;
  font-size: clamp(22px, 2vw, 29px);
  font-weight: 720;
  line-height: 1.12;
}

.project-identity p {
  max-width: 76ch;
  margin-bottom: 16px;
  color: var(--ay-muted);
  font-size: 17px;
  line-height: 1.5;
}

.project-identity p a {
  color: var(--ay-green);
  font-weight: 760;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
}

.identity-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.identity-links a {
  min-height: 34px;
  padding: 6px 11px;
  border: 1px solid rgba(18, 26, 31, 0.16);
  border-radius: var(--ay-radius);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ay-green);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.identity-links a:hover,
.identity-links a:focus-visible {
  border-color: rgba(200, 79, 7, 0.34);
  color: var(--ay-orange);
  outline: 0;
}

.research-bridge {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.45fr);
  gap: clamp(18px, 3vw, 32px);
  align-items: center;
  margin: 22px 0;
  border: 1px solid rgba(18, 26, 31, 0.12);
  border-radius: var(--ay-radius-lg);
  background: rgba(255, 250, 240, 0.78);
  box-shadow: 0 16px 38px rgba(42, 31, 19, 0.07);
  padding: clamp(20px, 3vw, 32px);
}

.research-bridge h2 {
  max-width: 680px;
  margin: 0 0 10px;
  font-size: clamp(25px, 3vw, 38px);
  line-height: 1.05;
}

.research-bridge p:not(.eyebrow) {
  max-width: 760px;
  margin: 0;
  color: var(--ay-muted);
}

.research-bridge-actions {
  display: grid;
  gap: 10px;
}

.research-bridge-actions .ay-button,
.research-bridge-actions .ay-button-secondary {
  width: 100%;
}

.search-command {
  margin-bottom: 14px;
  padding: 14px;
}

.analytics-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin-top: 12px;
  border: 1px solid rgba(18, 26, 31, 0.1);
  border-radius: 8px;
  background: rgba(18, 26, 31, 0.08);
}

.analytics-strip__item {
  display: grid;
  min-width: 0;
  gap: 3px;
  padding: 9px 11px;
  background: rgba(255, 250, 240, 0.9);
  color: var(--ay-muted);
  text-decoration: none;
}

.analytics-strip__item span {
  overflow: hidden;
  color: var(--ay-muted);
  font-size: 10.5px;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.analytics-strip__item strong {
  overflow: hidden;
  color: var(--ay-text);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.12;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.analytics-strip__item--link:hover,
.analytics-strip__item--link:focus-visible {
  background: rgba(239, 107, 19, 0.1);
  outline: 0;
}

.analytics-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 14px;
}

.analytics-stat {
  min-width: 0;
  padding: 15px 16px;
  border: 1px solid rgba(18, 26, 31, 0.11);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.82);
  box-shadow: 0 12px 30px rgba(42, 31, 19, 0.06);
}

.analytics-stat strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ay-text);
  font-size: clamp(20px, 2.1vw, 30px);
  font-weight: 600;
  line-height: 1;
}

.analytics-stat span {
  display: block;
  color: var(--ay-muted);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.analytics-stat p {
  margin: 7px 0 0;
  color: var(--ay-muted);
  font-size: 13px;
}

.analytics-section {
  margin-bottom: 14px;
}

.analytics-table-wrap {
  overflow-x: auto;
}

.analytics-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
}

.analytics-table th,
.analytics-table td {
  padding: 10px 8px;
  border-bottom: 1px solid rgba(18, 26, 31, 0.09);
  text-align: left;
  vertical-align: top;
  font-size: 14px;
}

.analytics-table th {
  color: var(--ay-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.analytics-table td:not(:first-child) {
  color: var(--ay-text);
  white-space: nowrap;
}

.analytics-creator-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.analytics-creator-card {
  display: flex;
  min-width: 0;
  gap: 11px;
  padding: 12px;
  border: 1px solid rgba(18, 26, 31, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.48);
}

.analytics-creator-card h3 {
  margin: 0 0 4px;
  font-size: 16px;
}

.analytics-creator-card p {
  margin: 0 0 8px;
  color: var(--ay-muted);
  font-size: 13px;
  line-height: 1.35;
}

.analytics-two-up {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.analytics-list {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.analytics-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(18, 26, 31, 0.08);
  color: var(--ay-muted);
  font-size: 14px;
}

.analytics-list strong,
.analytics-list a {
  color: var(--ay-text);
  font-weight: 650;
}

.analytics-list--links li {
  display: grid;
  justify-content: stretch;
  gap: 3px;
}

@media (max-width: 760px) {
  .hero h1 {
    font-size: clamp(27px, 8vw, 34px);
  }

  .hero .lead {
    font-size: 14px;
  }

  .knowledge-product-nav {
    gap: 5px;
    overflow-x: visible;
    flex-wrap: wrap;
    margin-bottom: 10px;
    padding: 6px;
  }

  .knowledge-product-nav a {
    flex: 1 1 calc(33.333% - 6px);
    min-height: 28px;
    justify-content: center;
    padding: 4px 8px;
    font-size: 12px;
  }

  .analytics-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .analytics-strip__item {
    padding: 8px 9px;
  }

  .research-bridge {
    grid-template-columns: 1fr;
  }

  .analytics-stat-grid,
  .analytics-creator-grid,
  .analytics-two-up {
    grid-template-columns: 1fr;
  }

  .analytics-table th,
  .analytics-table td {
    padding: 8px 7px;
    font-size: 13px;
  }
}

.signal-strip {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(260px, 1fr);
  gap: 14px;
  align-items: center;
  margin: 0 0 14px;
  padding: 11px 13px;
  border: 1px solid rgba(18, 26, 31, 0.1);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.64);
}

.signal-strip-copy {
  min-width: 0;
}

.signal-strip-copy h2 {
  margin: 0;
  color: var(--ay-text);
  font-size: 18px;
  font-weight: 760;
  line-height: 1.14;
}

.signal-strip-copy p:not(.eyebrow) {
  max-width: 56ch;
  margin: 5px 0 0;
  color: var(--ay-muted);
  font-size: 14px;
  line-height: 1.4;
}

.signal-chip-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px;
  min-width: 0;
}

.signal-chip {
  display: inline-flex;
  min-width: 0;
  min-height: 30px;
  max-width: 100%;
  align-items: center;
  padding: 5px 10px;
  border: 1px solid rgba(18, 26, 31, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--ay-green);
  font-size: 13px;
  font-weight: 720;
  line-height: 1.1;
  overflow: hidden;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.signal-chip:hover,
.signal-chip:focus-visible {
  border-color: rgba(200, 79, 7, 0.35);
  color: var(--ay-orange);
  outline: 0;
}

.mobile-filter-bar,
.mobile-filter-backdrop,
.mobile-filter-close {
  display: none;
}

.ais-SearchBox-form {
  display: grid;
  grid-template-columns: 1fr 46px 46px;
  gap: 8px;
}

.ais-SearchBox-input {
  width: 100%;
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid rgba(18, 26, 31, 0.22);
  border-radius: var(--ay-radius);
  background: rgba(255, 255, 255, 0.9);
  color: var(--ay-text);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.ais-SearchBox-input:focus {
  border-color: var(--ay-orange);
  box-shadow: 0 0 0 4px var(--ay-focus);
  outline: 0;
}

.ais-SearchBox-submit,
.ais-SearchBox-reset {
  min-height: 48px;
  border: 1px solid rgba(18, 26, 31, 0.18);
  border-radius: var(--ay-radius);
  background: #fffaf0;
  color: var(--ay-text);
  cursor: pointer;
}

.query-presets,
.selected-terms,
.ais-CurrentRefinements-list,
.result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.query-presets {
  margin-top: 12px;
}

.query-presets button,
.selected-term,
.ais-CurrentRefinements-label,
.ais-CurrentRefinements-category,
.badge {
  min-height: 32px;
  padding: 5px 11px;
  border: 1px solid rgba(18, 26, 31, 0.18);
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.74);
  color: var(--ay-text);
  font-size: 14px;
  font-weight: 650;
}

.query-presets button {
  cursor: pointer;
}

.query-presets button:hover,
.query-presets button.is-active,
.selected-term {
  border-color: rgba(200, 79, 7, 0.38);
  background: rgba(239, 107, 19, 0.12);
  color: #6c2a04;
}

.selected-term span {
  display: inline-flex;
  width: 14px;
  height: 14px;
  align-items: center;
  justify-content: center;
  margin-left: 5px;
  border: 1px solid rgba(108, 42, 4, 0.24);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 760;
  line-height: 1;
}

.selected-terms,
#current-refinements {
  margin-top: 10px;
}

.meili-grid {
  display: grid;
  grid-template-columns: minmax(230px, 270px) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  min-width: 0;
}

.filter-panel,
.results-panel,
.source-detail-panel {
  max-width: 100%;
  min-width: 0;
  padding: 16px;
}

.filter-panel.meili-filters {
  grid-column: 1;
}

.results-panel {
  grid-column: 2;
}

.source-detail-panel {
  grid-column: 2;
  display: none;
  position: relative;
  top: auto;
  max-height: none;
  overflow: visible;
}

body.source-detail-open .source-detail-panel {
  display: block;
}

body.source-detail-open .results-panel {
  display: none;
}

.source-detail-empty {
  display: grid;
  min-height: 320px;
  align-content: center;
  gap: 10px;
  padding: 12px;
}

.source-detail-empty h2 {
  margin: 0;
  color: var(--ay-text);
  font-size: clamp(24px, 2.3vw, 34px);
  line-height: 1.08;
}

.source-detail-empty p {
  max-width: 48ch;
  margin: 0;
  color: var(--ay-muted);
  font-size: 16px;
  line-height: 1.45;
}

.panel-title,
.results-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--ay-line);
}

.panel-title h2,
.results-head h2 {
  margin: 0;
  color: var(--ay-text);
  font-size: 18px;
  font-weight: 650;
}

.panel-title span,
#stats,
.meta {
  color: var(--ay-muted);
  font-size: 14px;
}

.search-signal {
  margin: 12px 0 0;
}

.search-signal__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(200, 79, 7, 0.18);
  border-radius: 8px;
  background: rgba(239, 107, 19, 0.08);
  color: #5f2908;
  font-size: 13px;
  line-height: 1.34;
}

.search-signal__row span {
  min-width: min(100%, 280px);
}

.search-signal__row strong {
  color: var(--ay-text);
  font-weight: 800;
}

.filter-panel h3 {
  margin: 18px 0 9px;
  color: var(--ay-muted);
  font-size: 13px;
  font-weight: 780;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ais-RefinementList-searchBox {
  margin-bottom: 9px;
}

.ais-RefinementList-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ais-RefinementList-label {
  display: grid;
  grid-template-columns: 18px 1fr auto;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 9px 10px;
  border: 1px solid rgba(18, 26, 31, 0.1);
  border-radius: var(--ay-radius);
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
}

.ais-RefinementList-checkbox {
  width: 16px;
  height: 16px;
  margin: 0;
  appearance: none;
  -webkit-appearance: none;
  display: inline-grid;
  place-content: center;
  border: 1px solid rgba(18, 26, 31, 0.34);
  border-radius: 4px;
  background: #fffaf0;
  accent-color: var(--ay-orange);
  transition: background 140ms ease, border-color 140ms ease, box-shadow 140ms ease;
}

.ais-RefinementList-checkbox::before {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: #fffaf0;
  content: "";
  transform: scale(0);
  transition: transform 120ms ease;
}

.ais-RefinementList-checkbox:checked {
  border-color: var(--ay-orange);
  background: var(--ay-orange);
}

.ais-RefinementList-checkbox:checked::before {
  transform: scale(1);
}

.ais-RefinementList-checkbox:focus-visible {
  box-shadow: 0 0 0 4px var(--ay-focus);
  outline: 0;
}

.ais-RefinementList-count {
  min-width: 34px;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(18, 26, 31, 0.08);
  color: var(--ay-muted);
  text-align: center;
  font-size: 13px;
}

.ais-Hits-list {
  display: grid;
  gap: 16px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.ais-Hits-item {
  padding: 0;
  border: 0;
  box-shadow: none;
}

.result {
  padding: 15px;
  border: 1px solid rgba(18, 26, 31, 0.12);
  border-radius: var(--ay-radius-lg);
  background: rgba(255, 255, 255, 0.54);
}

.result-intel {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 12px 0 0;
}

.result-intel + .result-actions {
  margin-top: 12px;
}

.result-intel span {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  gap: 4px;
  padding: 3px 7px;
  border: 1px solid rgba(18, 26, 31, 0.1);
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.72);
  color: var(--ay-muted);
  font-size: 12px;
  line-height: 1.2;
}

.result-intel strong {
  color: var(--ay-text);
  font-weight: 600;
}

.result-top {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 12px;
}

.avatar {
  display: inline-flex;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(200, 79, 7, 0.12);
  color: #6c2a04;
  font-weight: 760;
  overflow: hidden;
}

.avatar--image {
  background: #fffaf0;
}

.avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.creator-hero-line {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.creator-page-avatar {
  width: 56px;
  height: 56px;
  box-shadow: 0 0 0 4px rgba(255, 250, 240, 0.9);
}

.creator-index-card {
  align-content: start;
  gap: 16px;
  min-height: 210px;
}

.creator-index-card__head {
  display: flex;
  min-width: 0;
  gap: 12px;
  align-items: center;
}

.creator-index-card__head .avatar {
  width: 58px;
  height: 58px;
}

.creator-index-card__head h3 {
  margin: 0 0 3px;
}

.creator-index-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: auto;
}

.creator-index-card__source {
  color: var(--ay-muted);
  font-size: 14px;
  font-weight: 680;
}

.creator-index-card__source:hover,
.creator-index-card__source:focus-visible {
  color: var(--ay-orange);
}

.creator-hero-line h1 {
  margin: 0;
}

.source-identity {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 11px;
}

.source-identity .avatar {
  flex: 0 0 auto;
}

.source-identity--source .avatar,
.source-identity--creator .avatar {
  width: 52px;
  height: 52px;
}

.source-identity--modal .avatar {
  width: 38px;
  height: 38px;
}

.source-identity__body {
  min-width: 0;
}

.source-identity__line {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
}

.source-identity__handle {
  margin: 0;
  color: var(--ay-text);
  font-size: clamp(28px, 3.4vw, 48px);
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.02;
  overflow-wrap: anywhere;
  text-decoration: none;
}

a.source-identity__handle:hover,
a.source-identity__handle:focus-visible {
  color: var(--ay-orange);
}

.source-identity--modal .source-identity__handle {
  font-size: 20px;
  line-height: 1.05;
}

.source-identity__date {
  color: var(--ay-muted);
  font-size: 17px;
  font-weight: 650;
  line-height: 1.1;
}

.source-identity--modal .source-identity__date {
  font-size: 14px;
}

.creator-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.creator-name {
  color: var(--ay-green);
  font-weight: 760;
}

.result-meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 3px;
}

.platform-badge {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  gap: 7px;
  padding: 4px 10px;
  border: 1px solid rgba(18, 26, 31, 0.14);
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.74);
  color: var(--ay-text);
  font-size: 14px;
  font-weight: 760;
}

a.platform-badge {
  text-decoration: none;
}

a.platform-badge:hover,
a.platform-badge:focus-visible {
  border-color: rgba(200, 79, 7, 0.42);
  background: rgba(255, 238, 224, 0.92);
  color: var(--ay-orange);
}

.platform-badge--tiktok {
  color: #111820;
}

.platform-badge--icon-only {
  width: 30px;
  min-height: 28px;
  justify-content: center;
  padding: 3px;
}

.platform-inline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  color: var(--ay-text);
  vertical-align: middle;
}

.platform-inline .platform-logo {
  width: 16px;
  height: 16px;
}

.platform-icon-only {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  color: var(--ay-text);
}

.platform-icon-only .platform-logo {
  width: 18px;
  height: 18px;
}

.platform-logo {
  display: inline-block;
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  fill: currentColor;
}

.snippet {
  color: #1f2933;
  font-size: 18px;
}

.snippet p {
  margin: 0 0 10px;
}

mark,
em {
  padding: 0 0.18em;
  border-radius: 4px;
  background: rgba(239, 107, 19, 0.22);
  color: #5f2300;
  font-weight: 760;
  font-style: normal;
}

.button-link {
  min-height: 38px;
  padding: 8px 12px;
  background: #fffaf0;
  color: var(--ay-text);
  border-color: rgba(18, 26, 31, 0.2);
  font-size: 15px;
}

.button-link:hover {
  background: rgba(239, 107, 19, 0.1);
  border-color: rgba(200, 79, 7, 0.35);
  color: var(--ay-text);
}

.button-link--accent {
  border-color: rgba(200, 79, 7, 0.35);
  background: var(--ay-green);
  color: #fffaf0;
}

.button-link--accent:hover {
  border-color: var(--ay-orange);
  background: var(--ay-orange);
  color: #fffaf0;
}

.source-detail-head {
  display: grid;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--ay-line);
}

.source-detail-nav-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.source-detail-back {
  display: none;
  width: fit-content;
}

body.source-detail-open .source-detail-back {
  display: inline-flex;
}

.source-detail-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: flex-start;
  justify-content: space-between;
  min-width: 0;
}

.source-detail-toolbar__tools {
  display: flex;
  flex: 1 1 360px;
  flex-wrap: wrap;
  gap: 6px 12px;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
}

.source-detail-head .source-identity {
  flex: 0 1 auto;
  width: fit-content;
  max-width: 100%;
  padding: 7px 9px 7px 7px;
  border: 1px solid rgba(18, 26, 31, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
}

.source-detail-head .source-identity__handle {
  font-size: 20px;
  line-height: 1.05;
}

.source-detail-head .source-identity__date {
  font-size: 14px;
}

body.source-detail-open .hero h1 {
  display: none;
}

.source-detail-head h1 {
  margin: 0;
  max-width: min(100%, 44ch);
  color: var(--ay-text);
  font-size: clamp(21px, 1.55vw, 26px);
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.source-detail-lead {
  max-width: 74ch;
  margin: 0;
  color: var(--ay-muted);
  font-size: 15px;
  line-height: 1.45;
}

.source-detail-summary {
  max-width: 74ch;
  margin: 0;
  color: #2f3b43;
  font-size: 15px;
  line-height: 1.5;
}

.source-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.source-detail-share-actions {
  justify-content: flex-end;
}

.source-detail-share-actions .source-share-actions__status {
  flex-basis: auto;
  text-align: right;
}

.source-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  justify-content: flex-end;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.source-detail-meta .source-meta-chip {
  min-height: 26px;
  padding: 4px 7px;
  font-size: 12px;
}

.source-detail-body {
  display: grid;
  gap: 18px;
  padding-top: 18px;
}

.source-detail-section {
  display: grid;
  gap: 10px;
}

.source-detail-section-heading {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
  justify-content: space-between;
}

.source-detail-section-heading .source-detail-share-actions {
  margin-left: auto;
}

.source-detail-section-title {
  display: flex;
  gap: 8px;
  align-items: center;
}

.source-detail-section-title h3 {
  margin: 0;
  color: var(--ay-text);
  font-size: 18px;
  font-weight: 760;
  line-height: 1.15;
}

.source-detail-stack {
  display: grid;
  gap: 10px;
}

.source-detail-passage,
.source-detail-insight {
  padding: 14px;
  border: 1px solid rgba(18, 26, 31, 0.1);
  border-left: 3px solid var(--ay-orange);
  border-radius: var(--ay-radius);
  background: rgba(255, 255, 255, 0.62);
}

.source-detail-passage .passage-card__body p,
.source-detail-insight p,
.source-detail-panel .source-excerpt-text p {
  margin: 0 0 10px;
  color: #1f2933;
  font-size: 16px;
  line-height: 1.44;
}

.source-detail-card-grid {
  display: grid;
  gap: 10px;
}

.source-detail-insight h3,
.source-detail-insight h4 {
  margin: 0 0 6px;
  color: var(--ay-text);
  font-size: 18px;
  font-weight: 780;
  line-height: 1.18;
}

.source-detail-insight .button-link {
  width: fit-content;
  min-height: 32px;
  padding: 6px 10px;
  font-size: 13px;
}

.source-detail-insight__action {
  font-weight: 540;
}

.source-detail-insight__actions,
.source-detail-evidence-list {
  display: grid;
  gap: 8px;
  margin: 8px 0 10px;
  padding: 0;
  list-style: none;
}

.source-detail-insight__actions li {
  color: #1f2933;
  font-size: 15px;
  font-weight: 620;
  line-height: 1.38;
}

.source-detail-evidence-list p {
  margin: 0;
}

.source-detail-topic-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.source-detail-topic-links .topic-chip {
  min-height: 28px;
  padding: 4px 9px;
  font-size: 12px;
}

.source-detail-evidence {
  margin: 8px 0 10px;
}

.source-detail-evidence summary {
  width: fit-content;
  color: var(--ay-green);
  cursor: pointer;
  font-size: 13px;
  font-weight: 720;
}

.source-detail-evidence summary:hover,
.source-detail-evidence summary:focus-visible {
  color: var(--ay-orange);
}

.source-detail-evidence div {
  margin-top: 8px;
  padding: 10px;
  border-radius: 8px;
  background: rgba(244, 238, 226, 0.56);
}

.info-hint {
  position: relative;
  display: inline-flex;
  width: 18px;
  height: 18px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(200, 79, 7, 0.26);
  border-radius: 999px;
  background: rgba(239, 107, 19, 0.08);
  color: var(--ay-orange);
  cursor: help;
  font-size: 12px;
  font-weight: 850;
  line-height: 1;
  text-transform: none;
}

.info-hint::after {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  z-index: 10;
  display: none;
  width: min(320px, calc(100dvw - 24px));
  padding: 10px 12px;
  border: 1px solid rgba(18, 26, 31, 0.14);
  border-radius: var(--ay-radius);
  background: var(--ay-green);
  color: #fffaf0;
  content: attr(data-tooltip);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.35;
  text-align: left;
  text-transform: none;
  transform: translateX(-50%);
  box-shadow: 0 16px 34px rgba(18, 26, 31, 0.2);
  pointer-events: none;
  white-space: normal;
}

.info-hint[data-tooltip-align="right"]::after {
  right: 0;
  left: auto;
  transform: none;
}

.info-hint[data-tooltip-align="left"]::after {
  right: auto;
  left: 0;
  transform: none;
}

.info-hint:hover::after,
.info-hint:focus-visible::after {
  display: block;
}

.source-detail-panel .info-hint::after {
  right: 0;
  left: auto;
  width: min(270px, calc(100dvw - 44px));
  transform: none;
}

.ais-Pagination-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.ais-Pagination-link {
  display: inline-flex;
  min-width: 38px;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(18, 26, 31, 0.15);
  border-radius: var(--ay-radius);
  background: rgba(255, 250, 240, 0.72);
  font-weight: 650;
}

.ais-Pagination-item--selected .ais-Pagination-link {
  background: var(--ay-green);
  border-color: var(--ay-green);
  color: #fffaf0;
}

.section-title-with-info {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.record-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
}

.record-topics .topic-chip {
  min-height: 26px;
  padding: 3px 0;
  border: 0;
  background: transparent;
  color: var(--ay-orange);
}

.record-topics .topic-tag::before {
  content: "#";
  margin-right: 0;
}

.record-topics .topic-chip:hover,
.record-topics .topic-chip:focus-visible {
  background: transparent;
  color: var(--ay-green);
}

.site-footer {
  padding: clamp(46px, 6vw, 72px) 20px 26px;
  background: #121a1f;
  color: #f4f0e8;
  font-size: 14px;
  line-height: 1.5;
}

.ay-wrap {
  width: min(100%, 1280px);
  margin: 0 auto;
}

.ay-footer-grid {
  display: grid;
  grid-template-columns: minmax(390px, 1.35fr) repeat(4, minmax(118px, 0.72fr));
  gap: clamp(22px, 2.4vw, 34px);
}

.site-footer h2,
.site-footer h3,
.site-footer p {
  color: inherit;
}

.site-footer h2 {
  margin: 0 0 14px;
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.16;
}

.site-footer h3 {
  margin: 0 0 14px;
  color: var(--ay-orange-on-dark);
  font-size: 15px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.site-footer p,
.ay-footer-bottom {
  color: #c9d0cc;
}

.site-footer p {
  max-width: 330px;
  font-size: 14px;
  line-height: 1.45;
}


.site-footer a {
  color: #f4f0e8;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--ay-orange-on-dark);
  outline: 0;
  text-decoration: underline;
}

.site-footer .eyebrow {
  color: var(--ay-orange-on-dark);
}

.site-footer .ay-button {
  min-height: 42px;
  padding: 9px 14px;
  border-color: var(--ay-orange);
  background: var(--ay-orange);
  color: #ffffff;
}

.site-footer .ay-actions {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  margin-top: 18px;
}

.site-footer .ay-actions .ay-button,
.site-footer .ay-actions .ay-button-secondary {
  flex: 0 0 auto;
  justify-content: center;
  width: auto;
  min-height: 38px;
  padding: 8px 14px;
  font-size: 13px;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}

.site-footer .ay-button-base2026 {
  border-color: #a6d953;
  background: #a6d953;
  color: #121a1f;
}

.site-footer .ay-button:hover,
.site-footer .ay-button:focus-visible {
  border-color: var(--ay-orange-on-dark);
  background: var(--ay-orange-on-dark);
  color: #121a1f;
  text-decoration: none;
}

.ay-footer-socials {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.site-footer .ay-footer-socials__label {
  margin: 0;
  color: var(--ay-orange-on-dark);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.ay-footer-socials__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.ay-social-link {
  display: inline-flex;
  width: 22px;
  height: 22px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #f4f0e8;
  line-height: 1;
  padding: 0;
  text-decoration: none;
}

.ay-social-link svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  flex: 0 0 auto;
}

.site-footer .ay-social-link:hover,
.site-footer .ay-social-link:focus-visible {
  color: var(--ay-orange-on-dark);
  text-decoration: none;
}

.ay-social-link--disabled {
  cursor: default;
  opacity: 0.58;
  pointer-events: none;
}

.site-footer .ay-social-link--disabled:hover,
.site-footer .ay-social-link--disabled:focus-visible {
  background: transparent;
  color: #f4f0e8;
}

.base-contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(18px, 3vw, 32px);
  margin: 22px 0 0;
  padding: clamp(18px, 3vw, 30px);
  border: 1px solid rgba(18, 26, 31, 0.11);
  border-radius: var(--ay-radius-lg);
  background: rgba(255, 250, 240, 0.84);
  box-shadow: var(--ay-shadow);
}

.base-contact-copy {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: clamp(18px, 3vw, 28px);
  border-radius: var(--ay-radius);
  background: linear-gradient(135deg, var(--ay-orange) 0%, var(--ay-orange-on-dark) 100%);
  color: #fffaf0;
  box-shadow: 0 18px 36px rgba(200, 79, 7, 0.2);
}

.base-contact-copy .eyebrow {
  color: #fff4e7;
}

.base-contact-copy h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.02;
}

.base-contact-copy p {
  max-width: 520px;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 16px;
  line-height: 1.45;
}

.contact-email-link {
  width: fit-content;
  color: #ffffff;
  font-weight: 760;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.base-contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.base-contact-form label {
  display: grid;
  gap: 7px;
  color: var(--ay-muted);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.base-contact-form__full {
  grid-column: 1 / -1;
}

.base-contact-form input,
.base-contact-form textarea {
  width: 100%;
  border: 1px solid rgba(18, 26, 31, 0.16);
  border-radius: var(--ay-radius);
  background: rgba(255, 255, 255, 0.74);
  color: var(--ay-text);
  font: inherit;
  font-size: 15px;
  line-height: 1.35;
  text-transform: none;
}

.base-contact-form input {
  min-height: 46px;
  padding: 10px 12px;
}

.base-contact-form textarea {
  min-height: 132px;
  padding: 12px;
  resize: vertical;
}

.base-contact-form input:focus,
.base-contact-form textarea:focus {
  border-color: rgba(200, 79, 7, 0.55);
  outline: 3px solid var(--ay-focus);
}

.base-contact-form button {
  width: fit-content;
}

.site-footer .ay-button-secondary {
  border-color: rgba(255, 255, 255, 0.28);
  background: #f4f0e8;
  color: #121a1f;
}

.site-footer .ay-button-secondary:hover,
.site-footer .ay-button-secondary:focus-visible {
  border-color: var(--ay-orange-on-dark);
  background: var(--ay-orange-on-dark);
  color: #121a1f;
  text-decoration: none;
}

.ay-footer-menu {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-link-button {
  appearance: none;
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  border: 0;
  background: transparent;
  color: #f4f0e8;
  cursor: pointer;
  font: inherit;
  padding: 0;
  text-align: left;
}

.footer-link-button:hover,
.footer-link-button:focus-visible {
  color: var(--ay-orange-on-dark);
  outline: 0;
  text-decoration: underline;
}

.ay-footer-bottom {
  width: min(100%, 1120px);
  margin: 34px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 14px;
}

.cookie-banner {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 90;
  display: grid;
  gap: 10px;
  align-items: center;
  width: min(100% - 36px, 340px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--ay-radius-lg);
  background: rgba(18, 26, 31, 0.96);
  color: #f7f4ee;
  box-shadow: 0 24px 80px rgba(18, 26, 31, 0.28);
  padding: 14px;
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner h2,
.cookie-dialog h2 {
  margin: 0 0 6px;
  color: #f7f4ee;
  font-size: 20px;
  line-height: 1.2;
}

.cookie-banner p,
.cookie-dialog p {
  margin: 0;
  color: #d7ddd8;
  font-size: 14px;
  line-height: 1.48;
}

.cookie-banner p {
  display: none;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.cookie-actions .ay-button,
.cookie-actions .ay-button-secondary {
  min-height: 34px;
  padding: 7px 10px;
  font-size: 13px;
}

.cookie-dialog {
  width: min(92vw, 620px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--ay-radius-lg);
  background: #121a1f;
  color: #f7f4ee;
  padding: 0;
  box-shadow: 0 28px 90px rgba(18, 26, 31, 0.36);
}

.cookie-dialog::backdrop {
  background: rgba(18, 26, 31, 0.56);
}

.cookie-dialog form {
  display: grid;
  gap: 20px;
  padding: clamp(20px, 4vw, 30px);
}

.cookie-dialog .eyebrow {
  color: var(--ay-orange-on-dark);
}

.cookie-options {
  display: grid;
  gap: 12px;
}

.cookie-options label {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--ay-radius);
  background: rgba(255, 255, 255, 0.05);
  padding: 12px;
  color: #f7f4ee;
  font-weight: 650;
}

.cookie-options label span {
  grid-column: 2;
  color: #c9d0cc;
  font-size: 13px;
  font-weight: 400;
}

.content-page {
  padding-top: 54px;
}

.page-hero {
  max-width: 980px;
  margin-bottom: 30px;
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid rgba(18, 26, 31, 0.1);
  border-radius: 8px;
  background:
    radial-gradient(circle at 10% 0%, rgba(239, 107, 19, 0.1), transparent 22rem),
    rgba(255, 250, 240, 0.82);
  box-shadow: var(--ay-shadow);
}

.page-hero h1 {
  max-width: 900px;
  margin-bottom: 14px;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.04;
  text-wrap: balance;
}

.topic-page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 360px);
  gap: clamp(16px, 3vw, 28px);
  align-items: start;
  max-width: none;
}

.topic-page-hero__main {
  min-width: 0;
}

.topic-page-hero__tools {
  display: grid;
  gap: 12px;
  justify-items: end;
  min-width: 0;
}

.source-share-actions--inline {
  padding: 2px;
}

.topic-stat-grid {
  display: grid;
  width: min(100%, 360px);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid rgba(18, 26, 31, 0.11);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.42);
}

.topic-stat-grid div {
  min-width: 0;
  padding: 10px 11px;
  border-right: 1px solid rgba(18, 26, 31, 0.1);
}

.topic-stat-grid div:last-child {
  border-right: 0;
}

.topic-stat-grid strong {
  display: block;
  color: var(--ay-text);
  font-size: 22px;
  font-weight: 760;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.topic-stat-grid span {
  display: block;
  margin-top: 5px;
  color: var(--ay-muted);
  font-size: 11px;
  font-weight: 650;
  line-height: 1.18;
}

.topic-signal-brief {
  display: grid;
  gap: 18px;
}

.signal-brief-head,
.signal-brief-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  min-width: 0;
}

.signal-brief-head h2 {
  margin: 0;
  color: var(--ay-text);
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 790;
  line-height: 1.12;
}

.signal-stat-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.signal-stat {
  display: grid;
  min-width: 86px;
  padding: 8px 10px;
  border: 1px solid rgba(18, 26, 31, 0.11);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.5);
  color: var(--ay-muted);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
}

.signal-stat strong {
  color: var(--ay-text);
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.signal-block {
  min-width: 0;
  padding: 13px;
  border: 1px solid rgba(18, 26, 31, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.42);
}

.signal-block h3 {
  margin: 0 0 9px;
  color: var(--ay-text);
  font-size: 15px;
  font-weight: 780;
  line-height: 1.15;
}

.signal-block ul,
.signal-block ol,
.signal-momentum ol {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.signal-block li {
  min-width: 0;
  color: var(--ay-muted);
  font-size: 14px;
  line-height: 1.38;
}

.signal-block li strong {
  display: block;
  color: var(--ay-text);
  font-weight: 760;
}

.signal-block li span {
  display: block;
  min-width: 0;
}

.signal-row a,
.signal-source-list a,
.signal-block li a {
  color: var(--ay-green);
  font-weight: 760;
  overflow-wrap: anywhere;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.14em;
}

.signal-source-list__item span {
  margin-top: 3px;
  color: var(--ay-muted);
  font-size: 12px;
  font-weight: 650;
}

.signal-momentum {
  min-width: min(100%, 310px);
}

.signal-momentum > span {
  display: block;
  margin-bottom: 7px;
  color: var(--ay-muted);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.signal-momentum li {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
  min-height: 26px;
  overflow: hidden;
  padding: 4px 8px;
  border-radius: 6px;
  color: var(--ay-text);
  font-size: 12px;
  font-weight: 700;
}

.signal-momentum li::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--signal-width, 12%);
  border-radius: inherit;
  background: rgba(208, 255, 56, 0.34);
  content: "";
}

.signal-momentum li span,
.signal-momentum li strong {
  position: relative;
  z-index: 1;
}

.signal-tools,
.signal-brief-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.signal-tool {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 5px 9px;
  border: 1px solid rgba(18, 26, 31, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  color: var(--ay-green);
  font-size: 12px;
  font-weight: 760;
}

.content-section,
.metric-row {
  margin-bottom: 18px;
  border: 1px solid var(--ay-line);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.78);
  box-shadow: 0 10px 28px rgba(42, 31, 19, 0.055);
}

.content-section {
  padding: clamp(18px, 2.5vw, 26px);
}

.doc-page,
.support-page,
.roadmap-page {
  max-width: 1080px;
}

.roadmap-page {
  max-width: 1180px;
}

.doc-page .lead,
.support-page .lead,
.roadmap-page .lead {
  max-width: 780px;
}

.doc-page .content-section,
.support-page .content-section,
.roadmap-page .content-section {
  background: rgba(255, 250, 240, 0.78);
}

.content-section h2 {
  max-width: 780px;
  margin-bottom: 12px;
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.12;
  text-wrap: balance;
}

.section-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 780px;
  margin-bottom: 12px;
}

.section-title-row h2 {
  margin-bottom: 0;
}

.section-helper {
  margin-top: -2px;
  margin-bottom: 16px;
  color: var(--ay-muted);
  font-size: 15px;
}

.content-section h3 {
  margin: 20px 0 8px;
  color: var(--ay-text);
  font-size: 18px;
  line-height: 1.16;
}

.content-section p {
  max-width: 74ch;
  color: #2f3b43;
}

.content-section ul {
  display: grid;
  gap: 8px;
  margin: 0 0 16px;
  padding-left: 1.15rem;
}

.content-section li {
  max-width: 74ch;
  padding-left: 0.15rem;
  color: #2f3b43;
}

.content-section code {
  padding: 0.08em 0.28em;
  border-radius: 4px;
  background: rgba(18, 26, 31, 0.08);
  font-size: 0.94em;
}

.content-section a {
  color: var(--ay-green);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.16em;
}

.evidence-qa-section {
  background: rgba(255, 250, 240, 0.86);
}

.evidence-qa-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.evidence-qa-card {
  padding: 14px 16px;
  border: 1px solid rgba(18, 26, 31, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.62);
}

.evidence-qa-card h3 {
  margin: 0 0 7px;
  color: var(--ay-green);
  font-size: 16px;
  line-height: 1.18;
}

.evidence-qa-card p {
  margin: 0;
  color: #344149;
}

.share-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: -6px 0 16px;
  padding: 9px 10px;
  border: 1px solid rgba(18, 26, 31, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.56);
}

.share-actions--compact {
  margin: -6px 0 16px;
  padding: 9px 10px;
  background: rgba(255, 255, 255, 0.56);
}

.share-actions__label {
  display: inline-flex;
  align-items: center;
  margin-right: 4px;
  color: var(--ay-muted);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.share-action {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border: 1px solid rgba(18, 26, 31, 0.16);
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.78);
  color: var(--ay-text);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 760;
}

.share-action svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.share-action--primary {
  border-color: rgba(9, 45, 38, 0.2);
  background: var(--ay-green);
  color: #fffaf0;
}

.share-action:hover,
.share-action:focus-visible {
  border-color: rgba(200, 79, 7, 0.34);
  background: rgba(239, 107, 19, 0.1);
  color: var(--ay-text);
  outline: 0;
}

.share-action--primary:hover,
.share-action--primary:focus-visible {
  background: var(--ay-orange);
  color: #fffaf0;
}

.share-actions__status {
  min-width: 92px;
  color: var(--ay-green);
  font-size: 13px;
  font-weight: 760;
}

.source-page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 360px);
  gap: 18px;
  align-items: start;
  max-width: 980px;
}

.source-hero-main {
  min-width: 0;
}

.source-hero-tools {
  display: grid;
  gap: 10px;
  justify-items: end;
  min-width: 0;
}

.source-hero-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
}

.source-share-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  justify-content: flex-end;
}

.source-share-actions__label {
  color: var(--ay-muted);
  font-size: 11px;
  font-weight: 780;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.source-share-action {
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--ay-green);
  cursor: pointer;
  padding: 0;
}

.source-share-action svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.source-share-action:hover,
.source-share-action:focus-visible {
  color: var(--ay-orange);
  outline: 1px solid rgba(200, 79, 7, 0.26);
  outline-offset: 2px;
}

.source-share-actions__status {
  min-width: 0;
  flex-basis: 100%;
  text-align: right;
}

.source-hero-quick-meta {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
  color: var(--ay-muted);
  font-size: 13px;
  font-weight: 760;
}

.source-meta-inline {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--ay-muted);
  line-height: 1;
}

.source-meta-inline svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.source-meta-inline strong {
  color: var(--ay-text);
  font-size: 14px;
  line-height: 1;
}

.source-hero-topic-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
  min-width: 0;
}

.source-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  justify-content: flex-end;
  min-width: 0;
}

.source-meta-chip {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  gap: 7px;
  max-width: 100%;
  padding: 5px 8px;
  border: 1px solid rgba(18, 26, 31, 0.12);
  border-radius: 6px;
  background: rgba(255, 250, 240, 0.62);
  color: var(--ay-text);
  font-size: 13px;
  font-weight: 760;
  line-height: 1.1;
}

.source-meta-chip strong {
  color: var(--ay-text);
  font-size: 16px;
  line-height: 1;
}

.source-meta-chip .info-hint {
  flex: 0 0 auto;
}

.source-meta-chip svg {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  fill: currentColor;
}

.source-meta-chip--platform {
  padding-inline: 7px;
}

.source-meta-chip--platform .platform-icon-only {
  width: 18px;
  height: 18px;
}

.source-meta-chip--platform .platform-logo {
  width: 16px;
  height: 16px;
}

.source-meta-chip--topics {
  flex: 0 1 auto;
  justify-content: flex-end;
}

.source-meta-chip--topics .topic-chip-list {
  gap: 5px;
  justify-content: flex-end;
}

.source-meta-chip--topics .topic-chip {
  min-height: 24px;
  padding: 3px 7px;
  font-size: 12px;
}

.source-meta-empty {
  color: var(--ay-muted);
  font-size: 12px;
  font-weight: 700;
}

.roadmap-page .page-hero {
  display: grid;
  gap: 12px;
  max-width: 900px;
  margin-bottom: 26px;
}

.roadmap-experience {
  position: relative;
  margin: 28px 0;
  padding: clamp(22px, 4vw, 36px);
  overflow: hidden;
  border: 1px solid rgba(18, 26, 31, 0.12);
  border-radius: 8px;
  background:
    radial-gradient(circle at 14% 0%, rgba(239, 107, 19, 0.11), transparent 28rem),
    linear-gradient(180deg, rgba(255, 250, 240, 0.96), rgba(247, 244, 238, 0.92));
  color: var(--ay-text);
  box-shadow: 0 18px 42px rgba(42, 31, 19, 0.09);
}

.roadmap-experience::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.46), transparent 32%, rgba(255, 240, 227, 0.34));
}

.roadmap-experience > * {
  position: relative;
  z-index: 1;
}

.roadmap-experience__intro {
  max-width: 780px;
  margin-bottom: clamp(22px, 4vw, 36px);
}

.roadmap-experience__intro h2 {
  margin: 0 0 12px;
  max-width: 900px;
  color: var(--ay-text);
  font-size: clamp(31px, 4.4vw, 52px);
  line-height: 1;
  letter-spacing: 0;
}

.roadmap-experience__intro p:not(.eyebrow),
.roadmap-card p,
.roadmap-card li {
  color: var(--ay-muted);
}

.roadmap-app {
  display: grid;
  gap: 24px;
}

.roadmap-loading {
  margin: 0;
  color: #cad3d0;
}

.roadmap-nav {
  position: sticky;
  top: 84px;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 8px;
  border: 1px solid rgba(18, 26, 31, 0.1);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.88);
  box-shadow: 0 12px 28px rgba(42, 31, 19, 0.08);
  backdrop-filter: blur(14px);
}

.roadmap-nav__button {
  min-height: 38px;
  padding: 8px 13px;
  border: 1px solid rgba(18, 26, 31, 0.13);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.58);
  color: var(--ay-text);
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  letter-spacing: 0;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.roadmap-nav__button:hover,
.roadmap-nav__button:focus-visible,
.roadmap-nav__button.is-active {
  border-color: rgba(200, 79, 7, 0.36);
  background: rgba(255, 240, 227, 0.9);
  color: var(--ay-orange);
}

.roadmap-stage {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: clamp(14px, 3vw, 28px);
}

.roadmap-rail {
  position: sticky;
  top: 150px;
  width: 2px;
  height: min(62vh, 520px);
  margin: 10px auto 0;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(18, 26, 31, 0.11);
}

.roadmap-rail__fill {
  display: block;
  width: 100%;
  height: var(--roadmap-progress, 16%);
  border-radius: inherit;
  background: linear-gradient(180deg, var(--ay-orange-2), var(--ay-orange));
  transition: height 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.roadmap-card-list {
  display: grid;
  gap: 18px;
}

.roadmap-card {
  position: relative;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 14px;
  opacity: 0.82;
  transform: translateY(12px);
  transition: opacity 260ms ease, transform 260ms ease;
}

.roadmap-card.is-active {
  opacity: 1;
  transform: translateY(0);
}

.roadmap-card__marker {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-top: 22px;
  border: 1px solid rgba(200, 79, 7, 0.22);
  border-radius: 50%;
  background: rgba(255, 250, 240, 0.96);
  color: var(--ay-orange);
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(42, 31, 19, 0.08);
}

.roadmap-card__body {
  padding: clamp(18px, 3vw, 26px);
  border: 1px solid rgba(18, 26, 31, 0.11);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.88);
  box-shadow: 0 14px 34px rgba(42, 31, 19, 0.08);
}

.roadmap-card.is-active .roadmap-card__body {
  border-color: rgba(200, 79, 7, 0.24);
  background: rgba(255, 255, 255, 0.86);
}

.roadmap-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.roadmap-card__lane,
.roadmap-card__quarter,
.roadmap-status {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 9px;
  border: 1px solid rgba(18, 26, 31, 0.12);
  border-radius: 999px;
  color: var(--ay-text);
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
}

.roadmap-card__lane {
  border-color: rgba(200, 79, 7, 0.28);
  background: rgba(255, 240, 227, 0.68);
  color: var(--ay-orange);
}

.roadmap-card__quarter {
  color: var(--ay-muted);
}

.roadmap-status.is-done {
  border-color: rgba(18, 26, 31, 0.12);
  background: rgba(18, 26, 31, 0.05);
}

.roadmap-status.is-progress {
  border-color: rgba(200, 79, 7, 0.32);
  background: rgba(255, 240, 227, 0.72);
  color: var(--ay-orange);
}

.roadmap-status.is-planned,
.roadmap-status.is-research {
  background: rgba(255, 255, 255, 0.66);
}

.roadmap-card h3 {
  margin: 0 0 8px;
  color: var(--ay-text);
  font-size: clamp(23px, 2.8vw, 34px);
  line-height: 1.08;
}

.roadmap-card p {
  max-width: 820px;
  margin: 0 0 16px;
  font-size: 17px;
  line-height: 1.52;
}

.roadmap-card__outcomes {
  display: grid;
  gap: 8px;
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
}

.roadmap-card__outcomes li {
  position: relative;
  padding-left: 20px;
}

.roadmap-card__outcomes li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ay-orange);
}

.roadmap-card__details {
  border-top: 1px solid rgba(18, 26, 31, 0.1);
  padding-top: 12px;
}

.roadmap-card__details summary {
  color: var(--ay-text);
  cursor: pointer;
  font-weight: 800;
}

.roadmap-card__details ul {
  display: grid;
  gap: 7px;
  margin: 12px 0 0;
  padding-left: 1.1rem;
}

.roadmap-enhanced .roadmap-fallback {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.support-page .content-section:first-of-type {
  border-color: rgba(200, 79, 7, 0.26);
  box-shadow: 0 18px 46px rgba(200, 79, 7, 0.09);
}

.table-wrap {
  max-width: 100%;
  margin: 14px 0 18px;
  overflow-x: auto;
}

.table-wrap table {
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
}

.table-wrap th,
.table-wrap td {
  padding: 10px 12px;
  border: 1px solid rgba(18, 26, 31, 0.12);
  text-align: left;
  vertical-align: top;
}

.table-wrap th {
  background: rgba(18, 26, 31, 0.06);
  color: var(--ay-text);
  font-weight: 760;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
}

.metric-row div {
  padding: 18px 20px;
  border-right: 1px solid var(--ay-line);
}

.metric-row div:last-child {
  border-right: 0;
}

.metric-row strong {
  display: block;
  color: var(--ay-text);
  font-size: 27px;
  font-weight: 760;
}

.metric-row span {
  color: var(--ay-muted);
  font-size: 14px;
}

.source-meta-strip {
  display: grid;
  grid-template-columns: minmax(120px, 0.7fr) minmax(90px, 0.4fr) minmax(84px, 0.35fr) minmax(280px, 1.8fr);
  gap: 0;
  margin-bottom: 14px;
  overflow: hidden;
  border: 1px solid var(--ay-line);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.78);
  box-shadow: 0 10px 28px rgba(42, 31, 19, 0.055);
}

.source-meta-strip > div {
  display: grid;
  align-content: center;
  gap: 3px;
  min-width: 0;
  padding: 11px 14px;
  border-right: 1px solid var(--ay-line);
}

.source-meta-strip > div:last-child {
  border-right: 0;
}

.source-meta-strip span {
  color: var(--ay-muted);
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.source-meta-strip strong {
  color: var(--ay-text);
  font-size: 17px;
  font-weight: 760;
  line-height: 1.15;
}

.source-meta-strip__topics {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  column-gap: 12px;
}

.source-meta-strip__topics .topic-chip-list {
  gap: 6px;
}

.source-meta-strip__topics .topic-chip {
  min-height: 26px;
  padding: 3px 8px;
  font-size: 12px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: 14px;
}

.intelligence-card {
  min-width: 0;
  padding: 18px;
  border: 1px solid rgba(18, 26, 31, 0.12);
  border-radius: var(--ay-radius-lg);
  background: rgba(255, 255, 255, 0.54);
  overflow-wrap: anywhere;
}

.intelligence-card h3 {
  margin-bottom: 8px;
  font-size: 18px;
  line-height: 1.18;
}

.intelligence-card p {
  color: #1f2933;
}

.roadmap-page .roadmap-experience__intro h2 {
  max-width: 780px;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.04;
}

.roadmap-page .roadmap-experience__intro p:not(.eyebrow) {
  font-size: 17px;
}

.roadmap-page .control-strip {
  align-items: stretch;
}

.roadmap-page .phase-tabs {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.roadmap-page .phase-tab {
  display: grid;
  min-height: 78px;
  align-content: start;
  gap: 3px;
  padding: 10px;
}

.roadmap-page .phase-tab strong {
  font-size: 16px;
}

.roadmap-page .phase-tab small {
  display: block;
  color: var(--ay-muted);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.15;
}

.roadmap-page .phase-tab.is-active small,
.roadmap-page .phase-tab:hover small,
.roadmap-page .phase-tab:focus-visible small {
  color: #7b3308;
}

.roadmap-page .flow-canvas {
  overflow: visible;
  padding: 0;
}

.roadmap-page .phase-sequence {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.roadmap-page .sequence-step {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  min-width: 0;
  padding: 13px;
  border: 1px solid rgba(18, 26, 31, 0.1);
  border-radius: var(--ay-radius);
  background: rgba(255, 255, 255, 0.58);
  color: var(--ay-text);
  cursor: pointer;
  text-align: left;
}

.roadmap-page .sequence-step:hover,
.roadmap-page .sequence-step:focus-visible,
.roadmap-page .sequence-step.is-active {
  border-color: rgba(200, 79, 7, 0.34);
  background: var(--ay-orange-soft);
  outline: 0;
}

.roadmap-page .sequence-step__number {
  color: var(--ay-orange);
  font-size: 22px;
  font-weight: 780;
  line-height: 1;
}

.roadmap-page .sequence-step__body {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.roadmap-page .sequence-step__body strong {
  font-size: 17px;
  line-height: 1.12;
}

.roadmap-page .sequence-step__body em,
.roadmap-page .sequence-step__body small {
  color: var(--ay-muted);
  font-size: 13px;
  font-style: normal;
  line-height: 1.25;
}

.roadmap-page .phase-name {
  font-size: clamp(25px, 2.4vw, 34px);
  line-height: 1.04;
}

.roadmap-page .roadmap-panel-head h2 {
  font-size: clamp(22px, 2vw, 29px);
}

.support-page .page-hero {
  max-width: 900px;
}

.support-experience {
  margin: 0 0 22px;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid rgba(18, 26, 31, 0.11);
  border-radius: var(--ay-radius);
  background:
    radial-gradient(circle at 8% 0%, rgba(239, 107, 19, 0.1), transparent 26rem),
    rgba(255, 250, 240, 0.84);
  box-shadow: var(--ay-shadow);
}

.support-experience__intro {
  max-width: 760px;
  margin-bottom: 18px;
}

.support-experience__intro h2 {
  margin: 0 0 10px;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.05;
}

.support-experience__intro p:not(.eyebrow) {
  color: var(--ay-muted);
  font-size: 17px;
}

.support-lanes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.support-lanes article {
  padding: 16px;
  border: 1px solid rgba(18, 26, 31, 0.1);
  border-radius: var(--ay-radius);
  background: rgba(255, 255, 255, 0.58);
}

.support-lanes span {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--ay-orange);
  font-size: 22px;
  font-weight: 780;
  line-height: 1;
}

.support-lanes h3 {
  margin: 0 0 8px;
  font-size: 20px;
  line-height: 1.12;
}

.support-lanes p {
  margin: 0;
  color: #2f3b43;
}

.support-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.support-flow span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 6px 10px;
  border: 1px solid rgba(200, 79, 7, 0.22);
  border-radius: 999px;
  background: var(--ay-orange-soft);
  color: #6c2a04;
  font-size: 14px;
  font-weight: 760;
}

@media (max-width: 1100px) {
  .roadmap-page .phase-tabs,
  .roadmap-page .phase-sequence,
  .support-lanes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .base-contact-section {
    grid-template-columns: 1fr;
  }

  .source-page-hero,
  .topic-page-hero {
    grid-template-columns: 1fr;
  }

  .source-hero-tools,
  .source-share-actions,
  .source-hero-meta,
  .topic-page-hero__tools,
  .source-meta-chip--topics .topic-chip-list {
    justify-items: start;
    justify-content: flex-start;
  }

  .source-share-actions__status {
    text-align: left;
  }

  .source-meta-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .source-meta-strip__topics {
    grid-column: 1 / -1;
    border-top: 1px solid var(--ay-line);
  }
}

@media (max-width: 640px) {
  .base-contact-section {
    padding: 16px;
    border-radius: 10px;
  }

  .base-contact-form {
    grid-template-columns: 1fr;
  }

  .base-contact-form button,
  .contact-email-link {
    width: 100%;
  }

  .site-footer .ay-actions {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 6px;
  }

  .site-footer .ay-actions .ay-button,
  .site-footer .ay-actions .ay-button-secondary {
    width: auto;
    min-width: 0;
    min-height: 38px;
    padding: 8px 7px;
    font-size: 11px;
    letter-spacing: -0.01em;
  }

  .site-footer .ay-actions .ay-button:first-child {
    flex: 1.45 1 0;
  }

  .site-footer .ay-actions .ay-button-secondary {
    flex: 1 1 0;
  }

  .site-footer .ay-actions .ay-button-base2026 {
    flex: 0.85 1 0;
  }
}

.topic-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.topic-chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 9px;
  border: 1px solid rgba(18, 26, 31, 0.18);
  border-radius: 999px;
  background: rgba(239, 107, 19, 0.1);
  color: #6c2a04;
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
}

.topic-chip:hover {
  border-color: rgba(9, 114, 107, 0.32);
  background: rgba(9, 114, 107, 0.1);
  color: var(--ay-green);
}

.topic-tag {
  min-height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ay-orange);
  font-weight: 720;
  line-height: 1.24;
}

.topic-tag::before {
  content: "#";
  margin-right: 1px;
  color: var(--ay-orange);
}

.topic-tag span {
  display: inline-flex;
  min-width: 18px;
  height: 18px;
  align-items: center;
  justify-content: center;
  margin-left: 4px;
  padding: 0 5px;
  border-radius: 999px;
  background: rgba(18, 26, 31, 0.08);
  color: var(--ay-muted);
  font-family: var(--ay-font-mono);
  font-size: 10px;
  font-weight: 600;
}

.topic-tag--signal span {
  background: rgba(9, 114, 107, 0.12);
  color: var(--ay-green);
}

.topic-tag:hover,
.topic-tag:focus-visible {
  border: 0;
  background: transparent;
  color: var(--ay-orange-2);
  font-weight: 820;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.16em;
  outline: 0;
}

.result-topic-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.result-topic-list .topic-chip {
  min-height: 26px;
  padding: 3px 9px;
  font-size: 12px;
}

.comparison-grid {
  display: grid;
  gap: 16px;
}

.comparison-group {
  padding: 18px;
  border: 1px solid rgba(18, 26, 31, 0.12);
  border-radius: var(--ay-radius-lg);
  background: rgba(255, 255, 255, 0.56);
}

.comparison-group h3 {
  margin-bottom: 12px;
  font-size: 21px;
}

.comparison-group h3 a {
  color: var(--ay-green);
  text-decoration: none;
}

.comparison-group ul {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.comparison-group li {
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(18, 26, 31, 0.1);
}

.comparison-group li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

blockquote {
  margin: 0 0 14px;
  padding: 14px 16px;
  border-left: 4px solid var(--ay-orange);
  border-radius: var(--ay-radius);
  background: rgba(255, 255, 255, 0.55);
  color: #1f2933;
}

.passage-stack {
  display: grid;
  gap: 12px;
}

.passage-preview {
  margin-bottom: 0;
}

.passage-card {
  display: grid;
  gap: 9px;
  padding: 13px 15px;
  border: 1px solid rgba(18, 26, 31, 0.1);
  border-left: 3px solid var(--ay-orange);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.56);
}

.passage-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
  color: var(--ay-muted);
  font-size: 13px;
  font-weight: 700;
}

.passage-card__meta > * + *::before {
  margin-right: 7px;
  color: rgba(18, 26, 31, 0.28);
  content: "/";
  font-weight: 650;
}

.passage-card__body {
  display: grid;
  gap: 8px;
}

.passage-card__body p,
.source-excerpt-text p {
  max-width: 72ch;
  margin: 0;
  color: #2f3b43;
  font-size: 16px;
  line-height: 1.5;
}

.source-excerpt-text {
  display: grid;
  gap: 10px;
}

.source-full-text {
  max-width: 82ch;
}

.source-full-text p {
  font-size: 17px;
  line-height: 1.58;
}

.source-policy-note,
.empty-state {
  max-width: 760px;
  border: 1px solid rgba(200, 79, 7, 0.2);
  border-radius: var(--ay-radius);
  background: linear-gradient(135deg, rgba(239, 107, 19, 0.1), rgba(255, 255, 255, 0.62));
  color: #4d2a16;
}

.source-policy-note {
  display: grid;
  gap: 6px;
  margin-top: 18px;
  padding: 14px 16px;
}

.source-policy-note strong {
  color: #8f3400;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.source-policy-note span {
  color: #2f3b43;
  line-height: 1.55;
}

.empty-state {
  margin: 0;
  padding: 14px 16px;
  color: #4f5961;
}

/* Desktop density correction: Base2026 is a product workspace, not a poster page. */
.content-page {
  padding-top: 38px;
}

.page-hero {
  max-width: 860px;
  margin-bottom: 20px;
  padding: 22px 26px;
}

.page-hero.topic-page-hero {
  max-width: none;
}

.page-hero h1,
.creator-page .page-hero h1,
.doc-page .page-hero h1,
.support-page .page-hero h1,
.roadmap-page .page-hero h1 {
  max-width: 760px;
  margin-bottom: 10px;
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 690;
  line-height: 1.08;
}

.page-hero .lead,
.doc-page .lead,
.support-page .lead,
.roadmap-page .lead {
  max-width: 720px;
  margin-bottom: 16px;
  font-size: 16px;
  line-height: 1.45;
}

.hero-actions .ay-button,
.hero-actions .ay-button-secondary {
  min-height: 38px;
  padding: 8px 12px;
}

.page-hero.source-page-hero {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 360px);
  max-width: 980px;
}

@media (max-width: 1100px) {
  .page-hero.source-page-hero {
    grid-template-columns: 1fr;
    max-width: 860px;
  }
}

.content-section {
  margin-bottom: 14px;
  padding: 18px 22px;
}

.content-section h2 {
  margin-bottom: 10px;
  font-size: clamp(19px, 1.45vw, 24px);
  line-height: 1.16;
}

.content-section h3 {
  margin: 16px 0 6px;
  font-size: 17px;
}

.content-section p,
.content-section li {
  max-width: 78ch;
  font-size: 16px;
  line-height: 1.46;
}

.roadmap-page .roadmap-experience,
.support-experience {
  margin: 0 0 18px;
  padding: 20px 24px;
}

.roadmap-page .roadmap-experience__intro,
.support-experience__intro {
  max-width: 720px;
  margin-bottom: 14px;
}

.roadmap-page .roadmap-experience__intro h2,
.support-experience__intro h2 {
  max-width: 720px;
  margin-bottom: 8px;
  font-size: clamp(23px, 2.25vw, 32px);
  line-height: 1.08;
}

.roadmap-page .roadmap-experience__intro p:not(.eyebrow),
.support-experience__intro p:not(.eyebrow) {
  max-width: 720px;
  font-size: 16px;
  line-height: 1.42;
}

.roadmap-page .summary-strip {
  margin-bottom: 12px;
}

.roadmap-page .summary-strip article {
  padding: 12px 14px;
}

.roadmap-page .summary-strip strong {
  font-size: clamp(15px, 1.35vw, 18px);
  line-height: 1.14;
}

.roadmap-page .control-strip {
  position: relative;
  top: auto;
  margin-bottom: 12px;
  padding: 8px;
}

.roadmap-page .phase-tab {
  min-height: 64px;
  padding: 8px 10px;
}

.roadmap-page .phase-tab strong {
  font-size: 14px;
}

.roadmap-page .phase-tab small {
  font-size: 11px;
}

.roadmap-page .roadmap-panel {
  padding: 16px;
}

.roadmap-page .roadmap-panel-head {
  margin-bottom: 12px;
  padding-bottom: 10px;
}

.roadmap-page .roadmap-panel-head h2 {
  font-size: clamp(18px, 1.45vw, 23px);
  line-height: 1.14;
}

.roadmap-page .phase-sequence {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.roadmap-page .sequence-step {
  grid-template-columns: 34px minmax(0, 1fr);
  padding: 10px;
}

.roadmap-page .sequence-step__number {
  font-size: 18px;
}

.roadmap-page .sequence-step__body strong {
  font-size: 15px;
}

.roadmap-page .sequence-step__body em,
.roadmap-page .sequence-step__body small {
  font-size: 12px;
  line-height: 1.22;
}

.roadmap-page .phase-name {
  font-size: clamp(21px, 1.8vw, 28px);
  line-height: 1.08;
}

.roadmap-page .phase-purpose {
  font-size: 16px;
}

.roadmap-page .funding-card h3,
.roadmap-page .priority-column h3,
.roadmap-page .proof-card h3,
.support-lanes h3 {
  font-size: 17px;
}

.roadmap-page .proof-card p,
.support-lanes p {
  font-size: 15px;
  line-height: 1.42;
}

.support-lanes article {
  padding: 13px 14px;
}

.support-lanes span {
  margin-bottom: 8px;
  font-size: 18px;
}

.support-flow {
  margin-top: 12px;
}

@media (max-width: 1100px) {
  .ay-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ay-footer-grid > section:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 980px) {
  .site-header__bar {
    flex-wrap: wrap;
    padding: 14px 0;
  }

  .site-header__nav {
    order: 3;
    width: 100%;
    overflow-x: auto;
  }

  .hero,
  .meili-grid,
  .project-identity {
    grid-template-columns: 1fr;
  }

  .cookie-banner {
    grid-template-columns: 1fr;
  }

  .cookie-actions {
    justify-content: stretch;
  }

  .cookie-actions .ay-button,
  .cookie-actions .ay-button-secondary {
    flex: 1 1 180px;
  }

  .roadmap-stage {
    grid-template-columns: 28px minmax(0, 1fr);
  }

  .roadmap-nav {
    top: 112px;
  }

  .roadmap-card {
    grid-template-columns: 34px minmax(0, 1fr);
  }

  .roadmap-card__marker {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }
}

@media (max-width: 640px) {
  .app-shell {
    width: min(100% - 22px, 1180px);
    padding-top: 34px;
  }

  h1 {
    font-size: 38px;
  }

  .site-header__nav {
    display: none;
  }

  .site-header__cta {
    width: 100%;
  }

  .breadcrumbs {
    margin-top: -14px;
    margin-bottom: 18px;
    font-size: 13px;
  }

  .ais-SearchBox-form {
    grid-template-columns: 1fr 44px;
  }

  .ais-SearchBox-reset {
    display: none;
  }

  .hero-card div {
    grid-template-columns: 86px 1fr;
  }

  .metric-row {
    grid-template-columns: 1fr;
  }

  .source-meta-strip {
    grid-template-columns: 1fr;
  }

  .source-meta-strip > div {
    border-right: 0;
    border-bottom: 1px solid var(--ay-line);
  }

  .source-meta-strip > div:last-child {
    border-bottom: 0;
  }

  .source-meta-strip__topics {
    grid-template-columns: 1fr;
    align-items: start;
    border-top: 0;
  }

  .share-action {
    flex: 1 1 135px;
    justify-content: center;
  }

  .source-share-action {
    flex: 0 0 32px;
  }

  .source-share-actions__label {
    flex: 1 1 100%;
  }

  .source-meta-chip--topics {
    justify-content: flex-start;
  }

  .metric-row div {
    border-right: 0;
    border-bottom: 1px solid var(--ay-line);
  }

  .metric-row div:last-child {
    border-bottom: 0;
  }

  .roadmap-experience {
    margin-right: 0;
    margin-left: 0;
    padding: 22px 14px;
    border-radius: 8px;
  }

  .roadmap-experience__intro h2 {
    font-size: 32px;
  }

  .roadmap-nav {
    position: relative;
    top: auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .roadmap-stage {
    grid-template-columns: 1fr;
  }

  .roadmap-rail {
    display: none;
  }

  .roadmap-card {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .roadmap-card__marker {
    margin-top: 0;
  }

  .roadmap-card__body {
    padding: 18px;
  }

  .roadmap-card__meta {
    align-items: flex-start;
  }

  .results-panel {
    order: 1;
  }

  .filter-panel {
    order: 2;
  }

  .ay-footer-grid {
    grid-template-columns: 1fr;
  }

  .site-footer .ay-actions {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  .site-footer .ay-actions .ay-button,
  .site-footer .ay-actions .ay-button-secondary {
    width: 100%;
  }

  .cookie-banner {
    right: 12px;
    bottom: 12px;
    left: 12px;
    width: calc(100% - 24px);
    max-height: calc(100dvh - 24px);
    overflow: auto;
    padding: 14px;
  }
}

/* Mobile video review correction: make Base2026 feel like a compact product surface. */
@media (max-width: 640px) {
  body {
    font-size: 14px;
    line-height: 1.38;
  }

  .site-header__bar {
    gap: 8px;
    padding: 10px 0;
  }

  .site-header__brand {
    font-size: 16px;
  }

  .site-header__cta {
    width: auto;
    min-height: 34px;
    margin-left: auto;
    padding: 7px 10px;
    font-size: 13px;
  }

  .app-shell,
  .content-page {
    width: min(100% - 18px, 1180px);
    padding-top: 16px;
    padding-bottom: 36px;
  }

  .breadcrumbs {
    margin: 0 0 10px;
    font-size: 12px;
  }

  .hero {
    gap: 10px;
    margin-bottom: 10px;
  }

  h1,
  .page-hero h1,
  .creator-page .page-hero h1,
  .doc-page .page-hero h1,
  .support-page .page-hero h1,
  .roadmap-page .page-hero h1 {
    margin-bottom: 8px;
    font-size: clamp(23px, 6.6vw, 28px);
    line-height: 1.05;
  }

  .lead,
  .page-hero .lead,
  .doc-page .lead,
  .support-page .lead,
  .roadmap-page .lead {
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.34;
  }

  .eyebrow,
  .source-kicker {
    margin-bottom: 6px;
    font-size: 11px;
    letter-spacing: 0.06em;
  }

  .hero-actions {
    gap: 7px;
  }

  .hero-actions .ay-button,
  .hero-actions .ay-button-secondary,
  .ay-button,
  .ay-button-secondary,
  .button-link {
    min-height: 34px;
    padding: 7px 10px;
    font-size: 13px;
  }

  .hero-card {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    box-shadow: none;
  }

  .workspace-stat-card {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-card div {
    grid-template-columns: 1fr;
    gap: 2px;
    padding: 8px;
    border-right: 1px solid var(--ay-line);
    border-bottom: 0;
  }

  .hero-card div:last-child {
    border-right: 0;
  }

  .workspace-stat-card div:last-of-type {
    border-right: 0;
  }

  .workspace-stat-link {
    grid-column: 1 / -1;
    min-width: 0;
    min-height: 32px;
    padding: 7px 10px;
    border-top: 1px solid var(--ay-line);
    border-left: 0;
    font-size: 12px;
  }

  .hero-card strong {
    font-size: 19px;
    line-height: 1;
  }

  .hero-card span {
    font-size: 11px;
    line-height: 1.15;
  }

  .project-identity {
    display: none;
  }

  .search-command {
    margin-bottom: 10px;
    padding: 10px;
    border-radius: 8px;
    box-shadow: none;
  }

  .signal-strip {
    grid-template-columns: 1fr;
    gap: 10px;
    margin: 0 0 10px;
    padding: 11px;
  }

  .signal-strip-copy h2 {
    font-size: 16px;
  }

  .signal-strip-copy p:not(.eyebrow) {
    font-size: 13px;
    line-height: 1.32;
  }

  .signal-chip-row {
    justify-content: flex-start;
    gap: 6px;
  }

  .signal-chip {
    min-height: 28px;
    padding: 4px 8px;
    font-size: 12px;
  }

  .ais-SearchBox-form {
    grid-template-columns: 1fr 38px;
    gap: 6px;
  }

  .ais-SearchBox-input,
  .ais-SearchBox-submit,
  .ais-SearchBox-reset {
    min-height: 38px;
  }

  .query-presets,
  .selected-terms,
  .ais-CurrentRefinements-list,
  .result-topic-list {
    gap: 6px;
  }

  .query-presets button,
  .selected-term,
  .ais-CurrentRefinements-label,
  .ais-CurrentRefinements-category,
  .badge,
  .topic-chip {
    min-height: 26px;
    padding: 4px 8px;
    font-size: 12px;
  }

  .meili-grid {
    gap: 10px;
  }

  .filter-panel,
  .results-panel,
  .content-section,
  .page-hero {
    border-radius: 8px;
    padding: 12px;
    box-shadow: none;
  }

  .results-head,
  .panel-title {
    gap: 8px;
    padding-bottom: 8px;
  }

  .results-head h2,
  .panel-title h2,
  .content-section h2 {
    font-size: 18px;
    line-height: 1.12;
  }

  .snippet,
  .content-section p,
  .content-section li,
  .source-excerpt-text p,
  .passage-card__body p {
    font-size: 14px;
    line-height: 1.38;
  }

  .evidence-qa-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .evidence-qa-card {
    padding: 11px 12px;
  }

  .evidence-qa-card h3 {
    font-size: 15px;
  }

  .result-card,
  .intelligence-card,
  .passage-card {
    padding: 11px;
    border-radius: 8px;
    box-shadow: none;
  }

  .source-identity--modal .source-identity__handle {
    font-size: 15px;
  }

  .source-identity--modal .source-identity__date {
    font-size: 12px;
  }

  .page-hero.source-page-hero {
    display: grid;
    gap: 8px;
    max-width: 100%;
    padding: 12px;
  }

  .page-hero.topic-page-hero {
    gap: 12px;
    padding: 14px;
  }

  .topic-page-hero__tools {
    gap: 9px;
  }

  .topic-stat-grid {
    width: 100%;
  }

  .topic-stat-grid div {
    padding: 8px;
  }

  .topic-stat-grid strong {
    font-size: 18px;
  }

  .topic-stat-grid span {
    font-size: 10.5px;
  }

  .signal-brief-head,
  .signal-brief-footer {
    display: grid;
    gap: 10px;
  }

  .signal-stat-row {
    justify-content: stretch;
  }

  .signal-stat {
    flex: 1 1 82px;
    min-width: 0;
  }

  .signal-grid {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .signal-block {
    padding: 10px;
  }

  .signal-block li,
  .search-signal__row {
    font-size: 13px;
  }

  .signal-momentum {
    width: 100%;
  }

  .creator-hero-line {
    gap: 8px;
  }

  .creator-page-avatar,
  .creator-hero-line .avatar {
    width: 42px;
    height: 42px;
  }

  .source-identity {
    gap: 8px;
  }

  .source-identity--source .avatar,
  .source-identity--creator .avatar {
    width: 42px;
    height: 42px;
  }

  .source-identity__handle {
    font-size: clamp(24px, 8vw, 34px);
    line-height: 1.02;
  }

  .source-identity__date {
    font-size: 14px;
  }

  .source-hero-main .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .source-hero-tools {
    display: grid;
    gap: 7px;
  }

  .source-share-actions {
    gap: 5px;
    justify-content: flex-start;
  }

  .source-share-actions__label {
    display: none;
  }

  .source-share-action {
    width: 30px;
    height: 30px;
  }

  .source-hero-meta {
    gap: 5px;
    justify-content: flex-start;
  }

  .source-meta-chip {
    min-height: 26px;
    padding: 4px 6px;
    font-size: 12px;
  }

  .source-meta-chip--topics {
    flex-basis: 100%;
  }

  .source-meta-chip--topics svg {
    display: none;
  }

  .source-policy-note,
  .empty-state {
    margin-top: 10px;
    padding: 10px;
  }

  .share-actions {
    gap: 5px;
    padding: 7px;
  }

  .share-actions__label {
    flex-basis: 100%;
    font-size: 10px;
  }

  .share-action {
    flex: 0 0 auto;
    min-height: 30px;
    padding: 6px 8px;
    font-size: 12px;
  }

  .share-action svg {
    width: 14px;
    height: 14px;
  }

  .metric-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border: 1px solid var(--ay-line);
    border-radius: 8px;
  }

  .metric-row div {
    padding: 8px;
    border-right: 1px solid var(--ay-line);
    border-bottom: 0;
  }

  .metric-row div:last-child {
    border-right: 0;
  }

  .metric-row strong {
    font-size: 18px;
  }

  .metric-row span {
    font-size: 10.5px;
    line-height: 1.12;
  }

  .roadmap-page .summary-strip,
  .roadmap-page .control-strip {
    display: none;
  }

  .roadmap-page .roadmap-experience,
  .roadmap-experience {
    margin: 0 0 12px;
    padding: 12px;
    box-shadow: none;
  }

  .roadmap-page .roadmap-experience__intro,
  .roadmap-experience__intro {
    margin-bottom: 10px;
  }

  .roadmap-page .roadmap-experience__intro h2,
  .roadmap-experience__intro h2 {
    font-size: 22px;
    line-height: 1.08;
  }

  .roadmap-page .roadmap-experience__intro p:not(.eyebrow),
  .roadmap-experience__intro p:not(.eyebrow) {
    font-size: 14px;
    line-height: 1.34;
  }

  .roadmap-page .roadmap-panel {
    padding: 10px;
    box-shadow: none;
  }

  .roadmap-page .roadmap-panel-head {
    margin-bottom: 8px;
    padding-bottom: 8px;
  }

  .roadmap-page .roadmap-panel-head h2 {
    font-size: 18px;
  }

  .roadmap-page .phase-sequence {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .roadmap-page .sequence-step {
    grid-template-columns: 30px minmax(0, 1fr) auto;
    gap: 8px;
    padding: 8px;
  }

  .roadmap-page .sequence-step__number {
    font-size: 16px;
  }

  .roadmap-page .sequence-step__body strong {
    font-size: 14px;
  }

  .roadmap-page .sequence-step__body em,
  .roadmap-page .sequence-step__body small {
    font-size: 11.5px;
  }

  .roadmap-page .viz-grid,
  .roadmap-page .funding-grid,
  .roadmap-page .priority-stack,
  .roadmap-page .proof-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .roadmap-page .phase-detail-card {
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .roadmap-page .phase-name {
    font-size: 20px;
  }

  .roadmap-page .milestone-grid {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .roadmap-page .milestone-card,
  .roadmap-page .funding-card,
  .roadmap-page .priority-column,
  .roadmap-page .proof-card {
    padding: 10px;
    border-radius: 8px;
    box-shadow: none;
  }
}

.roadmap-page .roadmap-fallback,
.roadmap-page .roadmap-fallback * {
  min-width: 0;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
}

.roadmap-enhanced .roadmap-page .roadmap-fallback,
.roadmap-enhanced .roadmap-fallback {
  display: none;
}

/* Launch UX pass: WordPress-aligned Base2026 mobile header and top filter drawer. */
@media (max-width: 640px) {
  .site-header__bar {
    min-height: 68px;
    gap: 10px;
  }

  .site-header__brand {
    gap: 9px;
    font-size: 18px;
  }

  .site-header__avatar {
    flex-basis: 34px;
    width: 34px;
    height: 34px;
  }

  .site-header__nav,
  .site-header__cta {
    display: none;
  }

  .site-header__mobile-menu {
    position: relative;
    display: block;
    margin-left: auto;
  }

  .site-header__mobile-menu summary {
    display: flex;
    flex-direction: column;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border-radius: 8px;
    color: var(--ay-text);
    cursor: pointer;
    list-style: none;
  }

  .site-header__mobile-menu summary::-webkit-details-marker {
    display: none;
  }

  .site-header__mobile-menu summary span {
    display: block;
    width: 22px;
    height: 2px;
    margin: 0;
    border-radius: 999px;
    background: currentColor;
  }

  .site-header__mobile-panel {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    z-index: 40;
    width: min(330px, calc(100vw - 24px));
    max-height: calc(100dvh - 96px);
    overflow: auto;
    padding: 14px 16px 16px;
    border: 1px solid rgba(18, 26, 31, 0.12);
    border-radius: 14px;
    background: #fffaf0;
    box-shadow: 0 24px 60px rgba(42, 31, 19, 0.2);
  }

  .site-header__mobile-panel nav,
  .site-header__mobile-base div {
    display: grid;
    gap: 3px;
    width: 100%;
  }

  .mobile-menu-label {
    display: block;
    padding: 9px 12px 4px;
    color: var(--ay-muted);
    font-size: 10.5px;
    font-weight: 760;
    letter-spacing: 0.08em;
    line-height: 1.1;
    text-transform: uppercase;
  }

  .site-header__mobile-panel a,
  .site-header__mobile-base summary {
    display: flex;
    width: 100%;
    min-width: 0;
    min-height: 36px;
    align-items: center;
    padding: 7px 12px;
    border-radius: 8px;
    color: var(--ay-text);
    font-weight: 740;
  }

  .site-header__mobile-panel a:hover,
  .site-header__mobile-panel a:focus-visible,
  .site-header__mobile-panel a[aria-current="page"] {
    background: var(--ay-orange-soft);
    color: var(--ay-orange);
    outline: 0;
  }

  .site-header__mobile-base summary {
    position: relative;
    justify-content: flex-start;
    list-style: none;
    cursor: pointer;
  }

  .site-header__mobile-base summary::-webkit-details-marker {
    display: none;
  }

  .site-header__mobile-base summary::after {
    content: "+";
    position: absolute;
    right: 10px;
    color: var(--ay-muted);
    font-weight: 700;
  }

  .site-header__mobile-base[open] summary {
    background: transparent;
    color: var(--ay-orange);
  }

  .site-header__mobile-base[open] summary::after {
    content: "-";
  }

  .site-header__mobile-base {
    width: 100%;
    min-width: 0;
    border-top: 1px solid rgba(18, 26, 31, 0.09);
    border-bottom: 1px solid rgba(18, 26, 31, 0.09);
    padding: 5px 0 7px;
  }

  .site-header__mobile-base div {
    padding: 3px 0 0 22px;
  }

  .site-header__mobile-base div a {
    min-height: 27px;
    padding: 4px 12px;
    color: var(--ay-muted);
    font-size: 13.5px;
    font-weight: 600;
  }

  .site-header__mobile-cta {
    margin-top: 4px;
    border: 1px solid var(--ay-orange);
    background: var(--ay-orange);
    color: #fffaf0 !important;
    text-align: center;
  }

  .site-header__mobile-cta:hover,
  .site-header__mobile-cta:focus-visible {
    border-color: #111820;
    background: #111820 !important;
    color: #fffaf0 !important;
  }

  .mobile-filter-bar {
    position: relative;
    top: auto;
    z-index: 8;
    display: flex;
    margin: 0 0 10px;
  }

  .mobile-filter-toggle {
    display: flex;
    width: 100%;
    min-height: 38px;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border: 1px solid rgba(18, 26, 31, 0.14);
    border-radius: 8px;
    background: rgba(255, 250, 240, 0.96);
    color: var(--ay-text);
    box-shadow: 0 10px 26px rgba(42, 31, 19, 0.08);
    padding: 7px 10px;
    font-weight: 760;
  }

  .mobile-filter-toggle strong {
    color: var(--ay-orange);
    font-size: 12px;
    font-weight: 780;
  }

  .mobile-filter-backdrop {
    position: fixed;
    inset: 0;
    z-index: 29;
    display: block;
    background: rgba(18, 26, 31, 0.28);
  }

  .mobile-filter-backdrop[hidden] {
    display: none;
  }

  .filter-panel.meili-filters {
    position: fixed;
    top: 76px;
    right: 10px;
    bottom: 10px;
    left: 10px;
    z-index: 30;
    display: block;
    overflow: auto;
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity 160ms ease, transform 160ms ease;
  }

  .filters-open .filter-panel.meili-filters {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .mobile-filter-close {
    display: inline-flex;
    min-height: 30px;
    align-items: center;
    border: 1px solid rgba(18, 26, 31, 0.14);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.64);
    color: var(--ay-text);
    cursor: pointer;
    padding: 4px 8px;
    font-size: 12px;
    font-weight: 760;
  }

  .source-hero-toolbar,
  .source-hero-quick-meta,
  .source-hero-topic-tags {
    justify-content: flex-start;
  }

  .topic-tag {
    min-height: auto;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    padding: 0;
    font-size: 12.5px;
    line-height: 1.35;
  }
}

/* Base2026 IA migration: / is the primary route-driven workspace.
   Desktop stays two-column: filters left, one active workspace right. */

@media (max-width: 900px) {
  .meili-grid {
    grid-template-columns: 1fr;
  }

  .filter-panel.meili-filters,
  .results-panel,
  .source-detail-panel {
    grid-column: 1;
  }

  .source-detail-panel {
    display: none;
  }

  body.source-detail-open .source-detail-panel {
    display: block;
  }

  body.source-detail-open .results-panel {
    display: none;
  }

  body.source-detail-open .mobile-filter-bar {
    position: static;
    top: auto;
    z-index: auto;
  }

  .source-detail-back {
    display: inline-flex;
  }

  .source-detail-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .source-detail-actions .button-link {
    justify-content: center;
    min-width: 0;
    text-align: center;
  }
}

@media (max-width: 640px) {
  body.source-detail-open .hero {
    display: none;
  }

  body.knowledge-workspace-active .hero-card {
    display: none;
  }

  .source-detail-panel {
    padding: 12px;
    border-radius: 8px;
    box-shadow: none;
  }

  .source-detail-empty {
    min-height: 220px;
    padding: 4px;
  }

  .source-detail-head {
    gap: 9px;
    padding-bottom: 12px;
  }

  .source-detail-nav-row {
    gap: 6px;
  }

  .source-detail-toolbar {
    display: grid;
    gap: 8px;
  }

  .source-detail-toolbar__tools {
    display: grid;
    gap: 7px;
    justify-content: stretch;
  }

  .source-detail-toolbar__tools .source-detail-share-actions,
  .source-detail-meta {
    justify-content: flex-start;
  }

  .source-detail-head .source-identity {
    width: fit-content;
    max-width: 100%;
    border-radius: 8px;
  }

  .source-detail-head .source-identity__handle {
    font-size: 16px;
  }

  .source-detail-head h1 {
    max-width: 100%;
    font-size: 20px;
  }

  .source-detail-lead,
  .source-detail-summary,
  .source-detail-empty p,
  .source-detail-passage .passage-card__body p,
  .source-detail-insight p,
  .source-detail-panel .source-excerpt-text p {
    font-size: 14px;
    line-height: 1.38;
  }

  .source-detail-actions {
    gap: 6px;
    grid-template-columns: 1fr;
  }

  .source-detail-actions .button-link {
    min-height: 34px;
    padding: 7px 8px;
    font-size: 12px;
  }

  .source-detail-meta .source-meta-chip {
    min-height: 24px;
    padding: 3px 7px;
    font-size: 11px;
  }

  .record-topics {
    gap: 5px 9px;
  }

  .record-topics .topic-chip {
    font-size: 12px;
  }

  .source-detail-body {
    gap: 14px;
    padding-top: 14px;
  }

  .source-detail-section-heading {
    display: grid;
    gap: 7px;
  }

  .source-detail-section-heading .source-detail-share-actions {
    margin-left: 0;
    justify-content: flex-start;
  }

  .source-detail-section-title h3,
  .source-detail-insight h4 {
    font-size: 16px;
  }

  .source-detail-passage,
  .source-detail-insight {
    padding: 10px;
  }
}


/* Base2026 AI visibility pages: Alex /about hero and contact conversion block */
.ai-visibility-page .b26-about-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(380px, 0.86fr);
  gap: clamp(18px, 4vw, 64px);
  align-items: center;
  min-height: clamp(330px, 28vw, 420px);
  margin: 10px 0 clamp(18px, 3vw, 28px);
  padding: clamp(38px, 4.4vw, 68px) clamp(28px, 4vw, 58px);
  border: 1px solid rgba(18, 26, 31, 0.12);
  border-radius: 8px;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0) 34%),
    repeating-linear-gradient(135deg, rgba(17, 17, 17, 0.06) 0 1px, transparent 1px 8px),
    linear-gradient(90deg, rgba(239, 107, 19, 0.98) 0%, rgba(214, 82, 9, 0.96) 63%, rgba(171, 59, 3, 0.92) 100%);
  box-shadow: 0 34px 90px rgba(18, 26, 31, 0.2);
  overflow: hidden;
  isolation: isolate;
}

.ai-visibility-page .b26-about-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0) 42%),
    repeating-linear-gradient(135deg, rgba(18, 26, 31, 0.08) 0 1px, transparent 1px 7px);
  mix-blend-mode: multiply;
  opacity: 0.28;
  pointer-events: none;
}

.ai-visibility-page .b26-about-hero-copy {
  position: relative;
  z-index: 4;
  grid-column: 1;
  align-self: center;
  max-width: 590px;
  padding: 0;
}

.ai-visibility-page .b26-founder-quote {
  display: grid;
  gap: 0;
  max-width: 650px;
  margin: 0;
  color: #111111;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: clamp(36px, 3.65vw, 54px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 0.91;
  text-transform: uppercase;
}

.ai-visibility-page .b26-founder-quote span {
  display: block;
  white-space: nowrap;
}

.ai-visibility-page .b26-founder-support {
  margin: clamp(12px, 1.2vw, 16px) 0 0;
  color: rgba(17, 17, 17, 0.78);
  font-family: "Inter", var(--ay-font, ui-sans-serif, system-ui);
  font-size: clamp(11.5px, 0.9vw, 13px);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.ai-visibility-page .b26-founder-mobile-break {
  display: none;
}

.ai-visibility-page .b26-hero-figure {
  position: absolute;
  top: clamp(14px, 1.8vw, 22px);
  right: clamp(18px, 3.8vw, 54px);
  bottom: 0;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  width: clamp(270px, 22vw, 360px);
  height: calc(100% - clamp(14px, 1.8vw, 22px));
  margin: 0;
  overflow: visible;
}

.ai-visibility-page .b26-hero-person {
  width: auto;
  height: 100%;
  max-width: none;
  max-height: 100%;
  object-fit: contain;
  object-position: right bottom;
  filter: drop-shadow(0 28px 38px rgba(17, 17, 17, 0.32)) drop-shadow(0 8px 14px rgba(17, 17, 17, 0.22));
}

.ai-visibility-page .b26-contact-section {
  margin: clamp(24px, 4vw, 44px) 0 clamp(18px, 3vw, 30px);
}

.ai-visibility-page .b26-contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.64fr);
  gap: clamp(12px, 1.6vw, 18px);
  align-items: start;
}

.ai-visibility-page .b26-card {
  border: 1px solid rgba(18, 26, 31, 0.12);
  border-radius: var(--ay-radius, 8px);
  background: rgba(255, 250, 240, 0.88);
  box-shadow: 0 14px 36px rgba(42, 31, 19, 0.07);
}

.ai-visibility-page .b26-contact-form-card,
.ai-visibility-page .b26-contact-side {
  padding: clamp(14px, 1.55vw, 20px);
}

.ai-visibility-page .b26-contact-form-card h2,
.ai-visibility-page .b26-contact-side h2 {
  margin: 0 0 8px;
  font-size: clamp(21px, 2.2vw, 28px);
  line-height: 1.06;
}

.ai-visibility-page .b26-contact-form-card > p,
.ai-visibility-page .b26-contact-side > p {
  margin: 0 0 12px;
  color: var(--ay-muted);
  font-size: 14.5px;
  line-height: 1.42;
}

.ai-visibility-page .b26-form {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.ai-visibility-page .b26-form label {
  display: grid;
  gap: 4px;
  color: var(--ay-text);
  font-size: 13px;
  font-weight: 700;
}

.ai-visibility-page .b26-form input,
.ai-visibility-page .b26-form textarea {
  width: 100%;
  min-height: 36px;
  padding: 7px 10px;
  border: 1px solid rgba(18, 26, 31, 0.18);
  border-radius: var(--ay-radius, 8px);
  background: rgba(255, 255, 255, 0.92);
  color: var(--ay-text);
  font: inherit;
  font-size: 14px;
}

.ai-visibility-page .b26-form textarea {
  min-height: 84px;
  resize: vertical;
}

.ai-visibility-page .b26-form button {
  min-height: 38px;
  margin-top: 2px;
  border: 1px solid var(--ay-orange, #c84f07);
  border-radius: var(--ay-radius, 8px);
  background: var(--ay-orange, #c84f07);
  color: #fffaf0;
  cursor: pointer;
  font-weight: 800;
}

.ai-visibility-page .b26-calendar-booking-card {
  display: grid;
  gap: 8px;
  margin: 4px 0 8px;
  padding: 14px;
  border: 1px solid rgba(239, 107, 19, 0.24);
  border-radius: var(--ay-radius, 8px);
  background: linear-gradient(135deg, #fff7ed, #fffdf7);
}

.ai-visibility-page .b26-calendar-booking-card h3,
.ai-visibility-page .b26-calendar-booking-card p {
  margin: 0;
}

.ai-visibility-page .b26-calendar-booking-card h3 {
  font-size: 17px;
  line-height: 1.15;
}

.ai-visibility-page .b26-calendar-booking-card p {
  color: var(--ay-muted);
  font-size: 14px;
  line-height: 1.38;
}

.ai-visibility-page .b26-calendar-booking-card .ay-button {
  justify-self: start;
  margin-top: 4px;
}

.b26-footer-socials {
  margin-top: 18px;
}

.b26-footer-socials__label {
  margin: 0 0 8px;
  color: var(--ay-orange-on-dark, #ffb170);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.b26-footer-socials__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.b26-social-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 8px 12px;
  border: 1px solid rgba(239, 107, 19, 0.82);
  border-radius: var(--ay-radius, 8px);
  background: var(--ay-orange, #c84f07);
  color: #fffaf0 !important;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.b26-social-button:hover,
.b26-social-button:focus-visible {
  background: var(--ay-orange-2, #ef6b13);
  color: #fffaf0 !important;
}

.b26-social-button--disabled {
  opacity: 0.72;
}

@media (max-width: 760px) {
  .ai-visibility-page .b26-about-hero {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(8px, 3vw, 12px);
    min-height: 0;
    padding: clamp(18px, 5vw, 24px) clamp(18px, 4.8vw, 24px) 0;
    background:
      radial-gradient(ellipse at 78% 74%, rgba(17, 17, 17, 0.1), rgba(17, 17, 17, 0) 60%),
      linear-gradient(135deg, #f47d13 0%, #ef8a1f 62%, #dc6811 100%);
  }

  .ai-visibility-page .b26-founder-quote {
    max-width: 100%;
    font-size: clamp(30px, 8.2vw, 38px);
    line-height: 0.91;
    overflow-wrap: normal;
  }

  .ai-visibility-page .b26-founder-quote span {
    white-space: normal;
  }

  .ai-visibility-page .b26-founder-mobile-break {
    display: block;
  }

  .ai-visibility-page .b26-hero-figure {
    position: relative;
    right: auto;
    bottom: auto;
    justify-self: end;
    width: min(62vw, 280px);
    height: clamp(176px, 46vw, 250px);
    margin: 0 0 0 auto;
  }

  .ai-visibility-page .b26-hero-person {
    max-height: 100%;
  }

  .ai-visibility-page .b26-contact-layout {
    grid-template-columns: 1fr;
  }

  .ai-visibility-page .b26-contact-side {
    position: static;
  }
}

/* Base2026 traffic-page upgrades: answer capsules, proof blocks, FAQ and CTA. */
.topic-answer-capsule,
.topic-source-proof,
.topic-faq,
.topic-traffic-cta {
  position: relative;
}

.topic-answer-capsule {
  border-color: rgba(239, 107, 19, 0.26);
  background:
    radial-gradient(circle at top left, rgba(239, 107, 19, 0.12), transparent 36%),
    linear-gradient(135deg, rgba(255, 249, 241, 0.98), rgba(255, 255, 255, 0.96));
}

.topic-answer-capsule h2,
.topic-traffic-cta h2 {
  max-width: 780px;
}

.topic-answer-capsule .section-helper,
.topic-traffic-cta .section-helper {
  max-width: 880px;
  font-size: clamp(1rem, 1.5vw, 1.16rem);
}

.topic-source-proof__grid {
  margin-top: clamp(14px, 2vw, 20px);
}

.topic-faq__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 18px);
  margin-top: clamp(14px, 2vw, 20px);
}

.topic-faq__item {
  padding: clamp(16px, 2.3vw, 22px);
  border: 1px solid rgba(18, 18, 18, 0.08);
  border-radius: var(--ay-radius-lg, 18px);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 14px 32px rgba(27, 24, 20, 0.06);
}

.topic-faq__item h3 {
  margin: 0 0 8px;
  font-size: clamp(1rem, 1.35vw, 1.12rem);
  line-height: 1.18;
}

.topic-faq__item p {
  margin: 0;
  color: var(--ay-muted, #5f574f);
}

.topic-traffic-cta {
  border-color: rgba(18, 18, 18, 0.1);
  background:
    linear-gradient(135deg, rgba(18, 18, 18, 0.94), rgba(37, 31, 25, 0.94)),
    radial-gradient(circle at top right, rgba(239, 107, 19, 0.32), transparent 42%);
  color: #fff8ed;
}

.topic-traffic-cta .eyebrow,
.topic-traffic-cta .section-helper {
  color: rgba(255, 248, 237, 0.78);
}

.topic-traffic-cta h2 {
  color: #fff8ed;
}

@media (max-width: 920px) {
  .topic-faq__grid {
    grid-template-columns: 1fr;
  }
}

/* Base2026 AI visibility resources hub. */
.traffic-resource-hero {
  overflow: hidden;
}

.traffic-resource-summary .analytics-stat-grid {
  margin-top: 0;
}

.traffic-resource-cluster {
  scroll-margin-top: 7rem;
}

.traffic-resource-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}

.traffic-resource-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.07);
}

.traffic-resource-card h3 {
  margin: 0.25rem 0 0.5rem;
  font-size: clamp(1.05rem, 2vw, 1.22rem);
  line-height: 1.2;
}

.traffic-resource-card h3 a {
  color: inherit;
  text-decoration: none;
}

.traffic-resource-card h3 a:hover,
.traffic-resource-card h3 a:focus-visible {
  color: var(--ay-orange, #f97316);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.traffic-resource-card p {
  margin: 0;
}

.traffic-resource-card__meta {
  color: var(--muted, #64748b);
  font-family: var(--font-mono, monospace);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.traffic-resource-cta {
  border: 1px solid rgba(249, 115, 22, 0.25);
  background: linear-gradient(135deg, rgba(255, 247, 237, 0.95), rgba(255, 255, 255, 0.92));
}

@media (max-width: 720px) {
  .traffic-resource-grid {
    grid-template-columns: 1fr;
  }

  .traffic-resource-card {
    padding: 1rem;
  }
}

/* AI Visibility Pages hub: scoped card directory + calmer hero. */
.ai-visibility-page .b26-about-hero {
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.16), transparent 34%),
    repeating-linear-gradient(135deg, rgba(17, 24, 32, 0.045) 0, rgba(17, 24, 32, 0.045) 1px, transparent 1px, transparent 9px),
    linear-gradient(90deg, #d96313 0%, #c6530b 58%, #994008 100%);
}

.ai-pages-intro {
  max-width: 980px;
}

.ai-pages-directory {
  padding: clamp(24px, 4vw, 44px);
}

.ai-pages-section-head {
  display: grid;
  gap: 8px;
  max-width: 760px;
  margin-bottom: 22px;
}

.ai-pages-section-head h2 {
  margin-bottom: 0;
}

.ai-pages-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.ai-pages-grid-compact {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ai-pages-card {
  min-height: 118px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  padding: 16px;
  border: 1px solid rgba(18, 26, 31, 0.14);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.92);
  color: var(--ay-text);
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(17, 24, 32, 0.06);
}

.ai-pages-card:hover,
.ai-pages-card:focus-visible {
  border-color: rgba(200, 79, 7, 0.45);
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(17, 24, 32, 0.1);
}

.ai-pages-card span {
  font-family: "Geist Mono", ui-monospace, SFMono-Regular, monospace;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ay-orange);
}

.ai-pages-card strong {
  font-size: 17px;
  line-height: 1.18;
}

@media (max-width: 980px) {
  .ai-pages-grid,
  .ai-pages-grid-compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .ai-pages-grid,
  .ai-pages-grid-compact {
    grid-template-columns: 1fr;
  }
}



/* AI Visibility Lab search and positioning */
.ai-visibility-page .ai-lab-intro {
  display: grid;
  gap: 18px;
}
.ai-visibility-page .ai-lab-search {
  margin-top: 10px;
  padding: 18px;
  border: 1px solid rgba(32, 24, 18, 0.14);
  border-radius: 22px;
  background: rgba(255, 248, 236, 0.82);
  box-shadow: 0 18px 44px rgba(82, 49, 20, 0.08);
}
.ai-visibility-page .ai-lab-search label {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-mono, monospace);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(62, 42, 28, 0.72);
}
.ai-visibility-page .ai-lab-search input {
  width: 100%;
  min-height: 54px;
  border: 2px solid rgba(33, 25, 18, 0.18);
  border-radius: 16px;
  padding: 0 16px;
  background: #fffdf8;
  color: #201812;
  font: 700 16px/1.2 var(--font-body, system-ui, sans-serif);
  outline: none;
}
.ai-visibility-page .ai-lab-search input:focus {
  border-color: rgba(222, 103, 30, 0.72);
  box-shadow: 0 0 0 4px rgba(222, 103, 30, 0.14);
}
.ai-visibility-page .ai-lab-search p {
  margin: 10px 0 0;
  color: rgba(62, 42, 28, 0.72);
  font-weight: 700;
}
.ai-visibility-page .ai-pages-card[hidden] {
  display: none !important;
}


/* Base2026 money/CTPH page template — Alex personal site style */
.b26-money-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.72fr);
  gap: clamp(22px, 4vw, 42px);
  align-items: stretch;
  width: min(1120px, calc(100vw - 40px));
  margin: clamp(24px, 5vw, 58px) auto clamp(28px, 5vw, 64px);
}

.b26-money-hero__copy,
.b26-money-hero__panel,
.b26-money-diagnostic article,
.b26-money-card-grid article,
.b26-money-offer,
.b26-money-final-cta {
  border: 1px solid rgba(18, 26, 31, 0.13);
  background: rgba(255, 250, 240, 0.9);
  box-shadow: 0 18px 45px rgba(42, 31, 19, 0.07);
}

.b26-money-hero__copy {
  padding: clamp(28px, 5vw, 58px);
  border-radius: 22px;
}

.b26-money-hero__copy h1 {
  max-width: 850px;
  margin: 0 0 18px;
  color: var(--ay-text);
  font-size: clamp(46px, 7vw, 82px);
  line-height: 0.92;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.b26-money-hero__lead {
  max-width: 760px;
  margin: 0 0 18px;
  color: var(--ay-text);
  font-size: clamp(20px, 2.4vw, 27px);
  line-height: 1.18;
  letter-spacing: -0.018em;
}

.b26-money-hero__intro {
  max-width: 760px;
  color: var(--ay-muted);
  font-size: 17px;
  line-height: 1.62;
}

.b26-money-hero__intro p {
  margin: 0 0 10px;
}

.b26-money-hero__actions,
.b26-money-final-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.b26-money-hero__panel {
  position: relative;
  overflow: hidden;
  padding: clamp(22px, 3vw, 32px);
  border-radius: 22px;
  background: linear-gradient(150deg, rgba(16, 35, 31, 0.98), rgba(28, 55, 48, 0.96));
  color: #fffaf0;
}

.b26-money-hero__panel::before {
  content: "";
  position: absolute;
  inset: auto -38px -48px auto;
  width: 210px;
  height: 210px;
  border-radius: 999px;
  background: rgba(239, 107, 19, 0.26);
  filter: blur(2px);
}

.b26-money-hero__panel .eyebrow {
  color: var(--ay-orange-on-dark);
}

.b26-money-hero__panel h2 {
  position: relative;
  max-width: 320px;
  margin: 0 0 20px;
  color: #fffaf0;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.b26-money-hero__panel ul {
  position: relative;
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.b26-money-hero__panel li {
  padding: 14px;
  border: 1px solid rgba(255, 250, 240, 0.18);
  border-radius: 14px;
  background: rgba(255, 250, 240, 0.08);
}

.b26-money-hero__panel strong,
.b26-money-hero__panel span {
  display: block;
}

.b26-money-hero__panel strong {
  margin-bottom: 4px;
  color: #fffaf0;
}

.b26-money-hero__panel span {
  color: rgba(255, 250, 240, 0.76);
  line-height: 1.45;
}

.b26-money-hero__panel,
.b26-money-hero__panel * {
  min-width: 0;
  overflow-wrap: anywhere;
}

.b26-money-diagnostic {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  width: min(1120px, calc(100vw - 40px));
  margin: 0 auto clamp(34px, 6vw, 72px);
}

.b26-money-diagnostic article {
  min-width: 0;
  padding: 18px;
  border-radius: 16px;
}

.b26-money-diagnostic span {
  display: block;
  margin-bottom: 8px;
  color: var(--ay-orange);
  font-family: var(--ay-font-mono);
  font-size: 11px;
  font-weight: 780;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.b26-money-diagnostic p {
  margin: 0;
  color: var(--ay-text);
  font-size: 15px;
  line-height: 1.45;
}

.b26-money-method .eyebrow,
.b26-money-offer .eyebrow,
.b26-money-final-cta .eyebrow {
  margin-bottom: 8px;
}

.b26-money-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.b26-money-card-grid article {
  padding: 22px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 250, 240, 0.96), rgba(255, 240, 227, 0.78));
}

.b26-money-card-grid h3 {
  margin: 0 0 10px;
  color: var(--ay-text);
  font-size: 23px;
  line-height: 1.05;
}

.b26-money-card-grid p {
  margin: 0;
  color: var(--ay-muted);
}

.b26-money-offer {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1fr);
  gap: 24px;
  align-items: start;
  border-radius: 22px;
}

.b26-money-offer ul {
  margin: 0;
  padding-left: 20px;
}

.b26-money-offer li + li {
  margin-top: 10px;
}

.b26-money-final-cta {
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(255, 240, 227, 0.98), rgba(255, 250, 240, 0.92));
}

.b26-money-final-cta h2 {
  max-width: 850px;
}

.ai-visibility-page .content-section h2 {
  text-wrap: balance;
}

.ai-visibility-page .content-section > p:first-of-type,
.ai-visibility-page .content-section li {
  font-size: 16.5px;
  line-height: 1.62;
}

@media (max-width: 900px) {
  .b26-money-hero,
  .b26-money-offer {
    grid-template-columns: 1fr;
  }

  .b26-money-diagnostic,
  .b26-money-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .b26-money-hero,
  .b26-money-diagnostic {
    width: min(100%, calc(100vw - 28px));
  }

  .b26-money-hero__copy,
  .b26-money-hero__panel,
  .b26-money-offer,
  .b26-money-final-cta {
    border-radius: 18px;
  }

  .b26-money-hero__copy {
    padding: 24px 20px;
  }

  .b26-money-hero__copy h1 {
    font-size: clamp(38px, 13vw, 56px);
  }

  .b26-money-diagnostic,
  .b26-money-card-grid {
    grid-template-columns: 1fr;
  }

  .b26-money-hero__actions a,
  .b26-money-final-cta__actions a {
    width: 100%;
    justify-content: center;
  }
}
