/* Shared marketing page styles. */
.q-site {
  --q-bg: #f4f5f6;
  --q-panel: #eaecef;
  --q-ink: #0d0f12;
  --q-secondary: #3d434c;
  --q-muted: #677080;
  --q-line: #d5d9df;
  --q-accent: #2a4bd7;
  --q-tint: #e1e6fa;
  --q-body: 'Alliance No.1', Arial, sans-serif;
  --q-display: 'Alliance No.2', 'Alliance No.1', Arial, sans-serif;
  --q-label: var(--q-display);
  color: var(--q-ink);
  background: var(--q-bg);
  font-family: var(--q-body);
  font-size: 16px;
  line-height: 1.5;
  overflow: clip;
}
.q-site *,
.q-site *::before,
.q-site *::after {
  box-sizing: border-box;
}
.q-site h1,
.q-site h2,
.q-site h3,
.q-site p,
.q-site figure {
  margin: 0;
  font-weight: 400;
}
.q-site h1,
.q-site h2,
.q-site h3 {
  font-family: var(--q-display);
}
.q-site a {
  color: inherit;
  text-decoration: none;
}
.q-site button,
.q-site summary {
  font: inherit;
}
.q-site button {
  cursor: pointer;
}
.q-site [hidden] {
  display: none !important;
}
.q-site [id] {
  scroll-margin-top: 110px;
}
.q-site a:focus-visible,
.q-site button:focus-visible,
.q-site summary:focus-visible,
.q-site [tabindex]:focus-visible {
  outline: 2px solid #5470e8;
  outline-offset: 5px;
}
.q-container {
  width: calc(100% - 120px);
  max-width: 1580px;
  margin: 0 auto;
}
.q-skip {
  position: fixed;
  left: 20px;
  top: -80px;
  z-index: 300;
  background: var(--q-bg);
  color: var(--q-ink) !important;
  padding: 15px;
}
.q-skip:focus {
  top: 15px;
}
.q-nav {
  display: flex;
  align-items: center;
  gap: 60px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 84px;
  padding: 0 30px;
  color: #eceef2;
}
.q-nav[data-scrolled],
.q-nav:has(details[open]) {
  color: var(--q-ink);
  background: var(--q-bg);
  border-bottom: 1px solid var(--q-line);
}
.q-site .q-nav a {
  transition: none;
}
.q-brand {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  flex-shrink: 0;
}
.q-brand > svg {
  width: 33px;
  height: 38px;
}
.q-brand > span {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 27px;
  letter-spacing: -0.02em;
}
.q-brand small {
  font-size: 10px;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.q-nav__desktop {
  display: flex;
  align-items: center;
  gap: 38px;
  font-size: 16px;
}
.q-nav summary {
  cursor: pointer;
  list-style: none;
}
.q-nav summary::-webkit-details-marker {
  display: none;
}
.q-nav__platform summary {
  display: flex;
  gap: 9px;
  align-items: center;
  padding: 25px 0;
}
.q-nav__menu {
  position: absolute;
  top: 84px;
  left: 0;
  right: 0;
  padding: 32px max(5%, calc((100vw - 1500px) / 2));
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  background: var(--q-bg);
  border-bottom: 1px solid var(--q-line);
  border-top: 1px solid var(--q-line);
}
.q-nav__menu a {
  padding: 20px;
}
.q-nav__menu a:hover {
  background: var(--q-panel);
}
.q-nav__menu strong {
  display: block;
  font-weight: 400;
  font-size: 20px;
}
.q-nav__menu a > span {
  display: block;
  margin-top: 5px;
  color: var(--q-muted);
  font-size: 14px;
}
.q-nav__contact {
  margin-left: auto;
  border: 1px solid #eceef2;
  background: #eceef2;
  color: #0d0f12 !important;
  padding: 12px 22px;
  font-size: 14px;
}
.q-nav[data-scrolled] .q-nav__contact,
.q-nav:has(details[open]) .q-nav__contact {
  background: var(--q-accent);
  color: #fff !important;
  border-color: var(--q-accent);
}
.q-nav__mobile {
  display: none;
}
.q-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  background: var(--q-accent);
  color: #fff !important;
  border: 1px solid var(--q-accent);
  padding: 16px 24px;
  font-size: 15px;
  line-height: 1.4;
  transition: background 0.2s;
}
.q-button svg,
.q-text-link svg {
  width: 19px;
  height: 19px;
  flex-shrink: 0;
  transition: transform 0.2s;
}
.q-button--outline {
  background: transparent;
  border-color: currentColor;
  color: inherit !important;
}
.q-button:hover {
  background: #203bb0;
}
.q-button--outline:hover {
  background: #67708014;
}
.q-button:hover svg,
.q-text-link:hover svg {
  transform: translateX(4px);
}
.q-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
}
.q-text-link {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  padding: 8px 0;
  font-size: 15px;
  border-bottom: 1px solid var(--q-accent);
}
.q-text-link svg {
  color: var(--q-accent);
}
.q-closing {
  padding: 120px 0;
  background: #0d0f12;
  color: #eceef2;
  border-bottom: 1px solid #242931;
  border-top: 1px solid #242931;
}
.q-closing .q-container {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 15%;
}
.q-closing h2 {
  font-size: clamp(40px, 4vw, 68px);
  letter-spacing: -0.05em;
  line-height: 1.1;
  max-width: 640px;
}
.q-closing p {
  font-size: 21px;
  line-height: 1.5;
  max-width: 410px;
  margin-bottom: 28px;
  color: #b3b9c3;
}
.q-footer {
  padding: 90px 0 0;
  background: #0d0f12;
  color: #b3b9c3;
  overflow: hidden;
}
.q-footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 0.7fr;
  gap: 65px;
}
.q-footer h2 {
  font: 10px/1.5 var(--q-label);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 23px;
  color: #8a919c;
}
.q-footer__grid > div > a:not(.q-brand):not(.q-button) {
  display: block;
  font-size: 15px;
  padding: 5px 0;
}
.q-footer__grid > div > a:hover {
  color: #eceef2;
}
.q-footer .q-brand {
  color: #eceef2;
}
.q-footer__grid p {
  font-size: 19px;
  line-height: 1.4;
  margin: 24px 0;
}
.q-footer__bottom {
  font: 10px/1.5 var(--q-label);
  color: #8a919c;
  margin-top: 75px;
}
.q-footer__wordmark {
  font-size: min(25vw, 450px);
  line-height: 0.8;
  letter-spacing: -0.08em;
  color: #242931;
  margin: 60px 3% -2vw;
  user-select: none;
}

