/*
 * Quark 2 — user customizations
 *
 * This file is safe to edit. It is loaded last so anything here overrides
 * theme.css without having to mark rules !important.
 */

:root {
  --tlabs-surface: #ffffff;
  --tlabs-surface-alt: #f6f8fc;
  --tlabs-border: rgba(14, 22, 39, 0.08);
  --tlabs-border-strong: rgba(255, 255, 255, 0.14);
  --tlabs-text-soft: #5b6475;
  --tlabs-shadow: 0 24px 60px rgba(19, 34, 66, 0.08);
  --tlabs-shadow-strong: 0 32px 80px rgba(8, 18, 38, 0.26);
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--tlabs-surface);
}

#start [id] {
  scroll-margin-top: 5.5rem;
}

.tlabs-homepage #header {
  position: fixed;
  inset: 0 0 auto 0;
  width: 100%;
}

.tlabs-homepage #start {
  padding-top: 0;
}

.brand-wordmark {
  display: inline-flex;
  align-items: center;
  letter-spacing: -0.04em;
}

body.header-transparent #header .navbar-brand,
body.header-transparent #header .dropmenu a,
body.header-transparent #header .theme-toggle {
  color: rgba(255, 255, 255, 0.94);
}

body.header-transparent #header .dropmenu a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

body.header-transparent #header {
  background: rgba(6, 12, 23, 0.14);
  backdrop-filter: saturate(150%) blur(12px);
  -webkit-backdrop-filter: saturate(150%) blur(12px);
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

body.header-transparent:not(.scrolled) #header .dropmenu a.active {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

body.header-transparent:not(.scrolled) #header .dropmenu a.active:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

body.header-transparent.scrolled #header .navbar-brand,
body.header-transparent.scrolled #header .dropmenu a,
body.header-transparent.scrolled #header .theme-toggle {
  color: var(--q2-text-strong);
}

body.header-transparent.scrolled #header .dropmenu a:hover {
  background: var(--q2-bg-muted);
}

.tlabs-hero {
  position: relative;
  overflow: hidden;
  margin-top: -75px;
  min-height: min(92vh, 960px);
  padding: calc(clamp(3rem, 7vw, 5rem) + 75px) 0 clamp(9rem, 12vw, 10rem);
  display: flex;
  align-items: center;
  color: #ffffff;
  background:
    radial-gradient(circle at 14% 18%, rgba(147, 188, 255, 0.58), transparent 26%),
    radial-gradient(circle at 78% 22%, rgba(102, 142, 255, 0.34), transparent 24%),
    radial-gradient(circle at 64% 78%, rgba(82, 122, 255, 0.18), transparent 18%),
    radial-gradient(circle at 82% 86%, rgba(255, 255, 255, 0.12), transparent 18%),
    radial-gradient(circle at 34% 62%, rgba(111, 164, 255, 0.22), transparent 26%),
    radial-gradient(circle at 88% 12%, rgba(255, 255, 255, 0.08), transparent 14%),
    linear-gradient(135deg, #050b18 0%, #0c1730 40%, #13274b 74%, #0b1427 100%);
}

.tlabs-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 11, 24, 0.1) 0%, rgba(5, 11, 24, 0.44) 100%),
    radial-gradient(circle at 0% 0%, rgba(255, 255, 255, 0.16), transparent 36%),
    radial-gradient(circle at 68% 38%, rgba(180, 211, 255, 0.1), transparent 20%),
    repeating-linear-gradient(
      115deg,
      rgba(255, 255, 255, 0.04) 0,
      rgba(255, 255, 255, 0.04) 1px,
      transparent 1px,
      transparent 18px
    );
  z-index: 0;
  pointer-events: none;
}

.tlabs-hero .container {
  position: relative;
  z-index: 1;
}

.tlabs-hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.tlabs-hero__copy {
  max-width: 42rem;
}

.tlabs-hero h1 {
  max-width: 12ch;
  margin-bottom: 1.1rem;
  font-size: clamp(2rem, 4.9vw, 4.15rem);
  line-height: 0.96;
  letter-spacing: -0.02em;
  color: #ffffff;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: manual;
}

.tlabs-hero .lead {
  max-width: 34rem;
  margin: 0;
  font-size: clamp(1.06rem, 2vw, 1.28rem);
  line-height: 1.65;
  color: rgba(231, 237, 249, 0.82);
}

.tlabs-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.75rem;
}

.tlabs-hero__actions .btn {
  box-shadow: 0 18px 40px rgba(132, 40, 223, 0.35);
}

.tlabs-hero__link {
  display: inline-flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 600;
  text-decoration: none;
}

.tlabs-hero__link:hover {
  color: #ffffff;
}

