/* Bounded internal-page reading scale. Shared wide-screen styles own layout and flow scenes.
   Values deliberately stop growing with the desktop viewport. */
@media (min-width:1600px) {
  :is(.com-page,.tech-page,.prod-page) .xp-hero-copy {max-width:60rem}
  .com-page .xp-hero h1,
  .tech-page .xp-hero h1 {font-size:4.5rem!important;max-width:21ch;line-height:1.04}
  .com-page .com-agency-hero h1,
  .com-page .com-partner-hero h1,
  .com-page .com-pricing-hero h1 {font-size:4.25rem!important}
  .prod-page .xp-hero h1 {font-size:4rem!important;max-width:21ch;line-height:1.04}
  .prod-page.prod-faq .xp-hero h1 {font-size:3.5rem!important}
  .com-page .com-saas-hero h1 {max-width:28ch}
  :is(.com-page,.tech-page,.prod-page) .xp-section-heading {max-width:62rem;margin-bottom:var(--wide-gap)}
  :is(.com-page,.tech-page,.prod-page) .xp-section h2 {font-size:var(--wide-h2);max-width:24ch}
  :is(.com-page,.tech-page,.prod-page) .xp-kicker {font-size:var(--wide-label)!important}
  :is(.com-page,.tech-page,.prod-page) .xp-hero .xp-lead,
  :is(.com-page,.tech-page,.prod-page) .xp-section .xp-lead {font-size:var(--wide-body);max-width:65ch;line-height:1.65}
  :is(.com-page,.tech-page,.prod-page) .xp-button,
  .prod-page .xp-hero-copy>.xp-actions .xp-button {font-size:var(--wide-small);min-height:3.125rem;padding:0.875rem 1.5rem;gap:1.25rem}
  :is(.com-page,.tech-page,.prod-page) .xp-button>span {font-size:1.3em}
  :is(.com-page,.tech-page,.prod-page) .xp-actions {gap:1rem}
  :is(.com-page,.tech-page,.prod-page) .xp-tablist {gap:0.75rem;padding:0.875rem}
  :is(.com-page,.tech-page,.prod-page) .xp-tablist button {font-size:var(--wide-small);padding:0.75rem 1.25rem}
  :is(.com-page,.tech-page,.prod-page) .xp-tabpanels {padding:2rem}
  :is(.com-page,.tech-page,.prod-page) .xp-panel {padding:2rem}
  :is(.com-page,.tech-page,.prod-page) .xp-code-label {font-size:var(--wide-label);padding:1.125rem 1.5rem}
  :is(.com-page,.tech-page,.prod-page) .xp-code pre {font-size:var(--wide-small);padding:1.75rem;line-height:1.8}
  :is(.com-page,.tech-page,.prod-page) .xp-channels>span {font-size:var(--wide-small);gap:0.75rem}
  :is(.com-page,.tech-page,.prod-page) .xp-channels img {width:1.5rem;height:1.5rem}
  :is(.com-page,.tech-page,.prod-page) .xp-faq summary {font-size:1.375rem;padding-block:1.5rem}
  :is(.com-page,.tech-page,.prod-page) .xp-faq summary>span {font-size:1.35em}
  :is(.com-page,.tech-page,.prod-page) .xp-faq details>div {font-size:var(--wide-body);max-width:70ch;padding-bottom:2.25rem}
  :is(.com-page,.tech-page,.prod-page) .xp-related a {font-size:var(--wide-small);padding-block:1.125rem}
  :is(.com-page,.tech-page,.prod-page) .xp-note {font-size:var(--wide-small);max-width:70ch}

  /* Technical pages: readable code, forms and implementation guidance. */
  .tech-page .tech-vibe-hero>.xp-container {max-width:min(100%,68rem)}
  .tech-page .tech-vibe-hero .xp-hero-copy {max-width:none}
  .tech-page .tech-vibe-hero h1 {max-width:24ch}
  .tech-page :is(.tech-small-label,.tech-index,.tech-stage-type,.tech-pill,.tech-tag) {font-size:var(--wide-label)}
  .tech-page :is(.tech-text-link,.tech-footnote,.tech-channel-strip p,.tech-panel-heading>div>span,.tech-example-top>span,.tech-example-bottom>span,.tech-example-bottom .tech-text-link,.tech-event-list code,.tech-event-list p,.tech-flow-status,.tech-detail-row,.tech-detail-row strong,.tech-brief-note,.tech-brief-status,.tech-review-output,.tech-copy-status) {font-size:var(--wide-small)}
  .tech-page .tech-channel-strip p {max-width:35ch}
  .tech-page .tech-panel-heading {padding:1.5rem}
  .tech-page .tech-panel-heading strong {font-size:var(--wide-body)}
  .tech-page .tech-terminal-mark {font-size:var(--wide-h3)}
  .tech-page .tech-explorer .xp-tablist {padding-inline:1.5rem;gap:1.875rem}
  .tech-page .tech-explorer .xp-tablist button {font-size:var(--wide-small);padding:1.25rem 0}
  .tech-page .tech-explorer .xp-tabpanels {padding:0}
  .tech-page .tech-example-top {padding:1.125rem 1.5rem}
  .tech-page .tech-example pre,
  .tech-page .tech-mcp-address pre {font-size:var(--wide-small);padding:1.75rem;line-height:1.8}
  .tech-page .tech-example-bottom {padding:0 1.875rem 1.5625rem}
  .tech-page .tech-example-bottom>span {max-width:48ch}
  .tech-page .tech-copy,
  .tech-page .tech-play {font-size:var(--wide-small)!important;padding:0.75rem 1.125rem;min-height:2.875rem}
  .tech-page .tech-event-list {padding-inline:1.875rem}
  .tech-page .tech-card {padding-block:2rem;padding-right:2.25rem}
  .tech-page .tech-lifecycle .tech-card+.tech-card {padding-left:2.25rem}
  .tech-page :is(.tech-card h3,.tech-flow-stage h3,.tech-principles h3,.tech-review-steps h3,.tech-doc-shelf h3,.tech-http-layout>div>h3,.tech-brief-result h3) {font-size:var(--wide-h3)}
  .tech-page :is(.tech-card p,.tech-proof-grid>article p,.tech-boundary article p,.tech-flow-stage p,.tech-flow-footer p,.tech-http-layout>div>p,.tech-mcp-address>p,.tech-mcp-scope p,.tech-principles p,.tech-review-steps p,.tech-doc-shelf p) {font-size:var(--wide-body);max-width:65ch}
  .tech-page .tech-boundary article {padding:2rem}
  .tech-page .tech-boundary code {font-size:var(--wide-small)}
  .tech-page :is(.tech-http-layout,.tech-mcp-layout,.tech-proof-grid,.tech-agent-story,.tech-doc-shelf) {gap:var(--wide-gap)}
  .tech-page .tech-detail-row {grid-template-columns:minmax(9.375rem,.35fr) minmax(0,1fr);padding-block:1.25rem;gap:1.5rem}
  .tech-page .tech-mcp-address h3 {font-size:2rem;max-width:24ch}
  .tech-page .tech-mcp-scope h4 {font-size:var(--wide-h3)}
  .tech-page .tech-mcp-scope>div {padding-top:1.875rem;padding-bottom:1.875rem;padding-left:2.75rem}
  .tech-page .tech-scope-icon {top:1.875rem;font-size:var(--wide-body)}
  .tech-page .tech-principles>article {padding-block:2rem}
  .tech-page .tech-principles>article>div {gap:var(--wide-gap)}
  .tech-page .tech-brief-builder {grid-template-columns:21rem minmax(0,1fr)}
  .tech-page :is(.tech-brief-controls,.tech-brief-result) {padding:2rem}
  .tech-page .tech-brief-controls h2 {font-size:2rem}
  .tech-page .tech-brief-controls label>span {font-size:var(--wide-small);margin-bottom:0.875rem}
  .tech-page .tech-brief-controls select {font-size:var(--wide-small);padding:1rem 0.875rem}
  .tech-page .tech-brief-result textarea {font-size:var(--wide-small);line-height:1.8;padding:1.875rem;height:26rem}
  .tech-page :is(.tech-plan-preview strong,.tech-plan-preview>div>span,.tech-plan-preview p) {font-size:var(--wide-small)}
  .tech-page .tech-review-steps article {grid-template-columns:3rem minmax(0,1fr) 12rem;padding-block:2.375rem}
  .tech-page .tech-doc-shelf>a {padding-block:2.125rem;gap:1.75rem}

  /* Commercial pages: preserve compact demos and give selling copy room. */
  .com-page .com-saas-hero .xp-lead {max-width:68ch}
  .com-page .com-saas-hero .xp-button {font-size:var(--wide-small)}
  .com-page .com-showroom .xp-section-heading {margin-bottom:1.625rem}
  .com-page .com-showroom .xp-section-heading h2 {font-size:1.875rem;max-width:none}
  .com-page .com-showroom .xp-section-heading .xp-kicker {font-size:var(--wide-label)!important}
  .com-page .com-showroom .xp-section-heading .xp-lead {font-size:var(--wide-small);max-width:60ch}
  .com-page .com-product-demo .xp-tablist {padding:0;margin-bottom:1.375rem}
  .com-page .com-product-demo .xp-tabpanels {padding:0}
  .com-page .com-note {font-size:var(--wide-small)!important;max-width:70ch}
  .com-page :is(.com-label,.com-row-index,.com-ownership-tag,.com-model-number,.com-board-top,.com-board-stamp,.com-brief-line small,.com-mapping-head) {font-size:var(--wide-label)}
  .com-page .com-row {padding-block:2rem;gap:1.75rem}
  .com-page :is(.com-row h3,.com-integration-split .com-row h3,.com-ownership h3,.com-handoff-title h3,.com-brief-line strong) {font-size:var(--wide-h3);max-width:26ch}
  .com-page :is(.com-row p,.com-integration-split .com-row p,.com-ownership li,.com-project>div>p,.com-plan-fit>div>p,.com-project-scope li,.com-plan-fit li,.com-partner-models article>p,.com-partner-brief li p,.com-handoff dd) {font-size:var(--wide-body);max-width:65ch}
  .com-page :is(.com-integration-split,.com-project,.com-plan-fit,.com-handoff,.com-partner-brief) {gap:var(--wide-gap)}
  .com-page .com-integration-split .com-row {grid-template-columns:2.375rem minmax(0,1fr);gap:0.625rem 1.25rem}
  .com-page .com-mapping-head {padding:1.5rem 1.875rem}
  .com-page .com-mapping-row {font-size:var(--wide-body);margin-inline:1.875rem;padding-block:1.875rem;gap:1rem}
  .com-page :is(.com-mapping-row code,.com-mapping-row>span:last-child,.com-webhook-route,.com-mapping>p) {font-size:var(--wide-small)}
  .com-page .com-webhook-route {margin:1.875rem;gap:1.125rem}
  .com-page .com-mapping>p {padding:1.5rem 1.875rem}
  .com-page .com-ownership>div {padding:2.25rem}
  .com-page .com-ownership li {padding-left:1.625rem;margin-block:1.375rem}
  .com-page .com-ownership li::before {font-size:var(--wide-small)}
  .com-page :is(.com-project h3,.com-plan-fit h3,.com-partner-models h3) {font-size:2rem;max-width:25ch}
  .com-page :is(.com-project-scope strong,.com-project-scope li::before,.com-plan-fit li::before,.com-model-path,.com-partner-brief li::before) {font-size:var(--wide-small)}
  .com-page :is(.com-project-scope li,.com-plan-fit li) {padding-left:2.5rem;padding-bottom:1.5rem}
  .com-page .com-handoff {padding:2.25rem}
  .com-page :is(.com-handoff dt,.com-partner-brief li span) {font-size:var(--wide-body)}
  .com-page .com-handoff dl>div {padding-block:1.75rem}
  .com-page .com-partner-brief-intro p {font-size:var(--wide-h3);max-width:28ch}
  .com-page .com-partner-brief li {padding-left:3rem;padding-bottom:1.75rem}
  .com-page .com-brief-line {padding:1.75rem;gap:1.75rem}
  .com-page :is(.com-board-top,.com-board-bottom) {padding:1.75rem}
  .com-page .com-flow-context {font-size:var(--wide-label);gap:0.75rem 1.5rem;margin-bottom:1.375rem}
  .com-page .com-flow-context strong {font-size:var(--wide-small)}
  .com-page .com-demo-steps li>span {font-size:var(--wide-label)}
  .com-page .com-demo-steps li>p {font-size:var(--wide-small);max-width:32ch}
  .com-page .com-flow-result {padding-block:1.5rem;gap:1.125rem}
  .com-page .com-flow-result strong,.com-page .com-flow-result p {font-size:var(--wide-small)}

  /* Pricing: preserve units, enough width for four-digit quantity estimates. */
  .com-page .com-price-offer-top {font-size:var(--wide-label);padding:1.5rem 2rem}
  .com-page .com-price-main {padding:2.25rem 2rem 1.5rem}
  .com-page :is(.com-price-main>span,.com-price-main>p,.com-calc-controls label) {font-size:var(--wide-body)}
  .com-page .com-price-amount strong {font-size:7rem}
  .com-page .com-price-amount small {font-size:1.75rem}
  .com-page .com-price-recurring {margin-inline:2rem;padding-block:1.875rem}
  .com-page .com-price-recurring>span {font-size:var(--wide-small);max-width:18ch}
  .com-page .com-price-recurring strong {font-size:2.125rem}
  .com-page .com-price-recurring small {font-size:var(--wide-small)}
  .com-page .com-price-offer .xp-button {margin:0 2rem 1.75rem}
  .com-page .com-price-fineprint {font-size:var(--wide-small);padding:1.5rem 2rem}
  .com-page .com-price-calc {padding:2rem;gap:2rem}
  .com-page .com-calc-number input {font-size:2.5rem;width:10rem;padding:0.875rem 1.125rem}
  .com-page :is(.com-calc-number span,.com-calc-controls p,.com-calc-values span,.com-calc-values small,.com-price-reference p) {font-size:var(--wide-small)}
  .com-page .com-calc-controls p {max-width:40ch}
  .com-page .com-calc-values output {font-size:2.5rem}
  .com-page .com-price-reference p {max-width:65ch}

  /* Product pages: decisions and evidence retain their editorial hierarchy. */
  .prod-page .xp-hero .xp-hero-copy {column-gap:var(--wide-gap)}
  .prod-page>.xp-hero+.xp-section>.xp-container>.xp-section-heading h2 {font-size:2rem;max-width:none}
  .prod-page :is(.prod-label,.prod-index,.prod-editorial-three article>span,.prod-step-button span,.prod-search-count) {font-size:var(--wide-label)}
  .prod-page :is(.prod-note,.prod-text-link,.prod-control,.prod-filter,.prod-search label,.prod-path-scope .xp-channels span,.prod-step-button,.prod-states-label,.prod-future span,.prod-future p,.prod-checklist-progress>span:nth-child(2)) {font-size:var(--wide-small)}
  .prod-page :is(.prod-control,.prod-filter) {padding:0.9375rem 1.4375rem;min-height:3rem}
  .prod-page .prod-audience-signal {max-width:65ch}
  .prod-page .prod-audience-signal span {font-size:var(--wide-body);padding-block:1.5rem}
  .prod-page :is(.prod-editorial-three h3,.prod-pilot h3,.prod-lifecycle h3,.prod-boundaries h3,.prod-channel-heading h3,.prod-single-channel h3,.prod-signature h3,.prod-demo-copy h3) {font-size:var(--wide-h3)}
  .prod-page :is(.prod-path h3,.prod-outcome h3,.prod-wa-compare h4,.prod-measure h4) {font-size:2rem;max-width:24ch}
  .prod-page :is(.prod-path p,.prod-path-scope li,.prod-editorial-three p,.prod-demo-copy p,.prod-outcome-story>p,.prod-measure>p,.prod-decision p,.prod-pilot p,.prod-channel-heading p,.prod-wa-compare p,.prod-boundaries li,.prod-lifecycle p,.prod-signature>p,.prod-retry-result p,.prod-check-row label small,.prod-faq-item p,.prod-no-results p) {font-size:var(--wide-body);max-width:65ch}
  .prod-page :is(dt,dd,.prod-check-row label strong) {font-size:var(--wide-body)}
  .prod-page :is(.prod-editorial-three,.prod-pilot,.prod-wa-compare) {gap:var(--wide-gap)}
  .prod-page :is(.prod-path-scope,.prod-measure,.prod-demo,.prod-message,.prod-wa-compare article,.prod-signature) {padding:2rem}
  .prod-page .prod-message>span,.prod-page .prod-statuses li {font-size:var(--wide-label)}
  .prod-page .prod-message blockquote {font-size:var(--wide-body);max-width:50ch}
  .prod-page .prod-measure .prod-formula,.prod-page .prod-decision strong,.prod-page .prod-retry-result>span {font-size:var(--wide-small)}
  .prod-page .prod-split-editorial>p {font-size:var(--wide-h3);max-width:36ch}
  .prod-page .prod-channel-emblem strong,.prod-page .prod-retry-result>strong {font-size:var(--wide-h3)}
  .prod-page .prod-channel-emblem span {font-size:var(--wide-label);padding:0.625rem 0.9375rem}
  .prod-page .prod-check-row {padding-block:2.375rem}
  .prod-page .prod-search {max-width:70ch}
  .prod-page .prod-search input {font-size:var(--wide-h3);padding-block:0.875rem}
  .prod-page .prod-faq-item summary {font-size:1.375rem;padding-block:1.5rem}
  .prod-page .prod-faq-item>div {max-width:70ch;padding-bottom:2.25rem}

  /* Contextual offers share the same reading scale as their host pages. */
  :is(.com-page,.tech-page,.prod-page) .cv-hero-offer {display:grid;grid-template-columns:max-content minmax(0,1fr) max-content;align-items:baseline;font-size:var(--wide-small);width:100%;max-width:65ch;margin-top:1.75rem}
  :is(.com-page,.tech-page,.prod-page) .cv-offer {padding-block:6rem}
  :is(.com-page,.tech-page,.prod-page) .cv-offer h2 {font-size:var(--wide-h2);max-width:24ch}
  :is(.com-page,.tech-page,.prod-page) .cv-offer .xp-lead {font-size:var(--wide-body);max-width:60ch}
  :is(.com-page,.tech-page,.prod-page) .cv-offer-steps li {font-size:var(--wide-body);padding-block:1.375rem;gap:1.375rem}
  :is(.com-page,.tech-page,.prod-page) .cv-offer-steps li>span {font-size:var(--wide-label)}
  :is(.com-page,.tech-page,.prod-page) .cv-consult {font-size:var(--wide-small)}
  :is(.com-page,.tech-page,.prod-page) .cv-price-card {padding:2.25rem}
  :is(.com-page,.tech-page,.prod-page) .cv-price-top {font-size:var(--wide-label);padding-bottom:1.5rem}
  :is(.com-page,.tech-page,.prod-page) .cv-price-label {font-size:var(--wide-body);margin-top:1.625rem}
  :is(.com-page,.tech-page,.prod-page) .cv-price-value>span {font-size:1.75rem}
  :is(.com-page,.tech-page,.prod-page) .cv-price-value>strong {font-size:6rem}
  :is(.com-page,.tech-page,.prod-page) :is(.cv-price-unit,.cv-recurring>span,.cv-recurring p,.cv-price-terms,.cv-price-details) {font-size:var(--wide-small)}
  :is(.com-page,.tech-page,.prod-page) .cv-recurring {padding-block:1.375rem;margin-block:1.5rem}
  :is(.com-page,.tech-page,.prod-page) .cv-recurring strong {font-size:2rem}
}
