:where(.perspective-home, .app-shell) {
  --scan-ink: #102a3d;
  --scan-deep: #0b2337;
  --scan-tone: #425f72;
  --scan-line: #c9dce6;
  --scan-paper: #f7fbfd;
  --scan-blue: #e8f4fa;
  --scan-link: #14577a;
  --scan-light: #b7e5f7;
  --scan-pad: clamp(20px, 5vw, 78px);
  --scan-space: clamp(48px, 6.25vw, 96px);
}

body.perspective-home, .perspective-home.public-site {
  --site-ink: var(--scan-ink);
  --site-muted: var(--scan-tone);
  --site-border: var(--scan-line);
  --paper: var(--scan-paper);
  --ink: var(--scan-ink);
  color: var(--scan-ink);
  background: var(--scan-paper);
  font-family: Onest, Arial, sans-serif;
}

.perspective-home :is(.perspective-sections, .public-section, .public-final, .public-markets) :is(h2, h3) {
  font-family: Onest, Arial, sans-serif;
  color: inherit;
}

.perspective-home :is(.public-section, .public-final, .public-markets, .perspective-sections > section) h2 {
  font-size: clamp(30px, 4vw, 58px);
  font-weight: 680;
  letter-spacing: -.05em;
  line-height: 1.07;
}

.perspective-home :is(.public-section, .public-markets, .public-footer, .perspective-sections) {
  --section-border: var(--scan-line);
}

.perspective-home :is(.public-section, .public-markets, .perspective-sections > section) {
  scroll-margin-top: 24px;
}

.perspective-home .public-section, .perspective-home .public-markets {
  max-width: 1540px;
  padding: var(--scan-space) var(--scan-pad);
}

.perspective-home .public-section-heading {
  align-items: end;
  margin-bottom: clamp(24px, 3.2vw, 45px);
}

.perspective-home :is(.workflow-line, .perspective-sections .method > div) article {
  min-width: 0;
  border-top: 2px solid #80b4ce;
  padding-top: 18px;
}

.perspective-home :is(.workflow-line, .perspective-sections .method > div) article h3 {
  font-size: clamp(18px, 1.7vw, 24px);
  font-weight: 650;
  letter-spacing: -.03em;
  line-height: 1.24;
  margin: 0 0 8px;
}

.perspective-home :is(.workflow-line, .perspective-sections .method > div) article p,
.perspective-home .public-section-heading > p,
.perspective-home .catalog-intro > p,
.perspective-home .mcp-copy > p,
.perspective-home .mcp-copy li,
.perspective-home .faq-list details > p {
  color: var(--scan-tone);
  font-size: 15px;
  line-height: 1.62;
}

.perspective-home.public-site .public-report-examples {
  max-width: none;
  background: var(--scan-blue);
}

.perspective-home .public-report-examples > :is(.report-examples, .perspective-atlas) {
  max-width: 1384px;
  margin-inline: auto;
}

.perspective-home .report-examples-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.perspective-home .report-example {
  --report-accent: var(--scan-link);
  grid-column: auto;
  padding: clamp(16px, 2.2vw, 26px);
  border: 1px solid var(--scan-line);
  border-radius: 12px;
  background: #fff;
  color: var(--scan-ink);
}

.perspective-home .report-example-jobber {
  background: var(--scan-deep);
  color: #f7fbff;
  --report-accent: var(--scan-light);
}

.perspective-home .report-example-finding {
  border-color: var(--scan-line);
}

.perspective-home .report-examples .report-example :is(p, .report-example-finding span) {
  color: var(--scan-tone);
}

.perspective-home .report-examples .report-example.report-example-jobber :is(p, small, .report-example-finding span) {
  color: #c9dee9;
}
.perspective-home .report-examples .report-example-jobber .report-example-links a {
  color: var(--scan-light);
}
.perspective-home .report-examples .report-example-jobber .report-example-links a:is(:hover, :focus-visible) {
  color: #fff;
}
.perspective-home .report-examples .report-example-jobber .report-example-links a:focus-visible {
  outline-color: var(--scan-light);
}

.perspective-home .report-examples .report-example-links a {
  text-decoration-color: currentColor;
  text-decoration-thickness: 1px;
}

.perspective-home .perspective-atlas {
  padding: 18px 0 0;
}

