/* Homepage composition only. Colors come from /marpt-tokens.css.
 *
 * Page-local custom properties below are composition scalars (rail, rhythm,
 * type scale, motion) and aliases onto canonical semantic tokens. This file
 * never declares a replacement palette, a theme system, or shell ownership. */
html:has(.home-page) { scroll-behavior: smooth; scroll-padding-top: 88px; }
.home-page {
  /* Two rails: narrative aligns to the shell, product surfaces break past it. */
  --home-rail: 1180px;
  --home-rail-wide: 1320px;
  --home-gutter: 32px;
  --home-band: 112px;

  /* Type scale with real steps between levels, not four sizes 4px apart. */
  --t-display: clamp(44px, 7vw, 92px);
  --t-major: clamp(32px, 4.2vw, 54px);
  --t-section: clamp(25px, 2.7vw, 34px);
  --t-sub: 20px;
  --t-lead: clamp(16px, 1.3vw, 19px);
  --t-body: 15px;
  --t-meta: 13px;
  --t-label: 11px;

  --home-hair: var(--marpt-border-subtle);
  --home-rule: var(--marpt-border);
  /* MARPT system voice: mono for labels, identifiers and citations. */
  --home-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;
  /* Motion: purposeful, fast, never elastic. */
  --home-ease: cubic-bezier(.22,.61,.36,1);
  --home-t-fast: 120ms;
  --home-t: 200ms;
  --home-t-slow: 420ms;

  margin: 0;
  background: var(--marpt-bg);
  color: var(--marpt-text-primary);
  font: 400 16px/1.6 Inter, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.home-page *, .home-page *::before, .home-page *::after { box-sizing: border-box; }
.home-page :is(h1,h2,h3,p,blockquote,dl,dd,figure) { margin: 0; }
.home-page button { font: inherit; }
.home-page [hidden] { display: none !important; }
.home-page a { text-underline-offset: 5px; }
.home-page :is(a,button,[tabindex]):focus-visible { outline: 2px solid var(--marpt-accent-emphasis); outline-offset: 4px; border-radius: 3px; }
.home-page .home-skip { position: fixed; top: 8px; left: 16px; transform: translateY(-160%); z-index: 10000; padding: 12px 20px; border: 1px solid var(--marpt-border); border-radius: 7px; background: var(--marpt-surface); color: var(--marpt-text-primary); transition: transform var(--home-t) var(--home-ease); }
.home-page .home-skip:focus { transform: translateY(0); }

/* --------------------------------------------------------------- rails --- */
.home-wrap { width: 100%; max-width: var(--home-rail); margin-inline: auto; padding-inline: var(--home-gutter); }
.home-wrap-wide { max-width: var(--home-rail-wide); }
.home-section { position: relative; padding-block: var(--home-band); }
/* Stage index in the rail's left margin: the journey rendered as case structure. */
.home-section[data-home-stage]::before {
  content: attr(data-home-stage);
  position: absolute;
  top: calc(var(--home-band) - 40px);
  left: max(var(--home-gutter), calc(50% - var(--home-rail) / 2));
  font: 500 11px/1 var(--home-mono);
  letter-spacing: .2em;
  color: var(--marpt-text-muted);
}

/* ----------------------------------------------------------- typography --- */
.home-page .home-eyebrow {
  color: var(--marpt-text-muted);
  font: 500 var(--t-label)/1.5 var(--home-mono);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.home-hero .home-eyebrow {
  color: var(--marpt-accent-emphasis);
}
.home-page h1 { font-size: var(--t-display); line-height: .98; font-weight: 600; letter-spacing: -.05em; text-wrap: balance; }
.home-page h2 { font-size: var(--t-section); line-height: 1.12; font-weight: 500; letter-spacing: -.035em; text-wrap: balance; }
.home-page h3 { font-size: var(--t-sub); line-height: 1.28; font-weight: 500; letter-spacing: -.022em; }
.home-page p { color: var(--marpt-text-secondary); }
.home-page .home-lead { font-size: var(--t-lead); line-height: 1.58; color: var(--marpt-text-secondary); text-wrap: pretty; }
.home-page .home-note { font-size: 12px; line-height: 1.6; color: var(--marpt-text-muted); }

/* -------------------------------------------------------------- actions --- */
.home-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px; }
.home-button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 13px 26px;
  background: var(--marpt-accent); color: white;
  font-size: 14.5px; font-weight: 600; letter-spacing: -.005em;
  border-radius: 8px; text-decoration: none;
  transition: background-color var(--home-t) var(--home-ease),
              transform var(--home-t-fast) var(--home-ease),
              box-shadow var(--home-t) var(--home-ease);
}
.home-button:hover { background: var(--marpt-accent-hover); transform: translateY(-1px); box-shadow: var(--marpt-shadow-medium); }
.home-button:active { transform: translateY(0); box-shadow: none; }
.home-link, .home-demo-link, .home-enterprise-link {
  display: inline-flex; align-items: center; min-height: 44px;
  color: var(--marpt-accent-emphasis); font-size: 14px; font-weight: 500;
  text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 1px;
  transition: color var(--home-t) var(--home-ease), text-decoration-color var(--home-t) var(--home-ease);
}
.home-link:hover, .home-demo-link:hover, .home-enterprise-link:hover,
.home-link:focus-visible, .home-demo-link:focus-visible, .home-enterprise-link:focus-visible { text-decoration-color: currentColor; }
.home-demo-link { color: var(--marpt-text-secondary); }
.home-demo-link:hover, .home-demo-link:focus-visible { color: var(--marpt-text-primary); }

/* ----------------------------------------------------------------- hero --- */
/* Editorial stage: display type owns the first screen, and the Advisor console
 * is a full-width product surface beneath it rather than a sidebar widget. */
.home-hero { padding-block: 56px 0; }
.home-page .home-hero h1 { max-width: 24ch; font-size: 58px; }
.home-hero-side { margin-top: 34px; }
.home-hero-side .home-lead { max-width: 72ch; }
.home-hero-side .home-actions { margin-top: 28px; }
.home-hero-side .home-note { margin-top: 14px; }

/* ------------------------------------------- surface 1: advisor console --- */
/* Dense, instrument-like: numbered stepper, analysis body, margin apparatus. */
.home-console {
  margin-top: 72px;
  background: var(--marpt-surface);
  border: 1px solid var(--marpt-border);
  border-radius: 14px 14px 0 0;
  border-bottom: 0;
  box-shadow: var(--marpt-shadow-medium);
  overflow: hidden;
  min-width: 0;
}
.home-console-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 15px 26px; background: var(--marpt-surface-subtle);
  border-bottom: 1px solid var(--home-hair);
  color: var(--marpt-text-muted); font: 400 11px/1.4 var(--home-mono); letter-spacing: .05em;
}
.home-console-bar > :first-child { font-weight: 600; letter-spacing: .16em; color: var(--marpt-text-primary); }
.home-console-bar > :last-child { text-align: right; }
.home-console-bar > :last-child::before {
  content: ''; display: inline-block; width: 5px; height: 5px; margin-right: 9px;
  border-radius: 50%; background: var(--marpt-success); vertical-align: .1em;
}
.home-console-foot {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 14px 26px; border-top: 1px solid var(--home-hair);
  background: var(--marpt-surface-subtle);
  font: 400 10px/1.6 var(--home-mono); letter-spacing: .06em; color: var(--marpt-text-muted);
}
.home-console-foot > :last-child { color: var(--marpt-text-secondary); }

/* Match the real Advisor's four-stage workflow instead of inventing homepage-only stages. */
.home-stepper {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 0;
  padding: 0;
  border-bottom: 1px solid var(--home-hair);
}
.home-stepper button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 9px;
  min-height: 60px;
  padding: 12px 20px;
  border: 0;
  border-right: 1px solid var(--home-hair);
  background: transparent;
  color: var(--marpt-text-muted);
  cursor: pointer;
  text-align: left;
  font: 500 12.5px/1.3 Inter, system-ui, sans-serif;
  letter-spacing: -.01em;
  transition: color var(--home-t) var(--home-ease), background-color var(--home-t) var(--home-ease);
}
.home-stepper button:last-child { border-right: 0; }
.home-stepper button:hover {
  background: var(--marpt-bg-muted);
  color: var(--marpt-text-primary);
}
.home-stepper button.is-complete { color: var(--marpt-success); }
.home-stepper button[aria-selected="true"] {
  background: color-mix(in srgb, var(--marpt-accent-emphasis) 5%, var(--marpt-bg));
  color: var(--marpt-text-primary);
}
.home-step-marker {
  display: inline-grid;
  place-items: center;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  border: 1px solid var(--home-rule);
  border-radius: 999px;
  color: var(--marpt-text-muted);
  background: color-mix(in srgb, var(--marpt-surface) 70%, var(--marpt-bg));
  font: 600 10px/1 var(--home-mono);
}
.home-stepper button.is-complete .home-step-marker {
  border-color: color-mix(in srgb, var(--marpt-success) 62%, var(--home-rule));
  background: var(--marpt-success-muted);
  color: var(--marpt-success);
}
.home-stepper button[aria-selected="true"] .home-step-marker {
  border-color: var(--marpt-accent-emphasis);
  background: var(--marpt-accent-muted);
  color: var(--marpt-accent-emphasis);
}

.home-panel-stage { display: grid; background: var(--marpt-bg); min-height: 320px; }
.home-panel-stage > .home-panel { grid-area: 1 / 1; }
.home-panel-stage > .home-panel[hidden] { display: block !important; visibility: hidden; pointer-events: none; }
.home-panel { padding: 32px; }
/* Margin apparatus: the disclaimer hangs beside the analysis, like a note in
 * the margin of a case file, instead of trailing it as body copy. */
.home-advisor .home-panel { position: relative; padding-right: 332px; }
.home-advisor .home-panel > .home-note {
  position: absolute; bottom: 32px; right: 32px; width: 244px;
  padding-left: 22px; border-left: 1px solid var(--home-hair);
}
.home-panel h3 { margin-bottom: 16px; }
.home-console .home-panel h3, .home-app-stage .home-panel h3 { font-size: 27px; letter-spacing: -.032em; line-height: 1.16; }
.home-console .home-panel > p:not(.home-eyebrow):not(.home-note) { font-size: 16px; line-height: 1.6; max-width: 44ch; }
.home-console .home-data-row, .home-app-stage .home-data-row { font-size: 14px; padding-block: 16px; }
.home-console .home-data-row dt, .home-app-stage .home-data-row dt { font-size: 13.5px; }
.home-console .home-checks { font-size: 16px; }
.home-console .home-attention { font-size: 15.5px; }
.home-app-stage .home-panel .home-case-change { font-size: 14.5px; }
.home-app-stage .home-next-action { font-size: 14px; }
.home-panel .home-eyebrow { font-size: 10px; margin-bottom: 14px; }
.home-panel > p:not(.home-eyebrow):not(.home-note) { font-size: var(--t-body); line-height: 1.62; max-width: 48ch; }
.home-fit {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px;
  padding: 5px 12px; border-radius: 999px;
  background: var(--marpt-success-muted); color: var(--marpt-success);
  font: 500 11px var(--home-mono); letter-spacing: .05em;
}
.home-fit::before { content: '✓'; display: inline-block; font-weight: 600; }
.home-data { font-size: var(--t-meta); margin-block: 14px !important; }
.home-data-row {
  display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: baseline; gap: 16px;
  padding-block: 13px; border-bottom: 1px solid var(--home-hair); font-size: var(--t-meta);
}
.home-data-row dt { color: var(--marpt-text-muted); font-size: 12.5px; }
.home-data-row dd { color: var(--marpt-text-primary); text-align: right; border-radius: 4px; }
.home-checks { padding-left: 18px; margin: 14px 0 0; color: var(--marpt-text-secondary); font-size: var(--t-body); }
.home-checks li { padding-left: 8px; margin-bottom: 12px; }
.home-checks li::marker { color: var(--marpt-accent-emphasis); font-family: var(--home-mono); font-size: .82em; }
.home-attention { border-left: 2px solid var(--marpt-warning); padding-left: 18px; font-size: var(--t-body); }
.home-attention strong { display: block; margin-bottom: 8px; color: var(--marpt-warning); font: 500 10.5px var(--home-mono); letter-spacing: .09em; text-transform: uppercase; }
.home-panel > .home-link { margin-top: 12px; }

/* ------------------------------------------ approved hero reference --- */
/* This block intentionally owns only the homepage hero. The shared header
 * remains authoritative and untouched. */
.home-hero {
  padding-block: 96px 0;
  background: radial-gradient(circle at 50% 14%, rgba(var(--marpt-accent-rgb), .035), transparent 42%);
}
.home-hero-copy {
  max-width: 1080px;
  margin-inline: auto;
  text-align: center;
}
.home-hero-copy .home-eyebrow { margin-bottom: 18px; }
.home-page .home-hero h1 {
  max-width: 980px;
  margin-inline: auto;
  font-size: 64px;
  line-height: 1.03;
  letter-spacing: -.045em;
  text-wrap: balance;
}
.home-hero-title-line,
.home-hero-lead-line { display: block; }
.home-hero-copy .home-lead {
  max-width: 760px;
  margin: 18px auto 0;
  font-size: 17px;
  line-height: 1.48;
  text-align: center;
}
.home-hero-copy .home-actions {
  justify-content: center;
  margin-top: 20px;
  gap: 16px;
}
.home-hero-copy .home-note {
  margin-top: 12px;
  text-align: center;
}
.home-button-primary {
  gap: 9px;
}
.home-button-primary > span {
  display: block;
  line-height: 1;
}
.home-cta-turn-icon {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  align-self: center;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform: translateY(-1px);
  transition: transform var(--home-t) var(--home-ease);
}
.home-button-primary:hover .home-cta-turn-icon,
.home-button-primary:focus-visible .home-cta-turn-icon {
  transform: translate(3px, -1px);
}

.home-button-secondary {
  min-width: 184px;
  border: 1px solid var(--marpt-accent-emphasis);
  background: transparent;
  color: var(--marpt-text-primary);
  box-shadow: none;
}
.home-button-secondary:hover,
.home-button-secondary:focus-visible {
  background: var(--marpt-accent-muted);
  color: var(--marpt-text-primary);
  box-shadow: none;
}
.home-button-secondary:active { background: transparent; }

.home-advisor-intro-wrap {
  margin-top: 130px;
}
.home-advisor-section-intro {
  position: relative;
  max-width: 720px;
  padding-top: 40px;
}
.home-advisor-stage-index {
  position: absolute;
  top: 0;
  left: 0;
  color: var(--marpt-text-muted);
  font: 500 11px/1 var(--home-mono);
  letter-spacing: .2em;
}
.home-advisor-section-intro h2 {
  max-width: none;
  font-size: var(--t-major);
  line-height: 1.04;
  letter-spacing: -.042em;
}
.home-advisor-section-intro h2 > span {
  display: block;
  white-space: nowrap;
}
@media (max-width: 760px) {
  .home-advisor-section-intro h2 > span {
    white-space: normal;
  }
}
.home-advisor-section-intro > p:not(.home-eyebrow) {
  max-width: 62ch;
  margin-top: 20px;
  font-size: var(--t-lead);
  line-height: 1.62;
}
.home-hero-preview-wrap {
  max-width: var(--home-rail);
  display: flex;
  justify-content: center;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--home-hair);
}
.home-hero .home-console {
  width: min(92%, 1120px);
  margin-top: 64px;
  margin-inline: auto;
  overflow: visible;
  border: 0;
  border-left: 1px solid rgba(245,247,250,.12);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.home-advisor {
  --advisor-text-primary: rgba(245,247,250,.90);
  --advisor-text-secondary: rgba(245,247,250,.68);
  --advisor-text-muted: rgba(245,247,250,.49);
  --advisor-edge: rgba(126,151,184,.16);
  --advisor-edge-strong: rgba(136,164,201,.24);
  --advisor-surface: #0f141a;
  --advisor-surface-raised: #151b23;
  --home-hair: rgba(245,247,250,.09);
}
.home-hero .home-console-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 0 30px;
  border: 0;
  background: #15191f;
}
.home-hero .home-console-title {
  display: inline-flex;
  align-items: center;
  min-height: 76px;
  color: var(--advisor-text-primary);
  font: 600 17px/1 var(--home-mono);
  letter-spacing: .10em;
}
.home-hero .home-console-meta {
  display: inline-flex;
  align-items: center;
  min-height: 76px;
  color: var(--advisor-text-muted);
  font: 400 12px/1 var(--home-mono);
  letter-spacing: .07em;
}
.home-hero .home-console-meta::before { margin-right: 10px; }

.home-advisor-hybrid-body {
  display: grid;
  grid-template-columns: minmax(0,.39fr) minmax(0,.61fr);
  min-height: 468px;
  border-bottom: 1px solid var(--advisor-edge);
  background: var(--advisor-surface);
}
.home-advisor-profile-pane,
.home-advisor-results-pane {
  min-width: 0;
  padding: 24px;
}
.home-advisor-profile-pane {
  display: flex;
  flex-direction: column;
}
.home-advisor-results-pane {
  border-left: 1px solid var(--advisor-edge-strong);
  background: #0d1218;
}
.home-advisor-pane-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.home-advisor-pane-title {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}
.home-advisor-pane-title > div {
  display: grid;
  gap: 3px;
  min-width: 0;
}
.home-advisor-pane-title strong {
  color: var(--advisor-text-primary);
  font-size: 14px;
  font-weight: 650;
}
.home-advisor-pane-title > div > span {
  color: var(--advisor-text-muted);
  font: 500 8.5px/1.2 var(--home-mono);
  letter-spacing: .055em;
  text-transform: uppercase;
}
.home-advisor-pane-icon {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  flex: 0 0 25px;
  border: 1px solid rgba(var(--marpt-accent-rgb),.24);
  border-radius: 7px;
  background: rgba(var(--marpt-accent-rgb),.08);
  color: var(--marpt-accent-emphasis);
}
.home-advisor-pane-icon.is-pathways {
  border-color: color-mix(in srgb, var(--marpt-success) 28%, transparent);
  background: color-mix(in srgb, var(--marpt-success) 8%, transparent);
  color: var(--marpt-success);
}
.home-advisor-pane-icon svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.home-advisor-pane-sub {
  margin: 9px 0 15px;
  color: var(--advisor-text-muted);
  font-size: 10.5px;
  line-height: 1.45;
}
.home-advisor-match-count {
  flex: 0 0 auto;
  padding: 5px 8px;
  border: 1px solid var(--advisor-edge);
  border-radius: 999px;
  color: var(--advisor-text-secondary);
  font: 500 9px/1 var(--home-mono);
  letter-spacing: .04em;
}

