/* Outcome-led explanations. The incumbent blue / navy / lime identity stays. */
:root {
  --performance: #234cec;
  --performance-wash: #edf1ff;
  --reliability: #186453;
  --reliability-wash: #eaf5f0;
  --alignment: #714296;
  --alignment-wash: #f3eef9;
}
html { scrollbar-color: #9baac1 #f1f5fb; }
textarea { caret-color: var(--blue); }
[tabindex]:focus-visible { outline: 3px solid #b96000; outline-offset: 4px; }
h1, h2, h3, h4 { text-wrap: balance; }
.hero h1, .lang-ru .hero h1, .section h2, .page-head h1 { letter-spacing: -.035em; }
.hero { grid-template-columns: 1.08fr 1fr; gap: 52px; padding-block: 68px; }
.hero h1 { font-size: clamp(40px, 3.7vw, 53px); line-height: 1.1; text-wrap: initial; }
.hero .lead { font-size: 18px; line-height: 1.65; }
.hero .status { font-size: 13px; }
.hero .actions { gap: 10px; }
.section h2 { font-weight: 600; }
.card h3, .layer h3 { font-weight: 600; }
.card .number { display: none; }
.definition { align-items: start; font-size: 17px; }
.definition span { font-family: inherit; font-weight: 700; }
.narrow { max-width: 75ch; }
.section-label { display: block; margin: 0 0 18px; color: var(--blue); font-size: 13px; font-weight: 700; letter-spacing: .055em; text-transform: uppercase; }
.audience-cards { gap: 24px; }
.audience-cards .card { display: grid; grid-template-columns: 180px minmax(0,1fr); align-items: start; gap: 24px; padding: 25px; border: 1px solid #d9e2ef; border-radius: 14px; }
.role-art { display: block; width: 100%; height: auto; border-radius: 10px; background: #eef3ff; margin-top: 3px; }
.role-art-1 { background: #f3eef9; }
.role-art-2 { background: #eaf5f0; }
.role-art-3 { background: #edf0f8; }
.audience-cards h3 { font-size: 23px; overflow-wrap: anywhere; }
.audience-cards .card p { font-size: 15px; }
.audience-cards a { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; }
.arrow-icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; flex: none; }
.condition-icon { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; flex: none; }

/* Five nodes share the exact identifiers, order, and names of the detailed view. */
.hero-diagram { margin: 0; padding: 0; border-radius: 0; background: none; color: var(--ink); box-shadow: none; }
.system-map { position: relative; height: 480px; }
.system-wires { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.system-wires path, .system-wires circle { fill: none; stroke: #b2c4e3; stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.system-wires circle { stroke-dasharray: 3 7; }
.system-wires .orbit-mark { stroke: var(--blue); stroke-width: 2; }
.system-wires .wire-dot { fill: var(--blue); stroke: white; stroke-dasharray: none; }
.condition-chip, .condition-chip:first-child {
  position: absolute; display: grid; grid-template-columns: 23px 1fr;
  align-items: center; gap: 8px; padding: 15px 13px; min-height: 91px;
  width: 35.5%; border: 1px solid #ccd8ec; border-radius: 12px;
  background: #f1f5fb; color: var(--night); font-size: 16px; line-height: 1.28;
  font-weight: 600; text-decoration: none; transition: background .18s ease-out, border-color .18s ease-out;
}
.condition-chip .condition-number { align-self: start; padding-top: 2px; color: var(--blue); opacity: 1; font-family: inherit; font-variant-numeric: tabular-nums; font-size: 12px; }
.condition-chip .condition-icon { grid-column: 2; width: 22px; height: 22px; color: #42628e; }
.condition-chip:hover { background: #e4ecff; border-color: var(--blue); }
.condition-chip.node-1 { left: 24%; top: 0; width: 52%; min-height: 92px; background: var(--lime); border-color: #c5df70; }
.condition-chip.node-1 .condition-icon { display: none; }
.condition-chip.node-1 .condition-number { color: var(--night); align-self: center; padding: 0; }
.node-2 { left: 0; top: 132px; }
.node-3 { right: 0; top: 132px; }
.node-4 { left: 0; top: 352px; }
.node-5 { right: 0; top: 352px; }
.system-core { position: absolute; left: 50%; top: 270px; transform: translate(-50%,-50%); width: 132px; height: 132px; border-radius: 50%; background: var(--blue); color: white; display: grid; place-items: center; text-align: center; font-size: 18px; font-weight: 600; line-height: 1.25; }
.diagram-feedback { padding: 0 0 15px; color: var(--blue); font-size: 15px; font-weight: 600; align-items: center; }
.hero-diagram figcaption { margin: 0; padding-top: 15px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; line-height: 1.6; }
.hero-diagram figcaption strong { display: block; color: var(--ink); font-weight: 500; }

/* The five conditions are a single, prominent part of the business design. */
.foundation-band { background: #f5f7fb; color: var(--ink); }
.foundation-band .lead { color: var(--muted); max-width: 760px; }
.foundation-band h2 { max-width: 880px; }
.foundations { border-top: 1px solid #d4ddec; margin-top: 40px; }
.foundation { display: grid; grid-template-columns: 55px 310px 1fr; gap: 32px; padding: 31px 0; border-bottom: 1px solid #d4ddec; }
.foundation-number { font-size: 21px; line-height: 46px; width: 46px; height: 46px; border: 1px solid #bacbea; color: var(--blue); background: white; border-radius: 50%; text-align: center; font-variant-numeric: tabular-nums; }
.foundation:first-child .foundation-number { background: var(--lime); border-color: var(--lime); color: var(--night); }
.foundation-name .condition-icon { display: none; }
.foundation h3 { color: var(--night); margin: 0; font-weight: 600; font-size: 25px; line-height: 1.25; max-width: 310px; }
.foundation p { font-size: 16px; line-height: 1.6; margin: 0 0 13px; color: #4d5d75; }
.foundation .agreement { color: #1d4279; font-size: 14px; margin: 0; font-weight: 600; }
.foundation:target { background: #e9eefb; outline: 14px solid #e9eefb; }

/* An outcome-first design cycle, including the route into the next iteration. */
.cycle-board { margin: 38px 0 0; padding: 30px; border: 1px solid #c6d2e8; border-radius: 12px; background: #fafcff; }
.cycle-phases { display: grid; grid-template-columns: 3fr 2fr; gap: 28px; color: var(--blue); font-size: 14px; font-weight: 600; }
.cycle-phases span { padding: 0 0 16px; border-bottom: 1px solid #c6d2e8; }
.cycle-route { position: relative; padding: 24px 0 50px; }
.cycle-route>svg { position: absolute; inset: 24px 0 0; height: calc(100% - 24px); width: 100%; pointer-events: none; overflow: visible; }
.cycle-route .cycle-line { stroke: var(--blue); stroke-width: 1.5; fill: none; }
.cycle-route .cycle-return { stroke: #607fac; stroke-width: 1.5; stroke-dasharray: 5 5; fill: none; }
#cycle-arrow path { fill: #607fac; }
.method-flow { position: relative; display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 25px; margin: 0; padding: 0; }
.method-flow li { padding: 0; border: 0; }
.method-flow li:not(:last-child):after { display: none; }
.cycle-node { display: grid; place-items: center; width: 54px; height: 54px; background: white; color: var(--blue); border: 1.5px solid var(--blue); border-radius: 50%; font-size: 17px; font-weight: 600; font-variant-numeric: tabular-nums; }
.method-flow li:first-child .cycle-node { background: var(--lime); }
.method-flow h3 { font-weight: 600; font-size: 19px; min-height: 47px; margin: 20px 0 10px; }
.method-flow p { font-size: 15px; line-height: 1.55; max-width: 180px; }
.method-loop { display: flex; align-items: start; gap: 20px; padding: 20px 0 0; background: none; border: 0; border-top: 1px solid var(--line); color: var(--ink); }
.method-loop>svg { width: 35px; height: 35px; flex: none; fill: none; stroke: var(--blue); stroke-width: 1.6; }
.method-loop strong { font-size: 17px; }
.method-loop p { font-size: 15px; line-height: 1.6; color: var(--muted); max-width: 77ch; margin: 5px 0 0; }

/* Two different crosswalks: storage placement and quality expectations. */
.layer { border: 1px solid #c2cfea; border-radius: 12px; padding: 24px; }
.layer .num { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; background: var(--wash); border-radius: 50%; font-family: inherit; }
.layer h3 { font-size: 23px; }
.layer-map { margin-top: 52px; }
.layer-map h3, .quality-overview h3, .quality-detail h3 { font-size: 27px; line-height: 1.2; font-weight: 600; margin: 0 0 17px; letter-spacing: -.025em; }
.layer-map>.narrow, .quality-detail>.narrow { color: var(--muted); }
.crosswalk, .quality-matrix { border: 0; border-radius: 0; margin-top: 26px; scrollbar-color: #9baac1 #f1f5fb; }
.crosswalk table, .quality-matrix table { min-width: 780px; table-layout: fixed; font-variant-numeric: tabular-nums; }
.crosswalk th, .crosswalk td, .quality-matrix th, .quality-matrix td { border-bottom: 1px solid #d5deea; padding: 19px 18px; font-size: 15px; line-height: 1.5; }
.crosswalk thead th { background: var(--night); color: white; font-weight: 500; }
.crosswalk thead th:first-child, .crosswalk tbody th { width: 23%; }
.crosswalk tbody th { background: white; font-weight: 600; }
.crosswalk tbody th a { display: flex; gap: 13px; align-items: start; text-decoration: none; color: var(--ink); }
.crosswalk tbody th a:hover { color: var(--blue); text-decoration: underline; }
.crosswalk tbody td { background: #f5f8fd; border-left: 5px solid white; }
.map-number { color: var(--blue); font-size: 13px; font-variant-numeric: tabular-nums; line-height: 23px; }
.mapping-kinds { margin: 10px 0 0; font-size: 12px; color: var(--blue); }
.mapping-kinds code { overflow-wrap: anywhere; }
.scroll-hint { display: none; font-size: 13px; color: var(--muted); }
.cooperation { border-top: 1px solid var(--line); }
.performance { --pillar-color: var(--performance); --pillar-wash: var(--performance-wash); }
.reliability { --pillar-color: var(--reliability); --pillar-wash: var(--reliability-wash); }
.alignment { --pillar-color: var(--alignment); --pillar-wash: var(--alignment-wash); }
.quality-diagram { margin: 42px 0 0; }
.quality-diagram figcaption h3 { margin: 0 0 12px; font-size: 26px; letter-spacing: -.02em; }
.quality-diagram figcaption p { color: var(--muted); max-width: 75ch; font-size: 16px; }
.quality-matrix { border: 1px solid #d8e1ee; border-radius: 14px; padding: 28px 20px 0; background: #fafcff; margin: 28px 0 20px; overflow-x: auto; }
.quality-canvas { min-width: 850px; }
.quality-goal { margin-left: 22%; text-align: center; }
.quality-goal-title { display: inline-flex; align-items: center; gap: 16px; max-width: 640px; border: 1px solid #bacbe3; border-radius: 12px; background: white; padding: 22px 27px; color: var(--night); font-size: 23px; line-height: 1.35; text-align: left; }
.quality-goal-title .condition-icon { width: 39px; height: 39px; padding: 5px; border-radius: 8px; background: #edf1ff; color: var(--blue); }
.quality-goal-title strong { font-weight: 600; text-wrap: balance; }
.quality-goal>svg { display: block; width: 100%; height: 36px; fill: #a7b9d4; }
.quality-goal path { fill: none; stroke: #a7b9d4; stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.quality-matrix table { width: 100%; min-width: 850px; border-collapse: separate; border-spacing: 8px 0; table-layout: fixed; }
.quality-matrix thead th { background: var(--pillar-wash); color: var(--pillar-color); border-top: 4px solid var(--pillar-color); border-bottom: 1px solid #d7e0ec; border-radius: 9px 9px 0 0; padding: 21px 18px 23px; text-align: left; vertical-align: top; }
.quality-matrix thead th:first-child { background: none; border: 0; color: var(--muted); vertical-align: bottom; font-size: 13px; font-weight: 500; }
.quality-matrix .quality-axis { width: 22%; background: transparent; border: 0; }
.quality-matrix th:first-child { width: 22%; }
.quality-pillar .condition-icon { display: block; width: 27px; height: 27px; margin-bottom: 13px; }
.quality-pillar strong { display: block; font-size: 23px; line-height: 1.2; margin-bottom: 10px; overflow-wrap: anywhere; }
.lang-ru .quality-pillar strong { font-size: 19px; overflow-wrap: normal; }
.quality-pillar>span { display: block; font-size: 14px; font-weight: 400; line-height: 1.45; color: var(--ink); }
.quality-matrix tbody th { background: #fafcff; color: var(--night); font-weight: 600; font-size: 15px; padding: 24px 10px 24px 0; line-height: 1.4; border-bottom: 1px solid #d8e1ee; }
.area-number { display: block; font-size: 12px; font-weight: 400; color: #687b98; margin-bottom: 7px; }
.quality-matrix tbody td, .quality-matrix tr:nth-child(even) td { background: var(--pillar-wash); border: 0; border-bottom: 1px solid #d3dce9; padding: 22px 18px; vertical-align: top; font-size: 14px; line-height: 1.55; }
.quality-matrix tbody tr:last-child td { border-radius: 0 0 8px 8px; border-bottom: 4px solid var(--pillar-color); }
.quality-base { text-align: center; margin: 20px 0 0; padding: 18px 14px 22px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.quality-note { color: var(--muted); }

/* Each resource has a drawing of the action and one explicit next step. */
.action-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 36px; }
.action-card { display: flex; flex-direction: column; }
.action-art { display: block; width: 100%; height: auto; margin-bottom: 24px; background: #e2eafd; border-radius: 12px; }
.art-1 { background: #e6f0ee; }
.art-2 { background: #eae8f3; }
.action-art text { font-family: Arial,Helvetica,sans-serif; font-size: 10px; letter-spacing: 1px; fill: var(--night); font-weight: 600; }
.action-card h3 { font-size: 25px; font-weight: 600; line-height: 1.2; letter-spacing: -.025em; margin: 0 0 15px; }
.action-card p { font-size: 16px; color: var(--muted); margin-bottom: 20px; }
.action-card a { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; line-height: 1.5; margin-top: auto; }
.callout, .step { border: 1px solid var(--line); border-radius: 12px; }
.package { border-radius: 12px; background: #f0f4fa; border: 1px solid #cedaec; color: var(--night); }
.package p { color: #4d5d75; }
.package-heading { display: flex; align-items: center; gap: 15px; }
.package-heading .condition-icon { width: 41px; height: 41px; color: var(--blue); padding: 5px; border-radius: 9px; background: white; border: 1px solid #d5dff0; }
.package h3 { font-size: 21px; font-weight: 600; }
.runtime-carousel { margin-top: 24px; min-width: 0; }
.carousel-controls { display: none; justify-content: end; gap: 9px; margin-bottom: 17px; }
.runtime-carousel.is-ready .carousel-controls { display: flex; }
.carousel-controls button { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid #b9c8e0; background: white; border-radius: 50%; color: var(--night); cursor: pointer; }
.carousel-controls button:hover:not(:disabled) { border-color: var(--blue); color: var(--blue); background: #eef3ff; }
.carousel-controls button:disabled { opacity: .35; cursor: default; }
.carousel-controls button[data-direction="-1"] svg { transform: rotate(180deg); }
.runtime-list { display: flex; gap: 18px; list-style: none; padding: 3px 2px 21px; margin: 0 0 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 2px; overscroll-behavior-x: contain; scrollbar-width: thin; }
.runtime-list li { flex: 0 0 234px; scroll-snap-align: start; border: 1px solid #d0dcec; border-radius: 12px; padding: 24px 21px; display: flex; flex-direction: column; align-items: start; gap: 18px; background: white; }
.runtime-list a { display: flex; flex-direction: column; gap: 20px; width: 100%; font-weight: 600; font-size: 20px; line-height: 1.4; color: var(--ink); text-decoration: none; }
.runtime-list a:hover { color: var(--blue); }
.runtime-icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 13px; border: 1px solid #e0e5ee; background: white; }
.runtime-icon img { display: block; width: 48px; height: 48px; object-fit: contain; border-radius: 7px; }
.support-level { margin-top: auto; font-size: 12px; line-height: 1.4; padding: 5px 9px; border-radius: 4px; color: #365270; background: #edf2f8; }
.support-level.files { background: #e7f3ec; color: #205b43; }
.runtime-note { max-width: 85ch; font-size: 15px; color: var(--muted); }

@media(max-width:1100px) {
  .audience-cards .card { grid-template-columns: 135px minmax(0,1fr); padding: 20px; gap: 20px; }
  .audience-cards h3 { font-size: 21px; }
  .hero { gap: 30px; }
  .hero h1 { font-size: 45px; }
  .condition-chip, .condition-chip:first-child { font-size: 14px; padding-inline: 10px; gap: 5px; }
  .system-core { width: 114px; height: 114px; font-size: 16px; }
  .foundation { grid-template-columns: 46px 255px 1fr; gap: 24px; }
  .foundation h3 { font-size: 23px; }
  .cycle-board { padding: 25px; }
  .method-flow { gap: 22px; }
  .method-flow h3 { font-size: 17px; }
  .method-flow p { font-size: 14px; }
  .quality-pillars { gap: 20px; padding-inline: 20px; }
  .quality-pillar { padding-inline: 17px; }
  .quality-pillar h4 { font-size: 23px; }
}
@media(max-width:900px) {
  .audience-cards .card { grid-template-columns: 1fr; }
  .role-art { max-width: 260px; }
  .hero { grid-template-columns: 1fr; }
  .cycle-route>svg, .cycle-phases { display: none; }
  .cycle-route { padding: 0 0 25px; }
  .method-flow { grid-template-columns: 1fr; gap: 24px; }
  .method-flow:before { content: ''; position: absolute; top: 27px; bottom: 30px; left: 27px; width: 1px; background: var(--blue); }
  .method-flow li { display: grid; grid-template-columns: 54px 1fr; gap: 0 20px; border: 0; padding: 0; }
  .cycle-node { grid-row: span 2; z-index: 1; }
  .method-flow h3 { min-height: 0; font-size: 20px; margin: 2px 0 8px; }
  .method-flow p { font-size: 16px; max-width: none; }
  .scroll-hint { display: block; }
}
@media(max-width:760px) {
  .audience-cards .card { grid-template-columns: 1fr; gap: 22px; padding: 24px; }
  .role-art { max-width: 280px; margin: 0; }
  .audience-cards h3 { font-size: 24px; }
  .audience-cards .card p { font-size: 16px; }
  .quality-matrix { padding: 20px 10px 0; }
  .quality-diagram figcaption h3 { font-size: 24px; }
  .runtime-list li { flex-basis: 220px; }
  .hero { grid-template-columns: 1fr; padding-block: 42px; gap: 38px; }
  .hero h1, .lang-ru .hero h1 { font-size: clamp(33px,7.8vw,51px); letter-spacing: -.035em; }
  .hero .lead { font-size: 17px; }
  .hero-diagram { max-width: 510px; width: 100%; margin: auto; }
  .condition-chip, .condition-chip:first-child { font-size: 16px; }
  .system-core { width: 122px; height: 122px; font-size: 17px; }
  .hero-diagram figcaption { font-size: 13px; }
  .definition { grid-template-columns: 30px 1fr; font-size: 16px; }
  .foundation { grid-template-columns: 39px 1fr; gap: 17px; }
  .foundation-number { width: 37px; height: 37px; line-height: 35px; font-size: 17px; }
  .foundation-name { align-self: center; }
  .foundation h3 { font-size: 23px; max-width: none; }
  .foundation>div:last-child { grid-column: 2; }
  .foundation p { font-size: 16px; }
  .foundation .agreement { font-size: 14px; }
  .foundation:target { outline-width: 8px; }
  .section h2 { font-size: 33px; }
  .cycle-board { padding: 22px 18px; margin-top: 30px; }
  .method-loop { gap: 12px; }
  .method-loop>svg { width: 27px; height: 27px; }
  .method-loop p { font-size: 15px; }
  .method-flow li { grid-template-columns: 43px 1fr; gap: 0 15px; }
  .cycle-node { width: 43px; height: 43px; font-size: 15px; }
  .method-flow:before { left: 21px; }
  .method-flow h3 { font-size: 20px; }
  .layer-map, .quality-detail { margin-top: 38px; }
  .layer-map h3, .quality-overview h3, .quality-detail h3 { font-size: 26px; }
  .crosswalk th, .crosswalk td, .quality-matrix th, .quality-matrix td { padding: 16px 13px; font-size: 15px; }
  .crosswalk tbody th, .quality-matrix tbody th { position: sticky; left: 0; z-index: 1; }
  .quality-pillars { grid-template-columns: minmax(0,1fr); gap: 12px; padding: 14px 14px; background: #f6f8fc; }
  .quality-pillar { position: relative; min-width: 0; padding: 22px 20px 20px; }
  .quality-pillar h4 { font-size: 22px; }
  .quality-pillar>svg { display: none; }
  .quality-pillar p:last-of-type { margin-bottom: 0; }
  .pillar-base { font-size: 14px; padding-inline: 19px; }
  .action-grid { grid-template-columns: 1fr; gap: 40px; }
  .action-art { max-height: 270px; }
  .action-card h3 { font-size: 26px; }
  .action-card p { max-width: 500px; }
  .action-card a { font-size: 16px; }
  .runtime-list { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 18px; }
  .runtime-list a { font-size: 18px; }
}
@media(max-width:440px) {
  .condition-chip, .condition-chip:first-child { display: grid; flex-direction: initial; width: 39%; font-size: 14px; min-height: 97px; padding: 11px 9px; gap: 7px 5px; grid-template-columns: 20px 1fr; }
  .condition-chip.node-1 { left: 19%; width: 62%; min-height: 87px; }
  .condition-chip .condition-icon { width: 21px; height: 21px; }
  .condition-chip:not(.node-1)>span:nth-child(2) { grid-column: 1/-1; grid-row: 2; min-width: 0; overflow-wrap: anywhere; }
  .condition-chip:not(.node-1)>.condition-icon { grid-row: 1; grid-column: 2; justify-self: end; }
  .system-core { width: 108px; height: 108px; font-size: 16px; }
  .system-wires circle { stroke-dasharray: 3 5; }
  .node-2, .node-3 { top: 121px; }
  .node-4, .node-5 { top: 355px; }
  .diagram-feedback { font-size: 14px; gap: 8px; }
  .method-flow li { gap: 0 12px; }
  .cycle-board { padding-inline: 15px; }
}
@media(prefers-reduced-motion:reduce) {
  .condition-chip { transition: none; }
}
