/* Design Kit+++ ice + Motion 2026. Без CDN. CSP: только этот файл. */
:root {
  --ice-bg0: #f0f7fc;
  --ice-bg1: #ffffff;
  --ice-bg2: #e8f3fa;
  --ice-accent: #3b82c4;
  --ice-accent-deep: #1d5f96;
  --ice-text: #16324f;
  --ice-muted: #5a7a94;
  --ice-border: #c5dceb;
  --ice-radius: 1.15rem;
  --ice-radius-lg: 1.5rem;
  --ice-font: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ice-gutter: clamp(1rem, 3vw, 1.75rem);
  --ice-max: min(72rem, 100%);
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
  --hit: 44px;
  --ice-dock-h: calc(4.25rem + var(--safe-bottom));
  --spring-sheet: cubic-bezier(0.22, 1, 0.36, 1);
  --i: 0;
}
* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(4.25rem + var(--safe-top));
  scroll-padding-bottom: calc(var(--ice-dock-h) + 0.75rem);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .sf-reveal, .sf-kinetic__word, .sf-stagger > * { opacity: 1 !important; transform: none !important; filter: none !important; }
}
@media (min-width: 1100px) {
  html { scroll-padding-bottom: 1.5rem; }
}

body.lp-ice {
  margin: 0;
  font-family: var(--ice-font);
  color: var(--ice-text);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(125, 211, 252, 0.35), transparent 55%),
    radial-gradient(900px 500px at 110% 0%, rgba(147, 197, 253, 0.28), transparent 50%),
    linear-gradient(165deg, var(--ice-bg0) 0%, #dbeafe 55%, var(--ice-bg2) 100%);
  min-height: 100vh;
  min-height: 100dvh;
  padding-left: var(--safe-left);
  padding-right: var(--safe-right);
}

.lp-ice-wrap {
  width: var(--ice-max);
  margin: 0 auto;
  padding: 0 var(--ice-gutter) calc(6.75rem + var(--safe-bottom));
}
@media (min-width: 1100px) {
  .lp-ice-wrap { padding-bottom: 2.5rem; }
}