.perspective-home.public-site .perspective-atlas .atlas-sheet {
  display: grid;
  padding: clamp(18px, 2.75vw, 38px);
  background: #fff;
  border: 1px solid var(--scan-line);
  border-radius: 12px;
}

.perspective-home .atlas-folio {
  border-color: var(--scan-line);
  color: var(--scan-tone);
}

.perspective-home .atlas-folio b {
  color: var(--scan-link);
  font: 650 15px/1.35 Onest, Arial, sans-serif;
}

.perspective-home.public-site .perspective-atlas h2 {
  max-width: none;
  color: var(--scan-ink);
  font: 650 clamp(20px, 2.6vw, 34px)/1.2 Onest, Arial, sans-serif;
  letter-spacing: -.035em;
}

.perspective-home .perspective-atlas .atlas-selector {
  gap: 6px;
  padding: 0;
  background: transparent;
}

.perspective-home .perspective-atlas .atlas-selector button {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  justify-items: start;
  gap: 2px 9px;
  padding: 10px 12px;
  border: 1px solid var(--scan-line);
  border-radius: 8px;
  background: var(--scan-paper);
  color: var(--scan-ink);
  text-align: left;
}

.perspective-home .perspective-atlas .atlas-selector button img { grid-row: span 2; }
.perspective-home .perspective-atlas .atlas-selector button[aria-pressed=true] {
  background: var(--scan-blue);
  border-color: #4a829f;
}
.perspective-home .perspective-atlas .atlas-selector button[aria-pressed=true] span::before { content: none; }
.perspective-home .perspective-atlas .atlas-selector small { color: var(--scan-tone); }
.perspective-home .perspective-atlas .atlas-reading { border-color: var(--scan-line); }
.perspective-home .perspective-atlas .atlas-reading blockquote {
  padding-inline-start: 14px;
  border-inline-start: 2px solid #80b4ce;
  color: var(--scan-ink);
  font: 530 clamp(17px, 1.8vw, 23px)/1.5 Onest, Arial, sans-serif;
}
.perspective-home .perspective-atlas .atlas-pick strong { background: var(--scan-blue); color: var(--scan-ink); }
.perspective-home .perspective-atlas :is(.atlas-reading summary, .atlas-sheet > small) { color: var(--scan-link); }
.perspective-home :is(.perspective-sections, .public-section, .public-final, .public-markets, .public-footer) :focus-visible {
  outline: 2px solid #509ac1;
  outline-offset: 3px;
}

.perspective-home .channel-section {
  gap: clamp(28px, 6vw, 90px);
  border: 0;
}

.perspective-home .catalog-list {
  border-color: var(--scan-line);
  max-height: 510px;
  overflow: auto;
  scrollbar-color: #81a9bd var(--scan-paper);
}

.perspective-home .catalog-list > button {
  gap: 11px;
  padding: 12px 14px;
  border-color: var(--scan-line);
}
.perspective-home .catalog-list > button:is(:hover, .selected) { background: var(--scan-blue); }
.perspective-home .catalog-list > button:focus-visible { outline-offset: -3px; }
.perspective-home .catalog-list strong {
  font-family: Onest, Arial, sans-serif;
  font-size: clamp(14px, 1.5vw, 20px);
}
.perspective-home .catalog-list :is(svg, .catalog-type),
.perspective-home .catalog-detail :is(p, span) { color: var(--scan-tone); }
.perspective-home .catalog-list > button > svg { flex: 0 0 15px; margin-inline-start: 0; }
.catalog-symbol {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: white;
}
.perspective-home .catalog-symbol svg { margin: 0; width: 20px; }
.perspective-home .catalog-detail { border-color: var(--scan-line); }
.perspective-home .catalog-detail > svg { color: var(--scan-link); }

