/* ==========================================================================
   NAV
   ========================================================================== */
.nav {
  position: fixed;
  top: 14px;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 0 var(--gutter);
  transition: top 0.4s var(--ease-out);
}
.nav__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 10px 10px 10px 22px;
  border-radius: var(--r-pill);
  transition: padding 0.4s var(--ease-out), background 0.4s;
}
.nav.is-scrolled {
  top: 8px;
}
.nav.is-scrolled .nav__inner {
  padding-block: 6px;
  background: rgba(6, 20, 52, 0.55);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.brand__orb {
  position: relative;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, #11c5ff, #2f6bff, #8b5cf6, #ff4fa3, #ff9a3c, #11c5ff);
  box-shadow: 0 0 18px rgba(17, 197, 255, 0.55), inset 0 0 8px rgba(255, 255, 255, 0.5);
  animation: orb-spin 8s linear infinite;
}
.brand__orb::before {
  /* soft inner light to read as a sphere */
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0) 45%);
  filter: blur(1px);
  animation: orb-spin 8s linear infinite reverse;
}
.brand__orb::after {
  /* orbit ring + satellite */
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: radial-gradient(circle at 88% 16%, #ff9a3c 0 3px, transparent 3.5px);
}
@keyframes orb-spin {
  to { transform: rotate(360deg); }
}
.brand__word {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--white);
}

.nav__links {
  display: flex;
  gap: 4px;
  margin-left: auto;
}
.nav__links a {
  position: relative;
  padding: 8px 14px;
  border-radius: var(--r-pill);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--grey);
  transition: color 0.3s, background 0.3s;
}
.nav__links a:hover {
  color: var(--white);
}
.nav__links a.is-active {
  color: var(--white);
  background: rgba(17, 197, 255, 0.12);
  box-shadow: inset 0 0 0 1px rgba(17, 197, 255, 0.35);
}
.btn--sm {
  min-height: 42px;
  padding: 0 20px;
  font-size: 0.88rem;
}
.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
  color: var(--white);
  cursor: pointer;
}
.nav__toggle svg {
  width: 22px;
  height: 22px;
  margin: auto;
}
.nav__mobile {
  display: grid;
  gap: 4px;
  max-width: var(--maxw);
  margin: 10px auto 0;
  padding: 14px;
  border-radius: var(--r-lg);
}
.nav__mobile[hidden] {
  display: none;
}
.nav__mobile a:not(.btn) {
  padding: 12px 14px;
  border-radius: var(--r-sm);
  color: var(--white);
  font-weight: 500;
}
.nav__mobile a:not(.btn):hover {
  background: rgba(255, 255, 255, 0.06);
}
.nav__mobile .btn {
  margin-top: 8px;
}

/* ==========================================================================
   ORB OVERLAY (tracks the 3D orb)
   ========================================================================== */
.orb-overlay {
  --r: 150px;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1;
  width: 0;
  height: 0;
  pointer-events: none;
  will-change: transform;
}
.orb-ai {
  position: absolute;
  left: 0;
  top: 0;
  transform: translate(-50%, -50%);
  font-size: calc(var(--r) * 0.62);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: #fff;
  text-shadow: 0 0 calc(var(--r) * 0.2) rgba(255, 255, 255, 0.55), 0 2px 14px rgba(6, 27, 68, 0.35);
  opacity: var(--ai-o, 1);
}
.orb-wordmark {
  position: absolute;
  left: 0;
  top: calc(var(--r) * 1.42);
  transform: translate(-50%, 0);
  display: flex;
  font-size: clamp(2.4rem, calc(var(--r) * 0.5), 5.2rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.01em;
  color: #fff;
  opacity: var(--wm-o, 1);
  white-space: nowrap;
}
.orb-wordmark span {
  display: inline-block;
}
.orb-wordmark .accent {
  text-shadow: 0 0 28px rgba(17, 197, 255, 0.6);
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 130px;
  padding-bottom: 48px;
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center;
  gap: 32px;
}
.hero__copy {
  display: grid;
  gap: 22px;
  justify-items: start;
}
.hero__title {
  font-size: var(--fs-hero);
  letter-spacing: -0.035em;
}
.hero__tag {
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  font-weight: 500;
  color: var(--white);
}
.hero__lead {
  max-width: 520px;
  font-size: var(--fs-lead);
}
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 8px;
}
.hero__stage {
  position: relative;
  height: min(62vh, 560px);
}
.hero__pill {
  position: absolute;
}
.hero__pill--call {
  top: 4%;
  left: -6%;
}
.hero__pill--booked {
  bottom: 28%;
  left: -8%;
}