/* —— Motion 2026: scroll progress (CSS timeline, без inline style / CSP) —— */
.sf-scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 80;
  pointer-events: none;
  background: linear-gradient(90deg, var(--ice-accent), #7dd3fc);
  transform: scaleX(0);
  transform-origin: 0 50%;
}
@supports (animation-timeline: scroll()) {
  .sf-scroll-progress {
    animation: ice-progress linear both;
    animation-timeline: scroll(root);
  }
}
@keyframes ice-progress {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

/* —— Header morph —— */
.lp-ice-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: max(0.5rem, var(--safe-top)) var(--ice-gutter) 0.65rem;
  background: rgba(240, 247, 252, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  overflow: visible;
  isolation: isolate;
  transition: background 0.35s var(--spring-sheet), border-color 0.35s var(--spring-sheet), box-shadow 0.35s var(--spring-sheet);
}
.lp-ice-nav.sf-header--scrolled,
.lp-ice-nav.lp-ice-nav--scrolled {
  background: rgba(255, 255, 255, 0.94);
  border-bottom-color: var(--ice-border);
  box-shadow: 0 8px 28px rgba(29, 95, 150, 0.08);
}
.lp-ice-nav__brand {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-width: 0;
  max-width: calc(100% - var(--hit) - 0.75rem);
}
.lp-ice-logo {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--ice-accent-deep);
  text-decoration: none;
  min-height: var(--hit);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.lp-ice-logo img { width: 28px; height: 28px; flex: 0 0 28px; }
.lp-ice-city { font-size: 0.8rem; color: var(--ice-muted); }

.lp-ice-burger {
  width: var(--hit);
  height: var(--hit);
  flex: 0 0 var(--hit);
  border: 1px solid var(--ice-border);
  border-radius: 0.75rem;
  background: var(--ice-bg1);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 0 12px;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  position: relative;
  z-index: 2;
  box-shadow: 0 4px 14px rgba(29, 95, 150, 0.08);
  transition: transform 0.28s var(--spring-sheet), background 0.28s var(--spring-sheet);
}
.lp-ice-burger span {
  display: block;
  height: 2px;
  background: var(--ice-accent-deep);
  border-radius: 2px;
  transition: transform 0.32s var(--spring-sheet), opacity 0.2s;
}
.lp-ice-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.lp-ice-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.lp-ice-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.lp-ice-nav__desk {
  display: none;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.25rem 0.4rem;
  min-width: 0;
  flex: 1 1 auto;
  justify-content: flex-end;
}
.lp-ice-nav__desk > a,
.lp-ice-nav__desk .lp-ice-drop__trigger,
.lp-ice-panel__links > a,
.lp-ice-panel__links .lp-ice-drop__trigger {
  color: var(--ice-text);
  text-decoration: none;
  min-height: var(--hit);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.88rem;
  padding: 0 0.45rem;
  border-radius: 0.85rem;
  white-space: nowrap;
  flex: 0 0 auto;
  transition: background 0.28s var(--spring-sheet), transform 0.28s var(--spring-sheet), color 0.28s;
}
.lp-ice-nav__desk > a img,
.lp-ice-nav__desk .lp-ice-drop__trigger img,
.lp-ice-panel__links > a img,
.lp-ice-panel__links .lp-ice-drop__trigger img,
.lp-ice-dock a img {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
}
.lp-ice-nav__desk > a:hover,
.lp-ice-nav__desk .lp-ice-drop__trigger:hover,
.lp-ice-panel__links > a:hover,
.lp-ice-panel__links .lp-ice-drop__trigger:hover {
  background: var(--ice-bg2);
  color: var(--ice-accent-deep);
}

/* Phone + tablet: шторка на body, не внутри nav (backdrop-filter обрезал панель). */
.lp-ice-panel { display: none; }
.lp-ice-scrim {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(22, 50, 79, 0.4);
  z-index: 90;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.32s var(--spring-sheet);
}
body.lp-ice-nav-open {
  overflow: hidden;
  height: 100vh;
  height: 100dvh;
}
body.lp-ice-nav-open .lp-ice-scrim {
  display: block;
  opacity: 1;
  pointer-events: auto;
}
body.lp-ice-nav-open .lp-ice-burger {
  z-index: 110;
}

@media (max-width: 1099px) {
  .lp-ice-panel {
    display: flex;
    flex-direction: column;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    top: auto;
    width: 100%;
    max-width: none;
    z-index: 100;
    background: var(--ice-bg1);
    box-shadow: 0 -18px 48px rgba(22, 50, 79, 0.22);
    border-radius: 1.35rem 1.35rem 0 0;
    padding: 0.2rem var(--ice-gutter) calc(5.6rem + var(--safe-bottom));
    max-height: calc(100dvh - var(--safe-top) - 3.25rem);
    max-height: calc(100vh - var(--safe-top) - 3.25rem);
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transform: translateY(110%);
    transition: transform 0.48s var(--spring-sheet);
    overscroll-behavior: contain;
  }
  .lp-ice-panel[hidden] { display: none; }
  body.lp-ice-nav-open .lp-ice-panel:not([hidden]) {
    transform: translateY(0);
  }
  .lp-ice-panel__handle {
    width: 3rem;
    height: 5px;
    border-radius: 99px;
    background: var(--ice-border);
    margin: 0.55rem auto 0.5rem;
    flex: 0 0 auto;
    touch-action: none;
  }
  .lp-ice-panel__title {
    margin: 0 0 0.5rem;
    font-weight: 750;
    color: var(--ice-accent-deep);
  }
  .lp-ice-panel__links {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    margin-bottom: 0.85rem;
    min-width: 0;
  }
  .lp-ice-panel__links a {
    min-height: 48px;
    font-size: 1.02rem;
    padding: 0 0.75rem;
    width: 100%;
    pointer-events: auto;
    position: relative;
    z-index: 1;
    cursor: pointer;
    -webkit-tap-highlight-color: rgba(29, 95, 150, 0.12);
  }
}

@media (min-width: 768px) and (max-width: 1099px) {
  .lp-ice-panel {
    padding-bottom: calc(1.25rem + var(--safe-bottom));
    max-height: calc(100dvh - var(--safe-top) - 4rem);
  }
  .lp-ice-panel__links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem;
  }
  .lp-ice-panel__links a {
    background: var(--ice-bg2);
    border: 1px solid var(--ice-border);
    border-radius: 1rem;
    min-height: 3.25rem;
  }
}

@media (min-width: 1100px) {
  .lp-ice-burger { display: none; }
  .lp-ice-panel { display: none !important; }
  .lp-ice-nav__desk { display: flex; }
  .lp-ice-dock { display: none !important; }
}

