/* Homepage v3: «системы записи». Новые секции поверх ui-system + page-rebuild.
   Только токены --ui-*. Хиро остаётся утверждённым референсом. */

/* ── Hero: вопрос и ответ раздельно, два цвета текста, шапка без дубля CTA ── */

@media (min-width: 981px) {
  .home-header.ui-header {
    grid-template-columns: 1fr auto;
  }

  .home-header .ui-header__nav {
    justify-content: flex-end;
  }
}

.home-header .ui-header__logo {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: .18em;
}

.home-hero-shell .home-hero {
  min-height: 560px;
  padding-top: clamp(48px, 5.5vw, 78px);
  padding-bottom: 44px;
}

.home-hero__copy .ui-section-label {
  color: var(--ui-color-muted);
}

.home-hero__title {
  max-width: 700px;
  margin: 28px 0 18px;
  font-size: clamp(40px, 4.4vw, 60px);
  line-height: 1.04;
}

.home-hero__sub {
  max-width: 620px;
  margin: 0 0 30px;
  font-family: var(--ui-font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(21px, 1.9vw, 27px);
  line-height: 1.34;
  color: var(--ui-color-ink);
}

.home-hero__lead {
  max-width: 560px;
  margin-bottom: 40px;
  font-size: clamp(17px, 1.3vw, 19px);
}

.home-hero__lead::before {
  content: none;
}


/* Возвращаем вторую кнопку hero (референс прятал её, новая спека требует две).
   На мобиле остаётся одна главная, как и было. */
@media (min-width: 681px) {
  .home-hero__actions .ui-button--secondary {
    display: inline-flex;
  }
}

/* ── Problem: тезис + доказательство ── */

.problem .container {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 0;
  border-radius: var(--ui-radius-lg);
  background:
    radial-gradient(circle at 2% 4%, rgba(232, 223, 242, .9), transparent 31%),
    radial-gradient(circle at 96% 104%, rgba(244, 231, 184, .68), transparent 32%),
    var(--ui-color-surface);
  box-shadow: var(--ui-shadow-card);
}

.problem .container::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 28px;
  right: 30px;
  width: 178px;
  height: 116px;
  background-image: radial-gradient(circle, rgba(123, 96, 151, .22) 0 1px, transparent 1.25px);
  background-size: 13px 13px;
  opacity: .7;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(135deg, #000 0, transparent 82%);
  mask-image: linear-gradient(135deg, #000 0, transparent 82%);
}

.problem-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  grid-template-areas:
    "lead leaks"
    "accent accent";
  column-gap: clamp(38px, 6vw, 78px);
  row-gap: 34px;
  align-items: start;
}

.problem-lead {
  grid-area: lead;
}

.problem-copy {
  grid-area: leaks;
  padding: 12px;
  border-radius: 16px;
  background: rgba(255, 253, 248, .74);
  box-shadow: 0 7px 14px rgba(47, 41, 31, .07);
}

.problem-title {
  max-width: 430px;
  margin: 0 0 22px;
  color: var(--ui-color-ink);
  font-family: var(--ui-font-display);
  font-size: clamp(38px, 3.8vw, 50px);
  font-weight: 500;
  line-height: 1.02;
  text-wrap: balance;
}

.problem-title__mark {
  color: var(--ui-color-lilac-ink);
}

.problem-lead p {
  max-width: none;
  margin: 0;
}

.problem-lead p {
  max-width: 390px;
  color: var(--ui-color-muted);
  font-size: 17px;
  line-height: 1.68;
}

.problem-leaks {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.problem-leaks li {
  position: relative;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-height: 58px;
  padding: 10px 18px 10px 10px;
  border-radius: 12px;
  background: rgba(255, 253, 248, .68);
}

.problem-leaks li:nth-child(2),
.problem-leaks li:nth-child(4) {
  background: rgba(244, 231, 184, .24);
}

.problem-leaks span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: var(--ui-color-lilac);
  color: var(--ui-color-ink);
  font-family: var(--ui-font-sans);
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  box-shadow: inset 0 0 0 1px rgba(123, 96, 151, .13), 0 3px 7px rgba(77, 64, 93, .1);
}

.problem-leaks li:nth-child(2) span,
.problem-leaks li:nth-child(4) span {
  background: #f2d86e;
  box-shadow: inset 0 0 0 1px rgba(122, 91, 5, .12), 0 3px 7px rgba(122, 91, 5, .1);
}

.problem-leaks b {
  color: var(--ui-color-ink-soft);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
}

.problem-accent {
  grid-area: accent;
  max-width: none !important;
  margin: 0 !important;
  padding: clamp(24px, 3vw, 32px) clamp(24px, 3.5vw, 40px) !important;
  border: 0 !important;
  border-radius: 16px !important;
  background: var(--ui-color-lilac) !important;
  color: var(--ui-color-lilac-ink) !important;
  font-family: var(--ui-font-display);
  font-size: clamp(24px, 2.2vw, 30px) !important;
  font-weight: 500;
  line-height: 1.22 !important;
  box-shadow: 0 8px 0 rgba(164, 142, 220, .28);
}

.problem-accent span {
  color: var(--ui-color-lilac-ink);
  font-weight: 600;
}

@media (max-width: 820px) {
  .problem-inner {
    grid-template-columns: 1fr;
    grid-template-areas:
      "lead"
      "leaks"
      "accent";
    gap: 30px;
  }

  .problem-title,
  .problem-lead p {
    max-width: 620px;
  }

  .problem .container::before {
    top: 22px;
    right: 18px;
    width: 132px;
  }
}

@media (max-width: 520px) {
  .problem-copy {
    margin-inline: -8px;
    padding: 8px;
  }

  .problem-leaks li {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 12px;
    padding-right: 10px;
  }

  .problem-leaks span {
    width: 34px;
    height: 34px;
  }

  .problem-leaks b {
    font-size: 15px;
  }

  .problem-accent {
    margin-bottom: 8px !important;
    font-size: 23px !important;
  }
}

/* Подпись «Путь клиента» не должна уходить под сливочную карточку. */
.home-insight--path p {
  max-width: 168px;
}

/* ── Hero report: одна орбита и живая линейная волна ── */

.home-hero__visual {
  --orbit-x: 175px;
  --orbit-y: 210px;
  position: relative;
  min-height: 640px;
  isolation: isolate;
}

.home-hero__wave {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.home-hero__wave path {
  fill: none;
  stroke: rgba(162, 143, 207, .34);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.home-hero__orbit-line {
  stroke: rgba(162, 143, 207, .46) !important;
}

.home-hero__wave-lines {
  transform-origin: 52% 76%;
  animation: home-wave-drift 9s cubic-bezier(.77, 0, .175, 1) infinite alternate;
}

.home-insight,
.home-insight--map,
.home-insight--path,
.home-insight--priority {
  position: absolute;
  inset: 50% auto auto 50%;
  z-index: 2;
  width: 200px;
  min-height: 210px;
  padding: 22px;
  border: 0;
  border-radius: 16px;
  box-shadow: 0 7px 8px rgba(39, 33, 27, .06);
  will-change: transform;
  animation: home-card-orbit 24s linear infinite;
}

.home-insight--map {
  width: 200px;
  min-height: 210px;
  animation-delay: 0s;
}

.home-insight--path {
  width: 200px;
  min-height: 210px;
  animation-delay: -8s;
}

.home-insight--priority {
  width: 200px;
  min-height: 210px;
  animation-delay: -16s;
}

.home-insight span {
  margin-bottom: 14px;
  color: var(--ui-color-ink);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .16em;
  line-height: 1.3;
  text-transform: uppercase;
}

.home-insight span::after {
  content: "";
  display: block;
  width: 28px;
  height: 1px;
  margin-top: 13px;
  background: #a98bdf;
}

.home-insight p,
.home-insight--path p {
  max-width: 175px;
  font-size: 13px;
  line-height: 1.48;
}

.signal-chart {
  height: 60px;
}

.route-line,
.priority-bars {
  margin-top: auto;
}

@keyframes home-card-orbit {
  0%, 100% {
    transform: translate(-50%, -50%) translate3d(0, calc(var(--orbit-y) * -1), 0);
  }
  12.5% {
    transform: translate(-50%, -50%) translate3d(calc(var(--orbit-x) * .72), calc(var(--orbit-y) * -.72), 0);
  }
  25% {
    transform: translate(-50%, -50%) translate3d(var(--orbit-x), 0, 0);
  }
  37.5% {
    transform: translate(-50%, -50%) translate3d(calc(var(--orbit-x) * .72), calc(var(--orbit-y) * .72), 0);
  }
  50% {
    transform: translate(-50%, -50%) translate3d(0, var(--orbit-y), 0);
  }
  62.5% {
    transform: translate(-50%, -50%) translate3d(calc(var(--orbit-x) * -.72), calc(var(--orbit-y) * .72), 0);
  }
  75% {
    transform: translate(-50%, -50%) translate3d(calc(var(--orbit-x) * -1), 0, 0);
  }
  87.5% {
    transform: translate(-50%, -50%) translate3d(calc(var(--orbit-x) * -.72), calc(var(--orbit-y) * -.72), 0);
  }
}

@keyframes home-wave-drift {
  from { transform: translate3d(-5px, 3px, 0) scale(.985); opacity: .68; }
  to { transform: translate3d(6px, -4px, 0) scale(1.015); opacity: 1; }
}

@media (hover: hover) and (pointer: fine) {
  .home-hero__visual:hover .home-insight {
    animation-play-state: paused;
  }
}

@media (max-width: 680px) {
  .home-hero__visual {
    min-height: auto;
  }

  .home-hero__wave {
    inset: auto -18px -24px;
    width: calc(100% + 36px);
    height: 420px;
    opacity: .48;
  }

  .home-insight,
  .home-insight--map,
  .home-insight--path,
  .home-insight--priority {
    position: relative;
    inset: auto;
    width: 100%;
    min-height: 178px;
    animation: none;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero__wave-lines,
  .home-insight,
  .home-insight--map,
  .home-insight--path,
  .home-insight--priority {
    animation: none;
  }

  .home-insight--map {
    transform: translate(-50%, -50%) translate3d(0, calc(var(--orbit-y) * -1), 0);
  }

  .home-insight--path {
    transform: translate(-50%, -50%) translate3d(calc(var(--orbit-x) * .86), calc(var(--orbit-y) * .5), 0);
  }

  .home-insight--priority {
    transform: translate(-50%, -50%) translate3d(calc(var(--orbit-x) * -.86), calc(var(--orbit-y) * .5), 0);
  }
}

@media (max-width: 680px) and (prefers-reduced-motion: reduce) {
  .home-insight,
  .home-insight--map,
  .home-insight--path,
  .home-insight--priority {
    transform: none;
  }
}

/* ── Hero report: пропорции и графика по утверждённому референсу ── */

.home-hero__visual {
  position: relative;
  width: min(100%, 520px);
  min-height: 590px;
  justify-self: end;
  isolation: isolate;
}

.home-hero__wave {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.home-hero__wave path {
  fill: none;
  stroke: rgba(164, 142, 220, .3);
  stroke-width: .8;
  vector-effect: non-scaling-stroke;
}

.home-hero__grid-lines path {
  stroke: rgba(164, 142, 220, .18);
}

.home-hero__orbit-line {
  stroke: rgba(164, 142, 220, .44) !important;
}

.home-hero__orbit-line--inner {
  opacity: .72;
}

.home-hero__wave-lines {
  transform-origin: 52% 82%;
  animation: home-mesh-breathe 6s cubic-bezier(.22, 1, .36, 1) infinite alternate;
}

.home-insight,
.home-insight--map,
.home-insight--path,
.home-insight--priority {
  position: absolute;
  right: auto;
  bottom: auto;
  display: flex;
  flex-direction: column;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 18px;
  box-shadow: none;
  animation: none;
  will-change: transform;
}

.home-insight::before {
  content: none;
}

.home-insight--map {
  top: 28px;
  left: 180px;
  z-index: 2;
  width: 238px;
  height: 230px;
  min-height: 230px;
  padding: 25px 30px 0;
  background: #eee8f7;
  animation: home-map-orbit 9s cubic-bezier(.77, 0, .175, 1) infinite;
}

.home-insight--path {
  top: 198px;
  left: 52px;
  z-index: 3;
  width: 204px;
  height: 210px;
  min-height: 210px;
  padding: 25px 26px 14px;
  background: #eee8f7;
  animation: home-path-orbit 9s cubic-bezier(.77, 0, .175, 1) infinite;
}

.home-insight--priority {
  top: 296px;
  left: 262px;
  z-index: 4;
  width: 204px;
  height: 214px;
  min-height: 214px;
  padding: 25px 25px 16px;
  background:
    radial-gradient(circle at 64% 50%, rgba(255, 255, 255, .48), transparent 58%),
    var(--ui-color-butter);
  animation: home-priority-orbit 9s cubic-bezier(.77, 0, .175, 1) infinite;
}

.home-insight span {
  margin: 0 0 13px;
  color: var(--ui-color-ink);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .15em;
  line-height: 1.3;
  text-transform: uppercase;
}

.home-insight span::after {
  width: 28px;
  margin-top: 13px;
  background: #a98bdf;
}

.home-insight p,
.home-insight--path p {
  max-width: 172px;
  margin: 0;
  color: var(--ui-color-ink-soft);
  font-size: 12px;
  line-height: 1.55;
}

.signal-chart {
  display: block;
  width: 190px;
  height: 96px;
  margin: auto -6px 0;
  padding: 0;
  overflow: visible;
}

.signal-chart path:not(.signal-chart__area) {
  fill: none;
  stroke: rgba(108, 80, 166, .42);
  stroke-width: 1;
}

.signal-chart__area {
  fill: rgba(201, 183, 240, .48);
  stroke: none;
}

.signal-chart circle {
  fill: #fefcf8;
  stroke: #8b8194;
  stroke-width: .8;
}

.signal-chart .signal-chart__dark {
  fill: #050505;
  stroke: #050505;
}

.signal-chart .signal-chart__yellow {
  fill: #f7d76e;
  stroke: #f7d76e;
}

.signal-chart circle {
  transform-box: fill-box;
  transform-origin: center;
  animation: home-signal-pulse 2.4s cubic-bezier(.22, 1, .36, 1) infinite;
}

.signal-chart circle:nth-of-type(2) { animation-delay: .35s; }
.signal-chart circle:nth-of-type(3) { animation-delay: .7s; }
.signal-chart circle:nth-of-type(4) { animation-delay: 1.05s; }
.signal-chart circle:nth-of-type(5) { animation-delay: 1.4s; }
.signal-chart circle:nth-of-type(6) { animation-delay: 1.75s; }

.route-line {
  position: static;
  display: block;
  width: 160px;
  height: 86px;
  margin: auto -4px 0;
  padding: 0;
  overflow: visible;
}

.route-line::before,
.route-line::after {
  content: none;
}

.route-line path,
.route-line circle {
  vector-effect: non-scaling-stroke;
}

.route-line__echo path {
  fill: none;
  stroke: rgba(167, 139, 223, .22);
  stroke-width: 5;
}

.route-line__route,
.route-line__arrow {
  fill: none;
  stroke: var(--ui-color-ink);
  stroke-width: 1.4;
}

.route-line__route {
  stroke-dasharray: 220;
  animation: home-route-draw 4.8s cubic-bezier(.22, 1, .36, 1) infinite;
}

.route-line__arrow {
  animation: home-route-arrow 4.8s cubic-bezier(.22, 1, .36, 1) infinite;
}

.route-line > circle:not(.route-line__dot) {
  fill: rgba(255, 253, 248, .72);
  stroke: var(--ui-color-ink);
  stroke-width: 1.25;
}

.route-line__dot {
  fill: #f7d76e;
  stroke: none;
  transform-box: fill-box;
  transform-origin: center;
  animation: home-route-pulse 2.2s cubic-bezier(.22, 1, .36, 1) infinite;
}

.priority-bars {
  display: block;
  width: 156px;
  height: 86px;
  margin: auto 0 0;
  overflow: visible;
}

.priority-bars circle {
  fill: #050505;
}

.priority-bars text {
  fill: #fff;
  font-family: var(--ui-font-sans);
  font-size: 10px;
  text-anchor: middle;
}

.priority-bars path {
  fill: none;
  stroke: #ad94e3;
  stroke-width: 10;
  stroke-linecap: round;
}

.priority-bars .priority-bars__light {
  stroke: rgba(255, 255, 255, .88);
}

.priority-bars path {
  transform-box: fill-box;
  transform-origin: left center;
  animation: home-priority-breathe 3.4s cubic-bezier(.22, 1, .36, 1) infinite alternate;
}

.priority-bars path:nth-of-type(2) { animation-delay: .28s; }
.priority-bars path:nth-of-type(3) { animation-delay: .56s; }

@keyframes home-map-orbit {
  0%, 13.889% { transform: translate3d(0, 0, 0); z-index: 2; }
  33.333%, 47.222% { transform: translate3d(82px, 268px, 0); z-index: 4; }
  66.666%, 80.555% { transform: translate3d(-128px, 170px, 0); z-index: 3; }
  100% { transform: translate3d(0, 0, 0); z-index: 2; }
}

@keyframes home-path-orbit {
  0%, 13.889% { transform: translate3d(0, 0, 0); z-index: 3; }
  33.333%, 47.222% { transform: translate3d(128px, -170px, 0); z-index: 2; }
  66.666%, 80.555% { transform: translate3d(210px, 98px, 0); z-index: 4; }
  100% { transform: translate3d(0, 0, 0); z-index: 3; }
}

@keyframes home-priority-orbit {
  0%, 13.889% { transform: translate3d(0, 0, 0); z-index: 4; }
  33.333%, 47.222% { transform: translate3d(-210px, -98px, 0); z-index: 3; }
  66.666%, 80.555% { transform: translate3d(-82px, -268px, 0); z-index: 2; }
  100% { transform: translate3d(0, 0, 0); z-index: 4; }
}

@keyframes home-mesh-breathe {
  from { transform: translate3d(-6px, 3px, 0) scale(.988); opacity: .66; }
  to { transform: translate3d(7px, -4px, 0) scale(1.012); opacity: 1; }
}

@keyframes home-signal-pulse {
  0%, 54%, 100% { transform: scale(1); opacity: 1; }
  18% { transform: scale(1.72); opacity: .42; }
}

@keyframes home-route-pulse {
  0%, 62%, 100% { transform: scale(1); opacity: 1; }
  25% { transform: scale(1.58); opacity: .5; }
}

@keyframes home-priority-breathe {
  from { transform: scaleX(.38); opacity: .28; }
  to { transform: scaleX(1); opacity: 1; }
}

@keyframes home-route-draw {
  0%, 12% { stroke-dashoffset: 220; opacity: .16; }
  48%, 100% { stroke-dashoffset: 0; opacity: 1; }
}

@keyframes home-route-arrow {
  0%, 42% { opacity: 0; transform: translateX(-8px); }
  58%, 100% { opacity: 1; transform: translateX(0); }
}

@media (hover: hover) and (pointer: fine) {
  .home-hero__visual:hover .home-insight,
  .home-hero__visual:hover .signal-chart circle,
  .home-hero__visual:hover .route-line__dot,
  .home-hero__visual:hover .route-line__route,
  .home-hero__visual:hover .route-line__arrow,
  .home-hero__visual:hover .priority-bars path {
    animation-play-state: paused;
  }
}

@media (max-width: 980px) {
  .home-hero__visual {
    justify-self: center;
  }
}

@media (max-width: 680px) {
  .home-hero__visual {
    width: 100%;
    min-height: auto;
  }

  .home-hero__wave {
    inset: auto -18px -28px;
    width: calc(100% + 36px);
    height: 400px;
    opacity: .42;
  }

  .home-insight,
  .home-insight--map,
  .home-insight--path,
  .home-insight--priority {
    position: relative;
    inset: auto;
    width: 100%;
    animation: none;
    transform: none;
  }

  .home-insight--map {
    min-height: 230px;
  }

  .home-insight--path,
  .home-insight--priority {
    min-height: 205px;
  }

  .signal-chart {
    width: min(100%, 240px);
    margin-inline: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero__wave-lines,
  .home-insight,
  .home-insight--map,
  .home-insight--path,
  .home-insight--priority,
  .signal-chart circle,
  .route-line__dot,
  .route-line__route,
  .route-line__arrow,
  .priority-bars path {
    animation: none;
    transform: none;
  }
}

/* ── Мостик на диагностику ── */

.bridge .container {
  max-width: var(--ui-container);
}

.bridge-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
  padding: clamp(36px, 5vw, 72px);
  border: 1px solid var(--ui-color-line-lavender);
  border-radius: var(--ui-radius-xl);
  background: var(--ui-color-surface);
}

.bridge-title {
  margin: 0 0 22px;
  font-size: clamp(38px, 4.4vw, 62px);
  line-height: 1.02;
  color: var(--ui-color-ink);
}

.bridge-copy p {
  max-width: 560px;
  margin: 0 0 16px;
  color: var(--ui-color-ink-soft);
  font-size: 17px;
  line-height: 1.72;
}

.bridge-cta {
  margin-top: 14px;
}

.bridge-visual {
  width: min(100%, 430px);
  justify-self: center;
  padding-block: 10px;
}

.bridge-path__heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--ui-color-line-lavender);
}

.bridge-path__heading span {
  color: var(--ui-color-muted);
  font-size: 13px;
  line-height: 1.4;
}

.bridge-path__heading strong {
  color: var(--ui-color-ink);
  font-family: var(--ui-font-display);
  font-size: clamp(25px, 2.5vw, 34px);
  font-weight: 500;
  line-height: 1;
}

.bridge-path {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 14px;
  overflow: visible;
}

.bridge-path path,
.bridge-path circle {
  vector-effect: non-scaling-stroke;
}

.bridge-path__line {
  fill: none;
  stroke: var(--ui-color-line-lavender);
  stroke-linecap: round;
  stroke-width: 2;
}

.bridge-path__node {
  fill: var(--ui-color-surface);
  stroke: var(--ui-color-lilac-ink);
  stroke-width: 1.5;
}

.bridge-path__node--finish {
  fill: var(--ui-color-cta);
  stroke: var(--ui-color-cta);
}

.bridge-path__signal {
  fill: var(--ui-color-lilac-ink);
  stroke: var(--ui-color-surface);
  stroke-width: 2.5;
  opacity: 0;
  transform-box: view-box;
  transform-origin: 0 0;
}

.bridge-visual.is-animated .bridge-path__signal {
  animation: bridge-signal-travel 3.8s var(--ui-ease-out) 1 forwards;
}

.bridge-path__steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: -8px 0 0;
  padding: 0;
  list-style: none;
}

.bridge-path__steps li {
  min-width: 0;
}

.bridge-path__steps b,
.bridge-path__steps span {
  display: block;
}

.bridge-path__steps b {
  color: var(--ui-color-ink);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

.bridge-path__steps span {
  margin-top: 3px;
  color: var(--ui-color-muted);
  font-size: 11px;
  line-height: 1.4;
}

.bridge-visual__caption {
  max-width: 350px;
  margin: 24px 0 0;
  color: var(--ui-color-muted);
  font-size: 14px;
  line-height: 1.55;
}

@keyframes bridge-signal-travel {
  0% {
    opacity: 0;
    transform: translate3d(0, 0, 0) scale(.8);
  }
  7%, 22% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
  36%, 43% {
    opacity: 1;
    transform: translate3d(100px, -48px, 0) scale(1);
  }
  59%, 66% {
    opacity: 1;
    transform: translate3d(200px, -22px, 0) scale(1);
  }
  84%, 100% {
    opacity: 1;
    transform: translate3d(300px, -94px, 0) scale(1);
  }
}

/* ── Что я собираю: редакционный номерной список ── */

.system-layout {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.35fr);
  gap: clamp(32px, 5vw, 88px);
  align-items: start;
}

.system-head {
  position: sticky;
  top: 40px;
}

.system-head .section-title {
  margin-bottom: 22px;
}

.system-head .section-lead {
  margin: 0;
}

.system-list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.system-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(18px, 2.5vw, 34px);
  padding: clamp(24px, 3vw, 36px) 0;
}

.system-row + .system-row {
  border-top: 1px solid var(--ui-color-line);
}

.system-row__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 1px solid var(--ui-color-line-lavender);
  border-radius: 50%;
  background: var(--ui-color-surface);
  color: var(--ui-color-lilac-ink);
  font-family: var(--ui-font-display);
  font-size: 24px;
  font-weight: 600;
  line-height: 1;
}