.stats-band {
  position: relative;
  padding: 24px 0 0;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
  border-radius: var(--r-lg);
  /* dark tint keeps the numbers legible when the orb passes behind */
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.015) 45%),
    rgba(8, 22, 58, 0.62);
}
.stats li {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 22px 16px;
  text-align: center;
}
.stats li + li {
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}
.stats strong {
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
}
.stats span {
  font-size: 0.86rem;
}

.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 18px;
  width: 26px;
  height: 42px;
  margin-left: -13px;
  border-radius: 20px;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.35);
}
.scroll-hint {
  transition: opacity 0.4s var(--ease-out), visibility 0.4s;
}
.scroll-hint.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.scroll-hint span {
  position: absolute;
  left: 50%;
  top: 8px;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  border-radius: 2px;
  background: var(--cyan);
  animation: hint 1.8s var(--ease-out) infinite;
}
@keyframes hint {
  0% { transform: translateY(0); opacity: 1; }
  80%, 100% { transform: translateY(16px); opacity: 0; }
}

/* ==========================================================================
   DEMO
   ========================================================================== */
.demo__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
}
.demo__copy {
  display: grid;
  gap: 22px;
}
.demo__copy h2 {
  font-size: var(--fs-h2);
}
.lead {
  font-size: var(--fs-lead);
}
.ticks {
  display: grid;
  gap: 12px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}
.ticks li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-weight: 500;
}
.ticks svg {
  width: 22px;
  height: 22px;
  padding: 4px;
  border-radius: 50%;
  color: var(--midnight);
  background: var(--cyan);
  box-shadow: 0 0 14px rgba(17, 197, 255, 0.6);
}

.call {
  border-radius: var(--r-lg);
  padding: 18px;
}
.call__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 6px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.call__head .status-pill {
  padding: 0;
}
.call__timer {
  font-variant-numeric: tabular-nums;
}
.call__wave i {
  animation-play-state: paused;
}
.call.is-speaking .call__wave i {
  animation-play-state: running;
}
.call__log {
  display: grid;
  gap: 16px;
  min-height: 330px;
  padding: 20px 6px;
  align-content: start;
}
.msg {
  display: flex;
  gap: 12px;
  max-width: 88%;
}
.msg--ai {
  justify-self: end;
  flex-direction: row-reverse;
  text-align: right;
}
.msg__avatar {
  flex: none;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--grey);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}
.msg__avatar svg {
  width: 18px;
  height: 18px;
}
.msg__avatar--ai {
  font-size: 0.78rem;
  font-weight: 700;
  color: #fff;
  background: radial-gradient(circle at 35% 30%, #7fe3ff, #2f6bff 45%, #8b5cf6 75%, #ff4fa3);
  box-shadow: 0 0 16px rgba(17, 197, 255, 0.5);
}
.msg__who {
  display: block;
  margin-bottom: 6px;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--white);
}
.msg__who em {
  font-style: normal;
  font-weight: 400;
  color: var(--grey-dim);
}
.msg__bubble {
  display: inline-block;
  padding: 12px 16px;
  border-radius: 16px 16px 16px 4px;
  text-align: left;
  font-size: 0.94rem;
  line-height: 1.5;
  color: var(--white);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.msg--ai .msg__bubble {
  border-radius: 16px 16px 4px 16px;
  color: #fff;
  background: linear-gradient(160deg, #1fb3ff, #1170ff);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 10px 30px -10px rgba(17, 150, 255, 0.8);
}
.typing {
  display: inline-flex;
  gap: 5px;
  width: max-content;
  padding: 12px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.07);
  opacity: 0;
}
.typing.is-right {
  justify-self: end;
  background: rgba(17, 150, 255, 0.35);
}
.typing i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--white);
  animation: typing 1s infinite;
}
.typing i:nth-child(2) { animation-delay: 0.15s; }
.typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-4px); opacity: 1; }
}
.call__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 16px 6px 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.call__actions {
  gap: 6px;
}
.call__actions .chip {
  gap: 7px;
  padding: 8px 12px;
  font-size: 0.8rem;
}
.call__arrow {
  color: var(--grey-dim);
  font-size: 1.2rem;
}