/* —— Dropdown (динамическое меню из site-nav.json) —— */
.lp-ice-drop {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.lp-ice-drop__trigger {
  color: var(--ice-text);
  text-decoration: none;
  min-height: var(--hit);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.92rem;
  padding: 0 0.55rem;
  border-radius: 0.85rem;
  transition: background 0.28s var(--spring-sheet), color 0.28s;
}
.lp-ice-drop__trigger:hover,
.lp-ice-drop.is-open > .lp-ice-drop__trigger {
  background: var(--ice-bg2);
  color: var(--ice-accent-deep);
}
.lp-ice-drop__chev {
  width: 0.4rem;
  height: 0.4rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  opacity: 0.65;
  flex: 0 0 auto;
}
.lp-ice-drop__menu {
  display: none;
  position: absolute;
  top: calc(100% + 0.35rem);
  right: 0;
  left: auto;
  min-width: min(36rem, 92vw);
  max-width: min(42rem, 94vw);
  max-height: min(70vh, 32rem);
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 0.55rem;
  border-radius: 1rem;
  background: #fff;
  border: 1px solid var(--ice-border);
  box-shadow: 0 16px 40px rgba(22, 50, 79, 0.16);
  z-index: 120;
  columns: 2;
  column-gap: 0.35rem;
}
.lp-ice-drop.is-open > .lp-ice-drop__menu {
  display: block;
}
.lp-ice-drop__menu a {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  min-height: 2.35rem;
  padding: 0.4rem 0.55rem;
  border-radius: 0.75rem;
  color: var(--ice-text);
  text-decoration: none;
  font-size: 0.82rem;
  line-height: 1.3;
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
}
.lp-ice-drop__menu a:hover {
  background: var(--ice-bg2);
  color: var(--ice-accent-deep);
}
.lp-ice-drop__menu a img {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  margin-top: 0.1rem;
}
.lp-ice-drop--panel {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 0.15rem;
}
.lp-ice-drop--panel .lp-ice-drop__list {
  display: none;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.25rem 0 0.35rem 0.75rem;
  border-left: 2px solid var(--ice-border);
  margin: 0 0 0.35rem 0.85rem;
}
.lp-ice-drop--panel.is-open .lp-ice-drop__list {
  display: flex;
}
.lp-ice-drop--panel .lp-ice-drop__list a {
  min-height: 44px;
  font-size: 0.95rem;
  padding: 0.35rem 0.65rem;
  width: 100%;
}

/* —— Dock phone —— */
.lp-ice-dock {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2147483646;
  padding: 0.35rem var(--ice-gutter) calc(0.45rem + var(--safe-bottom));
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--ice-border);
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.25rem;
  pointer-events: auto;
  isolation: isolate;
}
@media (max-width: 1099px) {
  .lp-ice-dock { display: grid; }
}
.lp-ice-dock a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  min-height: var(--hit);
  text-decoration: none;
  color: var(--ice-muted);
  font-size: 0.68rem;
  font-weight: 650;
  border-radius: 0.75rem;
  touch-action: manipulation;
  pointer-events: auto;
  position: relative;
  z-index: 1;
  cursor: pointer;
  -webkit-tap-highlight-color: rgba(29, 95, 150, 0.12);
  transition: transform 0.28s var(--spring-sheet), color 0.28s, background 0.28s;
}
.lp-ice-dock a.is-active,
.lp-ice-dock a:hover { color: var(--ice-accent-deep); background: var(--ice-bg2); }