.tlabs-hero__trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.tlabs-hero__trust li {
  list-style: none;
  padding: 1rem 1rem 1.05rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.tlabs-hero__trust strong,
.tlabs-metric strong {
  display: block;
  margin-bottom: 0.2rem;
  font-family: "Cal Sans", sans-serif;
  font-size: 1.45rem;
  line-height: 1;
  letter-spacing: -0.04em;
}

.tlabs-hero__trust li strong {
  color: #eee;
}

.tlabs-hero__trust span {
  display: block;
  font-size: 0.9rem;
  line-height: 1.35;
  color: rgba(225, 232, 245, 0.74);
}

.tlabs-hero__visual {
  position: relative;
  min-height: 32.5rem;
}

.tlabs-hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(8px);
  opacity: 0.9;
}

.tlabs-hero__orb--one {
  inset: 1rem auto auto 2rem;
  width: 10rem;
  height: 10rem;
  background: radial-gradient(circle, rgba(179, 210, 255, 0.94) 0%, rgba(179, 210, 255, 0) 70%);
}

.tlabs-hero__orb--two {
  inset: auto 2rem 1rem auto;
  width: 13rem;
  height: 13rem;
  background: radial-gradient(circle, rgba(116, 160, 255, 0.5) 0%, rgba(116, 160, 255, 0) 72%);
}

.tlabs-hero__panel {
  position: absolute;
  inset: 2rem 1rem 7rem 3rem;
  padding: 2rem;
  border-radius: 1.75rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.05)),
    rgba(11, 20, 39, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--tlabs-shadow-strong);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.tlabs-hero__panel-line {
  height: 0.8rem;
  margin-bottom: 0.8rem;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.9), rgba(174, 206, 255, 0.28));
}

.tlabs-hero__panel-line--strong {
  width: 72%;
}

.tlabs-hero__panel-line--short {
  width: 44%;
}

.tlabs-hero__panel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 2.5rem;
}

.tlabs-hero__panel-grid span {
  display: block;
  aspect-ratio: 1;
  border-radius: 1.3rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04)),
    rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.tlabs-home section {
  padding-block: clamp(4rem, 9vw, 7rem);
}

.tlabs-home section:first-child {
  padding-top: clamp(3.5rem, 8vw, 5rem);
}

.tlabs-home__intro,
.tlabs-home__section,
.tlabs-contact {
  max-width: 76rem;
  margin-inline: auto;
}