/* ==========================================================================
   HOW (pinned on desktop)
   ========================================================================== */
.how__pin {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 110px 0 60px;
}
.how__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.8fr) minmax(0, 1.05fr);
  align-items: center;
  gap: 24px;
}
.how__intro {
  display: grid;
  gap: 18px;
}
.how__intro h2 {
  font-size: var(--fs-h2);
}

/* Vertical timeline */
.how__timeline {
  position: relative;
  margin-top: 14px;
}
.how__rail {
  position: absolute;
  left: 11px;
  top: 14px;
  bottom: 14px;
  width: 2px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}
.how__rail i {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, var(--cyan), #a78bfa 50%, var(--success));
  box-shadow: 0 0 12px var(--cyan);
  transform: scaleY(0);
  transform-origin: top;
}
.how__nav {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.how__nav button {
  display: grid;
  grid-template-columns: 24px 1fr;
  column-gap: 18px;
  width: 100%;
  padding: 10px 0;
  border: 0;
  background: none;
  text-align: left;
  cursor: pointer;
}
.how__dot {
  grid-row: span 2;
  position: relative;
  width: 24px;
  height: 24px;
  margin-top: 4px;
  border-radius: 50%;
  background: var(--space);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.18);
  transition: box-shadow 0.5s var(--ease-out);
}
.how__dot::after {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  background: var(--c);
  opacity: 0;
  transform: scale(0.3);
  transition: opacity 0.5s, transform 0.5s var(--ease-out);
}
.how__label {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: 1.35rem;
  font-weight: 600;
  color: rgba(183, 195, 216, 0.45);
  transition: color 0.4s;
}
.how__label small {
  font-size: 0.74rem;
  letter-spacing: 0.12em;
}
.how__hint {
  font-size: 0.86rem;
  color: var(--grey-dim);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease-out), opacity 0.4s;
}
.how__nav button:hover .how__label {
  color: rgba(255, 255, 255, 0.75);
}
.how__nav li.is-done .how__dot {
  box-shadow: inset 0 0 0 2px var(--c);
}
.how__nav li.is-active .how__dot {
  box-shadow: inset 0 0 0 2px var(--c), 0 0 18px -2px var(--c);
}
.how__nav li.is-active .how__dot::after,
.how__nav li.is-done .how__dot::after {
  opacity: 1;
  transform: none;
}
.how__nav li.is-active .how__label {
  color: var(--white);
}
.how__nav li.is-active .how__label small {
  color: var(--c);
}
.how__nav li.is-active .how__hint {
  max-height: 2em;
  opacity: 1;
}

/* Step cards */
.how__steps {
  display: grid;
}
.how__step {
  grid-area: 1 / 1;
  display: grid;
  align-content: start;
  gap: 16px;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(30px) scale(0.97);
  filter: blur(6px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out), filter 0.6s, visibility 0.6s;
  background:
    radial-gradient(90% 60% at 100% 0%, color-mix(in srgb, var(--c) 16%, transparent), transparent 70%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02) 50%),
    var(--glass-fill-strong);
}
.how__step.is-active {
  opacity: 1;
  visibility: visible;
  transform: none;
  filter: none;
}
.how__big {
  position: absolute;
  top: 18px;
  right: 26px;
  font-size: 5.5rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1px color-mix(in srgb, var(--c) 35%, transparent);
  background: linear-gradient(180deg, color-mix(in srgb, var(--c) 18%, transparent), transparent 80%);
  -webkit-background-clip: text;
  background-clip: text;
  pointer-events: none;
}
.how__head {
  display: flex;
  align-items: center;
  gap: 16px;
}
.how__step .icon-bubble {
  color: var(--c);
  background: radial-gradient(circle at 30% 25%, color-mix(in srgb, var(--c) 40%, transparent), rgba(6, 27, 68, 0.6) 70%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), inset 0 0 0 1px color-mix(in srgb, var(--c) 45%, transparent), 0 0 24px color-mix(in srgb, var(--c) 30%, transparent);
  transform: none;
}
.how__step h3 {
  margin: 2px 0 0;
  font-size: 1.9rem;
  transform: none;
}
.how__num {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c);
}
.how__step > p {
  transform: none;
}