.home-advisor-input-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 6px;
}
.home-advisor-input {
  display: grid;
  gap: 3px;
  min-height: 47px;
  padding: 8px 10px;
  border: 1px solid var(--advisor-edge);
  border-radius: 7px;
  background: #141a22;
}
.home-advisor-input.is-wide { grid-column: 1 / -1; }
.home-advisor-input strong {
  color: var(--advisor-text-primary);
  font-size: 12px;
  font-weight: 550;
}
.home-advisor-input span,
.home-advisor-field-label {
  color: var(--advisor-text-muted);
  font: 500 7.5px/1.2 var(--home-mono);
  letter-spacing: .09em;
  text-transform: uppercase;
}
.home-advisor-select-row {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 6px;
  margin-top: 7px;
}
.home-advisor-select-row > span {
  position: relative;
  min-width: 0;
  padding: 8px 22px 8px 10px;
  border: 1px solid var(--advisor-edge);
  border-radius: 7px;
  color: var(--advisor-text-secondary);
  font-size: 9.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.home-advisor-select-row > span::after {
  content: '⌄';
  position: absolute;
  right: 8px;
  color: var(--advisor-text-muted);
}
.home-advisor-field-label {
  display: block;
  margin-top: 12px;
}
.home-advisor-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 7px;
}
.home-advisor-chip {
  padding: 6px 9px;
  border: 1px solid var(--advisor-edge);
  border-radius: 999px;
  color: var(--advisor-text-muted);
  font-size: 9px;
  line-height: 1;
}
.home-advisor-chip.is-active {
  border-color: color-mix(in srgb, var(--marpt-accent-emphasis) 55%, var(--advisor-edge));
  background: rgba(var(--marpt-accent-rgb),.10);
  color: var(--marpt-accent-emphasis);
}
.home-advisor-intent {
  display: grid;
  grid-template-columns: 20px minmax(0,1fr);
  gap: 8px;
  align-items: center;
  min-height: 52px;
  margin-top: 10px;
  padding: 8px 10px;
  border: 1px solid var(--advisor-edge);
  border-radius: 7px;
  background: #121820;
}
.home-advisor-intent svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: var(--advisor-text-muted);
  stroke-width: 1.6;
  stroke-linecap: round;
}
.home-advisor-intent > div {
  display: grid;
  gap: 3px;
  min-width: 0;
}
.home-advisor-intent span {
  color: var(--advisor-text-muted);
  font: 500 7.5px/1.2 var(--home-mono);
  letter-spacing: .07em;
  text-transform: uppercase;
}
.home-advisor-intent strong {
  overflow: hidden;
  color: var(--advisor-text-secondary);
  font-size: 10.5px;
  font-weight: 500;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.home-advisor-profile-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 16px;
}
.home-advisor-run {
  min-height: 34px;
  padding: 8px 13px;
  border: 0;
  border-radius: 7px;
  background: var(--marpt-text-primary);
  color: #11161d;
  font-size: 10.5px;
  font-weight: 650;
  cursor: pointer;
}
.home-advisor-run:hover,
.home-advisor-run:focus-visible { background: #fff; }
.home-advisor-profile-state {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--advisor-text-muted);
  font-size: 9px;
}
.home-advisor-profile-state i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--marpt-success);
}

.home-advisor-analysis {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 32px;
  margin-bottom: 8px;
  padding: 7px 9px;
  border: 1px solid color-mix(in srgb, var(--marpt-success) 18%, transparent);
  border-radius: 7px;
  background: color-mix(in srgb, var(--marpt-success) 4%, transparent);
  color: color-mix(in srgb, var(--marpt-success) 82%, white 18%);
  font: 500 8.5px/1.35 var(--home-mono);
  opacity: 0;
}
.home-advisor-analysis-dot {
  width: 5px;
  height: 5px;
  flex: 0 0 5px;
  border-radius: 50%;
  background: var(--marpt-success);
}
.home-advisor-result-stack {
  display: grid;
  gap: 8px;
}
.home-advisor-result-card {
  position: relative;
  padding: 13px 14px 12px;
  border: 1px solid var(--advisor-edge);
  border-radius: 9px;
  background: var(--advisor-surface-raised);
}
.home-advisor-result-card.is-primary {
  border-color: color-mix(in srgb, var(--marpt-success) 25%, var(--advisor-edge));
  background: #151c25;
}
.home-advisor-result-card.is-primary::before,
.home-advisor-result-card.is-secondary::before {
  content: '';
  position: absolute;
  inset-block: 0;
  left: 0;
  width: 3px;
  border-radius: 9px 0 0 9px;
  background: var(--marpt-success);
}
.home-advisor-result-card.is-secondary::before {
  background: var(--marpt-accent-emphasis);
}
.home-advisor-result-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.home-advisor-result-name {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  min-width: 0;
}
.home-advisor-result-name > div {
  display: grid;
  gap: 3px;
  min-width: 0;
}
.home-advisor-result-name strong {
  color: var(--advisor-text-primary);
  font-size: 12px;
  font-weight: 650;
}
.home-advisor-result-name > div > span {
  color: var(--advisor-text-muted);
  font: 500 7.5px/1.3 var(--home-mono);
  letter-spacing: .035em;
}
.home-advisor-result-rank {
  padding-top: 3px;
  color: var(--advisor-text-muted);
  font: 600 8px/1 var(--home-mono);
}
.home-advisor-visa-code {
  display: grid;
  place-items: center;
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
  border: 1px solid rgba(var(--marpt-accent-rgb),.26);
  border-radius: 5px;
  background: rgba(var(--marpt-accent-rgb),.10);
  color: var(--marpt-accent-emphasis);
  font: 650 8px/1 var(--home-mono);
}
.home-advisor-visa-code.is-green {
  border-color: color-mix(in srgb, var(--marpt-success) 28%, transparent);
  background: color-mix(in srgb, var(--marpt-success) 10%, transparent);
  color: var(--marpt-success);
}
.home-advisor-result-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 5px;
  flex: 0 0 auto;
}
.home-advisor-result-badges span {
  padding: 4px 6px;
  border: 1px solid var(--advisor-edge);
  border-radius: 6px;
  color: var(--advisor-text-muted);
  font: 600 7.5px/1 var(--home-mono);
  white-space: nowrap;
}
.home-advisor-result-badges .is-best {
  border-color: color-mix(in srgb, var(--marpt-success) 30%, transparent);
  background: color-mix(in srgb, var(--marpt-success) 9%, transparent);
  color: var(--marpt-success);
}
.home-advisor-result-badges .is-fit {
  border-color: rgba(var(--marpt-accent-rgb),.24);
  background: rgba(var(--marpt-accent-rgb),.07);
  color: var(--marpt-accent-emphasis);
}
.home-advisor-result-badges .is-alt {
  border-color: color-mix(in srgb, var(--marpt-warning) 26%, transparent);
  color: color-mix(in srgb, var(--marpt-warning) 78%, white 22%);
}
.home-advisor-fitbar {
  display: flex;
  margin: 10px 0 9px;
}
.home-advisor-fitbar > span {
  width: 100%;
  height: 3px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255,255,255,.055);
}
.home-advisor-fitbar i {
  display: block;
  width: var(--advisor-fit);
  height: 100%;
  border-radius: inherit;
  background: var(--marpt-success);
  transform-origin: left;
}
.home-advisor-fitbar.is-secondary i {
  background: var(--marpt-accent-emphasis);
}
.home-advisor-reason-grid {
  display: grid;
  gap: 5px;
}
.home-advisor-reason-grid > div {
  display: grid;
  grid-template-columns: 90px minmax(0,1fr);
  gap: 8px;
}
.home-advisor-reason-grid span {
  color: var(--advisor-text-primary);
  font-size: 8.5px;
  font-weight: 650;
}
.home-advisor-reason-grid p {
  margin: 0;
  color: var(--advisor-text-secondary);
  font-size: 8.9px;
  line-height: 1.4;
}
.home-advisor-result-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 9px;
}
.home-advisor-result-tags span {
  padding: 4px 6px;
  border: 1px solid var(--advisor-edge);
  border-radius: 5px;
  color: var(--advisor-text-muted);
  font: 500 7.5px/1 var(--home-mono);
}
.home-advisor-result-tags .is-ok {
  border-color: color-mix(in srgb, var(--marpt-success) 23%, transparent);
  color: color-mix(in srgb, var(--marpt-success) 82%, white 18%);
}
.home-advisor-result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 9px;
}
.home-advisor-result-actions a,
.home-advisor-more a {
  color: var(--marpt-accent-emphasis);
  font-size: 9px;
  font-weight: 550;
  text-decoration: none;
}
.home-advisor-result-actions a:hover,
.home-advisor-result-actions a:focus-visible,
.home-advisor-more a:hover,
.home-advisor-more a:focus-visible { text-decoration: underline; }
.home-advisor-secondary-line {
  color: var(--advisor-text-muted);
  font-size: 8.8px;
  line-height: 1.4;
}
.home-advisor-more {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 3px 2px 0;
}
.home-advisor-more > span {
  color: var(--advisor-text-muted);
  font: 500 8px/1.35 var(--home-mono);
}

.home-advisor .home-console-foot,
.home-hero .home-console-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 0;
  margin-top: 0;
  padding: 12px 24px 0;
  border: 0;
  background: transparent;
  color: var(--advisor-text-muted);
  font: 400 9px/1.6 var(--home-mono);
  letter-spacing: .045em;
}
.home-advisor .home-console-foot > :last-child { color: var(--advisor-text-muted); }