@media (max-width: 1100px) {
  .q-container {
    width: calc(100% - 70px);
  }
  .q-nav {
    gap: 35px;
  }
  .q-brand small {
    display: none;
  }
  .q-nav__desktop {
    gap: 26px;
  }
  .q-footer__grid {
    gap: 35px;
  }
}
@media (max-width: 760px) {
  .q-container {
    width: calc(100% - 40px);
  }
  .q-nav {
    height: 74px;
    padding: 0 20px;
    gap: 18px;
  }
  .q-brand > span {
    font-size: 25px;
  }
  .q-brand > svg {
    width: 25px;
    height: 30px;
  }
  .q-nav__desktop {
    display: none;
  }
  .q-nav__contact {
    font-size: 12px;
    padding: 9px 14px;
  }
  .q-nav__mobile {
    display: block;
  }
  .q-nav__mobile summary {
    width: 30px;
    height: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
  }
  .q-nav__mobile summary > span {
    width: 22px;
    height: 1px;
    background: currentColor;
  }
  .q-nav__mobile[open] summary > span:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }
  .q-nav__mobile[open] summary > span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
  }
  .q-nav__mobile nav {
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    background: var(--q-bg);
    padding: 15px 25px 25px;
    max-height: calc(100svh - 74px);
    overflow-y: auto;
    border-bottom: 1px solid var(--q-line);
  }
  .q-nav__mobile nav a {
    display: flex;
    justify-content: space-between;
    padding: 14px 0;
    font-size: 17px;
    border-bottom: 1px solid var(--q-line);
  }
  .q-nav__mobile nav svg {
    width: 19px;
    height: 19px;
  }
  .q-closing {
    padding: 75px 0;
  }
  .q-closing .q-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .q-closing p {
    font-size: 18px;
  }
  .q-footer {
    padding-top: 65px;
  }
  .q-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 45px 25px;
  }
  .q-footer__grid > div:first-child {
    grid-column: 1 / -1;
  }
  .q-footer__grid > div > a:not(.q-brand):not(.q-button) {
    font-size: 14px;
  }
  .q-footer__wordmark {
    margin-top: 50px;
  }
  .q-footer__bottom {
    margin-top: 50px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .q-site *,
  .q-site *::before,
  .q-site *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}