.system-row:nth-child(2) .system-row__num {
  background: var(--ui-color-lilac);
}

.system-row:nth-child(3) .system-row__num {
  background: var(--ui-color-butter);
  border-color: rgba(205, 179, 87, .4);
  color: var(--ui-color-butter-ink);
}

.system-row__body h3 {
  margin: 6px 0 10px;
  font-family: var(--ui-font-sans);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: .01em;
  color: var(--ui-color-ink);
}

.system-row__body p {
  max-width: 560px;
  margin: 0;
  color: var(--ui-color-muted);
  font-size: 16px;
  line-height: 1.68;
}

/* ── Кто я ── */

.who .container {
  max-width: var(--ui-container);
}

.who-panel {
  display: grid;
  grid-template-columns: minmax(280px, .78fr) minmax(0, 1.22fr);
  grid-template-areas:
    "photo head"
    "photo body";
  column-gap: clamp(42px, 6vw, 84px);
  row-gap: 34px;
  align-items: start;
  padding: clamp(36px, 5vw, 72px);
  border: 1px solid var(--ui-color-line);
  border-radius: var(--ui-radius-xl);
  background: var(--ui-color-surface);
}

.who-head {
  grid-area: head;
}

.who-title {
  margin: 20px 0 0;
  max-width: 660px;
  font-family: var(--ui-font-display);
  font-size: clamp(36px, 3.8vw, 54px);
  font-weight: 500;
  line-height: 1.04;
  color: var(--ui-color-ink);
  text-wrap: balance;
}

