/* DDR_IT_SERVICES_RU «IT-помощь бизнесу в одном месте» (digital.deladel.ru, working label) — page styles.
 * Baseline: the owner-approved visuals/generated/01_concept_desktop.png of DDR_IT_SERVICES_RU_DESIGN_v1.0 (1024 px raster of a
 * 1440 page, scale 1.40625) with the corrections A–E of the work order 2026-11-06. Desktop composition from 1000 px, one
 * column below; the Shell keeps its own breakpoint (mobile header <= 999 px) as published.
 * Part 1 (s3-*) = the accepted S3 Shell of the published /how-we-work/ (ddr-p09/src/p09.css part 1 at aff7e90, unchanged
 *   rules; Shell colours and the Nimbus Sans face are scoped to the Shell elements).
 * Part 2 (dit-*) = the blocks of this page. Every rule is scoped to .dit / .s3-* / .dit-*.
 */

/* Golos Text: SIL OFL 1.1, variable 400–900, the S3 files of the published /sales-launch/ (see ../assets/fonts/OFL.txt). */
@font-face { font-family: 'DIT Golos Text'; src: url('../assets/fonts/golos-text-cyrillic.woff2') format('woff2'); font-weight: 400 900; font-style: normal; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'DIT Golos Text'; src: url('../assets/fonts/golos-text-latin.woff2') format('woff2'); font-weight: 400 900; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* Nimbus Sans (Shell only): unmodified urw-base35-fonts 20200910 files, GNU AGPL v3 — see ../assets/fonts/NOTICE.txt, LICENSE, COPYING. */
@font-face { font-family: 'DIT Nimbus Sans'; src: url('../assets/fonts/NimbusSans-Regular.otf') format('opentype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'DIT Nimbus Sans'; src: url('../assets/fonts/NimbusSans-Bold.otf') format('opentype'); font-weight: 700; font-style: normal; font-display: swap; }

.dit {
  --red: #e2000f;
  --red-hover: #c8000d;
  --red-pressed: #a9000b;
  --red-text: #d0000e;            /* small red text on white/pale: >= 5:1 */
  --ink: #171d25;
  --text: #333d4a;
  --muted: #505c6c;
  --muted-2: #5b6777;
  --line: #d6dce3;
  --line-2: #c5cdd8;
  --pale: #f4f6f9;
  --focus: #3159ba;
  --error: #a80012;
  --error-line: #b30014;
  --placeholder: #6d7989;
  --pad: 64px;
  --head-col: 360px;
  --col-gap: 56px;
  --header-h: 108px;
  --header-compact: 76px;
  --ease: 140ms ease;
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: 'DIT Golos Text', 'Golos Text', 'Segoe UI', Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  font-kerning: normal;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: clip;
}
.dit *, .dit *::before, .dit *::after { box-sizing: border-box; }
:where(.dit) img { display: block; max-width: 100%; height: auto; }
:where(.dit) :where(h1, h2, h3, h4, p, ol, ul, figure, fieldset, legend) { margin: 0; padding: 0; }
:where(.dit) :where(ol, ul) { list-style: none; }
:where(.dit) fieldset { border: 0; min-width: 0; }
:where(.dit) a { color: inherit; }
:where(.dit) :where(button, input, textarea, select) { font: inherit; color: inherit; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }   /* compact sticky Shell header (76) + 12 */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .dit *, .dit *::before, .dit *::after { transition: none !important; animation: none !important; }
}
.dit-vh { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.dit :focus { outline: none; }
.dit :focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; border-radius: 4px; }
.dit [tabindex="-1"]:focus-visible { outline: none; }
.dit-icon { display: block; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* Shell scope: the published S3 Shell keeps its colours and its face */
.s3-skip, .s3-header, .s3-menu, .s3-footer {
  --red: #f60019;
  --red-hover: #d90016;
  --red-pressed: #bc0013;
  --ink: #090c10;
  --muted: #4e6485;
  --disabled: #a4adb8;
  font-family: 'DIT Nimbus Sans', 'Nimbus Sans', 'Helvetica Neue', Arial, sans-serif;
  color: var(--ink);
}
.s3-header, .s3-menu, .s3-footer { font-size: 19px; line-height: 27px; }

/* =====================================================================================================
 * Part 1 · S3 Shell (from /how-we-work/ = ddr-p09/src/p09.css part 1 at aff7e90)
 * ===================================================================================================== */
.s3-light { position: relative; background: #f2f2f1 url('../assets/scenes/light-satin.webp') 50% 50% / cover no-repeat; }
.s3-dark { position: relative; color: #fff; background: #101923 url('../assets/scenes/dark-satin.webp') 50% 50% / cover no-repeat; isolation: isolate; }
.s3-dark::before { content: ''; position: absolute; inset: 0; background: rgba(12, 20, 28, 0.86); z-index: -1; pointer-events: none; }

.s3-skip { position: absolute; left: 12px; top: -80px; z-index: 90; padding: 12px 18px; border-radius: 6px; background: #fff; color: var(--ink); font-size: 17px; line-height: 22px; font-weight: 700; text-decoration: none; box-shadow: 0 4px 16px rgba(9, 12, 16, 0.18); }
.s3-skip:focus { top: 12px; }

.s3-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 56px; padding: 0 28px; border: 0; border-radius: 7px; background: var(--red); color: #fff;
  font-size: 21px; line-height: 23px; font-weight: 700; text-decoration: none; text-align: center;
  cursor: pointer; transition: background-color var(--ease), color var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.s3-btn:hover { background: var(--red-hover); }
.s3-btn:active { background: var(--red-pressed); }
.s3-btn:focus-visible { outline: 3px solid var(--focus); outline-offset: 5px; border-radius: 7px; }
.s3-btn[aria-disabled="true"], .s3-btn[disabled] { background: var(--disabled); color: var(--ink); cursor: not-allowed; }
.s3-btn--block { display: flex; width: 100%; }
@media (hover: none) { .s3-btn:hover { background: var(--red); } .s3-btn[aria-disabled="true"]:hover { background: var(--disabled); } }
.s3-icon { flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.s3-header { position: sticky; top: 0; z-index: 30; height: var(--header-h); margin-bottom: calc(-1 * var(--header-h)); transition: background-color var(--ease), box-shadow var(--ease); }
.s3-header.is-scrolled { --header-h: var(--header-compact); background: rgba(255, 255, 255, 0.96); box-shadow: 0 1px 0 rgba(9, 12, 16, 0.08), 0 8px 24px rgba(9, 12, 16, 0.06); }
.s3-header__inner { display: flex; align-items: center; height: 100%; max-width: calc(1328px + 2 * var(--pad)); margin: 0 auto; padding: 0 var(--pad); }
.s3-brand { display: inline-flex; flex: none; align-items: center; min-height: 44px; }
.s3-header__brand .s3-brand__logo { width: 200px; height: auto; }
.s3-header.is-scrolled .s3-header__brand .s3-brand__logo { width: 152px; }
.s3-header__nav { display: flex; margin-left: auto; margin-right: 114px; }
.s3-header__link { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px 0 0; font-size: 19px; line-height: 27px; text-decoration: none; transition: color var(--ease); }
.s3-header__link:hover { color: var(--red); }
.s3-header__cta { min-width: 260px; }
.s3-header.is-scrolled .s3-header__cta { min-height: 48px; }
.s3-header__menu-btn { display: none; }

.s3-menu { position: fixed; inset: 0; z-index: 60; overflow-y: auto; padding: 0 24px 32px; background: #f2f2f1 url('../assets/scenes/light-satin.webp') 50% 50% / cover no-repeat; }
.s3-menu[hidden] { display: none; }
.s3-menu__bar { display: flex; align-items: center; justify-content: space-between; height: 86px; }
.s3-menu__brand .s3-brand__logo { width: 140px; }
.s3-menu__close { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-right: -10px; border: 0; background: transparent; cursor: pointer; }
.s3-menu__close .s3-icon { width: 16px; height: 16px; stroke-width: 2.4; }
.s3-menu__nav { display: flex; flex-direction: column; }
.s3-menu__link { display: flex; align-items: center; min-height: 64px; border-bottom: 1px solid #c3cfdc; font-size: 28px; line-height: 36px; font-weight: 700; text-decoration: none; }
.s3-menu__cta { margin-top: 34px; min-height: 52px; font-size: 19px; }
.s3-lock { overflow: hidden; }

.s3-footer { padding: 30px 0 24px; }
.s3-footer__inner { display: grid; grid-template-columns: 420px minmax(0, 1fr); row-gap: 14px; }
.s3-footer__brand .s3-brand__logo { width: 180px; }
.s3-footer__tagline { margin-top: 12px; font-size: 17px; line-height: 24px; color: var(--muted); }
.s3-footer__nav { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); grid-auto-flow: row; grid-auto-columns: auto; gap: 4px 20px; align-self: start; margin-top: 14px; }
.s3-footer__link { display: inline-flex; align-items: center; min-height: 44px; font-size: 18px; line-height: 26px; text-decoration: none; transition: color var(--ease); }
.s3-footer__link:hover { color: var(--red); }
.s3-footer__legal { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 12px; border-top: 1px solid #c3cfdc; font-size: 15px; line-height: 20px; color: var(--muted); }
.s3-footer__links a { display: inline-flex; align-items: center; min-height: 24px; text-decoration: none; }
.s3-footer__links a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* =====================================================================================================
 * Part 2 · blocks (desktop reference 1440: gutter 64, column 1312)
 * ===================================================================================================== */
.dit-wrap { width: 100%; max-width: calc(1312px + 2 * var(--pad)); margin: 0 auto; padding: 0 var(--pad); }
.dit-main:focus { outline: none; }
.dit-section, .dit-hero, .dit-topic { scroll-margin-top: calc(var(--header-compact) + 12px); }
.dit-split { display: grid; grid-template-columns: var(--head-col) minmax(0, 1fr); column-gap: var(--col-gap); align-items: start; }
.dit-h1 { font-size: 50px; line-height: 53px; font-weight: 700; letter-spacing: -0.016em; text-wrap: balance; }
.dit-h2 { font-size: 32px; line-height: 36px; font-weight: 700; letter-spacing: -0.012em; }
.dit p { text-wrap: pretty; }
.dit-rule { display: block; width: 48px; height: 3px; margin-top: 22px; background: var(--red); }
.dit-lead { margin-top: 22px; font-size: 16.5px; line-height: 25px; color: var(--muted); }

/* page buttons: red enamel of the approved image */
.dit-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 18px;
  min-height: 54px; padding: 0 26px; border: 1px solid #f31b22; border-radius: 9px;
  background: linear-gradient(180deg, #ff222d 0%, #ef0614 16%, #d8000a 84%, #c20009 100%); color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 137, 144, 0.9), 0 8px 18px rgba(160, 0, 20, 0.16);
  font-size: 17px; line-height: 22px; font-weight: 600; text-decoration: none; text-align: center;
  cursor: pointer; transition: filter var(--ease), box-shadow var(--ease), background-color var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.dit-btn .dit-icon { width: 22px; height: 22px; stroke-width: 1.8; }
.dit-btn:hover { filter: brightness(0.93); box-shadow: inset 0 1px 0 rgba(255, 137, 144, 0.9), 0 10px 22px rgba(160, 0, 20, 0.22); }
.dit-btn:active { filter: brightness(0.84); box-shadow: inset 0 2px 4px rgba(80, 0, 8, 0.35); }
.dit-btn:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; border-radius: 9px; }
.dit-btn[aria-disabled="true"] { background: #68727e; border-color: #68727e; box-shadow: none; filter: none; color: #fff; cursor: not-allowed; }
.dit-btn--block { display: flex; width: 100%; }
.dit-btn--ghost { background: #fff; color: var(--ink); border: 1px solid #9aa3af; box-shadow: none; }
.dit-btn--ghost:hover { filter: none; background: #f2f4f7; box-shadow: none; }
.dit-btn--ghost:active { filter: none; background: #e6e9ee; box-shadow: none; }
@media (hover: none) { .dit-btn:hover { filter: none; } .dit-btn--ghost:hover { background: #fff; } }

/* red text action (topic CTA) */
.dit-textcta { display: inline-flex; align-items: center; gap: 10px; min-height: 40px; margin-top: 8px; font-size: 15.5px; line-height: 21px; font-weight: 600; color: var(--red-text); text-decoration: none; }
.dit-textcta .dit-icon { width: 19px; height: 19px; stroke-width: 1.9; transition: transform var(--ease); }
.dit-textcta:hover span { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.dit-textcta:hover .dit-icon { transform: translateX(3px); }
.dit-textcta:active { color: #9c000b; }

/* ---------- B01 hero ---------- */
.dit-hero {
  position: relative; overflow: hidden; padding: calc(var(--header-h) + 14px) 0 38px;
  background:
    radial-gradient(ellipse 46% 58% at 74% 40%, #e6eaf1 0, rgba(230, 234, 241, 0) 100%),
    linear-gradient(165deg, #ffffff 0%, #f9fafc 52%, #eef1f6 100%);
}
.dit-hero__grid { position: relative; display: grid; grid-template-columns: 540px minmax(0, 1fr); align-items: start; }
.dit-hero__text { position: relative; z-index: 2; padding-top: 4px; }
.dit-eyebrow { font-size: 15px; line-height: 21px; font-weight: 500; color: var(--muted); }
.dit-h1 { margin-top: 14px; max-width: 490px; }
.dit-hero__intro { margin-top: 20px; max-width: 505px; font-size: 18px; line-height: 27px; color: var(--text); }
.dit-hero__cta { margin-top: 28px; min-width: 276px; }
.dit-hero__note { margin-top: 16px; max-width: 480px; font-size: 14.5px; line-height: 21px; color: var(--muted); }
.dit-hero__art { position: relative; z-index: 1; min-height: 1px; }
.dit-hero__art img { position: absolute; left: -44px; top: -46px; width: 834px; max-width: none; height: auto; pointer-events: none; user-select: none; }
.dit-hero__foot { position: relative; z-index: 3; margin-top: 36px; }
.dit-rail__list {
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); padding: 10px 6px;
  background: linear-gradient(160deg, #ffffff, #f9fafc); border: 1px solid #fff; border-radius: 14px;
  box-shadow: 0 13px 25px rgba(51, 65, 89, 0.08), 0 2px 6px rgba(51, 65, 89, 0.04);
}
.dit-rail__item { position: relative; display: flex; }
.dit-rail__item + .dit-rail__item::before { content: ''; position: absolute; left: 0; top: 12px; bottom: 12px; width: 1px; background: #d2d8e2; }
.dit-rail__link { display: flex; flex: 1; align-items: center; gap: 13px; min-height: 56px; margin: 0 6px; padding: 4px 12px; border-radius: 10px; font-size: 14.5px; line-height: 19px; font-weight: 600; color: var(--ink); text-decoration: none; transition: background-color var(--ease), color var(--ease); }
.dit-rail__link .dit-icon { width: 27px; height: 27px; stroke-width: 1.5; }
.dit-rail__link:hover { background: #f1f3f7; color: var(--red-text); }
.dit-rail__link:active { background: #e8ebf1; }
.dit-helper { display: flex; justify-content: center; align-items: center; gap: 12px; margin-top: 22px; font-size: 15px; line-height: 22px; color: var(--muted); }
.dit-helper .dit-icon { width: 24px; height: 24px; color: var(--ink); stroke-width: 1.5; }

/* ---------- B02 tasks ---------- */
.dit-tasks { padding: 62px 0 60px; background: #fff; }
.dit-topics { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(3, auto); grid-auto-flow: column; column-gap: 72px; }
.dit-topics::before { content: ''; position: absolute; left: 50%; top: 2px; bottom: 2px; width: 1px; background: var(--line); }
.dit-topic { display: grid; grid-template-columns: 30px minmax(0, 1fr); column-gap: 18px; align-content: start; padding: 22px 0 18px; border-bottom: 1px solid var(--line); }
.dit-topic:nth-child(3n + 1) { padding-top: 0; }
.dit-topic:nth-child(3n) { border-bottom: 0; padding-bottom: 0; }
.dit-topic__icon .dit-icon { width: 30px; height: 30px; margin-top: -1px; stroke-width: 1.5; }
.dit-topic__title { font-size: 19px; line-height: 25px; font-weight: 700; letter-spacing: -0.005em; outline: none; }
.dit-topic__text { margin-top: 9px; font-size: 16px; line-height: 24px; color: var(--text); }
.dit-topic.is-target .dit-topic__title { color: var(--red-text); }
/* desktop: the B02 head stays beside the long list while it is read (inside its own section only) */
@media (min-width: 1200px) { .dit-tasks .dit-head { position: sticky; top: calc(var(--header-compact) + 28px); } }

/* ---------- B03 examples ---------- */
.dit-examples { padding: 60px 0 62px; background: linear-gradient(180deg, #f6f7f9 0%, #f2f4f7 100%); }
.dit-disclosure { margin-top: 18px; padding-left: 14px; border-left: 2px solid var(--line-2); font-size: 15px; line-height: 22px; color: var(--muted-2); }
.dit-examples__table { --ex-cols: minmax(0, 1.08fr) minmax(0, 1fr) minmax(0, 1fr); --ex-gap: 54px; }
.dit-examples__labels { display: grid; grid-template-columns: var(--ex-cols); column-gap: var(--ex-gap); padding-bottom: 11px; border-bottom: 1px solid #aeb9c8; font-size: 14px; line-height: 20px; font-weight: 600; color: var(--muted); }
.dit-example { display: grid; grid-template-columns: var(--ex-cols); grid-template-rows: auto 1fr; column-gap: var(--ex-gap); padding: 22px 0; border-bottom: 1px solid var(--line-2); }
.dit-example:last-child { padding-bottom: 0; border-bottom: 0; }
.dit-example__title { grid-column: 1; grid-row: 1; font-size: 18px; line-height: 24px; font-weight: 700; }
.dit-example__cell { position: relative; }
.dit-example__cell--situation { grid-column: 1; grid-row: 2; margin-top: 6px; }
.dit-example__cell--action { grid-column: 2; grid-row: 1 / 3; }
.dit-example__cell--acceptance { grid-column: 3; grid-row: 1 / 3; }
.dit-example__label { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.dit-example__text { font-size: 15.5px; line-height: 23px; color: var(--text); }
.dit-example__arrow { position: absolute; top: 2px; left: calc(-1 * var(--ex-gap) / 2 - 10px); width: 20px; height: 20px; color: var(--red); }
.dit-example__arrow .dit-icon { width: 20px; height: 20px; stroke-width: 1.8; }

/* ---------- B04 experience ---------- */
.dit-exp { padding: 54px 0 56px; color: #fff; background: radial-gradient(ellipse 60% 120% at 38% 0%, #424a51 0, rgba(66, 74, 81, 0) 100%), linear-gradient(110deg, #262d34 0%, #20262c 100%); }
.dit-exp__grid { display: grid; grid-template-columns: 360px 350px minmax(0, 1fr); column-gap: 60px; align-items: start; }
.dit-exp .dit-h2 { font-size: 31px; line-height: 37px; color: #fff; }
.dit-exp__year { position: relative; margin-top: 2px; }
.dit-exp__year svg { display: block; width: 100%; height: auto; }
.dit-exp__year svg g { stroke: #eef1f5; }
.dit-exp__year::after { content: ''; position: absolute; top: 2px; bottom: 2px; right: -34px; width: 2px; background: var(--red); }
.dit-exp__name { font-size: 29px; line-height: 35px; font-weight: 700; letter-spacing: -0.01em; }
.dit-exp__role { margin-top: 4px; font-size: 15.5px; line-height: 22px; color: #c1cad4; }
.dit-exp__text { margin-top: 14px; font-size: 16px; line-height: 25px; color: #eef1f4; max-width: 760px; }
.dit-exp__role + .dit-exp__text { margin-top: 18px; }

/* ---------- B05 process ---------- */
.dit-process { padding: 62px 0 60px; background: linear-gradient(155deg, #ffffff 0%, #f8f9fc 60%, #f3f5f9 100%); }
.dit-process__top { display: grid; grid-template-columns: var(--head-col) minmax(0, 1fr) 250px; column-gap: var(--col-gap); align-items: start; }
.dit-process__top .dit-head { display: contents; }
.dit-process__top .dit-h2 { grid-column: 1; grid-row: 1; }
.dit-process__top .dit-rule { grid-column: 1; grid-row: 2; }
.dit-process__top .dit-lead { grid-column: 2; grid-row: 1 / 3; align-self: end; max-width: 620px; margin-top: 0; }
.dit-process__art { grid-column: 3; grid-row: 1 / 3; width: 250px; margin: -18px 0 -40px auto; pointer-events: none; }

.dit-route { --node: 46px; position: relative; display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); grid-template-rows: auto auto; margin-top: 26px; }
.dit-step { position: relative; }
.dit-step__num { display: flex; align-items: center; justify-content: center; width: var(--node); height: var(--node); border: 1.5px solid var(--red); border-radius: 50%; background: #fff; color: var(--red-text); font-size: 17px; line-height: 1; font-weight: 600; box-shadow: 0 4px 10px rgba(146, 18, 35, 0.07); }
.dit-step__title { font-size: 16.5px; line-height: 22px; font-weight: 700; }
.dit-step__text { margin-top: 8px; font-size: 15px; line-height: 22px; color: var(--text); }
/* main line: 1 → 3 → 4 → 5 → 6, texts under the nodes */
.dit-step--main { grid-row: 2; padding-right: 26px; }
.dit-step--main::before { content: ''; position: absolute; left: 0; right: 0; top: calc(var(--node) / 2 - 1px); height: 2px; background: var(--red); }
.dit-step--main .dit-step__num { position: relative; z-index: 1; }
.dit-step--main .dit-step__title { margin-top: 16px; }
.dit-step[data-step="discussion"] { grid-column: 1 / 3; }
.dit-step[data-step="proposal"] { grid-column: 3 / 5; }
.dit-step[data-step="agreement"] { grid-column: 5 / 7; }
.dit-step[data-step="work"] { grid-column: 7 / 9; }
.dit-step[data-step="acceptance"] { grid-column: 9 / 11; }
.dit-step[data-step="acceptance"]::before { right: 0; }
/* optional branches above the line (dashed): 2 between 1 and 3, 7 after 6 */
.dit-step--optional { grid-row: 1; align-self: end; margin-bottom: 30px; }
.dit-step[data-step="diagnostic"] { grid-column: 2 / 5; margin-right: 26px; }
.dit-step[data-step="support"] { grid-column: 9 / 11; }
.dit-step--optional .dit-step__card { position: relative; display: grid; grid-template-columns: var(--node) minmax(0, 1fr); column-gap: 14px; padding: 14px 18px 16px 14px; border: 1px dashed #8e99a8; border-radius: 13px; background: rgba(255, 255, 255, 0.82); }
.dit-step--optional .dit-step__num { border-style: dashed; border-color: #8e99a8; color: var(--muted); box-shadow: none; grid-row: 1 / 3; }
.dit-step--optional .dit-step__title { align-self: center; }
.dit-step--optional .dit-step__text { grid-column: 2; margin-top: 6px; }
.dit-step__branch { position: absolute; top: 100%; width: 0; border-left: 1.5px dashed #8e99a8; pointer-events: none; }
.dit-step__branch--out { left: 22px; height: calc(30px + var(--node) / 2); }
.dit-step__branch--in { left: calc(var(--in, 33.333%) + var(--node) / 2 - 9px); height: 30px; }
.dit-step__branch--in::after { content: ''; position: absolute; left: -5.5px; bottom: 0; width: 8px; height: 8px; border-right: 1.5px solid #8e99a8; border-bottom: 1.5px solid #8e99a8; transform: rotate(45deg); }
.dit-step[data-step="support"] .dit-step__branch--out { left: calc(var(--node) / 2 - 1px); }

.dit-client { display: flex; align-items: center; gap: 40px; margin-top: 40px; padding: 26px 32px; border: 1px solid #fff; border-radius: 14px; background: linear-gradient(120deg, #f9fafc, #eef1f6); box-shadow: 0 8px 18px rgba(51, 65, 85, 0.08); }
.dit-client__title { font-size: 21px; line-height: 27px; font-weight: 700; }
.dit-client__text p { margin-top: 8px; max-width: 860px; font-size: 16px; line-height: 24px; color: var(--text); }
.dit-client__cta { flex: none; margin-left: auto; }

/* ---------- B06 formats and cost ---------- */
.dit-formats { padding: 60px 0 64px; background: #fff; }
.dit-formats__grid { grid-template-rows: auto auto; }
.dit-formats__grid > .dit-head { grid-row: 1 / 3; }
.dit-formats__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.dit-format { padding: 0 28px; border-left: 2px solid var(--red); }
.dit-format:first-child { padding-left: 0; border-left: 0; }
.dit-format:last-child { padding-right: 0; }
.dit-format__title { font-size: 21px; line-height: 27px; font-weight: 700; }
.dit-format__text { margin-top: 10px; font-size: 15.5px; line-height: 23px; color: var(--muted); }
.dit-cost { grid-column: 2; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); column-gap: 40px; margin: 30px 0 0 -26px; padding: 30px 34px 32px; border-radius: 16px; color: #fff; background: radial-gradient(ellipse 60% 140% at 30% 0%, #454d55 0, rgba(69, 77, 85, 0) 100%), #262d34; box-shadow: 0 18px 30px rgba(33, 42, 50, 0.12); }
.dit-cost__title { font-size: 21px; line-height: 27px; font-weight: 700; }
.dit-cost__main p { margin-top: 12px; font-size: 15.5px; line-height: 24px; color: #e9edf2; }
.dit-cost__side { padding-left: 36px; border-left: 1px solid #5d6873; }
.dit-cost__free { font-size: 15.5px; line-height: 24px; color: #fff; }
.dit-cost__independent { margin-top: 14px; padding-top: 14px; border-top: 1px solid #5d6873; font-size: 15px; line-height: 23px; color: #d9dfe6; }
.dit-cost__cta { margin-top: 20px; }

/* ---------- B07 questions ---------- */
.dit-faq { padding: 56px 0 64px; background: linear-gradient(180deg, #ffffff 0%, #f8f9fb 100%); }
.dit-faq__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 46px; align-items: start; }
.dit-faq__list { border-top: 1px solid var(--line); }
.dit-faq__item { border-bottom: 1px solid var(--line); transition: background-color var(--ease); }
.dit-faq__q { font-size: inherit; line-height: inherit; font-weight: inherit; }
.dit-faq__btn { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; width: 100%; min-height: 54px; padding: 15px 2px 15px 0; border: 0; background: none; text-align: left; font-size: 16.5px; line-height: 23px; font-weight: 600; color: var(--ink); cursor: pointer; }
.dit-faq__btn:hover { color: var(--red-text); }
.dit-faq__sign { position: relative; flex: none; width: 16px; height: 16px; margin-top: 4px; }
.dit-faq__sign::before, .dit-faq__sign::after { content: ''; position: absolute; left: 0; top: 7px; width: 16px; height: 2px; border-radius: 1px; background: var(--red); transition: transform var(--ease); }
.dit-faq__sign::after { transform: rotate(90deg); }
.dit-faq__item.is-open { margin: 8px 0; padding: 0 18px; border-bottom-color: transparent; border-radius: 10px; background: linear-gradient(125deg, #f2f5f9, #eaeef4); }
.dit-faq__item.is-open .dit-faq__sign::after { transform: rotate(0deg); }
.dit-faq__a p { padding: 0 34px 18px 0; font-size: 15.5px; line-height: 24px; color: var(--text); }

/* ---------- B08 request ---------- */
.dit-request { position: relative; overflow: hidden; padding: 60px 0 64px; color: #fff; background: radial-gradient(ellipse 55% 90% at 8% 0%, #4a525a 0, rgba(74, 82, 90, 0) 100%), linear-gradient(110deg, #262d34 0%, #20262c 100%); }
.dit-request__grid { display: grid; grid-template-columns: 430px minmax(0, 1fr); column-gap: 146px; align-items: start; }
.dit-request__intro { position: relative; padding-top: 8px; }
.dit-request .dit-h2 { font-size: 38px; line-height: 43px; color: #fff; }
.dit-request__lead { position: relative; z-index: 1; max-width: 390px; margin-top: 24px; font-size: 17px; line-height: 27px; color: #f0f2f6; }
.dit-request__schedule { position: relative; z-index: 1; display: flex; gap: 14px; margin-top: 26px; max-width: 380px; font-size: 15.5px; line-height: 24px; color: #ced5df; }
.dit-request__schedule .dit-icon { width: 26px; height: 26px; margin-top: 1px; color: #fff; stroke-width: 1.4; }
.dit-glass { position: absolute; left: 404px; top: 128px; width: 280px; height: 320px; transform: skewY(-12deg); pointer-events: none; }
.dit-glass i { position: absolute; top: 48px; left: 0; width: 160px; height: 250px; border: 1px solid rgba(196, 204, 214, 0.62); border-radius: 12px; background: linear-gradient(120deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.16) 48%, rgba(255, 255, 255, 0.02)); box-shadow: inset 1px 1px 0 rgba(255, 255, 255, 0.45), 0 18px 30px rgba(0, 0, 0, 0.18); }
.dit-glass i:nth-child(2) { left: 52px; top: 22px; border-right: 2px solid #ff4752; box-shadow: inset 1px 1px 0 rgba(255, 255, 255, 0.45), 14px 0 30px rgba(255, 26, 54, 0.30), 0 18px 30px rgba(0, 0, 0, 0.18); }
.dit-glass i:nth-child(3) { left: 104px; top: -4px; }

.dit-card { position: relative; z-index: 2; padding: 30px 34px 30px; border: 1px solid #fff; border-radius: 16px; background: linear-gradient(145deg, #ffffff, #f8faff); color: var(--ink); box-shadow: 0 18px 40px rgba(7, 16, 26, 0.24); outline: none; }
.dit-form__fields { display: block; }
.dit-form__idle { font-size: 17px; line-height: 25px; font-weight: 600; }
.dit-form__req { margin-top: 6px; font-size: 13.5px; line-height: 20px; color: var(--muted); }
.dit-field { margin-top: 22px; }
.dit-label { display: block; font-size: 15.5px; line-height: 22px; font-weight: 600; color: var(--ink); }
.dit-req { color: var(--red-text); font-weight: 600; }
.dit-hint { margin-top: 6px; font-size: 13.5px; line-height: 20px; color: var(--muted); }
.dit-optional { margin-top: 1px; font-size: 13px; line-height: 18px; color: var(--muted-2); }
.dit-error { display: flex; gap: 7px; margin-top: 8px; font-size: 13.5px; line-height: 20px; font-weight: 500; color: var(--error); }
.dit-error::before { content: '!'; display: inline-flex; flex: none; align-items: center; justify-content: center; width: 16px; height: 16px; margin-top: 2px; border: 1.5px solid currentColor; border-radius: 50%; font-size: 11px; line-height: 1; font-weight: 700; }
.dit-error[hidden] { display: none; }

.dit-channels__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.dit-channels.is-invalid .dit-channels__grid { padding: 6px; margin-left: -7px; margin-right: -7px; border: 1.5px solid var(--error-line); border-radius: 11px; }
.dit-channel { position: relative; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 10px 8px; border: 1px solid #d5dce5; border-radius: 9px; background: linear-gradient(150deg, #ffffff, #f6f8fc); font-size: 14.5px; line-height: 19px; font-weight: 600; cursor: pointer; transition: border-color var(--ease), background-color var(--ease), box-shadow var(--ease); -webkit-tap-highlight-color: transparent; }
.dit-channel input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.dit-channel__radio { flex: none; width: 14px; height: 14px; border: 1px solid #a9b4c3; border-radius: 50%; background: #fff; }
.dit-channel .dit-icon { width: 19px; height: 19px; stroke-width: 1.5; }
.dit-channel:hover { border-color: #9aa6b6; }
.dit-channel:has(input:checked) { border-color: var(--red); box-shadow: inset 0 0 0 1px var(--red); background: #fff2f3; }
.dit-channel:has(input:checked) .dit-channel__radio { border: 4px solid var(--red); }
.dit-channel:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 3px; }
.dit-contact-before { margin-top: 14px; }
.dit-contact-before[hidden], .dit-contact[hidden] { display: none; }
.dit-input { display: block; width: 100%; min-height: 52px; margin-top: 9px; padding: 13px 14px; border: 1px solid #b9c4d2; border-radius: 8px; background: #fff; box-shadow: inset 0 1px 2px rgba(27, 44, 66, 0.06); font-size: 16px; line-height: 24px; color: #202b3b; transition: border-color var(--ease), box-shadow var(--ease); }
.dit-input::placeholder { color: var(--placeholder); opacity: 1; }
.dit-input:hover { border-color: #8f9cad; }
.dit-input:focus { border-color: #3159ba; box-shadow: 0 0 0 3px rgba(49, 89, 186, 0.18); outline: none; }
.dit-input[aria-invalid="true"] { border: 1.5px solid var(--error-line); }
.dit-textarea { min-height: 128px; resize: vertical; }
.dit-select { position: relative; margin-top: 9px; }
.dit-select select { display: block; width: 100%; min-height: 52px; padding: 13px 44px 13px 14px; border: 1px solid #b9c4d2; border-radius: 8px; background: #fff; font-size: 16px; line-height: 24px; color: #202b3b; appearance: none; -webkit-appearance: none; cursor: pointer; }
.dit-select select:focus { border-color: #3159ba; box-shadow: 0 0 0 3px rgba(49, 89, 186, 0.18); outline: none; }
.dit-select .dit-icon { position: absolute; right: 14px; top: 50%; width: 18px; height: 18px; margin-top: -9px; pointer-events: none; }

.dit-details { margin-top: 22px; border-top: 1px solid #d3dbe5; border-bottom: 1px solid #d3dbe5; }
.dit-details__toggle { display: flex; justify-content: space-between; align-items: center; gap: 16px; width: 100%; min-height: 52px; padding: 12px 0; border: 0; background: none; text-align: left; font-size: 15.5px; line-height: 22px; font-weight: 600; color: var(--ink); cursor: pointer; }
.dit-details__toggle .dit-icon { width: 20px; height: 20px; transition: transform var(--ease); }
.dit-details__toggle[aria-expanded="true"] .dit-icon { transform: rotate(180deg); }
.dit-details__toggle:hover { color: var(--red-text); }
.dit-details__panel { padding: 0 0 22px; }
.dit-details__panel .dit-field:first-child { margin-top: 4px; }

.dit-topicctx { margin-top: 20px; padding: 14px 16px 14px; border: 1px solid #f1c6cb; border-left: 3px solid var(--red); border-radius: 8px; background: #fff7f8; outline: none; }
.dit-topicctx[hidden] { display: none; }
.dit-topicctx__label { font-size: 13px; line-height: 18px; color: var(--muted); }
.dit-topicctx__value { margin-top: 4px; font-size: 16.5px; line-height: 23px; font-weight: 700; }
.dit-topicctx__actions { display: flex; flex-wrap: wrap; gap: 4px 20px; margin-top: 6px; }
.dit-linkbtn { min-height: 36px; padding: 0; border: 0; background: none; font-size: 14px; line-height: 20px; font-weight: 500; color: var(--red-text); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; cursor: pointer; }
.dit-linkbtn:hover { color: #9c000b; }
.dit-topicctx__hint { margin-top: 4px; }

.dit-consent { margin-top: 20px; }
.dit-check { position: relative; display: grid; grid-template-columns: 22px minmax(0, 1fr); column-gap: 12px; align-items: start; font-size: 14.5px; line-height: 21px; cursor: pointer; }
.dit-check__input { position: absolute; left: 0; top: 0; width: 22px; height: 22px; margin: 0; opacity: 0; cursor: pointer; }
.dit-check__box { display: flex; align-items: center; justify-content: center; width: 22px; height: 22px; border: 1.5px solid #7b8796; border-radius: 4px; background: #fff; color: #fff; }
.dit-check__box .dit-icon { width: 15px; height: 15px; stroke-width: 2.4; opacity: 0; }
.dit-check__input:checked + .dit-check__box { border-color: var(--red); background: var(--red); }
.dit-check__input:checked + .dit-check__box .dit-icon { opacity: 1; }
.dit-check__input:focus-visible + .dit-check__box { outline: 3px solid var(--focus); outline-offset: 3px; }
.dit-check__input[aria-invalid="true"] + .dit-check__box { border: 2px solid var(--error-line); }
.dit-check__text { padding-top: 1px; color: var(--ink); }
.dit-legal { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 8px; padding-left: 34px; font-size: 13px; line-height: 19px; }
.dit-legal a { color: #526277; text-underline-offset: 3px; }

.dit-form__message { margin-top: 20px; padding: 13px 15px; border-left: 3px solid #8592a4; border-radius: 6px; background: #edf2f8; font-size: 14.5px; line-height: 21px; color: var(--ink); outline: none; }
.dit-form__message[hidden] { display: none; }
.dit-form__message.is-invalid, .dit-form__message.is-error, .dit-form__message.is-unconfirmed { border-left-color: var(--error-line); background: #fff1f2; color: #3f1f23; }
.dit-form__submit { margin-top: 22px; min-height: 56px; }
.dit-form__note { margin-top: 12px; font-size: 13.5px; line-height: 20px; color: var(--muted); }
.dit-form[data-state="sending"] .dit-form__fields { opacity: 0.72; }

.dit-success { padding: 10px 0 4px; }
.dit-success[hidden] { display: none; }
.dit-success__mark { display: flex; align-items: center; justify-content: center; width: 64px; height: 64px; border: 1px solid #ffb4bb; border-radius: 50%; background: #fff4f5; color: var(--red); }
.dit-success__mark .dit-icon { width: 28px; height: 28px; stroke-width: 2; }
.dit-success__title { margin-top: 22px; font-size: 28px; line-height: 34px; font-weight: 700; outline: none; }
.dit-success__text { margin-top: 14px; font-size: 16.5px; line-height: 25px; color: var(--text); }
.dit-success .dit-btn--ghost { margin-top: 26px; }
.dit-reset { position: absolute; inset: 0; z-index: 3; display: flex; align-items: center; justify-content: center; padding: 18px; border-radius: 16px; background: rgba(19, 35, 51, 0.5); }
.dit-reset[hidden] { display: none; }
.dit-reset__box { width: 100%; max-width: 420px; padding: 26px 24px; border-radius: 14px; background: #fff; box-shadow: 0 15px 35px rgba(5, 16, 28, 0.3); }
.dit-reset__title { font-size: 24px; line-height: 30px; font-weight: 700; outline: none; }
.dit-reset__text { margin: 12px 0 20px; font-size: 16px; line-height: 24px; color: var(--text); }
.dit-reset__box .dit-btn + .dit-btn { margin-top: 12px; }

/* =====================================================================================================
 * Desktop 1200–1359 (reference 1280): gutter 48
 * ===================================================================================================== */
@media (max-width: 1359px) {
  .dit { --pad: 48px; --head-col: 330px; --col-gap: 48px; }
  .s3-header__nav { margin-right: 48px; }
  .dit-hero__grid { grid-template-columns: 500px minmax(0, 1fr); }
  .dit-hero__art img { width: 770px; left: -30px; top: -38px; }
  .dit-h1 { font-size: 48px; line-height: 51px; }
  .dit-rail__link { gap: 10px; padding: 4px 8px; margin: 0 4px; font-size: 14px; }
  .dit-rail__link .dit-icon { width: 25px; height: 25px; }
  .dit-topics { column-gap: 56px; }
  .dit-exp__grid { grid-template-columns: 320px 310px minmax(0, 1fr); column-gap: 52px; }
  .dit-exp__year::after { right: -30px; }
  .dit-request__grid { grid-template-columns: 400px minmax(0, 1fr); column-gap: 110px; }
  .dit-glass { left: 380px; }
}

/* =====================================================================================================
 * Desktop 1000–1199 (reference 1024): gutter 32
 * ===================================================================================================== */
@media (max-width: 1199px) {
  .dit { --pad: 32px; --head-col: 260px; --col-gap: 40px; }
  .dit-hero__grid { grid-template-columns: 450px minmax(0, 1fr); }
  .dit-hero__art img { width: 590px; left: -6px; top: 10px; }
  .dit-h1 { font-size: 44px; line-height: 48px; max-width: 440px; }
  .dit-hero__intro { max-width: 430px; font-size: 17px; line-height: 26px; }
  .dit-hero__note { max-width: 430px; }
  /* section heads above their content: the content gets the whole column */
  .dit-split { grid-template-columns: 1fr; row-gap: 30px; }
  .dit-head { max-width: 780px; }
  .dit-formats__grid > .dit-head { grid-row: auto; }
  .dit-route { --in: 25%; }
  .dit-step[data-step="diagnostic"] { grid-column: 2 / 6; }
  .dit-rail__list { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 4px; }
  .dit-rail__item:nth-child(3n + 1)::before { display: none; }
  .dit-h2 { font-size: 29px; line-height: 34px; }
  .dit-topics { column-gap: 44px; }
  .dit-examples__table { --ex-gap: 44px; }
  .dit-exp__grid { grid-template-columns: 260px 230px minmax(0, 1fr); column-gap: 48px; }
  .dit-exp__year::after { right: -25px; }
  .dit-exp .dit-h2 { font-size: 28px; line-height: 34px; }
  .dit-process__top { grid-template-columns: var(--head-col) minmax(0, 1fr) 200px; }
  .dit-process__art { width: 200px; }
  .dit-step--main { padding-right: 18px; }
  .dit-step__title { font-size: 15.5px; line-height: 21px; }
  .dit-step__text { font-size: 14.5px; line-height: 21px; }
  .dit-step[data-step="support"] { grid-column: 8 / 11; }
  .dit-step[data-step="support"] .dit-step__branch--out { left: calc(33.333% + var(--node) / 2 - 1px); }
  .dit-formats__grid { grid-template-rows: none; }
  .dit-cost { grid-column: 1 / -1; margin: 0; }
  .dit-faq__cols { column-gap: 32px; }
  .s3-footer__inner { grid-template-columns: 300px minmax(0, 1fr); }
  .s3-footer__nav { grid-auto-columns: minmax(0, 1fr); }
  .dit-request__grid { grid-template-columns: 330px minmax(0, 1fr); column-gap: 56px; }
  .dit-glass { display: none; }
}

/* =====================================================================================================
 * Tablet 800–999: Shell mobile header; heads above their content
 * ===================================================================================================== */
@media (max-width: 999px) {
  .dit { --head-col: 1fr; }
  .s3-header__nav, .s3-header__cta { display: none; }
  .s3-header__brand .s3-brand__logo { width: 140px; }
  .s3-header.is-scrolled .s3-header__brand .s3-brand__logo { width: 118px; }
  .s3-header__menu-btn { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin-left: auto; margin-right: -8px; border: 0; background: transparent; color: var(--ink); cursor: pointer; }
  .s3-header__menu-btn .s3-icon { width: 32px; height: 22px; stroke-width: 2; stroke-linecap: butt; }
  .s3-footer { padding: 30px 0 26px; }
  .s3-footer__inner { grid-template-columns: 1fr; row-gap: 0; }
  .s3-footer__brand .s3-brand__logo { width: 140px; }
  .s3-footer__nav { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-columns: auto; margin-top: 14px; column-gap: 10px; row-gap: 2px; }
  .s3-footer__legal { margin-top: 10px; padding-top: 10px; gap: 2px; flex-direction: column; font-size: 17px; line-height: 22px; }
  .s3-footer__links a { min-height: 44px; }

  .dit { --header-h: 86px; --header-compact: 64px; }   /* Shell mobile header as published */
  html { scroll-padding-top: 76px; }
  .dit-hero { padding-top: calc(var(--header-h) + 8px); }
  .dit-hero__grid { grid-template-columns: 1fr; }
  .dit-hero__art { margin-top: 16px; }
  .dit-hero__art img { position: static; width: 100%; max-width: 720px; margin: -40px auto -60px; }
  .dit-hero__foot { margin-top: 30px; }
  .dit-rail__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dit-rail__item::before { display: none; }
  .dit-exp__grid { grid-template-columns: 1fr; row-gap: 26px; }
  .dit-exp__year { order: -1; width: 260px; }
  .dit-exp__year::after { display: none; }
  .dit-process__top { grid-template-columns: 1fr; }
  .dit-process__top .dit-h2, .dit-process__top .dit-rule, .dit-process__top .dit-lead { grid-column: 1; grid-row: auto; }
  .dit-process__top .dit-lead { margin-top: 22px; }
  .dit-process__art { display: none; }
  /* one vertical route: 1 → (2) → 3 → 4 → 5 → 6 → (7) */
  .dit-route { display: block; margin-top: 32px; }
  .dit-step { position: relative; padding: 0 0 26px 64px; margin: 0; }
  .dit-step::before { content: ''; position: absolute; left: calc(var(--node) / 2 - 1px); top: var(--node); bottom: 0; width: 2px; height: auto; right: auto; background: var(--red); }
  .dit-step:last-child { padding-bottom: 0; }
  .dit-step:last-child::before { display: none; }
  .dit-step__num { position: absolute; left: 0; top: 0; }
  .dit-step--main .dit-step__title { margin-top: 0; padding-top: 11px; }
  .dit-step--main { padding-right: 0; }
  .dit-step--optional { margin: 0; padding-left: 64px; }
  .dit-step--optional::before { background: none; border-left: 2px dashed #8e99a8; width: 0; left: calc(var(--node) / 2 - 1px); }
  .dit-step[data-step="diagnostic"] { margin-right: 0; }
  .dit-step--optional .dit-step__card { display: block; padding: 14px 16px 16px; margin-left: 10px; }
  .dit-step--optional .dit-step__num { position: absolute; left: -74px; top: 0; }
  .dit-step--optional .dit-step__title { padding-top: 0; }
  .dit-step__branch { display: none; }
  .dit-step[data-step="discussion"]::before { background: var(--red); }
  .dit-client { flex-direction: column; align-items: flex-start; gap: 20px; }
  .dit-client__cta { margin-left: 0; }
  .dit-formats__list { grid-template-columns: 1fr; row-gap: 20px; }
  .dit-format, .dit-format:first-child { padding: 0 0 0 20px; border-left: 2px solid var(--red); }
  .dit-cost { grid-template-columns: 1fr; row-gap: 22px; }
  .dit-cost__side { padding: 22px 0 0; border-left: 0; border-top: 1px solid #5d6873; }
  .dit-faq__cols { grid-template-columns: 1fr; }
  .dit-faq__cols .dit-faq__list + .dit-faq__list { border-top: 0; }
  .dit-request__grid { grid-template-columns: 1fr; row-gap: 32px; }
}

/* =====================================================================================================
 * Mobile / one column (<= 799 px). Reference 390 (gutter 22) and 360 (gutter 19)
 * ===================================================================================================== */
@media (max-width: 799px) {
  .dit { --pad: 22px; }
  .s3-btn { min-height: 55px; padding: 0 20px; font-size: 19px; line-height: 21px; }
  .s3-header .s3-header__inner, .s3-menu { padding-left: var(--pad); padding-right: var(--pad); }

  .dit-h1 { margin-top: 12px; max-width: none; font-size: 38px; line-height: 42px; letter-spacing: -0.02em; }
  .dit-h2 { font-size: 30px; line-height: 35px; }
  .dit-lead { margin-top: 20px; font-size: 18px; line-height: 27px; }
  .dit-rule { margin-top: 18px; }
  .dit-eyebrow { font-size: 15px; }
  .dit-hero { padding-bottom: 34px; }
  .dit-hero__intro { margin-top: 18px; font-size: 18px; line-height: 27px; }
  .dit-hero__cta { display: flex; width: 100%; min-width: 0; margin-top: 24px; }
  .dit-hero__note { margin-top: 14px; font-size: 15.5px; line-height: 23px; }
  .dit-hero__art { margin-top: 6px; }
  .dit-hero__art img { width: calc(100% + 30px); max-width: none; margin: -18px -15px -36px; }
  .dit-hero__foot { margin-top: 26px; }
  .dit-rail__list { gap: 8px; padding: 0; background: none; border: 0; border-radius: 0; box-shadow: none; }
  .dit-rail__item { background: linear-gradient(160deg, #ffffff, #f9fafc); border: 1px solid #fff; border-radius: 11px; box-shadow: 0 6px 14px rgba(51, 65, 89, 0.08), 0 1px 3px rgba(51, 65, 89, 0.05); }
  .dit-rail__link { margin: 0; padding: 8px 10px; min-height: 58px; gap: 10px; font-size: 14.5px; line-height: 18px; }
  .dit-rail__link .dit-icon { width: 24px; height: 24px; }
  .dit-helper { justify-content: flex-start; align-items: flex-start; margin-top: 20px; font-size: 15.5px; line-height: 23px; }
  .dit-helper .dit-icon { margin-top: 1px; }

  .dit-tasks { padding: 52px 0 48px; }
  .dit-topics { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-flow: row; }
  .dit-topics::before { display: none; }
  .dit-topic, .dit-topic:nth-child(3n + 1) { padding: 24px 0 20px; border-bottom: 1px solid var(--line); }
  .dit-topic:first-child { padding-top: 0; }
  .dit-topic:last-child { border-bottom: 0; padding-bottom: 0; }
  .dit-topic:nth-child(3) { border-bottom: 1px solid var(--line); padding-bottom: 20px; }
  .dit-topic { grid-template-columns: 28px minmax(0, 1fr); column-gap: 14px; }
  .dit-topic__icon .dit-icon { width: 28px; height: 28px; }
  .dit-topic__title { font-size: 20px; line-height: 26px; }
  .dit-topic__text { margin-top: 10px; font-size: 17px; line-height: 26px; }
  .dit-textcta { min-height: 44px; font-size: 16.5px; line-height: 22px; }

  .dit-examples { padding: 52px 0 52px; }
  .dit-disclosure { font-size: 16px; line-height: 24px; }
  .dit-examples__labels { display: none; }
  .dit-examples__list { display: grid; row-gap: 16px; }
  .dit-example, .dit-example:last-child { display: block; padding: 20px 18px 22px; border: 1px solid #fff; border-radius: 14px; background: linear-gradient(150deg, #ffffff, #f7f9fc); box-shadow: 0 6px 16px rgba(51, 65, 85, 0.07); }
  .dit-example__title { font-size: 20px; line-height: 26px; }
  .dit-example__cell { position: relative; margin-top: 16px; padding-left: 26px; }
  .dit-example__cell::before { content: ''; position: absolute; left: 0; top: 4px; width: 13px; height: 13px; border: 2px solid var(--red); border-radius: 50%; background: #fff; }
  .dit-example__cell + .dit-example__cell::after { content: ''; position: absolute; left: 7px; top: -34px; height: 36px; width: 1.5px; background: #d9dee6; z-index: 0; }
  .dit-example__cell--situation { margin-top: 16px; }
  .dit-example__label { position: static; width: auto; height: auto; margin: 0; overflow: visible; clip: auto; clip-path: none; white-space: normal; display: block; font-size: 16px; line-height: 22px; font-weight: 700; color: var(--red-text); }
  .dit-example__text { margin-top: 4px; font-size: 17px; line-height: 26px; }
  .dit-example__arrow { display: none; }

  .dit-exp { padding: 48px 0 50px; }
  .dit-exp__year { width: 220px; }
  .dit-exp .dit-h2 { font-size: 29px; line-height: 35px; }
  .dit-exp__name { font-size: 26px; line-height: 32px; }
  .dit-exp__role { font-size: 16px; }
  .dit-exp__text { font-size: 17px; line-height: 27px; }

  .dit-process { padding: 52px 0 50px; }
  .dit-route { --node: 42px; }
  .dit-step { padding-left: 58px; }
  .dit-step--main .dit-step__title { padding-top: 9px; }
  .dit-step__title { font-size: 18px; line-height: 24px; }
  .dit-step__text { margin-top: 6px; font-size: 16.5px; line-height: 25px; }
  .dit-step--optional { padding-left: 58px; }
  .dit-step--optional .dit-step__card { margin-left: 4px; padding: 14px 14px 16px; }
  .dit-step--optional .dit-step__num { left: -62px; }
  .dit-client { margin-top: 32px; padding: 22px 18px; }
  .dit-client__title { font-size: 20px; line-height: 26px; }
  .dit-client__text p { font-size: 17px; line-height: 26px; }
  .dit-client__cta { display: flex; width: 100%; }

  .dit-formats { padding: 52px 0 52px; }
  .dit-format__title { font-size: 20px; line-height: 26px; }
  .dit-format__text { font-size: 17px; line-height: 26px; }
  .dit-cost { margin-top: 26px; padding: 24px 20px 24px; }
  .dit-cost__title { font-size: 20px; line-height: 26px; }
  .dit-cost__main p, .dit-cost__free { font-size: 17px; line-height: 26px; }
  .dit-cost__independent { font-size: 16.5px; line-height: 25px; }
  .dit-cost__cta { display: flex; width: 100%; }

  .dit-faq { padding: 50px 0 52px; }
  .dit-faq__btn { min-height: 56px; padding: 16px 0; font-size: 17px; line-height: 24px; }
  .dit-faq__item.is-open { padding: 0 14px; }
  .dit-faq__a p { padding-right: 0; font-size: 16.5px; line-height: 25px; }

  .dit-request { padding: 50px 0 48px; }
  .dit-request .dit-h2 { font-size: 33px; line-height: 38px; }
  .dit-request__lead { margin-top: 20px; font-size: 17.5px; line-height: 27px; }
  .dit-request__schedule { margin-top: 20px; font-size: 16px; line-height: 25px; }
  .dit-card { margin: 0 -6px; padding: 24px 18px 24px; border-radius: 14px; }
  .dit-form__idle { font-size: 17px; line-height: 25px; }
  .dit-form__req { font-size: 14px; }
  .dit-label { font-size: 16px; line-height: 23px; }
  .dit-hint { font-size: 14px; line-height: 20px; }
  .dit-error { font-size: 14px; }
  .dit-channels__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .dit-channel { min-height: 52px; font-size: 15px; justify-content: flex-start; padding: 10px 12px; }
  .dit-check { font-size: 15px; line-height: 22px; }
  .dit-form__note { font-size: 14px; }
  .dit-success__title { font-size: 26px; line-height: 32px; }
}

/* 360 reference: gutter 19 */
@media (max-width: 374px) {
  .dit { --pad: 19px; }
  .dit-h1 { font-size: 35px; line-height: 39px; }
  .dit-h2 { font-size: 29px; line-height: 34px; }
  .dit-request .dit-h2 { font-size: 31px; line-height: 36px; }
  .dit-rail__link { padding: 8px 8px; gap: 8px; font-size: 14px; }
  .dit-rail__link .dit-icon { width: 22px; height: 22px; }
  .dit-card { margin: 0 -4px; padding: 22px 15px; }
  .dit-channel { padding: 10px 9px; gap: 7px; font-size: 14.5px; }
  .dit-example, .dit-example:last-child { padding: 18px 15px 20px; }
}

/* touch: every link and control has a 44 px target */
@media (pointer: coarse) {
  .dit-linkbtn { min-height: 44px; }
}

.s3-footer__links{display:flex;flex-direction:column;align-items:flex-start;gap:8px}
