/* UClean — the rest of the page after Distinct's order (the client's request, 13.11.2026): trust panel, two "Для" cards,
   the steps slider, the deep B2B panel, the calculator panel, questions, the closing panel with the name, the footer.
   Layouts and techniques only; texts, photos and code are UClean's own. */

/* ---------- 4. shared panels: big rounded surfaces, nearly edge to edge and one screen tall ---------- */
:root { --d-silver: linear-gradient(120deg, #f4f4f5 0%, #d9d9dc 38%, #c6c6c9 55%, #e9e9eb 80%, #f6f6f7 100%); --d-deep: #0e2f3a; --d-r: 32px; --d-edge: 12px; }
:is(.trust__panel, .deep__panel, .calc-panel, .cta__panel) { position: relative; border-radius: var(--d-r); overflow: hidden; }
main > .section.bleed { padding: calc(var(--nav) + 2 * var(--d-edge)) var(--d-edge) calc(var(--d-edge) + var(--bar)); }
main > .section.bleed > .wrap { width: 100%; max-width: none; }
/* the panel's inner inset puts its words on the page's own column (the .wrap edges of every other section) */
main > .section.bleed > .wrap > :is(.trust__panel, .deep__panel, .cta__panel) { flex: 1 1 auto; min-height: 0; height: 100%;
  padding-inline: calc(max(var(--gut), (var(--vw, 100vw) - var(--container)) / 2) - var(--d-edge)); }
@media (max-width: 639px) { :root { --d-r: 24px; --d-edge: 8px; } }

/* ---------- 5. trust: the words on the left under a hairline, the names drifting up the right half ---------- */
.trust__panel { background: var(--d-silver); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s-6); padding-block: clamp(28px, 4vw, 64px); }
.trust__copy { display: grid; align-content: center; gap: var(--s-5); }
.trust__copy::before { content: ""; display: block; width: min(100%, 360px); height: 1px; background: rgb(24 24 24 / .22); margin-bottom: var(--s-4); }
.trust__copy h2 { margin: 0; max-width: 12ch; }
.trust__copy p { margin: 0; max-width: 36ch; color: var(--p-ink); }
.trust__names { position: relative; overflow: hidden; margin-block: calc(-1 * clamp(28px, 4vw, 64px)); display: flex; align-items: flex-start;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 20%, #000 78%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0%, #000 20%, #000 78%, transparent 100%); }
/* items carry their own spacing (no gap), so moving the doubled list by exactly half of it loops without a seam */
.trust__list { list-style: none; margin: 0; padding: 0; width: 100%; font: 400 clamp(34px, 3.4vw + 8px, 72px)/1.04 var(--font-display); letter-spacing: -0.03em; color: #2a2a2c; will-change: transform; }
.trust__list li { padding-block: .06em; white-space: nowrap; }
.trust__list li:nth-child(3n+2) { color: #55555a; }
.trust__list li:nth-child(3n) { color: #3d3d40; }
.js-drift .trust__list { animation: d-drift var(--drift, 30s) linear infinite; }
.js-drift .trust__names:is(:hover, .is-off) .trust__list { animation-play-state: paused; }
@keyframes d-drift { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(0, -50%, 0); } }
@media (max-width: 1023px) {
  .trust__panel { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); }
  .trust__copy { align-content: start; }
  .trust__names { margin-block: 0 calc(-1 * clamp(28px, 4vw, 64px)); }
}

/* ---------- 6. audiences: two tall photo cards ---------- */
main > .section.fors > .wrap { display: grid; grid-template-rows: auto minmax(0, 1fr); gap: var(--s-7); }
.fors__h { margin: 0; max-width: 18ch; }
.fors__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; perspective: 1400px; min-height: 0; }
.fcard { position: relative; display: block; min-height: 420px; height: 100%; border-radius: 30px; overflow: hidden; color: #fff; isolation: isolate;
  box-shadow: 0 24px 48px -30px rgb(0 0 0 / .5); /* the tilt is written to transform by distinct.js */ }
.fcard__media { position: absolute; inset: 0; z-index: 0; overflow: hidden; background: var(--p-surface); }
.fcard__media img { width: 100%; height: 100%; object-fit: cover; display: block; scale: 1.06; transition: scale 1.2s var(--lg-ease); }
.fcard:hover .fcard__media img { scale: 1.1; }
.fcard::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgb(0 0 0 / .5) 0%, rgb(0 0 0 / 0) 42%, rgb(0 0 0 / 0) 52%, rgb(0 0 0 / .62) 100%); }
.fcard__title { position: absolute; z-index: 2; top: clamp(22px, 2.4vw, 36px); left: clamp(22px, 2.4vw, 36px); right: 22px; transform: translateZ(40px);
  font: 500 clamp(28px, 2.2vw + 8px, 48px)/1 var(--font-display); letter-spacing: -0.02em; text-transform: uppercase; max-width: 11ch; }