/* Mini demos inside each card */
.how__demo {
  margin: 4px 0 0;
  padding: 16px;
  border-radius: var(--r-md);
  background: rgba(2, 8, 23, 0.45);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07), inset 0 2px 8px rgba(0, 0, 0, 0.3);
  list-style: none;
}

/* Listen */
.how__live {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey);
}
.how__rec {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff4d6d;
  box-shadow: 0 0 10px #ff4d6d;
  animation: rec 1.4s ease-in-out infinite;
}
@keyframes rec {
  50% { opacity: 0.3; }
}
.how__wave {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 44px;
  margin: 12px 0;
}
.how__wave i {
  flex: 1;
  height: calc(var(--h) * 100%);
  border-radius: 3px;
  background: linear-gradient(180deg, var(--cyan), #3d8bff);
  box-shadow: 0 0 8px rgba(17, 197, 255, 0.5);
  transform-origin: center;
  animation: wave 1.2s ease-in-out infinite;
  animation-delay: calc(var(--d) * -1s);
}
.how__transcript {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--white);
  min-height: 3em;
}
.how__who {
  display: block;
  margin-bottom: 2px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--cyan);
}
.how__caret {
  display: inline-block;
  width: 2px;
  height: 1.05em;
  margin-left: 2px;
  vertical-align: -0.15em;
  background: var(--cyan);
  animation: caret 0.9s steps(1) infinite;
}
@keyframes caret {
  50% { opacity: 0; }
}

/* Understand */
.how__facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 0 0 14px;
}
.how__facts div {
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(167, 139, 250, 0.08);
  box-shadow: inset 0 0 0 1px rgba(167, 139, 250, 0.25);
}
.how__facts dt {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey-dim);
}
.how__facts dd {
  margin: 2px 0 0;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--white);
}
.how__meter {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  font-size: 0.8rem;
}
.how__meter b {
  color: #c4b5fd;
}
.how__bar {
  height: 6px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.how__bar i {
  display: block;
  width: 98%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #8b5cf6, #c4b5fd);
  box-shadow: 0 0 12px rgba(167, 139, 250, 0.7);
  transform-origin: left;
}

/* Act */
.how__done {
  display: grid;
  gap: 10px;
}
.how__done li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--white);
}
.how__tick {
  display: grid;
  place-items: center;
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  color: var(--midnight);
  background: var(--success);
  box-shadow: 0 0 14px rgba(25, 227, 177, 0.6);
}
.how__tick svg {
  width: 14px;
  height: 14px;
}

/* Replay the demo each time a step becomes active (final state is the default) */
.how__step.is-active .how__facts div {
  animation: how-pop 0.6s var(--ease-out) both;
  animation-delay: calc(0.25s + var(--i) * 0.14s);
}
.how__step.is-active .how__bar i {
  animation: how-fill 1.4s var(--ease-out) 0.8s both;
}
.how__step.is-active .how__done li {
  animation: how-pop 0.6s var(--ease-out) both;
  animation-delay: calc(0.25s + var(--i) * 0.3s);
}
.how__step.is-active .how__done .how__tick {
  animation: how-tick 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
  animation-delay: calc(0.4s + var(--i) * 0.3s);
}
@keyframes how-pop {
  from { opacity: 0; transform: translateY(10px); }
}
@keyframes how-fill {
  from { transform: scaleX(0); }
}
@keyframes how-tick {
  from { transform: scale(0); }
}