/* —— Hero: contain, без crop и пустоты —— */
.lp-ice-hero {
  position: relative;
  display: grid;
  gap: 0;
  margin: 1rem 0 1.35rem;
  border-radius: var(--ice-radius-lg);
  overflow: hidden;
  background: var(--ice-bg1);
  border: 1px solid var(--ice-border);
  box-shadow: 0 18px 48px rgba(29, 95, 150, 0.08);
}
.lp-ice-hero .lp-ice-picture,
.lp-ice-hero picture {
  display: block;
  width: 100%;
  line-height: 0;
  background: transparent;
}
.lp-ice-hero img {
  width: 100%;
  height: auto;
  aspect-ratio: 8 / 5;
  object-fit: contain;
  object-position: center;
  display: block;
  background: transparent;
}
@media (min-width: 640px) {
  .lp-ice-hero img { aspect-ratio: 2 / 1; }
}
.lp-ice-hero__cap {
  padding: clamp(1rem, 3vw, 1.85rem);
  background: linear-gradient(180deg, rgba(240, 247, 252, 0.2), rgba(255, 255, 255, 0.98));
}
.lp-ice-hero__cap h1,
.lp-ice-hero h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.45rem, 4vw, 2.35rem);
  letter-spacing: -0.03em;
}
@media (min-width: 1024px) {
  .lp-ice-hero {
    grid-template-columns: minmax(18rem, 1.05fr) minmax(0, 0.95fr);
    align-items: stretch;
  }
  .lp-ice-hero .lp-ice-picture,
  .lp-ice-hero picture { order: 2; align-self: stretch; }
  .lp-ice-hero img {
    height: 100%;
    min-height: 0;
    aspect-ratio: auto;
    object-fit: contain;
  }
  .lp-ice-hero__cap {
    order: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(90deg, #fff, rgba(240, 247, 252, 0.4));
  }
}

.lp-ice-kicker { margin: 0 0 0.35rem; color: var(--ice-accent-deep); font-weight: 650; font-size: 0.95rem; }
.lp-ice-lead { font-size: 1.05rem; line-height: 1.65; color: var(--ice-muted); margin: 0 0 1rem; }
.lp-ice-bullets { margin: 0 0 1rem; padding-left: 1.2rem; line-height: 1.7; color: var(--ice-text); }

/* —— Reveal / stagger / kinetic —— */
.sf-reveal {
  opacity: 0;
  transform: translateY(1.15rem);
  filter: blur(4px);
  animation: ice-reveal 0.75s var(--spring-sheet) both;
  animation-delay: calc(var(--i, 0) * 70ms);
}
.sf-reveal.is-in,
.sf-reveal.sf-in {
  opacity: 1;
  transform: none;
  filter: none;
}
@keyframes ice-reveal {
  from { opacity: 0; transform: translateY(1.15rem); filter: blur(4px); }
  to { opacity: 1; transform: none; filter: none; }
}
@supports (animation-timeline: view()) {
  .sf-reveal {
    animation: ice-reveal 0.01s both;
    animation-timeline: view();
    animation-range: entry 0% cover 28%;
  }
}
.sf-stagger > *:nth-child(1) { --i: 0; }
.sf-stagger > *:nth-child(2) { --i: 1; }
.sf-stagger > *:nth-child(3) { --i: 2; }
.sf-stagger > *:nth-child(4) { --i: 3; }
.sf-stagger > *:nth-child(5) { --i: 4; }
.sf-stagger > *:nth-child(6) { --i: 5; }
.sf-stagger > *:nth-child(7) { --i: 6; }
.sf-stagger > *:nth-child(8) { --i: 7; }
.sf-stagger > *:nth-child(9) { --i: 8; }
.sf-stagger > *:nth-child(10) { --i: 9; }
.sf-stagger > *:nth-child(11) { --i: 10; }
.sf-stagger > *:nth-child(12) { --i: 11; }
.sf-stagger > * {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s var(--spring-sheet), transform 0.55s var(--spring-sheet);
  transition-delay: calc(var(--i, 0) * 55ms);
}
.sf-stagger > *.is-in,
.sf-stagger > *.sf-in {
  opacity: 1;
  transform: none;
}

.sf-kinetic { display: flex; flex-wrap: wrap; gap: 0.28em 0.38em; }
.sf-kinetic__word {
  display: inline-block;
  animation: ice-word 0.7s var(--spring-sheet) both;
  animation-delay: calc(var(--i, 0) * 55ms);
}
.sf-kinetic > .sf-kinetic__word:nth-child(1) { --i: 0; }
.sf-kinetic > .sf-kinetic__word:nth-child(2) { --i: 1; }
.sf-kinetic > .sf-kinetic__word:nth-child(3) { --i: 2; }
.sf-kinetic > .sf-kinetic__word:nth-child(4) { --i: 3; }
.sf-kinetic > .sf-kinetic__word:nth-child(5) { --i: 4; }
.sf-kinetic > .sf-kinetic__word:nth-child(6) { --i: 5; }
.sf-kinetic > .sf-kinetic__word:nth-child(7) { --i: 6; }
.sf-kinetic > .sf-kinetic__word:nth-child(8) { --i: 7; }
@keyframes ice-word {
  from { opacity: 0; transform: translateY(0.7em) rotateX(28deg); }
  to { opacity: 1; transform: none; }
}

.lp-ice-card, .lp-ice-cta, .wrap .card {
  background: var(--ice-bg1);
  border: 1px solid var(--ice-border);
  border-radius: var(--ice-radius);
  padding: clamp(1rem, 2.5vw, 1.5rem);
  margin: 1rem 0;
  box-shadow: 0 8px 28px rgba(29, 95, 150, 0.06);
  transition: transform 0.35s var(--spring-sheet), box-shadow 0.35s var(--spring-sheet);
}
.lp-ice-card h2, .lp-article-block h2 {
  font-size: clamp(1.15rem, 2.6vw, 1.45rem);
  margin: 0 0 0.75rem;
}
.lp-ice-card h3, .lp-article-prose h3 { font-size: 1.05rem; margin: 1.1rem 0 0.4rem; }
.lp-ice-card h4, .lp-article-prose h4 { font-size: 0.98rem; margin: 0.85rem 0 0.3rem; color: var(--ice-accent-deep); }

.lp-ice-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}
@media (min-width: 640px) {
  .lp-ice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .lp-ice-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.lp-ice-cat {
  background: var(--ice-bg1);
  border: 1px solid var(--ice-border);
  border-radius: var(--ice-radius);
  overflow: hidden;
  transform: translateZ(0);
  transition: transform 0.35s var(--spring-sheet), box-shadow 0.35s var(--spring-sheet);
}
.lp-ice-cat a { color: inherit; text-decoration: none; display: block; min-height: var(--hit); }
.lp-ice-cat__media {
  position: relative;
  line-height: 0;
  background: var(--ice-bg2);
}
.lp-ice-cat img.lp-ice-cover,
.lp-ice-cat .lp-ice-picture img {
  width: 100%;
  height: auto;
  aspect-ratio: 8 / 5;
  object-fit: contain;
  object-position: center;
  display: block;
}
.lp-ice-cat__icon {
  position: absolute;
  left: 0.7rem;
  bottom: 0.7rem;
  width: 48px;
  height: 48px;
  padding: 0.35rem;
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 20px rgba(22, 50, 79, 0.12);
  animation: ice-icon-pop 0.6s var(--spring-sheet) both;
}
@keyframes ice-icon-pop {
  from { transform: scale(0.7) translateY(8px); opacity: 0; }
  to { transform: none; opacity: 1; }
}
.lp-ice-cat h3 { margin: 0.65rem 0.85rem 0.15rem; font-size: 1rem; }
.lp-ice-cat p { margin: 0 0.85rem 0.85rem; color: var(--ice-muted); font-size: 0.85rem; }

.lp-ice-tri {
  display: grid;
  gap: 0.75rem;
}
@media (min-width: 768px) { .lp-ice-tri { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.lp-ice-tri a {
  display: block;
  padding: 1rem;
  border-radius: 1rem;
  background: var(--ice-bg2);
  color: inherit;
  text-decoration: none;
  min-height: var(--hit);
  border: 1px solid transparent;
  transition: transform 0.32s var(--spring-sheet), border-color 0.32s, background 0.32s;
}
.lp-ice-steps { margin: 0; padding-left: 1.2rem; line-height: 1.65; }
.lp-ice-steps li { margin: 0 0 0.65rem; }

.lp-ice-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--hit);
  padding: 0 1.15rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 650;
  touch-action: manipulation;
  transition: transform 0.28s var(--spring-sheet), background 0.28s, box-shadow 0.28s, filter 0.28s;
}
.lp-ice-btn--primary {
  background: var(--ice-accent);
  color: #fff;
  box-shadow: 0 8px 22px rgba(59, 130, 196, 0.28);
}
.lp-ice-btn--ghost { background: #fff; color: var(--ice-accent-deep); border: 1px solid var(--ice-border); }
.sf-morph-submit.is-loading { filter: saturate(0.7); transform: scale(0.98); pointer-events: none; }
.sf-morph-submit.is-done { background: #0e7490; }

/* —— Motion 2026: press / focus feedback —— */
.lp-ice-btn,
.lp-ice-dock a,
.lp-ice-ambar__btn,
.lp-ice-burger,
.lp-ice-panel__links a {
  transition:
    transform 0.22s var(--spring-sheet),
    background 0.22s var(--spring-sheet),
    box-shadow 0.22s var(--spring-sheet),
    color 0.22s var(--spring-sheet),
    border-color 0.22s var(--spring-sheet),
    filter 0.22s var(--spring-sheet);
}
.lp-ice-btn.is-pressed,
.lp-ice-dock a.is-pressed,
.lp-ice-ambar__btn.is-pressed,
.js-cta-more.is-pressed {
  transform: scale(0.96);
  filter: brightness(0.96);
}
.lp-ice-btn:focus-visible,
.lp-ice-dock a:focus-visible,
.lp-ice-ambar__btn:focus-visible,
.lp-ice-burger:focus-visible,
.lp-ice-panel__links a:focus-visible,
.lp-ice-logo:focus-visible {
  outline: 2px solid var(--ice-accent);
  outline-offset: 3px;
}
.lp-ice-dock a.is-active {
  box-shadow: 0 0 0 2px rgba(59, 130, 196, 0.22) inset;
}
.sf-tilt-card,
.lp-ice-cat,
.sf-magnetic {
  will-change: transform;
  transform-style: preserve-3d;
}
@supports (view-transition-name: none) {
  .lp-ice-wrap { view-transition-name: sf-vt-main; }
}

.lp-ice-cta__row { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.lp-ice-cta__lead { margin: 0 0 0.75rem; color: var(--ice-muted); }
.lp-ice-layout { display: grid; gap: 1rem; }
@media (min-width: 1024px) {
  .lp-ice-layout { grid-template-columns: minmax(0, 1fr); }
}
.lp-article-sidebar { display: none; }
.lp-ice-person {
  display: grid;
  gap: 0.2rem;
  width: 100%;
  margin: 0.85rem 0 1rem;
  padding: 0.85rem 1.1rem;
  border: 1px solid var(--ice-border);
  border-radius: var(--ice-radius);
  background: var(--ice-bg1);
  box-shadow: 0 8px 24px rgba(29, 95, 150, 0.08);
  min-height: var(--hit);
}
.lp-ice-person strong { font-size: 1.05rem; color: var(--ice-accent-deep); }
.lp-ice-person a { color: var(--ice-accent-deep); text-decoration: none; min-height: var(--hit); display: inline-flex; align-items: center; }

.lp-ice-price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.lp-ice-price-table th,
.lp-ice-price-table td {
  text-align: left;
  padding: 0.7rem 0.5rem;
  border-bottom: 1px solid var(--ice-border);
  min-height: var(--hit);
}
.lp-ice-price-table th { color: var(--ice-accent-deep); font-weight: 700; }
.lp-ice-price-table td:last-child { white-space: nowrap; font-weight: 650; }

.lp-ice-minis { margin: 1.25rem 0 2rem; }
.lp-ice-minis__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}
@media (min-width: 768px) {
  .lp-ice-minis__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.lp-ice-mini {
  border: 1px solid var(--ice-border);
  border-radius: var(--ice-radius);
  overflow: hidden;
  background: var(--ice-bg1);
  box-shadow: 0 8px 22px rgba(29, 95, 150, 0.07);
}
.lp-ice-mini a { color: inherit; text-decoration: none; display: block; min-height: var(--hit); }
.lp-ice-mini img {
  width: 100%;
  height: auto;
  aspect-ratio: 8 / 5;
  object-fit: contain;
  display: block;
}
.lp-ice-mini h3 {
  margin: 0.5rem 0.7rem 0.75rem;
  font-size: 0.92rem;
}

.lp-ice-sell { margin: 1rem 0; }

.lp-ice-ambar {
  margin-top: 2rem;
  padding: 1rem var(--ice-gutter) 1.15rem;
  border-radius: var(--ice-radius-lg);
  background:
    linear-gradient(165deg, #fff, #e8f3fa);
  border: 1px solid var(--ice-border);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.9) inset,
    0 16px 40px rgba(29, 95, 150, 0.12);
}
.lp-ice-ambar__top {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1rem;
  align-items: center;
  margin-bottom: 0.75rem;
  font-weight: 650;
}
.lp-ice-ambar__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.lp-ice-ambar__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--hit);
  padding: 0 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--ice-border);
  background: #fff;
  color: var(--ice-accent-deep);
  text-decoration: none;
  font-weight: 650;
  font-size: 0.88rem;
  touch-action: manipulation;
  transition: transform 0.28s var(--spring-sheet), box-shadow 0.28s, background 0.28s;
}
.lp-ice-ambar__btn--accent {
  background: var(--ice-accent);
  color: #fff;
  border-color: transparent;
}
@media (hover: hover) and (pointer: fine) {
  .lp-ice-ambar__btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 22px rgba(29, 95, 150, 0.14);
  }
}
.lp-article-prose p { margin: 0 0 0.9rem; line-height: 1.7; }
.lp-article-prose ul { margin: 0 0 1rem; padding-left: 1.2rem; line-height: 1.65; }
.lp-ice-picture img, .lp-ice-picture--block img {
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: contain;
  object-position: center;
  border-radius: var(--ice-radius);
  display: block;
}
.lp-ice-hero .lp-ice-picture img {
  border-radius: 0;
  aspect-ratio: 8 / 5;
}
@media (min-width: 640px) {
  .lp-ice-hero .lp-ice-picture img { aspect-ratio: 2 / 1; }
}
@media (min-width: 1024px) {
  .lp-ice-hero .lp-ice-picture img { aspect-ratio: auto; height: 100%; }
}

