html,
body {
  min-width: 320px;
  min-height: 100%;
  margin: 0;
  background: #071725;
}

body {
  min-height: 100vh;
}

#huolisystems-product-gateway {
      --hs-navy: #10263a;
      --hs-navy-deep: #071725;
      --hs-blue: #365d80;
      --hs-ice: #eef3f8;
      --hs-paper: #f8fbfe;
      --hs-red: #b72632;
      --hs-red-deep: #68131c;
      --hs-gold: #d9b96e;
      width: 100%;
      min-width: 0;
      color: #ffffff;
      font-family: Aptos, "Segoe UI Variable", "Segoe UI", Helvetica, Arial, sans-serif;
      background: var(--hs-navy-deep);
      overflow: hidden;
    }

    #huolisystems-product-gateway * {
      box-sizing: border-box;
    }

    #huolisystems-product-gateway .hs-page {
      position: relative;
      width: 100%;
      min-height: 680px;
      overflow: hidden;
      isolation: isolate;
      background: var(--hs-navy-deep);
    }

    #huolisystems-product-gateway .hs-topbar {
      position: absolute;
      z-index: 20;
      top: 0;
      left: 0;
      right: 0;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
      padding: 28px clamp(22px, 4.5vw, 72px);
      pointer-events: none;
    }

    #huolisystems-product-gateway .hs-brand,
    #huolisystems-product-gateway .hs-topnote {
      display: inline-flex;
      align-items: center;
      gap: 11px;
      margin: 0;
      color: var(--hs-navy);
      font-size: 12px;
      font-weight: 760;
      letter-spacing: 0.19em;
      line-height: 1;
      text-transform: uppercase;
    }

    #huolisystems-product-gateway .hs-brand__mark {
      position: relative;
      width: 24px;
      height: 24px;
      border: 1px solid rgba(16, 38, 58, 0.5);
      transform: rotate(45deg);
    }

    #huolisystems-product-gateway .hs-brand__mark::after {
      position: absolute;
      inset: 6px;
      content: "";
      background: var(--hs-gold);
    }

    #huolisystems-product-gateway .hs-topnote {
      color: rgba(255, 255, 255, 0.58);
      font-size: 10px;
      letter-spacing: 0.16em;
    }

    #huolisystems-product-gateway .hs-language {
      position: absolute;
      top: 23px;
      left: 50%;
      z-index: 2;
      display: grid;
      grid-template-columns: repeat(2, 36px);
      gap: 2px;
      padding: 3px;
      border: 1px solid rgba(16, 38, 58, 0.18);
      border-radius: 999px;
      background: rgba(248, 251, 254, 0.92);
      box-shadow: 0 8px 24px rgba(7, 23, 37, 0.12);
      backdrop-filter: blur(14px);
      transform: translateX(-50%);
      pointer-events: auto;
    }

    #huolisystems-product-gateway .hs-language button {
      min-width: 36px;
      min-height: 30px;
      padding: 0;
      border: 0;
      border-radius: 999px;
      color: rgba(16, 38, 58, 0.62);
      font: inherit;
      font-size: 10px;
      font-weight: 780;
      letter-spacing: 0.08em;
      line-height: 1;
      background: transparent;
      cursor: pointer;
      appearance: none;
    }

    #huolisystems-product-gateway .hs-language button[aria-pressed="true"] {
      color: #ffffff;
      background: var(--hs-navy);
    }

    #huolisystems-product-gateway .hs-language button:focus-visible {
      outline: 3px solid var(--hs-gold);
      outline-offset: 2px;
    }

    #huolisystems-product-gateway .hs-products {
      position: absolute;
      inset: 0;
    }

    #huolisystems-product-gateway .hs-product {
      position: absolute;
      inset: 0;
      overflow: hidden;
      cursor: pointer;
      transition: clip-path 560ms cubic-bezier(0.65, 0, 0.2, 1), filter 350ms ease;
    }

    #huolisystems-product-gateway .hs-product--pikku {
      z-index: 2;
      color: var(--hs-navy);
      clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
      background:
        radial-gradient(circle at 14% 18%, rgba(255, 255, 255, 0.96), transparent 30%),
        linear-gradient(145deg, #fbfdff 0%, #edf3f8 52%, #dce7f0 100%);
    }

    #huolisystems-product-gateway .hs-product--huoli {
      z-index: 1;
      clip-path: polygon(50% 0, 100% 0, 100% 100%, 50% 100%);
      background:
        linear-gradient(238deg, rgba(5, 21, 34, 0.68), rgba(33, 75, 106, 0.42)),
        linear-gradient(140deg, #17324d 0%, #365d80 58%, #10263a 100%);
    }

    #huolisystems-product-gateway[data-active="pikku"] .hs-product--pikku {
      clip-path: polygon(0 0, 70% 0, 70% 100%, 0 100%);
    }

    #huolisystems-product-gateway[data-active="pikku"] .hs-product--huoli {
      clip-path: polygon(70% 0, 100% 0, 100% 100%, 70% 100%);
      filter: saturate(0.55) brightness(0.72);
    }

    #huolisystems-product-gateway[data-active="huoli"] .hs-product--pikku {
      clip-path: polygon(0 0, 30% 0, 30% 100%, 0 100%);
      filter: saturate(0.55) brightness(0.72);
    }

    #huolisystems-product-gateway[data-active="huoli"] .hs-product--huoli {
      clip-path: polygon(30% 0, 100% 0, 100% 100%, 30% 100%);
    }

    #huolisystems-product-gateway .hs-art {
      position: absolute;
      inset: -8%;
      width: 116%;
      height: 116%;
      opacity: 0.48;
      filter: blur(4px);
      transform: scale(1.03);
      transition: opacity 350ms ease, filter 350ms ease, transform 700ms ease;
      pointer-events: none;
    }

    #huolisystems-product-gateway .hs-product:hover .hs-art,
    #huolisystems-product-gateway .hs-product:focus-within .hs-art,
    #huolisystems-product-gateway[data-active="pikku"] .hs-product--pikku .hs-art,
    #huolisystems-product-gateway[data-active="huoli"] .hs-product--huoli .hs-art {
      opacity: 0.72;
      filter: blur(1.5px);
      transform: scale(1);
    }

    #huolisystems-product-gateway .hs-vignette {
      position: absolute;
      inset: 0;
      background:
        linear-gradient(180deg, rgba(4, 14, 24, 0.34) 0%, transparent 32%, rgba(4, 14, 24, 0.6) 100%),
        radial-gradient(circle at 50% 42%, transparent 8%, rgba(4, 14, 24, 0.14) 72%);
      pointer-events: none;
    }

    #huolisystems-product-gateway .hs-product--pikku .hs-vignette {
      background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0%, transparent 38%, rgba(16, 38, 58, 0.13) 100%),
        radial-gradient(circle at 48% 42%, transparent 16%, rgba(16, 38, 58, 0.06) 78%);
    }

    #huolisystems-product-gateway .hs-content {
      position: absolute;
      z-index: 4;
      top: 50%;
      width: min(38vw, 520px);
      transform: translateY(-46%);
      transition: left 560ms cubic-bezier(0.65, 0, 0.2, 1), right 560ms cubic-bezier(0.65, 0, 0.2, 1), width 560ms cubic-bezier(0.65, 0, 0.2, 1);
    }

    #huolisystems-product-gateway .hs-product--pikku .hs-content {
      left: clamp(28px, 6.5vw, 104px);
    }

    #huolisystems-product-gateway .hs-product--huoli .hs-content {
      right: clamp(28px, 5.5vw, 88px);
      text-align: right;
    }

    #huolisystems-product-gateway[data-active="pikku"] .hs-product--pikku .hs-content,
    #huolisystems-product-gateway[data-active="huoli"] .hs-product--huoli .hs-content {
      width: min(48vw, 650px);
    }

    #huolisystems-product-gateway .hs-select {
      display: inline-grid;
      gap: 12px;
      padding: 12px 0;
      border: 0;
      color: inherit;
      text-align: inherit;
      background: transparent;
      cursor: pointer;
      appearance: none;
    }

    #huolisystems-product-gateway .hs-select:focus-visible,
    #huolisystems-product-gateway .hs-cta:focus-visible {
      outline: 3px solid #ffffff;
      outline-offset: 5px;
    }

    #huolisystems-product-gateway .hs-product--pikku .hs-select:focus-visible,
    #huolisystems-product-gateway .hs-product--pikku .hs-cta:focus-visible {
      outline-color: var(--hs-blue);
    }

    #huolisystems-product-gateway .hs-kicker {
      color: rgba(255, 255, 255, 0.7);
      font-size: 11px;
      font-weight: 760;
      letter-spacing: 0.2em;
      line-height: 1.2;
      text-transform: uppercase;
    }

    #huolisystems-product-gateway .hs-product--pikku .hs-kicker,
    #huolisystems-product-gateway .hs-product--pikku .hs-openhint {
      color: rgba(16, 38, 58, 0.68);
    }

    #huolisystems-product-gateway .hs-name {
      display: block;
      margin: 0;
      font-size: clamp(43px, 6.4vw, 94px);
      font-weight: 760;
      letter-spacing: -0.055em;
      line-height: 0.86;
      text-wrap: balance;
    }

    #huolisystems-product-gateway .hs-product--pikku .hs-name {
      max-width: 480px;
    }

    #huolisystems-product-gateway .hs-product--huoli .hs-name {
      font-size: clamp(52px, 7.5vw, 112px);
      letter-spacing: -0.07em;
    }

    #huolisystems-product-gateway .hs-openhint {
      display: inline-flex;
      align-items: center;
      justify-content: flex-start;
      gap: 9px;
      color: rgba(255, 255, 255, 0.76);
      font-size: 13px;
      font-weight: 650;
      line-height: 1.2;
    }

    #huolisystems-product-gateway .hs-product--huoli .hs-openhint {
      justify-content: flex-end;
    }

    #huolisystems-product-gateway .hs-openhint svg {
      width: 17px;
      height: 17px;
      fill: none;
      stroke: currentColor;
      stroke-linecap: round;
      stroke-linejoin: round;
      stroke-width: 1.8;
      transition: transform 220ms ease;
    }

    #huolisystems-product-gateway .hs-select:hover .hs-openhint svg,
    #huolisystems-product-gateway .hs-select:focus-visible .hs-openhint svg {
      transform: translateX(4px);
    }

    #huolisystems-product-gateway .hs-detail {
      display: grid;
      gap: 22px;
      max-width: 500px;
      margin-top: 23px;
      opacity: 0;
      transform: translateY(14px);
      pointer-events: none;
      transition: opacity 260ms ease 0ms, transform 320ms ease 0ms;
    }

    #huolisystems-product-gateway .hs-product--huoli .hs-detail {
      margin-left: auto;
    }

    #huolisystems-product-gateway[data-active="pikku"] .hs-product--pikku .hs-detail,
    #huolisystems-product-gateway[data-active="huoli"] .hs-product--huoli .hs-detail {
      opacity: 1;
      transform: translateY(0);
      pointer-events: auto;
      transition-delay: 240ms;
    }

    #huolisystems-product-gateway .hs-description {
      max-width: 46ch;
      margin: 0;
      color: rgba(255, 255, 255, 0.82);
      font-size: clamp(15px, 1.5vw, 19px);
      font-weight: 420;
      line-height: 1.55;
      text-wrap: balance;
    }

    #huolisystems-product-gateway .hs-product--huoli .hs-description {
      margin-left: auto;
    }

    #huolisystems-product-gateway .hs-product--pikku .hs-description {
      color: rgba(16, 38, 58, 0.82);
    }

    #huolisystems-product-gateway .hs-cta {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      width: fit-content;
      min-height: 48px;
      padding: 0 19px;
      border: 1px solid rgba(255, 255, 255, 0.5);
      border-radius: 999px;
      color: #ffffff;
      font-size: 13px;
      font-weight: 720;
      line-height: 1;
      text-decoration: none;
      background: rgba(255, 255, 255, 0.12);
      backdrop-filter: blur(16px);
      transition: background 180ms ease, color 180ms ease, transform 180ms ease;
    }

    #huolisystems-product-gateway .hs-product--huoli .hs-cta {
      margin-left: auto;
    }

    #huolisystems-product-gateway .hs-product--pikku .hs-cta {
      border-color: rgba(16, 38, 58, 0.35);
      color: var(--hs-navy);
      background: rgba(255, 255, 255, 0.68);
    }

    #huolisystems-product-gateway .hs-product--pikku .hs-cta:hover {
      color: #ffffff;
      background: var(--hs-navy);
    }

    #huolisystems-product-gateway .hs-cta:hover {
      color: var(--hs-navy-deep);
      background: #ffffff;
      transform: translateY(-2px);
    }

    #huolisystems-product-gateway .hs-cta svg {
      width: 16px;
      height: 16px;
      fill: none;
      stroke: currentColor;
      stroke-linecap: round;
      stroke-linejoin: round;
      stroke-width: 1.8;
    }

    #huolisystems-product-gateway .hs-logo-rail {
      position: absolute;
      z-index: 7;
      bottom: 19px;
      display: block;
      color: #ffffff;
      opacity: 0;
      transform: translateY(12px);
      pointer-events: none;
      transition: opacity 260ms ease 220ms, transform 320ms ease 220ms;
    }

    #huolisystems-product-gateway .hs-logo-rail--pikku {
      left: clamp(28px, 6.5vw, 104px);
      width: min(56vw, 760px);
    }

    #huolisystems-product-gateway .hs-logo-rail--huoli {
      right: clamp(28px, 5.5vw, 88px);
      width: min(54vw, 740px);
    }

    #huolisystems-product-gateway[data-active="pikku"] .hs-product--pikku .hs-logo-rail--pikku,
    #huolisystems-product-gateway[data-active="huoli"] .hs-product--huoli .hs-logo-rail--huoli {
      opacity: 1;
      transform: translateY(0);
      pointer-events: auto;
    }

    #huolisystems-product-gateway .hs-logo-viewport {
      min-width: 0;
      overflow-x: auto;
      overscroll-behavior-inline: contain;
      scrollbar-width: none;
      scroll-behavior: smooth;
      scroll-snap-type: x proximity;
      touch-action: pan-y;
      cursor: grab;
      user-select: none;
      -webkit-user-select: none;
    }

    #huolisystems-product-gateway .hs-logo-viewport.is-dragging {
      scroll-behavior: auto;
      scroll-snap-type: none;
      cursor: grabbing;
    }

    #huolisystems-product-gateway .hs-logo-viewport::-webkit-scrollbar {
      display: none;
    }

    #huolisystems-product-gateway .hs-logo-track {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 22px;
      width: max-content;
      min-width: 100%;
    }

    #huolisystems-product-gateway .hs-logo-mark {
      display: inline-grid;
      width: 58px;
      height: 42px;
      flex: 0 0 58px;
      place-items: center;
      color: #ffffff;
      opacity: 0.9;
      scroll-snap-align: start;
    }

    #huolisystems-product-gateway .hs-product--pikku .hs-logo-mark {
      color: var(--hs-blue);
      opacity: 0.96;
    }

    #huolisystems-product-gateway .hs-logo-mark svg {
      display: block;
      width: 44px;
      height: 28px;
      fill: currentColor;
    }

    #huolisystems-product-gateway .hs-seam {
      position: absolute;
      z-index: 12;
      top: -5%;
      left: 50%;
      width: 1px;
      height: 110%;
      background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.76) 18%, rgba(255, 255, 255, 0.18) 82%, transparent);
      box-shadow: 0 0 28px rgba(255, 255, 255, 0.18);
      transform: none;
      transform-origin: center;
      pointer-events: none;
      transition: left 560ms cubic-bezier(0.65, 0, 0.2, 1);
    }

    #huolisystems-product-gateway[data-active="pikku"] .hs-seam {
      left: 70%;
    }

    #huolisystems-product-gateway[data-active="huoli"] .hs-seam {
      left: 30%;
    }

    #huolisystems-product-gateway .hs-mobile-label {
      display: none;
    }

    @media (max-width: 760px) {
      #huolisystems-product-gateway .hs-page {
        min-height: 820px;
      }

      #huolisystems-product-gateway .hs-topbar {
        padding: 22px 20px;
      }

      #huolisystems-product-gateway .hs-topnote {
        display: none;
      }

      #huolisystems-product-gateway .hs-language {
        top: 17px;
        right: 20px;
        left: auto;
        transform: none;
      }

      #huolisystems-product-gateway .hs-products {
        top: 0;
      }

      #huolisystems-product-gateway .hs-product--pikku {
        clip-path: polygon(0 0, 100% 0, 100% 50%, 0 50%);
      }

      #huolisystems-product-gateway .hs-product--huoli {
        clip-path: polygon(0 50%, 100% 50%, 100% 100%, 0 100%);
      }

      #huolisystems-product-gateway[data-active="pikku"] .hs-product--pikku {
        clip-path: polygon(0 0, 100% 0, 100% 70%, 0 70%);
      }

      #huolisystems-product-gateway[data-active="pikku"] .hs-product--huoli {
        clip-path: polygon(0 70%, 100% 70%, 100% 100%, 0 100%);
      }

      #huolisystems-product-gateway[data-active="huoli"] .hs-product--pikku {
        clip-path: polygon(0 0, 100% 0, 100% 30%, 0 30%);
      }

      #huolisystems-product-gateway[data-active="huoli"] .hs-product--huoli {
        clip-path: polygon(0 30%, 100% 30%, 100% 100%, 0 100%);
      }

      #huolisystems-product-gateway .hs-content,
      #huolisystems-product-gateway[data-active="pikku"] .hs-product--pikku .hs-content,
      #huolisystems-product-gateway[data-active="huoli"] .hs-product--huoli .hs-content {
        left: 22px;
        right: 22px;
        width: auto;
        max-width: none;
        transform: none;
      }

      #huolisystems-product-gateway .hs-product--pikku .hs-content {
        top: 92px;
      }

      #huolisystems-product-gateway .hs-product--huoli .hs-content {
        top: auto;
        bottom: 50px;
      }

      #huolisystems-product-gateway .hs-name,
      #huolisystems-product-gateway .hs-product--huoli .hs-name {
        font-size: clamp(46px, 15vw, 70px);
      }

      #huolisystems-product-gateway .hs-product--pikku .hs-name {
        max-width: none;
      }

      #huolisystems-product-gateway .hs-detail {
        gap: 14px;
        max-width: 430px;
        margin-top: 12px;
      }

      #huolisystems-product-gateway .hs-description {
        font-size: 14px;
        line-height: 1.45;
      }

      #huolisystems-product-gateway .hs-cta {
        min-height: 42px;
      }

      #huolisystems-product-gateway .hs-logo-rail,
      #huolisystems-product-gateway .hs-logo-rail--pikku,
      #huolisystems-product-gateway .hs-logo-rail--huoli {
        right: 22px;
        left: 22px;
        width: auto;
      }

      #huolisystems-product-gateway .hs-logo-rail--pikku {
        top: calc(70% - 54px);
        bottom: auto;
      }

      #huolisystems-product-gateway .hs-logo-rail--huoli {
        bottom: 14px;
      }

      #huolisystems-product-gateway .hs-seam {
        top: 50%;
        left: -5%;
        width: 110%;
        height: 1px;
        transform: none;
        transition: top 560ms cubic-bezier(0.65, 0, 0.2, 1);
      }

      #huolisystems-product-gateway[data-active="pikku"] .hs-seam {
        top: 70%;
        left: -5%;
      }

      #huolisystems-product-gateway[data-active="huoli"] .hs-seam {
        top: 30%;
        left: -5%;
      }

      #huolisystems-product-gateway[data-active="pikku"] .hs-product--huoli .hs-content {
        bottom: 25px;
      }

      #huolisystems-product-gateway[data-active="pikku"] .hs-product--huoli .hs-kicker,
      #huolisystems-product-gateway[data-active="pikku"] .hs-product--huoli .hs-openhint,
      #huolisystems-product-gateway[data-active="huoli"] .hs-product--pikku .hs-kicker,
      #huolisystems-product-gateway[data-active="huoli"] .hs-product--pikku .hs-openhint {
        display: none;
      }

      #huolisystems-product-gateway[data-active="pikku"] .hs-product--huoli .hs-name,
      #huolisystems-product-gateway[data-active="huoli"] .hs-product--pikku .hs-name {
        font-size: 34px;
      }
    }

    @media (max-width: 420px) {
      #huolisystems-product-gateway .hs-page {
        min-height: 760px;
      }

      #huolisystems-product-gateway .hs-brand {
        font-size: 10px;
      }

      #huolisystems-product-gateway .hs-brand__mark {
        width: 20px;
        height: 20px;
      }

      #huolisystems-product-gateway .hs-product--pikku .hs-content {
        top: 80px;
      }

      #huolisystems-product-gateway .hs-product--huoli .hs-content {
        bottom: 34px;
      }

      #huolisystems-product-gateway .hs-name,
      #huolisystems-product-gateway .hs-product--huoli .hs-name {
        font-size: clamp(40px, 14vw, 58px);
      }

      #huolisystems-product-gateway .hs-description {
        max-width: 38ch;
        font-size: 13px;
      }
    }

    @media (prefers-reduced-motion: reduce) {
      #huolisystems-product-gateway *,
      #huolisystems-product-gateway *::before,
      #huolisystems-product-gateway *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
      }
    }