.who-title em {
  font-style: italic;
  color: var(--ui-color-lilac-ink);
}

.who-photo {
  grid-area: photo;
  width: 100%;
  aspect-ratio: 4 / 5;
  margin: 0;
  border: 1px solid var(--ui-color-line-lavender);
  border-radius: var(--ui-radius-lg);
  overflow: hidden;
}

.who-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
  transform: scale(1.22);
  transform-origin: top left;
}

.who-body {
  grid-area: body;
  max-width: 650px;
}

.who-body p {
  margin: 0 0 18px;
  color: var(--ui-color-muted);
  font-size: 17px;
  line-height: 1.74;
}

.who-body p:last-of-type {
  margin-bottom: 0;
}

.who-sign {
  margin-top: 26px !important;
  padding-top: 22px;
  border-top: 1px solid var(--ui-color-line);
  font-family: var(--ui-font-display);
  font-style: italic;
  font-size: 26px !important;
  line-height: 1.2;
  color: var(--ui-color-ink) !important;
}

/* Синхронный старт метрик в двух сравнительных кейсах. */
@media (min-width: 901px) {
  .cases-grid > .case:nth-child(-n + 2) .case-body > .case-location + p {
    min-block-size: 8em;
  }
}

@media (min-width: 901px) and (max-width: 1040px) {
  .cases-grid > .case:nth-child(-n + 2) .case-body > .case-location + p {
    min-block-size: 9.6em;
  }
}