/* ==========================================================================
   GRIDS & CARDS
   ========================================================================== */
.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: clamp(14px, 1.6vw, 22px);
}
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card-glass h3 {
  margin: 20px 0 8px;
  font-size: var(--fs-h3);
  font-weight: 600;
  line-height: 1.3;
  transform: translateZ(20px);
}
.card-glass p {
  font-size: 0.95rem;
  transform: translateZ(10px);
}

.section-head--sub {
  margin-top: clamp(72px, 10vw, 120px);
}
.icon-x {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: var(--danger);
  box-shadow: inset 0 0 0 2px var(--danger), 0 0 20px -4px rgba(255, 77, 109, 0.6);
}
.icon-x svg {
  width: 22px;
  height: 22px;
}

.cap-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: clamp(14px, 1.6vw, 22px);
}
.cap-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 22px);
}
.cap-cards .cap:nth-child(4),
.cap-cards .cap:nth-child(5) {
  grid-column: span 1;
}
.cap-cards .cap:nth-child(4) {
  grid-column: 1 / span 2;
}
.multi {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(17, 197, 255, 0.22), transparent 60%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    var(--glass-fill-strong);
}
.multi__title {
  font-size: 1.5rem !important;
  color: var(--cyan) !important;
}
.multi__langs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.multi__langs .chip {
  padding: 8px 14px;
  font-size: 0.85rem;
}
.multi__wave {
  display: flex;
  gap: 18px;
  margin-top: auto;
  padding-top: 28px;
  opacity: 0.8;
}


/* Industry scenario cards ------------------------------- */
.scn-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 22px);
}
.scn {
  --c: var(--cyan);
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(90% 55% at 100% 0%, color-mix(in srgb, var(--c) 14%, transparent), transparent 70%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.09) 0%, rgba(255, 255, 255, 0.02) 40%, rgba(255, 255, 255, 0.04) 100%),
    var(--glass-fill);
}
.scn__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  transform: translateZ(30px);
}
.scn__num {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  background: radial-gradient(circle at 30% 25%, color-mix(in srgb, var(--c) 85%, #fff), color-mix(in srgb, var(--c) 55%, var(--midnight)) 75%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 0 22px -4px var(--c);
}
.scn__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: var(--c);
}
.scn__icon svg {
  width: 36px;
  height: 36px;
  filter: drop-shadow(0 0 12px currentColor);
}
.scn h3 {
  margin: 18px 0 4px;
}
.scn__tag {
  font-size: 0.74rem !important;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c);
}
.scn__label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 0.72rem !important;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
}
.scn__label svg {
  width: 16px;
  height: 16px;
  color: var(--c);
}
.scn__needs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 14px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  transform: translateZ(10px);
}
.scn__needs li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.88rem;
  line-height: 1.4;
  color: var(--grey);
}
.scn__needs svg {
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: 1px;
  padding: 3px;
  border-radius: 50%;
  color: var(--midnight);
  background: var(--c);
  box-shadow: 0 0 10px -2px var(--c);
}
.scn__helps {
  margin-top: auto;
  padding-top: 20px;
}
.scn__helps > p:last-child {
  margin-top: 10px;
  padding: 14px 16px;
  border-radius: var(--r-sm);
  font-size: 0.9rem;
  line-height: 1.55;
  background: rgba(2, 8, 23, 0.4);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 22%, transparent);
}

.scn-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: clamp(24px, 3vw, 36px);
  padding: 24px 28px;
  border-radius: var(--r-lg);
}
.scn-strip__lead {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 1 1 420px;
}
.scn-strip__lead .icon-bubble {
  flex: none;
  transform: none;
}
.scn-strip__title {
  color: var(--white);
  font-weight: 600;
}
.scn-strip__lead p:last-child {
  font-size: 0.9rem;
}
.scn-strip__stats {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
}
.scn-strip__stats li {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 0 24px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  color: var(--white);
}
.scn-strip__stats li + li {
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}
.scn-strip__stats svg {
  width: 26px;
  height: 26px;
  color: var(--cyan);
  filter: drop-shadow(0 0 10px rgba(17, 197, 255, 0.6));
}
.scn-note {
  margin-top: 18px;
  text-align: center;
  font-size: 0.84rem;
  color: var(--grey-dim);
}

