/* Main-page content uses the existing Routesms surfaces and type scale. */
.home-tab-panel[hidden] { display: none; }
.home-scope { padding-top: 58px; padding-bottom: 66px; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 45px; }
.home-scope > div { border-bottom: 1px solid var(--line); padding-bottom: 26px; }
.home-scope strong { display: block; font: 600 22px/1.35 "Manrope",sans-serif; letter-spacing: -.7px; }
.home-scope span { display: block; margin-top: 10px; color: var(--muted); font-size: 15px; }
.home-frame { max-width: 1240px; margin: 0 auto; padding: 56px 38px 38px; }
.home-routing .section-head { max-width: 800px; margin-inline: auto; }
.home-routing .section-head > p { max-width: 660px; margin-top: 0; }
.route-workspace { margin-top: 40px; display: grid; grid-template-columns: minmax(260px,.82fr) minmax(0,1.18fr); gap: 48px; align-items: start; }
.route-steps { display: grid; grid-template-columns: minmax(0,1fr); gap: 12px; }
.route-steps button { display: grid; grid-template-columns: 36px minmax(0,1fr); column-gap: 18px; row-gap: 6px; align-content: center; min-width: 0; min-height: 108px; padding: 21px 22px; border: 1px solid transparent; border-radius: 18px; background: var(--surface-soft); color: var(--ink); text-align: start; font: inherit; transition: border-color .2s,background .2s; }
.route-steps button[aria-pressed="true"] { border-color: var(--blue); }
.route-steps svg { grid-column: 1; grid-row: 1 / span 2; align-self: center; width: 36px; height: 36px; margin: 0; }
.route-icon { display: block; width: 32px; height: 32px; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.route-steps .route-icon { color: #5f80cc; }
.route-steps strong { grid-column: 2; display: block; font: 600 19px/1.35 "Manrope",sans-serif; letter-spacing: -.4px; }
.route-steps button > span { grid-column: 2; display: block; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.route-descriptions { min-width: 0; display: grid; align-content: start; padding-inline-start: 42px; border-inline-start: 1px solid var(--line); }
.route-descriptions > .home-tab-panel { width: 100%; }
.route-diagram { position: relative; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); place-items: center; height: 180px; margin-bottom: 26px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface-soft); }
.route-diagram-node { position: relative; z-index: 1; display: grid; place-items: center; width: 72px; height: 72px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); color: var(--muted); }
.route-diagram .route-icon { width: 36px; height: 36px; }
.route-diagram-node.is-active { border-color: var(--blue); color: var(--blue); }
.route-diagram-link { position: absolute; inset-block-start: 50%; inset-inline-start: calc(12.5% + var(--segment)*25%); width: 25%; height: 1px; background: var(--line); }
.route-diagram-link.is-active::after { content: ""; position: absolute; inset: 0; height: 2px; background: var(--blue); transform-origin: left; animation: route-signal .85s ease-out both; }
[dir="rtl"] .route-diagram-link.is-active::after { transform-origin: right; }
@keyframes route-signal { from { transform: scaleX(0); opacity: .3; } to { transform: scaleX(1); opacity: 1; } }
.route-descriptions h3 { font: 600 30px/1.3 "Manrope",sans-serif; letter-spacing: -.8px; }
.route-descriptions p { max-width: 850px; margin-top: 14px; color: var(--muted); font-size: 16px; line-height: 1.7; }
.home-evidence { margin-top: 24px; border-inline-start: 2px solid var(--blue); padding-inline-start: 22px; }
.home-evidence strong { font-size: 15px; font-weight: 500; }
.home-evidence p { margin-top: 8px; }
.home-note { color: var(--muted); font-size: 15px; line-height: 1.75; }
.home-check-row { margin-top: 38px; padding-top: 30px; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 32px; }
.home-check-row h3 { font: 600 21px/1.3 "Manrope",sans-serif; letter-spacing: -.5px; overflow-wrap: anywhere; }
.home-check-row p { margin-top: 14px; color: var(--muted); font-size: 15px; line-height: 1.75; }
.home-report .report-workspace { grid-template-columns: minmax(220px,.7fr) minmax(0,1.7fr); }
.home-report-panels { min-width: 0; }
.home-report .case-content { min-height: 0; }
.home-report .case-content h3 { font-size: 36px; }
.home-report .home-case-location { color: #9cacc3; font-size: 14px; }
.home-report .home-case-country { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.home-case-tag { max-width: 100%; padding: 6px 13px; border: 1px solid #293953; border-radius: 999px; background: #0b1730; color: #c0cce0; font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.home-report .case-tabs button { min-height: 108px; }
.home-report .case-facts { margin-top: 28px; }
.home-report .case-facts dd { overflow-wrap: anywhere; }
.home-report .case-facts > div:last-child { grid-column: 1 / -1; }
.home-target { margin-top: 25px; padding-top: 22px; border-top: 1px solid #263249; }
.home-target strong { display: block; font-size: 15px; font-weight: 500; color: #dbe4f5; }
.home-target span { display: block; margin-top: 8px; color: #9cacc3; font-size: 14px; line-height: 1.6; }
.home-report-metrics { margin: 0 32px; padding: 30px 0 26px; border-bottom: 1px solid #253149; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 25px; }
.home-report-metrics strong { display: block; font: 500 30px/1.2 "Manrope",sans-serif; letter-spacing: -1px; }
.home-report-metrics span { display: block; margin-top: 8px; color: #9cacc3; font-size: 14px; line-height: 1.5; }
.home-report .report-flow b,.home-report .report-exceptions b,.home-report .report-legend b { font-size: 14px; overflow-wrap: anywhere; }
.home-report .report-reference .home-note { color: #9cacc3; margin: 20px 0; }
.home-report .report-legend { grid-template-columns: repeat(3,minmax(0,1fr)); }
.home-report .report-reference .case-facts > div:last-child { grid-column: auto; }
.deviations .deviations-intro { grid-template-columns: 1fr; }
.deviations .deviations-intro h2 { max-width: 840px; }
.home-text-link { display: inline-block; margin-top: 28px; padding-bottom: 4px; font-size: 15px; border-bottom: 1px solid currentColor; color: var(--ink); }
.home-audience { padding-top: 112px; padding-bottom: 106px; }
.home-audience-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 70px; margin-top: 28px; }
.home-audience-grid article { padding: 34px 0 38px; border-bottom: 1px solid var(--line); }
.home-audience-grid h3 { max-width: 420px; font: 600 25px/1.3 "Manrope",sans-serif; letter-spacing: -.8px; }
.home-audience-grid p { margin-top: 17px; color: var(--muted); font-size: 16px; line-height: 1.7; }
.home-audience-grid .home-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 21px; }
.audience-tag { max-width: 100%; padding: 6px 13px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface-soft); color: var(--ink); font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.home-process .steps-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.home-process .steps-grid li { min-width: 0; padding: 30px; }
.home-process .step-icon { margin-bottom: 22px; }
.home-process .step-icon svg { margin-bottom: 0; }
.home-stage-label { color: var(--muted); font-size: 14px; margin-bottom: 10px; }
.home-process .steps-grid h3 { max-width: 470px; font-size: 25px; }
.home-stage-detail { margin-top: 24px; }
.home-stage-detail strong { font-size: 14px; font-weight: 500; }
.home-stage-detail p { margin-top: 7px !important; font-size: 15px; line-height: 1.7; }
.home-process > .home-note { margin-top: 30px; }
.home-integration { padding-top: 114px; padding-bottom: 98px; }
.home-integration-demo { margin-top: 38px; padding: 32px; border-radius: 28px; background: var(--navy); color: #f0f3fa; }
.home-mode-buttons { display: flex; gap: 10px; margin-bottom: 32px; }
.home-mode-buttons button { padding: 13px 18px; border: 1px solid #25344f; border-radius: 10px; background: transparent; color: #adbad0; font: 500 15px/1.45 "Manrope",sans-serif; }
.home-mode-buttons button[aria-pressed="true"] { color: #f3f6fc; background: #142441; border-color: #4971b9; }
.home-integration-demo h3 { font: 600 28px/1.3 "Manrope",sans-serif; letter-spacing: -.7px; }
.home-integration-demo .home-tab-panel > p { max-width: 870px; margin-top: 16px; color: #adbad0; font-size: 16px; line-height: 1.75; }
.home-network-chain { list-style: none; padding: 0; margin: 38px 0; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 26px; }
.home-network-chain li { position: relative; padding: 24px 20px; min-width: 0; border-radius: 16px; background: #0d182d; border: 1px solid #22314b; }
.home-network-chain strong { display: block; font: 600 18px/1.35 "Manrope",sans-serif; }
.home-network-chain span { display: block; margin-top: 12px; color: #9caec8; font-size: 14px; line-height: 1.6; }
.home-network-chain small { display: block; width: max-content; position: absolute; inset-inline-end: -32px; top: -23px; color: #87a5d8; font-size: 12px; }
.home-network-chain li:not(:last-child)::after { content: ''; position: absolute; width: 26px; height: 1px; inset-inline-end: -27px; top: 50%; background: #486285; }
.home-integration-result { border-top: 1px solid #26364f; padding-top: 24px; }
.home-integration-result p { color: #a4b2c8; font-size: 15px; line-height: 1.75; }
.home-integration-result strong { display: block; margin-top: 14px; font-size: 16px; font-weight: 500; }
.home-integration > .home-note { margin: 24px 6px 0; }
.home-onboarding { list-style: none; padding: 0; margin: 60px 0 0; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 58px; }
.home-onboarding li { display: grid; grid-template-columns: 38px minmax(0,1fr); gap: 20px; padding: 30px 0; border-top: 1px solid var(--line); }
.home-onboarding li > span { color: var(--blue); font: 500 23px/1.35 "Manrope",sans-serif; }
.home-onboarding h3 { font: 600 23px/1.3 "Manrope",sans-serif; letter-spacing: -.6px; }
.home-onboarding p { margin-top: 15px; color: var(--muted); font-size: 15px; line-height: 1.75; }
.home-protocol { margin-top: 32px; padding: 25px 28px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.home-protocol > summary { display: flex; align-items: center; justify-content: space-between; gap: 25px; font-size: 19px; font-weight: 500; list-style: none; cursor: pointer; }
.home-protocol > summary::-webkit-details-marker { display: none; }
.home-protocol > summary span { font-size: 28px; font-weight: 400; transition: transform .2s; }
.home-protocol[open] > summary span { transform: rotate(45deg); }
.home-protocol .home-check-row { margin-top: 24px; }
.home-plans .plans-grid article { display: flex; flex-direction: column; min-width: 0; }
.home-plans .plans-grid article > h3 { font-size: 37px; overflow-wrap: anywhere; }
.home-plans .plans-grid article > p.home-plan-fit { margin-top: 24px; min-height: 78px; color: var(--muted); font-size: 15px; line-height: 1.65; font-weight: 400; letter-spacing: 0; }
.home-plan-price { margin-top: 8px; font-size: 16px; font-weight: 500; }
.home-plans .plans-grid article > ul { flex: 1; margin-top: 22px; }
.home-plans .plans-grid article > button { margin-top: 24px; min-height: 52px; padding: 11px 12px; line-height: 1.4; }
.home-plans .plans-grid article.is-selected { border-color: var(--blue); }
.home-plan-terms { max-width: 900px; margin: 30px auto 0; text-align: center; color: var(--muted); font-size: 15px; line-height: 1.75; }
.home-plan-terms p + p { margin-top: 10px; }
.home-closing { padding-top: 60px; padding-bottom: 100px; text-align: center; }
.home-closing h2 { font: 600 clamp(35px,4.5vw,58px)/1.1 "Manrope",sans-serif; letter-spacing: -2px; }
.home-closing .dark-pill { margin-top: 30px; }
.contact-email { display: inline-block; color: #b8d1ff; margin-top: 18px; margin-bottom: 28px; border-bottom: 1px solid #4b6187; padding-bottom: 4px; font: 500 19px/1.45 "Manrope",sans-serif; }
.contact-email:hover { color: #fff; }
.home-switches button:focus-visible,.home-plans button:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
@media (max-width: 1100px) {
  .route-workspace { grid-template-columns: minmax(240px,.9fr) minmax(0,1.1fr); gap: 30px; }
  .route-descriptions { padding-inline-start: 30px; }
  .home-network-chain { gap: 20px; }
  .home-network-chain li { padding: 22px 14px; }
  .home-network-chain li:not(:last-child)::after { width: 20px; inset-inline-end: -21px; }
  .home-report .report-workspace { grid-template-columns: minmax(190px,.65fr) minmax(0,1.6fr); }
  .home-audience-grid { gap: 0 38px; }
}
@media (max-width: 760px) {
  .home-scope { gap: 25px; padding-top: 42px; padding-bottom: 54px; }
  .home-scope strong { font-size: 18px; }
  .home-scope span { font-size: 14px; }
  .home-frame { width: calc(100% - 28px); padding: 34px 22px; }
  .route-workspace { grid-template-columns: minmax(0,1fr); gap: 28px; }
  .route-steps button { padding: 22px 18px; }
  .route-steps strong { font-size: 17px; }
  .route-descriptions { padding: 28px 0 0; border-inline-start: 0; border-top: 1px solid var(--line); }
  .route-diagram { height: 112px; margin-bottom: 24px; }
  .route-diagram-node { width: 48px; height: 48px; border-radius: 11px; }
  .route-diagram .route-icon { width: 26px; height: 26px; }
  .route-descriptions h3 { font-size: 26px; }
  .home-check-row { grid-template-columns: 1fr; gap: 28px; }
  .home-report .report-workspace { grid-template-columns: 1fr; }
  .home-report .case-tabs { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .home-report .case-tabs button { padding: 17px 14px; min-width: 0; min-height: 124px; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
  .home-report .case-tabs button strong { font-size: 16px; }
  .home-report .home-case-location { font-size: 13px; }
  .home-report .case-content h3 { font-size: 31px; }
  .home-report .case-content { padding: 25px 20px; }
  .home-report-metrics { grid-template-columns: 1fr 1fr; margin-inline: 22px; gap: 25px; }
  .home-report .report-legend { grid-template-columns: 1fr; }
  .home-report .case-facts { grid-template-columns: 1fr 1fr; }
  .home-report .report-reference .case-facts { grid-template-columns: 1fr; }
  .home-audience { padding-top: 82px; padding-bottom: 72px; }
  .home-audience-grid { grid-template-columns: 1fr; }
  .home-audience-grid h3 { font-size: 24px; }
  .home-process .steps-grid { grid-template-columns: 1fr; }
  .home-process .steps-grid li { padding: 26px; }
  .home-process .steps-grid h3 { font-size: 24px; }
  .home-integration { padding-top: 82px; padding-bottom: 65px; }
  .home-integration-demo { padding: 24px 22px; border-radius: 24px; }
  .home-mode-buttons { flex-direction: column; }
  .home-mode-buttons button { text-align: start; }
  .home-integration-demo h3 { font-size: 25px; }
  .home-network-chain { grid-template-columns: 1fr; gap: 30px; }
  .home-network-chain li { padding: 22px; }
  .home-network-chain li:not(:last-child)::after { width: 1px; height: 30px; top: auto; bottom: -31px; inset-inline-end: auto; inset-inline-start: 24px; }
  .home-network-chain small { top: auto; bottom: -25px; inset-inline-end: auto; inset-inline-start: 37px; }
  .home-network-chain strong { font-size: 19px; }
  .home-onboarding { grid-template-columns: 1fr; margin-top: 40px; }
  .home-protocol { padding: 23px; }
  .home-protocol > summary { font-size: 18px; }
  .home-plans .plans-grid article > p.home-plan-fit { min-height: 0; }
  .home-plan-terms { text-align: start; }
  .home-closing { padding-top: 35px; padding-bottom: 76px; }
}
@media (max-width: 480px) {
  .home-scope { grid-template-columns: 1fr; gap: 22px; }
  .home-scope > div { padding-bottom: 20px; }
  .home-scope strong { font-size: 22px; }
  .route-steps { gap: 10px; }
  .route-steps button { grid-template-columns: 30px minmax(0,1fr); column-gap: 15px; }
  .route-steps svg { width: 30px; height: 30px; }
  .route-steps strong { font-size: 18px; }
  .route-descriptions { padding-inline: 0; }
  .route-descriptions h3 { font-size: 23px; }
  .home-onboarding li { gap: 12px; grid-template-columns: 30px minmax(0,1fr); }
  .home-onboarding h3 { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .route-diagram-link.is-active::after { animation: none; }
  .route-steps button,.home-protocol > summary span { transition: none; }
}