/* ── Кейс без скриншота: сервис напоминаний ── */

.case--system .case-stat {
  position: relative;
  display: grid;
  align-content: center;
  gap: 12px;
  min-height: 250px;
  padding: clamp(28px, 3vw, 44px);
  border-radius: var(--ui-radius-lg) var(--ui-radius-lg) 0 0;
  background:
    radial-gradient(circle at 82% 18%, rgba(185, 160, 234, .35), transparent 46%),
    var(--ui-color-cta);
  color: var(--ui-color-bg-soft);
  overflow: hidden;
}

.case--system .case-stat::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -110px;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(244, 231, 184, .35);
  border-radius: 50%;
  pointer-events: none;
}

.case-stat__value {
  font-family: var(--ui-font-display);
  font-size: clamp(72px, 7vw, 108px);
  font-weight: 500;
  line-height: .9;
}

.case-stat__label {
  max-width: 320px;
  color: rgba(255, 253, 248, .78);
  font-size: 14px;
  line-height: 1.55;
}

.case-stat__flow {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 14px;
}

.case-stat__flow i {
  position: relative;
  display: block;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: rgba(244, 231, 184, .9);
}

.case-stat__flow i + i::before {
  content: "";
  position: absolute;
  right: 100%;
  top: 6px;
  width: 30px;
  height: 1px;
  background: rgba(255, 253, 248, .4);
}