/* ==========================================================================
   INTEGRATIONS
   ========================================================================== */
.integrations__stage {
  position: relative;
  height: min(70vh, 620px);
}
.node-label {
  --c: var(--cyan);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 5px 14px 5px 5px;
  border-radius: var(--r-pill);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--white);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.02) 60%),
    rgba(6, 22, 58, 0.5);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  backdrop-filter: blur(14px) saturate(160%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 0 0 1px color-mix(in srgb, var(--c) 45%, transparent),
    0 8px 28px -10px color-mix(in srgb, var(--c) 70%, transparent);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  will-change: transform, opacity;
}
.node-label i {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  color: var(--c);
  background: radial-gradient(circle at 30% 25%, color-mix(in srgb, var(--c) 45%, transparent), rgba(6, 27, 68, 0.6) 75%);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 55%, transparent), 0 0 14px -2px var(--c);
}
.node-label svg {
  width: 14px;
  height: 14px;
}
.integrations__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 900px; /* wraps as two balanced rows of four */
  margin: 0 auto;
  padding: 0;
  list-style: none;
}
.integ-chip svg {
  color: var(--cyan);
  opacity: 0.9;
}
.integ-chip:hover {
  box-shadow: inset 0 0 0 1px rgba(17, 197, 255, 0.6), 0 0 24px -8px rgba(17, 197, 255, 0.7);
}

/* ==========================================================================
   SECURITY + PERSONALITY
   ========================================================================== */
.security__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 40px;
  align-items: center;
}
.security__stage {
  min-height: 420px;
}
.personality {
  margin-top: clamp(96px, 12vw, 150px);
}
.trait {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 22px;
  border-radius: var(--r-md);
}
.trait .icon-bubble {
  flex: none;
  width: 46px;
  height: 46px;
  transform: none;
}
.trait h3 {
  margin-bottom: 4px;
  font-size: 1.05rem;
  font-weight: 600;
}
.trait p {
  font-size: 0.88rem;
}

/* ==========================================================================
   BOOK
   ========================================================================== */
.book {
  min-height: 100vh;
  display: flex;
  align-items: center;
}
.book__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.book__copy {
  display: grid;
  gap: 24px;
}
.book__title {
  font-size: clamp(2.4rem, 5vw, 4.4rem);
}
.brand-inline {
  font-weight: 700;
  color: var(--white);
}
.book__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.book__form {
  border-radius: var(--r-lg);
  padding: clamp(24px, 3vw, 40px);
}
.book__form-body {
  display: grid;
  gap: 18px;
}
.book__form h3 {
  font-size: 1.5rem;
  margin-bottom: 4px;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.book__submit {
  width: 100%;
  margin-top: 6px;
}
.book__error {
  font-size: 0.86rem;
  color: #ff8fa3;
}
.book__success {
  display: grid;
  place-items: center;
  min-height: 300px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  padding: 64px 0 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(2, 8, 23, 0), rgba(2, 8, 23, 0.85) 40%);
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 32px;
  align-items: start;
}
.footer__brand p {
  margin-top: 10px;
  font-size: 0.88rem;
}
.footer__tagline {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.9;
}
.footer__links {
  display: grid;
  gap: 8px;
  justify-items: start;
}
.footer__links a {
  font-size: 0.92rem;
  transition: color 0.3s;
}
.footer__links a:hover {
  color: var(--cyan);
}
.footer__base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey-dim);
}

/* ==========================================================================
   REVEAL HELPERS (initial states applied only when JS runs)
   ========================================================================== */
.w {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding-bottom: 0.08em;
  margin-bottom: -0.08em;
}
.w > span {
  display: inline-block;
}
/* Once revealed, stop clipping so glows/text-shadows aren't boxed in */
.split-done .w {
  overflow: visible;
}