.tlabs-home__intro {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(18rem, 0.85fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: start;
  position: relative;
  z-index: 2;
  margin-top: clamp(-10rem, -10vw, -10rem);
  padding: clamp(1.75rem, 4vw, 2.5rem);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(14, 22, 39, 0.08);
  box-shadow: 0 32px 90px rgba(12, 25, 53, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.tlabs-home__eyebrow,
.tlabs-home__section-label {
  display: inline-flex;
  margin-bottom: 0.85rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--q2-accent);
}

.tlabs-home h2 {
  margin-bottom: 1rem;
  font-size: clamp(1.4rem, 2.8vw, 2.4rem);
  letter-spacing: -0.02em;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: manual;
}

.tlabs-home h3,
.tlabs-contact h2,
.tlabs-footer__wordmark {
  word-break: normal;
  overflow-wrap: normal;
  hyphens: manual;
}

.tlabs-home__intro p,
.tlabs-home__section p,
.tlabs-card p,
.tlabs-contact p {
  color: var(--tlabs-text-soft);
  font-size: 1rem;
  line-height: 1.72;
}

.tlabs-home__lead {
  font-size: 1.12rem;
}

.tlabs-metrics {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.tlabs-metric {
  padding: 1.15rem 1.25rem;
  border-radius: 1.15rem;
  background: var(--tlabs-surface-alt);
  border: 1px solid var(--tlabs-border);
  box-shadow: var(--tlabs-shadow);
}

.tlabs-metric span {
  color: var(--tlabs-text-soft);
  font-size: 0.92rem;
}

.tlabs-surface {
  background: linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
}

.tlabs-section-grid,
.tlabs-proof-grid,
.tlabs-case-grid {
  display: grid;
  gap: 1.15rem;
}

.tlabs-section-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tlabs-proof-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tlabs-case-grid {
  grid-template-columns: 1.2fr 1fr 1fr;
}

.tlabs-card,
.tlabs-case,
.tlabs-partner {
  padding: 1.45rem;
  border-radius: 1.35rem;
  background: #ffffff;
  border: 1px solid var(--tlabs-border);
  box-shadow: var(--tlabs-shadow);
}

.tlabs-partner {
  background:
    linear-gradient(180deg, rgba(15, 25, 48, 0.98), rgba(21, 36, 68, 0.96)),
    #10192c;
  border-color: var(--tlabs-border-strong);
  color: #ffffff;
}

.tlabs-partner p,
.tlabs-partner li,
.tlabs-partner h3 {
  color: inherit;
}

.tlabs-card h3,
.tlabs-case h3,
.tlabs-partner h3,
.tlabs-contact h2,
.tlabs-footer__wordmark {
  margin-bottom: 0.6rem;
  font-size: 1.4rem;
  letter-spacing: -0.04em;
}

.tlabs-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin-right: 0.55rem;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(132, 40, 223, 0.1), rgba(70, 122, 255, 0.16));
  color: color-mix(in oklab, var(--q2-accent) 72%, #1b4dff 28%);
  vertical-align: -0.35rem;
  box-shadow: inset 0 0 0 1px rgba(132, 40, 223, 0.08);
}

.tlabs-partner .tlabs-card__icon {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.tlabs-home ul,
.tlabs-contact ul,
.tlabs-footer ul {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.tlabs-card li,
.tlabs-case li,
.tlabs-partner li,
.tlabs-contact li {
  color: var(--tlabs-text-soft);
  line-height: 1.65;
  padding-left: 0;
}

.tlabs-partner li {
  color: rgba(232, 238, 248, 0.82);
}

.tlabs-contact {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(18rem, 0.95fr);
  gap: 1.5rem;
  align-items: stretch;
  padding: clamp(2rem, 5vw, 3rem);
  border-radius: 2rem;
  background:
    linear-gradient(180deg, #f8fbff 0%, #eef4ff 100%);
  border: 1px solid rgba(132, 40, 223, 0.12);
  box-shadow: var(--tlabs-shadow);
}

.tlabs-contact__panel {
  padding: 1.4rem;
  border-radius: 1.4rem;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(14, 22, 39, 0.08);
}

.tlabs-contact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.4rem;
}

.tlabs-contact__meta {
  margin-top: 1.1rem;
  color: var(--tlabs-text-soft);
  font-size: 0.92rem;
}

.tlabs-footer {
  background: #ffffff;
  border-top: 1px solid var(--tlabs-border);
  padding-bottom: 0;
}

.tlabs-footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
  gap: 1.5rem;
  align-items: start;
}

.tlabs-footer__wordmark,
.tlabs-footer__heading {
  font-family: "Cal Sans", sans-serif;
}

.tlabs-footer__heading {
  margin-bottom: 0.65rem;
  font-size: 1rem;
  color: var(--q2-text-strong);
}

.tlabs-footer__brand p:last-child,
.tlabs-footer__links a {
  color: var(--tlabs-text-soft);
}

.tlabs-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.tlabs-footer__links li {
  list-style: none;
}

.tlabs-footer__links li + li {
  margin-top: 0.4rem;
}

.tlabs-footer__links a:hover {
  color: var(--q2-text-strong);
}

.tlabs-footer__bottom {
  margin-top: 2rem;
  background: linear-gradient(180deg, #eef3fb 0%, #e5edf9 100%);
  border-top: 1px solid rgba(14, 22, 39, 0.08);
}

.tlabs-footer__bottom-inner {
  padding-block: 0.95rem;
}

.tlabs-footer__bottom p {
  margin: 0;
  color: #5f697b;
  font-size: 0.92rem;
  line-height: 1.5;
}

@media (max-width: 960px) {
  .tlabs-hero__layout,
  .tlabs-home__intro,
  .tlabs-contact,
  .tlabs-case-grid,
  .tlabs-footer__grid {
    grid-template-columns: 1fr;
  }

  .tlabs-section-grid,
  .tlabs-proof-grid,
  .tlabs-metrics,
  .tlabs-hero__trust {
    grid-template-columns: 1fr 1fr;
  }

  .tlabs-hero__visual {
    min-height: 18rem;
  }
}

@media (max-width: 720px) {
  .tlabs-hero {
    margin-top: 0;
    min-height: auto;
    padding-top: 8rem;
    padding-bottom: 5rem;
  }

  .tlabs-hero h1 {
    max-width: none;
  }

  .tlabs-section-grid,
  .tlabs-proof-grid,
  .tlabs-metrics,
  .tlabs-hero__trust,
  .tlabs-hero__panel-grid {
    grid-template-columns: 1fr;
  }

  .tlabs-hero__panel {
    inset: 1rem 0 0;
  }

  .tlabs-contact {
    padding: 1.5rem;
  }

  .tlabs-home__intro {
    margin-top: -3.5rem;
    padding: 1.5rem;
    border-radius: 1.5rem;
  }
}
