/* DDR-PHP-SECURITY · RU · S3 digital.deladel.ru · page stylesheet (local implementation v1.0)
 *
 * PART 1 = css/page.css of DDR-PHP-SECURITY_RU_DESIGN_v1.1 (sha256 ad0dccb1bbfbed114b9cd2bcbb89887d799b472cfbc8861432dd75ea9b762046) byte for byte except the edits marked «IMPL»:
 *   IMPL-1 font: the pilot Liberation Sans faces → the S3 master Nimbus Sans kit (assets/fonts, AGPL-3, unmodified; D07)
 *   IMPL-2 brand: the reconstructed mark + typed wordmark rules → the S3 master logo image (.brand-logo; D07)
 *   IMPL-3 the prototype service toast (.doc-toast) is not part of the page
 * PART 2 = implementation rules (marked per item).
 */
/* IMPL-1 */
@font-face { font-family: "PhpNimbusSans"; src: url("../assets/fonts/NimbusSans-Regular.otf") format("opentype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "PhpNimbusSans"; src: url("../assets/fonts/NimbusSans-Bold.otf") format("opentype"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --ink: #0b0d11;
  --ink-2: #1c2027;
  --muted: #536079;          /* blue-grey secondary text, AA on white and #f4f5f7 */
  --muted-soft: #6a7488;
  --red: #e2001a;            /* buttons / small red text (AA with white text ≥ 4.6:1) */
  --red-hover: #c40016;
  --red-accent: #f60019;     /* sampled from P04; large text and decoration only */
  --line: #dde1e8;
  --line-strong: #c9cfd9;
  --paper: #ffffff;
  --bg: #f5f5f6;
  --bg-band: #eceef1;
  --graphite: #0f1116;
  --graphite-2: #1a1d24;
  --on-dark: #ffffff;
  --on-dark-muted: #c9cfd9;
  --focus: #0b0d11;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-card: 0 1px 2px rgba(16, 24, 40, .05), 0 18px 48px -18px rgba(16, 24, 40, .22);
  --container: 1200px;
  --gutter: 120px;
  --header-h: 80px;
  --font: "PhpNimbusSans", "Nimbus Sans", "Helvetica Neue", Arial, sans-serif; /* IMPL-1 */
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); font-size: 18px; line-height: 1.55; color: var(--ink);
  background: var(--bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, p { margin: 0; }
.h1, .h2, .h3, .h4, .success-title, .faq-q span { text-wrap: balance; }
p { text-wrap: pretty; }
button, input, textarea { font: inherit; color: inherit; }
a { color: inherit; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nb { white-space: nowrap; }
main:focus { outline: none; }

.container { width: min(var(--container), calc(100% - 2 * var(--gutter))); margin-inline: auto; }

.skip-link { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 8px; font-weight: 700; font-size: 17px; text-decoration: none; }
.skip-link:focus { top: 12px; outline: 3px solid var(--red-accent); outline-offset: 2px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 30px; border-radius: var(--radius-sm); border: 2px solid transparent;
  font-size: 18px; font-weight: 700; line-height: 1.2; text-decoration: none; cursor: pointer; text-align: center;
  transition: background-color .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.btn-xl { min-height: 60px; font-size: 19px; padding: 0 34px; }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 10px 24px -12px rgba(226, 0, 26, .55); }
.btn-primary:hover { background: var(--red-hover); box-shadow: 0 14px 30px -12px rgba(226, 0, 26, .65); }
.btn-primary:active { transform: translateY(1px); box-shadow: 0 4px 10px -6px rgba(226, 0, 26, .6); }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-secondary:hover { background: var(--ink); color: #fff; }
.btn-secondary:active { transform: translateY(1px); background: var(--ink-2); }
.btn:focus-visible, .chip:has(input:focus-visible), .faq-q:focus-visible, .link-btn:focus-visible, .nav a:focus-visible,
.icon-btn:focus-visible, .doc-link:focus-visible, .footer-link:focus-visible, .src-link:focus-visible, .brand:focus-visible {
  outline: 3px solid var(--focus); outline-offset: 3px;
}
.on-dark .btn:focus-visible, .on-dark .src-link:focus-visible { outline-color: #fff; }

/* external source link (official PHP announcement) */
.src-link { color: var(--ink); font-weight: 700; text-decoration: underline; text-decoration-color: var(--red-accent); text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.src-link:hover { color: var(--red); }
.src-link .ext { display: inline-block; width: 14px; height: 14px; margin-left: 5px; vertical-align: -1px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid transparent;
  transition: box-shadow .2s ease, border-color .2s ease;
}
.site-header.is-compact { border-bottom-color: var(--line); box-shadow: 0 8px 24px -18px rgba(16, 24, 40, .35); }
.header-row { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 32px; transition: height .2s ease; }
.site-header.is-compact .header-row { height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex: none; }
/* IMPL-2: S3 master logo (560×200 raster with its own white field) */
/* sized so the word «ДЕЛАДЕЛ» keeps the width of the design wordmark (~94 px); the file's own white field (50 px of 560 on
   the left) is pulled outside so the visible mark starts at the container edge, as in the design */
.brand-logo { --logo-w: 176px; width: var(--logo-w); height: auto; flex: none; margin-left: calc(var(--logo-w) * -50 / 560); transition: width .2s ease, margin .2s ease; }
.site-header.is-compact .brand-logo { --logo-w: 150px; }
.site-footer .brand-logo { --logo-w: 150px; }
.nav { display: flex; align-items: center; gap: 32px; margin-left: auto; }
.nav a { font-size: 17px; text-decoration: none; color: var(--ink-2); padding: 10px 0; border-bottom: 2px solid transparent; white-space: nowrap; }
.nav a:hover { border-bottom-color: var(--red); }
.header-cta { min-height: 48px; padding: 0 22px; font-size: 17px; white-space: nowrap; }
.icon-btn { display: none; width: 48px; height: 48px; border: 0; background: transparent; border-radius: 10px; cursor: pointer; align-items: center; justify-content: center; }
.icon-btn svg { width: 28px; height: 28px; }

/* ---------- satin surfaces ---------- */
.satin { background-color: var(--bg); background-image: url("../assets/img/bg-satin-light.jpg"); background-size: cover; background-position: center top; }
.satin-dark { background-color: var(--graphite); background-image: url("../assets/img/bg-satin-graphite.jpg"); background-size: cover; background-position: center; color: var(--on-dark); }

/* ---------- B01 hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 680px) minmax(0, 1fr);
  grid-template-areas: "copy art" "lead art" "actions price" "ease price";
  grid-template-rows: auto auto auto 1fr;
  column-gap: 44px; padding: 44px 0 40px; align-items: start;
}
.hero-copy { grid-area: copy; position: relative; z-index: 2; }
.hero-lead { grid-area: lead; position: relative; z-index: 2; }
.hero-actions { grid-area: actions; position: relative; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; margin-top: 28px; }
.hero-ease { grid-area: ease; position: relative; z-index: 2; margin-top: 18px; }
.hero-price { grid-area: price; position: relative; z-index: 3; margin-top: -20px; }
.hero-art { grid-area: art; position: relative; align-self: stretch; margin-right: calc(-1 * var(--gutter)); min-height: 420px; }
.hero-art img { position: absolute; left: -4%; top: 50%; transform: translateY(-50%); width: 116%; max-width: none; height: auto;
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 62%, transparent 100%); mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 62%, transparent 100%); }
.eyebrow { display: block; font-size: 17px; font-weight: 700; color: var(--muted); letter-spacing: .01em; margin-bottom: 16px; }
.alert { display: inline-flex; align-items: flex-start; gap: 12px; padding: 11px 20px 11px 14px; border-radius: 14px; background: rgba(255, 255, 255, .86); border: 1px solid #e3e6eb; box-shadow: 0 6px 20px -16px rgba(16, 24, 40, .4); font-size: 16px; line-height: 1.45; color: var(--ink-2); max-width: 100%; }
.alert-dot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--red-accent); margin-top: 6px; box-shadow: 0 0 0 4px rgba(246, 0, 25, .12); }
/* the dated statement and its source link never fit one line in the 680px column: a deliberate two-line stack at every width */
.alert-text { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; min-width: 0; }
.alert .src-link { margin-left: 0; white-space: nowrap; }
.h1 { font-size: 64px; line-height: 1.04; font-weight: 700; letter-spacing: -.028em; color: var(--ink); margin-top: 24px; }
.h1 .accent { color: var(--red-accent); }
.lead { font-size: 20px; line-height: 1.5; color: var(--ink-2); max-width: 640px; }
.hero-lead { margin-top: 22px; }
.microcopy { font-size: 16px; line-height: 1.5; color: var(--muted); max-width: 520px; }
.ease { font-size: 16px; line-height: 1.5; color: var(--muted); max-width: 560px; padding-left: 16px; border-left: 2px solid var(--line-strong); }

/* price card: both remediation paths in the first screen */
.hero-price { background: var(--paper); border-radius: 18px; padding: 22px 26px 20px; box-shadow: var(--shadow-card); border: 1px solid #edf0f4; }
.hero-price::before { content: ""; display: block; width: 32px; height: 3px; background: var(--red-accent); margin-bottom: 12px; }
.price { display: flex; flex-direction: column; gap: 2px; }
.price-label { font-size: 17px; font-weight: 700; color: var(--ink-2); line-height: 1.3; }
.price-amount { font-size: 40px; font-weight: 700; line-height: 1.1; letter-spacing: -.02em; color: var(--ink); }
.price-detail { margin-top: 10px; font-size: 16px; line-height: 1.5; color: var(--muted); }
.price-detail .nb { color: var(--ink); font-weight: 700; }
.warranty { display: flex; align-items: center; gap: 10px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 16px; font-weight: 700; color: var(--ink); }
.tick { width: 22px; height: 22px; flex: none; color: var(--red); }

.support { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); margin-top: 4px; padding: 0 0 44px; }
/* child combinator: the sentence spans only, never a nested .nb money span */
.support > span { display: block; padding: 20px 28px 0 0; font-size: 16px; line-height: 1.45; color: var(--ink-2); position: relative; }
.support > span + span { padding-left: 28px; border-left: 1px solid var(--line); }
.support > span::before { content: ""; display: block; width: 24px; height: 3px; background: var(--red-accent); margin-bottom: 12px; }

/* ---------- F01 ---------- */
.f01 { position: relative; padding: 64px 0 88px; }
.f01-shell { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); background: var(--paper); border-radius: 24px; box-shadow: var(--shadow-card); border: 1px solid #edf0f4; overflow: hidden; }
.f01-intro { position: relative; display: flex; flex-direction: column; padding: 52px 40px 44px 44px; color: #fff; background-color: var(--graphite); background-image: url("../assets/img/bg-satin-graphite.jpg"); background-size: cover; background-position: 30% 50%; }
/* `balance` broke this heading after the hyphen of "экспресс-аудит" at 1024–1440 and on mobile; `pretty` keeps the word whole */
.f01-intro .h2 { color: #fff; font-size: 38px; text-wrap: pretty; }
.f01-intro .h2:focus { outline: none; }
.f01-intro .h2:focus-visible { outline: 3px solid #fff; outline-offset: 6px; }
.f01-intro .section-lead { color: #dfe3ea; }
.f01-art { margin: auto 0; padding: 28px 0; display: flex; justify-content: center; }
.f01-art img { width: min(100%, 280px); height: auto; -webkit-mask-image: radial-gradient(closest-side, #000 70%, transparent 100%); mask-image: radial-gradient(closest-side, #000 70%, transparent 100%); }
.f01-terms { display: grid; gap: 12px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .16); font-size: 17px; line-height: 1.5; color: #e7eaf0; }
/* sentence rows are blocks with an absolutely positioned dash: a grid here turned the nested .nb money span ("до 45 минут")
   into a separate grid item inside the 20px dash column and the sentence overlapped itself */
.f01-terms > span { display: block; position: relative; padding-left: 30px; }
.f01-terms > span::before { content: ""; position: absolute; left: 0; top: 11px; width: 14px; height: 3px; background: var(--red-accent); }
.h2 { font-size: 52px; line-height: 1.08; font-weight: 700; letter-spacing: -.022em; }
.section-lead { font-size: 20px; line-height: 1.5; color: var(--ink-2); margin-top: 22px; }
.form-card { padding: 44px 52px 40px; }
.req-note { font-size: 15px; color: var(--muted); margin-bottom: 18px; }
.form-summary { margin-bottom: 20px; padding: 14px 16px; border-radius: var(--radius-sm); background: #fff1f2; border-left: 4px solid var(--red); font-weight: 700; font-size: 17px; color: #8a0010; }
.field { margin-bottom: 22px; }
.field > label, .field legend, .field .label { display: block; font-weight: 700; font-size: 17px; line-height: 1.35; margin-bottom: 8px; color: var(--ink); padding: 0; }
.req { color: var(--red); margin-left: 2px; }
.input, .textarea {
  width: 100%; min-height: 56px; padding: 14px 16px; font-size: 18px; line-height: 1.4; border-radius: var(--radius-sm);
  border: 1.5px solid #c3cad6; background: #fff; color: var(--ink); transition: border-color .15s ease, box-shadow .15s ease;
}
.textarea { min-height: 104px; resize: vertical; }
.input::placeholder, .textarea::placeholder { color: #7c8597; opacity: 1; }
.input:hover, .textarea:hover { border-color: #8e98aa; }
.input:focus, .textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(11, 13, 17, .12); }
.input[readonly], .textarea[readonly] { background: #f7f8fa; }
.help { font-size: 15px; line-height: 1.45; color: var(--muted); margin-top: 8px; }
.err { font-size: 15px; line-height: 1.45; color: #b00014; margin-top: 8px; font-weight: 700; }
.is-invalid .input, .is-invalid .textarea { border-color: #d0001a; box-shadow: 0 0 0 3px rgba(208, 0, 26, .10); }
.is-invalid .chip { border-color: #d0001a; }
fieldset.field { border: 0; margin: 0 0 18px; padding: 0; min-width: 0; }
.chips { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.chip { position: relative; display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 14px; border-radius: var(--radius-sm); border: 1.5px solid #c3cad6; background: #fff; cursor: pointer; font-size: 17px; transition: border-color .15s ease, background-color .15s ease; }
.chip:hover { border-color: #8e98aa; }
.chip:active { background: #f4f5f7; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip .dot { width: 20px; height: 20px; border-radius: 50%; border: 2px solid #8e98aa; flex: none; display: grid; place-items: center; background: #fff; }
.chip.is-checked { border-color: var(--red); background: #fff6f7; }
.chip.is-checked .dot { border-color: var(--red); }
.chip.is-checked .dot::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--red); }
.contact-empty { min-height: 52px; display: flex; align-items: center; padding: 0 16px; border-radius: var(--radius-sm); border: 1.5px dashed #c3cad6; color: var(--muted); font-size: 17px; background: #fafbfc; margin-bottom: 18px; }
.optional-row { display: flex; flex-wrap: wrap; gap: 4px 28px; margin: -4px 0 14px; }
.link-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0; border: 0; background: none; color: var(--ink); font-weight: 700; font-size: 17px; text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 5px; cursor: pointer; }
.link-btn:hover { text-decoration-color: var(--red); }
.link-btn .plus { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--ink); display: grid; place-items: center; font-size: 15px; line-height: 1; text-decoration: none; }
.link-btn[aria-expanded="true"] .plus { transform: rotate(45deg); }
.consent-block { margin-top: 4px; }
.consent { position: relative; display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; margin: 0 0 6px; }
.consent input { width: 26px; height: 26px; margin: 1px 0 0; accent-color: var(--red); cursor: pointer; }
.consent input::after { content: ""; position: absolute; inset: -10px; }
.consent label { font-size: 16px; line-height: 1.5; color: var(--ink-2); cursor: pointer; }
.doc-link { display: inline; padding: 0; border: 0; background: none; color: var(--ink); font: inherit; text-decoration: underline; text-decoration-color: #8e98aa; text-underline-offset: 3px; cursor: pointer; }
.doc-link:hover { text-decoration-color: var(--red); }
.consent-err { margin-left: 40px; }
.doc-row { display: flex; flex-wrap: wrap; gap: 0 22px; margin: -6px 0 10px 40px; font-size: 16px; }
.doc-row .doc-link { display: inline-flex; align-items: center; min-height: 44px; text-align: left; color: var(--muted); text-underline-offset: 4px; }
.banner { margin: 6px 0 18px; padding: 16px 18px; border-radius: var(--radius-sm); background: #f1f3f6; border-left: 4px solid #6a7488; }
.banner:focus { outline: none; }
.banner:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.banner[data-tone="warn"] { background: #fff7e8; border-left-color: #a65f00; }
.banner[data-tone="error"] { background: #fff1f2; border-left-color: var(--red); }
.banner-title { font-weight: 700; font-size: 17px; line-height: 1.4; margin-bottom: 4px; }
.banner-text { font-size: 16px; line-height: 1.5; color: var(--ink-2); }
.banner .btn { margin-top: 14px; min-height: 48px; font-size: 17px; }
.pre-submit { font-size: 15px; line-height: 1.45; color: var(--muted); margin-bottom: 12px; display: flex; align-items: baseline; gap: 8px; }
.pre-submit::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--red-accent); flex: none; transform: translateY(-1px); }
.submit { width: 100%; min-height: 60px; font-size: 19px; }
.submit.is-blocked { background: #c8cdd6; color: #2c323d; box-shadow: none; cursor: not-allowed; }
.submit.is-blocked:hover { background: #c8cdd6; box-shadow: none; }
.submit.is-blocked:active { transform: none; }
.sending-text { margin-top: 12px; font-size: 16px; color: var(--muted); display: flex; align-items: center; gap: 10px; }
.sending-text::before { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--line-strong); border-top-color: var(--red); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.success { text-align: left; padding: 8px 0; }
.success-mark { width: 56px; height: 56px; border-radius: 50%; background: #fff1f2; display: grid; place-items: center; margin-bottom: 18px; }
.success-mark svg { width: 28px; height: 28px; }
.success-title { font-size: 30px; line-height: 1.15; font-weight: 700; margin-bottom: 12px; }
.success-text { font-size: 18px; color: var(--ink-2); margin-bottom: 24px; }

/* ---------- B02 ---------- */
.b02 { padding: 104px 0 104px; background: var(--bg); }
.b02-top { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: start; }
/* same paper-card family as the hero price card: 18px radius, red top mark, shared shadow */
.source-card { background: var(--paper); border-radius: 18px; padding: 22px 28px 24px; border: 1px solid #edf0f4; box-shadow: var(--shadow-card); }
.source-card::before { content: ""; display: block; width: 32px; height: 3px; background: var(--red-accent); margin-bottom: 14px; }
.risk { font-size: 17px; line-height: 1.55; color: var(--ink-2); }
.source { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 17px; }
.freshness { margin-top: 8px; font-size: 15px; line-height: 1.5; color: var(--muted); }
.situations { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 56px; }
.situation { padding: 0 36px; }
.situation:first-child { padding-left: 0; }
.situation + .situation { border-left: 1px solid var(--line-strong); }
.situation-art { height: 180px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.situation-art img { max-height: 180px; width: auto; mix-blend-mode: multiply; }
.h3 { font-size: 23px; line-height: 1.25; font-weight: 700; letter-spacing: -.005em; }
.h4 { font-size: 18px; line-height: 1.3; font-weight: 700; }
.situation p { margin-top: 10px; color: var(--muted); font-size: 18px; }
.b02-foot { display: flex; align-items: center; justify-content: space-between; gap: 48px; margin-top: 52px; }
.scope-note { max-width: 780px; padding: 4px 0 4px 22px; border-left: 3px solid var(--red-accent); font-size: 18px; color: var(--ink-2); }
.b02-foot .btn { flex: none; }

/* ---------- B07 pricing paths ---------- */
.b07 { padding: 112px 0 112px; background: var(--paper); border-top: 1px solid #e8ebef; }
.b07-head { max-width: 900px; }
.b07 .eyebrow { margin-bottom: 14px; }
.paths { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 48px; }
/* path card: heading + price in the left column, the object flush with the top-right corner of the card,
   the description across the full card width under both (same grid at every width; mobile only changes the numbers) */
.path { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 224px; grid-template-rows: auto 1fr auto; column-gap: 8px; align-items: start; border-radius: 22px; padding: 32px 0 34px 36px; overflow: hidden; box-shadow: 0 24px 50px -30px rgba(10, 12, 16, .7); }
.path::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 11, 14, .55) 0, rgba(10, 11, 14, .25) 60%, rgba(10, 11, 14, 0) 100%), linear-gradient(180deg, rgba(10, 11, 14, 0) 45%, rgba(10, 11, 14, .36) 100%); pointer-events: none; }
.path-body { display: contents; }
.path-art, .path .h3, .path-price, .path-desc { position: relative; z-index: 1; }
.path .h3 { grid-column: 1; grid-row: 1; }
.path-price { grid-column: 1; grid-row: 2; align-self: start; }
.path-desc { grid-column: 1 / -1; grid-row: 3; padding-right: 36px; }
.path-art { grid-column: 2; grid-row: 1 / 3; align-self: start; display: flex; justify-content: flex-end; margin: -32px 0 0; }
.path-art img { width: 240px; max-width: none; height: auto; -webkit-mask-image: radial-gradient(ellipse 50% 52% at 50% 50%, #000 56%, transparent 100%); mask-image: radial-gradient(ellipse 50% 52% at 50% 50%, #000 56%, transparent 100%); }
/* migration object (wide server + slim tower at the right): wider ellipse shifted right so the tower leaves the fade zone;
   the image's right edge is the card edge, the left edge is faded by a second mask layer */
.path:nth-child(2) .path-art img {
  -webkit-mask-image: radial-gradient(ellipse 64% 52% at 58% 50%, #000 56%, transparent 100%), linear-gradient(90deg, transparent 0, #000 26%);
  mask-image: radial-gradient(ellipse 64% 52% at 58% 50%, #000 56%, transparent 100%), linear-gradient(90deg, transparent 0, #000 26%);
  -webkit-mask-composite: source-in; mask-composite: intersect;
}
.path .h3 { color: #fff; font-size: 24px; line-height: 1.2; }
.path-price { margin-top: 16px; font-size: 54px; line-height: 1.02; font-weight: 700; letter-spacing: -.025em; color: #fff; }
.path-desc { margin-top: 18px; font-size: 17px; line-height: 1.55; color: var(--on-dark-muted); max-width: 520px; }
.eligibility { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 12px 48px; align-items: baseline; margin-top: 24px; border: 1px solid var(--line); border-radius: 22px; padding: 28px 36px; }
.b07-body { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px; margin-top: 24px; }
.included { background: var(--bg); border-radius: 22px; padding: 36px 40px 26px; }
.check-list { list-style: none; margin: 18px 0 0; padding: 0; }
.check-list li { display: grid; grid-template-columns: 26px 1fr; gap: 14px; padding: 14px 0; font-size: 18px; line-height: 1.5; color: var(--ink-2); }
.check-list li + li { border-top: 1px solid #e1e4ea; }
.check-list .tick { width: 24px; height: 24px; margin-top: 1px; }
.separate { border: 1px solid var(--line); border-radius: 22px; padding: 36px 34px 30px; }
.eligibility .h3, .separate .h3, .included .h3 { font-size: 22px; }
.eligibility p { font-size: 18px; line-height: 1.55; color: var(--ink-2); }
.separate-list { list-style: none; margin: 8px 0 0; padding: 0; }
.separate-list li { padding: 14px 0 0; }
.separate-list li + li { margin-top: 12px; border-top: 1px solid var(--line); }
.separate-list p { margin-top: 4px; font-size: 16px; line-height: 1.5; color: var(--muted); }
.b07-foot { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px 48px; align-items: center; margin-top: 44px; }
.price-rule { padding: 4px 0 4px 22px; border-left: 3px solid var(--red-accent); font-size: 18px; line-height: 1.55; color: var(--ink-2); }
.b07-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.b07-cta .btn { width: 100%; }

/* ---------- B03 ---------- */
.b03 { position: relative; padding: 112px 0 104px; }
/* calmer fabric under the text: the satin stays visible at the top, the text zone is darkened */
.b03::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 9, 12, .15) 0, rgba(8, 9, 12, .55) 45%, rgba(8, 9, 12, .7) 100%); pointer-events: none; }
.b03 > .container { position: relative; }
.b03 .h2 { color: #fff; max-width: 980px; }
.steps-wrap { --steps-gap: 32px; --step-art-h: 150px; position: relative; padding-top: 52px; }
.steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--steps-gap); margin-top: 0; list-style: none; padding: 0; }
.step-art { height: var(--step-art-h); display: flex; align-items: flex-end; justify-content: flex-start; }
.step-art img { max-height: var(--step-art-h); width: auto; -webkit-mask-image: radial-gradient(closest-side, #000 70%, transparent 100%); mask-image: radial-gradient(closest-side, #000 70%, transparent 100%); }
.step-rail { position: relative; height: 56px; margin: 18px 0 18px; }
/* exact SVG connector: from the centre of step 1 number to the centre of step 4 number */
.steps-line { position: absolute; z-index: 0; left: 22px; width: calc((100% - 3 * var(--steps-gap)) * .75 + 3 * var(--steps-gap)); top: calc(52px + var(--step-art-h) + 18px + 6px + 21px); height: 2px; pointer-events: none; overflow: visible; }
.step-num { position: relative; z-index: 2; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 18px; background: var(--graphite-2); color: #fff; border: 2px solid var(--red-accent); margin-top: 6px; }
.step h3 { color: #fff; font-size: 22px; }
.step p { margin-top: 10px; color: #d3d8e0; font-size: 17px; line-height: 1.55; }
.b03-notes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; margin-top: 56px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,.14); }
.b03-notes p { font-size: 17px; color: #dfe3ea; padding-left: 18px; border-left: 3px solid var(--red-accent); }

/* ---------- B04 ---------- */
.b04 { padding: 112px 0 112px; }
/* composition: heading + lead on the left and the process scene on the right in one row, then one full-width card of
   commitments (2 × 2) whose footer carries the trust line and the CTA. DOM order unchanged (head, figure, list, trust, CTA);
   .b04-main is a transparent wrapper (display: contents). */
.b04-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 56px; row-gap: 56px; align-items: start; }
.b04-main { display: contents; }
.b04-head { grid-column: 1; grid-row: 1; max-width: 520px; }
.scheme { grid-column: 2; grid-row: 1; margin: 0; min-width: 0; }
.scheme-cap { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.scheme-cap::before { content: ""; width: 24px; height: 3px; background: var(--red-accent); }
.scheme-art { margin: 6px 0 0; }
.scheme-art img { width: 100%; -webkit-mask-image: radial-gradient(ellipse 56% 58% at 50% 54%, #000 60%, transparent 100%); mask-image: radial-gradient(ellipse 56% 58% at 50% 54%, #000 60%, transparent 100%); }
/* legend under the scene, inside the same box as the image: x positions = measured object centres
   of b04-process-scene.jpg (server+lens 19.5 %, glass cube 42.3 %, server+module 64 %, check card 83.3 %) */
.scheme-legend { --x1: 19.5%; --x2: 42.3%; --x3: 64%; --x4: 83.3%; position: relative; height: 84px; margin-top: -6px; }
.scheme-line { position: absolute; left: var(--x1); width: calc(var(--x4) - var(--x1)); top: 8px; height: 2px; overflow: visible; }
.scheme-steps { list-style: none; margin: 0; padding: 0; }
.scheme-steps li { position: absolute; top: 0; display: flex; flex-direction: column; align-items: center; width: 124px; margin-left: -62px; text-align: center; }
.scheme-steps li:nth-child(1) { left: var(--x1); } .scheme-steps li:nth-child(2) { left: var(--x2); }
.scheme-steps li:nth-child(3) { left: var(--x3); } .scheme-steps li:nth-child(4) { left: var(--x4); }
.scheme-dot { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 3px solid var(--red-accent); position: relative; z-index: 1; }
.scheme-label { margin-top: 10px; font-size: 16px; font-weight: 700; line-height: 1.3; color: var(--ink); }
.control { grid-column: 1 / -1; grid-row: 2; position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 48px; align-items: center; background: var(--paper); border-radius: 22px; box-shadow: var(--shadow-card); padding: 36px 40px 32px; border: 1px solid #edf0f4; }
.control-list { grid-column: 1 / -1; list-style: none; margin: 0 0 26px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; border-bottom: 1px solid var(--line); }
.control-list li { display: grid; grid-template-columns: 32px 1fr; gap: 16px; padding: 4px 0 24px; align-content: start; }
.control-list li:nth-child(n+3) { padding-top: 24px; border-top: 1px solid var(--line); }
.control-list li.is-warranty { background: #fff6f7; border-top: 0; border-radius: 14px; margin: 0 -16px 8px; padding: 20px 16px; }
.check { width: 30px; height: 30px; border-radius: 8px; background: var(--red); display: grid; place-items: center; margin-top: 1px; box-shadow: 0 6px 14px -8px rgba(226,0,26,.8); }
.check svg { width: 18px; height: 18px; }
.control-list h3 { font-size: 20px; line-height: 1.3; }
.control-list p { margin-top: 6px; font-size: 16px; line-height: 1.55; color: var(--muted); }
.trust { grid-column: 1; grid-row: 2; margin: 0; padding: 0; font-size: 16px; line-height: 1.55; color: var(--ink-2); max-width: 640px; }
.control .btn { grid-column: 2; grid-row: 2; width: auto; min-width: 320px; margin: 0; }

/* ---------- B05 ---------- */
.b05 { padding: 88px 0; background: var(--bg-band); border-top: 1px solid #e3e6eb; border-bottom: 1px solid #e3e6eb; }
.b05-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-areas: "head extras" "foot extras"; column-gap: 64px; row-gap: 0; align-items: start; }
.b05-head { grid-area: head; }
.extras { grid-area: extras; }
.b05-foot { grid-area: foot; margin-top: 4px; }
.b05 .h2 { font-size: 40px; }
.b05 .section-lead { font-size: 19px; }
.b05-terms { margin-top: 18px; font-size: 16px; color: var(--muted); }
.b05 .btn { margin-top: 26px; }
.extras { list-style: none; margin: 0; padding: 0; }
.extras li { display: grid; grid-template-columns: 120px 1fr; gap: 24px; align-items: center; padding: 18px 0; }
.extras li:first-child { padding-top: 6px; }
.extras li + li { border-top: 1px solid #d6dbe3; }
.extras img { width: 120px; height: 90px; object-fit: contain; mix-blend-mode: multiply; }
.extras h3 { font-size: 20px; }
.extras p { margin-top: 4px; font-size: 17px; color: var(--muted); }

/* ---------- B06 ---------- */
.b06 { padding: 112px 0 104px; background: var(--bg); }
.b06-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 64px; align-items: start; }
.b06-grid .h2 { position: sticky; top: calc(var(--header-h) + 32px); }
.faq { border-top: 1px solid var(--line-strong); }
.faq-item { border-bottom: 1px solid var(--line-strong); }
.faq-h { margin: 0; }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 72px; padding: 18px 0; border: 0; background: none; cursor: pointer; text-align: left; font-size: 21px; font-weight: 700; line-height: 1.35; color: var(--ink); }
.faq-q:hover .faq-icon { border-color: var(--red); }
.faq-icon { flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--line-strong); position: relative; transition: transform .2s ease, border-color .2s ease; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--ink); transform: translate(-50%, -50%); }
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .2s ease; }
.faq-q[aria-expanded="true"] .faq-icon { border-color: var(--red); }
.faq-q[aria-expanded="true"] .faq-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-a { padding: 0 56px 24px 0; font-size: 18px; color: var(--muted); max-width: 780px; }
.closing { padding: 96px 0; text-align: center; }
.closing .h2 { color: #fff; font-size: 48px; max-width: 900px; margin-inline: auto; }
.closing p { margin: 20px auto 0; max-width: 720px; font-size: 20px; color: var(--on-dark-muted); }
.closing .btn { margin-top: 34px; padding: 0 36px; }

/* ---------- footer ---------- */
.site-footer { background: #fff; border-top: 1px solid var(--line); padding: 36px 0 40px; }
.footer-row { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.footer-note { font-size: 16px; color: var(--muted); }
.footer-link { font-weight: 700; font-size: 17px; color: var(--ink); text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 5px; min-height: 44px; display: inline-flex; align-items: center; }

/* ---------- mobile menu ---------- */
.mobile-menu { position: fixed; inset: 0; z-index: 60; background: #fff; display: flex; flex-direction: column; padding: 0 24px calc(24px + env(safe-area-inset-bottom)); overflow-y: auto; }
.mobile-menu .menu-top { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.mobile-menu nav { display: flex; flex-direction: column; margin-top: 16px; }
.mobile-menu nav a { font-size: 24px; font-weight: 700; padding: 18px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.mobile-menu .btn { margin-top: 28px; width: 100%; }
html.menu-open, html.menu-open body { overflow: hidden; }

/* ---------- sticky CTA (mobile) ---------- */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.95); box-shadow: 0 -10px 30px -18px rgba(16,24,40,.45); transform: translateY(110%); transition: transform .25s ease; display: none; }
.sticky-cta .btn { width: 100%; min-height: 54px; }
.sticky-cta.is-shown { transform: translateY(0); }

/* IMPL-3: prototype service toast removed */

/* ---------- short desktop windows (e.g. 1280×720): keep the offer, price and CTA in the first screen ---------- */
@media (min-width: 1024px) and (max-height: 800px) {
  .hero-grid { padding-top: 24px; }
  .hero .eyebrow { margin-bottom: 8px; }
  .alert { padding-top: 8px; padding-bottom: 8px; }
  .h1 { font-size: 52px; margin-top: 16px; }
  .hero-lead { margin-top: 14px; }
  .hero-actions { margin-top: 20px; }
  .hero-price { margin-top: -64px; padding-top: 18px; }
  .hero-price::before { margin-bottom: 8px; }
}

/* ---------- 1024–1279 ---------- */
@media (max-width: 1279px) {
  :root { --gutter: 40px; }
  .h1 { font-size: 56px; }
  .h2 { font-size: 46px; }
  .hero-grid { grid-template-columns: minmax(0, 600px) minmax(0, 1fr); column-gap: 32px; }
  .price-amount { font-size: 36px; }
  .situation { padding: 0 26px; }
  .path { grid-template-columns: minmax(0, 1fr) 184px; padding: 28px 0 30px 30px; }
  .path-art { margin-top: -28px; }
  .path-art img { width: 200px; }
  .path-price { font-size: 44px; }
  .path-desc { padding-right: 28px; }
  /* legend labels under a 550px scene: narrower boxes so neighbours never touch */
  .scheme-steps li { width: 112px; margin-left: -56px; }
  .scheme-label { font-size: 15px; }
}
@media (max-width: 1100px) {
  .nav { gap: 20px; }
  .nav a { font-size: 16px; }
  .header-row { gap: 20px; }
  .header-cta { padding: 0 16px; font-size: 16px; }
  .btn-secondary { padding: 0 20px; }
  .f01-intro { padding: 40px 32px 36px; }
  .form-card { padding: 36px 32px; }
  .chips { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps-wrap { --steps-gap: 20px; --step-art-h: 130px; }
  .b07-foot { grid-template-columns: 1fr; }
  .b07-cta { flex-direction: row; align-items: center; gap: 20px; }
  .b07-cta .btn { width: auto; flex: none; }
}

/* ---------- tablet 768–1023 ---------- */
@media (max-width: 1023px) {
  :root { --gutter: 40px; --header-h: 72px; }
  .nav { display: none; }
  .icon-btn { display: inline-flex; }
  .header-cta { margin-left: auto; }
  .hero-grid { grid-template-columns: 1fr; grid-template-areas: "copy" "lead" "price" "actions" "ease" "art"; grid-template-rows: none; padding-top: 40px; }
  .hero-price { margin-top: 26px; }
  .hero-actions { margin-top: 24px; }
  .hero-price { max-width: 560px; }
  .hero-art { margin-right: 0; min-height: 0; }
  .hero-art img { position: static; transform: none; width: 100%; max-width: 760px; margin-inline: auto; }
  .f01-shell { grid-template-columns: 1fr; }
  .f01-art { display: none; }
  .f01-terms { margin-top: 24px; }
  .b02-top { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .source-card { max-width: 720px; }
  .b02-foot { flex-direction: column; align-items: flex-start; gap: 28px; }
  .paths { grid-template-columns: 1fr; }
  .b04-grid { grid-template-columns: 1fr; row-gap: 36px; }
  .b04-head { grid-column: 1; grid-row: 1; max-width: 860px; }
  .scheme { grid-column: 1; grid-row: 2; }
  .control { grid-column: 1; grid-row: 3; padding: 30px 28px 28px; column-gap: 28px; }
  .control-list { column-gap: 32px; }
  .control .btn { min-width: 0; }
  .scheme-art { max-width: 760px; }
  .b07-body { grid-template-columns: 1fr; }
  .eligibility { grid-template-columns: 1fr; }
  .b05-grid { grid-template-columns: 1fr; grid-template-areas: "head" "extras" "foot"; row-gap: 24px; }
  .b06-grid { grid-template-columns: 1fr; gap: 32px; }
  .b06-grid .h2 { position: static; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; }
  .steps-line { display: none; }
  .situations { grid-template-columns: 1fr; }
  .situation { display: grid; grid-template-columns: 180px 1fr; gap: 28px; align-items: center; padding: 22px 0 !important; border-left: 0 !important; border-top: 1px solid var(--line-strong); }
  .situation-art { height: 140px; margin: 0; } .situation-art img { max-height: 140px; }
}

/* ---------- mobile < 768 (primary 390, narrow 360, control 430) ---------- */
@media (max-width: 767px) {
  :root { --gutter: 24px; --header-h: 64px; }
  body { font-size: 18px; }
  .site-header.is-compact .header-row { height: 64px; }
  .header-cta { display: none; }
  .icon-btn { display: inline-flex; }
  .brand-logo, .site-header.is-compact .brand-logo, .site-footer .brand-logo { --logo-w: 150px; } /* IMPL-2 */
  /* mobile: offer, price and CTA first; lead + ease follow the CTA (visual order only; DOM order and focus order unchanged) */
  .hero-grid { grid-template-areas: "copy" "price" "actions" "lead" "ease" "art"; padding: 22px 0 8px; }
  .hero-price { margin-top: 18px; }
  .hero-actions { margin-top: 18px; }
  .hero-lead { margin-top: 22px; }
  .hero-ease { margin-top: 16px; }
  .eyebrow { font-size: 15px; margin-bottom: 12px; }
  .alert { font-size: 15px; padding: 10px 14px 10px 12px; gap: 10px; border-radius: 12px; }
  .alert-dot { margin-top: 5px; }
  .h1 { font-size: 40px; line-height: 1.06; letter-spacing: -.024em; margin-top: 18px; }
  .lead { font-size: 18px; }
  /* the lead follows the CTA microcopy on mobile: separated by a hairline so the two paragraphs do not run together */
  .hero-lead { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
  .hero-price { padding: 16px 18px 14px; border-radius: 16px; margin-inline: -4px; }
  .hero-price::before { display: none; }
  .price-label { font-size: 16px; }
  .price-amount { font-size: 34px; }
  .price-detail { font-size: 16px; }
  .warranty { font-size: 16px; }
  .hero-actions { align-items: stretch; gap: 12px; }
  .hero-actions .btn { width: 100%; min-height: 58px; font-size: 18px; padding: 0 16px; }
  .microcopy { max-width: none; font-size: 16px; }
  .ease { font-size: 16px; }
  .hero-art { margin: 0 -24px; }
  .hero-art img { width: 100%; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 10%, #000 86%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 10%, #000 86%, transparent 100%); }
  .hero-art picture, .hero-art img { display: block; }
  .support { grid-template-columns: 1fr; padding-bottom: 28px; margin-top: 0; }
  .support > span { display: block; position: relative; padding: 16px 0 16px 36px !important; border-left: 0 !important; }
  .support > span + span { border-top: 1px solid var(--line); }
  .support > span::before { position: absolute; left: 0; top: 27px; margin: 0; width: 16px; }
  .f01 { padding: 36px 0 64px; }
  .h2, .f01-intro .h2 { font-size: 32px; line-height: 1.14; }
  .section-lead { font-size: 18px; margin-top: 14px; }
  .f01-terms { font-size: 16px; margin-top: 18px; padding-top: 16px; gap: 10px; }
  .f01-shell { margin-inline: -8px; border-radius: 18px; }
  .f01-intro { padding: 28px 20px 24px; }
  .form-card { padding: 24px 18px 22px; }
  .chips { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .chip { min-height: 52px; padding: 0 12px; }
  .textarea { min-height: 120px; }
  .optional-row { flex-direction: column; align-items: flex-start; gap: 0; }
  .b02 { padding: 64px 0 60px; }
  .source-card { padding: 20px 20px 18px; border-radius: 16px; margin-inline: -4px; }
  .risk { font-size: 17px; }
  .situations { margin-top: 24px; }
  .situation { grid-template-columns: 96px 1fr; gap: 16px; align-items: start; padding: 20px 0 !important; }
  .situation-art { height: 88px; } .situation-art img { max-height: 88px; }
  .h3 { font-size: 21px; }
  .situation p { font-size: 17px; margin-top: 6px; }
  .scope-note { font-size: 17px; }
  .b02-foot { margin-top: 24px; gap: 22px; }
  .b02-foot .btn, .b07-cta .btn { width: 100%; }
  .b07 { padding: 64px 0 64px; }
  .paths { margin-top: 28px; gap: 16px; }
  .path { grid-template-columns: minmax(0, 1fr) 132px; padding: 22px 0 22px 22px; border-radius: 18px; margin-inline: -4px; }
  .path-art { margin: -22px 0 0; }
  .path-art img { width: 160px; }
  .path .h3 { font-size: 20px; }
  .path-price { font-size: 38px; margin-top: 10px; }
  .path-desc { font-size: 17px; margin-top: 14px; padding-right: 22px; }
  .included { padding: 24px 20px 18px; border-radius: 18px; margin-inline: -4px; }
  .check-list li { font-size: 17px; padding: 12px 0; gap: 12px; }
  .eligibility, .separate { padding: 22px 20px 20px; border-radius: 18px; margin-inline: -4px; }
  .eligibility { margin-top: 16px; gap: 10px; }
  .eligibility p { font-size: 17px; }
  .eligibility .h3, .separate .h3, .included .h3 { font-size: 20px; }
  .b07-body { margin-top: 16px; gap: 16px; }
  .b07-side { gap: 16px; }
  .b07-foot { margin-top: 28px; gap: 22px; }
  .price-rule { font-size: 17px; }
  .b07-cta { flex-direction: column; align-items: stretch; gap: 12px; }
  .b03 { padding: 64px 0 56px; }
  .b03::before { background: rgba(8, 9, 12, .5); }
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps-wrap { padding-top: 28px; }
  .step { display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; position: relative; padding-bottom: 28px; }
  .step::before { content: ""; position: absolute; left: 21px; top: 46px; bottom: 0; width: 2px; background: var(--red-accent); opacity: .85; }
  .step:last-child { padding-bottom: 0; }
  .step:last-child::before { display: none; }
  .step-art { display: none; }
  .step-rail { grid-column: 1; grid-row: 1 / span 2; height: auto; margin: 0; }
  .step-num { margin-top: 0; }
  .step h3, .step p { grid-column: 2; }
  .step h3 { font-size: 21px; padding-top: 8px; }
  .step p { font-size: 17px; margin-top: 6px; }
  .b03-notes { grid-template-columns: 1fr; gap: 18px; margin-top: 28px; padding-top: 24px; }
  .b04 { padding: 64px 0; }
  .b04-grid { row-gap: 24px; }
  .scheme { margin-top: 0; }
  .scheme-art { margin: 6px -24px 0; }
  .scheme-art img { width: 100%; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%); }
  .scheme-legend { margin: 6px 24px 0; }
  /* mobile legend: compact vertical path, labels never squeezed under small objects */
  .scheme-legend { height: auto; margin-top: 4px; }
  .scheme-line { left: 8px; width: 2px; top: 12px; bottom: 12px; height: auto; }
  .scheme-line line { display: none; }
  .scheme-legend::before { content: ""; position: absolute; left: 8px; top: 14px; bottom: 14px; width: 2px; background: var(--red-accent); }
  .scheme-steps { position: relative; display: grid; gap: 10px; }
  .scheme-steps li { position: static; flex-direction: row; width: auto; margin: 0; gap: 14px; text-align: left; }
  .scheme-label { margin: 0; font-size: 17px; }
  /* mobile: the card is one column again (list, trust, CTA) */
  .control { display: block; padding: 24px 20px; margin-inline: -8px; border-radius: 16px; }
  .control-list { display: block; margin: 0; padding: 0; border-bottom: 0; }
  .control-list li { padding: 0 0 20px; }
  .control-list li + li, .control-list li:nth-child(n+3) { padding-top: 20px; border-top: 1px solid var(--line); }
  .control-list h3 { font-size: 19px; }
  .control-list p { font-size: 17px; }
  .control-list li.is-warranty { margin: 4px -10px 0; padding: 16px 10px; border-top: 0; }
  .trust { margin-top: 18px; padding-top: 20px; border-top: 1px solid var(--line); max-width: none; }
  .control .btn { width: 100%; min-width: 0; margin-top: 20px; }
  .b05 { padding: 56px 0; }
  .b05 .h2 { font-size: 30px; }
  .extras li { grid-template-columns: 84px 1fr; gap: 16px; padding: 16px 0; }
  .extras li:first-child { padding-top: 4px; }
  .extras img { width: 84px; height: 64px; }
  .b05 .btn { width: 100%; padding: 12px 16px; font-size: 17px; line-height: 1.25; }
  .btn { padding: 0 18px; }
  .b06 { padding: 64px 0 52px; }
  .faq-q { font-size: 19px; min-height: 64px; gap: 16px; }
  .faq-a { padding-right: 0; font-size: 17px; }
  .closing { padding: 60px 0 68px; text-align: left; }
  .closing .h2 { font-size: 32px; }
  .closing p { font-size: 18px; margin-left: 0; }
  .closing .btn { width: 100%; }
  .footer-row { flex-direction: column; align-items: flex-start; gap: 16px; }
  .site-footer { padding-bottom: calc(40px + env(safe-area-inset-bottom)); }
  .sticky-cta { display: block; }
}
@media (max-width: 374px) {
  .h1 { font-size: 36px; }
  .h2, .f01-intro .h2, .closing .h2 { font-size: 29px; }
  .price-amount { font-size: 32px; }
  .path-price { font-size: 34px; }
  .path { grid-template-columns: minmax(0, 1fr) 116px; }
  .path-art img { width: 144px; }
  .chip { font-size: 16px; padding: 0 10px; gap: 8px; }
  .brand-logo, .site-header.is-compact .brand-logo, .site-footer .brand-logo { --logo-w: 140px; } /* IMPL-2 */
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ===== PART 2 · implementation rules ===== */

/* IMPL-4 contact: one field per channel keeps its own draft; only the active one is shown (same look as the prototype field) */
.contact-field .input { width: 100%; }

/* IMPL-5 documents: real links (operator policy; consent link only with an edition that lists this page, D03) */
.doc-row:empty { display: none; }

/* IMPL-6 sending: the channel, contact and consent of the running attempt are locked (disabled / read-only) */
#php-help[data-state="sending"] .chip { cursor: not-allowed; }
#php-help[data-state="sending"] .chip:hover { border-color: #c3cad6; }
#php-help[data-state="sending"] .chip.is-checked, #php-help[data-state="sending"] .chip.is-checked:hover { border-color: var(--red); }
.consent input:disabled, .consent input:disabled + label { cursor: not-allowed; }
.success-title:focus { outline: none; }
.success-title:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.h2[tabindex="-1"]:focus { outline: none; }

/* IMPL-7 B04 scene edge (review task 2): the radial mask of the design is wider than the image, so its light background kept
   a visible left/right edge on the satin (clearly at 1024–1279, faintly at 1440). A second mask layer fades the outer
   10 % / 9 % of the width (objects sit at 12–90 %); intersected with the design's ellipse. Mobile keeps its own mask. */
@media (min-width: 768px) {
  .scheme-art img {
    -webkit-mask-image: radial-gradient(ellipse 56% 58% at 50% 54%, #000 60%, transparent 100%), linear-gradient(90deg, transparent 0, #000 10%, #000 91%, transparent 100%);
    mask-image: radial-gradient(ellipse 56% 58% at 50% 54%, #000 60%, transparent 100%), linear-gradient(90deg, transparent 0, #000 10%, #000 91%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-composite: intersect;
  }
}

/* IMPL-8 header: opaque white (was 96 % + blur) so the white field of the raster master logo never shows as a plate */
.site-header { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }

/* IMPL-9 no layout shift when the header compacts on scroll (81 → 69 px): the design's sticky header changed its in-flow
   height and moved the whole page by 12 px. As in the published S3 Shell, the header takes no in-flow space (negative
   bottom margin) and main keeps a constant top padding of the full header height; the page at scroll 0 is unchanged. */
.site-header { --row: var(--header-h); margin-bottom: calc(-1 * (var(--row) + 1px)); }
.site-header .header-row { height: var(--row); }
.site-header.is-compact { --row: 68px; }
main { padding-top: calc(var(--header-h) + 1px); }
@media (max-width: 767px) { .site-header.is-compact { --row: 64px; } }

/* IMPL-10 interactive states missing in the design CSS (rule 04 §4.1): footer link and icon buttons get hover/pressed */
.footer-link:hover { color: var(--red); }
.icon-btn { transition: background-color .15s ease; }
.icon-btn:hover { background: #f1f3f6; }
.icon-btn:active { background: #e4e7ec; }

/* IMPL-11 the hidden sticky CTA is really hidden (visibility), not only moved below the viewport: it never paints over the
   page (it did in full-page captures), never takes pointer events and is not reachable; it still slides in/out */
.sticky-cta { visibility: hidden; transition: transform .25s ease, visibility 0s linear .25s; }
.sticky-cta.is-shown { visibility: visible; transition: transform .25s ease, visibility 0s linear 0s; }

.related-services { display: flex; flex-wrap: wrap; gap: 12px 24px; }
