@layer base {
  * {
    box-sizing: border-box;
  }
  html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
  }
  body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font: 16px/1.5 var(--body);
    -webkit-font-smoothing: antialiased;
    transition:
      background-color 0.35s,
      color 0.35s;
  }
  h1,
  h2,
  p {
    margin: 0;
  }
  a {
    color: inherit;
    text-decoration: none;
  }
  button {
    font: inherit;
    cursor: pointer;
    border: 0;
    background: none;
    color: inherit;
  }
  img {
    vertical-align: middle;
    max-width: 100%;
  }
  h1,
  h2 {
    font-family: var(--display);
    font-weight: 700;
    letter-spacing: -0.065em;
    line-height: 0.98;
  }
  em {
    font-style: normal;
    color: var(--blue-text);
  }
  .icon-defs {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
  }
  .icon {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  .skip {
    position: fixed;
    top: -80px;
    left: 20px;
    z-index: 100;
    padding: 15px;
    background: var(--surface);
  }
  .skip:focus-visible {
    top: 15px;
  }
  a:focus-visible,
  button:focus-visible {
    outline: 3px solid var(--blue-text);
    outline-offset: 4px;
  }
  [hidden] {
    display: none;
  }
}
@layer components {
  .button {
    display: inline-flex;
    gap: 18px;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 14px 24px;
    background: var(--blue);
    color: white;
    border-radius: 40px;
    font-size: 14px;
    font-weight: 600;
    box-shadow:
      inset 0 1px 2px #fff6,
      0 10px 25px #0071e322;
    transition:
      transform 0.25s var(--spring),
      background-color 0.25s,
      box-shadow 0.25s;
  }
  .button:hover {
    transform: translateY(-2px);
    box-shadow:
      inset 0 1px 2px #fff6,
      0 14px 28px #0071e333;
  }
  .button:active {
    transform: translateY(0) scale(0.98);
  }
  .button.small {
    min-height: 44px;
    padding: 10px 18px;
    font-size: 13px;
  }
  .text-link {
    color: var(--blue-text);
    font-size: 14px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }
  .text-link,
  .story-demo,
  footer a,
  .nav nav a {
    transition:
      color 0.25s,
      opacity 0.25s,
      text-decoration-color 0.25s;
    text-decoration: underline;
    text-underline-offset: 5px;
    text-decoration-color: transparent;
  }
  .text-link:hover,
  .story-demo:hover,
  footer a:hover,
  .nav nav a:hover {
    text-decoration-color: currentColor;
  }
  .nav {
    position: fixed;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: min(calc(100% - 40px), 1200px);
    z-index: 40;
    padding: 10px 13px 10px 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    border: 1px solid transparent;
    border-radius: 40px;
  }
  .nav.on-dark {
    color: #f2f5fa;
    --ink: #f2f5fa;
    --bg: #101216;
    --surface: #1b1f26;
    --line: #343c49;
  }
  /* Theme change: color-only transitions for surfaces (blur/filters untouched). */
  .satellite,
  .orbit-order,
  .nav,
  .assistant-strip,
  .core-status {
    transition:
      background-color 0.35s,
      color 0.35s,
      border-color 0.35s;
  }
  .satellite-client,
  .satellite-team {
    transition:
      transform 0.6s var(--ease),
      background-color 0.35s,
      color 0.35s,
      border-color 0.35s;
  }
  .order-core {
    transition:
      border-color 0.4s,
      background-color 0.35s,
      color 0.35s;
  }
  .brand {
    font-size: 18px;
    font-weight: 650;
    letter-spacing: -0.05em;
    display: inline-flex;
    min-height: 44px;
    align-items: center;
  }
  .nav > nav:not(#mobile-menu) {
    display: flex;
    gap: 32px;
    margin: auto;
  }
  .nav nav a {
    font-size: 14px;
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  .nav nav a[aria-current="page"] {
    color: var(--ink);
    font-weight: 600;
    text-decoration-color: currentColor;
  }
  .nav > .button {
    background: var(--ink);
    color: var(--bg);
    box-shadow: none;
  }
  .icon-button {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 50%;
    transition: background-color 0.25s;
  }
  .icon-button:hover {
    background: var(--blue-soft);
  }
  .menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
  }
  .menu-toggle span {
    display: block;
    background: currentColor;
    height: 1px;
    width: 18px;
    margin: 5px auto;
    transition: transform 0.25s;
  }
  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(3px) rotate(45deg);
  }
  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-3px) rotate(-45deg);
  }
  #mobile-menu {
    position: absolute;
    left: 0;
    right: 0;
    top: 76px;
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 20px 25px;
    background: var(--surface);
    box-shadow: var(--shadow);
  }
  .opening {
    max-width: 1280px;
    min-height: 820px;
    height: min(100svh, 1100px);
    margin: auto;
    padding: 125px 40px 85px;
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    align-items: center;
    position: relative;
    isolation: isolate;
    overflow: clip;
  }
  .opening-copy {
    position: relative;
    z-index: 3;
  }
  .product-name {
    font-size: 17px;
    letter-spacing: -0.03em;
    font-weight: 600;
    margin-bottom: 28px;
  }
  .opening h1 {
    font-size: clamp(72px, 8.3vw, 122px);
    line-height: 0.94;
    text-wrap: balance;
    white-space: nowrap;
  }
  .opening h1 .br-mobile {
    display: none;
  }
  .opening-sub {
    font-size: 17px;
    color: var(--muted);
    margin: 27px 0 25px;
    line-height: 1.6;
    max-width: 370px;
  }
  .cta-destination {
    display: block;
    font-size: 13px;
    color: var(--muted-strong);
    margin-top: 10px;
  }
  .mobile-demo-link {
    display: none;
  }
  .connection-stage {
    position: relative;
    height: 580px;
    overflow-x: clip;
    perspective: 1000px;
    --rx: 0deg;
    --ry: 0deg;
    --px: 0px;
    --py: 0px;
  }
  .connection-halo {
    position: absolute;
    inset: 5% -10% -10%;
    background:
      radial-gradient(ellipse at 50% 50%, #77b7ff38, transparent 60%),
      radial-gradient(ellipse at 60% 68%, #b8a5f636, transparent 58%);
    filter: blur(16px);
  }
  .connection-rings {
    position: absolute;
    inset: 15% 4% 10%;
    border: 1px solid #71829722;
    border-radius: 50%;
    transform: rotate(-25deg);
  }
  .workspace-hub {
    position: absolute;
    top: 118px;
    left: 50%;
    display: grid;
    place-content: center;
    width: min(360px, 76%);
    min-height: 190px;
    padding: 34px;
    border: 1px solid color-mix(in srgb, var(--blue-text) 24%, var(--line));
    border-radius: 32px;
    text-align: center;
    background: color-mix(in srgb, var(--surface) 82%, transparent);
    box-shadow: 0 34px 70px -36px #15538a8c, inset 0 1px 0 color-mix(in srgb, var(--surface) 92%, transparent);
    -webkit-backdrop-filter: blur(24px);
    backdrop-filter: blur(24px);
    transform: translateX(-50%) rotateX(var(--rx)) rotateY(var(--ry)) rotate(-3deg);
    transition: transform 0.55s var(--ease);
    animation: sculpture-in 1.2s var(--ease) backwards;
  }
  .workspace-hub > span {
    color: var(--blue-text);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.15em;
  }
  .workspace-hub > strong {
    margin-top: 15px;
    font: 700 clamp(30px, 3vw, 44px)/1.05 var(--display);
    letter-spacing: -0.055em;
  }
  .workspace-hub > small {
    margin-top: 14px;
    color: var(--muted-strong);
    font-size: 12px;
  }
  .satellite {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 16px;
    border: 1px solid #fff7;
    border-radius: 20px;
    background: var(--glass);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow);
    z-index: 2;
    animation: satellite-in 0.9s var(--ease) backwards;
  }
  .satellite small {
    display: block;
    font-size: 12px;
    letter-spacing: 0.04em;
    color: var(--muted);
  }
  .satellite strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-top: 3px;
  }
  .satellite-client {
    top: 70px;
    left: 0;
    transform: translate(var(--px), var(--py)) rotate(-5deg);
    transition:
      transform 0.6s var(--ease),
      background-color 0.35s,
      color 0.35s,
      border-color 0.35s;
    animation-delay: 0.2s;
  }
  .satellite-team {
    top: 270px;
    right: 5px;
    transform: translate(calc(var(--px) * -0.6), calc(var(--py) * -0.6))
      rotate(4deg);
    transition:
      transform 0.6s var(--ease),
      background-color 0.35s,
      color 0.35s,
      border-color 0.35s;
    animation-delay: 0.35s;
  }
  .avatar {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--blue-soft);
    color: var(--blue-text);
    font-size: 14px;
  }
  .satellite-dot {
    width: 6px;
    height: 6px;
    background: var(--green);
    border-radius: 50%;
    margin-left: 6px;
  }
  .orbit-order {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 50px;
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--glass);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 1px solid #fff8;
    border-radius: 24px;
    padding: 20px 22px;
    box-shadow: var(--shadow);
    transform: rotate(-2deg);
    animation: satellite-in 1s var(--ease) 0.5s backwards;
  }
  .order-kicker {
    display: block;
    font-size: 12px;
    letter-spacing: 0.06em;
    color: var(--muted);
    margin-bottom: 5px;
  }
  .orbit-order strong {
    font-size: 16px;
    letter-spacing: -0.035em;
    font-variant-numeric: tabular-nums;
  }
  .orbit-order > div:first-child strong {
    font-family: var(--display);
    font-size: 30px;
    white-space: nowrap;
  }
  .orbit-order > a {
    margin-left: auto;
    font-size: 23px;
    min-height: 44px;
    min-width: 44px;
    display: grid;
    place-items: center;
    color: var(--blue-text);
    border-radius: 50%;
    transition: background 0.25s;
  }
  .orbit-order > a:hover {
    background: var(--blue-soft);
  }
  .orbit-link {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1;
  }
  .orbit-link i {
    height: 1px;
    flex: 1;
    background: var(--line);
  }
  .orbit-link span {
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    font-size: 12px;
    background: var(--green-bg);
    color: var(--green);
  }
  .stage-footnote {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 13px;
    color: var(--muted-strong);
  }
  .scroll-cue {
    position: absolute;
    bottom: 25px;
    left: 40px;
    right: 40px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    border-top: 1px solid var(--line);
    min-height: 44px;
    padding-top: 12px;
    color: var(--muted);
    font-size: 12px;
  }
  .scroll-cue > span:last-child {
    font-size: 22px;
    display: inline-block;
    animation: cue-bounce 1.6s ease-in-out infinite;
  }
  .story {
    position: relative;
    background: #0b1019;
    color: #eff5fc;
    --blue-text: #84bdff;
    --muted: #acbace;
    scroll-margin-top: -100px;
  }
  .story-sticky {
    position: relative;
    padding: 110px max(40px, calc((100vw - 1200px) / 2)) 40px;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    gap: 30px;
    background: radial-gradient(ellipse at 78% 50%, #173d733b, transparent 65%);
  }
  .story-topline {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    letter-spacing: 0.07em;
    color: var(--muted);
  }
  .story-sep {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
  .story-composition {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    align-items: center;
    gap: 64px;
    min-height: 530px;
  }
  .chapter {
    font-size: 12px;
    letter-spacing: 0.08em;
    color: #9ec9ff;
    margin-bottom: 24px;
  }
  .story-copy h2 {
    font-size: clamp(46px, 4.8vw, 70px);
    line-height: 1.06;
    min-height: 3.18em;
  }
  .story-copy h2 .nowrap {
    white-space: nowrap;
  }
  #story-title em {
    letter-spacing: -0.01em;
  }
  .story-copy > p:not(.chapter) {
    font-size: 16px;
    color: var(--muted);
    line-height: 1.6;
    max-width: 330px;
    margin-top: 24px;
    min-height: 3.2em;
  }
  .story-demo {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: #9acbff;
    font-size: 14px;
    margin-top: 14px;
  }
  .order-stage {
    position: relative;
    display: grid;
    gap: 26px;
    padding-top: 65px;
    isolation: isolate;
  }
  .order-id {
    position: absolute;
    top: 25px;
    left: 10px;
    max-width: 100%;
    font: 700 clamp(140px, 13vw, 205px) / 1 var(--display);
    letter-spacing: -0.08em;
    color: transparent;
    -webkit-text-stroke: 1px #8fbeee10;
    z-index: -1;
    pointer-events: none;
  }
  .order-core {
    position: relative;
    border-radius: 26px;
    padding: 26px;
    border: 1px solid #bdd9ff36;
    background: linear-gradient(125deg, #24374eef, #111d2ef5);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    box-shadow:
      0 35px 70px #0006,
      inset 0 1px 0 #ffffff35;
    transform: rotate(-2deg);
    transition: border-color 0.4s;
  }
  .core-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 12px;
    color: #b5c9e2;
  }
  .core-status {
    background: #4c2e3d;
    padding: 6px 12px;
    border-radius: 999px;
    color: #e0b9c4;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.5;
  }
  .core-track {
    display: flex;
    align-items: center;
    margin: 24px 0;
    gap: 8px;
  }
  .core-track span {
    width: 8px;
    height: 8px;
    border: 1px solid #8bc3ff;
    border-radius: 50%;
    background: #8bc3ff;
  }
  .core-track span ~ span {
    background: transparent;
  }
  .core-track i {
    height: 1.5px;
    background: #506789;
    flex: 1 1 0;
    transition: background 0.4s;
  }
  .core-detail {
    display: flex;
    gap: 18px;
    align-items: center;
    min-height: 104px;
  }
  .core-avatar {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    border-radius: 18px;
    background: #adcfff12;
    color: #b8dcff;
    font-size: 24px;
    border: 1px solid #bdd9ff20;
  }
  .core-detail > div > span {
    display: block;
    font-size: 12px;
    letter-spacing: 0.05em;
    color: #b1c3dc;
    margin-bottom: 8px;
  }
  .core-detail strong {
    display: block;
    font-family: var(--display);
    font-size: 24px;
    line-height: 1.2;
    letter-spacing: -0.04em;
  }
  .core-detail p {
    color: #b2c1d6;
    font-size: 14px;
    margin-top: 8px;
  }
  .core-bottom {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    border-top: 1px solid #abc7ed25;
    margin-top: 22px;
    padding-top: 16px;
    color: #b1c3dc;
    font-size: 13px;
  }
  .assistant-strip {
    position: relative;
    margin-left: 24px;
    padding: 16px 18px;
    border: 1px solid #c3dcfc36;
    background: #182536;
    border-radius: 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 16px 35px #0003;
    font-size: 14px;
    color: #d5e4f7;
    min-height: 68px;
  }
  .assistant-badge {
    display:grid;
    place-items:center;
    width:32px;
    height:32px;
    flex:0 0 auto;
    border:1px solid #8fc4ff52;
    border-radius:10px;
    color:#abd4ff;
    background:#2a4666;
    font:700 10px/1 var(--display);
    letter-spacing:.08em;
  }
  .order-stage[data-step="1"] .order-core {
    border-color: #88baff66;
  }
  .order-stage[data-step="1"] .core-status {
    background: #263c56;
    color: #c9e4ff;
  }
  .order-stage[data-step="1"] .core-track span:nth-of-type(2),
  .order-stage[data-step="2"] .core-track span {
    background: #8bc3ff;
  }
  .order-stage[data-step="2"] .order-core {
    border-color: #8fddc966;
  }
  .order-stage[data-step="2"] .core-status {
    color: #b8f5dc;
    background: #244a3e;
  }
  .order-stage[data-step="2"] .core-track i {
    background: #81cdb5;
  }
  .story-controls {
    display: flex;
    gap: 30px;
    width: 100%;
    scroll-margin-top: 110px;
  }
  .story-controls button {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
    min-height: 55px;
    color: #a5b6cf;
    font-size: 14px;
    line-height: 1.3;
    padding: 15px 0;
    transition: color 0.25s;
  }
  .story-controls button:hover {
    color: #fff;
  }
  .story-controls button span {
    font-size: 12px;
    line-height: 1.3;
    font-variant-numeric: tabular-nums;
  }
  .story-controls i {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: #33435c;
    overflow: hidden;
  }
  .story-controls i:after {
    content: "";
    position: absolute;
    inset: 0;
    background: #9bcbff;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.45s var(--ease);
  }
  .story-controls [aria-pressed="true"] {
    color: #fff;
  }
  .story-controls [aria-pressed="true"] i:after {
    transform: scaleX(1);
  }
  .story-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: #24344a;
    transform-origin: left;
  }
  .story-progress:after {
    content: "";
    position: absolute;
    inset: 0;
    background: #90c3ff;
    transform: scaleX(var(--story-progress, 0));
    transform-origin: left;
    transition: transform 0.2s var(--ease);
  }
  .closing {
    position: relative;
    max-width: 1200px;
    margin: auto;
    padding: 100px 40px 90px;
    display: grid;
    grid-template-columns: 1fr 150px;
    column-gap: 40px;
    align-items: center;
  }
  .closing > img {
    grid-column: 2;
    grid-row: 1 / 4;
    width: 148px;
    height: 148px;
    align-self: center;
    justify-self: center;
    transform: rotate(-8deg);
    filter: drop-shadow(0 20px 22px #0071e329);
  }
  .closing > p {
    font-size: 16px;
    margin-bottom: 30px;
    font-weight: 600;
  }
  .closing h2 {
    font-size: clamp(44px, 6.2vw, 88px);
    line-height: 1.06;
  }
  .closing h2 em {
    display: block;
    letter-spacing: -0.01em;
    line-height: 0.95;
    color: var(--ink);
  }
  .closing-actions {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 35px;
    flex-wrap: wrap;
  }
  .closing .cta-destination {
    grid-column: 1;
  }
  footer {
    max-width: 1200px;
    margin: auto;
    border-top: 1px solid var(--line);
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 25px 40px;
    font-size: 12px;
    color: var(--muted);
  }
  footer .brand {
    color: var(--ink);
  }
  footer > a:not(.brand) {
    margin-left: auto;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
}
@layer motion {
  @keyframes cue-bounce {
    0%,
    100% {
      translate: 0 0;
    }
    50% {
      translate: 0 4px;
    }
  }  @keyframes sculpture-in {
    from {
      opacity: 0;
      transform: translateX(-50%) translateY(35px) rotate(-16deg) scale(0.85);
    }
  }
  @keyframes satellite-in {
    from {
      opacity: 0;
      translate: 0 25px;
    }
    to {
      opacity: 1;
      translate: 0 0;
    }
  }
  @keyframes headline-in {
    from {
      opacity: 0;
      filter: blur(5px);
      translate: 0 16px;
    }
  }
  .opening-copy h1 {
    animation: headline-in 0.9s var(--ease) backwards;
  }
  #mobile-menu:not([hidden]) {
    animation: satellite-in 0.25s var(--ease) backwards;
  }
}
@layer responsive {
  @media screen {
    .story.is-scroll-story {
      height: 220svh;
    }
    .is-scroll-story .story-sticky {
      position: sticky;
      top: 0;
      height: 100svh;
    }
    .is-scroll-story .story-composition {
      min-height: 0;
    }
  }
  @media (min-width: 1001px) and (min-height: 780px) {
    .story.is-scroll-story {
      height: 260svh;
    }
  }
  /* Компакт story для низких десктопных экранов: сцена целиком во вьюпорте. */
  @media (min-width: 761px) and (max-height: 779px) {
    .is-scroll-story .story-sticky {
      padding: 84px max(40px, calc((100vw - 1200px) / 2)) 24px;
      gap: 20px;
    }
    .is-scroll-story .story-composition {
      gap: 48px;
    }
    .is-scroll-story .chapter {
      margin-bottom: 14px;
    }
    .is-scroll-story .story-copy h2 {
      font-size: clamp(38px, 3.6vw, 50px);
    }
    .is-scroll-story .story-copy > p:not(.chapter) {
      margin-top: 14px;
    }
    .is-scroll-story .story-demo {
      margin-top: 6px;
    }
    .is-scroll-story .order-stage {
      padding-top: 40px;
      gap: 16px;
    }
    .is-scroll-story .order-id {
      font-size: clamp(96px, 9vw, 130px);
    }
    .is-scroll-story .order-core {
      padding: 20px;
    }
    .is-scroll-story .core-track {
      margin: 14px 0;
    }
    .is-scroll-story .core-detail {
      min-height: 84px;
    }
    .is-scroll-story .core-avatar {
      width: 48px;
      height: 48px;
    }
    .is-scroll-story .core-bottom {
      margin-top: 12px;
      padding-top: 12px;
    }
    .is-scroll-story .assistant-strip {
      padding: 12px 16px;
      min-height: 56px;
    }
    .is-scroll-story .story-controls button {
      padding: 12px 0;
      min-height: 48px;
    }
  }
  @media (max-width: 1100px) {
    .opening {
      padding-inline: 32px;
      grid-template-columns: 1fr 1fr;
      min-height: 790px;
    }
    .opening h1 {
      font-size: clamp(70px, 8vw, 90px);
    }
    .connection-stage {
      height: 530px;
    }
    .workspace-hub {
      top: 112px;
      width: min(320px, 76%);
      min-height: 180px;
    }
    .satellite-client {
      top: 45px;
    }
    .satellite-team {
      top: 275px;
    }
    .satellite {
      padding: 12px;
    }
    .satellite-dot {
      display: none;
    }
    .orbit-order {
      padding: 16px;
      gap: 10px;
      bottom: 25px;
    }
    .orbit-order strong {
      font-size: 14px;
    }
    .orbit-order > div:first-child strong {
      font-size: 26px;
    }
    .orbit-link {
      display: none;
    }
    .stage-footnote {
      bottom: -14px;
    }
    .story-composition {
      gap: 32px;
    }
    .story-copy h2 {
      font-size: 48px;
    }
    .core-top {
      align-items: flex-start;
      flex-direction: column;
      gap: 8px;
    }
    .core-detail {
      min-height: 115px;
    }
    .core-detail strong {
      font-size: 22px;
    }
    .nav {
      gap: 12px;
    }
    .nav > nav:not(#mobile-menu) {
      gap: 20px;
    }
  }
  @media (max-width: 760px) {
    .nav > nav:not(#mobile-menu) {
      display: none;
    }
    .menu-toggle {
      display: block;
    }
    .nav {
      width: calc(100% - 24px);
      top: 12px;
      padding: 6px 8px 6px 14px;
      gap: 8px;
    }
    .nav .brand {
      font-size: 16px;
    }
    .nav > .button {
      font-size: 12px;
      padding: 10px;
      min-height: 44px;
      white-space: nowrap;
    }
    .nav > .button > span[aria-hidden],
    .nav > .button .cta-free {
      display: none;
    }
    .opening {
      height: auto;
      min-height: 0;
      display: flex;
      flex-direction: column;
      padding: 104px 24px 66px;
      align-items: stretch;
    }
    .product-name {
      font-size: 15px;
      margin-bottom: 18px;
    }
    .opening h1 {
      font-size: clamp(52px, 15.8vw, 86px);
      line-height: 0.95;
    }
    .opening-sub {
      font-size: 16px;
      margin: 18px 0;
      line-height: 1.5;
      max-width: 340px;
    }
    .opening-sub br {
      display: none;
    }
    .connection-stage {
      height: 322px;
      margin-top: 20px;
      width: 100%;
      max-width: 440px;
      align-self: center;
    }
    .workspace-hub {
      top: 48px;
      width: min(240px, 68%);
      min-height: 132px;
      padding: 22px 16px;
      border-radius: 24px;
    }
    .workspace-hub > strong { margin-top:10px; font-size:24px; }
    .workspace-hub > small { margin-top:9px; font-size:10px; }
    .connection-rings {
      inset: 5% 15% 16%;
    }
    .satellite {
      padding: 9px 10px;
      gap: 12px;
      border-radius: 16px;
    }
    .satellite-client {
      top: 16px;
      left: 3px;
      transform: rotate(-3deg);
    }
    .satellite-team {
      top: 132px;
      right: 3px;
      transform: rotate(3deg);
    }
    .satellite strong {
      font-size: 12px;
    }
    .satellite small {
      font-size: 12px;
      letter-spacing: 0;
    }
    .satellite .avatar {
      width: 32px;
      height: 32px;
      font-size: 12px;
    }
    .orbit-order {
      left: 0;
      right: 0;
      bottom: 27px;
      padding: 12px 16px;
      gap: 16px;
      border-radius: 18px;
      transform: none;
      display: grid;
      grid-template-columns: auto minmax(0, 1fr) 44px;
      align-items: baseline;
    }
    .orbit-order > a {
      align-self: start;
    }
    .orbit-order > div:first-child strong {
      font-size: 23px;
    }
    .orbit-order strong {
      font-size: 13px;
    }
    .order-kicker {
      font-size: 12px;
      margin-bottom: 4px;
    }
    .stage-footnote {
      bottom: 0;
      font-size: 13px;
    }
    .scroll-cue {
      left: 24px;
      right: 24px;
      bottom: 13px;
      padding-top: 10px;
    }
    .story-sticky {
      padding: 96px 24px 32px;
      gap: 20px;
      grid-template-rows: auto auto auto;
    }
    .story-topline {
      display: none;
    }
    .story-topline > span:last-child {
      display: none;
    }
    .story-composition {
      display: contents;
    }
    .story-copy {
      grid-row: 1;
    }
    .story-copy .chapter,
    .story-copy > #story-description {
      display: none;
    }
    .chapter {
      font-size: 12px;
      margin-bottom: 14px;
    }
    .story-copy h2 {
      font-size: clamp(36px, 9.5vw, 54px);
      line-height: 1.05;
      min-height: 3.15em;
    }
    .story-copy > p:not(.chapter) {
      font-size: 16px;
      margin-top: 16px;
      max-width: none;
      min-height: 3em;
      line-height: 1.5;
    }
    .story-demo {
      font-size: 14px;
      margin-top: 5px;
    }
    .order-stage {
      grid-row: 3;
      gap: 16px;
      padding-top: 24px;
      width: 100%;
      max-width: 440px;
      align-self: center;
    }
    .order-id {
      font-size: 100px;
      top: 32px;
      left: 5px;
    }
    .order-core {
      padding: 18px 16px;
      border-radius: 20px;
      transform: none;
    }
    .core-top {
      flex-direction: column;
      align-items: flex-start;
      font-size: 12px;
      gap: 8px;
    }
    .core-status {
      font-size: 12px;
      padding: 5px 10px;
    }
    .core-track {
      margin: 18px 0;
    }
    .core-detail {
      min-height: 95px;
      gap: 12px;
      align-items: flex-start;
    }
    .core-avatar {
      width: 40px;
      height: 40px;
      border-radius: 13px;
      font-size: 22px;
    }
    .core-detail strong {
      font-size: 21px;
    }
    .core-detail > div > span {
      font-size: 12px;
      margin-bottom: 6px;
    }
    .core-detail p {
      font-size: 14px;
      margin-top: 8px;
    }
    .core-bottom {
      font-size: 12px;
      margin-top: 18px;
      padding-top: 14px;
    }
    .assistant-strip {
      margin-left: 0;
      padding: 13px 15px;
      font-size: 14px;
      gap: 12px;
    }
    .story-controls {
      gap: 14px;
      grid-row: 2;
    }
    .story-controls button {
      font-size: 13px;
      gap: 6px;
      min-height: 48px;
    }
    .story-controls button span {
      font-size: 12px;
    }
    .story-progress {
      display: none;
    }
    .closing {
      padding: 60px 24px;
      display: block;
    }
    .closing > img {
      width: 80px;
      height: 80px;
      margin-bottom: 24px;
    }
    .closing > p {
      font-size: 15px;
      margin-bottom: 24px;
    }
    .closing h2 {
      font-size: clamp(40px, 11vw, 68px);
    }
    .closing-actions {
      gap: 12px;
      flex-direction: column;
      align-items: flex-start;
      margin-top: 28px;
    }
    footer {
      gap: 15px;
      flex-wrap: wrap;
      padding: 20px 24px;
    }
    footer > span:last-child {
      width: 100%;
    }
  }
  @media (max-width: 768px) {
    .mobile-demo-link {
      display: inline-flex;
      margin-top: 8px;
    }
  }
  @media (max-width: 480px) {
    .opening h1 {
      font-size: clamp(40px, 12vw, 62px);
      line-height: 0.98;
    }
    .opening h1 .br-desktop {
      display: none;
    }
    .opening h1 .br-mobile {
      display: inline;
    }
  }
  @media (max-width: 390px) {
    .story-controls {
      gap: 8px;
    }
    .story-controls button {
      flex: 1 1 0;
      min-width: 0;
      font-size: 12px;
      white-space: nowrap;
    }
  }
  @media (max-width: 350px) {
    .nav {
      padding-left: 10px;
      gap: 4px;
    }
    .nav .brand {
      font-size: 15px;
    }
    .opening,
    .story-sticky {
      padding-inline: 20px;
    }
    .orbit-order {
      gap: 6px;
      padding: 10px;
    }
    .orbit-order > div:first-child strong {
      font-size: 21px;
    }
    .orbit-order strong {
      font-size: 12px;
    }
    .order-kicker {
      font-size: 12px;
    }
    .story-controls {
      gap: 8px;
    }
    .story-controls button {
      flex-direction: column;
      gap: 2px;
    }
  }
  @media (max-width: 768px) {
    .story-topline {
      display: flex;
      grid-row: 1;
      align-items: center;
      gap: 6px;
      width: fit-content;
      max-width: 100%;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      font-size: 11px;
      letter-spacing: 0.06em;
      color: #c9d8ec;
      border: 1px solid #bdd9ff36;
      border-radius: 999px;
      padding: 6px 12px;
      background: #ffffff08;
    }
    .story-topline > span:last-child {
      display: inline;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .story-topline > .story-sep {
      position: static;
      width: auto;
      height: auto;
      margin: 0;
      overflow: visible;
      clip: auto;
      color: #8fa3bd;
    }
    .story-copy {
      grid-row: 2;
    }
    .story-controls {
      grid-row: 3;
    }
    .order-stage {
      grid-row: 4;
    }
  }
  @media (max-width: 350px) {
    .story-topline {
      font-size: 10px;
      letter-spacing: 0.02em;
      padding: 6px 10px;
      gap: 5px;
    }
  }
}
@layer accessibility {
  @media (prefers-reduced-motion: reduce) {
    html {
      scroll-behavior: auto;
    }
    *,
    *:before,
    *:after {
      animation: none !important;
      transition: none !important;
    }
    .story.is-scroll-story {
      height: auto;
    }
    .is-scroll-story .story-sticky {
      position: relative;
      height: auto;
    }
    .workspace-hub {
      transform: translateX(-50%) rotate(-3deg);
    }
    .satellite,
    .orbit-order,
    .order-core {
      transform: none;
    }
  }
  @media (forced-colors: active) {
    .satellite,
    .orbit-order,
    .order-core,
    .assistant-strip,
    .button {
      border: 1px solid CanvasText;
    }
    .story,
    .story-sticky {
      background: Canvas;
      color: CanvasText;
    }
    .story-controls button,
    .story-copy p,
    .story-demo {
      color: CanvasText;
    }
    .order-id {
      display: none;
    }
    .story-controls [aria-pressed="true"] {
      outline: 2px solid Highlight;
    }
    .button {
      color: ButtonText;
      background: ButtonFace;
    }
  }
  [hidden] {
    display: none;
  }
}