.lp-ice-price ul { list-style: none; padding: 0; margin: 0; }
.lp-ice-price li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--ice-border);
  min-height: var(--hit);
  align-items: center;
}

.lp-ice-faq {
  border-bottom: 1px solid var(--ice-border);
  padding: 0.15rem 0;
}
.lp-ice-faq summary {
  cursor: pointer;
  list-style: none;
  min-height: var(--hit);
  display: flex;
  align-items: center;
  touch-action: manipulation;
}
.lp-ice-faq summary::-webkit-details-marker { display: none; }
.lp-ice-faq summary h3 { margin: 0; flex: 1; }
.lp-ice-faq summary::after {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-right: 2px solid var(--ice-accent-deep);
  border-bottom: 2px solid var(--ice-accent-deep);
  transform: rotate(45deg);
  transition: transform 0.28s var(--spring-sheet);
  margin-left: 0.5rem;
}
.lp-ice-faq[open] summary::after { transform: rotate(225deg); }
.lp-ice-faq .lp-ice-faq__a {
  overflow: hidden;
  padding: 0 0 0.75rem;
  animation: ice-faq 0.35s var(--spring-sheet) both;
}
@keyframes ice-faq {
  from { opacity: 0; transform: translateY(-0.4rem); }
  to { opacity: 1; transform: none; }
}

