html.is-mobile,
html.is-mobile body {
  height: auto !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

html.is-mobile .site-shell {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  overflow-x: hidden !important;
  overflow-y: visible !important;
}

html.is-mobile .scene-inner,
html.is-mobile body.lab .scene-inner {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  transform: none !important;
  translate: none !important;
}

@media (max-width: 900px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: none;
    overscroll-behavior-y: auto;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
  }

  body.lab {
    touch-action: pan-y;
  }

  .site-shell,
  .scene,
  body.lab .scene,
  body.lab .scene.is-active,
  body.lab .scene.is-leaving,
  body.lab .scene:not(.is-active):not(.is-leaving) {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .site-shell {
    height: auto;
    min-height: 0;
    overflow-y: visible;
  }

  .scene,
  body.lab .scene,
  body.lab .scene.is-active,
  body.lab .scene.is-leaving,
  body.lab .scene:not(.is-active):not(.is-leaving) {
    position: relative;
    inset: auto;
    height: auto;
    overflow-y: visible;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    z-index: 1;
  }

  .scene-inner,
  body.lab .scene-inner,
  body.lab .scene-inner.footer,
  .scene-inner.form {
    position: relative;
    top: auto;
    left: auto;
    width: 100% !important;
    max-width: 100% !important;
    height: auto;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: visible;
    translate: none !important;
    transform: none !important;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: calc(22px + env(safe-area-inset-top, 0px))
      max(18px, env(safe-area-inset-right, 0px))
      44px
      max(18px, env(safe-area-inset-left, 0px));
  }

  body.lab .pull,
  body.lab .pull[data-from='left'],
  body.lab .pull[data-from='right'],
  body.lab .pull[data-from='top'],
  body.lab .pull[data-from='bottom'],
  body.lab .pull[data-from='stay'],
  body.lab:not(.lab-ready) .scene.is-active .pull,
  body.lab.lab-ready .scene.is-active .pull,
  body.lab.lab-ready .scene.is-leaving .pull {
    translate: none !important;
    scale: none !important;
    opacity: 1 !important;
    transition: none !important;
  }

  .grid,
  .orbits,
  .svc .dots,
  .panel,
  .panel-mark,
  .col-lines,
  .nums,
  .pager,
  .face,
  .heart,
  .compare-arrow,
  .share-mark,
  .amp,
  .soc-logo,
  .clocks,
  .copy-c,
  .icon,
  .flows {
    display: none !important;
  }

  .year {
    position: static;
    align-self: flex-end;
    margin: 0;
    font-size: 13px;
    letter-spacing: 0.04em;
    opacity: 0.7;
  }

  .history h2,
  .workflow h2,
  .benefits h2,
  .services h2,
  .projects h2,
  .archive h2,
  .compare h2,
  .social h2,
  .cta h2,
  .form h2,
  .footer h2 {
    position: static;
    left: auto;
    top: auto;
    width: auto;
    max-width: 100%;
    margin: 0;
    font-size: clamp(34px, 10.4vw, 48px);
    line-height: 1.05;
    letter-spacing: -0.05em;
    white-space: normal;
  }

  .footer h2 {
    font-size: clamp(42px, 12.5vw, 62px);
  }

  .compare h2,
  .social h2,
  .footer h2 {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }

  .compare h2 span:first-child,
  .social h2 span:last-child,
  .footer h2 span:first-child {
    padding-left: 0;
    margin-left: 0;
  }

  .why,
  .benefits .why,
  .projects .why {
    position: static;
    left: auto;
    right: auto;
    top: auto;
    margin: 0;
    font-size: clamp(20px, 6.4vw, 26px);
    line-height: 1.2;
    letter-spacing: -0.04em;
    white-space: normal;
    color: rgba(255, 255, 255, 0.36);
  }

  .scene-inner.hero {
    container-type: inline-size;
    gap: 0;
    min-height: 100svh;
    justify-content: flex-start;
    padding-left: max(14px, env(safe-area-inset-left, 0px));
    padding-right: max(14px, env(safe-area-inset-right, 0px));
    padding-bottom: calc(22px + env(safe-area-inset-bottom, 0px));
  }

  .hero .hero-automation,
  .hero .hero-time,
  .hero .hero-dev,
  .hero .hero-solutions,
  .hero .hero-itai,
  .hero .script,
  .hero .mark-auto,
  .hero .mark-apps,
  .hero .signature {
    position: static;
    left: auto;
    top: auto;
    right: auto;
    width: 100%;
    max-width: 100%;
    margin: 0;
    white-space: nowrap;
  }

  .hero .year {
    font-size: 15px;
    margin-bottom: 10px;
  }

  .hero .hero-automation {
    font-size: calc((100vw - 28px) / 6.12);
    font-size: calc(100cqi / 6.12);
    line-height: 0.8;
    letter-spacing: -0.07em;
  }

  .hero .hero-time {
    font-size: calc((100vw - 28px) / 2.38);
    font-size: calc(100cqi / 2.38);
    line-height: 0.76;
    letter-spacing: -0.08em;
  }

  .hero .hero-dev {
    margin-top: 22px;
    font-size: calc((100vw - 36px) / 10.2);
    line-height: 0.92;
    font-weight: 700;
    letter-spacing: -0.05em;
  }

  .hero-itai-row {
    display: flex;
    align-items: baseline;
    width: 100%;
    margin-top: 4px;
    white-space: nowrap;
    gap: 0.12em;
    font-size: calc((100vw - 36px) / 8.55);
  }

  .hero .hero-itai,
  .hero .hero-solutions {
    display: block;
    width: auto;
    max-width: none;
    font-size: 1em;
    line-height: 0.92;
    font-weight: 800;
    letter-spacing: -0.05em;
  }

  .hero .hero-solutions {
    margin-left: 0;
  }

  .hero .script,
  .hero .mark-auto,
  .hero .mark-apps,
  .hero .signature {
    width: auto;
    max-width: 100%;
    white-space: normal;
  }

  .hero .script {
    font-size: clamp(32px, 9.2vw, 42px);
    line-height: 1.08;
  }

  .hero .mark-auto {
    margin-top: 0;
  }

  .hero .signature {
    margin-top: 4px;
    font-size: clamp(28px, 8.4vw, 36px);
  }

  .hero-sign {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    margin-top: 18px;
  }

  .hero-sign-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1;
  }

  .hero-badges {
    display: flex;
    flex-shrink: 0;
    align-items: flex-start;
    gap: 0;
    margin: 0 4px 0 0;
  }

  .hero .tilt,
  .hero .tilt.ai,
  .hero .tilt.it {
    position: relative;
    left: auto;
    top: auto;
    width: 76px;
    height: 76px;
    border-radius: 20px;
    font-size: 30px;
  }

  .hero .tilt.ai {
    z-index: 2;
    transform: rotate(-22deg);
  }

  .hero .tilt.it {
    z-index: 1;
    margin-left: -16px;
    margin-top: 22px;
    transform: rotate(22deg);
  }

  .hero .stat,
  .hero .stat.dark,
  .hero .stat.mint {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: 128px;
    margin-top: 14px;
    padding: 20px 18px 16px;
    border-radius: 28px;
  }

  .hero .stat.dark {
    margin-top: auto;
    padding-top: 20px;
  }

  .hero .stat .dots {
    display: block;
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.22) 1.3px, transparent 1.3px);
    background-size: 22px 22px;
    opacity: 0.55;
    pointer-events: none;
  }

  .hero .stat h3 {
    font-size: 28px;
    line-height: 1.02;
  }

  .hero .stat p {
    width: auto;
    max-width: 56%;
    margin-top: 10px;
    font-size: 22px;
    line-height: 1.1;
  }

  .hero .metric {
    right: 14px;
    bottom: 10px;
  }

  .hero .metric strong {
    font-size: 64px;
  }

  .hero .metric span,
  .hero .metric em {
    font-size: 22px;
  }

  .history {
    gap: 12px;
  }

  .history > h2 {
    order: 0;
  }

  .h-left,
  .h-right,
  .h-view,
  .h-track {
    display: contents;
  }

  .h-track-y,
  .h-track-x {
    transform: none;
  }

  .h-track-y .h-slide,
  .h-track-x .h-slide {
    flex: none;
    width: auto;
    max-width: 100%;
    height: auto;
    padding: 20px 18px 22px;
    border-radius: 24px;
  }

  .h-track-y .h-slide:nth-child(1) { order: 1; }
  .h-track-x .h-slide:nth-child(1) { order: 2; }
  .h-track-y .h-slide:nth-child(2) { order: 3; }
  .h-track-x .h-slide:nth-child(2) { order: 4; }
  .h-track-y .h-slide:nth-child(3) { order: 5; }
  .h-track-x .h-slide:nth-child(3) { order: 6; }
  .h-track-y .h-slide:nth-child(4) { order: 7; }
  .h-track-x .h-slide:nth-child(4) { order: 8; }

  .h-track-y .h-slide {
    background: #f3f4f5;
    color: #010101;
  }

  .h-track-x .h-slide {
    background: #06152a;
    color: #fff;
  }

  .year-row {
    flex-wrap: wrap;
    white-space: normal;
    gap: 6px 10px;
  }

  .year-row b {
    font-size: clamp(26px, 8vw, 36px);
  }

  .year-row i {
    font-size: clamp(16px, 5.4vw, 22px);
  }

  .h-left p,
  .h-right p,
  .h-right h3 {
    max-width: none;
    margin-top: 12px;
    font-size: 18px;
    line-height: 1.25;
    letter-spacing: -0.03em;
  }

  .h-right h3 {
    font-size: clamp(22px, 6.6vw, 28px);
    line-height: 1.15;
  }

  .workflow .tags {
    position: static;
    left: auto;
    top: auto;
    width: auto;
    max-width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 2px 12px;
    font-size: clamp(24px, 7vw, 32px);
  }

  .board {
    position: static;
    left: auto;
    top: auto;
    width: 100%;
    max-width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .step,
  .s1,
  .s2,
  .s3,
  .s4,
  .s5,
  .s6 {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: 0;
    padding: 20px 18px;
  }

  .step + .step {
    margin-top: 46px;
  }

  .step:not(.s6)::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -40px;
    width: 52px;
    height: 52px;
    background: url('/images/Arrow%202.svg') center / 52px 18px no-repeat;
    filter: invert(1);
    transform: translateX(-50%) rotate(90deg);
  }

  .step:hover,
  .step.accent:hover {
    transform: none;
    box-shadow: none;
    filter: none;
  }

  .step h3,
  .step p {
    max-width: none;
  }

  .step h3 {
    font-size: 26px;
    line-height: 1.05;
  }

  .step p {
    font-size: 18px;
    line-height: 1.3;
  }

  .b-card,
  .b1,
  .b2,
  .b3,
  .b4,
  .b5,
  .b6 {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: 0;
    margin-top: 16px;
    padding: 26px 20px 20px;
  }

  .b-card:hover,
  .b-card.mint:hover {
    transform: none;
    box-shadow: none;
    filter: none;
  }

  .b-card h3 {
    max-width: calc(100% - 52px);
    margin-bottom: 8px;
    padding-right: 8px;
    font-size: 26px;
    line-height: 0.95;
  }

  .b-card p {
    max-width: none;
    font-size: 18px;
    line-height: 1.25;
  }

  .b-card span {
    top: -16px;
    right: 16px;
  }

  .svc,
  .svc.c1,
  .svc.c2,
  .svc.c3 {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: 200px;
    padding: 20px 18px 80px;
  }

  .svc:hover {
    transform: none;
    box-shadow: none;
    filter: none;
  }

  .svc h3,
  .svc p {
    max-width: none;
  }

  .svc.c1 .ico,
  .svc.c2 .ico,
  .svc.c3 .ico {
    left: auto;
    top: auto;
    right: 14px;
    bottom: 14px;
    width: 64px;
    height: 64px;
  }

  .svc-marks {
    position: static;
    left: auto;
    right: auto;
    top: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 4px 12px;
    font-size: clamp(22px, 6.8vw, 30px);
  }

  .projects .grid {
    top: auto;
  }

  .proj-rail,
  .ac-rail,
  .ac-rail-mobile,
  .ac-rail-desktop {
    position: static;
    left: auto;
    right: auto;
    top: auto;
    width: 100%;
    max-width: 100%;
    height: auto;
    overflow: hidden;
  }

  .proj-track,
  .ac-track,
  .ac-rail-desktop .ac-track {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    width: 100%;
    height: auto;
    padding: 0;
    transform: none;
    will-change: auto;
  }

  .proj,
  .proj:nth-child(even) {
    flex: none;
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: 0;
    transform: none;
  }

  .proj:hover,
  .proj:nth-child(even):hover {
    transform: none;
    box-shadow: none;
    filter: none;
  }

  .proj ul {
    padding-right: 72px;
  }

  .archive .lab,
  .lab.mobile,
  .lab.desktop {
    position: static;
    left: auto;
    top: auto;
    margin: 8px 0 0;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    opacity: 0.7;
  }

  .ac {
    flex: none;
    width: 100%;
    max-width: 100%;
    height: 220px;
    overflow: hidden;
  }

  .ac:hover {
    transform: none;
    box-shadow: none;
    filter: none;
  }

  .ac-preview {
    overflow: hidden;
  }

  .ac-mac .ac-preview iframe,
  .ac-phone .ac-preview iframe {
    transform: scale(0.22);
  }

  .compare .intro,
  .cta .lead,
  .cta .sub {
    position: static;
    left: auto;
    top: auto;
    width: auto;
    max-width: 100%;
    text-align: left;
    font-size: 17px;
    line-height: 1.35;
  }

  .compare .cols {
    position: static;
    left: auto;
    right: auto;
    top: auto;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .compare .cols > div:not(.col-lines) {
    padding: 16px 14px 6px;
    border-radius: 22px;
    background: rgba(1, 18, 38, 0.28);
  }

  .compare .cols > div:last-child {
    background: rgba(56, 221, 176, 0.16);
    box-shadow: inset 0 0 0 1px rgba(56, 221, 176, 0.35);
  }

  .compare h3,
  .compare .cols p,
  .compare .cols p:last-child {
    height: auto;
    min-height: 0;
    flex: none;
    justify-content: flex-start;
    align-items: flex-start;
    text-align: left;
    font-size: 17px;
    padding-top: 0;
    padding-bottom: 10px;
  }

  .compare h3 {
    font-size: 20px;
    padding-bottom: 6px;
  }

  .soc,
  .soc.left,
  .soc.right {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: 156px;
    align-items: stretch;
    padding: 20px 18px;
  }

  .soc:hover,
  .pill:hover {
    transform: none;
    box-shadow: none;
    filter: none;
  }

  .soc h3 {
    font-size: clamp(24px, 7vw, 32px);
  }

  .soc p {
    text-align: left;
    font-size: 18px;
    white-space: normal;
  }

  .soc button,
  .soc-go {
    align-self: flex-start;
    padding: 12px 24px;
    font-size: 18px;
  }

  .pill,
  .p-left,
  .p-right {
    position: static;
    left: auto;
    top: auto;
    width: 100%;
    max-width: 100%;
    height: 48px;
    font-size: 20px;
  }

  .list,
  .l-left,
  .l-right {
    position: static;
    left: auto;
    top: auto;
    width: auto;
    max-width: 100%;
    margin: 0;
    padding-left: 22px;
    font-size: 16px;
    line-height: 1.45;
  }

  .social > h2 { order: 0; }
  .soc.left { order: 1; }
  .pill.p-left { order: 2; }
  .list.l-left { order: 3; }
  .soc.right { order: 4; }
  .pill.p-right { order: 5; }
  .list.l-right { order: 6; }

  .cta {
    min-height: 100svh;
    justify-content: space-between;
    padding-bottom: calc(28px + env(safe-area-inset-bottom, 0px));
  }

  .cta h2 {
    display: block;
    font-size: clamp(42px, 13vw, 64px);
  }

  .cta .lead,
  .cta .sub {
    font-size: clamp(22px, 6.6vw, 28px);
  }

  .scene-inner.form {
    gap: 14px;
  }

  .form > h2 {
    order: 1;
  }

  .form > .show {
    order: 2;
  }

  .form > .lead-card {
    order: 3;
  }

  .lead-card,
  .show {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    max-width: 100%;
    height: auto;
  }

  .show {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 4px 0 8px;
  }

  .show small {
    color: rgba(255, 255, 255, 0.55);
    font-size: 13px;
    letter-spacing: 0.06em;
  }

  .show > p {
    max-width: 100%;
    margin: 0;
    color: #fff;
    font-size: 24px;
    line-height: 1.25;
    font-weight: 700;
  }

  .show .case,
  .show .case.main,
  .show .case.g1,
  .show .case.g2,
  .show .case.g3,
  .show .case.g4,
  .show .phone {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    transform: none !important;
  }

  .lead-card {
    padding: 20px 16px 18px;
  }

  .lead-card:hover {
    transform: none;
    box-shadow: none;
  }

  .lead-card h3 {
    font-size: 26px;
  }

  .lead-card > label:first-of-type {
    flex: none;
  }

  .lead-card textarea {
    min-height: 120px;
    flex: none;
  }

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

  .brand {
    position: static;
    left: auto;
    right: auto;
    top: auto;
    height: auto;
    max-width: 100%;
  }

  .scene-inner.footer {
    min-height: 100svh;
    justify-content: space-between;
    gap: 18px;
    padding-bottom: calc(22px + env(safe-area-inset-bottom, 0px));
  }

  .brand .light,
  .brand .dark {
    position: static;
    left: auto;
    right: auto;
    top: auto;
    font-size: clamp(56px, 16.5vw, 84px);
    line-height: 0.88;
    white-space: normal;
  }

  .copy {
    position: static;
    left: auto;
    top: auto;
    max-width: 100%;
    font-size: 22px;
    line-height: 1.3;
    font-weight: 600;
  }

  .copy span,
  .copy span:nth-of-type(1),
  .copy span:nth-of-type(2),
  .copy span:nth-of-type(3) {
    display: inline;
    margin: 0 6px 0 0;
    color: rgba(255, 255, 255, 0.55);
  }

  .footer nav {
    position: static;
    left: auto;
    right: auto;
    top: auto;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    font-size: clamp(36px, 10.6vw, 48px);
  }

  .footer nav a,
  .footer nav button {
    white-space: normal;
    text-align: left;
  }

  .site-toast {
    left: 16px;
    right: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    transform: translateY(12px);
    text-align: center;
    font-size: 16px;
  }

  .site-toast.is-on {
    transform: translateY(0);
  }
}