/* Enhancement animation: static HTML remains useful without JS. */
.home-advisor-hybrid.is-enhanced .home-advisor-result-card,
.home-advisor-hybrid.is-enhanced .home-advisor-more {
  opacity: 0;
  transform: translateY(7px);
}
.home-advisor-hybrid.is-enhanced .home-advisor-fitbar i {
  transform: scaleX(0);
}
.home-advisor-hybrid.is-running .home-advisor-analysis {
  animation: homeAdvisorAnalysis 1.25s ease both;
}
.home-advisor-hybrid.is-running .home-advisor-result-card.is-primary {
  animation: homeAdvisorResultReveal .42s ease .82s forwards;
}
.home-advisor-hybrid.is-running .home-advisor-result-card.is-secondary {
  animation: homeAdvisorResultReveal .42s ease 1.08s forwards;
}
.home-advisor-hybrid.is-running .home-advisor-more {
  animation: homeAdvisorResultReveal .34s ease 1.30s forwards;
}
.home-advisor-hybrid.is-running .home-advisor-fitbar i {
  animation: homeAdvisorFitFill .82s cubic-bezier(.2,.8,.2,1) 1.02s forwards;
}
.home-advisor-hybrid.is-running .home-advisor-result-card.is-secondary .home-advisor-fitbar i {
  animation-delay: 1.26s;
}
@keyframes homeAdvisorAnalysis {
  0% { opacity: 0; transform: translateY(4px); }
  18%, 72% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(-2px); }
}
@keyframes homeAdvisorResultReveal {
  from { opacity: 0; transform: translateY(7px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes homeAdvisorFitFill {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@media (max-width: 760px) {
  .home-advisor-hybrid-body {
    grid-template-columns: 1fr;
  }
  .home-advisor-profile-pane,
  .home-advisor-results-pane {
    padding: 20px;
  }
  .home-advisor-results-pane {
    border-top: 1px solid var(--advisor-edge-strong);
    border-left: 0;
  }
  .home-advisor-profile-actions {
    margin-top: 18px;
  }
}
@media (max-width: 520px) {
  .home-advisor-input-grid,
  .home-advisor-select-row {
    grid-template-columns: 1fr;
  }
  .home-advisor-input.is-wide { grid-column: auto; }
  .home-advisor-result-head {
    display: grid;
  }
  .home-advisor-result-badges {
    justify-content: flex-start;
    padding-left: 34px;
  }
  .home-advisor-reason-grid > div {
    grid-template-columns: 1fr;
    gap: 2px;
  }
  .home-advisor-more {
    align-items: flex-start;
    flex-direction: column;
  }
}
@media (prefers-reduced-motion: reduce) {
  .home-advisor-hybrid.is-enhanced .home-advisor-result-card,
  .home-advisor-hybrid.is-enhanced .home-advisor-more {
    opacity: 1;
    transform: none;
  }
  .home-advisor-hybrid.is-enhanced .home-advisor-fitbar i {
    transform: none;
  }
  .home-advisor-analysis { display: none; }
  .home-advisor-hybrid * { animation: none !important; }
}

/* ------------------------------------------------------ explore/compare --- */
/* Product-led comparison: narrative first, then a full-width matrix preview. */
.home-explore .home-wrap { display: block; }
.home-explore-intro {
  max-width: 720px;
}
.home-explore-intro h2 {
  max-width: 16ch;
  font-size: var(--t-major);
  line-height: 1.04;
  letter-spacing: -.042em;
}
.home-explore-intro > p:not(.home-eyebrow) {
  max-width: 62ch;
  margin-top: 20px;
  font-size: var(--t-lead);
  line-height: 1.62;
}
.home-explore-intro > .home-link {
  margin-top: 18px;
}

.home-comparison {
  position: relative;
  width: 100%;
  margin-top: 48px;
  border-top: 1px solid var(--home-rule);
  border-right: 0;
  border-bottom: 0;
  border-left: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.home-comparison::before,
.home-comparison::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: 1px;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    var(--home-rule) 0%,
    color-mix(in srgb, var(--home-rule) 82%, transparent) 42%,
    color-mix(in srgb, var(--home-rule) 32%, transparent) 74%,
    transparent 100%
  );
}
.home-comparison::before { left: 0; }
.home-comparison::after { right: 0; }

.home-comparison-bar {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 56px;
  padding: 0 26px;
  border-bottom: 1px solid var(--home-hair);
  background: #15191f;
  color: var(--marpt-text-muted);
  font: 400 10.5px/1.4 var(--home-mono);
  letter-spacing: .055em;
}
.home-comparison-bar > :first-child {
  color: var(--marpt-text-primary);
  font-weight: 600;
  letter-spacing: .07em;
}

.home-comparison-head,
.home-comparison-ledger-row {
  display: grid;
  grid-template-columns: minmax(160px, .56fr) minmax(0, 1fr) minmax(0, 1fr);
}
.home-comparison-head {
  border-bottom: 1px solid var(--home-hair);
}
.home-comparison-axis,
.home-comparison-route {
  display: flex;
  align-items: center;
  min-height: 72px;
}
.home-comparison-axis {
  padding: 14px 22px 14px 26px;
  color: var(--marpt-text-muted);
  font: 500 9.5px/1.4 var(--home-mono);
  letter-spacing: .09em;
  text-transform: uppercase;
}
.home-comparison-route {
  min-width: 0;
  padding: 14px 26px;
  border-left: 1px solid var(--home-hair);
}
.home-comparison-route-title {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}
.home-comparison-route-title h3 {
  margin: 0;
  color: var(--marpt-text-primary);
  font-size: 19px;
  line-height: 1.2;
}

.home-route-class {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-width: 30px;
  height: 28px;
  padding-inline: 8px;
  border-radius: 999px;
  font: 800 11px/1 var(--home-mono);
  letter-spacing: .03em;
}
.home-route-class.type-v {
  background: var(--marpt-accent-muted);
  color: var(--marpt-accent-emphasis);
}
.home-route-class.type-m {
  background: color-mix(in srgb, var(--marpt-success) 16%, transparent);
  color: var(--marpt-success);
}

.home-comparison-tabs {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-bottom: 1px solid var(--home-hair);
}
.home-comparison-tabs[hidden] { display: none; }
.home-comparison-tabs button {
  min-height: 30px;
  padding: 6px 11px;
  border: 1px solid var(--home-rule);
  border-radius: 999px;
  background: transparent;
  font: 600 9.5px/1 var(--home-mono);
  letter-spacing: .075em;
  text-transform: uppercase;
  cursor: pointer;
}
.home-comparison-tabs .is-requirements {
  color: var(--marpt-accent-emphasis);
}
.home-comparison-tabs .is-restrictions {
  color: var(--marpt-danger);
}
.home-comparison-tabs .is-costs {
  color: var(--marpt-warning);
}
.home-comparison-tabs .is-requirements[aria-selected="true"] {
  border-color: color-mix(in srgb, var(--marpt-accent-emphasis) 38%, var(--home-rule));
  background: color-mix(in srgb, var(--marpt-accent-emphasis) 8%, transparent);
}
.home-comparison-tabs .is-restrictions[aria-selected="true"] {
  border-color: color-mix(in srgb, var(--marpt-danger) 38%, var(--home-rule));
  background: color-mix(in srgb, var(--marpt-danger) 8%, transparent);
}
.home-comparison-tabs .is-costs[aria-selected="true"] {
  border-color: color-mix(in srgb, var(--marpt-warning) 38%, var(--home-rule));
  background: color-mix(in srgb, var(--marpt-warning) 8%, transparent);
}
.home-comparison-tabs button:hover,
.home-comparison-tabs button:focus-visible {
  border-color: currentColor;
}
.home-comparison-stage {
  position: relative;
}
.home-comparison-panel[hidden] {
  display: none;
}
.home-comparison-ledger-row {
  min-height: 62px;
  border-top: 1px solid var(--home-hair);
}
.home-comparison-panel .home-comparison-ledger-row:first-child {
  border-top: 0;
}
.home-comparison-criterion,
.home-comparison-ledger-row p {
  display: flex;
  align-items: center;
  min-width: 0;
  padding: 14px 26px;
}
.home-comparison-criterion {
  color: var(--marpt-text-muted);
  font: 500 9.5px/1.45 var(--home-mono);
  letter-spacing: .07em;
  text-transform: uppercase;
}
.home-comparison-ledger-row p {
  border-left: 1px solid var(--home-hair);
  color: var(--marpt-text-secondary);
  font-size: 13.5px;
  line-height: 1.45;
}

.home-comparison-foot {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  align-items: start;
  gap: 26px;
  padding: 18px 26px 0;
  border-top: 1px solid var(--home-hair);
  background: transparent;
}
.home-comparison-primary-link {
  min-height: 34px;
  justify-self: end;
  white-space: nowrap;
  text-decoration: none;
}
.home-comparison-primary-link:hover,
.home-comparison-primary-link:focus-visible {
  text-decoration: underline;
}
.home-comparison-foot .home-note {
  max-width: 76ch;
  margin: 0;
  padding-top: 4px;
}

/* ------------------------------------------- surface 2: case workspace --- */
/* Product-like rather than screenshot-like: a quiet rail drives a stable workspace,
 * while one contextual collaborator note adds restrained depth and motion. */
.home-workspace-section {
  position: relative;
  padding-block: var(--home-band);
  background: var(--marpt-bg);
  border-block: 1px solid var(--home-hair);
}
.home-workspace-section[data-home-stage]::before {
  content: attr(data-home-stage);
  position: absolute;
  top: calc(var(--home-band) - 40px);
  left: max(var(--home-gutter), calc(50% - var(--home-rail) / 2));
  font: 500 11px/1 var(--home-mono);
  letter-spacing: .2em;
  color: var(--marpt-text-muted);
}
.home-section-heading { display: block; margin-bottom: 48px; }
.home-section-heading h2 {
  max-width: 14ch;
  font-size: var(--t-major);
  line-height: 1.04;
  letter-spacing: -.042em;
}
.home-section-heading > p {
  max-width: 40ch;
  margin-top: 24px;
  font-size: var(--t-lead);
  line-height: 1.58;
}
.home-workspace-title {
  max-width: none !important;
  text-align: left;
}
.home-workspace-title > span {
  display: block;
}
.home-workspace-title > span:nth-child(2) {
  transform: translateX(.075em);
}
.home-workspace-intro-copy {
  max-width: none !important;
}
.home-workspace-intro-copy > span {
  display: block;
}
.home-workspace-intro-copy > span:first-child {
  white-space: nowrap;
}
@media (max-width: 960px) {
  .home-workspace-intro-copy > span:first-child {
    white-space: normal;
  }
}

.home-app {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--marpt-border);
  border-radius: 10px;
  background: var(--marpt-bg);
  box-shadow: none;
}
.home-workspace {
  position: relative;
  width: min(100%, 1025px);
  overflow: visible;
  box-shadow: 0 26px 80px rgba(0,0,0,.16);
}
.home-app-bar {
  display: flex;
  align-items: center;
  min-height: 54px;
  padding: 11px 18px;
  border-bottom: 1px solid var(--home-hair);
  border-radius: 10px 10px 0 0;
  background: #141920;
}
.home-app-brand {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
}
.home-app-brand img {
  display: block;
  width: auto;
  height: 19px;
}

.home-workspace .home-app-body {
  position: relative;
  display: grid;
  grid-template-columns: 178px minmax(0,1fr);
  min-height: 430px;
  overflow: hidden;
  border-radius: 0 0 10px 10px;
}
.home-app-rail {
  padding: 17px 10px 18px;
  border-right: 1px solid var(--home-hair);
  background: #11161c;
  font-size: 11.25px;
}
.home-app-rail-group + .home-app-rail-group { margin-top: 13px; }
.home-app-rail strong {
  display: block;
  margin: 0 0 5px;
  padding: 0 9px;
  color: var(--marpt-text-muted);
  font: 600 8px/1.4 var(--home-mono);
  letter-spacing: .11em;
  text-transform: uppercase;
}
.home-app-rail-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  min-height: 31px;
  padding: 4px 9px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: color-mix(in srgb, var(--marpt-text-secondary) 78%, var(--marpt-text-muted) 22%);
  font: inherit;
  font-size: 13px;
  line-height: 1.25;
  text-align: left;
}
button.home-app-rail-item {
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}
button.home-app-rail-item:hover,
button.home-app-rail-item:focus-visible {
  background: #171d24;
  color: var(--marpt-text-secondary);
}
button.home-app-rail-item:active {
  transform: translateX(1px);
}
.home-app-rail-item.is-secondary {
  opacity: .86;
}
.home-app-rail-item.is-active {
  color: var(--marpt-text-primary);
  background: #171d24;
}
.home-app-rail-item.is-active::before {
  content: '';
  position: absolute;
  left: -1px;
  top: 5px;
  bottom: 5px;
  width: 2px;
  border-radius: 2px;
  background: var(--marpt-accent-emphasis);
}
.home-app-rail-icon {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.home-app-rail-icon circle[r=".8"] {
  fill: currentColor;
  stroke: none;
}
.home-app-rail-item.is-active .home-app-rail-icon {
  color: var(--marpt-accent-emphasis);
}

.home-workspace-stage {
  position: relative;
  min-width: 0;
  background:
    radial-gradient(circle at 84% 12%, rgba(var(--marpt-accent-rgb),.022), transparent 34%),
    #12171d;
}
.home-workspace-view {
  min-width: 0;
  min-height: 430px;
  padding: 28px 30px 26px;
  animation: home-workspace-view-in 180ms ease both;
}
.home-workspace-view[hidden] { display: none !important; }
.home-workspace-view-overview {
  display: grid;
  grid-template-columns: 238px minmax(0,1fr);
  padding: 0;
}
@keyframes home-workspace-view-in {
  from { opacity: .45; transform: translateY(4px); }
  to { opacity: 1; transform: none; }
}

.home-workspace-priorities {
  display: flex;
  min-width: 0;
  flex-direction: column;
  border-right: 1px solid var(--home-hair);
  background: #14191f;
}
.home-workspace-priority-head {
  padding: 22px 18px 14px;
}
.home-workspace-priority-head .home-eyebrow {
  margin-bottom: 6px;
  color: var(--marpt-text-primary);
}
.home-workspace-priority-head > p:last-child {
  color: var(--marpt-text-muted);
  font-size: 10.5px;
}
.home-workspace-priority-list {
  display: grid;
}
.home-workspace-priority-list[hidden] { display: none; }
.home-workspace-priority {
  position: relative;
  display: grid;
  gap: 5px;
  width: 100%;
  padding: 14px 18px 14px 20px;
  border: 0;
  border-top: 1px solid var(--home-hair);
  background: transparent;
  color: var(--marpt-text-muted);
  text-align: left;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}
.home-workspace-priority:last-child {
  border-bottom: 1px solid var(--home-hair);
}
.home-workspace-priority::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  bottom: 11px;
  width: 2px;
  border-radius: 2px;
  background: transparent;
}
.home-workspace-priority:hover,
.home-workspace-priority:focus-visible {
  background: #171d24;
  color: var(--marpt-text-secondary);
}
.home-workspace-priority:active { transform: translateX(1px); }
.home-workspace-priority[aria-selected="true"] {
  background: #191f27;
  color: var(--marpt-text-primary);
}
.home-workspace-priority[aria-selected="true"]::before {
  background: var(--marpt-accent-emphasis);
}
.home-workspace-priority-title {
  color: inherit;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.35;
}
.home-workspace-priority-state {
  position: relative;
  padding-left: 12px;
  color: var(--marpt-text-muted);
  font: 500 9.5px/1.35 var(--home-mono);
  letter-spacing: .025em;
}
.home-workspace-priority-state::before {
  content: '';
  position: absolute;
  left: 0;
  top: .42em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}
.home-workspace-priority.is-attention .home-workspace-priority-state { color: var(--marpt-warning); }
.home-workspace-priority.is-review .home-workspace-priority-state { color: var(--marpt-info); }
.home-workspace-priority.is-supported .home-workspace-priority-state { color: var(--marpt-success); }
.home-workspace-progress {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  margin-top: auto;
  border-top: 1px solid var(--home-hair);
}
.home-workspace-progress > div {
  min-width: 0;
  padding: 12px 9px 13px;
}
.home-workspace-progress > div + div { border-left: 1px solid var(--home-hair); }
.home-workspace-progress strong,
.home-workspace-progress span { display: block; }
.home-workspace-progress strong {
  color: var(--marpt-text-primary);
  font-size: 11.5px;
  font-weight: 600;
}
.home-workspace-progress span {
  margin-top: 3px;
  color: var(--marpt-text-muted);
  font-size: 8px;
  line-height: 1.35;
}

.home-workspace-detail {
  min-width: 0;
  background: var(--marpt-bg);
}
.home-workspace-detail-stage {
  display: grid;
  height: 100%;
}
.home-workspace-detail-panel {
  grid-area: 1 / 1;
  display: flex;
  min-width: 0;
  height: 100%;
  flex-direction: column;
  padding: 28px 30px 0;
}
.home-workspace-detail-panel[hidden] {
  display: flex !important;
  visibility: hidden;
  pointer-events: none;
}
.home-workspace-detail-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}
.home-workspace-detail-head .home-eyebrow { margin-bottom: 8px; }
.home-workspace-detail-head h3 {
  max-width: 18ch;
  color: var(--marpt-text-primary);
  font-size: 25px;
  line-height: 1.15;
  letter-spacing: -.025em;
}
.home-workspace-detail-status {
  position: relative;
  flex: 0 0 auto;
  margin-top: 2px;
  padding-left: 13px;
  color: var(--marpt-text-muted);
  font: 600 9.5px/1.4 var(--home-mono);
  letter-spacing: .03em;
}
.home-workspace-detail-status::before {
  content: '';
  position: absolute;
  left: 0;
  top: .4em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.home-workspace-detail-status.is-attention { color: var(--marpt-warning); }
.home-workspace-detail-status.is-review { color: var(--marpt-info); }
.home-workspace-detail-status.is-supported { color: var(--marpt-success); }

.home-workspace-detail-data { margin-top: 24px; }
.home-workspace-detail-data > div {
  display: grid;
  grid-template-columns: 112px minmax(0,1fr);
  gap: 18px;
  padding: 13px 0;
  border-top: 1px solid var(--home-hair);
}
.home-workspace-detail-data dt {
  color: var(--marpt-text-muted);
  font: 500 8.5px/1.5 var(--home-mono);
  letter-spacing: .09em;
  text-transform: uppercase;
}
.home-workspace-detail-data dd {
  color: var(--marpt-text-secondary);
  font-size: 12.5px;
  line-height: 1.45;
}
.home-workspace-next {
  display: grid;
  grid-template-columns: 112px minmax(0,1fr);
  gap: 18px;
  margin: auto -30px 0;
  padding: 16px 30px;
  border-top: 1px solid var(--home-hair);
  background: #141920;
}
.home-workspace-next span {
  color: var(--marpt-text-muted);
  font: 500 8.5px/1.55 var(--home-mono);
  letter-spacing: .09em;
  text-transform: uppercase;
}
.home-workspace-next strong {
  color: var(--marpt-text-primary);
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.45;
}

/* Non-overview demo states */
.home-workspace-view-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--home-hair);
}
.home-workspace-view-head .home-eyebrow { margin-bottom: 7px; }
.home-workspace-view-head h3 {
  color: var(--marpt-text-primary);
  font-size: 25px;
  line-height: 1.14;
  letter-spacing: -.03em;
}
.home-workspace-view-badge {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 5px 9px;
  border: 1px solid var(--home-rule);
  border-radius: 999px;
  color: var(--marpt-text-muted);
  font: 600 8.5px/1 var(--home-mono);
  letter-spacing: .05em;
  text-transform: uppercase;
}
.home-workspace-view-badge.is-supported {
  border-color: color-mix(in srgb, var(--marpt-success) 28%, var(--home-rule));
  color: var(--marpt-success);
}
.home-workspace-view-count {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--home-rule);
  border-radius: 8px;
  color: var(--marpt-text-secondary);
  font: 600 10px/1 var(--home-mono);
}
.home-workspace-route-score {
  margin-top: 26px;
}
.home-workspace-route-score > div:first-child {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  color: var(--marpt-text-muted);
  font: 500 9px/1.4 var(--home-mono);
  letter-spacing: .07em;
  text-transform: uppercase;
}
.home-workspace-route-score strong {
  color: var(--marpt-text-primary);
  font-size: 24px;
  letter-spacing: -.03em;
}
.home-workspace-score-track {
  height: 5px;
  margin-top: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: #1b222b;
}
.home-workspace-score-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--marpt-accent-emphasis), color-mix(in srgb, var(--marpt-success) 74%, var(--marpt-accent-emphasis)));
}
.home-workspace-summary-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  margin-top: 28px;
  border-block: 1px solid var(--home-hair);
}
.home-workspace-summary-grid > div {
  min-width: 0;
  padding: 16px 16px 17px;
}
.home-workspace-summary-grid > div:first-child { padding-left: 0; }
.home-workspace-summary-grid > div + div { border-left: 1px solid var(--home-hair); }
.home-workspace-summary-grid span,
.home-workspace-view-note > span {
  display: block;
  color: var(--marpt-text-muted);
  font: 500 8.5px/1.4 var(--home-mono);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.home-workspace-summary-grid strong {
  display: block;
  margin-top: 7px;
  color: var(--marpt-text-primary);
  font-size: 12.5px;
  font-weight: 600;
}
.home-workspace-view-note {
  margin-top: 26px;
  padding-left: 15px;
  border-left: 2px solid var(--marpt-warning);
}
.home-workspace-view-note p {
  max-width: 58ch;
  margin-top: 7px;
  font-size: 12.5px;
  line-height: 1.55;
}
.home-workspace-list,
.home-workspace-evidence-stack,
.home-workspace-task-list {
  display: grid;
  margin-top: 8px;
}
.home-workspace-list-row,
.home-workspace-evidence-row,
.home-workspace-task-row {
  display: grid;
  grid-template-columns: auto minmax(0,1fr) auto;
  gap: 13px;
  align-items: center;
  min-height: 70px;
  padding: 14px 2px;
  border-bottom: 1px solid var(--home-hair);
}
.home-workspace-list-row > div,
.home-workspace-evidence-row > div,
.home-workspace-task-row > div { min-width: 0; }
.home-workspace-list-row strong,
.home-workspace-evidence-row strong,
.home-workspace-task-row strong {
  display: block;
  color: var(--marpt-text-primary);
  font-size: 12.5px;
  font-weight: 600;
}
.home-workspace-list-row small,
.home-workspace-evidence-row small,
.home-workspace-task-row small {
  display: block;
  margin-top: 4px;
  color: var(--marpt-text-muted);
  font-size: 10px;
  line-height: 1.4;
}
.home-workspace-list-row > span:last-child,
.home-workspace-evidence-row > span:last-child,
.home-workspace-task-row > span:last-child {
  color: var(--marpt-text-muted);
  font: 600 8.5px/1.4 var(--home-mono);
  letter-spacing: .05em;
  text-transform: uppercase;
}
.home-workspace-list-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--marpt-text-muted);
}
.home-workspace-list-dot.is-attention,
.home-workspace-evidence-row > span.is-attention { color: var(--marpt-warning); background-color: var(--marpt-warning); }
.home-workspace-list-dot.is-review,
.home-workspace-evidence-row > span.is-review { color: var(--marpt-info); background-color: var(--marpt-info); }
.home-workspace-list-dot.is-supported,
.home-workspace-evidence-row > span.is-supported { color: var(--marpt-success); background-color: var(--marpt-success); }
.home-workspace-file-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 38px;
  border: 1px solid var(--home-rule);
  border-radius: 7px;
  background: #171d24;
  color: var(--marpt-text-muted);
  font: 600 8px/1 var(--home-mono);
  letter-spacing: .04em;
}
.home-workspace-evidence-row.is-empty .home-workspace-file-icon {
  border-style: dashed;
  background: transparent;
  font-size: 13px;
}
.home-workspace-task-check {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border: 1px solid var(--home-rule);
  border-radius: 5px;
  color: var(--marpt-success);
  font-size: 11px;
}
.home-workspace-task-row.is-complete {
  opacity: .7;
}
.home-workspace-task-row.is-complete .home-workspace-task-check {
  border-color: color-mix(in srgb, var(--marpt-success) 34%, var(--home-rule));
  background: color-mix(in srgb, var(--marpt-success) 8%, transparent);
}

