.shell.topbar > nav[aria-label="Main"] {
  min-width: 0;
  gap: 4px 10px;
}

.shell.topbar > nav[aria-label="Main"] a {
  display: grid;
  align-content: center;
  min-width: 0;
  min-height: 40px;
  padding-inline: 4px;
  text-align: center;
  overflow-wrap: anywhere;
}

#main .hero {
  gap: 17px;
  padding: clamp(21px, 4.8vw, 32px) clamp(13px, 3.6vw, 24px) 16px;
}

#main .hero-title-name { font-size: clamp(31px, 8.4vw, 54px); }
#main .hero-title-slogan { font-size: clamp(20px, 5.2vw, 31px); }
#main .hero-copy p { font-size: clamp(14px, 2.7vw, 16px); }
#main .hero-actions { gap: 7px; margin-top: 14px; }
#main .hero-actions .button {
  max-width: 100%;
  min-height: 44px;
  white-space: normal;
}

#main .block { margin-top: 31px; }
#main .block > h2,
#main .sttk-feature-heading h2 {
  margin-bottom: 11px;
  font-size: clamp(1.53rem, 4.7vw, 2.05rem);
}

#main #tools .tools-grid { gap: 8px; }

#main #tools .tool-card {
  min-width: 0;
  min-height: 0;
  padding: 11px;
  border-radius: 16px;
  overflow-wrap: anywhere;
}

#main #tools .tool-card h3 { font-size: .93rem; }
#main #tools .tool-card p { font-size: .83rem; }

html[lang="my"] #tools .tool-card .en-copy,
html:not([lang="my"]) #tools .tool-card .my-copy {
  display: none;
}

#main .demo-layout {
  gap: 11px;
  padding: 10px;
  border-radius: 20px;
}

#main .demo-choice {
  gap: 8px;
  min-height: 54px;
  padding: 7px 9px;
  border-radius: 14px;
}

#main .demo-choice .demo-choice-icon { width: 32px; height: 32px; }
#main .demo-choice .demo-choice-icon .icon { width: 17px; height: 17px; }
#main .demo-choice-copy strong { font-size: .88rem; }
#main .demo-choice-copy span { font-size: .8rem; }

#main .gallery {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

#main .gallery .shot-card,
#main .gallery .shot-card:nth-child(-n + 2) {
  min-width: 0;
  grid-column: auto;
  border-radius: 15px;
}

#main .gallery .shot-link { padding: 5px 5px 0; }
#main .gallery .shot-viewport { border-radius: 10px; }
#main .gallery .shot-viewport img { object-fit: contain; }

#main .gallery .shot-caption {
  display: block;
  min-height: 0;
  padding: 7px 4px 8px;
  overflow-wrap: anywhere;
}

#main .gallery .shot-card strong { font-size: .82rem; line-height: 1.3; }
#main .gallery .shot-caption .demo-choice-icon,
#main .gallery .shot-caption [data-copy] { display: none; }

#main .sttk-feature-showcase { gap: 13px; }

#main .sttk-feature-row {
  grid-template-areas: "art" "copy";
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  overflow: hidden;
  border: 1px solid #d6e4f9;
  border-radius: 19px;
  background: linear-gradient(151deg, #fbfdff, #eef5ff);
  box-shadow: 0 12px 26px -21px #31588991;
}

#main .sttk-feature-row > .sttk-feature-glass {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

#main .sttk-feature-row .sttk-feature-art { padding: 8px 8px 0; }
#main .sttk-feature-row .sttk-feature-art img { object-fit: contain; box-shadow: none; }
#main .sttk-feature-row .sttk-feature-copy { gap: 7px; padding: 13px; }

#main .sttk-feature-row h3 {
  max-width: none;
  font-size: clamp(1.14rem, 3.7vw, 1.52rem);
}

#main .sttk-feature-row .sttk-feature-copy p { font-size: .9rem; }

.sttk-feature-details {
  border-top: 1px solid #d7e4f3;
}

.sttk-feature-details summary {
  min-height: 44px;
  padding: 12px 2px 8px;
  color: #28549a;
  font-size: .87rem;
  font-weight: 700;
  cursor: pointer;
}

.sttk-feature-details[open] { padding-bottom: 6px; }
.sttk-feature-details:not([open]) > ul { display: none; }

#main .sttk-pricing-card { padding: 16px; }
#main .sttk-pricing-actions .button { min-height: 44px; }

@media (max-width: 460px) {
  .shell.topbar > nav[aria-label="Main"] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .shell.topbar .actions > .button.primary { display: none; }
}

@media (max-width: 360px) {
  #main #tools .tools-grid { grid-template-columns: minmax(0, 1fr); }

  #main #tools .tool-card {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    align-items: start;
    column-gap: 10px;
    row-gap: 3px;
  }

  #main #tools .tool-card .tool-icon {
    grid-column: 1;
    grid-row: 1 / span 2;
  }

  #main #tools .tool-card :is(h3, p) {
    grid-column: 2;
    margin: 0;
  }
}