.perspective-home.public-site .pricing-section {
  border-color: var(--scan-line);
  background: var(--scan-blue);
}
.perspective-home .published-tariffs button { border-color: var(--scan-line); color: var(--scan-ink); }
.perspective-home .published-tariffs button:hover { background: var(--scan-paper); border-color: #80b4ce; }
.perspective-home :is(.published-tariffs small, .published-tariff-note) { color: var(--scan-tone); }
.perspective-home .regional-pricing-link {
  display: inline-block;
  margin-block-start: 0.6rem;
  color: var(--scan-link);
  text-underline-offset: 0.2em;
}
.perspective-home .regional-pricing {
  margin-block: 1.5rem 2rem;
  padding: clamp(1rem, 3vw, 1.75rem);
  background: var(--scan-paper);
  border: 1px solid var(--scan-line);
  color: var(--scan-ink);
  scroll-margin-top: 6rem;
}
.perspective-home .regional-pricing h3 { margin: 0; }
.perspective-home .regional-pricing-plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
  margin: 1rem 0;
}
.perspective-home .regional-pricing-plans > div { padding: 0.75rem 1rem 0.75rem 0; }
.perspective-home .regional-pricing-plans dd { margin: 0.35rem 0 0; }
.perspective-home .regional-pricing-plans strong { display: block; font-size: clamp(1.05rem, 2.4vw, 1.5rem); }
.perspective-home .regional-pricing-plans small { color: var(--scan-tone); }
.perspective-home .regional-pricing-plans a {
  display: flex;
  align-items: center;
  width: fit-content;
  min-height: 44px;
  margin-top: 0.25rem;
  color: var(--scan-link);
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.perspective-home .regional-pricing-plans a:hover { color: var(--scan-ink); }
.perspective-home .regional-pricing-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  flex-wrap: wrap;
  padding-top: 1rem;
  border-top: 1px solid var(--scan-line);
}
.perspective-home .regional-pricing-action p { margin: 0; color: var(--scan-tone); }
.perspective-home .regional-pricing .regional-pricing-action a {
  display: inline-block;
  padding: 0.65rem 1rem;
  background: var(--scan-ink);
  color: white;
  text-decoration: none;
  font-weight: 650;
}
.perspective-home .regional-pricing .regional-pricing-action a:hover { background: var(--scan-link); }
.perspective-home .public-calculator :is(.calculator-tabs, .calculator-equation) { border-color: var(--scan-line); }
.perspective-home .public-calculator :is(.calculator-tabs button, .calculator-question label, .calculator-question > div, .calculator-settings label, .calculator-settings strong, .calculator-settings small, .calculator-result small, .calculator-total span, .calculator-result p, .calculator-account, .calculator-result .public-kicker) { color: var(--scan-tone); }
.perspective-home .calculator-tabs > button.active { color: var(--scan-ink); border-color: var(--scan-link); }
.perspective-home .calculator-channels > label { border-color: #9dbed0; color: var(--scan-ink); }
.perspective-home .calculator-channels > label:has(input:checked) { background: #cce8f4; border-color: #6aabc7; color: var(--scan-ink); }
.perspective-home .calculator-channels > label:focus-within { outline-color: var(--scan-link); }
.perspective-home .calculator-question :is(strong, input),
.perspective-home .calculator-settings input { color: var(--scan-ink); accent-color: var(--scan-link); }
.perspective-home .calculator-question input { background: #9dbed0; }
.perspective-home .calculator-settings select { border-color: #9dbed0; color: var(--scan-ink); background: var(--scan-paper); }
.perspective-home .calculator-result {
  min-height: 0;
  padding: clamp(16px, 3vw, 36px);
  border: 1px solid var(--scan-line);
  border-radius: 12px;
  background: #fff;
}
.perspective-home .calculator-result :is(.calculator-price, .calculator-equation > span, .calculator-total > strong) {
  color: var(--scan-ink);
  font-family: Onest, Arial, sans-serif;
}
.perspective-home .public-calculator .calculator-equation b { color: var(--scan-tone); }
.perspective-home .calculator-result .public-button.dark {
  border-radius: 7px;
  background: var(--scan-deep);
  color: #f7fbff;
}
.perspective-home .calculator-result .public-button.dark:hover { background: var(--scan-link); }

.perspective-home .mcp-copy :is(li > svg, .public-inline-button) { color: var(--scan-link); }
.perspective-home .mcp-copy .public-inline-button { border-color: var(--scan-line); }
.perspective-home.public-site .mcp-terminal {
  border-radius: 12px;
  background: var(--scan-deep);
  color: #edf7fd;
  box-shadow: none;
}
.perspective-home .mcp-terminal :is(.terminal-head, .terminal-bottom) { border-color: #35556a; }
.perspective-home .mcp-terminal :is(.terminal-head, .terminal-head > span:last-child, .terminal-dialog > p, .terminal-bottom) { color: #d2e6f0; }
.perspective-home .mcp-terminal :is(.terminal-call, .terminal-role, .terminal-role.green, .terminal-evidence) { color: var(--scan-light); }
.perspective-home .mcp-terminal .terminal-call > span:first-child { color: var(--scan-light); background: #21475e; }
.perspective-home .faq-section, .perspective-home .faq-list, .perspective-home .faq-list details { border-color: var(--scan-line); }
.perspective-home .faq-list summary { color: var(--scan-ink); }
.perspective-home .faq-plus { color: var(--scan-link); }

.perspective-home.public-site .public-final {
  min-height: 0;
  align-items: center;
  padding: var(--scan-space) max(var(--scan-pad), calc((100% - 1384px) / 2));
  color: #f7fbff;
  background: var(--scan-deep) url("/explore/assets/neural-network.svg") center / cover;
}
.perspective-home .public-final p { color: #d2e6f0; }
.perspective-home .public-final .public-button.light { background: var(--scan-light); color: var(--scan-deep); border-radius: 7px; }
.perspective-home .public-final .public-button.light:hover { background: #fff; }

.perspective-home .public-markets { color: var(--scan-ink); }
.perspective-home .public-markets p { color: var(--scan-tone); }
.perspective-home .public-markets a,
.perspective-home .perspective-sections a {
  color: var(--scan-link);
  text-decoration-thickness: 1px;
  text-underline-offset: .22em;
}

.perspective-home .public-footer, .perspective-home > .footer {
  padding: 28px var(--scan-pad);
  background: var(--scan-deep);
  color: #c9dee9;
  width: 100%;
  max-width: none;
}
.perspective-home .public-footer > :is(span, small),
.perspective-home :is(.public-footer, .footer) .analytics-choice { color: #c9dee9; }
.perspective-home :is(.public-footer, .footer) .analytics-choice[open] {
  background: var(--scan-paper);
  color: var(--scan-ink);
  border: 1px solid var(--scan-line);
  border-radius: 8px;
  padding: 14px;
}
.perspective-home :is(.public-footer, .footer) .analytics-choice :is(summary, p) { color: inherit; }
.perspective-home :is(.public-footer, .footer) .analytics-choice button {
  background: #fff;
  border-color: #7090a4;
  color: var(--scan-ink);
}
.perspective-home :is(.public-footer, .footer) .analytics-choice button:hover { background: var(--scan-blue); }
.perspective-home :is(.public-footer, .footer) .analytics-choice :is(summary, button):focus-visible {
  outline: 2px solid #509ac1;
  outline-offset: 3px;
}
.perspective-home .public-footer > div { flex-wrap: wrap; gap: 12px 20px; }
.perspective-home .public-footer > div > a:hover { color: #fff; }

.perspective-home .perspective-page-main > .perspective-sections {
  max-width: 1540px;
  width: 100%;
  margin-inline: auto;
  padding: 0 var(--scan-pad);
}
.perspective-home .perspective-sections > section {
  padding-block: var(--scan-space);
  border-color: var(--scan-line);
}
.perspective-home .perspective-sections :is(p, .markets > h3) { color: var(--scan-tone); }
.perspective-home .perspective-sections > .perspective-sample {
  display: grid;
  gap: 13px;
  padding: clamp(22px, 4vw, 56px);
  margin: 0 0 24px;
  border: 1px solid #254b60;
  border-radius: 12px;
  background: var(--scan-deep) url("/explore/assets/neural-network.svg") center / cover;
  color: #f7fbff;
}
.perspective-home .perspective-sample :is(h2, h3, p) { margin: 0; }
.perspective-home .perspective-sections > .perspective-sample h3 { color: #edf8ff; }
.perspective-home .perspective-sample p { max-width: 70ch; color: #d2e6f0; }
.perspective-home .perspective-sample a { justify-self: start; color: var(--scan-light); }

.app-shell > .sidebar {
  color: #d5e7f2;
  background: var(--scan-deep);
}
.app-shell > .sidebar :is(.workspace-home, .workspace-label, .new-project, .sidebar-help, .sidebar-help span:not(.help-icon), .project-picker > svg, .user-row span, .user-row > .icon-btn) { color: #adc8d9; }
.app-shell > .sidebar :is(.project-picker, .help-icon) { background: #16384e; border-color: #35556a; }
.app-shell > .sidebar .project-picker select { color: #edf7fd; }
.app-shell > .sidebar .project-picker select option { color: var(--scan-ink); }
.app-shell > .sidebar :is(.project-avatar, .user-avatar) { color: var(--scan-deep); background: var(--scan-light); }
.app-shell > .sidebar :is(nav button, .sidebar-section button, .sidebar-section a.ops-workspace-link) { color: #c3d9e7; }
.app-shell > .sidebar :is(nav button, .sidebar-section button, .sidebar-section a.ops-workspace-link):is(.active, :hover) { background: #204760; color: #f7fbff; }
.app-shell > .sidebar nav button.active::before { background: var(--scan-light); }
.app-shell > .sidebar nav button.active svg { color: var(--scan-light); }
.app-shell > .sidebar .nav-count { background: #35617a; color: #f7fbff; }
.app-shell > .sidebar :is(.user-row, .sidebar-section) { border-color: #35556a; }
.app-shell > .sidebar :is(button, a, select):focus-visible { outline-color: var(--scan-light); }

@media (max-width: 900px) {
  .perspective-home .report-examples-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .perspective-home .report-example-jobber { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .perspective-home .report-examples-grid { grid-template-columns: 1fr; }
  .perspective-home .public-section-heading { align-items: start; gap: 12px; }
  .perspective-home .public-section-heading > p { min-width: 0; }
  .perspective-home .catalog-intro { position: static; }
  .perspective-home .catalog-list { max-height: 400px; }
  .perspective-home .public-footer { gap: 12px 24px; }
}
@media (max-width: 500px) {
  .perspective-home .perspective-atlas .atlas-selector button {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    padding: 8px 3px;
  }
  .perspective-home .perspective-atlas .atlas-selector button img { grid-row: auto; }
}

.perspective-home .perspective-sections #pricing > div {
  gap: 12px;
}
.perspective-home .perspective-sections #pricing article {
  height: 100%;
  padding: clamp(16px, 2.2vw, 26px);
  border: 1px solid var(--scan-line);
  border-top: 2px solid #80b4ce;
  border-radius: 9px;
  background: #fff;
}
.perspective-home .perspective-sections #pricing article p { margin-bottom: 0; }

.app-shell {
  background: var(--scan-paper);
  color: var(--scan-ink);
}
.app-shell .page-heading :is(h1, .eyebrow, p),
.app-shell .topbar :is(.crumb, .avatar-mini) { color: var(--scan-tone); }
.app-shell .page-heading h1 {
  color: var(--scan-ink);
  font-family: Onest, Arial, sans-serif;
}
.app-shell .topbar { border-color: var(--scan-line); }
.app-shell .topbar .interface-languages a[aria-current] { background: var(--scan-blue); color: var(--scan-ink); }
.app-shell .page-heading .btn.primary { color: #fff; background: var(--scan-deep); }
.app-shell .page-heading .btn.primary:hover { background: var(--scan-link); }
.app-shell .run-progress { border-color: var(--scan-line); background: var(--scan-blue); }
.app-shell .run-progress :is(svg, strong, span, .run-eta) { color: var(--scan-link); }
.app-shell .run-progress .progress-track { background: var(--scan-line); }
.app-shell .run-progress .progress-track i { background: var(--scan-link); }
.app-shell .visibility-desk {
  --desk-ink: var(--scan-ink);
  --desk-muted: var(--scan-tone);
  --desk-line: var(--scan-line);
  --desk-accent: var(--scan-link);
}
.app-shell .visibility-reading { background: var(--scan-paper); }
.app-shell .visibility-switch,
.app-shell .visibility-history,
.app-shell .visibility-channels li { border-color: var(--scan-line); }
.app-shell .visibility-switch button { color: var(--scan-tone); }
.app-shell .visibility-switch button[aria-pressed=true] { color: #fff; background: var(--scan-deep); }
.app-shell .visibility-rail { background: var(--scan-blue); }
.app-shell .visibility-channels li button:hover:enabled { background: var(--scan-paper); }