/* Contextual collaborator note: intentionally smaller than the workspace itself. */
.home-workspace-collab-note {
  position: absolute;
  z-index: 5;
  right: -34px;
  bottom: 28px;
  display: grid;
  width: 238px;
  padding: 15px 16px 14px;
  border: 1px solid color-mix(in srgb, var(--marpt-border) 84%, white 8%);
  border-radius: 12px;
  background: color-mix(in srgb, var(--marpt-surface) 92%, #1b2230 8%);
  box-shadow: 0 22px 54px rgba(0,0,0,.34);
  color: var(--marpt-text-primary);
  text-align: left;
  cursor: pointer;
  transform: rotate(.35deg);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
.home-workspace-collab-note:hover,
.home-workspace-collab-note:focus-visible {
  transform: translateY(-3px) rotate(0);
  border-color: color-mix(in srgb, var(--marpt-accent-emphasis) 28%, var(--marpt-border));
  box-shadow: 0 26px 60px rgba(0,0,0,.38);
}
.home-workspace-collab-kicker {
  color: var(--marpt-text-muted);
  font: 600 8px/1.4 var(--home-mono);
  letter-spacing: .1em;
  text-transform: uppercase;
}
.home-workspace-collab-person {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 10px;
}
.home-workspace-collab-avatar {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  border: 1px solid color-mix(in srgb, var(--marpt-accent-emphasis) 25%, var(--home-rule));
  border-radius: 50%;
  background: color-mix(in srgb, var(--marpt-accent-emphasis) 8%, transparent);
  color: var(--marpt-text-primary);
  font: 600 10px/1 var(--home-mono);
}
.home-workspace-collab-person strong {
  display: block;
  color: var(--marpt-text-primary);
  font-size: 11.5px;
  font-weight: 600;
}
.home-workspace-collab-person small {
  display: block;
  margin-top: 1px;
  color: var(--marpt-text-muted);
  font-size: 9px;
}
.home-workspace-collab-copy {
  display: block;
  margin-top: 11px;
  color: var(--marpt-text-secondary);
  font-size: 11.5px;
  line-height: 1.48;
}
.home-workspace-collab-action {
  display: block;
  margin-top: 10px;
  color: var(--marpt-accent-emphasis);
  font-size: 10.5px;
  font-weight: 600;
}

.home-workspace-caption {
  display: flex;
  width: min(100%, 1025px);
  justify-content: space-between;
  gap: 40px;
  align-items: baseline;
  margin-top: 24px;
}
.home-workspace-caption .home-note { max-width: 82ch; }
.home-workspace-caption .home-link { flex-shrink: 0; }

.home-gated-action {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}
.home-access-note {
  color: var(--marpt-text-muted);
  font: 500 9px/1.45 var(--home-mono);
  letter-spacing: .025em;
  white-space: nowrap;
}
.home-gated-action-compact {
  align-items: flex-end;
}

@media (max-width: 1100px) {
  .home-workspace,
  .home-workspace-caption { width: 100%; }
  .home-workspace .home-app-body { grid-template-columns: 166px minmax(0,1fr); }
  .home-app-rail { padding-inline: 9px; }
  .home-app-rail-item { padding-inline: 7px; font-size: 10.25px; }
  .home-workspace-collab-note { right: 18px; bottom: 18px; width: 224px; }
}
@media (max-width: 860px) {
  .home-workspace .home-app-body { grid-template-columns: 148px minmax(0,1fr); }
  .home-app-rail strong { padding-inline: 6px; }
  .home-app-rail-item { padding-inline: 6px; }
  .home-app-rail-item span { font-size: 9.75px; }
  .home-workspace-view-overview { grid-template-columns: 210px minmax(0,1fr); }
  .home-workspace-collab-note { display: none; }
}
@media (max-width: 700px) {
  .home-workspace .home-app-body { display: block; min-height: 0; }
  .home-workspace .home-app-rail {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding: 9px 10px;
    border-right: 0;
    border-bottom: 1px solid var(--home-hair);
  }
  .home-app-rail-group { display: contents; }
  .home-app-rail-group + .home-app-rail-group { margin-top: 0; }
  .home-app-rail strong,
  .home-app-rail-item.is-secondary { display: none; }
  button.home-app-rail-item {
    width: auto;
    min-width: max-content;
    padding: 7px 10px;
    border: 1px solid transparent;
  }
  .home-app-rail-item.is-active::before { display: none; }
  .home-app-rail-item.is-active {
    border-color: var(--home-rule);
    background: #171d24;
  }
  .home-workspace-view,
  .home-workspace-view-overview { min-height: 0; }
  .home-workspace-view-overview {
    display: block;
  }
  .home-workspace-priorities {
    border-right: 0;
    border-bottom: 1px solid var(--home-hair);
  }
  .home-workspace-progress { margin-top: 0; }
  .home-workspace-detail-panel { min-height: 350px; padding: 24px 18px 0; }
  .home-workspace-detail-head { flex-direction: column; gap: 9px; }
  .home-workspace-detail-head h3 { font-size: 23px; }
  .home-workspace-detail-data > div,
  .home-workspace-next { grid-template-columns: 1fr; gap: 6px; }
  .home-workspace-next { margin-inline: -18px; padding: 14px 18px; }
  .home-workspace-view { padding: 24px 18px; }
  .home-workspace-summary-grid { grid-template-columns: 1fr; }
  .home-workspace-summary-grid > div { padding: 13px 0; }
  .home-workspace-summary-grid > div + div { border-left: 0; border-top: 1px solid var(--home-hair); }
  .home-workspace-caption { flex-direction: column; gap: 8px; }
  .home-workspace-caption .home-gated-action,
  .home-ecosystem .home-gated-action {
    align-items: flex-start;
  }
  .home-access-note {
    white-space: normal;
  }
}
@media (prefers-reduced-motion: reduce) {
  .home-workspace-view { animation: none; }
  .home-workspace-collab-note { transition: none; transform: none; }
}


/* Three-panel Case Workspace refinement: sibling surfaces, not one shared app frame. */
.home-workspace {
  width: min(90%, 1008px);
  margin-inline: auto;
  box-shadow: none;
}
.home-workspace-panels {
  display: grid;
  grid-template-columns: 218px 300px minmax(0, 1fr);
  gap: 10px;
  align-items: stretch;
}
.home-workspace-panel {
  position: relative;
  min-width: 0;
  min-height: 486px;
  overflow: hidden;
  border: 1px solid var(--marpt-border);
  border-radius: 12px;
  box-shadow: 0 22px 54px rgba(0,0,0,.13);
}
.home-workspace-rail-panel { background: #10151b; }
.home-workspace-queue-panel { background: #14191f; }
.home-workspace-main-panel {
  overflow: visible;
  background:
    radial-gradient(circle at 86% 10%, rgba(var(--marpt-accent-rgb),.022), transparent 34%),
    #11161c;
}
.home-workspace-panel-header {
  min-height: 58px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--home-hair);
  background: color-mix(in srgb, var(--marpt-surface-subtle) 28%, transparent);
}
.home-workspace-brand-header {
  display: flex;
  align-items: center;
}
.home-workspace-rail-panel .home-app-rail {
  min-height: 427px;
  border-right: 0;
  background: transparent;
}
.home-workspace-queue-view {
  display: flex;
  min-height: 486px;
  flex-direction: column;
  animation: home-workspace-view-in 180ms ease both;
}
.home-workspace-queue-view[hidden] { display: none !important; }
.home-workspace-queue-view[data-home-workspace-view="overview"] .home-workspace-priority-head,
.home-workspace-queue-header {
  min-height: 74px;
  padding: 17px 18px 14px;
  border-bottom: 1px solid var(--home-hair);
  background: color-mix(in srgb, var(--marpt-surface-subtle) 18%, transparent);
}
.home-workspace-queue-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.home-workspace-queue-header .home-eyebrow,
.home-workspace-queue-view[data-home-workspace-view="overview"] .home-workspace-priority-head .home-eyebrow {
  margin-bottom: 5px;
  color: var(--marpt-text-primary);
}
.home-workspace-queue-header p:last-child,
.home-workspace-queue-view[data-home-workspace-view="overview"] .home-workspace-priority-head > p:last-child {
  color: var(--marpt-text-muted);
  font-size: 10.5px;
}
.home-workspace-context-card {
  margin: 18px 16px 8px;
  padding: 15px 15px 14px;
  border: 1px solid var(--home-rule);
  border-radius: 10px;
  background: #171d24;
}
.home-workspace-context-card span,
.home-workspace-context-card small {
  display: block;
  color: var(--marpt-text-muted);
  font: 500 8px/1.4 var(--home-mono);
  letter-spacing: .07em;
  text-transform: uppercase;
}
.home-workspace-context-card strong {
  display: block;
  margin-top: 8px;
  color: var(--marpt-text-primary);
  font-size: 12.5px;
  line-height: 1.38;
}
.home-workspace-context-card small {
  margin-top: 7px;
  letter-spacing: .02em;
  text-transform: none;
}
.home-workspace-context-card.is-active { border-left: 2px solid var(--marpt-accent-emphasis); }
.home-workspace-context-card.is-attention { border-left: 2px solid var(--marpt-warning); }
.home-workspace-context-card.is-supported { border-left: 2px solid var(--marpt-success); }
.home-workspace-context-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-inline: 16px;
  padding: 13px 2px;
  border-bottom: 1px solid var(--home-hair);
}
.home-workspace-context-row span {
  color: var(--marpt-text-muted);
  font-size: 10px;
}
.home-workspace-context-row strong {
  color: var(--marpt-text-primary);
  font: 600 10px/1 var(--home-mono);
}
.home-workspace-queue-panel .home-workspace-progress { margin-top: auto; }

.home-workspace-main-panel .home-workspace-view {
  min-height: 486px;
}
.home-workspace-main-panel .home-workspace-detail {
  height: 100%;
  background: transparent;
}
.home-workspace-main-panel .home-workspace-detail-stage,
.home-workspace-main-panel .home-workspace-detail-panel {
  min-height: 430px;
}
.home-workspace-main-panel .home-workspace-detail-head {
  padding-bottom: 20px;
  border-bottom: 1px solid var(--home-hair);
}
.home-workspace-main-panel .home-workspace-detail-data {
  margin-top: 0;
}
.home-workspace-main-panel .home-workspace-detail-data > div {
  border-top: 0;
  border-bottom: 1px solid var(--home-hair);
}
.home-workspace-main-panel .home-workspace-next {
  margin: auto -30px -26px;
  border-radius: 0 0 11px 11px;
}
.home-workspace-main-panel .home-workspace-collab-note {
  right: -38px;
  bottom: 26px;
}
.home-workspace-caption {
  width: 100%;
  margin-inline: 0;
  padding-left: 5%;
}
.home-workspace-caption .home-link {
  margin-left: auto;
}

@media (max-width: 1180px) {
  .home-workspace-panels { grid-template-columns: 196px 270px minmax(0,1fr); }
  .home-workspace-collab-note { right: 16px; bottom: 18px; width: 220px; }
}
@media (max-width: 920px) {
  .home-workspace-panels { grid-template-columns: 168px 238px minmax(0,1fr); gap: 8px; }
  .home-workspace-collab-note { display: none; }
}
@media (max-width: 760px) {
  .home-workspace-panels { display: block; }
  .home-workspace-panel { min-height: 0; }
  .home-workspace-rail-panel,
  .home-workspace-queue-panel { margin-bottom: 8px; }
  .home-workspace-brand-header { min-height: 50px; padding-block: 10px; }
  .home-workspace-queue-view,
  .home-workspace-main-panel .home-workspace-view { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .home-workspace-queue-view { animation: none; }
}

/* Nested Case Workspace composition: outer shell → context panel → work panel. */
@media (min-width: 981px) {
  .home-workspace {
    width: min(90%, 1008px);
    margin-inline: auto;
  }
  .home-workspace-panels {
    position: relative;
    display: block;
    min-height: 520px;
    isolation: isolate;
  }
  .home-workspace-panel {
    min-height: 0;
    box-shadow: none;
  }

  .home-workspace-rail-panel {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    border-radius: 18px;
    background: #10151b;
    box-shadow: 0 24px 66px rgba(0,0,0,.12);
  }
  .home-workspace-brand-header {
    width: 220px;
    min-height: 64px;
    padding: 13px 12px 11px 14px;
    border-bottom: 0;
    background: transparent;
  }
  .home-workspace-rail-panel .home-app-rail {
    width: 220px;
    min-height: 456px;
    padding-top: 8px;
  }

  .home-workspace-queue-panel {
    position: absolute;
    z-index: 2;
    top: 14px;
    right: 14px;
    bottom: 14px;
    left: 236px;
    overflow: hidden;
    border-radius: 16px;
    background: #14191f;
    box-shadow: 0 18px 48px rgba(0,0,0,.19);
  }
  .home-workspace-queue-view {
    width: 259px;
    min-height: 100%;
    height: 100%;
  }
  .home-workspace-queue-view[data-home-workspace-view="overview"] .home-workspace-priority-head,
  .home-workspace-queue-header {
    min-height: 74px;
  }

  .home-workspace-main-panel {
    position: absolute;
    z-index: 3;
    top: 56px;
    right: 14px;
    bottom: 42px;
    left: 495px;
    overflow: visible;
    border-radius: 15px 0 0 15px;
    background:
      radial-gradient(circle at 86% 10%, rgba(var(--marpt-accent-rgb),.022), transparent 34%),
      #11161c;
    box-shadow: 0 22px 58px rgba(0,0,0,.28);
  }
  .home-workspace-main-panel .home-workspace-view {
    min-height: 100%;
    height: 100%;
    padding: 26px 28px 24px;
  }
  .home-workspace-main-panel .home-workspace-detail,
  .home-workspace-main-panel .home-workspace-detail-stage,
  .home-workspace-main-panel .home-workspace-detail-panel {
    min-height: 100%;
    height: 100%;
  }
  .home-workspace-main-panel .home-workspace-next {
    margin: auto -28px -24px;
    padding-inline: 28px;
    border-radius: 0 0 0 14px;
  }
  .home-workspace-main-panel .home-workspace-collab-note {
    right: -26px;
    bottom: 22px;
  }
}

@media (max-width: 980px) {
  .home-workspace-panels {
    display: grid;
    grid-template-columns: 168px 238px minmax(0,1fr);
    gap: 8px;
    min-height: 0;
  }
  .home-workspace-panel {
    position: relative;
    inset: auto;
    min-height: 486px;
  }
  .home-workspace-brand-header {
    width: auto;
  }
  .home-workspace-rail-panel .home-app-rail {
    width: auto;
  }
  .home-workspace-queue-view {
    width: auto;
    min-height: 486px;
    height: auto;
  }
  .home-workspace-main-panel .home-workspace-view {
    min-height: 486px;
    height: auto;
  }
}

@media (max-width: 760px) {
  .home-workspace-caption {
    padding-left: 0;
  }
  .home-workspace-panels {
    display: block;
  }
  .home-workspace-panel {
    position: relative;
    inset: auto;
    min-height: 0;
  }
  .home-workspace-rail-panel,
  .home-workspace-queue-panel {
    margin-bottom: 8px;
  }
  .home-workspace-queue-view,
  .home-workspace-main-panel .home-workspace-view {
    width: auto;
    min-height: 0;
    height: auto;
  }
}
/* Collaborator note utility window: compact MARPT chrome with clearer note hierarchy. */
.home-workspace-collab-note {
  display: block;
  width: 286px;
  padding: 0;
  overflow: hidden;
  border-radius: 13px;
  background: #171d26;
  box-shadow: 0 24px 62px rgba(0,0,0,.38);
  text-align: left;
  appearance: none;
  transform: none;
}
.home-workspace-collab-note:hover,
.home-workspace-collab-note:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 28px 68px rgba(0,0,0,.42);
}
.home-workspace-collab-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 40px;
  padding: 10px 13px 9px;
  border-bottom: 1px solid var(--home-hair);
  background: #141a22;
}
.home-workspace-collab-brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 8px;
}
.home-workspace-collab-brand img {
  display: block;
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
}
.home-workspace-collab-kicker {
  color: color-mix(in srgb, var(--marpt-text-muted) 92%, white 8%);
  font: 600 7.8px/1.2 var(--home-mono);
  letter-spacing: .11em;
  text-transform: uppercase;
  white-space: nowrap;
}
.home-workspace-collab-more {
  flex: 0 0 auto;
  color: color-mix(in srgb, var(--marpt-text-muted) 76%, transparent);
  font: 700 10px/1 var(--home-mono);
  letter-spacing: .12em;
}
.home-workspace-collab-body {
  display: block;
  padding: 15px 16px 14px;
}
.home-workspace-collab-person {
  margin-top: 0;
  gap: 10px;
}
.home-workspace-collab-avatar {
  width: 32px;
  height: 32px;
  flex-basis: 32px;
  background: color-mix(in srgb, var(--marpt-accent-emphasis) 7%, #18202a);
}
.home-workspace-collab-person strong {
  font-size: 12.25px;
  line-height: 1.25;
}
.home-workspace-collab-person small {
  margin-top: 2px;
  font-size: 9.25px;
}
.home-workspace-collab-context {
  display: block;
  margin-top: 14px;
  color: var(--marpt-text-muted);
  font: 600 8px/1.35 var(--home-mono);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.home-workspace-collab-copy {
  display: block;
  margin-top: 7px;
  padding: 11px 12px;
  border: 1px solid var(--home-hair);
  border-left: 2px solid color-mix(in srgb, var(--marpt-accent-emphasis) 46%, var(--home-rule));
  border-radius: 9px;
  background: #141a21;
  color: var(--marpt-text-secondary);
  font-size: 11.5px;
  line-height: 1.52;
}
.home-workspace-collab-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 12px;
  padding-top: 11px;
  border-top: 1px solid var(--home-hair);
}
.home-workspace-collab-time {
  color: var(--marpt-text-muted);
  font: 500 8.5px/1.4 var(--home-mono);
  letter-spacing: .03em;
}
.home-workspace-collab-action {
  display: inline;
  margin-top: 0;
  color: var(--marpt-accent-emphasis);
  font-size: 10.5px;
  font-weight: 600;
  white-space: nowrap;
}

@media (min-width: 981px) and (max-width: 1180px) {
  .home-workspace-collab-note { width: 272px; }
}


/* Case Workspace visual polish: one restrained dark family with semantic accents. */
.home-workspace {
  /* Charcoal hierarchy anchored to the Visa Comparison header (#15191f). */
  --ws-shell: #101318;
  --ws-queue: #15191f;
  --ws-main: #181d23;
  --ws-note: #1b2026;
  --ws-note-head: #171b21;
  --ws-active: #1c2229;
  --ws-border: rgba(156, 166, 179, .16);
  --ws-border-strong: rgba(166, 177, 191, .22);
  --ws-hair: rgba(156, 166, 179, .10);
  --home-hair: var(--ws-hair);
  --home-rule: var(--ws-border);
}
.home-workspace .home-workspace-panel {
  border-color: var(--ws-border);
}
.home-workspace .home-workspace-rail-panel {
  background: var(--ws-shell);
}
.home-workspace .home-workspace-queue-panel {
  background:
    linear-gradient(180deg, rgba(255,255,255,.012), transparent 34%),
    var(--ws-queue);
}
.home-workspace .home-workspace-main-panel {
  background:
    linear-gradient(180deg, rgba(255,255,255,.01), transparent 30%),
    var(--ws-main);
}
.home-workspace .home-app-rail-item.is-active,
.home-workspace .home-workspace-priority[aria-selected="true"] {
  background: var(--ws-active);
}
.home-workspace .home-workspace-context-card,
.home-workspace .home-workspace-file-icon {
  background: color-mix(in srgb, var(--ws-queue) 82%, white 4%);
}

/* MARPT account control + two restrained utility marks in the outer rail header. */
.home-workspace-shell-tools {
  display: none;
}
.home-workspace-brand-menu {
  position: relative;
  min-width: 0;
}
.home-workspace-brand-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  max-width: 122px;
  padding: 5px 6px 5px 3px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: var(--marpt-text-secondary);
  cursor: pointer;
  transition: background-color 150ms ease, border-color 150ms ease;
}
.home-workspace-brand-toggle:hover,
.home-workspace-brand-toggle:focus-visible,
.home-workspace-brand-toggle[aria-expanded="true"] {
  border-color: var(--ws-border);
  background: color-mix(in srgb, var(--ws-shell) 70%, white 4%);
}
.home-workspace-brand-toggle .home-app-brand {
  min-width: 0;
}
.home-workspace-brand-toggle .home-app-brand img {
  height: 18px;
}
.home-workspace-brand-chevron {
  width: 11px;
  height: 11px;
  flex: 0 0 11px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 150ms ease;
}
.home-workspace-brand-toggle[aria-expanded="true"] .home-workspace-brand-chevron {
  transform: rotate(180deg);
}
.home-workspace-account-menu {
  position: absolute;
  z-index: 12;
  top: calc(100% + 7px);
  left: 0;
  display: grid;
  width: 188px;
  padding: 7px;
  border: 1px solid #303741;
  border-radius: 11px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.012), transparent 38%),
    var(--ws-shell);
  box-shadow:
    inset 0 1px 0 rgba(244,247,250,.025),
    0 18px 42px rgba(0,0,0,.34);
}
.home-workspace-account-menu[hidden] {
  display: none !important;
}
.home-workspace-account-menu > span {
  display: block;
  padding: 9px 10px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: rgba(255,255,255,.014);
  color: var(--marpt-text-secondary);
  font-size: 12.5px;
  line-height: 1.3;
}
.home-workspace-account-menu > span + span {
  margin-top: 3px;
  border-top-color: rgba(156,166,179,.075);
}
@media (min-width: 981px) {
  .home-workspace-brand-header {
    gap: 9px;
  }
  .home-workspace-shell-tools {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-left: auto;
  }
  .home-workspace-shell-tool-wrap {
    position: relative;
    display: inline-flex;
  }
  .home-workspace-shell-tool {
    display: grid;
    place-items: center;
    margin: 0;
    padding: 0;
    border: 1px solid transparent;
    background: transparent;
    color: color-mix(in srgb, var(--marpt-text-muted) 88%, white 12%);
    cursor: pointer;
  }
  .home-workspace-shell-tool:hover,
  .home-workspace-shell-tool:focus-visible,
  .home-workspace-shell-tool[aria-expanded="true"] {
    border-color: rgba(156,166,179,.12);
    background: rgba(255,255,255,.025);
    color: var(--marpt-text-primary);
  }
  .home-workspace-shell-tool svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  .home-workspace-shell-tool-search {
    width: 28px;
    height: 28px;
    border-radius: 8px;
  }
  .home-workspace-shell-tool-compose {
    width: 30px;
    height: 30px;
    border-color: rgba(156,166,179,.13);
    border-radius: 9px;
    background: color-mix(in srgb, var(--ws-shell) 72%, white 4%);
    color: color-mix(in srgb, var(--marpt-text-secondary) 92%, white 8%);
  }
  .home-workspace-shell-tool-compose svg {
    width: 14px;
    height: 14px;
  }
}

/* Collaborator note reads as an attached utility surface, not another full panel. */
.home-workspace .home-workspace-collab-note {
  overflow: visible;
  border-color: var(--ws-border-strong);
  background: var(--ws-note);
  box-shadow: 0 24px 58px rgba(0,0,0,.34);
}
.home-workspace .home-workspace-collab-note::before {
  content: '';
  position: absolute;
  z-index: -1;
  left: -7px;
  top: 48px;
  width: 13px;
  height: 13px;
  border-left: 1px solid var(--ws-border-strong);
  border-bottom: 1px solid var(--ws-border-strong);
  border-radius: 2px;
  background: var(--ws-note);
  transform: rotate(45deg);
}
.home-workspace .home-workspace-collab-titlebar {
  border-color: var(--ws-hair);
  border-radius: 12px 12px 0 0;
  background: var(--ws-note-head);
}
.home-workspace .home-workspace-collab-body {
  border-radius: 0 0 12px 12px;
  background: var(--ws-note);
}
.home-workspace .home-workspace-collab-copy {
  border-color: var(--ws-border);
  border-left-color: color-mix(in srgb, var(--marpt-accent-emphasis) 52%, var(--ws-border));
  background: #151a20;
}
.home-workspace .home-workspace-collab-footer {
  border-color: var(--ws-hair);
}

/* Case Workspace frame polish: selective architectural edges instead of
 * uniform card outlines, plus one quiet local utility per nested work surface. */
.home-workspace {
  --ws-edge-soft: rgba(156, 166, 179, .09);
  --ws-edge: rgba(166, 177, 191, .16);
  --ws-edge-strong: rgba(180, 190, 203, .23);
  --ws-edge-highlight: rgba(244, 247, 250, .045);
  --ws-rule-fade: linear-gradient(
    90deg,
    rgba(156,166,179,0),
    rgba(156,166,179,.13) 8%,
    rgba(156,166,179,.13) 92%,
    rgba(156,166,179,0)
  );
}

/* The outer shell is quiet; nested working surfaces get progressively crisper
 * top/left edges so the depth reads as construction rather than generic cards. */
.home-workspace .home-workspace-rail-panel {
  border: 1px solid var(--ws-edge-soft);
  border-top-color: var(--ws-edge);
  border-left-color: var(--ws-edge);
  box-shadow:
    inset 0 1px 0 var(--ws-edge-highlight),
    0 22px 58px rgba(0,0,0,.10);
}
.home-workspace .home-workspace-queue-panel {
  border: 1px solid var(--ws-edge-soft);
  border-top-color: var(--ws-edge-strong);
  border-left-color: var(--ws-edge);
  box-shadow:
    inset 0 1px 0 var(--ws-edge-highlight),
    inset 1px 0 0 rgba(244,247,250,.022),
    0 16px 42px rgba(0,0,0,.17);
}
.home-workspace .home-workspace-main-panel {
  border: 1px solid var(--ws-edge-soft);
  border-top-color: var(--ws-edge-strong);
  border-left-color: var(--ws-edge-strong);
  border-right: 0;
  border-bottom-color: rgba(156,166,179,.075);
  box-shadow:
    inset 0 1px 0 var(--ws-edge-highlight),
    inset 1px 0 0 rgba(244,247,250,.030),
    0 20px 48px rgba(0,0,0,.22);
}

/* Fade-ended internal rules keep the hierarchy crisp without turning the
 * workspace into a spreadsheet grid. */
.home-workspace .home-workspace-priority-head,
.home-workspace .home-workspace-priority,
.home-workspace .home-workspace-detail-head,
.home-workspace .home-workspace-detail-data > div,
.home-workspace .home-workspace-next,
.home-workspace .home-workspace-progress,
.home-workspace .home-workspace-view-head {
  position: relative;
}
.home-workspace .home-workspace-priority-head,
.home-workspace .home-workspace-detail-head,
.home-workspace .home-workspace-detail-data > div,
.home-workspace .home-workspace-next,
.home-workspace .home-workspace-progress,
.home-workspace .home-workspace-view-head {
  border-color: transparent;
}
.home-workspace .home-workspace-priority {
  border-top: 0;
  border-bottom: 0;
}
.home-workspace .home-workspace-priority:last-child {
  border-bottom: 0;
}
.home-workspace .home-workspace-priority-head::after,
.home-workspace .home-workspace-priority::after,
.home-workspace .home-workspace-detail-head::after,
.home-workspace .home-workspace-detail-data > div::after,
.home-workspace .home-workspace-view-head::after {
  content: '';
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  pointer-events: none;
  background: var(--ws-rule-fade);
}
.home-workspace .home-workspace-progress::before,
.home-workspace .home-workspace-next::before {
  content: '';
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  left: 0;
  height: 1px;
  pointer-events: none;
  background: var(--ws-rule-fade);
}
.home-workspace .home-workspace-progress > div + div {
  border-left-color: rgba(156,166,179,.095);
}