.case-stat__flow i:last-child {
  background: #b9a0ea;
}

/* ── Лестница ── */

.ladder-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  align-items: end;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ladder-step {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: clamp(24px, 2.4vw, 34px);
  border: 1px solid var(--ui-color-line);
  border-radius: var(--ui-radius-lg);
  background: var(--ui-color-surface);
}

.ladder-step:nth-child(1) {
  background: linear-gradient(160deg, rgba(232, 223, 242, .8), rgba(255, 253, 248, .9));
  border-color: rgba(178, 162, 214, .38);
}

.ladder-step:nth-child(2) {
  min-height: 300px;
}

.ladder-step:nth-child(1) {
  min-height: 260px;
}

.ladder-step--featured {
  min-height: 340px;
  background:
    radial-gradient(circle at 86% 10%, rgba(185, 160, 234, .3), transparent 44%),
    var(--ui-color-cta);
  border-color: rgba(255, 255, 255, .08);
  color: var(--ui-color-bg-soft);
}

.ladder-step:nth-child(4) {
  min-height: 380px;
  background: linear-gradient(160deg, rgba(244, 231, 184, .78), rgba(255, 253, 248, .9));
  border-color: rgba(205, 179, 87, .32);
}

.ladder-step__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.ladder-step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--ui-color-line-lavender);
  border-radius: 50%;
  background: rgba(255, 253, 248, .8);
  color: var(--ui-color-ink);
  font-family: var(--ui-font-display);
  font-size: 21px;
  font-weight: 600;
}

.ladder-step--featured .ladder-step__num {
  background: transparent;
  border-color: rgba(255, 253, 248, .35);
  color: var(--ui-color-bg-soft);
}

