/* Platform overview: atmosphere, product evidence, then business outcomes. */
.q-gateway {
  --q-bg: #0b0c0d;
  --q-panel: #1b1d1f;
  --q-ink: #f4f5f5;
  --q-secondary: #b6b9bd;
  --q-muted: #8c9299;
  --q-line: #ffffff21;
  --q-accent: #81b4ef;
  color: var(--q-ink);
  background: var(--q-bg);
}
.q-gateway .q-container {
  width: calc(100% - 120px);
  max-width: 1320px;
}
.q-gateway h1,
.q-gateway h2,
.q-gateway h3 {
  font-weight: 400;
  text-wrap: balance;
}
.q-gateway h2 {
  font-size: clamp(34px, 3.4vw, 50px);
  line-height: 1.14;
  letter-spacing: -0.035em;
}
.q-gateway .qn {
  --q-ink: #1e1f2b;
  --q-secondary: #555965;
  --q-muted: #677080;
  --q-accent: #2a4bd7;
}
.q-gateway .qn__bar {
  backdrop-filter: blur(20px) saturate(1.25);
}
.q-gateway .q-button {
  background: #f4f5f5;
  color: #101316 !important;
  border-color: #f4f5f5;
  border-radius: 999px;
}
.q-gateway .q-button:hover,
.q-gateway.q-site .q-nav .q-nav__contact:hover {
  background: #dce8f4;
  border-color: #dce8f4;
}
.q-gateway .q-nav__menu a:hover {
  background: #232629;
}
.qg-label {
  font-size: 12px;
  line-height: 1.5;
  color: var(--q-muted);
}
.qg-hero {
  position: relative;
  isolation: isolate;
  padding-top: 180px;
  /* Leave room below the CTA and let the atmosphere finish fading. */
  padding-bottom: clamp(80px, 10vh, 140px);
  overflow: hidden;
}
.qg-hero__atmosphere {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: #263e60;
  overflow: hidden;
  /* Size the fade to the hero, rather than clipping a fixed-height backdrop. */
  mask-image: linear-gradient(#000 45%, transparent 100%);
}
.qg-hero__atmosphere::before {
  content: '';
  position: absolute;
  inset: -70px;
  background: url('/marketing/work-software-v2.webp') 60% 30% / cover;
  filter: blur(42px) grayscale(1);
  opacity: 0.55;
}
.qg-hero__atmosphere::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 76% 14%, #d4deec99, transparent 42%),
    radial-gradient(ellipse at 20% 30%, #3e79c8b3, transparent 55%),
    radial-gradient(ellipse at 84% 70%, #3d62b366, transparent 48%),
    linear-gradient(180deg, #182a4340, #17263b80 60%, #0b0c0d);
}
.qg-hero__copy {
  text-align: center;
}
.qg-wordmark {
  font-size: 27px;
  letter-spacing: -0.035em;
  margin-bottom: 34px !important;
}
.qg-wordmark > span {
  opacity: 0.8;
}
.qg-hero h1 {
  font-size: clamp(44px, 4.5vw, 66px);
  line-height: 1.06;
  letter-spacing: -0.045em;
}
.qg-hero__description {
  margin: 26px auto 0 !important;
  max-width: 560px;
  font-size: 20px;
  line-height: 1.5;
  color: #ffffffdf;
  text-wrap: balance;
}
.qg-hero__link {
  display: inline-flex;
  gap: 24px;
  align-items: center;
  margin-top: 28px;
  padding: 12px 0;
  font-size: 13px;
  border-bottom: 1px solid #ffffff70;
}
.q-gateway .qg-dashboard {
  position: relative;
  margin-top: 100px !important;
  margin-inline: auto;
  max-width: 1200px !important;
}
.qg-dashboard__chrome {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 17px 24px;
  border: 1px solid #ffffff30;
  border-radius: 12px 12px 0 0;
  background: #191c20;
  font-size: 12px;
  color: #c6cbd0;
}
.qg-dashboard__chrome > span:first-child {
  display: flex;
  align-items: center;
  gap: 16px;
}
.qg-dashboard__chrome i {
  width: 7px;
  height: 7px;
  background: #83b3e8;
  border-radius: 50%;
}
.qg-dashboard__chrome > span:last-child {
  color: #969da5;
}
.qg-dashboard__crop {
  overflow: hidden;
  max-height: 640px;
  border: 1px solid #ffffff24;
  border-top: 0;
  border-radius: 0 0 8px 8px;
  mask-image: linear-gradient(#000 70%, transparent);
}
.qg-dashboard__crop img {
  display: block;
  width: 114.2857%;
  max-width: none;
  height: auto;
  margin-left: -14.2857%;
}
.qg-dashboard figcaption {
  margin-top: -15px;
  position: relative;
  text-align: center;
  color: var(--q-muted);
  font-size: 11px;
}
.qg-section-heading {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 100px;
  align-items: end;
  margin-bottom: 64px;
}
.qg-section-heading > p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--q-secondary);
  max-width: 39ch;
}
.qg-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.qg-feature {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #1b1d1f;
}
.qg-feature__visual {
  position: relative;
  display: grid;
  place-items: center;
  height: 310px;
  overflow: hidden;
  margin: 16px 16px 0;
  background: radial-gradient(ellipse at 50% 35%, #6684ad13, transparent 70%);
  mask-image: linear-gradient(#000 72%, transparent 100%);
}
.qg-product-art {
  display: block;
  width: 100%;
  max-width: 640px;
  height: 100%;
  overflow: visible;
}
.qg-feature--usage {
  --q-secondary: #bcc6d2;
  --q-muted: #9fb0c4;
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: stretch;
  background: #1b2028;
  color: #f4f6f9;
  border: 1px solid #ffffff1c;
}
.qg-feature--usage .qg-feature__visual {
  display: grid;
  align-items: center;
  height: auto;
  min-height: 380px;
  margin: 0;
  padding: 24px;
  border-radius: 0;
  background:
    radial-gradient(ellipse at 55% 40%, #456b9e24, transparent 70%), #151b23;
  mask-image: none;
}
.qg-trace-art {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}
.qg-trace-scan {
  animation: qg-trace-reveal 4.5s ease-in-out both;
}
@keyframes qg-trace-reveal {
  from {
    transform: translateX(0);
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  85% {
    opacity: 1;
  }
  to {
    transform: translateX(410px);
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .qg-trace-scan {
    animation: none;
    opacity: 0;
  }
}
.qg-feature--usage .qg-feature__copy {
  justify-content: center;
  padding: clamp(28px, 4vw, 56px);
}
.qg-feature--usage .qg-feature__link {
  margin-top: 8px;
  border-color: #8ca8c778;
}
.qg-feature--usage .qg-feature__link:hover {
  color: #a9d2ff;
  border-color: #a9d2ff;
}
.qg-feature__copy {
  padding: 20px 32px 32px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.qg-feature__copy .qg-label {
  margin-bottom: 14px;
}
.qg-feature h3 {
  font-size: clamp(26px, 2.4vw, 34px);
  line-height: 1.15;
  letter-spacing: -0.025em;
}
.qg-feature__copy > p:not(.qg-label) {
  margin-top: 18px;
  margin-bottom: 24px;
  color: var(--q-secondary);
  font-size: 16px;
  line-height: 1.55;
  max-width: 54ch;
}
.qg-feature__link {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  align-self: flex-start;
  margin-top: auto;
  padding-block: 10px;
  border-bottom: 1px solid #ffffff40;
  font-size: 13px;
}
.qg-feature__link svg {
  width: 18px;
  height: 18px;
}
.qg-feature__link:hover {
  color: #a9c9ef;
  border-color: #a9c9ef;
}
.qg-outcomes {
  padding-block: 130px;
}
.qg-outcomes > div {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  margin-top: 56px;
}
.qg-outcomes article {
  border-left: 1px solid var(--q-line);
  padding-left: 24px;
}
.qg-outcomes__number {
  display: block;
  margin-bottom: 32px;
  color: var(--q-muted);
  font-size: 12px;
}
.qg-outcomes h3 {
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -0.025em;
}
.qg-outcomes p {
  margin-top: 18px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--q-secondary);
}
.qg-next {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding-bottom: 130px;
}
.qg-next .qg-label {
  margin-bottom: 24px;
}
.qg-next > div > p:not(.qg-label) {
  max-width: 44ch;
  margin-block: 24px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--q-secondary);
}
.qg-next > img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  object-position: 70% center;
  border-radius: 8px;
}
.qg-closing {
  text-align: center;
  padding-block: 70px 140px;
}
.qg-closing h2 {
  font-size: clamp(46px, 5vw, 72px);
  letter-spacing: -0.045em;
  margin-block: 26px 36px;
}
.q-gateway .q-home-footer {
  background: #0b0c0d;
  color: var(--q-ink);
}
.q-gateway .q-home-footer__brand {
  color: #fff;
}
.q-gateway .q-home-footer__main,
.q-gateway .q-home-footer__bottom {
  border-color: var(--q-line);
}
.q-gateway .q-home-footer__brand small,
.q-gateway .q-home-footer__links h2,
.q-gateway .q-home-footer__bottom {
  color: var(--q-muted);
}
@media (max-width: 1000px) {
  .qg-connect {
    gap: 40px;
  }
  .qg-section-heading {
    gap: 40px;
  }
  .qg-feature__visual {
    height: 230px;
    margin: 24px 24px 0;
  }
  .qg-feature__copy {
    padding: 20px 24px 28px;
  }
  .qg-outcomes > div {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px;
  }
  .qg-next {
    gap: 40px;
  }
}
@media (max-width: 760px) {
  .q-gateway .q-container {
    width: calc(100% - 40px);
  }
  .q-gateway .q-nav {
    padding-inline: 20px;
    gap: 12px;
  }
  .q-gateway .q-brand small {
    display: none;
  }
  .q-gateway .q-nav__contact,
  .q-gateway .q-nav__mobile {
    flex-shrink: 0;
  }
  .qg-hero {
    padding-top: 145px;
  }
  .qg-wordmark {
    font-size: 23px;
    margin-bottom: 28px !important;
  }
  .qg-hero h1 {
    font-size: 42px;
  }
  .qg-hero__description {
    font-size: 17px;
    max-width: 32ch;
  }
  .qg-hero__description br {
    display: none;
  }
  .qg-dashboard {
    margin-top: 64px !important;
  }
  .qg-dashboard__chrome {
    padding: 13px 14px;
    font-size: 10px;
  }
  .qg-dashboard__chrome > span:first-child {
    gap: 10px;
  }
  .qg-dashboard__chrome > span:last-child {
    display: none;
  }
  .qg-dashboard__crop {
    height: 300px;
  }
  .qg-dashboard__crop img {
    width: 200%;
    margin-left: -25%;
  }
  .qg-dashboard figcaption {
    font-size: 10px;
  }
  .qg-connect {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-block: 88px;
  }
  .qg-network {
    padding: 16px 0;
  }
  .qg-network__row {
    gap: 8px;
  }
  .qg-network__row > span {
    font-size: 10px;
  }
  .qg-network__core {
    padding: 24px 16px;
  }
  .qg-section-heading {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 36px;
  }
  .qg-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .qg-feature__visual {
    height: 220px;
    margin: 24px 24px 0;
  }
  .qg-feature h3 {
    font-size: 29px;
  }
  .qg-feature__copy > p:not(.qg-label) {
    font-size: 15px;
  }
  .qg-outcomes {
    padding-block: 88px;
  }
  .qg-outcomes > div {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-top: 36px;
  }
  .qg-outcomes article {
    padding-left: 20px;
  }
  .qg-outcomes__number {
    margin-bottom: 16px;
  }
  .qg-next {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-bottom: 72px;
  }
  .qg-next > img {
    height: 340px;
  }
  .qg-closing {
    padding-block: 48px 88px;
  }
}
@media (max-width: 360px) {
  .q-gateway .q-nav__contact {
    font-size: 11px;
    padding: 9px 12px;
  }
  .q-gateway .q-brand > span {
    font-size: 23px;
  }
  .qg-hero h1 {
    font-size: 36px;
  }
  .qg-feature__visual {
    height: 190px;
  }
}

.q-gateway .q-home-footer__links h2 {
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0;
  text-wrap: initial;
}

/* Platform overview, AI OS structure: layer stack, ways in, advantages, enterprise sequence. */
.qo-stack {
  padding-block: 150px 40px;
}
.qo-stack__frame {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 48px;
  align-items: stretch;
  padding: clamp(20px, 3vw, 40px);
  border-radius: 12px;
  background:
    linear-gradient(160deg, #0b0c0d00 30%, #0b0c0dcc),
    url('/marketing/platform-landscape-v7.webp') center / cover;
}
.qo-stack__board {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid #ffffff1f;
  border-radius: 12px;
  background: #0b0c0dad;
  backdrop-filter: blur(10px);
}
.qo-stack__crown {
  justify-self: center;
  margin-bottom: 6px;
  padding: 6px 14px;
  border: 1px solid #ffffff29;
  border-radius: 999px;
  font-size: 12px;
  color: var(--q-secondary);
}
.qo-stack__base {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.qo-layer {
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid #ffffff1f;
  border-radius: 8px;
  background: #ffffff08;
  color: var(--q-muted);
  font: 15px/1.2 var(--q-body);
  cursor: pointer;
  transition:
    background-color 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease;
}
.qo-layer:hover {
  color: var(--q-ink);
  border-color: #ffffff3d;
}
.qo-layer[aria-selected='true'] {
  color: var(--q-ink);
  border-color: #81b4ef;
  background: #2a4bd733;
}
.qo-layer:focus-visible,
.qo-stack__panel:focus-visible {
  outline: 2px solid var(--q-accent);
  outline-offset: 3px;
}
.qo-stack__panels {
  display: grid;
  align-content: end;
}
.qo-stack__panel {
  grid-area: 1 / 1;
  animation: qo-panel-in 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
.qo-stack__panel h3 {
  font-size: clamp(28px, 2.6vw, 38px);
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.qo-stack__panel > p {
  max-width: 42ch;
  margin-block: 18px 22px;
  font-size: 16px;
  line-height: 1.6;
  color: #dfe3e7;
}
@keyframes qo-panel-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
}

.qo-ways {
  padding-block: 120px 40px;
}
.qo-ways__list {
  display: grid;
  gap: 12px;
}
.qo-way {
  position: relative;
  isolation: isolate;
  display: grid;
  justify-items: center;
  align-content: end;
  gap: 10px;
  min-height: 300px;
  padding: 40px 24px;
  overflow: hidden;
  border-radius: 12px;
  text-align: center;
}
.qo-way > img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.qo-way::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: #0b0c0d59;
}
.qo-way:hover > img {
  transform: scale(1.04);
}
.qo-way__brand {
  font-family: var(--q-display);
  font-size: 15px;
  color: #ffffffb3;
}
.qo-way > strong {
  font: 400 clamp(32px, 3.4vw, 48px)/1.05 var(--q-display);
  letter-spacing: -0.035em;
}
.qo-way__description {
  max-width: 34ch;
  font-size: 15px;
  line-height: 1.5;
  color: #e6e9ec;
}
.qo-way__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  padding: 10px 18px;
  border-radius: 999px;
  background: #f4f5f5;
  color: #101316;
  font-size: 14px;
}
.qo-way__cta svg {
  width: 16px;
  height: 16px;
  transition: transform 0.25s ease;
}
.qo-way:hover .qo-way__cta svg {
  transform: translateX(3px);
}

.qo-advantages {
  padding-block: 88px;
}
.qo-advantages__intro {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: end;
  margin-bottom: 40px;
}
.qo-advantages__intro > p {
  margin-top: 0;
  font-size: 17px;
  line-height: 1.6;
  color: var(--q-secondary);
}
.qo-advantages__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-block: 1px solid var(--q-line);
}
.qo-advantages__grid article {
  padding: 32px;
}
.qo-advantages__grid article:first-child {
  padding-left: 0;
}
.qo-advantages__grid article:last-child {
  padding-right: 0;
}
.qo-advantages__grid article + article {
  border-left: 1px solid var(--q-line);
}
.qo-advantages__icon svg {
  width: 26px;
  height: 26px;
  color: var(--q-accent);
}
.qo-advantages h3 {
  margin-top: 28px;
  font-size: 23px;
  letter-spacing: -0.02em;
}
.qo-advantages article p {
  max-width: 46ch;
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--q-secondary);
}

@media (max-width: 1000px) {
  .qo-stack__frame {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 760px) {
  .qo-stack {
    padding-top: 96px;
  }
  .qo-stack__frame {
    padding: 12px;
  }
  .qo-stack__base {
    grid-template-columns: 1fr;
  }
  .qo-stack__panel {
    padding: 8px 6px 12px;
  }
  .qo-ways,
  .qo-advantages {
    padding-block: 80px 24px;
  }
  .qo-way {
    min-height: 240px;
  }
  .qo-advantages__grid {
    grid-template-columns: 1fr;
  }
  .qo-advantages__intro {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .qo-advantages__grid article {
    padding: 28px 0;
  }
  .qo-advantages__grid article + article {
    border-left: 0;
    border-top: 1px solid var(--q-line);
  }
  .qg-feature--usage {
    grid-template-columns: 1fr;
  }
  .qg-feature--usage .qg-feature__visual {
    min-height: 0;
    padding: 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .qo-stack__panel {
    animation: none;
  }
  .qo-layer,
  .qo-way > img,
  .qo-way__cta svg {
    transition: none;
  }
  .qo-way:hover > img {
    transform: none;
  }
}

/* Leave room for the floating navigation when linking to a platform layer. */
.qo-layer {
  scroll-margin-top: 150px;
}

/* The platform headline shares the homepage's character-reel entrance. */
.qg-hero .iq-w,
.qg-hero .iq-w__copy {
  height: 1.15em;
  line-height: 1.15;
}
.qg-hero .iq-word { display: inline-block; white-space: nowrap; }
.qg-hero .iq-w__copy { overflow: clip; }
.qg-hero .iq-hero__line { white-space: normal; }
/* Rest at the first identical copy after the entrance; never retain an offset. */
.qg-hero .iq-w__reel { transform: none; }