.fcard__title em { display: block; font-family: var(--font-promise); font-style: italic; font-weight: 400; text-transform: none; letter-spacing: -0.01em; margin-bottom: .08em; }
.fcard__sub { position: absolute; z-index: 2; left: clamp(22px, 2.4vw, 36px); right: clamp(22px, 2.4vw, 36px); bottom: 70px; max-width: 40ch; font-size: 15px; line-height: 1.45; color: #fff; transform: translateZ(24px); }
.fcard__more { position: absolute; z-index: 2; left: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 10px; height: 44px;
  padding: 0 18px 0 7px; border-radius: 999px; font-size: 15px; font-weight: 500; color: #fff; letter-spacing: .01em; }
.fcard__more .d-plus { position: relative; z-index: 1; font-style: normal; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 999px; background: #fff; color: var(--p-ink); font-size: 18px; line-height: 1;
  transition: transform .45s var(--lg-spring); }
.fcard:hover .fcard__more .d-plus { transform: rotate(90deg); }
.fcard:focus-visible { outline: 2px solid var(--p-ink); outline-offset: 4px; }
@media (max-width: 639px) { .fors__grid { grid-template-columns: 1fr; } .fcard { min-height: 440px; height: 440px; } }

/* ---------- 7. process: one step at a time, Distinct's testimonial slider ---------- */
main > .section.steps > .wrap { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(32px, 6vw, 120px); align-items: center; }
.steps__body { display: grid; align-content: center; gap: var(--s-6); min-width: 0; }
/* a framed portrait beside the words, not a full-height panel */
.steps__media { position: relative; border-radius: var(--d-r); overflow: hidden; background: var(--p-surface); width: 100%; max-width: 420px; justify-self: end;
  aspect-ratio: 4 / 5; max-height: min(62svh, 540px); min-height: 0; }
.steps__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity .8s var(--lg-ease), transform 1.4s var(--lg-ease); }
.steps__media img.is-on { opacity: 1; transform: none; }
@media (max-width: 1023px) { main > .section.steps > .wrap { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto; }
  .steps__media { justify-self: start; max-width: 100%; aspect-ratio: 16 / 10; max-height: 320px; } }
.steps__label { margin: 0; padding-bottom: var(--s-4); border-bottom: 1px solid color-mix(in oklab, var(--p-ink) 14%, transparent); color: var(--muted); font-weight: 500; }
.steps__track { display: grid; align-items: center; min-height: 0; }
.steps__slide { grid-area: 1 / 1; margin: 0; display: grid; gap: var(--s-6); align-content: center; opacity: 0; visibility: hidden; transform: translateY(14px); filter: blur(8px);
  transition: opacity .5s var(--lg-ease), transform .8s var(--lg-ease), filter .5s var(--lg-ease), visibility 0s .8s; }
.steps__slide.is-past { transform: translateY(-10px); }
.steps__slide.is-active { opacity: 1; visibility: visible; transform: none; filter: none; transition: opacity .7s var(--lg-ease) .1s, transform .9s var(--lg-spring) .1s, filter .7s var(--lg-ease) .1s, visibility 0s; }
.steps__text { margin: 0; max-width: 36ch; font: 400 clamp(26px, 1.8vw + 12px, 46px)/1.12 var(--font-display); letter-spacing: -0.03em; text-wrap: balance; }
.steps__slide figcaption { display: flex; align-items: baseline; gap: var(--s-3); font-size: var(--t-body); color: var(--muted); }
.steps__num { font-variant-numeric: tabular-nums; color: var(--p-ink); font-weight: 500; }
.steps__bar { display: flex; align-items: center; justify-content: space-between; gap: var(--s-5); }
.steps__progress { display: grid; grid-auto-flow: column; grid-auto-columns: 64px; gap: 6px; }
.steps__progress span { position: relative; height: 2px; background: color-mix(in oklab, var(--p-ink) 16%, transparent); overflow: hidden; border-radius: 2px; }
.steps__progress span::after { content: ""; position: absolute; inset: 0; background: var(--p-ink); transform: scaleX(0); transform-origin: left; }
.steps__progress span.is-done::after { transform: scaleX(1); }
.steps__progress span.is-on::after { animation: d-fill var(--step-ms, 7000ms) linear forwards; }
.steps.is-paused .steps__progress span.is-on::after { animation-play-state: paused; }
@keyframes d-fill { to { transform: scaleX(1); } }
.steps .rail-nav { display: flex; }

/* ---------- 8. b2b: the deep panel, an accordion and the photo of the open item ---------- */
.deep__panel { -webkit-font-smoothing: antialiased; background: var(--d-deep); color: #fff; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 72px); padding-block: clamp(24px, 3.6vw, 56px); }
.deep__copy { display: grid; align-content: start; gap: var(--s-5); }
.deep__label { margin: 0; color: rgb(255 255 255 / .74); }
.deep__copy h2 { margin: 0; color: #fff; max-width: 14ch; }
.acc { margin-top: var(--s-5); display: grid; gap: 2px; }
.acc h3 { margin: 0; font: inherit; }
.acc button { all: unset; box-sizing: border-box; width: 100%; padding: 10px 0; cursor: pointer; font: 400 clamp(20px, .8vw + 14px, 28px)/1.2 var(--font-display); letter-spacing: -0.02em;
  color: rgb(255 255 255 / .72); transition: color .3s var(--lg-ease); }
.acc button:hover, .acc .is-open button { color: #fff; }
.acc button:focus-visible { outline: 2px solid #fff; outline-offset: 4px; border-radius: 4px; }
.acc__body p { margin: 0 0 var(--s-3); max-width: 44ch; font-size: 15px; line-height: 1.55; color: rgb(255 255 255 / .8); }
.acc__body { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .45s var(--lg-spring), opacity .3s var(--lg-ease); }
.acc__body > p { overflow: hidden; min-height: 0; }
.acc__item.is-open > .acc__body { grid-template-rows: 1fr; opacity: 1; }
.acc__body[hidden] { display: grid; }
@keyframes d-acc { from { opacity: 0; transform: translateY(-6px); } }
.deep__media { position: relative; border-radius: 20px; overflow: hidden; min-height: 360px; background: #0a2129; }
.deep__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity .8s var(--lg-ease), transform 1.4s var(--lg-ease); }
.deep__media img.is-on { opacity: 1; transform: scale(1); }
.deep__pill { position: absolute; left: 10px; bottom: 10px; z-index: 2; display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px 8px 8px; border-radius: 999px; color: #fff; font-size: 15px; font-weight: 500; text-decoration: none; }
.deep__pill .d-plus { position: relative; z-index: 1; font-style: normal; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 999px; background: #fff; color: var(--p-ink); font-size: 18px; }
@media (max-width: 1023px) { .deep__panel { grid-template-columns: 1fr; } .deep__media { min-height: 300px; } }

/* ---------- 9. calculator: two numbered steps on the left, the live summary and the phone on the right ---------- */
main > .section.calc-sec > .wrap { display: grid; grid-template-rows: auto minmax(0, 1fr); gap: var(--s-6); }
.calc-head { display: flex; align-items: end; justify-content: space-between; gap: var(--s-6); flex-wrap: wrap; }
.calc-head h2 { margin: 0; }
.calc-head p { margin: 0; max-width: 46ch; color: var(--muted); }
.calc2.form { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 16px; align-items: stretch; min-height: 0; }
.calc2__steps { display: grid; gap: 16px; grid-template-rows: auto 1fr; }
.calc2__step { margin: 0; padding: clamp(20px, 2vw, 32px); border: 0; border-radius: var(--d-r); background: #efedf0; display: grid; gap: var(--s-5); align-content: start; min-width: 0; }
.calc2__step legend { float: left; width: 100%; padding: 0; display: flex; align-items: center; gap: var(--s-3); font: 500 19px/1.2 var(--font-display); letter-spacing: -0.01em; }
.calc2__n { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 999px; background: var(--p-ink); color: #fff; font-size: 14px; font-variant-numeric: tabular-nums; }
.calc2__types { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.tchoice { position: relative; display: grid; gap: 6px; align-content: start; padding: 16px 16px 14px; border-radius: 16px; background: #fff; cursor: pointer;
  box-shadow: inset 0 0 0 1px rgb(24 24 24 / .08); transition: box-shadow .3s var(--lg-ease), transform .16s var(--lg-ease); }
.tchoice:hover { box-shadow: inset 0 0 0 1px rgb(24 24 24 / .28); }
.tchoice:active { transform: scale(.985); }
.tchoice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.tchoice::after { content: ""; position: absolute; top: 14px; right: 14px; width: 18px; height: 18px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px rgb(24 24 24 / .3); transition: box-shadow .25s var(--lg-ease); }
.tchoice:has(input:checked) { box-shadow: inset 0 0 0 2px var(--p-ink); }
.tchoice:has(input:checked)::after { box-shadow: inset 0 0 0 6px var(--p-ink); }
.tchoice:has(input:focus-visible) { outline: 2px solid var(--p-ink); outline-offset: 3px; }
.tchoice__name { padding-right: 26px; font-size: 17px; font-weight: 500; }
.tchoice__desc { font-size: 14px; line-height: 1.4; color: var(--muted); }
.tchoice__rate { margin-top: 6px; font-size: 14px; font-weight: 500; font-variant-numeric: tabular-nums; }
.area { display: grid; gap: var(--s-4); }
.area__top { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); flex-wrap: wrap; }
.area__val { font: 400 clamp(32px, 1.6vw + 18px, 44px)/1 var(--font-display); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.area__quick { display: flex; flex-wrap: wrap; gap: 6px; }
.area__quick button { all: unset; box-sizing: border-box; min-height: 40px; padding: 0 16px; display: inline-flex; align-items: center; border-radius: 999px; background: #fff; font-size: 14px; cursor: pointer;
  box-shadow: inset 0 0 0 1px rgb(24 24 24 / .1); transition: background-color .25s var(--lg-ease), color .25s var(--lg-ease); }
.area__quick button[aria-pressed="true"] { background: var(--p-ink); color: #fff; box-shadow: none; }
.area__quick button:focus-visible { outline: 2px solid var(--p-ink); outline-offset: 2px; }
.area__range { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; margin: 0; background: transparent; cursor: pointer; --fill: 14%; }
.area__range::-webkit-slider-runnable-track { height: 6px; border-radius: 999px; background: linear-gradient(90deg, var(--p-ink) var(--fill), rgb(24 24 24 / .14) var(--fill)); }
.area__range::-moz-range-track { height: 6px; border-radius: 999px; background: rgb(24 24 24 / .14); }
.area__range::-moz-range-progress { height: 6px; border-radius: 999px; background: var(--p-ink); }
.area__range::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; margin-top: -11px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px rgb(24 24 24 / .12), 0 4px 12px rgb(0 0 0 / .2); }
.area__range::-moz-range-thumb { width: 28px; height: 28px; border: 0; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px rgb(24 24 24 / .12), 0 4px 12px rgb(0 0 0 / .2); }
.area__range:focus-visible { outline: 2px solid var(--p-ink); outline-offset: 4px; border-radius: 999px; }
.area__scale { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); }
.calc2__sum { -webkit-font-smoothing: antialiased; display: grid; align-content: start; gap: var(--s-4); padding: clamp(22px, 2.2vw, 36px); border-radius: var(--d-r); background: var(--p-ink); color: #fff; }
.calc2__sum .t-label { margin: 0; color: rgb(255 255 255 / .8); }
.calc2__line { margin: 0; font-size: 16px; color: rgb(255 255 255 / .86); }
.calc2__total { font: 400 clamp(36px, 2vw + 20px, 56px)/1 var(--font-display); letter-spacing: -0.035em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.calc2__incl { list-style: none; margin: 0 0 var(--s-2); padding: var(--s-4) 0 0; border-top: 1px solid rgb(255 255 255 / .16); display: grid; gap: 8px; font-size: 15px; color: rgb(255 255 255 / .86); }
.calc2__incl li { display: flex; gap: 10px; }
.calc2__incl li::before { content: ""; flex: none; width: 16px; height: 16px; margin-top: 3px; background: #fff;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.calc2__sum .field { color: rgb(255 255 255 / .86); }
.calc2__sum .field input { background: #fff; color: var(--p-ink); border-color: transparent; }
.calc2__sum .field__error { color: #ffb4ab; }
.calc2__btn.btn.btn--primary { width: 100%; justify-content: center; background: #fff; color: var(--p-ink); }
.calc2__note { margin: 0; font-size: 13px; font-weight: 500; letter-spacing: .01em; color: rgb(255 255 255 / .86); text-align: center; }
.calc2__sum .form__status { color: #fff; }
@media (max-width: 1023px) { .calc2.form { grid-template-columns: minmax(0, 1fr); } .calc2__steps { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 639px) { .calc2__types { grid-template-columns: 1fr; } .tchoice__desc { display: none; } }

/* ---------- 10. questions ---------- */
.qa__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s-7); align-items: start; }
.qa__grid h2 { margin: 0; }
.qa__item { border-top: 1px solid color-mix(in oklab, var(--p-ink) 14%, transparent); }
.qa__item:last-child { border-bottom: 1px solid color-mix(in oklab, var(--p-ink) 14%, transparent); }
.qa__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--s-4); padding: 22px 0;
  font: 400 clamp(19px, .6vw + 14px, 24px)/1.25 var(--font-display); letter-spacing: -0.015em; }
.qa__item summary::-webkit-details-marker { display: none; }
.qa__item summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 999px; background: #efedf0; font-size: 20px; transition: transform .45s var(--lg-spring); }
.qa__item[open] summary::after { transform: rotate(45deg); }
.qa__item summary:focus-visible { outline: 2px solid var(--p-ink); outline-offset: 2px; }
.qa__item p { margin: 0 0 22px; max-width: 58ch; color: var(--muted); line-height: 1.55; }
.qa__item { interpolate-size: allow-keywords; }
.qa__item::details-content { block-size: 0; overflow: clip; opacity: 0; transition: block-size .45s var(--lg-spring), opacity .3s var(--lg-ease), content-visibility .45s allow-discrete; }
.qa__item[open]::details-content { block-size: auto; opacity: 1; }
@media (max-width: 1023px) { .qa__grid { grid-template-columns: 1fr; gap: var(--s-5); } }

/* ---------- 11. closing panel with the name set huge ---------- */
/* the closing panel: a compact silver card at the foot of every page, not a whole screen. The words on the left, the
   button with the phone beside it, the name engraved thin along the bottom edge. */
main > .section.cta { height: auto; min-height: 0; padding: clamp(24px, 3vw, 48px) var(--d-edge) clamp(16px, 2vw, 24px); }
main > .section.cta > .wrap { width: 100%; max-width: none; height: auto; }
main > .section.cta > .wrap > .cta__panel { height: auto; flex: none; }
.cta__panel { background: var(--d-silver); display: grid; gap: clamp(28px, 3vw, 48px);
  padding: clamp(36px, 4.5vw, 72px) calc(max(var(--gut), (var(--vw, 100vw) - var(--container)) / 2) - var(--d-edge)) 0; }
.cta__copy { position: relative; z-index: 1; display: flex; align-items: end; justify-content: space-between; gap: var(--s-6) var(--s-8); flex-wrap: wrap; }
.cta__copy h2 { margin: 0; max-width: 16ch; font-size: clamp(30px, 2.2vw + 14px, 52px); line-height: 1.08; }
.cta__copy h2::before { content: "\2192\00a0"; }
.cta__copy h2 em { font-family: var(--font-promise); font-style: italic; letter-spacing: -0.01em; }
.cta__actions { display: grid; justify-items: start; gap: var(--s-3); }
.cta__meta { margin: 0; display: flex; gap: 10px; font-size: 15px; color: var(--muted); }
.cta__meta a { color: var(--p-ink); text-decoration: none; font-variant-numeric: tabular-nums; }
.cta__meta a:hover { text-decoration: underline; text-underline-offset: 3px; }
/* the name: thin, wide-set, engraved into the silver and cut by the panel's edge */
.cta__word { margin: 0 0 -.16em; text-align: center; font: 200 clamp(72px, 14.5vw, 232px)/.8 var(--font-display); letter-spacing: .14em; padding-left: .14em;
  background: linear-gradient(180deg, rgb(24 24 24 / .5), rgb(24 24 24 / .14)); -webkit-background-clip: text; background-clip: text; color: transparent;
  pointer-events: none; user-select: none; }
@media (max-width: 639px) { .cta__copy { display: grid; } .cta__word { letter-spacing: .08em; padding-left: .08em; } }

/* ---------- 12. footer ---------- */
.dfoot { position: relative; z-index: 1; background: var(--bg); padding: clamp(56px, 7vw, 112px) 0 40px; }
@media (max-width: 1023px) { .dfoot { padding-bottom: 112px; } }
.dfoot__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s-7); }
.dfoot__lead { display: grid; align-content: start; gap: var(--s-4); }
.dfoot__lead h2 { margin: 0; max-width: 16ch; }
.dfoot__phone { margin-top: var(--s-5); font-size: clamp(24px, 1vw + 18px, 32px); font-variant-numeric: tabular-nums; color: var(--p-ink); text-decoration: none; letter-spacing: -0.02em; }
.dfoot__phone:hover { text-decoration: underline; text-underline-offset: 4px; }
.dfoot__lead p { margin: 0; }
.dfoot__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-6); }
.dfoot__cols h3 { margin: 0 0 var(--s-4); font-size: 15px; font-weight: 500; }
.dfoot__cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.dfoot__cols a { color: var(--muted); text-decoration: none; font-size: 15px; transition: color .3s var(--lg-ease); }
.dfoot__cols a:hover { color: var(--p-ink); }
.dfoot a:focus-visible { outline: 2px solid var(--p-ink); outline-offset: 3px; border-radius: 2px; }
.dfoot__legal { margin-top: clamp(48px, 6vw, 96px); padding-top: var(--s-5); border-top: 1px solid color-mix(in oklab, var(--p-ink) 12%, transparent);
  display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-6); font-size: 13px; color: var(--muted); }
.dfoot__legal a { color: inherit; }
.dfoot__legal .credits { margin-left: auto; }
@media (max-width: 1023px) { .dfoot__grid { grid-template-columns: 1fr; } }
@media (max-width: 639px) { .dfoot__cols { grid-template-columns: 1fr 1fr; } .dfoot__legal .credits { margin-left: 0; } }

@media (prefers-reduced-motion: reduce) {
  .steps__slide, .deep__media img, .fcard__media img { transition: none !important; }
  .fcard { transform: none !important; }
}

/* ---------- 13. a little less air between the blocks (the client, 13.11.2026) ---------- */
@media (min-width: 1024px) { :root { --padt: 104px; --padb: 40px; } }
@media (min-width: 640px) and (max-width: 1023px) { :root { --padt: 100px; --padb: 40px; } }
@media (max-width: 639px) { :root { --padt: 80px; --padb: 32px; } }
.area__note { margin: var(--s-2) 0 0; padding-top: var(--s-4); border-top: 1px solid rgb(24 24 24 / .1); font-size: 14px; color: var(--muted); }
main > .section.calc-sec > .wrap { grid-template-rows: auto auto; align-content: start; }
.calc2__step:last-child { align-content: space-between; }

/* ---------- 14. sections that take the height of their content (the client: less white around the statement) ---------- */
main > .section.fit { height: auto; min-height: 0; padding-block: clamp(72px, 7vw, 112px) clamp(56px, 5vw, 88px); }
main > .section.fit > .wrap { height: auto; }
main > .section.sheet.fit { padding-block: clamp(80px, 8vw, 128px); }
@media (max-width: 639px) { main > .section.fit, main > .section.sheet.fit { min-height: 0; padding-block: 72px 56px; } }
.calc-head p { flex: 1 1 280px; min-width: 0; }
.area__quick { min-width: 0; }

/* M7: hover effects only where a mouse hovers (on touch they stuck after a tap) */
@media (hover: none) {
  .fcard:hover .fcard__media img { scale: 1.06; }
  .fcard:hover .fcard__more .d-plus { transform: none; }
  .tchoice:hover { box-shadow: inset 0 0 0 1px rgb(24 24 24 / .08); }
}
/* iOS press: cards and rows give a little under the finger (scale composes with the tilt's transform) */
.tcard, .fcard, .tchoice { transition-property: box-shadow, scale; transition-duration: .6s, .32s; transition-timing-function: var(--lg-ease), var(--lg-spring); }
.tcard:active, .fcard:active { scale: .985; transition-duration: .6s, 90ms; }
.tchoice:active { transform: none; scale: .985; }
@media (prefers-reduced-motion: reduce) {
  .acc__body, .qa__item::details-content, .steps__media img, .tcard__go, .d-plus { transition: none !important; }
  .tcard:active, .fcard:active, .tchoice:active { scale: 1 !important; }
}
/* M5: on touch screens the entrances skip the blur (cheaper on phones; the motion stays) */
@media (pointer: coarse) { .js-rail .rail .tilt, .rv-js [data-rv] { filter: none !important; } }