.ladder-step__price {
  color: var(--ui-color-muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  text-align: right;
}

.ladder-step--featured .ladder-step__price {
  color: rgba(255, 253, 248, .72);
}

.ladder-step h3 {
  margin: 0;
  font-family: var(--ui-font-display);
  font-size: 27px;
  font-weight: 500;
  line-height: 1.1;
  color: inherit;
}

.ladder-step p {
  margin: 0;
  color: var(--ui-color-muted);
  font-size: 15px;
  line-height: 1.62;
}

.ladder-step--featured p {
  color: rgba(255, 253, 248, .78);
}

.ladder-step__link {
  justify-self: start;
  margin-top: 10px;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--ui-color-line-strong);
  color: var(--ui-color-ink);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: border-color var(--ui-motion-fast) var(--ui-ease-out), transform var(--ui-motion-fast) var(--ui-ease-out);
}

.ladder-step__link:hover {
  border-color: var(--ui-color-ink);
  transform: translateY(-1px);
}

.ladder-step--featured .ladder-step__link {
  color: var(--ui-color-bg-soft);
  border-color: rgba(255, 253, 248, .4);
}

.ladder-step--featured .ladder-step__link:hover {
  border-color: rgba(255, 253, 248, .9);
}

/* ── Единый материал для лестницы решений ── */

.ladder-steps {
  align-items: stretch;
  gap: clamp(16px, 2vw, 24px);
}

.ladder-step,
.ladder-step:nth-child(1),
.ladder-step:nth-child(2),
.ladder-step:nth-child(4) {
  grid-template-rows: auto auto 1fr auto;
  min-height: 0;
  padding: clamp(24px, 2.2vw, 30px);
  border-color: rgba(222, 215, 202, .92);
  background: rgba(255, 253, 248, .74);
  box-shadow: var(--ui-shadow-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.ladder-step--featured {
  min-height: 0;
  border-color: rgba(255, 255, 255, .14);
  background: var(--ui-color-cta);
  box-shadow: var(--ui-shadow-lift);
}

.ladder-step {
  transition: transform var(--ui-motion-enter) var(--ui-ease-out), box-shadow var(--ui-motion-enter) var(--ui-ease-out), border-color var(--ui-motion-fast) ease;
}

.ladder-step:hover {
  border-color: var(--ui-color-line-strong);
  box-shadow: var(--ui-shadow-lift);
  transform: translateY(-5px);
}

.ladder-step__head {
  margin-bottom: 12px;
}

.ladder-step__num {
  width: 42px;
  height: 42px;
  border-color: var(--ui-color-line-lavender);
  background: rgba(255, 253, 248, .9);
}

.ladder-step h3 {
  max-width: none;
  margin-bottom: 10px;
  font-size: clamp(23px, 1.8vw, 28px);
  line-height: 1.16;
}

.ladder-step p {
  max-width: none;
  font-size: 15px;
  line-height: 1.55;
}

.ladder-step__link {
  margin-top: 16px;
}

/* ── Честная рамка ── */

.honest .container {
  max-width: var(--ui-container);
}

.honest-panel {
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(40px, 5vw, 76px) clamp(28px, 5vw, 84px);
  border-radius: var(--ui-radius-xl);
  border: 1px solid var(--ui-color-line-lavender);
  background:
    linear-gradient(120deg, rgba(232, 223, 242, .5), transparent 55%),
    var(--ui-color-bg-soft);
  text-align: left;
}

.honest-title {
  margin: 0 0 20px;
  font-family: var(--ui-font-display);
  font-size: clamp(36px, 4.2vw, 58px);
  font-weight: 500;
  line-height: 1.04;
  color: var(--ui-color-ink);
}

.honest-panel p {
  max-width: 760px;
  margin: 0;
  color: var(--ui-color-ink-soft);
  font-size: 18px;
  line-height: 1.76;
}

/* ── Адаптив ── */

@media (max-width: 1080px) {
  .ladder-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
  }

  .ladder-step,
  .ladder-step:nth-child(1),
  .ladder-step:nth-child(2),
  .ladder-step--featured,
  .ladder-step:nth-child(4) {
    min-height: 0;
  }
}

@media (max-width: 980px) {
  .bridge-panel,
  .system-layout {
    grid-template-columns: 1fr;
  }

  .system-head {
    position: static;
  }

  .bridge-visual {
    justify-self: start;
    width: min(100%, 560px);
  }

  .who-panel {
    grid-template-columns: 1fr;
    grid-template-areas:
      "head"
      "photo"
      "body";
    gap: 30px;
  }

  .who-photo {
    width: min(100%, 560px);
    aspect-ratio: 16 / 10;
  }

  .who-photo img {
    transform: scale(1.1);
  }
}

@media (max-width: 620px) {
  .home-hero-shell .home-hero {
    padding-top: 36px;
    padding-bottom: 24px;
  }

  .home-hero__title {
    margin: 18px 0 12px;
    font-size: clamp(32px, 9vw, 42px);
  }

  .home-hero__sub {
    margin-bottom: 20px;
    font-size: 19px;
  }

  .home-hero__lead {
    margin-bottom: 26px;
  }

  .ladder-steps {
    grid-template-columns: 1fr;
  }

  .bridge-path__heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .bridge-path__steps {
    gap: 6px;
  }

  .bridge-path__steps b {
    font-size: 12px;
  }

  .bridge-path__steps span {
    font-size: 10px;
  }

  .system-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .who-panel,
  .bridge-panel,
  .honest-panel {
    padding: 26px 20px;
  }
}

/* ── Homepage cleanup: quieter colour, semantic labels, compact biography ── */

.problem .container {
  max-width: calc(var(--ui-container) - 48px);
  border: 1px solid var(--ui-color-line);
  background: var(--ui-color-surface);
  box-shadow: var(--ui-shadow-card);
}

.problem .container::before {
  content: none;
}

.problem-inner {
  column-gap: clamp(42px, 6vw, 82px);
  row-gap: 30px;
}

.problem-copy {
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.problem-leaks {
  gap: 0;
  border-top: 1px solid var(--ui-color-line);
}

.problem-leaks li,
.problem-leaks li:nth-child(2),
.problem-leaks li:nth-child(4) {
  grid-template-columns: minmax(0, 1fr) 28px minmax(0, 1fr);
  gap: 12px;
  min-height: 54px;
  padding: 11px 0;
  border-bottom: 1px solid var(--ui-color-line);
  border-radius: 0;
  background: transparent;
}

.problem-leaks span,
.problem-leaks li:nth-child(2) span,
.problem-leaks li:nth-child(4) span {
  display: block;
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--ui-color-muted);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.45;
  text-align: right;
  text-transform: none;
}

.problem-leaks i {
  color: var(--ui-color-lilac-ink);
  font-family: var(--ui-font-sans);
  font-size: 18px;
  font-style: normal;
  line-height: 1;
  text-align: center;
}

.problem-accent {
  padding: 28px 0 0 !important;
  border-top: 1px solid var(--ui-color-line) !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--ui-color-ink) !important;
  box-shadow: none;
}