/* ==========================================================================
   PRICING
   ========================================================================== */
.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 22px);
  align-items: stretch;
}
.plan {
  display: flex;
  flex-direction: column;
  padding: clamp(26px, 2.6vw, 36px);
}
.plan__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 36px;
}
.card-glass .plan__name {
  margin: 0;
  font-size: clamp(1.6rem, 2.2vw, 1.9rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.1;
  color: var(--cyan);
  text-shadow: 0 0 28px rgba(17, 197, 255, 0.5);
}
/* Featured name picks up the same aurora as its rotating border */
.card-glass.plan--featured .plan__name {
  background: linear-gradient(90deg, #11c5ff, #8b5cf6 55%, #ff4fa3);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
  filter: drop-shadow(0 0 18px rgba(139, 92, 246, 0.45));
}
.plan__tag {
  padding: 4px 12px;
  border-radius: var(--r-pill);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--cyan);
  background: var(--cyan-soft);
  box-shadow: inset 0 0 0 1px rgba(17, 197, 255, 0.35);
}
.card-glass .plan__for {
  margin-top: 8px;
  font-size: 0.92rem;
  color: var(--grey-dim);
}
.card-glass .plan__price {
  display: flex;
  align-items: flex-start;
  margin: 28px 0 0;
  font-size: clamp(3rem, 4.6vw, 4rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  color: var(--white);
}
.plan__cur {
  margin: 0.14em 4px 0 0;
  font-size: 0.45em;
  font-weight: 500;
  color: var(--grey);
}
.plan__per {
  align-self: flex-end;
  margin: 0 0 0.3em 8px;
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--grey-dim);
}
.plan__minutes {
  margin: 22px 0 26px;
}
.card-glass .plan__minutes p {
  font-size: 0.9rem;
  color: var(--grey);
}
.plan__minutes strong {
  color: var(--white);
  font-weight: 600;
}
.plan__meter {
  position: relative;
  display: block;
  height: 4px;
  margin-top: 10px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.plan__meter::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--fill);
  border-radius: inherit;
  background: linear-gradient(90deg, var(--cyan), #2f6bff);
  box-shadow: 0 0 12px rgba(17, 197, 255, 0.6);
}
.plan__cta {
  width: 100%;
  min-height: 48px;
}
.plan .btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}
.plan .btn-secondary:hover {
  background: rgba(17, 197, 255, 0.1);
  box-shadow: inset 0 0 0 1px rgba(17, 197, 255, 0.6);
}
.plan__list {
  display: grid;
  gap: 12px;
  flex: 1;
  align-content: start;
  margin: 28px 0 0;
  padding: 24px 0 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.plan__list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.93rem;
  line-height: 1.45;
  color: var(--grey);
}
.plan__list svg {
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: 3px;
  color: var(--cyan);
}
.card-glass .plan__extra {
  margin-top: 24px;
  font-size: 0.8rem;
  color: var(--grey-dim);
}

/* Featured: aurora hairline + a faint cyan wash from the top */
.plan--featured {
  background:
    radial-gradient(120% 60% at 50% 0%, rgba(17, 197, 255, 0.14), transparent 70%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.015) 45%),
    rgba(10, 28, 72, 0.6);
  box-shadow:
    inset 0 1px 0 var(--glass-highlight),
    0 40px 100px -40px rgba(17, 197, 255, 0.5);
}
/* Rotating aurora border: the conic gradient's start angle is animated */
@property --plan-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}
.plan--featured::before {
  padding: 1.5px;
  background: conic-gradient(
    from var(--plan-angle),
    #11c5ff 0deg,
    #2f6bff 60deg,
    #8b5cf6 120deg,
    #ff4fa3 180deg,
    #ff9a3c 220deg,
    rgba(17, 197, 255, 0.25) 280deg,
    #11c5ff 360deg
  );
  animation: plan-spin 6s linear infinite;
}
@keyframes plan-spin {
  to { --plan-angle: 360deg; }
}
@media (prefers-reduced-motion: reduce) {
  .plan--featured::before { animation: none; }
}