.lp-ice-bc {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  list-style: none;
  padding: 1rem 0 0;
  margin: 0;
  font-size: 0.85rem;
}
.lp-ice-bc a { color: var(--ice-muted); }

.lp-ice-footer {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--ice-border);
  color: var(--ice-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}
.lp-ice-footer a { color: var(--ice-accent-deep); }
.lp-ice-copy { font-size: 0.8rem; }

/* Marquee */
.sf-marquee {
  overflow: hidden;
  margin: 0 0 1rem;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.sf-marquee__track {
  display: flex;
  gap: 0.55rem;
  width: max-content;
  animation: ice-marquee 28s linear infinite;
}
.sf-marquee__chip {
  flex: 0 0 auto;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--ice-border);
  color: var(--ice-accent-deep);
  font-size: 0.82rem;
  font-weight: 650;
  white-space: nowrap;
}
@keyframes ice-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (hover: hover) and (pointer: fine) {
  .lp-ice-btn--primary:hover {
    background: var(--ice-accent-deep);
    transform: translateY(-2px);
  }
  .lp-ice-btn--ghost:hover { transform: translateY(-2px); }
  .sf-tilt-card:hover,
  .lp-ice-cat:hover {
    transform: perspective(900px) rotateX(2deg) rotateY(-3deg) translateY(-5px);
    box-shadow: 0 18px 40px rgba(29, 95, 150, 0.12);
  }
  .lp-ice-tri a:hover {
    transform: translateY(-3px);
    border-color: var(--ice-border);
    background: #fff;
  }
  .sf-magnetic:hover { transform: translateY(-2px) scale(1.03); }
  .lp-ice-burger:hover { transform: scale(1.04); }
  .lp-ice-dock a:hover { transform: translateY(-2px); }
}