/* Local nested-panel utilities. */
.home-workspace-priority-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.home-workspace-priority-head-copy {
  min-width: 0;
}
.home-workspace-priority-head-copy > p:last-child {
  color: var(--marpt-text-muted);
  font-size: 10.5px;
}
.home-workspace-panel-util {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  color: color-mix(in srgb, var(--marpt-text-muted) 88%, white 12%);
  opacity: .82;
}
.home-workspace-panel-util svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.home-workspace-panel-util-overflow svg {
  fill: currentColor;
  stroke: none;
}
.home-workspace-detail-meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}
.home-workspace-detail-meta .home-workspace-detail-status {
  margin-top: 0;
}
.home-workspace-view-meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

/* Functional Case Workspace utilities. These stay compact and use the same
 * charcoal construction as the demo rather than generic floating menus. */
.home-workspace-utility-popover,
.home-workspace-action-menu {
  position: absolute;
  z-index: 24;
  display: grid;
  padding: 7px;
  border: 1px solid #303741;
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.012), transparent 38%),
    var(--ws-shell);
  box-shadow:
    inset 0 1px 0 rgba(244,247,250,.024),
    0 16px 38px rgba(0,0,0,.34);
}
.home-workspace-utility-popover[hidden],
.home-workspace-action-menu[hidden] {
  display: none !important;
}
.home-workspace-search-popover {
  top: calc(100% + 8px);
  right: -42px;
  width: 208px;
}
.home-workspace-quick-menu {
  top: calc(100% + 8px);
  right: 0;
  width: 208px;
}
.home-workspace-search-field {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 0 9px;
  border: 1px solid rgba(156,166,179,.12);
  border-radius: 8px;
  background: rgba(255,255,255,.018);
  color: var(--marpt-text-muted);
}
.home-workspace-search-field svg {
  width: 13px;
  height: 13px;
  flex: 0 0 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
}
.home-workspace-search-field input {
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--marpt-text-primary);
  font: 500 10.5px/1.3 Inter, system-ui, sans-serif;
}
.home-workspace-search-field input::placeholder {
  color: var(--marpt-text-muted);
}
.home-workspace-search-results {
  display: grid;
  gap: 2px;
  margin-top: 6px;
}
.home-workspace-search-results > button,
.home-workspace-quick-menu > button {
  display: grid;
  gap: 2px;
  width: 100%;
  padding: 8px 9px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: transparent;
  color: var(--marpt-text-secondary);
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}
.home-workspace-search-results > button:hover,
.home-workspace-search-results > button:focus-visible,
.home-workspace-quick-menu > button:hover,
.home-workspace-quick-menu > button:focus-visible {
  border-color: rgba(156,166,179,.10);
  background: rgba(255,255,255,.028);
  color: var(--marpt-text-primary);
}
.home-workspace-quick-menu > button {
  font: inherit;
}
.home-workspace-search-results strong,
.home-workspace-quick-menu strong {
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1.3;
}
.home-workspace-search-results small,
.home-workspace-quick-menu small {
  color: var(--marpt-text-muted);
  font: 500 8px/1.35 var(--home-mono);
  letter-spacing: .02em;
}
.home-workspace-search-empty {
  display: block;
  padding: 11px 9px 8px;
  color: var(--marpt-text-muted);
  font-size: 9.5px;
}
.home-workspace-menu-kicker {
  display: block;
  padding: 5px 9px 6px;
  color: var(--marpt-text-muted);
  font: 600 7.5px/1.3 var(--home-mono);
  letter-spacing: .10em;
  text-transform: uppercase;
}
.home-workspace-priority-tools,
.home-workspace-action-wrap {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
}
button.home-workspace-panel-util {
  margin: 0;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 7px;
  background: transparent;
  cursor: pointer;
}
button.home-workspace-panel-util:hover,
button.home-workspace-panel-util:focus-visible,
button.home-workspace-panel-util[aria-expanded="true"] {
  border-color: rgba(156,166,179,.11);
  background: rgba(255,255,255,.026);
  color: var(--marpt-text-primary);
  opacity: 1;
}
.home-workspace-filter-menu {
  top: calc(100% + 6px);
  right: 0;
  width: 154px;
}
.home-workspace-action-menu > button,
.home-workspace-action-menu > a {
  display: block;
  width: 100%;
  padding: 8px 9px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--marpt-text-secondary);
  font-size: 9.5px;
  line-height: 1.3;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}
.home-workspace-action-menu > button:hover,
.home-workspace-action-menu > button:focus-visible,
.home-workspace-action-menu > button[aria-pressed="true"],
.home-workspace-action-menu > a:hover,
.home-workspace-action-menu > a:focus-visible {
  background: rgba(255,255,255,.03);
  color: var(--marpt-text-primary);
}
.home-workspace-action-menu > button[aria-pressed="true"]::before {
  content: '•';
  margin-right: 6px;
  color: var(--marpt-accent-emphasis);
}
.home-workspace-requirement-menu {
  top: calc(100% + 6px);
  right: 0;
  width: 150px;
}
.home-workspace-detail-meta {
  position: relative;
}

/* Case Workspace final depth polish: keep geometry fixed and finish the
 * surface hierarchy with controlled charcoal luminance and lateral falloff. */
.home-workspace {
  --ws-shell: #0f1216;
  --ws-queue: #15191f;
  --ws-main: #171b20;
  --ws-note: #15191f;
  --ws-note-head: #e4dfd8;
  --ws-active: rgba(255,255,255,.035);
}
.home-workspace .home-workspace-rail-panel {
  border-color: rgba(156,166,179,.055);
  border-top-color: rgba(166,177,191,.095);
  border-left-color: rgba(166,177,191,.095);
  border-right-color: rgba(156,166,179,.045);
  border-bottom-color: rgba(156,166,179,.040);
  background: var(--ws-shell);
  box-shadow:
    inset 0 1px 0 rgba(244,247,250,.022),
    0 16px 42px rgba(0,0,0,.08);
}
.home-workspace .home-workspace-queue-panel {
  border-color: rgba(156,166,179,.060);
  border-top-color: rgba(174,184,197,.135);
  border-left-color: rgba(166,177,191,.110);
  border-right-color: rgba(156,166,179,.055);
  border-bottom-color: rgba(156,166,179,.045);
  background:
    linear-gradient(180deg, rgba(255,255,255,.010), transparent 34%),
    var(--ws-queue);
  box-shadow:
    inset 0 1px 0 rgba(244,247,250,.032),
    inset 1px 0 0 rgba(244,247,250,.014),
    0 14px 36px rgba(0,0,0,.14);
}
.home-workspace .home-workspace-main-panel {
  border: 1px solid rgba(156,166,179,.060);
  border-top-color: rgba(184,194,207,.200);
  border-left-color: rgba(184,194,207,.200);
  border-right-color: rgba(156,166,179,.060);
  border-bottom-color: rgba(156,166,179,.045);
  background:
    linear-gradient(180deg, rgba(255,255,255,.016), transparent 31%),
    var(--ws-main);
  box-shadow:
    inset 0 1px 0 rgba(244,247,250,.045),
    inset 1px 0 0 rgba(244,247,250,.020),
    0 20px 48px rgba(0,0,0,.21);
}
.home-workspace .home-app-rail-item.is-active,
.home-workspace .home-workspace-priority[aria-selected="true"] {
  background: var(--ws-active);
}
.home-workspace .home-workspace-collab-note {
  overflow: hidden;
  border: 1px solid #303741;
  background: var(--ws-note);
  box-shadow: 0 22px 52px rgba(0,0,0,.30);
}
.home-workspace .home-workspace-collab-note::before {
  content: none;
}
.home-workspace .home-workspace-collab-titlebar {
  border-radius: 12px 12px 0 0;
  background: var(--ws-note-head);
}
.home-workspace .home-workspace-collab-body {
  border-radius: 0 0 13px 13px;
  background: var(--ws-note);
}
.home-workspace .home-workspace-collab-titlebar .home-workspace-collab-kicker {
  color: #59636f;
}
.home-workspace .home-workspace-collab-titlebar .home-workspace-collab-more {
  color: rgba(26,30,36,.58);
}
.home-workspace .home-workspace-collab-body {
  background: var(--ws-note);
}
.home-workspace .home-workspace-collab-copy {
  background: #14191e;
}
.home-workspace .home-workspace-collab-copy::after {
  content: '';
  display: inline-block;
  width: 1px;
  height: .95em;
  margin-left: 3px;
  background: currentColor;
  vertical-align: -.12em;
  opacity: .9;
  animation: home-workspace-note-caret 1.05s steps(1, end) infinite;
}
@keyframes home-workspace-note-caret {
  0%, 46% { opacity: .9; }
  47%, 100% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .home-workspace .home-workspace-collab-copy::after {
    animation: none;
    opacity: .7;
  }
}


/* ----------------------------------- intelligence: signal → evidence --- */
/* Open-canvas product story: a decision-pressure strip followed by one
 * priority signal and its evidence inspector. It deliberately avoids a single
 * enclosing card so Intelligence has a different role from Advisor/Comparison. */
.home-intelligence-intro {
  max-width: 720px;
}
.home-intelligence-intro h2 {
  max-width: 17ch;
  font-size: var(--t-major);
  line-height: 1.04;
  letter-spacing: -.042em;
}
.home-intelligence-intro > p:not(.home-eyebrow) {
  max-width: 62ch;
  margin-top: 20px;
  font-size: var(--t-lead);
  line-height: 1.62;
}
.home-intelligence-intro > .home-link {
  margin-top: 18px;
}

.home-intel-stage {
  --home-intel-header-height: 54px;
  --home-intel-evidence-offset: 112px;
  display: grid;
  grid-template: 1fr / 1fr;
  margin-top: 38px;
  padding-bottom: 28px;
}
.home-intel-backplane {
  grid-area: 1 / 1;
  position: relative;
  width: min(80%, 760px);
  min-height: 470px;
  overflow: visible;
  border: 0;
  border-radius: 14px 14px 0 0;
  background-image:
    linear-gradient(
      to bottom,
      var(--home-rule) 0%,
      color-mix(in srgb, var(--home-rule) 72%, transparent) 50%,
      transparent 88%
    ),
    linear-gradient(
      to bottom,
      var(--home-rule) 0%,
      color-mix(in srgb, var(--home-rule) 72%, transparent) 50%,
      transparent 88%
    ),
    linear-gradient(
      to bottom,
      color-mix(in srgb, var(--marpt-bg) 92%, var(--marpt-surface) 8%) 0%,
      color-mix(in srgb, var(--marpt-bg) 92%, var(--marpt-surface) 8%) 100%
    );
  background-size: 1px calc(100% - var(--home-intel-header-height)), 1px calc(100% - var(--home-intel-header-height)), 100% 100%;
  background-position: 0 var(--home-intel-header-height), 100% var(--home-intel-header-height), 0 0;
  background-repeat: no-repeat;
  box-shadow: none;
}
.home-intel-backplane::before {
  content: '';
  position: absolute;
  z-index: -1;
  left: 0;
  right: 0;
  top: 100%;
  height: 96px;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    color-mix(in srgb, var(--marpt-bg) 92%, var(--marpt-surface) 8%) 0%,
    color-mix(in srgb, var(--marpt-bg) 96%, var(--marpt-surface) 4%) 38%,
    transparent 100%
  );
}
.home-intel-backplane::after {
  content: '';
  position: absolute;
  z-index: 1;
  top: var(--home-intel-header-height);
  right: 0;
  bottom: 0;
  width: 36%;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    transparent 0%,
    color-mix(in srgb, var(--marpt-bg) 76%, transparent) 44%,
    var(--marpt-bg) 92%
  );
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 66%, transparent 94%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 66%, transparent 94%);
}
.home-intel-shell-bar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: var(--home-intel-header-height);
  padding: 13px 20px;
  border: 1px solid var(--home-rule);
  border-bottom-color: var(--home-hair);
  border-radius: 14px 14px 0 0;
  background: color-mix(in srgb, var(--marpt-surface-subtle) 34%, transparent);
  color: var(--marpt-text-muted);
  font: 500 10px/1.4 var(--home-mono);
  letter-spacing: .065em;
}
.home-intel-shell-bar::after {
  content: '';
  position: absolute;
  z-index: 1;
  top: -1px;
  right: -1px;
  width: 14px;
  height: var(--home-intel-evidence-offset);
  pointer-events: none;
  border-top: 1px solid var(--home-rule);
  border-right: 1px solid var(--home-rule);
  border-radius: 0 14px 0 0;
}
.home-intel-shell-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--marpt-text-primary);
  font-weight: 600;
}
.home-intel-shell-icon {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid color-mix(in srgb, var(--marpt-accent-emphasis) 22%, var(--home-rule));
  border-radius: 8px;
  background: color-mix(in srgb, var(--marpt-accent-emphasis) 6%, var(--marpt-bg));
  color: color-mix(in srgb, var(--marpt-accent-emphasis) 84%, white 16%);
}
.home-intel-shell-icon svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.home-intel-shell-meta {
  white-space: nowrap;
}
.home-intel-signal {
  position: relative;
  z-index: 0;
  display: flex;
  flex-direction: column;
  width: 73%;
  min-width: 0;
  min-height: 415px;
  padding: 24px 26px 0;
  border-left: 3px solid var(--marpt-warning);
  background: linear-gradient(145deg, color-mix(in srgb, var(--marpt-surface) 8%, transparent), transparent 44%);
}
.home-intel-signal-kicker {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
}
.home-intel-signal-kicker .home-eyebrow {
  margin-bottom: 3px;
  color: var(--marpt-text-primary);
}
.home-intel-location {
  flex: 0 0 auto;
  padding-top: 2px;
  color: var(--marpt-text-muted);
  font: 500 9.5px/1.5 var(--home-mono);
  letter-spacing: .07em;
}
.home-intel-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 20px;
}
.home-intel-chip {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 4px 8px;
  border: 1px solid var(--home-rule);
  border-radius: 999px;
  color: var(--marpt-text-muted);
  font: 600 9px/1 var(--home-mono);
  letter-spacing: .07em;
  text-transform: uppercase;
}
.home-intel-chip-amber {
  border-color: color-mix(in srgb, var(--marpt-warning) 34%, var(--home-rule));
  background: color-mix(in srgb, var(--marpt-warning) 7%, transparent);
  color: var(--marpt-warning);
}
.home-intel-signal h3 {
  max-width: 30ch;
  margin-top: 18px;
  font-size: 20px;
  line-height: 1.34;
}
.home-intel-signal-fields {
  margin-top: 22px;
}
.home-intel-signal-fields > div {
  display: grid;
  grid-template-columns: 108px minmax(0,1fr);
  gap: 18px;
  padding-block: 11px;
  border-top: 1px solid var(--home-hair);
}
.home-intel-signal-fields dt {
  color: var(--marpt-text-muted);
  font: 500 9px/1.55 var(--home-mono);
  letter-spacing: .09em;
  text-transform: uppercase;
}
.home-intel-signal-fields dd {
  color: var(--marpt-text-secondary);
  font-size: 12.5px;
  line-height: 1.55;
}
.home-intel-signal-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin: auto -26px 0;
  padding: 15px 26px 16px;
  border-top: 1px solid var(--home-hair);
}
.home-intel-curated {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 4px 8px;
  border: 1px solid color-mix(in srgb, var(--marpt-success) 30%, var(--home-rule));
  border-radius: 999px;
  color: var(--marpt-success);
  font: 600 9px/1 var(--home-mono);
  letter-spacing: .07em;
  text-transform: uppercase;
}
.home-intel-signal-foot .home-link {
  min-height: 32px;
  margin-right: 52px;
  font-size: 12.5px;
}

.home-intel-evidence {
  grid-area: 1 / 1;
  position: relative;
  z-index: 4;
  justify-self: end;
  align-self: start;
  display: flex;
  flex-direction: column;
  width: 39.2%;
  min-width: 0;
  min-height: 490px;
  margin: var(--home-intel-evidence-offset) calc(12% + 48px) 0 0;
  padding: 0 24px 20px;
  border: 0;
  border-top: 1px solid color-mix(in srgb, var(--home-rule) 92%, var(--marpt-text-muted) 8%);
  border-radius: 14px 14px 0 0;
  background:
    linear-gradient(
      180deg,
      color-mix(in srgb, var(--marpt-surface) 14%, transparent) 0%,
      color-mix(in srgb, var(--marpt-surface) 7%, transparent) 36%,
      transparent 74%
    ),
    color-mix(in srgb, var(--marpt-bg) 90%, var(--marpt-surface) 10%);
  box-shadow: none;
}
.home-intel-evidence::before {
  content: '';
  position: absolute;
  inset: 0;
  border-left: 1px solid var(--home-rule);
  border-right: 1px solid var(--home-rule);
  border-radius: 14px 14px 0 0;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 46%, transparent 84%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 46%, transparent 84%);
}
.home-intel-evidence::after {
  content: '';
  position: absolute;
  z-index: -1;
  left: 0;
  right: 0;
  top: 100%;
  height: 132px;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    color-mix(in srgb, var(--marpt-bg) 90%, var(--marpt-surface) 10%) 0%,
    color-mix(in srgb, var(--marpt-bg) 95%, var(--marpt-surface) 5%) 42%,
    transparent 100%
  );
}
.home-intel-evidence-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  padding-block: 22px 18px;
}
.home-intel-evidence-head .home-eyebrow {
  margin-bottom: 3px;
}
.home-intel-evidence-head h3 {
  font-size: 19px;
}
.home-intel-source-icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border: 1px solid var(--home-rule);
  border-radius: 8px;
  background: color-mix(in srgb, var(--marpt-surface) 16%, transparent);
  color: var(--marpt-text-secondary);
}
.home-intel-source-icon svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.home-intel-evidence-list {
  border-top: 1px solid var(--home-hair);
}
.home-intel-evidence-list > div {
  display: grid;
  grid-template-columns: 92px minmax(0,1fr);
  gap: 16px;
  padding-block: 14px;
  border-bottom: 1px solid var(--home-hair);
}
.home-intel-evidence-list dt {
  color: var(--marpt-text-muted);
  font: 500 9px/1.55 var(--home-mono);
  letter-spacing: .09em;
  text-transform: uppercase;
}
.home-intel-evidence-list dd {
  color: var(--marpt-text-secondary);
  font-size: 12.5px;
  line-height: 1.55;
}
.home-intel-evidence-signals dd {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.home-intel-evidence-signals dd span {
  min-width: 0;
}
.home-intel-evidence-signals small {
  display: block;
  color: var(--marpt-text-muted);
  font: 500 8.5px/1.4 var(--home-mono);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.home-intel-evidence-signals strong {
  display: block;
  margin-top: 4px;
  color: var(--marpt-text-primary);
  font-size: 12.5px;
  font-weight: 500;
}
.home-intel-verification {
  color: var(--marpt-success) !important;
}
.home-intel-evidence > .home-link {
  align-self: flex-start;
  min-height: 34px;
  margin-top: auto;
  padding-top: 14px;
  font-size: 12.5px;
}
.home-intelligence-note {
  position: relative;
  z-index: 8;
  max-width: 74ch;
  margin-top: 12px;
  color: #98a2b0 !important;
  opacity: 1 !important;
}

/* -------------------------------------------------- professional review --- */
/* Light review folio: intentionally contrasts with the dark homepage and avoids
 * reading like another generic product card. */
.home-review .home-wrap {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(520px, 1.08fr);
  gap: 44px;
  align-items: stretch;
}
.home-review .home-story {
  display: grid;
  min-height: 448px;
  grid-template-rows: auto auto auto;
  align-content: start;
}
.home-review-story-top {
  align-self: start;
}
.home-review h2 {
  max-width: none;
  font-size: clamp(42px, 3.35vw, 54px);
  line-height: 1.02;
  letter-spacing: -.045em;
}
.home-review h2 > span {
  display: block;
  white-space: nowrap;
}
.home-review-story-body {
  align-self: start;
  max-width: 46ch;
  padding: 44px 0 0;
}
.home-review-story-body > p {
  color: var(--marpt-text-secondary);
  font-size: var(--t-body);
  line-height: 1.62;
}
.home-review-story-action {
  display: grid;
  justify-items: start;
  gap: 2px;
  margin-top: 24px;
}
.home-review .home-story > .home-note {
  align-self: start;
  max-width: 49ch;
  margin: 30px 0 0;
  padding-top: 0;
}

.home-review-handoff {
  --review-paper: #d2cdc6;
  --review-paper-top: #d8d3cc;
  --review-paper-back-1: #bbb5ad;
  --review-paper-back-2: #aaa49d;
  --review-attachment: #c3bdb5;
  --review-text: #1a1e24;
  --review-muted: #66707a;
  --review-stroke: rgba(26, 30, 36, 0.10);
  --review-stroke-strong: rgba(26, 30, 36, 0.16);
  --review-success: #127a57;
  --review-success-soft: rgba(18, 122, 87, 0.10);
  --review-warning: #b97b14;
  --review-warning-soft: rgba(185, 123, 20, 0.08);

  display: block;
  min-height: 448px;
  padding: 18px 0 22px;
}

.home-review-dossier {
  position: relative;
  width: 82%;
  min-width: 0;
  padding: 34px 34px 22px;
  border: 1px solid var(--review-stroke);
  border-radius: 18px;
  background:
    linear-gradient(180deg, var(--review-paper-top) 0%, var(--review-paper) 100%);
  box-shadow:
    0 22px 56px rgba(0, 0, 0, 0.14),
    0 2px 0 rgba(255, 255, 255, 0.24) inset;
  color: var(--review-text);
  overflow: visible;
}

.home-review-dossier::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
}
.home-review-dossier::before {
  transform: translate(10px, 12px);
  background: var(--review-paper-back-1);
  opacity: 0.58;
}
.home-review-dossier-tab {
  position: absolute;
  top: -14px;
  left: 26px;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 12px;
  border: 1px solid var(--review-stroke-strong);
  border-radius: 999px;
  background: linear-gradient(180deg, #ebe6df 0%, #e7e2dc 100%);
  color: var(--review-text);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.10);
  font: 700 9px/1 var(--home-mono);
  letter-spacing: .11em;
  text-transform: uppercase;
}

.home-review-dossier .home-review-mono,
.home-review-dossier .home-review-label {
  display: block;
  color: var(--review-muted);
  font: 500 8.8px/1.45 var(--home-mono);
  letter-spacing: .1em;
  text-transform: uppercase;
}

.home-review-dossier-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 0 22px;
  border-bottom: 1px solid var(--review-stroke);
}
.home-review-dossier-head-copy {
  min-width: 0;
}
.home-review-dossier-head h3 {
  max-width: 22ch;
  margin-top: 7px;
  color: var(--review-text);
  font-size: 25px;
  line-height: 1.12;
  letter-spacing: -.04em;
}
.home-review-dossier-head-copy > p {
  max-width: 44ch;
  margin-top: 10px;
  color: var(--review-muted);
  font-size: 12px;
  line-height: 1.52;
}

