/* Uses the homepage's .hero, .section, .band, .dark and design tokens.
   Only the page-specific diagrams are defined here. */
.commitments-page figure { margin: 0; }
.cm-hero-copy { min-width: 0; }
.cm-summary { max-width: 33ch; }
.cm-tag { display: block; margin-bottom: 12px; color: var(--blue); font-size: 13px; line-height: 1.5; font-weight: 600; }
.cm-return { color: var(--blue); margin-top: 18px; }
.cm-return svg { display: block; width: 100%; height: 35px; fill: none; stroke: #607fac; stroke-width: 1.5; stroke-dasharray: 5 5; }
.cm-return marker path { stroke-dasharray: none; }
.cm-return p { margin: 8px 0 0; text-align: center; font-size: 15px; font-weight: 500; }
.cm-section .cm-assessment { margin-top: 38px; }
.cm-assessment-flow { display: grid; grid-template-columns: 1fr 1.1fr .85fr; gap: 56px; align-items: stretch; }
.cm-assessment-inputs, .cm-estimate { position: relative; }
.cm-assessment-inputs:after, .cm-estimate:after { content: '→'; position: absolute; right: -39px; top: 50%; transform: translateY(-50%); color: #607fac; font-size: 27px; }
.cm-assessment-inputs { display: grid; gap: 10px; }
.cm-assessment-inputs>div { padding: 15px 18px; background: var(--wash); border: 1px solid var(--line); border-radius: 8px; }
.cm-assessment-inputs strong { display: block; font-size: 16px; line-height: 1.4; margin-bottom: 5px; font-weight: 600; }
.cm-assessment-inputs span { display: block; font-size: 14px; line-height: 1.5; color: var(--muted); }
.cm-estimate { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 26px 22px; background: white; border: 1px solid var(--blue); border-radius: 12px; }
.cm-estimate>.condition-icon { color: var(--blue); width: 40px; height: 40px; margin-bottom: 23px; }
.cm-estimate h3, .cm-intervention h3 { font-size: 24px; font-weight: 600; line-height: 1.25; letter-spacing: -.025em; margin: 0 0 20px; }
.cm-estimate>strong { color: var(--blue); font-size: 17px; line-height: 1.5; }
.cm-estimate p { color: var(--muted); font-size: 14px; line-height: 1.55; margin: 12px 0 0; }
.cm-intervention { align-self: center; }
.cm-intervention ul { list-style: none; padding: 0; margin: 0; }
.cm-intervention li { font-size: 16px; line-height: 1.5; padding: 13px 0; border-bottom: 1px solid var(--line); }
.cm-intervention li:last-child { border: 0; }
.cm-assessment figcaption { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; border-top: 1px solid var(--line); padding-top: 22px; margin-top: 24px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.cm-assessment figcaption strong { color: var(--ink); font-weight: 500; }
.cm-owner { display: flex; align-items: flex-start; gap: 13px; color: var(--muted); font-size: 15px; max-width: 70ch; margin: 24px 0; }
.cm-owner .condition-icon { width: 25px; height: 25px; color: var(--blue); }
.cm-details { margin: 24px 0 0; padding: 0; border: 0; border-top: 1px solid var(--line); border-radius: 0; background: transparent; }
.cm-details summary { font-size: 16px; padding: 19px 0; color: var(--blue); }
.cm-details>div { max-width: 80ch; padding: 8px 0 15px; font-size: 16px; line-height: 1.65; }
.cm-details p:last-child { margin-bottom: 0; }
.cm-details li { margin-bottom: 10px; }
.cm-details .cm-sources { font-size: 14px; }
.cm-section .cm-history { margin-top: 52px; }
.cm-history-source { max-width: 640px; margin: auto; padding: 22px 28px; text-align: center; background: white; border: 1px solid #c2cfea; border-radius: 12px; }
.cm-history-source strong { display: block; font-size: 24px; line-height: 1.3; font-weight: 600; margin-bottom: 10px; letter-spacing: -.025em; }
.cm-history-source span { display: block; font-size: 15px; color: var(--muted); line-height: 1.55; }
.cm-fan-wires, .cm-fork-wires { display: block; width: 100%; height: 38px; fill: none; stroke: #a2b8d8; stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.cm-benefits { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.cm-benefits>div { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 22px; background: white; border: 1px solid var(--line); border-radius: 12px; text-align: center; }
.cm-benefits .condition-icon { color: var(--blue); margin-bottom: 5px; }
.cm-benefits strong { font-size: 22px; line-height: 1.3; font-weight: 600; letter-spacing: -.02em; }
.cm-benefits span { font-size: 15px; color: var(--muted); }
.cm-contract { margin-top: 38px; border: 1px solid #c2cfea; border-radius: 12px; overflow: hidden; }
.cm-contract-heading { display: flex; align-items: center; gap: 22px; background: var(--wash); padding: 30px; border-bottom: 1px solid var(--line); }
.cm-contract-heading>.condition-icon { width: 40px; height: 40px; color: var(--blue); }
.cm-contract-heading h3 { margin: 0 0 12px; font-size: 27px; line-height: 1.25; letter-spacing: -.025em; font-weight: 600; }
.cm-contract-heading p { font-size: 16px; color: var(--muted); margin: 0; }
.cm-contract-fields { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); margin: 0; }
.cm-contract-fields>div { padding: 25px 30px; border-bottom: 1px solid var(--line); min-width: 0; }
.cm-contract-fields>div:not(:nth-child(3n)) { border-right: 1px solid var(--line); }
.cm-contract-fields>div:nth-last-child(-n+3) { border-bottom: 0; }
.cm-contract-fields dt { font-size: 18px; font-weight: 600; margin-bottom: 11px; }
.cm-contract-fields dd { font-size: 15px; line-height: 1.6; color: var(--muted); margin: 0; }
.cm-distinction { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 26px 0 0; }
.cm-distinction>div { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; font-size: 16px; }
.cm-distinction span:first-of-type { color: var(--blue); }
.cm-distinction span:last-child { color: var(--muted); }
.cm-promise-types { margin: 0 0 20px; }
.cm-promise-types>div { display: grid; grid-template-columns: 180px 1fr; gap: 20px; border-bottom: 1px solid var(--line); padding: 13px 0; }
.cm-promise-types dt { font-weight: 600; }
.cm-promise-types dd, .cm-schema-map dd { margin: 0; }
.cm-method-mini { padding: 0 0 30px; margin: 0 0 38px; border-bottom: 1px solid var(--line); }
.cm-method-mini ol { display: flex; flex-wrap: wrap; gap: 12px 20px; list-style: none; margin: 0 0 14px; padding: 0; font-size: 17px; font-weight: 600; }
.cm-method-mini li:first-child { color: var(--blue); }
.cm-method-mini li:not(:last-child):after { content: '→'; color: #607fac; padding-left: 20px; }
.cm-method-mini p { margin: 0; font-size: 15px; color: var(--muted); }
.cm-fork-input { display: flex; align-items: center; justify-content: center; gap: 14px; width: fit-content; max-width: 100%; margin: auto; padding: 20px 26px; background: white; border: 1px solid var(--line); border-radius: 12px; }
.cm-fork-input .condition-icon { color: var(--blue); }
.cm-fork-input strong { font-size: 20px; line-height: 1.3; font-weight: 600; }
.cm-branches { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.cm-branches>div { padding: 30px; border: 1px solid #c2cfea; border-radius: 12px; background: white; }
.cm-branches .cm-tag { display: inline-block; margin-bottom: 20px; padding: 4px 10px; border-radius: 4px; color: var(--reliability); background: var(--reliability-wash); }
.cm-branches>div:last-child .cm-tag { color: var(--performance); background: var(--performance-wash); }
.cm-branches h3 { font-size: 27px; font-weight: 600; line-height: 1.25; letter-spacing: -.025em; margin: 0 0 24px; min-height: 68px; max-width: 450px; }
.cm-branch-method { color: var(--muted); font-size: 15px; }
.cm-fork figcaption { text-align: center; color: var(--blue); font-size: 18px; font-weight: 600; }
.cm-note { max-width: 65ch; margin: 20px auto 0; color: var(--muted); font-size: 15px; text-align: center; }
.cm-specification { padding-block: 28px; }
.cm-specification .cm-details { margin: 0; border: 0; }
.cm-specification .cm-details>div { max-width: none; }
.cm-conditions { display: flex; flex-wrap: wrap; gap: 12px; margin: 12px 0 26px; }
.cm-conditions a { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 8px; font-size: 14px; text-decoration: none; }
.cm-conditions .condition-icon { width: 22px; height: 22px; }
.cm-schema-map { display: grid; grid-template-columns: 1fr 1fr; gap: 0 30px; margin: 0 0 26px; }
.cm-schema-map>div { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.cm-doc-links { display: flex; flex-wrap: wrap; gap: 24px; font-size: 16px; margin-top: 22px; }
.cm-section-start .section-label { color: var(--lime); }
.cm-start-summary { font-size: 19px; max-width: 60ch; }
.cm-deliverables { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 30px; list-style: none; margin: 35px 0; padding: 28px 0; border-block: 1px solid #49617e; }
.cm-deliverables li { display: flex; align-items: baseline; gap: 12px; font-size: 20px; line-height: 1.4; }
.cm-deliverables li span { font-size: 14px; color: var(--lime); font-variant-numeric: tabular-nums; }
.cm-section-start .actions { align-items: center; gap: 24px; }
.cm-signature { font-size: 15px; color: #bfcfe2; }
/* Existing shared homepage entry and partial-translation menu. */
.cm-home-link{display:flex;align-items:center;justify-content:space-between;gap:28px;padding:28px;border:1px solid var(--line);border-left:3px solid var(--blue);border-radius:6px;background:#f7f9fc}.cm-home-link h3{margin:0 0 7px;font-size:23px;font-weight:500}.cm-home-link p{margin:0;color:var(--muted);font-size:15px;max-width:680px}.cm-home-link>a{flex-shrink:0;font-size:14px}
.language-unavailable{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px;color:var(--muted);font-size:14px}.language-unavailable small{font-size:10px}.language-menu .language-note{font-size:11px;line-height:1.4;color:var(--muted);padding:9px 12px 4px;margin:0;border-top:1px solid var(--line)}
@media(max-width:1100px) {
  .cm-assessment-flow { gap: 35px; }
  .cm-assessment-inputs:after, .cm-estimate:after { right: -27px; font-size: 24px; }
  .cm-estimate { padding: 22px 16px; }
  .cm-estimate h3, .cm-intervention h3 { font-size: 22px; }
  .cm-contract-fields>div { padding: 22px; }
  .cm-distinction { grid-template-columns: 1fr; gap: 12px; }
}
@media(max-width:900px) {
  .cm-hero { grid-template-columns: 1fr; gap: 38px; }
  .cm-hero-copy { max-width: 700px; }
  .cm-summary { max-width: 45ch; }
  .cm-hero-map { max-width: 540px; width: 100%; margin-inline: auto !important; }
  .cm-assessment-flow { grid-template-columns: 1fr; gap: 44px; }
  .cm-assessment-inputs { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
  .cm-assessment-inputs>div { padding: 16px; }
  .cm-assessment-inputs:after, .cm-estimate:after { content: '↓'; left: 50%; right: auto; top: auto; bottom: -36px; transform: translateX(-50%); line-height: 1; }
  .cm-estimate { padding: 25px; }
  .cm-estimate>.condition-icon { margin-bottom: 16px; }
  .cm-estimate h3 { font-size: 26px; margin-bottom: 13px; }
  .cm-intervention { text-align: center; }
  .cm-intervention ul { display: flex; justify-content: center; gap: 24px; }
  .cm-intervention li { padding: 0; border: 0; }
  .cm-return svg { display: none; }
  .cm-return p:before { content: '↻ '; }
  .cm-return { margin-top: 30px; }
  .cm-contract-fields { grid-template-columns: 1fr 1fr; }
  .cm-contract-fields>div:not(:nth-child(3n)) { border-right: 0; }
  .cm-contract-fields>div:nth-child(odd) { border-right: 1px solid var(--line); }
  .cm-contract-fields>div:nth-last-child(-n+3) { border-bottom: 1px solid var(--line); }
  .cm-contract-fields>div:nth-last-child(-n+2) { border-bottom: 0; }
  .cm-benefits { gap: 14px; }
  .cm-benefits>div { padding: 22px 16px; }
  .cm-benefits strong { font-size: 20px; }
}
@media(max-width:760px) {
  .cm-section { scroll-margin-top: 90px; }
  .cm-summary { max-width: 35ch; }
  .cm-hero .section-label { font-size: 12px; }
  .cm-assessment-inputs { grid-template-columns: 1fr; gap: 10px; }
  .cm-assessment-inputs>div { display: grid; grid-template-columns: 110px 1fr; gap: 14px; padding: 16px; }
  .cm-assessment-inputs strong { margin: 0; }
  .cm-assessment-inputs span { font-size: 14px; }
  .cm-assessment figcaption { grid-template-columns: 1fr; gap: 14px; }
  .cm-intervention ul { flex-direction: column; gap: 10px; }
  .cm-intervention li { font-size: 16px; }
  .cm-estimate h3 { font-size: 24px; }
  .cm-return p { font-size: 14px; }
  .cm-section .cm-history { margin-top: 38px; }
  .cm-history-source { padding: 23px 20px; }
  .cm-history-source strong { font-size: 24px; }
  .cm-benefits { grid-template-columns: 1fr; gap: 14px; position: relative; padding-left: 22px; margin-top: 26px; }
  .cm-benefits:before { content: ''; position: absolute; left: 0; top: -26px; bottom: 52px; border-left: 1px solid #a2b8d8; }
  .cm-benefits>div { position: relative; display: grid; grid-template-columns: 30px 1fr; gap: 7px 15px; text-align: left; padding: 20px; }
  .cm-benefits>div:before { content: ''; position: absolute; left: -23px; top: 50%; width: 22px; border-top: 1px solid #a2b8d8; }
  .cm-benefits .condition-icon { grid-row: span 2; margin: 0; }
  .cm-benefits strong { font-size: 21px; }
  .cm-fan-wires { display: none; }
  .cm-contract-heading { align-items: flex-start; padding: 24px; gap: 17px; }
  .cm-contract-heading>.condition-icon { width: 28px; height: 28px; }
  .cm-contract-heading h3 { font-size: 25px; }
  .cm-contract-heading p { font-size: 15px; }
  .cm-contract-fields { grid-template-columns: 1fr; }
  .cm-contract-fields>div { padding: 20px 24px; border-right: 0 !important; border-bottom: 1px solid var(--line) !important; }
  .cm-contract-fields>div:last-child { border-bottom: 0 !important; }
  .cm-contract-fields dd { font-size: 15px; }
  .cm-distinction>div { font-size: 15px; gap: 8px; }
  .cm-promise-types>div { grid-template-columns: 1fr; gap: 6px; }
  .cm-method-mini ol { font-size: 16px; gap: 10px 14px; }
  .cm-method-mini li:not(:last-child):after { padding-left: 14px; }
  .cm-fork-input { padding: 18px 20px; gap: 12px; }
  .cm-fork-input strong { font-size: 18px; }
  .cm-branches { grid-template-columns: 1fr; gap: 18px; position: relative; padding-left: 22px; margin-block: 26px; }
  .cm-branches:before { content: ''; position: absolute; left: 0; top: -26px; bottom: -26px; border-left: 1px solid #a2b8d8; }
  .cm-branches:after { content: ''; position: absolute; left: 0; top: -26px; width: 50%; border-top: 1px solid #a2b8d8; }
  .cm-branches>div { position: relative; padding: 24px; }
  .cm-branches>div:before { content: ''; position: absolute; left: -23px; top: 50%; width: 22px; border-top: 1px solid #a2b8d8; }
  .cm-branches h3 { min-height: 0; font-size: 24px; margin-bottom: 18px; }
  .cm-fork-wires { display: none; }
  .cm-fork figcaption { padding-left: 22px; font-size: 17px; text-align: left; }
  .cm-note { font-size: 14px; text-align: left; margin-top: 22px; }
  .cm-specification { padding-block: 20px; }
  .cm-schema-map { grid-template-columns: 1fr; }
  .cm-conditions a { font-size: 14px; padding: 10px 12px; }
  .cm-start-summary { font-size: 18px; }
  .cm-deliverables { grid-template-columns: 1fr; gap: 18px; padding: 23px 0; }
  .cm-section-start .actions { gap: 20px; }
  .cm-signature { font-size: 14px; }
  .cm-home-link{flex-direction:column;align-items:flex-start;gap:17px}
}
@media(max-width:480px) {
  .cm-assessment-inputs>div { grid-template-columns: 1fr; gap: 7px; }
  .cm-estimate { padding: 22px 16px; }
  .cm-estimate>strong { font-size: 16px; }
  .cm-details summary { font-size: 15px; }
  .cm-schema-map>div { grid-template-columns: 1fr; gap: 6px; }
  .cm-home-link{padding:22px}.cm-home-link h3{font-size:21px}
}

/* The story starts with an outcome, then exposes the contradiction. */
.cm-hero-case { max-width: 430px; margin: auto; text-align: center; padding: 12px 0 24px; }
.cm-case-person { display: flex; justify-content: center; align-items: center; gap: 18px; padding: 22px; border: 1px solid #c2cfea; border-radius: 12px; background: var(--wash); text-align: left; }
.cm-case-person .condition-icon { width: 40px; height: 40px; color: var(--blue); }
.cm-case-person strong { display: block; font-size: 24px; line-height: 1.25; font-weight: 600; }
.cm-case-person span { display: block; margin-top: 8px; font-size: 14px; color: var(--muted); }
.cm-case-link { display: block; width: 32px; height: 48px; margin: auto; fill: none; stroke: #8ca9d6; stroke-width: 1.5; }
.cm-case-goal { padding: 24px; background: var(--lime); border: 1px solid #c5df70; border-radius: 12px; color: var(--night); }
.cm-case-goal strong { display: block; font-size: 76px; font-weight: 600; line-height: 1.15; letter-spacing: -.04em; margin: 10px 0; }
.cm-case-goal span { display: block; font-size: 17px; }
.cm-hero-map figcaption { text-align: center; }
.cm-tension { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 38px; }
.cm-tension>div { padding: 30px; background: white; border: 1px solid #c2cfea; border-radius: 12px; }
.cm-tension>div:first-child { background: var(--lime); border-color: #c5df70; }
.cm-tension>div:first-child .cm-tag { color: var(--night); }
.cm-tension h3 { margin: 0; max-width: 28ch; font-size: 27px; line-height: 1.3; font-weight: 600; letter-spacing: -.025em; }
.cm-subtitle { font-size: 22px; line-height: 1.3; margin: 38px 0 24px; font-weight: 600; }
.cm-reasons { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 32px; }
.cm-reasons .condition-icon { color: var(--blue); }
.cm-reasons h4 { font-size: 20px; line-height: 1.3; font-weight: 600; margin: 16px 0 10px; }
.cm-reasons p { font-size: 16px; line-height: 1.6; color: var(--muted); margin: 0; }
.cm-bridge { font-size: 17px; line-height: 1.6; color: var(--blue); font-weight: 500; margin: 28px 0 0; max-width: 80ch; }
.cm-approach-steps { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 30px; margin: 0; padding: 0; list-style: none; }
.cm-approach-steps li { position: relative; text-align: center; }
.cm-approach-steps .cycle-node { margin: auto; position: relative; z-index: 1; }
.cm-approach-steps li:first-child .cycle-node { background: var(--lime); }
.cm-approach-steps li:not(:last-child):after { content: ''; position: absolute; top: 27px; left: calc(50% + 27px); width: calc(100% - 24px); border-top: 1.5px solid var(--blue); }
.cm-approach-steps h3 { font-size: 23px; font-weight: 600; letter-spacing: -.025em; margin: 20px 0 12px; line-height: 1.25; }
.cm-approach-steps p { font-size: 16px; color: var(--muted); line-height: 1.55; max-width: 28ch; margin: auto; }
.cm-contract { background: white; }
.cm-work-hypothesis { padding: 24px 30px; border-bottom: 1px solid var(--line); }
.cm-work-hypothesis ol { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 36px; list-style: none; padding: 0; margin: 0; }
.cm-work-hypothesis li { position: relative; font-size: 16px; font-weight: 500; line-height: 1.5; }
.cm-work-hypothesis li:not(:last-child):after { content: '→'; position: absolute; top: 0; right: -28px; color: var(--blue); }
.cm-incident { margin-top: 38px; }
.cm-incident h3 { font-size: 26px; font-weight: 600; letter-spacing: -.025em; line-height: 1.3; margin: 0 0 22px; }
.cm-incident ol { display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 22px; padding: 0; margin: 0; list-style: none; }
.cm-incident li { background: var(--wash); border-top: 2px solid var(--blue); padding: 22px; }
.cm-incident li p { font-size: 16px; line-height: 1.55; margin: 0; }
.cm-incident-note { margin: 20px 0 0; color: var(--blue); font-size: 15px; }
@media(max-width:900px) {
  .cm-approach-steps { grid-template-columns: 1fr; gap: 25px; }
  .cm-approach-steps li { display: grid; grid-template-columns: 54px 1fr; gap: 0 20px; text-align: left; }
  .cm-approach-steps .cycle-node { grid-row: span 2; margin: 0; }
  .cm-approach-steps li:not(:last-child):after { left: 27px; top: 54px; height: calc(100% - 29px); width: 0; border-top: 0; border-left: 1px solid var(--blue); }
  .cm-approach-steps h3 { margin: 0 0 10px; }
  .cm-approach-steps p { max-width: none; margin: 0; }
}
@media(max-width:760px) {
  .cm-case-person { padding: 20px; gap: 14px; }
  .cm-case-person strong { font-size: 22px; }
  .cm-case-goal strong { font-size: 68px; }
  .cm-tension, .cm-reasons { grid-template-columns: 1fr; gap: 20px; }
  .cm-tension>div { padding: 24px; }
  .cm-tension h3 { font-size: 25px; }
  .cm-reasons>div { display: grid; grid-template-columns: 30px 1fr; gap: 9px 16px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
  .cm-reasons .condition-icon { grid-row: span 2; }
  .cm-reasons h4 { margin: 0; }
  .cm-reasons p { grid-column: 2; font-size: 15px; }
  .cm-bridge { font-size: 16px; }
  .cm-approach-steps li { grid-template-columns: 43px 1fr; gap: 0 16px; }
  .cm-approach-steps li:not(:last-child):after { left: 21px; top: 43px; height: calc(100% - 18px); }
  .cm-approach-steps h3 { font-size: 22px; }
  .cm-work-hypothesis { padding: 24px; }
  .cm-work-hypothesis ol { grid-template-columns: 1fr; gap: 27px; }
  .cm-work-hypothesis li:not(:last-child):after { content: '↓'; top: auto; right: auto; left: 0; bottom: -26px; }
  .cm-incident ol { grid-template-columns: 1fr; gap: 14px; }
  .cm-incident h3 { font-size: 24px; }
}