.problem-accent span {
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ui-color-lilac-strong);
  font-weight: 600;
}

.system-layout {
  grid-template-columns: 1fr;
  gap: clamp(38px, 5vw, 58px);
}

.system-head {
  position: static;
  display: grid;
  grid-template-columns: minmax(280px, .78fr) minmax(0, 1.22fr);
  gap: clamp(40px, 7vw, 104px);
  align-items: end;
}

.system-head .section-title {
  max-width: 10ch;
  margin: 0;
  font-size: clamp(40px, 4vw, 54px);
  line-height: 1.06;
}

.system-head .section-lead {
  max-width: 620px;
  justify-self: end;
  font-size: 16px;
  line-height: 1.62;
  text-align: right;
}

.system-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  padding-top: 44px;
}

.system-list::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: var(--ui-color-line-lavender);
}

.system-row,
.system-row + .system-row {
  position: relative;
  display: block;
  padding: 16px clamp(12px, 1.5vw, 20px) 0;
  border: 0;
}

.system-row::before {
  content: "";
  position: absolute;
  top: -44px;
  left: 50%;
  z-index: 1;
  width: 16px;
  height: 16px;
  border: 1px solid var(--ui-color-lilac-strong);
  border-radius: 50%;
  background: var(--ui-color-surface);
  transform: translateX(-50%);
}

.system-row:not(:last-child)::after {
  content: "";
  position: absolute;
  top: -40px;
  right: -9px;
  z-index: 2;
  width: 18px;
  height: 8px;
  padding: 0;
  background: var(--ui-color-lilac-strong);
  clip-path: polygon(0 42%, 68% 42%, 68% 0, 100% 50%, 68% 100%, 68% 58%, 0 58%);
}

.system-row:last-child::before {
  border-color: var(--ui-color-lilac-strong);
  background: var(--ui-color-lilac-strong);
  box-shadow: 0 0 0 5px var(--ui-color-lilac);
}

.system-row__body h3 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.28;
}

.system-row__body p {
  font-size: 14px;
  line-height: 1.55;
}

@media (min-width: 821px) {
  .system-row__body h3 {
    text-align: center;
    text-wrap: balance;
  }

  .system-row__body p {
    margin-inline: auto;
  }
}

.who-panel {
  grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
  column-gap: clamp(38px, 5vw, 68px);
  row-gap: 24px;
  padding: clamp(30px, 4vw, 48px);
}

.who-title {
  margin-top: 16px;
  max-width: 570px;
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.08;
}

.who-photo {
  width: min(100%, 320px);
  justify-self: center;
}

.who-body p {
  margin-bottom: 14px;
  font-size: 16px;
  line-height: 1.64;
}

.case .accordion-toggle {
  width: auto;
  padding: 4px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ui-color-muted);
  font-size: 14px;
  font-weight: 600;
  opacity: 1;
}

.case .accordion-toggle:hover {
  color: var(--ui-color-ink);
}

.case .accordion-toggle:focus-visible {
  outline: 2px solid var(--ui-color-lilac-ink);
  outline-offset: 5px;
}

.ladder-step__head {
  justify-content: flex-start;
}

.ladder-step__price {
  max-width: none;
  text-align: left;
}