.home-review-status {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding-top: 2px;
  color: var(--review-success);
  font: 600 9px/1.4 var(--home-mono);
  letter-spacing: .085em;
  text-transform: uppercase;
}
.home-review-status::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--review-success);
  box-shadow: 0 0 0 5px var(--review-success-soft);
}

.home-review-packet-index {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  padding: 24px 0 22px;
}
.home-review-packet-items {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.home-review-packet-items > div {
  min-width: 0;
  padding: 14px 14px 12px;
  border: 1px solid var(--review-stroke);
  border-radius: 12px;
  background: linear-gradient(180deg, #e3ded8 0%, #ded9d3 100%);
}
.home-review-packet-items small {
  display: block;
  color: var(--review-muted);
  font: 500 8px/1.4 var(--home-mono);
  letter-spacing: .08em;
}
.home-review-packet-items strong {
  display: block;
  margin-top: 6px;
  color: var(--review-text);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.35;
}

.home-review-question {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  padding: 18px 18px 18px 16px;
  border: 1px solid rgba(201, 139, 24, 0.22);
  border-left: 3px solid var(--review-warning);
  border-radius: 14px;
  background:
    linear-gradient(
      90deg,
      rgba(185, 123, 20, 0.075) 0%,
      rgba(185, 123, 20, 0.028) 22%,
      rgba(255, 255, 255, 0.025) 100%
    ),
    linear-gradient(180deg, #d6d0c9 0%, #d1cbc4 100%);
}
.home-review-question-label {
  display: flex;
  align-items: center;
  gap: 8px;
}
.home-review-question-label::before {
  content: '';
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--review-warning);
}
.home-review-question p {
  max-width: 42ch;
  color: var(--review-text);
  font-size: 13.5px;
  line-height: 1.5;
}

.home-review-packet-end {
  height: 1px;
  margin-top: 22px;
  background: var(--review-stroke);
}

.home-review-attachment {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(104px,.82fr) minmax(150px,1.18fr);
  gap: 10px 16px;
  align-items: start;
  width: min(58%, 382px);
  margin: -48px 18px 0 auto;
  padding: 13px 15px 12px;
  border: 1px solid var(--review-stroke-strong);
  border-radius: 12px;
  background:
    linear-gradient(180deg, #cbc5bd 0%, var(--review-attachment) 100%);
  box-shadow:
    0 14px 30px rgba(23,27,34,.13),
    0 1px 0 rgba(255,255,255,.30) inset;
  color: var(--review-text);
  opacity: 1;
}
.home-review-attachment::before {
  content: '';
  position: absolute;
  top: -7px;
  left: 20px;
  width: 40px;
  height: 7px;
  border: 1px solid var(--review-stroke);
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  background: var(--review-attachment);
}
.home-review-attachment .home-review-label {
  display: block;
  color: var(--review-muted);
  font: 500 8.6px/1.4 var(--home-mono);
  letter-spacing: .095em;
  text-transform: uppercase;
}
.home-review-attachment-recipient {
  min-width: 0;
}
.home-review-attachment-recipient strong {
  display: block;
  max-width: 17ch;
  margin-top: 5px;
  color: var(--review-text);
  font-size: 11.8px;
  font-weight: 650;
  line-height: 1.34;
}
.home-review-handoff-consent {
  display: grid;
  grid-template-columns: 26px minmax(0,1fr);
  gap: 9px;
  align-items: start;
  min-width: 0;
}
.home-review-handoff-consent > div > span {
  display: block;
  color: var(--review-text);
  font: 650 8.4px/1.35 var(--home-mono);
  letter-spacing: .085em;
  text-transform: uppercase;
}
.home-review-handoff-consent p {
  max-width: 23ch;
  margin-top: 3px;
  color: var(--review-muted);
  font-size: 10px;
  line-height: 1.42;
}
.home-review-lock {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 1px solid var(--review-stroke-strong);
  border-radius: 50%;
  color: var(--review-text);
  background: color-mix(in srgb, var(--review-attachment) 78%, white 22%);
}
.home-review-lock svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.home-review-attachment > .home-link {
  grid-column: 1 / -1;
  justify-self: end;
  min-height: 26px;
  margin-top: 1px;
  white-space: nowrap;
  color: var(--review-text);
  font-size: 11.5px;
  font-weight: 600;
}
.home-review-attachment > .home-link:hover,
.home-review-attachment > .home-link:focus-visible {
  color: #2d3746;
}
.home-review-demo-action {
  grid-column: 1 / -1;
  justify-self: end;
  min-height: 26px;
  margin-top: 1px;
  color: var(--review-text);
  font-size: 11.5px;
  font-weight: 600;
  line-height: 26px;
  white-space: nowrap;
  cursor: default;
  user-select: none;
}

@media (max-width: 1100px) {
  .home-review .home-wrap {
    grid-template-columns: 1fr;
    gap: 42px;
  }
  .home-review .home-story {
    display: block;
    min-height: 0;
    max-width: 680px;
  }
  .home-review-story-body {
    max-width: 54ch;
    padding-block: 24px 0;
  }
  .home-review .home-story > .home-note {
    margin-top: 22px;
    padding-top: 0;
  }
  .home-review-handoff {
    max-width: 840px;
    min-height: 0;
  }
  .home-review-dossier {
    width: 100%;
  }
  .home-review-attachment {
    width: min(60%, 382px);
  }
}

@media (max-width: 760px) {
  .home-review-handoff {
    padding: 22px 0 0;
  }
  .home-review-dossier {
    padding: 32px 22px 24px;
  }
  .home-review-dossier::before {
    transform: translate(8px, 10px);
  }
  .home-review-packet-index,
  .home-review-question {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .home-review-attachment {
    grid-template-columns: 1fr 1fr;
    width: calc(100% - 28px);
    margin: -14px 0 0 auto;
  }
  .home-review-attachment::before {
    display: none;
  }
  .home-review-attachment > .home-link {
    grid-column: 1 / -1;
    justify-self: end;
  }
}

@media (max-width: 520px) {
  .home-review h2 {
    font-size: 40px;
  }
  .home-review h2 > span {
    white-space: normal;
  }
  .home-review-dossier {
    padding-inline: 18px;
  }
  .home-review-dossier-tab {
    left: 18px;
  }
  .home-review-dossier-head {
    flex-direction: column;
    gap: 12px;
  }
  .home-review-dossier-head h3 {
    font-size: 22px;
  }
  .home-review-packet-items {
    grid-template-columns: 1fr;
  }
  .home-review-attachment {
    grid-template-columns: 1fr;
    width: calc(100% - 18px);
    padding: 14px 15px;
  }
  .home-review-attachment > .home-link {
    grid-column: auto;
    justify-self: start;
  }
}

/* ------------------------------------------------ tax exposure (footnote) --- */
/* The quietest band on the page: one line, no surface, no emphasis. */
.home-ecosystem { padding-block: 34px; border-block: 1px solid var(--home-hair); }
.home-ecosystem .home-wrap { display: flex; align-items: baseline; justify-content: space-between; gap: 48px; }
.home-ecosystem .home-eyebrow { color: var(--marpt-text-muted); margin-bottom: 10px; }
.home-ecosystem h2 { font-size: 17px; font-weight: 500; letter-spacing: -.018em; text-wrap: initial; }
.home-ecosystem p { font-size: 12.5px; line-height: 1.6; max-width: 66ch; margin-top: 8px; }
.home-ecosystem .home-ecosystem-summary {
  max-width: none;
  white-space: nowrap;
}
.home-ecosystem .home-link { flex-shrink: 0; font-size: 13px; }
@media (max-width: 760px) {
  .home-ecosystem .home-ecosystem-summary {
    white-space: normal;
  }
}

/* ------------------------------------------------------ section separator --- */
.home-section-separator {
  line-height: 0;
}
.home-section-separator-rule {
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(255,255,255,0),
    rgba(255,255,255,0.11) 14%,
    rgba(255,255,255,0.11) 86%,
    rgba(255,255,255,0)
  );
}
html[data-marpt-theme="light"] .home-section-separator-rule {
  background: linear-gradient(
    90deg,
    rgba(24,39,64,0),
    rgba(24,39,64,0.18) 14%,
    rgba(24,39,64,0.18) 86%,
    rgba(24,39,64,0)
  );
}

/* ------------------------------------------------------------- closing --- */
.home-closing { padding-block: 132px 108px; text-align: center; }
.home-closing .home-eyebrow::before { display: none; }
.home-closing h2 { font-size: clamp(42px, 5vw, 64px); line-height: 1.06; letter-spacing: -.042em; white-space: pre-line; }
.home-page #home-main:focus-visible { outline: none; }
.home-closing .home-actions { justify-content: center; margin-top: 40px; }
.home-closing .home-note { margin-top: 22px; }
.home-enterprise-link { margin-top: 30px; font-size: 12.5px; color: var(--marpt-text-muted); }
.home-enterprise-link:hover, .home-enterprise-link:focus-visible { color: var(--marpt-text-secondary); }

/* ---------------------------------------------------------------- motion --- */
/* Section entry: a one-shot animation on intersection. The resting state is
 * fully visible, so raw HTML, a full-page capture and a stalled observer all
 * render the complete page. */
[data-home-motion="on"] [data-home-enter="in"] { animation: home-band-in var(--home-t-slow) var(--home-ease) both; }

/* State change inside the product surfaces. Opacity/transform only, so a panel
 * change never alters the reserved stage height. */
.home-panel:not([hidden]) { animation: home-state-in 220ms var(--home-ease) both; }
.home-panel:not([hidden]) .home-data-row { animation: home-row-in 340ms var(--home-ease) both; }
.home-panel:not([hidden]) .home-data-row:nth-child(2) { animation-delay: 75ms; }
.home-panel:not([hidden]) .home-data-row:nth-child(3) { animation-delay: 150ms; }
.home-panel:not([hidden]) .home-checks li { animation: home-row-in 340ms var(--home-ease) both; }
.home-panel:not([hidden]) .home-checks li:nth-child(2) { animation-delay: 85ms; }
.home-panel:not([hidden]) .home-checks li:nth-child(3) { animation-delay: 170ms; }
.home-panel:not([hidden]) .home-attention { animation: home-row-in 340ms var(--home-ease) both; animation-delay: 95ms; }
.home-panel:not([hidden]) .home-fit { animation: home-row-in 340ms var(--home-ease) both; animation-delay: 115ms; }
.home-panel:not([hidden]) .home-fit::before { animation: home-mark-in 280ms var(--home-ease) both; animation-delay: 350ms; }
.home-panel:not([hidden]) .home-rail-icon { animation: home-rail-icon-in 360ms var(--home-ease) both; animation-delay: 90ms; }
.home-advisor .home-panel:not([hidden]) > .home-note { animation: home-row-in 380ms var(--home-ease) both; animation-delay: 200ms; }
.home-app-stage .home-panel:not([hidden]) .home-status { animation: home-row-in 380ms var(--home-ease) both; animation-delay: 60ms; }
/* The requirement whose state advances across the three case steps. */
.home-app-stage .home-panel:not([hidden]) .home-data-row:first-child dd { animation: home-value-change 1000ms var(--home-ease) both; animation-delay: 190ms; }
.home-app-stage .home-panel:not([hidden]) .home-next-action { animation: home-row-in 340ms var(--home-ease) both; animation-delay: 230ms; }

@keyframes home-band-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes home-state-in { from { opacity: .35; } to { opacity: 1; } }
@keyframes home-row-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes home-mark-in { from { opacity: 0; transform: scale(.55); } to { opacity: 1; transform: none; } }
@keyframes home-rail-icon-in { from { opacity: .2; transform: translateY(3px) scale(.92); } to { opacity: 1; transform: none; } }
@keyframes home-value-change {
  0%, 55% { background: var(--marpt-accent-muted); box-shadow: 0 0 0 5px var(--marpt-accent-muted); }
  100% { background: transparent; box-shadow: 0 0 0 5px transparent; }
}

/* ------------------------------------------------------------ responsive --- */
@media (max-width: 1240px) {
  .home-page { --home-band: 92px; }
  .home-hero-head { gap: 48px; }
  .home-console { margin-top: 56px; }
  .home-explore .home-wrap, .home-trust .home-wrap { gap: 56px; }
  .home-review .home-wrap { gap: 64px; }
  .home-section-heading { margin-bottom: 40px; }
  .home-advisor .home-panel { padding-right: 288px; }
  .home-advisor .home-panel > .home-note { width: 212px; }
  .home-app-body { grid-template-columns: 214px minmax(0,1fr); }
}
/* Tablet: every product surface takes the full rail rather than sharing it. */
@media (max-width: 960px) {
  .home-page { --home-gutter: 24px; --home-band: 72px; }
  .home-hero { padding-block: 40px 0; }
  .home-page .home-hero h1 { max-width: 17ch; }
  .home-hero-side { grid-template-columns: 1fr; gap: 24px; margin-top: 30px; }
  .home-hero-side .home-lead { grid-area: auto; max-width: 58ch; }
  .home-hero-side .home-actions { grid-area: auto; }
  .home-hero-side .home-note { grid-area: auto; }
  .home-console { margin-top: 44px; }
  .home-stepper button { min-height: 60px; padding: 10px 14px; font-size: 12px; }
  .home-panel { padding: 26px; }
  .home-panel-stage { min-height: 260px; }
  /* No room for a margin column: the apparatus becomes a footer rule, still
     anchored to the foot of the reserved stage. */
  .home-advisor .home-panel { padding-right: 26px; display: flex; flex-direction: column; }
  .home-panel-stage > .home-panel[hidden] { display: flex !important; }
  .home-advisor .home-panel > .home-note {
    position: static; width: auto; margin-top: auto; padding: 18px 0 0;
    border-left: 0; border-top: 1px solid var(--home-hair);
  }
  .home-advisor .home-panel > .home-link { align-self: flex-start; margin-top: auto; }
  .home-explore .home-wrap, .home-trust .home-wrap, .home-review .home-wrap { grid-template-columns: 1fr; gap: 36px; }
  .home-review-preview { max-width: 760px; }
  .home-explore .home-story, .home-trust .home-story { position: static; }
  .home-story > h2, .home-review h2, .home-excerpt blockquote { max-width: 22ch; }
  .home-story > p:not(.home-eyebrow) { max-width: 62ch; }
  .home-section-heading { margin-bottom: 32px; }
  .home-section-heading > p { margin-top: 18px; }
  .home-section-heading h2 { max-width: 18ch; }
  .home-app-body { grid-template-columns: 192px minmax(0,1fr); }
  .home-app-rail { padding: 18px 12px 20px; }
  .home-app-rail-item { gap: 8px; padding-inline: 8px; font-size: 12px; }
  .home-app-rail-icon { width: 15px; height: 15px; flex-basis: 15px; }
  .home-app-rail strong { padding-inline: 8px; font-size: 8px; }
  .home-app-stage { min-height: 395px; }
  .home-app-stage > .home-panel { padding: 26px 26px 0; }
  .home-app-main .home-tabs { padding-inline: 12px; }
  .home-app-main .home-tabs button { padding: 12px 14px; font-size: 12px; }
  .home-next-action { margin-inline: -26px; padding-inline: 26px; }
  .home-closing { padding-block: 96px 80px; }
}
@media (max-width: 640px) {
  .home-page { --home-gutter: 20px; --home-band: 56px; --t-display: 40px; }
  .home-hero { padding-block: 30px 0; }
  .home-page .home-hero h1 { max-width: 18ch; letter-spacing: -.04em; line-height: 1.02; }
  .home-hero-side { margin-top: 24px; gap: 20px; }
  .home-page .home-eyebrow { margin-bottom: 14px; font-size: 10.5px; }
  .home-hero-side .home-lead { font-size: 16px; }
  .home-hero-side .home-actions { margin-top: 22px; gap: 10px 18px; }
  .home-button { min-height: 48px; font-size: 13.5px; padding-inline: 20px; }
  .home-demo-link { font-size: 13px; }
  .home-console { margin-top: 32px; border-radius: 12px 12px 0 0; }
  .home-console-bar { padding: 12px 18px; font-size: 10px; }
  .home-console-foot { padding: 12px 18px; font-size: 9px; }
  /* Four real Advisor stages become a 2 × 2 workflow on phones. */
  .home-stepper { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .home-stepper button { min-height: 54px; padding: 9px 12px; font-size: 11.5px; border-bottom: 1px solid var(--home-hair); }
  .home-stepper button:nth-child(even) { border-right: 0; }
  .home-stepper button:nth-child(3), .home-stepper button:nth-child(4) { border-bottom: 0; }
  .home-panel { padding: 22px 18px; }
  .home-panel-stage { min-height: 420px; }
  .home-advisor .home-panel { padding-right: 18px; }
  .home-panel .home-note { font-size: 11.5px; }
  .home-explore .home-wrap, .home-trust .home-wrap, .home-review .home-wrap { gap: 30px; }
  .home-app-body { display: block; }
  .home-app-rail { display: none; }
  .home-app-stage { min-height: 460px; }
  .home-app-stage > .home-panel { padding: 22px 18px 0; }
  .home-app-main .home-tabs { padding-inline: 6px; }
  .home-app-main .home-tabs button { padding: 12px 8px; font-size: 11px; }
  .home-case-heading { flex-direction: column; align-items: flex-start; gap: 12px; }
  .home-next-action { margin-inline: -18px; padding: 16px 18px; grid-template-columns: 1fr; gap: 6px; }
  .home-workspace-caption { flex-direction: column; gap: 4px; }
  .home-excerpt blockquote { max-width: none; }
  .home-review-packet-grid { grid-template-columns: 1fr; }
  .home-review-packet-card:nth-child(odd) { border-right: 0; }
  .home-review-packet-card + .home-review-packet-card { border-top: 1px solid var(--home-hair); }
  .home-review-recipient { grid-template-columns: 1fr; gap: 12px; }
  .home-review-preview-foot { align-items: flex-start; flex-direction: column; gap: 6px; }
  .home-review-preview-foot .home-link { align-self: flex-start; }
  .home-ecosystem .home-wrap { flex-direction: column; gap: 12px; }
  .home-closing { padding-block: 72px 56px; }
  .home-closing .home-actions { margin-top: 30px; }
}

/* -------------------------------- approved hero responsive refinements --- */
@media (max-width: 1240px) {
  .home-page .home-hero h1 { font-size: 58px; max-width: 900px; }
}
@media (max-width: 960px) {
  .home-hero { padding-block: 52px 0; }
  .home-page .home-hero h1 {
    max-width: 760px;
    font-size: clamp(46px, 6.4vw, 56px);
    line-height: 1.04;
  }
  .home-hero-copy .home-lead { max-width: 680px; }
  .home-hero-title-line,
  .home-hero-lead-line { display: inline; }
  .home-hero-title-line + .home-hero-title-line::before,
  .home-hero-lead-line + .home-hero-lead-line::before { content: ' '; }
  .home-hero .home-console { margin-top: 48px; }
  .home-advisor-body { padding: 32px 26px 24px; }
  .home-advisor-stage-nav { padding: 16px 26px 0; }
  .home-hero-preview-wrap { padding-bottom: 52px; }
  .home-profile-panel-main { max-width: 680px; }
  .home-advisor .home-console-foot,
  .home-hero .home-console-foot { padding-inline: 26px; }
}
@media (max-width: 640px) {
  .home-hero { padding-block: 38px 0; }
  .home-page .home-hero h1 {
    max-width: 18ch;
    font-size: 40px;
    line-height: 1.03;
  }
  .home-hero-copy .home-lead {
    margin-top: 16px;
    font-size: 15.5px;
    line-height: 1.5;
  }
  .home-hero-copy .home-actions {
    width: 100%;
    margin-top: 20px;
    gap: 10px;
  }
  .home-hero-copy .home-actions .home-button {
    flex: 1 1 160px;
    min-width: 0;
    max-width: 230px;
  }
  .home-hero-copy .home-note { margin-top: 11px; }
  .home-hero-preview-wrap {
    display: block;
    padding-inline: 12px;
    padding-bottom: 44px;
  }
  .home-advisor { width: 100%; }
  .home-hero .home-console {
    margin-top: 34px;
    border-radius: 0;
  }
  .home-hero .home-console-bar {
    min-height: 66px;
    padding-inline: 16px;
  }
  .home-hero .home-console-title,
  .home-hero .home-console-meta { min-height: 66px; }
  .home-hero .home-console-title { font-size: 14px; }
  .home-hero .home-console-meta { font-size: 10.5px; }
  .home-advisor-body { padding: 28px 16px 22px; }
  .home-advisor-stage-nav { padding: 14px 16px 0; gap: 6px; }
  .home-advisor-stage-nav button { min-height: 30px; padding: 5px 10px; font-size: 10.5px; }
  .home-advisor-stage-panel { min-height: 410px; }
  .home-advisor-pathway-head,
  .home-advisor-pathway-row,
  .home-advisor-reason-row,
  .home-advisor-selected-route { align-items: flex-start; flex-direction: column; gap: 7px; }
  .home-advisor-pathway-meta { justify-content: flex-start; }
  .home-advisor-reason-row > span,
  .home-advisor-selected-route > span { flex-basis: auto; }
  .home-profile-panel-main h3 { font-size: 24px; }
  .home-profile-meta {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .home-advisor .home-console-foot,
  .home-hero .home-console-foot {
    padding: 12px 16px 0;
    gap: 8px;
  }
}

/* ---------------------------- hero spacing scale --- */
/* The approved hero spacing now opens into the 01 Advisor section intro;
 * the centered product demo follows on a shorter product-proof rhythm. */
@media (min-width: 1440px) {
  .home-hero { padding-top: 220px; }
  .home-advisor-intro-wrap { margin-top: 160px; }
  .home-hero .home-console { margin-top: 72px; }
}
@media (min-width: 1024px) and (max-width: 1439px) {
  .home-hero { padding-top: 180px; }
  .home-advisor-intro-wrap { margin-top: 130px; }
  .home-hero .home-console { margin-top: 64px; }
}
@media (min-width: 641px) and (max-width: 1023px) {
  .home-hero { padding-top: 80px; }
  .home-advisor-intro-wrap { margin-top: 64px; }
  .home-hero .home-console { margin-top: 56px; }
}
@media (max-width: 640px) {
  .home-hero { padding-top: 48px; }
  .home-advisor-intro-wrap { margin-top: 44px; }
  .home-hero .home-console { margin-top: 44px; }
}

/* ----------------------- explore/compare responsive refinements --- */
@media (max-width: 960px) {
  .home-explore-intro {
    max-width: 680px;
  }
  .home-comparison {
    margin-top: 42px;
  }
  .home-comparison-bar {
    padding-inline: 22px;
  }
  .home-comparison-axis,
  .home-comparison-route,
  .home-comparison-criterion,
  .home-comparison-ledger-row p {
    padding-inline: 22px;
  }
  .home-comparison-tabs {
    padding-inline: 22px;
  }
  .home-comparison-foot {
    padding-inline: 22px;
  }
}
@media (max-width: 640px) {
  .home-explore-intro h2 {
    max-width: 14ch;
  }
  .home-explore-intro > p:not(.home-eyebrow) {
    font-size: 15.5px;
  }
  .home-comparison {
    margin-top: 34px;
  }
  .home-comparison-bar {
    align-items: center;
    min-height: 52px;
    padding-inline: 16px;
  }
  .home-comparison-bar > :last-child {
    text-align: right;
  }
  .home-comparison-head {
    grid-template-columns: 1fr 1fr;
  }
  .home-comparison-axis {
    display: none;
  }
  .home-comparison-axis,
  .home-comparison-route {
    min-height: 58px;
  }
  .home-comparison-route {
    padding: 12px 16px;
    border-left: 0;
  }
  .home-comparison-route + .home-comparison-route {
    border-left: 1px solid var(--home-hair);
  }
  .home-comparison-route-title {
    align-items: center;
    gap: 8px;
  }
  .home-comparison-route-title h3 {
    font-size: 17px;
  }
  .home-comparison-route-title p {
    font-size: 10px;
  }
  .home-comparison-route > .home-link {
    font-size: 11px;
  }
  .home-comparison-tabs {
    gap: 6px;
    padding: 12px 16px;
  }
  .home-comparison-tabs button {
    min-height: 28px;
    padding: 5px 9px;
    font-size: 8.5px;
    letter-spacing: .055em;
  }
  .home-comparison-ledger-row {
    grid-template-columns: 1fr 1fr;
    min-height: 0;
  }
  .home-comparison-criterion {
    grid-column: 1 / -1;
    min-height: 32px;
    padding: 8px 16px 6px;
  }
  .home-comparison-ledger-row p {
    min-height: 58px;
    padding: 10px 16px 12px;
    border-left: 0;
    font-size: 12px;
  }
  .home-comparison-ledger-row p + p {
    border-left: 1px solid var(--home-hair);
  }
  .home-comparison-foot {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 16px 16px 0;
  }
  .home-comparison-primary-link {
    justify-self: start;
  }
}

/* ------------------------------ intelligence responsive refinements --- */
@media (max-width: 960px) {
  .home-intel-stage {
    display: block;
    padding-bottom: 0;
  }
  .home-intel-shell-bar::after {
    display: none;
  }
  .home-intel-backplane {
    width: 80%;
    min-height: 0;
  }
  .home-intel-backplane::after {
    display: none;
  }
  .home-intel-signal {
    width: 100%;
    min-height: 0;
  }
  .home-intel-evidence {
    width: 80%;
    min-height: 0;
    margin: -22px 0 0 auto;
  }
  .home-intel-signal-foot .home-link {
    margin-right: 0;
  }
}
@media (max-width: 640px) {
  .home-intelligence-intro h2 {
    max-width: 15ch;
  }
  .home-intelligence-intro > p:not(.home-eyebrow) {
    font-size: 15.5px;
  }
  .home-intel-stage {
    margin-top: 24px;
  }
  .home-intel-backplane {
    width: 100%;
  }
  .home-intel-shell-bar {
    padding-inline: 16px;
  }
  .home-intel-signal {
    width: 100%;
    padding: 20px 18px 0;
  }
  .home-intel-signal-kicker {
    display: block;
  }
  .home-intel-location {
    display: block;
    margin-top: 7px;
  }
  .home-intel-signal h3 {
    font-size: 18px;
  }
  .home-intel-signal-fields > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .home-intel-signal-foot {
    margin-inline: -18px;
    padding-inline: 18px;
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }
  .home-intel-evidence {
    width: 100%;
    margin: 16px 0 0;
    padding-inline: 18px;
    border-radius: 12px 12px 0 0;
  }
  .home-intel-evidence-list > div {
    grid-template-columns: 1fr;
    gap: 5px;
  }
}

/* ---------------------------------------------------------- reduced motion --- */
/* Every animation and transition above resolves to its finished, readable
 * state here: no state change is communicated by motion alone. */
@media (prefers-reduced-motion: reduce) {
  html:has(.home-page) { scroll-behavior: auto; }
  .home-page *, .home-page *::before, .home-page *::after { animation: none !important; transition: none !important; }
  [data-home-motion="on"] [data-home-enter="in"] { opacity: 1 !important; transform: none !important; }
}

/* ------------------------------------------------ visa comparison v2 --- */
/* Three-route analytical matrix: open canvas, strong column rhythm, restrained
 * difference cues, and an integrated attribute selector. */
.home-comparison-v2 {
  --compare-edge: rgba(126,151,184,.15);
  --compare-edge-strong: rgba(136,164,201,.23);
  --compare-hair: rgba(126,151,184,.095);
  --compare-surface: #10151c;
  --compare-surface-lift: #131922;
  --compare-active: #17202b;
  border-top-color: var(--compare-edge-strong);
  border-radius: 0;
}
.home-comparison-v2::before,
.home-comparison-v2::after {
  background: linear-gradient(180deg,
    var(--compare-edge-strong) 0%,
    var(--compare-edge) 38%,
    rgba(126,151,184,.06) 72%,
    transparent 100%);
}
.home-comparison-v2 .home-comparison-bar {
  min-height: 58px;
  padding-inline: 24px;
  border-bottom-color: var(--compare-hair);
  background: #15191f;
  box-shadow: inset 0 1px 0 rgba(244,247,250,.022);
}
.home-comparison-product-label {
  color: var(--marpt-text-primary);
  font-weight: 650;
  letter-spacing: .075em;
}
.home-comparison-bar-actions {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  margin-left: auto;
}
.home-comparison-route-count {
  color: var(--marpt-text-muted);
  font: 500 9.5px/1 var(--home-mono);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.home-comparison-customize-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 30px;
  padding: 6px 9px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: transparent;
  color: var(--marpt-text-secondary);
  font: 500 10.5px/1.2 var(--home-mono);
  letter-spacing: .02em;
  cursor: pointer;
}
.home-comparison-customize-toggle svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.home-comparison-customize-toggle:hover,
.home-comparison-customize-toggle:focus-visible,
.home-comparison-customize-toggle.is-active {
  border-color: var(--compare-edge);
  background: rgba(255,255,255,.025);
  color: var(--marpt-text-primary);
}

.home-comparison-customize {
  position: relative;
  z-index: 4;
  padding: 20px 24px 22px;
  border-bottom: 1px solid var(--compare-edge);
  background: #0d1218;
  box-shadow: inset 0 1px 0 rgba(220,232,248,.03);
}
.home-comparison-customize[hidden] { display: none !important; }
.home-comparison-customize-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 16px;
}
.home-comparison-customize-head > div {
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.home-comparison-customize-head strong {
  color: var(--marpt-text-primary);
  font-size: 13px;
  font-weight: 600;
}
.home-comparison-customize-head [data-home-comparison-custom-count] {
  color: var(--marpt-text-muted);
  font: 500 9.5px/1 var(--home-mono);
  letter-spacing: .05em;
}
.home-comparison-customize-close {
  width: 26px;
  height: 26px;
  border: 0;
  background: transparent;
  color: var(--marpt-text-muted);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}
.home-comparison-attribute-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 9px;
}
.home-comparison-attribute-grid label {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 9px 11px;
  border: 1px solid var(--compare-hair);
  border-radius: 8px;
  background: rgba(255,255,255,.012);
  color: var(--marpt-text-secondary);
  font-size: 11.5px;
  cursor: pointer;
}
.home-comparison-attribute-grid label:hover {
  border-color: var(--compare-edge);
  background: rgba(255,255,255,.022);
}
.home-comparison-attribute-grid input {
  width: 15px;
  height: 15px;
  margin: 0;
  accent-color: var(--marpt-accent-emphasis);
}

.home-comparison-v2 .home-comparison-tabs {
  position: relative;
  gap: 10px;
  min-height: 58px;
  padding: 14px 24px;
  border-bottom-color: var(--compare-hair);
  background: transparent;
}
.home-comparison-v2 .home-comparison-tabs button {
  position: relative;
  min-height: 30px;
  padding: 6px 11px;
  border: 1px solid var(--home-rule);
  border-radius: 999px;
  background: transparent;
  font-size: 9.5px;
}
.home-comparison-v2 .home-comparison-tabs button + button {
  margin-left: 0;
}
.home-comparison-v2 .home-comparison-tabs .is-requirements {
  color: var(--marpt-accent-emphasis);
}
.home-comparison-v2 .home-comparison-tabs .is-restrictions {
  color: var(--marpt-danger);
}
.home-comparison-v2 .home-comparison-tabs .is-costs {
  color: var(--marpt-warning);
}
.home-comparison-v2 .home-comparison-tabs .is-requirements[aria-selected="true"] {
  border-color: color-mix(in srgb, var(--marpt-accent-emphasis) 38%, var(--home-rule));
  background: color-mix(in srgb, var(--marpt-accent-emphasis) 8%, transparent);
  box-shadow: none;
}
.home-comparison-v2 .home-comparison-tabs .is-restrictions[aria-selected="true"] {
  border-color: color-mix(in srgb, var(--marpt-danger) 38%, var(--home-rule));
  background: color-mix(in srgb, var(--marpt-danger) 8%, transparent);
  box-shadow: none;
}
.home-comparison-v2 .home-comparison-tabs .is-costs[aria-selected="true"] {
  border-color: color-mix(in srgb, var(--marpt-warning) 38%, var(--home-rule));
  background: color-mix(in srgb, var(--marpt-warning) 8%, transparent);
  box-shadow: none;
}

.home-comparison-matrix-scroll {
  overflow: visible;
}
.home-comparison-v2 .home-comparison-head,
.home-comparison-v2 .home-comparison-ledger-row {
  grid-template-columns: minmax(130px,.68fr) repeat(3,minmax(0,1fr));
}
.home-comparison-v2 .home-comparison-head {
  border-bottom: 0;
  background: rgba(255,255,255,.006);
}
.home-comparison-v2 .home-comparison-head::after,
.home-comparison-v2 .home-comparison-ledger-row::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg,
    transparent,
    var(--compare-hair) 4%,
    var(--compare-hair) 96%,
    transparent);
}
.home-comparison-v2 .home-comparison-head {
  position: relative;
}
.home-comparison-v2 .home-comparison-axis,
.home-comparison-v2 .home-comparison-route {
  min-height: 76px;
}
.home-comparison-v2 .home-comparison-axis {
  padding-inline: 22px 16px;
}
.home-comparison-v2 .home-comparison-route {
  padding: 14px 20px;
  border-left-color: rgba(126,151,184,.14);
}
.home-comparison-v2 .home-comparison-route-title {
  gap: 9px;
}
.home-comparison-v2 .home-comparison-route-title h3 {
  font-size: 17px;
  letter-spacing: -.02em;
}
.home-comparison-v2 .home-route-class {
  min-width: 27px;
  height: 26px;
  padding-inline: 7px;
  font-size: 10px;
}

.home-comparison-v2 .home-comparison-stage {
  position: relative;
}
.home-comparison-v2 .home-comparison-panel {
  background: transparent;
}
.home-comparison-v2 .home-comparison-ledger-row {
  position: relative;
  min-height: 64px;
  border-top: 0;
}
.home-comparison-v2 .home-comparison-criterion,
.home-comparison-v2 .home-comparison-ledger-row p {
  padding: 14px 20px;
}
.home-comparison-v2 .home-comparison-criterion {
  position: relative;
  padding-left: 22px;
  font-size: 9px;
  letter-spacing: .08em;
}
.home-comparison-v2 .home-comparison-ledger-row p {
  border-left-color: rgba(126,151,184,.14);
  font-size: 12.75px;
  line-height: 1.48;
}
.home-comparison-v2 .home-comparison-ledger-row.is-different {
  background: transparent;
}
.home-comparison-v2 .home-comparison-ledger-row.is-different .home-comparison-criterion::before {
  content: '';
  position: absolute;
  left: 11px;
  top: 50%;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--marpt-accent-emphasis) 50%, transparent);
  transform: translateY(-50%);
}
.home-comparison-custom-panel[hidden] { display: none !important; }

