:root {
  --x-hero-width: 70rem;
  --x-intro-width: 78rem;
  --x-hero-title: clamp(3.5rem, 6.5vw, 5.5rem);
  --x-copy-width: 36rem;
  --x-hero-inset: 3rem;
  --x-demo-gap: 3.5rem;
  --x-intro-gap: 3rem;
  --x-orb-size: clamp(340px, 42vw, 620px);
  --x-orb-scale: .6375;
  --x-link-color: #b8bdc5;
  --x-orb-tint: #4ca8e812;
  --x-brand-ink: #9bd2f3;
  --x-title-secondary: #c6cbd1;
  --x-brand-reveal-time: 1.4s;
  --x-download-icon-size: 1.125rem;
  --x-download-promo-icon-size: 1.25em;
  --x-download-promo-gap: .4em;
}

.btn.x-download { border-radius: var(--wt-radius-pill); }
.x-download-icon { width: var(--x-download-icon-size); height: var(--x-download-icon-size); flex-shrink: 0; }
.topline .x-download { display: inline-flex; align-items: center; gap: var(--x-download-promo-gap); white-space: nowrap; flex-shrink: 0; }
.topline .x-download-icon { width: var(--x-download-promo-icon-size); height: var(--x-download-promo-icon-size); }

.landing-x {
  min-height: 0;
  padding-top: calc(var(--wt-banner-offset, 40px) + var(--wt-header-height) + var(--x-hero-inset));
  padding-bottom: 4rem;
  background: radial-gradient(ellipse at 62% 27%, var(--x-orb-tint), transparent 52%), var(--wt-bg-deep);
}
.landing-x .landing-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--x-demo-gap);
  max-width: var(--x-intro-width);
  width: calc(100% - 3rem);
  justify-items: center;
}
.x-hero-intro {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: center;
  gap: var(--x-intro-gap);
  width: 100%;
  min-width: 0;
}
.landing-x .landing-hero-copy { max-width: var(--x-copy-width); width: 100%; text-align: left; margin: 0; }
.landing-x .eyebrow { color: var(--x-link-color); letter-spacing: .15em; }
.landing-x .landing-hero-title { font-size: var(--x-hero-title); line-height: 1.02; margin: 1.25rem 0 1.5rem; }
.landing-x .landing-hero-title > .x-title-line { display: block; color: var(--wt-text); background: none; white-space: nowrap; }
.landing-x .landing-hero-title > .x-title-line:last-child { color: var(--x-title-secondary); }
.landing-x .landing-hero-title .x-brand-fragment { display: inline; color: var(--x-brand-ink); background: none; animation: x-brand-reveal var(--x-brand-reveal-time) ease-out .15s both; }
@keyframes x-brand-reveal { from { opacity: .68; } to { opacity: 1; } }
.landing-x .landing-hero-kicker { font-size: 1.25rem; }
.landing-x .landing-hero-description { max-width: var(--x-copy-width); margin: .875rem 0 0; }
.landing-x .landing-hero-actions { margin-top: 1.75rem; justify-content: flex-start; gap: 1.5rem; }
.landing-x .landing-hero-actions .btn { gap: .75rem; }
.x-secondary-link { color: var(--x-link-color); font-size: .875rem; padding: .75rem 0; }
.x-secondary-link:hover { color: var(--wt-text); }
.landing-x #waytive-core {
  position: relative;
  width: min(100%, calc(var(--x-orb-size) * var(--x-orb-scale)));
  height: auto;
  aspect-ratio: 1;
  min-height: 0;
  max-width: none;
  margin: 0;
  justify-self: start;
  pointer-events: auto;
  clip-path: circle(49% at 50% 50%);
}
.landing-x #waytive-core canvas:active { cursor: grabbing !important; }
.x-showcase { position: relative; z-index: 1; width: 100%; min-width: 0; min-height: 760px; scroll-margin-top: calc(var(--wt-banner-offset, 40px) + var(--wt-header-height) + 1rem); }
.landing-x .x-showcase { max-width: var(--x-hero-width); }
.x-demo-loading { padding: 3rem 1rem; text-align: center; color: var(--x-link-color); }
@media (max-width: 1100px) {
  :root { --x-intro-gap: 1.5rem; }
  .x-showcase { min-height: 0; }
}
@media (max-width: 700px) {
  :root { --x-hero-inset: 2rem; --x-demo-gap: 2rem; --x-hero-title: clamp(2.75rem, 12vw, 4rem); }
  .landing-x { padding-bottom: 2rem; }
  .landing-x .landing-hero-grid { width: calc(100% - 2rem); }
  .x-hero-intro { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
  .landing-x .landing-hero-title { margin: 1rem 0 1.25rem; }
  .landing-x .landing-hero-kicker { font-size: 1.0625rem; }
  .landing-x .landing-hero-description { font-size: .9375rem; }
  .landing-x .landing-hero-description br { display: none; }
  .landing-x .landing-hero-actions { gap: .5rem 1rem; }
  .landing-x #waytive-core { width: min(50vw, 13rem); justify-self: center; }
}
@media (prefers-reduced-motion: reduce) { .landing-x .landing-hero-title .x-brand-fragment { animation: none; } }