@media (orientation: landscape) and (max-height: 500px) {
  .lp-ice-hero img { aspect-ratio: 2.4 / 1; }
  .lp-ice-nav { padding-top: 0.25rem; }
  .lp-ice-dock { padding-bottom: var(--safe-bottom); }
}

@media (max-width: 359px) {
  .lp-ice-hero__cap h1 { font-size: 1.28rem; }
  .lp-ice-btn { width: 100%; }
}

.lp-ice-cta__row--tight { margin-top: 0.75rem; }

.lp-ice-figure {
  margin: 0;
  line-height: 0;
}
.lp-ice-figure figcaption {
  line-height: 1.4;
  padding: 0.45rem 0.85rem 0.7rem;
  font-size: 0.82rem;
  color: var(--ice-muted);
}
.lp-ice-hero .lp-ice-figure { display: block; }
.lp-ice-hero .lp-ice-figure img { width: 100%; }

.lp-ice-3d {
  background:
    linear-gradient(165deg, rgba(255,255,255,0.98), rgba(232,243,250,0.95));
  border: 1px solid var(--ice-border);
  border-radius: var(--ice-radius);
  margin: 1rem 0;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.85) inset,
    0 10px 28px rgba(29, 95, 150, 0.08),
    0 24px 48px rgba(22, 50, 79, 0.06);
  transform-style: preserve-3d;
  perspective: 960px;
  overflow: hidden;
  animation: ice-reveal 0.7s var(--spring-sheet) both;
}
.lp-ice-3d[open],
.lp-ice-3d:not(details) {
  box-shadow:
    0 1px 0 rgba(255,255,255,0.9) inset,
    0 18px 40px rgba(29, 95, 150, 0.14);
}
.lp-ice-3d__sum {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 0.85rem 1.1rem;
  touch-action: manipulation;
}
.lp-ice-3d__sum::-webkit-details-marker { display: none; }
.lp-ice-3d__sum h2,
.lp-ice-3d__sum h3,
.lp-ice-3d__sum h4 { margin: 0; flex: 1; }
.lp-ice-3d > summary.lp-ice-3d__sum::after,
.lp-ice-subblock > summary::after {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-right: 2px solid var(--ice-accent-deep);
  border-bottom: 2px solid var(--ice-accent-deep);
  transform: rotate(45deg);
  margin-left: 0.5rem;
  transition: transform 0.28s var(--spring-sheet);
  flex: 0 0 auto;
}
.lp-ice-3d[open] > summary.lp-ice-3d__sum::after,
.lp-ice-subblock[open] > summary::after {
  transform: rotate(225deg);
}
.lp-ice-3d__body {
  padding: 0 1.1rem 1.15rem;
  animation: ice-faq 0.4s var(--spring-sheet) both;
}
.lp-ice-subblock {
  background: rgba(255,255,255,0.72);
  border: 1px solid var(--ice-border);
  border-radius: 0.9rem;
  margin: 0.55rem 0;
  overflow: hidden;
}
.lp-ice-subblock summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0.55rem 0.85rem;
  touch-action: manipulation;
}
.lp-ice-subblock summary::-webkit-details-marker { display: none; }
.lp-ice-subblock summary h3,
.lp-ice-subblock summary h4 { margin: 0; flex: 1; }
.lp-ice-subblock__body { padding: 0 0.85rem 0.85rem; }
.lp-ice-geo { margin-top: 1.15rem; }

