:root {
  --qry-bg: #07090d;
  --qry-bg-soft: #0b1017;
  --qry-surface: rgba(14, 19, 28, 0.84);
  --qry-surface-strong: #0e141e;
  --qry-line: rgba(255, 255, 255, 0.1);
  --qry-line-strong: rgba(255, 255, 255, 0.16);
  --qry-text: #f3f7fb;
  --qry-muted: #a7b2c1;
  --qry-cyan: #00e5d5;
  --qry-blue: #29abff;
  --qry-violet: #765cff;
  --qry-purple: #b15bff;
  --bs-body-bg: var(--qry-bg);
  --bs-body-color: var(--qry-text);
  --bs-secondary-color: var(--qry-muted);
  --bs-border-color: var(--qry-line);
  --bs-primary: #16cbe0;
  --bs-primary-rgb: 22, 203, 224;
  --bs-link-color: #d7faff;
  --bs-link-hover-color: #ffffff;
  --bs-font-sans-serif: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 7.5rem;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 82% 10%, rgba(118, 92, 255, 0.14), transparent 30rem),
    radial-gradient(circle at 14% 16%, rgba(0, 229, 213, 0.09), transparent 25rem),
    linear-gradient(180deg, #07090d, #080b11 40%, #07090d 100%);
  color: var(--qry-text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  z-index: -2;
  inset: 0;
  content: "";
  pointer-events: none;
  opacity: 0.24;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: linear-gradient(to bottom, #000, transparent 80%);
}

body::after {
  position: fixed;
  z-index: -1;
  inset: -18%;
  content: "";
  pointer-events: none;
  opacity: 0.42;
  background:
    radial-gradient(circle at 14% 20%, rgba(0, 153, 145, 0.16), transparent 29rem),
    radial-gradient(circle at 86% 48%, rgba(32, 102, 170, 0.15), transparent 32rem),
    radial-gradient(circle at 44% 84%, rgba(78, 57, 155, 0.18), transparent 34rem);
  transform: translate3d(0, var(--ambient-shift, 0), 0) scale(1.1);
  filter: hue-rotate(var(--ambient-hue, 0deg));
  will-change: transform, filter;
}

a {
  text-underline-offset: 0.18em;
}

.skip-link {
  position: fixed;
  z-index: 2000;
  top: 1rem;
  left: 1rem;
  padding: 0.8rem 1rem;
  border-radius: 0.75rem;
  background: #fff;
  color: #090d13;
}

.site-header {
  padding: 1.25rem 0;
  pointer-events: none;
  transition: padding 0.25s ease;
}

.site-header .navbar {
  padding: 0;
  pointer-events: auto;
}

.navbar-shell {
  min-height: 4.75rem;
  padding: 0.65rem 1rem;
  border: 1px solid transparent;
  border-radius: 1.25rem;
  transition: background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  padding-top: 0.7rem;
}

.site-header.is-scrolled .navbar-shell,
.site-header:has(.navbar-collapse.show) .navbar-shell,
.site-header:has(.navbar-collapse.collapsing) .navbar-shell {
  border-color: var(--qry-line);
  background: rgba(7, 10, 15, 0.9);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(20px);
}

.navbar-brand {
  display: grid;
  width: 5.6rem;
  height: 3.5rem;
  padding: 0;
  place-items: center;
}

.navbar-brand img,
.footer-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.navbar .nav-link {
  padding: 0.55rem 0.8rem !important;
  border-radius: 0.75rem;
  color: #bec8d5;
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus-visible {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.navbar-toggler {
  border-color: var(--qry-line-strong);
  padding: 0.55rem 0.65rem;
}

.lang-switch {
  padding: 0.2rem;
  border: 1px solid var(--qry-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
}

.lang-btn {
  min-width: 3rem;
  border: 0;
  border-radius: 999px !important;
  color: var(--qry-muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.lang-btn:hover,
.lang-btn:focus-visible {
  color: #fff;
}

.lang-btn.active {
  background: linear-gradient(135deg, var(--qry-cyan), var(--qry-blue));
  color: #041015;
  box-shadow: 0 0 24px rgba(0, 229, 213, 0.18);
}

.btn {
  --bs-btn-font-weight: 700;
}

.btn-primary {
  --bs-btn-color: #031014;
  --bs-btn-bg: #16d5dd;
  --bs-btn-border-color: #16d5dd;
  --bs-btn-hover-color: #02090c;
  --bs-btn-hover-bg: #67ebef;
  --bs-btn-hover-border-color: #67ebef;
  --bs-btn-focus-shadow-rgb: 22, 213, 221;
  --bs-btn-active-color: #02090c;
  --bs-btn-active-bg: #8ef0f3;
  --bs-btn-active-border-color: #8ef0f3;
  box-shadow: 0 12px 35px rgba(0, 220, 216, 0.16);
}

.btn-outline-brand {
  --bs-btn-color: #f2fbff;
  --bs-btn-border-color: rgba(0, 229, 213, 0.32);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: rgba(0, 229, 213, 0.09);
  --bs-btn-hover-border-color: rgba(0, 229, 213, 0.65);
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: rgba(0, 229, 213, 0.14);
  --bs-btn-active-border-color: rgba(0, 229, 213, 0.72);
}

.hero {
  min-height: 100vh;
  padding-top: 9.5rem;
  padding-bottom: 6rem;
}

.hero h1 {
  max-width: 100%;
  font-size: clamp(3.1rem, 5.1vw, 5.25rem);
  line-height: 1.01;
  letter-spacing: -0.062em;
  overflow: visible;
  text-wrap: balance;
}

.hero-title-line {
  display: inline;
}

.hero-title-line:not(:last-child)::after {
  content: " ";
}

@media (min-width: 1200px) {
  .hero-title-line {
    display: block;
    width: max-content;
    padding-inline-end: 0.14em;
  }

  .hero-title-line:not(:last-child)::after {
    content: none;
  }
}

@media (min-width: 992px) {
  .hero h1 {
    width: calc(100% + 0.06em);
    max-width: calc(100% + 0.06em);
    padding-inline-end: 0.06em;
  }
}

@media (min-width: 1400px) {
  .hero h1 {
    width: calc(100% + 0.12em);
    max-width: calc(100% + 0.12em);
    padding-inline-end: 0.12em;
  }
}

.hero .lead {
  max-width: 42rem;
  font-size: clamp(1.05rem, 1.4vw, 1.22rem);
}

.eyebrow,
.card-index {
  color: #79ebe4;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  display: inline-block;
  width: 1.65rem;
  height: 1px;
  margin-right: 0.65rem;
  background: linear-gradient(90deg, var(--qry-cyan), var(--qry-violet));
  content: "";
  vertical-align: middle;
}

.gradient-text {
  color: transparent;
  background: linear-gradient(90deg, #b8fff8, #b6eaff 45%, #ae8bff 82%, #d47aff);
  background-clip: text;
  box-decoration-break: clone;
  -webkit-background-clip: text;
  -webkit-box-decoration-break: clone;
}

.card {
  --bs-card-bg: var(--qry-surface);
  --bs-card-border-color: var(--qry-line);
  border-radius: 1.4rem;
  box-shadow: 0 24px 75px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(10px);
}

.hero-card {
  position: relative;
  border-color: rgba(109, 187, 255, 0.15);
  background:
    radial-gradient(circle at 50% 24%, rgba(0, 229, 213, 0.12), transparent 24rem),
    linear-gradient(145deg, rgba(13, 23, 30, 0.95), rgba(10, 11, 24, 0.94));
}

.hero-card::before {
  position: absolute;
  inset: -30% 10% auto;
  height: 18rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(41, 171, 255, 0.16), transparent 68%);
  content: "";
  filter: blur(18px);
  pointer-events: none;
}

.logo-stage {
  position: relative;
  z-index: 1;
  min-height: 24rem;
}

.hero-logo {
  width: min(100%, 31rem);
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: contain;
  filter: drop-shadow(0 20px 28px rgba(0, 0, 0, 0.4));
}

.hero-metric + .hero-metric {
  border-left: 1px solid var(--qry-line);
}

.hero-metric strong {
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.proof-strip {
  border-color: var(--qry-line) !important;
  background: rgba(255, 255, 255, 0.018);
  font-size: 0.9rem;
}

section:not(.hero) {
  padding: clamp(5.5rem, 9vw, 8.5rem) 0;
}

.section-alt {
  border-top: 1px solid var(--qry-line);
  border-bottom: 1px solid var(--qry-line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.018), rgba(255, 255, 255, 0.008));
}

.display-5 {
  max-width: 21ch;
  letter-spacing: -0.045em;
}

.feature-card,
.step-card {
  transition: transform 0.24s ease, border-color 0.24s ease, background-color 0.24s ease;
}

.feature-card:hover,
.step-card:hover {
  transform: translateY(-0.35rem);
  border-color: rgba(0, 229, 213, 0.28);
  background: rgba(16, 23, 33, 0.95);
}

.callout {
  padding: 1rem 1.1rem;
  border: 1px solid rgba(0, 229, 213, 0.18);
  border-left: 3px solid var(--qry-cyan);
  border-radius: 0 1rem 1rem 0;
  background: rgba(0, 229, 213, 0.055);
  color: #d9fffb;
}

.flow-list {
  --bs-list-group-bg: rgba(10, 15, 23, 0.68);
  --bs-list-group-border-color: var(--qry-line);
  border-radius: 1.4rem;
  overflow: hidden;
  box-shadow: 0 24px 75px rgba(0, 0, 0, 0.2);
}

.flow-list .list-group-item {
  align-items: flex-start;
}

.flow-number {
  display: grid;
  flex: 0 0 2.6rem;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid rgba(0, 229, 213, 0.25);
  border-radius: 50%;
  color: #91fff7;
  font-size: 0.78rem;
  font-weight: 800;
  place-items: center;
}

.step-icon {
  display: grid;
  width: 3.25rem;
  height: 3.25rem;
  border: 1px solid rgba(0, 229, 213, 0.22);
  border-radius: 1rem;
  background: linear-gradient(145deg, rgba(0, 229, 213, 0.1), rgba(118, 92, 255, 0.1));
  color: #b3fff9;
  font-size: 1.45rem;
  place-items: center;
}

.tech-card dt {
  margin-bottom: 0.25rem;
  color: #e9ffff;
}

.tech-card dd {
  margin-bottom: 0;
  color: var(--qry-muted);
}

.tech-item {
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--qry-line);
}

.tech-item:first-child {
  padding-top: 0;
}

.tech-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.pilot-list li {
  position: relative;
  margin-bottom: 0.85rem;
  padding-left: 1.6rem;
  color: #c4ced9;
}

.pilot-list li::before {
  position: absolute;
  left: 0;
  color: var(--qry-cyan);
  content: "↳";
}

.form-card {
  background: linear-gradient(145deg, rgba(15, 22, 32, 0.95), rgba(10, 12, 22, 0.94));
}

.form-label {
  color: #dfe8f1;
  font-size: 0.86rem;
  font-weight: 700;
}

.form-control {
  border-color: var(--qry-line-strong);
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.035);
  color: #fff;
}

.form-control:focus {
  border-color: rgba(0, 229, 213, 0.66);
  background: rgba(255, 255, 255, 0.055);
  color: #fff;
  box-shadow: 0 0 0 0.25rem rgba(0, 229, 213, 0.08);
}

.form-control:-webkit-autofill,
.form-control:-webkit-autofill:focus {
  -webkit-text-fill-color: #fff;
  box-shadow: 0 0 0 1000px #111923 inset;
}

.form-status {
  min-height: 1.5rem;
  font-weight: 700;
}

.vision-card {
  border-color: rgba(118, 92, 255, 0.22);
  background:
    radial-gradient(circle at 90% 10%, rgba(118, 92, 255, 0.1), transparent 24rem),
    var(--qry-surface);
}

footer {
  border-color: var(--qry-line) !important;
  background: rgba(4, 6, 10, 0.68);
}

.footer-logo {
  width: 7rem;
  height: 4.7rem;
}

.footer-copy {
  max-width: 31rem;
}

footer a {
  color: #aeb9c7;
  text-decoration: none;
}

footer a:hover,
footer a:focus-visible {
  color: #fff;
  text-decoration: underline;
}

@media (max-width: 1199.98px) {
  .hero h1 {
    font-size: clamp(3rem, 5.7vw, 5.2rem);
  }

  .navbar .nav-link {
    padding-inline: 0.55rem !important;
    font-size: 0.82rem;
  }
}

@media (max-width: 991.98px) {
  .site-header {
    padding: 0.75rem 0;
  }

  .navbar-shell {
    margin-inline: 0.75rem;
    padding-inline: 0.85rem;
    border-color: var(--qry-line);
    background: rgba(7, 10, 15, 0.9);
    backdrop-filter: blur(20px);
  }

  .navbar-collapse {
    padding: 1rem 0 0.35rem;
  }

  .navbar .nav-link {
    padding: 0.75rem !important;
    font-size: 0.95rem;
  }

  .hero {
    min-height: auto;
    padding-top: 9rem;
  }

  .hero h1 {
    max-width: 14ch;
    font-size: clamp(3rem, 9vw, 5.5rem);
  }

  .logo-stage {
    min-height: 20rem;
  }
}

@media (max-width: 767.98px) {
  .hero h1 {
    font-size: clamp(2.8rem, 13vw, 4.5rem);
  }

  .hero-metric + .hero-metric {
    border-top: 1px solid var(--qry-line);
    border-left: 0;
  }

  .display-5 {
    font-size: clamp(2.25rem, 10vw, 3.3rem);
  }

  section:not(.hero) {
    padding-block: 5rem;
  }
}

@media (max-width: 1399.98px) {
  .row.g-5 {
    --bs-gutter-x: 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Crawlable content pages and transparent capability states */
.content-page {
  background:
    radial-gradient(circle at 12% 12%, rgba(0, 229, 255, 0.1), transparent 32rem),
    radial-gradient(circle at 88% 18%, rgba(116, 79, 255, 0.1), transparent 34rem),
    #07090d;
}

.content-hero {
  padding: 10.5rem 0 5rem;
}

.content-hero h1 {
  max-width: 18ch;
  letter-spacing: -0.045em;
}

.direct-answer {
  max-width: 64rem;
  color: #d6dce8;
  line-height: 1.75;
}

.status-note {
  max-width: 58rem;
  padding: 1rem 1.15rem;
  color: #bec7d7;
  border: 1px solid rgba(119, 135, 164, 0.28);
  border-radius: 1rem;
  background: rgba(15, 20, 30, 0.78);
}

.status-badge {
  display: inline-flex;
  align-items: center;
  min-height: 1.8rem;
  padding: 0.35rem 0.7rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  border: 1px solid currentColor;
  border-radius: 999px;
}

.status-available { color: #62e6a7; background: rgba(39, 177, 111, 0.1); }
.status-pilot { color: #30d6f2; background: rgba(34, 196, 222, 0.1); }
.status-prototype { color: #ffd476; background: rgba(233, 174, 53, 0.1); }
.status-research { color: #bca7ff; background: rgba(137, 100, 255, 0.12); }
.status-roadmap { color: #ffaf82; background: rgba(255, 127, 68, 0.1); }

.evidence-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.evidence-strip span {
  padding: 0.55rem 0.8rem;
  color: #bbc5d7;
  font-size: 0.8rem;
  border: 1px solid rgba(119, 135, 164, 0.25);
  border-radius: 999px;
  background: rgba(12, 16, 24, 0.72);
}

.content-body {
  padding-bottom: 7rem;
}

.prose section {
  padding: 2rem 0;
  border-top: 1px solid rgba(119, 135, 164, 0.2);
}

.prose section:first-child {
  border-top: 0;
}

.prose h2 {
  margin-bottom: 1.25rem;
  font-size: clamp(1.65rem, 3vw, 2.2rem);
  letter-spacing: -0.025em;
}

.prose p,
.prose li {
  color: #b8c1d1;
  font-size: 1.03rem;
  line-height: 1.8;
}

.prose a,
.sticky-card a,
.resource-link {
  color: #53dcef;
}

.sticky-card {
  position: sticky;
  top: 8rem;
  border-color: rgba(119, 135, 164, 0.25);
  background: rgba(12, 16, 24, 0.86);
}

.article-meta {
  color: #929db1;
}

.page-cta {
  border-top: 1px solid rgba(119, 135, 164, 0.2);
}

.resource-index,
.capability-status {
  border-block: 1px solid rgba(119, 135, 164, 0.16);
}

.resource-card {
  border-color: rgba(119, 135, 164, 0.24);
  background: rgba(13, 18, 27, 0.84);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.resource-card:hover,
.resource-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(48, 214, 242, 0.58);
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.25);
}

.status-list {
  overflow: hidden;
  border: 1px solid rgba(119, 135, 164, 0.24);
  border-radius: 1.25rem;
  background: rgba(12, 16, 24, 0.8);
}

.status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.2rem 1.35rem;
}

.status-row + .status-row {
  border-top: 1px solid rgba(119, 135, 164, 0.18);
}

.error-page {
  min-height: 100vh;
  padding: 5rem 0;
}

.error-page .lead {
  max-width: 42rem;
}

.error-logo {
  width: min(13rem, 55vw);
  height: auto;
}

@media (max-width: 767.98px) {
  .content-hero {
    padding-top: 8.5rem;
  }

  .content-hero h1 {
    font-size: clamp(2.5rem, 13vw, 4.25rem);
  }

  .status-row {
    align-items: flex-start;
    flex-direction: column;
  }
}
