/* Review revision: the established emerald / midnight Protective Architecture.
   Marketing only. Legal documents retain their existing layout and typography. */
.route-page .bookkeeping-flow,
.route-page .corporate-flow { margin: 0; padding: clamp(32px, 5vw, 64px) var(--gutter); background: #132122; border-bottom: 1px solid #536765; }
.route-page .bookkeeping-flow h2,
.route-page .corporate-flow h2 { max-width: 26ch; margin: 16px 0 32px; font-size: clamp(1.75rem, 3vw, 2.75rem); font-weight: 600; line-height: 1.15; letter-spacing: -.04em; text-wrap: balance; }
.route-page .visual-workflow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; list-style: none; padding: 0; margin: 0; }
.route-page .visual-workflow li { min-width: 0; position: relative; padding: 24px 0 0; margin: 0; border: 0; border-top: 1px solid #536765; }
.route-page .visual-workflow li::before { content: none; }
.route-page .workflow-symbol { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; color: #62e2ca; }
.route-page .workflow-icon { flex: none; width: 32px; height: 32px; }
.route-page .step-number { font-size: .75rem; font-variant-numeric: tabular-nums; letter-spacing: .12em; }
.route-page .visual-workflow a { display: inline-flex; align-items: center; min-height: 44px; font-size: 1.125rem; line-height: 1.4; text-decoration: underline; text-decoration-color: #536765; text-underline-offset: 5px; }
.route-page .visual-workflow p { margin: 10px 0 0; max-width: 38ch; color: #c9d5d2; font-size: 1rem; line-height: 1.6; }
.route-page .diagram-note { margin: 24px 0 0; color: #c9d5d2; font-size: .8125rem; line-height: 1.6; }
.route-page .start-overview .visual-workflow { grid-template-columns: minmax(0, 1fr); gap: 18px; }
.route-page .start-overview .visual-workflow li { padding: 0 0 0 54px; border: 0; }
.route-page .start-overview .workflow-symbol { position: absolute; left: 0; top: 5px; margin: 0; }
.route-page .start-overview .step-number { display: none; }
.route-page .start-overview .visual-workflow li:not(:last-child)::after { content: ''; position: absolute; left: 16px; top: 46px; bottom: -12px; border-left: 1px solid #536765; }
.route-page .start-overview .visual-workflow p { margin-top: 4px; }
.route-page .start-overview > .text-action { margin-top: 16px; }
.route-home .route-hero { align-items: stretch; }
.route-home .route-hero-copy h1 { max-width: 13ch; text-wrap: balance; }
.route-home .home-rail { min-width: 0; }

/* The primary product story is visible in cards rather than a paragraph wall. */
.route-page :is(.route-content, .bookkeeping-flow, .corporate-flow) { overflow-wrap: anywhere; }
.route-page .section-body { min-width: 0; }
.route-page .content-section h2 { text-wrap: balance; }
.route-page .section-body p { max-width: 64ch; }
.route-page.route-home .content-list,
.route-page.route-feature .content-list,
.route-page.route-solution .content-list,
.route-page.route-statement .content-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; list-style: none; padding: 0; }
.route-page:is(.route-home, .route-feature, .route-solution, .route-statement) .content-list li { min-width: 0; padding: 20px; border-left: 2px solid var(--arc-teal); background: rgb(98 226 202 / 5%); line-height: 1.6; }
.route-page.route-feature .content-list li { background: #e6ede8; }
.route-page .linked-cards .card-title { min-width: 0; }
.route-page .linked-cards a { min-width: 0; }

/* Real organizational capability, illustrated without invented account data. */
.route-page .corporate-flow { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 24px 48px; align-items: center; }
.route-page .corporate-flow figcaption > p:last-child { max-width: 52ch; color: #c9d5d2; font-size: 1.0625rem; line-height: 1.7; }
.route-page .organization-map { min-width: 0; }
.route-page .management-node,
.route-page .company-nodes li { display: flex; flex-direction: column; align-items: center; gap: 10px; min-width: 0; padding: 20px 16px; border: 1px solid #536765; text-align: center; line-height: 1.5; background: #0b0f10; }
.route-page .management-node { max-width: 340px; margin: 0 auto; border-top: 3px solid #62e2ca; }
.route-page .management-node .workflow-icon,
.route-page .company-nodes .workflow-icon { color: #62e2ca; }
.route-page .management-node span,
.route-page .company-nodes span { color: #c9d5d2; font-size: .875rem; }
.route-page .company-nodes { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; list-style: none; padding: 28px 0 0; margin: 28px 0 0; border-top: 1px solid #536765; }
.route-page .company-nodes::before { content: ''; position: absolute; left: 50%; top: -29px; height: 28px; border-left: 1px solid #536765; }
.route-page .company-nodes li { position: relative; }
.route-page .company-nodes li::before { content: ''; position: absolute; top: -29px; left: 50%; height: 28px; border-left: 1px solid #536765; }
.route-page .corporate-flow > .diagram-note { grid-column: 1 / -1; margin-top: 0; }

/* Current commercial facts belong in the main reading flow, not a preview rail. */
.route-page.route-pricing .route-hero { display: block; }
.route-page.route-pricing .route-hero-copy h1 { max-width: 20ch; }
.route-page .current-plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin: 28px 0; }
.route-page .current-plan { min-width: 0; padding: clamp(24px, 4vw, 40px); border: 1px solid #536765; border-top: 3px solid #62e2ca; background: #132122; color: #f2f5f2; }
.route-page .current-plan .plan-name { margin: 0; color: #62e2ca; font-size: 1.5rem; line-height: 1.3; }
.route-page .current-plan .plan-price-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; margin: 20px 0 24px; color: #f2f5f2; }
.route-page .current-price { font-size: clamp(2.5rem, 4vw, 4rem); line-height: 1.1; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.route-page .price-period { color: #c9d5d2; font-size: 1rem; font-weight: 400; }
.route-page .current-plan dl { margin: 0; }
.route-page .current-plan dl > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding: 16px 0; border-top: 1px solid #536765; line-height: 1.5; }
.route-page .current-plan dt { max-width: 24ch; color: #c9d5d2; }
.route-page .current-plan dd { margin: 0; font-weight: 700; font-size: 1.125rem; font-variant-numeric: tabular-nums; }
.route-page .current-plan dd span { margin-left: 4px; font-size: .875rem; font-weight: 400; }
.route-page .current-plan .text-action { display: inline-flex; align-items: center; min-height: 44px; margin-top: 16px; color: #62e2ca; }
.route-page #packages { grid-template-columns: minmax(0, 1fr); gap: 0; }
.route-page .field-help { font-size: .875rem; line-height: 1.6; font-weight: 400; }
.route-page .decision-tool input:focus-visible,
.route-page .decision-tool select:focus-visible { outline: 3px solid #126459; outline-offset: 3px; }
.route-page #fit-result { overflow-wrap: anywhere; }
.route-page #fit-result[data-verdict='invalid'],
.route-page #fit-result[data-verdict='unavailable'] { border-color: #823523; background: #f7e7df; }
.route-page .tool-toolbar select { max-width: min(100%, 560px); }

/* Breakpoints follow available component space, including the full trial CTA. */
@media (max-width: 1200px) {
  .route-page .desktop-nav { display: none; }
  .route-page .mobile-nav { display: block; position: relative; }
  .route-page .mobile-nav-panel { right: 0; top: 56px; width: min(280px, calc(100vw - 40px)); }
  .route-page .primary-nav { margin-left: auto; }
}
@media (max-width: 900px) {
  .route-page .visual-workflow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .route-page .start-overview .visual-workflow { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .route-page .start-overview .visual-workflow li:not(:last-child)::after { content: none; }
  .route-page .corporate-flow { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .route-page .site-nav { padding-block: 16px; gap: 8px 16px; }
  .route-page .header-trial { flex-basis: 100%; min-width: 0; }
  .route-page .site-nav .conversion-cta { width: 100%; min-height: 44px; }
  .route-page .mobile-nav summary { min-width: 72px; }
  .route-page .visual-workflow,
  .route-page .start-overview .visual-workflow,
  .route-page .current-plans { grid-template-columns: minmax(0, 1fr); }
  .route-page .company-nodes { grid-template-columns: minmax(0, 1fr); padding: 0 0 0 20px; margin: 24px 0 0 16px; gap: 16px; border-top: 0; border-left: 1px solid #536765; }
  .route-page .company-nodes::before { content: none; }
  .route-page .company-nodes li::before { top: 50%; left: -21px; width: 20px; height: 0; border-left: 0; border-top: 1px solid #536765; }
  .route-page .management-node { max-width: none; }
  .route-page .linked-cards a { grid-template-columns: minmax(0, 1fr); }
  .route-page .current-plan { padding: 24px 20px; }
  .route-page .decision-tool { padding: 24px 16px; }
  .route-page .decision-tool fieldset { padding-inline: 10px; }
  .route-page .tool-actions { flex-direction: column; }
  .route-page .tool-actions button { width: 100%; }
  .route-page #fit-result:not(:empty) { padding: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .route-page *, .route-page *::before, .route-page *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  .route-page .bookkeeping-flow,
  .route-page .corporate-flow,
  .route-page .current-plan { background: white; color: black; padding: 16pt 0; border-color: #999; }
  .route-page .visual-workflow { display: block; }
  .route-page .visual-workflow li { margin-bottom: 16pt; break-inside: avoid; }
  .route-page .current-plan *, .route-page .bookkeeping-flow *, .route-page .corporate-flow * { color: black !important; }
  .route-page .current-plan .text-action { display: none; }
}