.plan-enterprise {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-top: clamp(28px, 3vw, 40px);
  padding: 28px 4px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.plan-enterprise > div {
  flex: 1;
}
.plan-enterprise h3 {
  margin: 0 0 4px;
  font-size: var(--fs-h3);
  font-weight: 600;
}
.plan-enterprise p {
  font-size: 0.95rem;
  color: var(--grey);
}
.plan-enterprise__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--cyan);
  white-space: nowrap;
}
.plan-enterprise__link svg {
  width: 18px;
  height: 18px;
  transition: transform 0.35s var(--ease-out);
}
.plan-enterprise__link:hover svg {
  transform: translateX(4px);
}

@media (max-width: 1080px) {
  .plans { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .plan-enterprise { max-width: 520px; margin-inline: auto; }
}
@media (max-width: 560px) {
  .plan-enterprise { flex-direction: column; align-items: flex-start; gap: 14px; }
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1080px) {
  .scn-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav__links { display: none; }
  .nav__cta { margin-left: auto; }
  .nav__toggle { display: grid; margin-left: 0; }
  .cap-grid { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .hero {
    justify-content: flex-start;
    padding-top: 96px;
  }
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  /* Orb sits above the copy. The stage's centre lines up with the 3D orb,
     which scrollTimeline places at 32% of the viewport height on mobile. */
  .hero__stage {
    order: -1;
    height: max(240px, calc(64svh - 192px));
  }
  .hero__pill {
    gap: 10px;
    padding: 8px 14px 8px 8px;
    border-radius: 14px;
  }
  .hero__pill .status-pill__icon { width: 32px; height: 32px; }
  .hero__pill .status-pill__icon svg { width: 15px; height: 15px; }
  .hero__pill strong { font-size: 0.8rem; }
  .hero__pill small { font-size: 0.68rem; }
  .hero__pill .wave { height: 16px; margin-left: 2px; }
  .hero__pill--call { top: 4%; left: 0; right: auto; bottom: auto; }
  .hero__pill--booked { bottom: 4%; right: 0; left: auto; top: auto; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats li:nth-child(3) { border-left: 0; }
  .stats li:nth-child(n + 3) { border-top: 1px solid rgba(255, 255, 255, 0.08); }

  .demo__grid,
  .security__grid,
  .book__grid {
    grid-template-columns: 1fr;
  }
  .security__stage { display: none; }

  .how__pin { min-height: 0; padding: var(--section-y) 0; }
  .how__grid { grid-template-columns: 1fr; }
  .how__spacer { display: none; }
  .how__timeline { display: none; }
  .how__big { font-size: 4.5rem; top: 14px; right: 18px; }
  .how__steps { gap: 16px; }
  .how__step { grid-area: auto; opacity: 1; visibility: visible; transform: none; filter: none; }

  .grid-3 { grid-template-columns: 1fr; }
  .cap-cards { grid-template-columns: 1fr 1fr; }
  .cap-cards .cap:nth-child(4) { grid-column: auto; }
  .cap-cards .cap:nth-child(5) { grid-column: 1 / -1; }
  .integrations__stage { height: 56vh; }
  .node-label { display: none; } /* the chip list below names each integration */
  .orb-wordmark { display: none; } /* hero wordmark is desktop only */
  .footer__inner { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .scn-grid { grid-template-columns: 1fr; }
  .scn__needs { grid-template-columns: 1fr; }
  .scn-strip { padding: 22px; }
  .scn-strip__stats { width: 100%; justify-content: space-between; }
  .scn-strip__stats li { padding: 0 8px; flex: 1; }
  .nav__cta { display: none; }
  .nav__toggle { margin-left: auto; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .grid-2,
  .grid-4,
  .cap-cards { grid-template-columns: 1fr; }
  .cap-cards .cap:nth-child(5) { grid-column: auto; }
  .field-row { grid-template-columns: 1fr; }
  .msg { max-width: 100%; }
  .call { padding: 14px; }
}