.home-comparison-v2 .home-comparison-foot {
  padding: 18px 24px 0;
  border-top-color: transparent;
}
.home-comparison-v2 .home-comparison-foot::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--compare-hair) 4%, var(--compare-hair) 96%, transparent);
}
.home-comparison-v2 .home-comparison-foot {
  position: relative;
}
.home-comparison-v2 .home-comparison-foot::before { top: 0; }

@media (max-width: 960px) {
  .home-comparison-attribute-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .home-comparison-v2 .home-comparison-head,
  .home-comparison-v2 .home-comparison-panel {
    min-width: 820px;
  }
  .home-comparison-matrix-scroll {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-inline: contain;
    scrollbar-width: thin;
  }
}
@media (min-width: 641px) and (max-width: 820px) {
  .home-comparison-v2 .home-comparison-head,
  .home-comparison-v2 .home-comparison-panel {
    min-width: 0;
  }
  .home-comparison-v2 .home-comparison-head,
  .home-comparison-v2 .home-comparison-ledger-row {
    grid-template-columns: minmax(108px, .62fr) repeat(3, minmax(0, 1fr));
  }
  .home-comparison-v2 .home-comparison-axis,
  .home-comparison-v2 .home-comparison-route,
  .home-comparison-v2 .home-comparison-criterion,
  .home-comparison-v2 .home-comparison-ledger-row p {
    padding-inline: 14px;
  }
  .home-comparison-v2 .home-comparison-route-title {
    align-items: flex-start;
  }
  .home-comparison-v2 .home-comparison-route-title h3 {
    overflow-wrap: anywhere;
  }
}