@media (hover: hover) and (pointer: fine) {
  .lp-ice-3d:hover {
    transform: perspective(960px) rotateX(1.5deg) translateY(-3px);
  }
}

@media (orientation: landscape) and (max-height: 500px) {
  .lp-ice-panel {
    max-height: calc(100dvh - 2.5rem);
    padding-bottom: calc(0.75rem + var(--safe-bottom));
  }
}

/* Phone + tablet: dock не перекрывается iframe виджета (иначе «мертвые» Чат/Контакты). */
@media (max-width: 1099px) {
  body.sf-has-portal-dock .lp-ice-nav {
    z-index: 2147483645;
  }
  body.sf-has-portal-dock .lex-iframe-frame,
  body.sf-has-portal-dock .lex-iframe-loader,
  body.sf-has-portal-dock .lex-iframe-fail {
    bottom: var(--ice-dock-h) !important;
    z-index: 2147483640 !important;
    max-height: calc(100dvh - var(--ice-dock-h) - var(--safe-top) - 3.25rem) !important;
    height: min(640px, calc(100dvh - var(--ice-dock-h) - var(--safe-top) - 3.25rem)) !important;
    max-width: min(480px, calc(100vw - 0.75rem)) !important;
  }
  body.lp-ice-nav-open .lp-ice-scrim {
    z-index: 2147483644;
  }
  body.lp-ice-nav-open .lp-ice-panel:not([hidden]) {
    z-index: 2147483645;
  }
}

/* legacy landing classes */
.wrap { width: var(--ice-max); margin: 0 auto; padding: 2rem var(--ice-gutter) 7rem; }
header { text-align: left; }
h1 { font-size: clamp(1.45rem, 4vw, 2.2rem); margin: 0 0 0.5rem; }
.sub { color: var(--ice-muted); }
.card h2 { font-size: 1.1rem; margin: 0 0 0.75rem; }
.card p, .card ul { color: var(--ice-muted); line-height: 1.65; }
footer { text-align: left; margin-top: 2rem; color: var(--ice-muted); font-size: 0.85rem; }