/* Ход D: финал-панч — oversize-заголовок и типографическая композиция. */
@layer components {
  section.closing {
    max-width: none;
    margin: 0;
    padding: 120px max(24px, calc((100vw - 1200px) / 2)) 110px;
    display: block;
    overflow: clip;
    isolation: isolate;
  }
  section.closing > p {
    font-size: 16px;
    margin-bottom: 24px;
    font-weight: 600;
  }
  section.closing h2 {
    font-size: clamp(40px, 10vw, 160px);
    line-height: 0.96;
    text-wrap: balance;
    max-width: 100%;
  }
  section.closing h2 em {
    display: block;
    letter-spacing: -0.01em;
    line-height: 0.95;
    color: var(--ink);
  }
  section.closing .closing-actions {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 36px;
    flex-wrap: wrap;
  }
  section.closing .cta-destination {
    margin-top: 12px;
  }
  .button.magnetic {
    will-change: transform;
  }
}

@layer responsive {
  @media (max-width: 760px) {
    section.closing {
      padding: 72px 24px 64px;
    }
    section.closing .closing-actions {
      gap: 12px;
      flex-direction: column;
      align-items: flex-start;
      margin-top: 28px;
    }
  }
}

@layer accessibility {
  @media (prefers-reduced-motion: reduce) {
    .story {
      --morph: 1;
    }
    .story .order-id {
      opacity: 0.06;
    }
    .button.magnetic {
      will-change: auto;
    }
  }
}