@media (max-width: 640px) {
  .home-comparison-v2 .home-comparison-bar {
    align-items: flex-start;
    min-height: 62px;
    padding: 12px 16px;
  }
  .home-comparison-bar-actions {
    gap: 8px;
  }
  .home-comparison-route-count {
    display: none;
  }
  .home-comparison-customize-toggle {
    min-height: 28px;
    padding-inline: 7px;
    font-size: 9px;
  }
  .home-comparison-customize-toggle span {
    display: none;
  }
  .home-comparison-customize {
    padding: 16px;
  }
  .home-comparison-customize-head > div {
    display: grid;
    gap: 6px;
  }
  .home-comparison-attribute-grid {
    grid-template-columns: 1fr;
  }
  .home-comparison-v2 .home-comparison-tabs {
    padding-inline: 16px;
    overflow-x: auto;
  }
  .home-comparison-v2 .home-comparison-head,
  .home-comparison-v2 .home-comparison-panel {
    min-width: 760px;
  }
  .home-comparison-v2 .home-comparison-head {
    grid-template-columns: 126px repeat(3,211px);
  }
  .home-comparison-v2 .home-comparison-ledger-row {
    grid-template-columns: 126px repeat(3,211px);
  }
  .home-comparison-v2 .home-comparison-axis {
    display: flex;
  }
  .home-comparison-v2 .home-comparison-route {
    border-left: 1px solid var(--compare-edge);
  }
  .home-comparison-v2 .home-comparison-ledger-row p {
    border-left: 1px solid var(--compare-edge);
  }
  .home-comparison-v2 .home-comparison-foot {
    grid-template-columns: 1fr;
    gap: 8px;
    padding-inline: 16px;
  }
}


/* Tablet containment: 768px sits above the phone breakpoint but is too narrow
 * for the Advisor two-pane and Workspace three-panel compositions. Collapse
 * those product surfaces before they can contribute intrinsic page overflow. */
@media (min-width: 641px) and (max-width: 820px) {
  .home-advisor-section-intro h2 > span,
  .home-review h2 > span {
    white-space: normal;
  }

  .home-advisor-hybrid-body {
    grid-template-columns: 1fr;
  }
  .home-advisor-results-pane {
    border-top: 1px solid var(--advisor-edge-strong);
    border-left: 0;
  }

  .home-workspace-caption {
    padding-left: 0;
  }
  .home-workspace-panels {
    display: block;
  }
  .home-workspace-panel {
    position: relative;
    inset: auto;
    min-height: 0;
  }
  .home-workspace-rail-panel,
  .home-workspace-queue-panel {
    margin-bottom: 8px;
  }
  .home-workspace-queue-view,
  .home-workspace-main-panel .home-workspace-view {
    width: auto;
    min-height: 0;
    height: auto;
  }

  .home-ecosystem .home-ecosystem-summary {
    white-space: normal;
  }
}

/* ------------------------- homepage responsive product contracts --- */
/* Keep desktop composition intact. Tablet and phone layouts deliberately use
 * different information architecture so product meaning survives without
 * overlap, clipping, or oversized secondary surfaces. */

@media (min-width: 701px) and (max-width: 1024px) {
  .home-workspace,
  .home-workspace-caption {
    width: 100%;
    margin-inline: auto;
  }
  .home-workspace-panels {
    display: grid;
    grid-template-columns: minmax(180px, .72fr) minmax(0, 1.28fr);
    gap: 10px;
    min-height: 0;
    align-items: stretch;
  }
  .home-workspace-panel,
  .home-workspace-rail-panel,
  .home-workspace-queue-panel,
  .home-workspace-main-panel {
    position: relative;
    inset: auto;
    min-width: 0;
    min-height: 0;
    margin: 0;
  }
  .home-workspace-rail-panel {
    grid-column: 1;
    grid-row: 1;
  }
  .home-workspace-queue-panel {
    grid-column: 2;
    grid-row: 1;
  }
  .home-workspace-main-panel {
    grid-column: 1 / -1;
    grid-row: 2;
    border-radius: 15px;
  }
  .home-workspace-rail-panel .home-app-rail {
    width: auto;
    min-height: 0;
  }
  .home-workspace-queue-view,
  .home-workspace-main-panel .home-workspace-view,
  .home-workspace-main-panel .home-workspace-detail,
  .home-workspace-main-panel .home-workspace-detail-stage,
  .home-workspace-main-panel .home-workspace-detail-panel {
    width: auto;
    min-height: 0;
    height: auto;
  }
  .home-workspace-main-panel .home-workspace-next {
    border-radius: 0 0 14px 14px;
  }
}

@media (min-width: 821px) and (max-width: 1024px) {
  .home-workspace-main-panel {
    padding-bottom: 170px;
  }
  .home-workspace-main-panel .home-workspace-collab-note {
    display: block;
    position: absolute;
    right: 14px;
    bottom: 12px;
    width: 220px;
    margin: 0;
    transform: none;
  }
  .home-workspace-collab-titlebar {
    min-height: 34px;
    padding: 8px 11px 7px;
  }
  .home-workspace-collab-body {
    padding: 12px 13px 11px;
  }
  .home-workspace-collab-copy {
    margin-top: 8px;
    font-size: 10.5px;
    line-height: 1.42;
  }
}

@media (min-width: 641px) and (max-width: 820px) {
  .home-advisor-section-intro h2 > span,
  .home-review h2 > span {
    white-space: normal;
  }

  .home-workspace-main-panel .home-workspace-collab-note {
    display: block;
    position: relative;
    right: auto;
    bottom: auto;
    width: auto;
    max-width: none;
    margin: 28px 18px 18px;
    transform: none;
  }
}

@media (min-width: 701px) and (max-width: 960px) {
  .home-hero-preview-wrap {
    display: flex;
    justify-content: center;
  }
  .home-hero .home-console {
    width: 100%;
    max-width: none;
    margin-inline: 0;
  }
  .home-advisor-hybrid-body {
    grid-template-columns: 1fr;
  }
  .home-advisor-profile-pane,
  .home-advisor-results-pane {
    padding: 22px;
  }
  .home-advisor-results-pane {
    border-top: 1px solid var(--advisor-edge-strong);
    border-left: 0;
  }
}

@media (min-width: 641px) and (max-width: 960px) {
  .home-intel-stage {
    display: block;
    padding-bottom: 0;
  }
  .home-intel-backplane,
  .home-intel-evidence {
    width: 100%;
    max-width: none;
  }
  .home-intel-evidence {
    margin: 16px 0 0;
  }

  .home-review-handoff {
    width: 100%;
    margin-inline: auto;
    overflow-x: clip;
  }
  .home-review-dossier {
    width: 100%;
  }
  .home-review-attachment {
    grid-template-columns: minmax(104px,.82fr) minmax(150px,1.18fr);
    width: min(62%, 420px);
    max-width: 420px;
    margin: 14px 12px 0 auto;
    padding: 12px 14px 11px;
  }
  .home-review-attachment::before {
    display: none;
  }
}

@media (min-width: 961px) and (max-width: 1100px) {
  .home-review-handoff {
    width: 100%;
    margin-inline: auto;
  }
}

/* True phone layout: compact product narratives instead of squeezed tablet UI. */
@media (max-width: 640px) {
  .home-hero {
    padding-top: 28px;
  }
  .home-hero-copy {
    margin-inline: 0;
    text-align: left;
  }
  .home-hero-copy .home-eyebrow,
  .home-page .home-hero h1,
  .home-hero-copy .home-lead,
  .home-hero-copy .home-note {
    text-align: left;
  }
  .home-page .home-hero h1 {
    max-width: 13ch;
    font-size: clamp(36px, 10.5vw, 42px);
    line-height: 1.01;
  }
  .home-hero-copy .home-lead {
    max-width: 32ch;
    margin: 15px 0 0;
    font-size: 15.5px;
    line-height: 1.48;
  }
  .home-hero-copy .home-actions {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    margin-top: 20px;
    gap: 10px;
  }
  .home-hero-copy .home-actions .home-button {
    width: 100%;
    max-width: none;
    flex: 0 0 auto;
    justify-content: space-between;
  }
  .home-advisor-intro-wrap {
    margin-top: 38px;
  }

  .home-workspace {
    width: 100%;
  }
  .home-workspace-panels {
    display: block;
  }
  .home-workspace-panel,
  .home-workspace-rail-panel,
  .home-workspace-queue-panel,
  .home-workspace-main-panel {
    position: relative;
    inset: auto;
    width: 100%;
    min-width: 0;
    min-height: 0;
    margin: 0 0 10px;
    overflow: hidden;
  }
  .home-workspace-main-panel {
    overflow: visible;
    margin-bottom: 0;
  }
  .home-workspace-brand-header {
    min-height: 54px;
    padding: 10px 12px;
  }
  .home-workspace-rail-panel .home-app-rail {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 6px;
    width: 100%;
    min-height: 0;
    overflow: visible;
    padding: 10px;
    border-right: 0;
    border-bottom: 0;
  }
  .home-workspace-rail-panel .home-app-rail-group {
    display: contents;
  }
  .home-workspace-rail-panel .home-app-rail strong,
  .home-workspace-rail-panel .home-app-rail-item.is-secondary {
    display: none;
  }
  .home-workspace-rail-panel button.home-app-rail-item {
    width: 100%;
    min-width: 0;
    min-height: 38px;
    padding: 7px 8px;
    border: 1px solid var(--home-rule);
    border-radius: 7px;
    white-space: normal;
  }
  .home-workspace-rail-panel .home-app-rail-item span {
    min-width: 0;
    font-size: 10.5px;
    line-height: 1.2;
    overflow-wrap: anywhere;
  }
  .home-workspace-rail-panel .home-app-rail-item.is-active::before {
    display: none;
  }
  .home-workspace-queue-view,
  .home-workspace-main-panel .home-workspace-view,
  .home-workspace-main-panel .home-workspace-detail,
  .home-workspace-main-panel .home-workspace-detail-stage,
  .home-workspace-main-panel .home-workspace-detail-panel {
    width: 100%;
    min-height: 0;
    height: auto;
  }
  .home-workspace-priority-head,
  .home-workspace-queue-header {
    min-height: 64px;
    padding: 14px 14px 12px;
  }
  .home-workspace-priority {
    padding-inline: 14px;
  }
  .home-workspace-progress {
    margin-top: 0;
  }
  .home-workspace-main-panel .home-workspace-view {
    padding: 20px 16px 0;
  }
  .home-workspace-main-panel .home-workspace-detail-panel {
    padding: 20px 16px 0;
  }
  .home-workspace-main-panel .home-workspace-next {
    margin-inline: -16px;
    padding: 13px 16px;
    border-radius: 0 0 14px 14px;
  }
  .home-workspace-main-panel .home-workspace-collab-note {
    display: block;
    position: relative;
    right: auto;
    bottom: auto;
    width: auto;
    max-width: none;
    margin: 28px 16px 16px;
    transform: none;
  }
  .home-workspace-caption {
    align-items: flex-start;
    padding-left: 0;
    gap: 12px;
  }
  .home-workspace-caption .home-gated-action {
    width: 100%;
    align-items: flex-start;
  }
  .home-workspace-caption .home-link,
  .home-workspace-caption .home-access-note {
    align-self: flex-start;
    margin-left: 0;
    text-align: left;
  }

  .home-review-handoff {
    min-height: 0;
    padding: 16px 0 0;
  }
  .home-review-dossier {
    width: 100%;
    padding: 24px 16px 14px;
    border-radius: 16px;
  }
  .home-review-dossier-tab {
    top: -12px;
    left: 14px;
    min-height: 24px;
    padding: 4px 10px;
    font-size: 8px;
  }
  .home-review-dossier-head {
    flex-direction: column;
    gap: 7px;
    padding: 5px 0 13px;
  }
  .home-review-dossier-head-copy h3 {
    font-size: 23px;
    line-height: 1.08;
  }
  .home-review-dossier-head-copy p {
    margin-top: 7px;
    font-size: 13.5px;
    line-height: 1.42;
  }
  .home-review-status {
    padding-top: 0;
  }
  .home-review-packet-index {
    display: block;
    padding: 14px 0 12px;
  }
  .home-review-packet-index > .home-review-label {
    display: block;
    margin-bottom: 8px;
  }
  .home-review-packet-items {
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 6px;
  }
  .home-review-packet-items > div {
    min-height: 68px;
    padding: 9px 8px 8px;
    border-radius: 9px;
  }
  .home-review-packet-items small {
    font-size: 7.5px;
  }
  .home-review-packet-items strong {
    margin-top: 5px;
    font-size: 11.5px;
    line-height: 1.2;
  }
  .home-review-question {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 12px 12px 12px 11px;
    border-radius: 11px;
  }
  .home-review-question p {
    font-size: 14.5px;
    line-height: 1.35;
  }
  .home-review-packet-end {
    margin-top: 12px;
  }
  .home-review-attachment {
    grid-template-columns: minmax(0,.82fr) minmax(0,1.18fr);
    gap: 8px 12px;
    width: 100%;
    max-width: none;
    margin: 10px 0 0;
    padding: 11px 12px 10px;
    border-radius: 11px;
  }
  .home-review-attachment-recipient strong {
    font-size: 11.5px;
    line-height: 1.3;
  }
  .home-review-handoff-consent {
    grid-template-columns: 22px minmax(0,1fr);
    gap: 7px;
  }
  .home-review-lock {
    width: 22px;
    height: 22px;
  }
  .home-review-handoff-consent > div > span {
    font-size: 8px;
  }
  .home-review-handoff-consent p {
    font-size: 10.5px;
    line-height: 1.35;
  }
  .home-review-demo-action {
    min-height: 22px;
    line-height: 22px;
    font-size: 10.5px;
  }
}

/* -------------------------------------------------- final motion polish --- */
/* Motion is state-driven and one-shot. JS arms motion before first paint, then
 * reveals each product surface when that surface—not merely its section—enters
 * the viewport. Raw HTML and reduced-motion remain fully visible. */

/* Hero: first-load entrance with restrained staging. */
[data-home-motion="on"] .home-hero-copy > .home-eyebrow,
[data-home-motion="on"] .home-hero-copy > h1,
[data-home-motion="on"] .home-hero-copy > .home-lead,
[data-home-motion="on"] .home-hero-copy > .home-actions,
[data-home-motion="on"] .home-hero-copy > .home-note {
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 380ms cubic-bezier(.2,.8,.2,1),
    transform 380ms cubic-bezier(.2,.8,.2,1);
}
[data-home-motion="on"][data-home-hero-enter="in"] .home-hero-copy > .home-eyebrow,
[data-home-motion="on"][data-home-hero-enter="in"] .home-hero-copy > h1,
[data-home-motion="on"][data-home-hero-enter="in"] .home-hero-copy > .home-lead,
[data-home-motion="on"][data-home-hero-enter="in"] .home-hero-copy > .home-actions,
[data-home-motion="on"][data-home-hero-enter="in"] .home-hero-copy > .home-note {
  opacity: 1;
  transform: none;
}
[data-home-motion="on"][data-home-hero-enter="in"] .home-hero-copy > h1 { transition-delay: 55ms; }
[data-home-motion="on"][data-home-hero-enter="in"] .home-hero-copy > .home-lead { transition-delay: 110ms; }
[data-home-motion="on"][data-home-hero-enter="in"] .home-hero-copy > .home-actions { transition-delay: 165ms; }
[data-home-motion="on"][data-home-hero-enter="in"] .home-hero-copy > .home-note { transition-delay: 220ms; }

/* Visa Comparison: state changes should read as one analytical interface. */
.home-comparison-v2 .home-comparison-panel:not([hidden]) .home-comparison-ledger-row {
  animation: home-comparison-row-in 220ms cubic-bezier(.2,.8,.2,1) both;
}
.home-comparison-v2 .home-comparison-panel:not([hidden]) .home-comparison-ledger-row:nth-child(2) { animation-delay: 24ms; }
.home-comparison-v2 .home-comparison-panel:not([hidden]) .home-comparison-ledger-row:nth-child(3) { animation-delay: 48ms; }
.home-comparison-v2 .home-comparison-panel:not([hidden]) .home-comparison-ledger-row:nth-child(4) { animation-delay: 72ms; }
.home-comparison-v2 .home-comparison-panel:not([hidden]) .home-comparison-ledger-row:nth-child(5) { animation-delay: 96ms; }
@keyframes home-comparison-row-in {
  from { opacity: .42; transform: translateY(4px); }
  to { opacity: 1; transform: none; }
}

/* Intelligence: trigger when the actual signal/evidence composition enters. */
[data-home-motion="on"] .home-intel-stage .home-intel-backplane,
[data-home-motion="on"] .home-intel-stage .home-intel-evidence,
[data-home-motion="on"] .home-intel-stage .home-intel-evidence-list > div {
  transition:
    opacity 430ms cubic-bezier(.2,.8,.2,1),
    transform 430ms cubic-bezier(.2,.8,.2,1);
}
[data-home-motion="on"] .home-intel-stage:not(.is-motion-in) .home-intel-backplane {
  opacity: 0;
  transform: translateY(11px);
}
[data-home-motion="on"] .home-intel-stage:not(.is-motion-in) .home-intel-evidence {
  opacity: 0;
  transform: translate(14px, 9px);
}
[data-home-motion="on"] .home-intel-stage:not(.is-motion-in) .home-intel-evidence-list > div {
  opacity: 0;
  transform: translateY(5px);
}
[data-home-motion="on"] .home-intel-stage.is-motion-in .home-intel-backplane,
[data-home-motion="on"] .home-intel-stage.is-motion-in .home-intel-evidence,
[data-home-motion="on"] .home-intel-stage.is-motion-in .home-intel-evidence-list > div {
  opacity: 1;
  transform: none;
}
[data-home-motion="on"] .home-intel-stage.is-motion-in .home-intel-evidence { transition-delay: 135ms; }
[data-home-motion="on"] .home-intel-stage.is-motion-in .home-intel-evidence-list > div { transition-delay: 235ms; }
[data-home-motion="on"] .home-intel-stage.is-motion-in .home-intel-evidence-list > div:nth-child(2) { transition-delay: 285ms; }
[data-home-motion="on"] .home-intel-stage.is-motion-in .home-intel-evidence-list > div:nth-child(3) { transition-delay: 335ms; }
[data-home-motion="on"] .home-intel-stage.is-motion-in .home-intel-evidence-list > div:nth-child(4) { transition-delay: 385ms; }

/* Professional Review: packet arrives first, recipient handoff follows. */
[data-home-motion="on"] .home-review-handoff .home-review-dossier,
[data-home-motion="on"] .home-review-handoff .home-review-attachment,
[data-home-motion="on"] .home-review-handoff .home-review-dossier::before {
  transition:
    opacity 440ms cubic-bezier(.2,.8,.2,1),
    transform 440ms cubic-bezier(.2,.8,.2,1);
}
[data-home-motion="on"] .home-review-handoff:not(.is-motion-in) .home-review-dossier {
  opacity: 0;
  transform: translateY(11px);
}
[data-home-motion="on"] .home-review-handoff:not(.is-motion-in) .home-review-dossier::before {
  opacity: 0;
}
[data-home-motion="on"] .home-review-handoff:not(.is-motion-in) .home-review-attachment {
  opacity: 0;
  transform: translateY(9px);
}
[data-home-motion="on"] .home-review-handoff.is-motion-in .home-review-dossier {
  opacity: 1;
  transform: none;
}
[data-home-motion="on"] .home-review-handoff.is-motion-in .home-review-dossier::before { opacity: .58; transition-delay: 45ms; }
[data-home-motion="on"] .home-review-handoff.is-motion-in .home-review-attachment {
  opacity: 1;
  transform: none;
  transition-delay: 210ms;
}

/* Explicit end-state protection for accessibility and environments that disable motion. */
@media (prefers-reduced-motion: reduce) {
  .home-hero-copy > .home-eyebrow,
  .home-hero-copy > h1,
  .home-hero-copy > .home-lead,
  .home-hero-copy > .home-actions,
  .home-hero-copy > .home-note,
  .home-intel-stage .home-intel-backplane,
  .home-intel-stage .home-intel-evidence,
  .home-intel-stage .home-intel-evidence-list > div,
  .home-review-handoff .home-review-dossier,
  .home-review-handoff .home-review-dossier::before,
  .home-review-handoff .home-review-attachment {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
  }
}