@media (max-width: 820px) {
  .problem .container {
    overflow: visible;
  }

  .who-panel {
    gap: 26px;
  }

  .who-photo {
    width: min(100%, 520px);
    aspect-ratio: 16 / 10;
    justify-self: start;
  }

  .system-head {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .system-head .section-lead {
    justify-self: start;
  }

  .system-list {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0 0 0 38px;
  }

  .system-list::before {
    top: 8px;
    right: auto;
    bottom: 10px;
    left: 8px;
    width: 1px;
    height: auto;
  }

  .system-row,
  .system-row + .system-row {
    padding: 0 0 28px;
  }

  .system-row::before {
    top: 4px;
    left: -38px;
    transform: none;
  }

  .system-row:not(:last-child)::after {
    top: auto;
    right: auto;
    bottom: 10px;
    left: -39px;
    transform: rotate(90deg);
  }
}

@media (max-width: 620px) {
  .problem-copy {
    margin-inline: 0;
    padding: 0;
  }

  .problem-leaks li,
  .problem-leaks li:nth-child(2),
  .problem-leaks li:nth-child(4) {
    grid-template-columns: minmax(0, 1fr) 22px minmax(0, 1fr);
    gap: 8px;
    padding: 11px 0;
  }

  .problem-accent {
    padding-top: 22px !important;
    font-size: 22px !important;
  }

  .who-title {
    font-size: 31px;
  }

  .who-body p {
    font-size: 15px;
    line-height: 1.62;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bridge-path__signal {
    animation: none;
    opacity: 1;
    transform: translate3d(300px, -94px, 0);
  }
}

/* ── Homepage unification: editorial rhythm and materials ── */

.ladder .section-title,
.blog-links .section-title,
.form-section .section-title,
.honest-title {
  text-wrap: balance;
}

.ladder .section-lead,
.blog-links .section-lead,
.honest-panel p,
.form-desc {
  text-wrap: pretty;
}

/* The third proof closes the cases row instead of leaving an empty cell. */
@media (min-width: 901px) {
  .cases-grid > .case--system {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(340px, .72fr) minmax(0, 1.28fr);
  }

  .case--system .case-stat {
    min-height: 100%;
    border-radius: var(--ui-radius-lg) 0 0 var(--ui-radius-lg);
  }
}

/* Four offers read as one path, not four unrelated promo cards. */
.ladder-steps {
  gap: 0;
  align-items: stretch;
  overflow: hidden;
  border: 1px solid var(--ui-color-line);
  border-radius: var(--ui-radius-xl);
  background: var(--ui-color-surface);
}

.ladder-step,
.ladder-step:nth-child(1),
.ladder-step:nth-child(2),
.ladder-step:nth-child(4) {
  min-height: 0;
  padding: clamp(26px, 2.4vw, 34px);
  border: 0;
  border-right: 1px solid var(--ui-color-line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: background-color var(--ui-motion-fast) ease;
}

.ladder-step:nth-child(4) {
  border-right: 0;
}

.ladder-step--featured {
  border-right: 1px solid rgba(255, 253, 248, .18);
  background: var(--ui-color-cta);
  box-shadow: none;
}

.ladder-step:not(.ladder-step--featured):hover {
  border-color: var(--ui-color-line);
  background: var(--ui-color-lilac);
  box-shadow: none;
  transform: none;
}

.ladder-step--featured:hover {
  box-shadow: none;
  transform: none;
}

.ladder-step__head {
  align-items: flex-start;
  margin-bottom: 18px;
}

.ladder-step__num {
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ui-color-lilac-ink);
  font-size: 18px;
}

.ladder-step--featured .ladder-step__num {
  border: 0;
  background: transparent;
}

.ladder-step__price {
  max-width: 132px;
  color: var(--ui-color-muted);
  font-size: 12px;
  line-height: 1.35;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.ladder-step h3 {
  margin-bottom: 12px;
  font-size: clamp(24px, 1.85vw, 29px);
  line-height: 1.14;
}

.ladder-step p {
  font-size: 16px;
  line-height: 1.62;
}

.ladder-step__link {
  margin-top: 22px;
}

/* The promise boundary is an editorial note inside the page rhythm. */
.honest {
  padding-block: 0;
}

.honest .container {
  max-width: var(--ui-container);
}

.honest-panel {
  display: grid;
  grid-template-columns: minmax(260px, .72fr) minmax(0, 1.28fr);
  gap: clamp(42px, 7vw, 104px);
  max-width: none;
  margin: 0;
  padding: clamp(52px, 6vw, 82px) 0;
  border: 0;
  border-top: 1px solid var(--ui-color-line);
  border-bottom: 1px solid var(--ui-color-line);
  border-radius: 0;
  background: transparent;
}

.honest-title {
  margin: 0;
  font-size: clamp(42px, 4.5vw, 64px);
}

.honest-panel p {
  align-self: center;
  max-width: 720px;
  font-size: 18px;
  line-height: 1.72;
}

/* Articles become a useful editorial index instead of another card grid. */
.blog-links {
  padding-block: clamp(76px, 9vw, 116px);
}

.blog-links .container {
  display: grid;
  grid-template-columns: minmax(360px, .9fr) minmax(0, 1.1fr);
  grid-template-rows: auto auto 1fr;
  column-gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.blog-links .section-title {
  grid-column: 1;
  margin: 0 0 24px;
  font-size: clamp(40px, 4vw, 56px);
}

.blog-links .section-lead {
  grid-column: 1;
  margin: 0;
}

.blog-links-grid {
  grid-column: 2;
  grid-row: 1 / span 3;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin: 0;
  border-top: 1px solid var(--ui-color-line);
}

.blog-link-card {
  position: relative;
  min-height: 0;
  display: grid;
  gap: 6px;
  padding: 22px 58px 22px 0;
  border: 0;
  border-bottom: 1px solid var(--ui-color-line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transition: color var(--ui-motion-fast) ease;
}

.blog-link-card::after {
  content: "↗";
  position: absolute;
  top: 24px;
  right: 2px;
  color: var(--ui-color-lilac-ink);
  font-size: 19px;
  line-height: 1;
  transition: transform var(--ui-motion-fast) var(--ui-ease-out);
}

.blog-link-card:hover {
  border-color: var(--ui-color-line);
  transform: none;
}

.blog-link-card:hover::after {
  transform: translate(3px, -3px);
}

.blog-link-card span {
  font-family: var(--ui-font-display);
  font-size: clamp(21px, 1.8vw, 27px);
  font-weight: 500;
  line-height: 1.2;
}

.blog-link-card small {
  max-width: 620px;
  color: var(--ui-color-muted);
  font-size: 14px;
  line-height: 1.5;
}

.blog-links-all {
  grid-column: 1;
  align-self: end;
  justify-self: start;
  margin-top: 34px;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--ui-color-line-strong);
  color: var(--ui-color-ink);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.blog-links-all:hover {
  text-decoration: none;
  border-color: var(--ui-color-ink);
}

@media (max-width: 1080px) {
  .ladder-step,
  .ladder-step:nth-child(1),
  .ladder-step:nth-child(2),
  .ladder-step:nth-child(4) {
    border-right: 1px solid var(--ui-color-line);
    border-bottom: 1px solid var(--ui-color-line);
  }

  .ladder-step:nth-child(2),
  .ladder-step:nth-child(4) {
    border-right: 0;
  }

  .ladder-step:nth-child(3),
  .ladder-step:nth-child(4) {
    border-bottom: 0;
  }
}

@media (max-width: 820px) {
  .honest-panel,
  .blog-links .container {
    grid-template-columns: 1fr;
  }

  .honest-panel {
    gap: 24px;
  }

  .blog-links .section-title,
  .blog-links .section-lead,
  .blog-links-grid,
  .blog-links-all {
    grid-column: 1;
  }

  .blog-links-grid {
    grid-row: auto;
    margin-top: 40px;
  }
}

@media (max-width: 620px) {
  .blog-links .section-title {
    font-size: 36px;
  }

  .ladder-step,
  .ladder-step:nth-child(1),
  .ladder-step:nth-child(2),
  .ladder-step:nth-child(3),
  .ladder-step:nth-child(4) {
    border-right: 0;
    border-bottom: 1px solid var(--ui-color-line);
  }

  .ladder-step:nth-child(4) {
    border-bottom: 0;
  }

  .honest-panel {
    padding: 42px 0;
  }

  .blog-link-card {
    padding: 20px 42px 20px 0;
  }

}
