/* Home — BEXO marketing · matches dash app (ink + #2F6BFF) */

.page-home {
  overflow-x: hidden;
}

/* ========== Scroll-reveal animations ========== */
.reveal-target {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-target.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Soft brand haze over the film */
.hero-orbs {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.32;
  will-change: transform;
}

.orb-1 {
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(47, 107, 255, 0.45), transparent 70%);
  top: -12%;
  left: -8%;
  animation: orb-drift-1 18s ease-in-out infinite alternate;
}

.orb-2 {
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(155, 182, 255, 0.28), transparent 70%);
  bottom: 8%;
  right: -10%;
  animation: orb-drift-2 22s ease-in-out infinite alternate;
}

.orb-3 {
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(37, 88, 224, 0.22), transparent 70%);
  top: 48%;
  left: 42%;
  animation: orb-drift-3 15s ease-in-out infinite alternate;
}

@keyframes orb-drift-1 {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(60px, 40px) scale(1.15); }
}

@keyframes orb-drift-2 {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(-50px, -30px) scale(1.1); }
}

@keyframes orb-drift-3 {
  from { transform: translate(0, 0) scale(0.9); }
  to { transform: translate(30px, -50px) scale(1.1); }
}

/* —— Full-viewport hero · looping BEXO Intro film —— */
.hero {
  position: relative;
  width: 100%;
  min-height: 100svh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding:
    calc(5.25rem + env(safe-area-inset-top, 0px))
    max(1rem, env(safe-area-inset-right, 0px))
    max(2.75rem, env(safe-area-inset-bottom, 0px))
    max(1rem, env(safe-area-inset-left, 0px)) !important;
  isolation: isolate;
  overflow: hidden;
  background: var(--bexo-ink-deep, #05070f);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-bg {
  position: absolute;
  inset: -6% 0;
  height: 112%;
  width: 100%;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

.hero-poster,
.hero-bg img,
.hero-bg video,
.hero-video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center 45%;
  display: block;
}

.hero-poster {
  z-index: 0;
}

.hero-video-bg {
  z-index: 1;
  opacity: 0;
  transition: opacity 1.1s ease;
}

.hero-video-bg.is-ready {
  opacity: 1;
}

/* Cool ink veil — brand-aligned, film still readable */
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(
      105deg,
      rgba(11, 18, 32, 0.88) 0%,
      rgba(11, 18, 32, 0.64) 34%,
      rgba(11, 18, 32, 0.28) 56%,
      rgba(11, 18, 32, 0.12) 74%,
      rgba(7, 11, 20, 0.55) 100%
    ),
    linear-gradient(
      180deg,
      rgba(11, 18, 32, 0.5) 0%,
      transparent 34%,
      transparent 58%,
      rgba(5, 7, 15, 0.82) 100%
    ),
    radial-gradient(ellipse at 18% 20%, rgba(47, 107, 255, 0.18), transparent 48%);
}

.hero-layout {
  position: relative;
  z-index: 2;
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 0 !important;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: clamp(1.5rem, 3.5vw, 3rem);
  align-items: center;
}

.hero-copy {
  min-width: 0;
  animation: hero-rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-brand {
  margin: 0 0 0.55rem;
  font-family: var(--font-serif);
  font-size: clamp(3rem, 8vw, 5.25rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 0.92;
  color: #fff;
  text-shadow: 0 16px 48px rgba(5, 7, 15, 0.55);
  background: linear-gradient(135deg, #ffffff 18%, #e8eeff 58%, #9bb6ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 12px 28px rgba(5, 7, 15, 0.45));
}

.hero-copy .eyebrow {
  margin-bottom: 0.85rem;
  animation: hero-rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.08s both;
}

.hero-copy h1 {
  max-width: 14ch;
  font-size: clamp(1.85rem, 4.2vw, 3.15rem);
  text-wrap: balance;
  color: #f8fafc;
  text-shadow: 0 10px 36px rgba(5, 7, 15, 0.45);
  animation: hero-rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.14s both;
}

.hero-copy .lede {
  max-width: 34rem;
  margin-top: 1rem;
  font-size: clamp(0.95rem, 1.6vw, 1.08rem);
  color: rgba(248, 250, 252, 0.82);
  animation: hero-rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
}

.hero-accent {
  color: var(--bexo-accent-soft, #9bb6ff);
  font-weight: 700;
}

.hero-copy .cta-row {
  margin-top: 1.45rem;
  animation: hero-rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.28s both;
}

.hero .btn-ghost {
  border-color: rgba(248, 250, 252, 0.22);
  background: rgba(248, 250, 252, 0.06);
}

.hero .btn-ghost:hover {
  background: rgba(248, 250, 252, 0.12);
  border-color: rgba(155, 182, 255, 0.4);
}

.hero-panel {
  border-radius: var(--radius-lg, 1.15rem);
  border: 1px solid rgba(155, 182, 255, 0.28);
  background: rgba(7, 11, 20, 0.78);
  backdrop-filter: blur(28px) saturate(150%);
  -webkit-backdrop-filter: blur(28px) saturate(150%);
  padding: clamp(1.1rem, 2.4vw, 1.5rem);
  box-shadow:
    0 32px 72px -24px rgba(5, 7, 15, 0.85),
    0 0 0 1px rgba(47, 107, 255, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  min-width: 0;
  animation: hero-rise 0.95s cubic-bezier(0.22, 1, 0.36, 1) 0.22s both;
  position: relative;
  overflow: hidden;
}

.hero-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(47, 107, 255, 0.65), transparent);
}

.handle-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bexo-accent-soft, #9bb6ff);
  margin-bottom: 0.65rem;
}

.handle-field {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0.4rem 0.45rem 0.4rem 0.9rem;
  border-radius: 1rem;
  background: rgba(5, 7, 15, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.16);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  min-width: 0;
}

.handle-field:focus-within {
  border-color: rgba(47, 107, 255, 0.55);
  box-shadow: 0 0 0 3px rgba(47, 107, 255, 0.2);
}

.handle-field input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  background: transparent;
  color: #f8fafc;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: clamp(0.85rem, 2.4vw, 0.95rem);
  font-weight: 600;
  padding: 0.55rem 0;
}

.handle-field input::placeholder {
  color: rgba(248, 250, 252, 0.35);
  font-weight: 500;
}

.handle-suffix {
  flex-shrink: 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: clamp(0.72rem, 2vw, 0.85rem);
  font-weight: 700;
  color: #fff;
  padding: 0.45rem 0.65rem;
  border-radius: 0.7rem;
  background: var(--bexo-accent, #2f6bff);
  white-space: nowrap;
  box-shadow: 0 8px 20px -10px rgba(47, 107, 255, 0.7);
}

.handle-status {
  min-height: 1.35rem;
  margin: 0.7rem 0 0;
  font-size: 0.8rem;
  line-height: 1.4;
  font-weight: 600;
}

.handle-status--idle {
  color: rgba(248, 250, 252, 0.5);
}

.handle-status--checking {
  color: var(--bexo-accent-soft, #9bb6ff);
}

.handle-status--available {
  color: #6ee7b7;
}

.handle-status--taken,
.handle-status--invalid {
  color: #fda4af;
}

.handle-status--error {
  color: #fcd34d;
}

.handle-claim {
  width: 100%;
  margin-top: 0.85rem;
}

.handle-perks + .handle-claim,
.handle-claim:not([hidden]) {
  margin-top: 0.95rem;
}

.handle-claim[hidden] {
  display: none !important;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: max(1rem, env(safe-area-inset-bottom, 0px));
  z-index: 2;
  transform: translateX(-50%);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  color: rgba(248, 250, 252, 0.62);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: color 0.2s ease, opacity 0.2s ease;
  animation: hero-bounce 2.4s ease-in-out infinite;
}

.hero-scroll i {
  font-size: 1rem;
}

.hero-scroll:hover {
  color: var(--bexo-accent-soft, #9bb6ff);
}

.hero.is-scrolled .hero-scroll {
  opacity: 0;
  pointer-events: none;
}

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translate3d(0, 1.25rem, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes hero-bounce {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(6px);
  }
}

/* Content below the hero sits solid so video scrolls away cleanly */
.marquee,
.proof,
.social-proof,
.feature-split,
.why,
.workflow,
.pricing-strip,
.final-cta {
  position: relative;
  z-index: 2;
  background: var(--bexo-ink, #0b1220);
}

.social-proof {
  padding: 0 1em;
  border-top: 1px solid rgba(47, 107, 255, 0.12);
  border-bottom: 1px solid rgba(47, 107, 255, 0.12);
  background:
    linear-gradient(180deg, rgba(47, 107, 255, 0.05), transparent 50%, rgba(47, 107, 255, 0.04)),
    var(--bexo-ink, #0b1220);
}

.social-proof .container {
  padding: 2.5rem 0;
}

.proof-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.proof-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  text-align: center;
}

.proof-number {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #fff 18%, #9bb6ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}

.proof-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--bexo-muted);
}

.proof-divider {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, transparent, rgba(47, 107, 255, 0.4), transparent);
}

.proof {
  padding: 0 1em;
}

.proof .container {
  padding-top: 2rem;
  padding-bottom: 2rem;
  text-align: center;
}

.proof p {
  max-width: 36rem;
  margin: 0 auto;
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  line-height: 1.55;
  color: rgba(248, 250, 252, 0.78);
}

/* ========== Marquee ========== */
.marquee {
  overflow: hidden;
  border: none;
  background: var(--bexo-ink-elevated, #070b14);
  padding: 1.1rem 0;
  box-shadow:
    inset 0 1px 0 rgba(47, 107, 255, 0.16),
    inset 0 -1px 0 rgba(255, 255, 255, 0.04);
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 2.5rem;
  animation: marquee 28s linear infinite;
}

.marquee-track span {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(248, 250, 252, 0.55);
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.marquee-track span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--bexo-accent, #2f6bff);
  box-shadow: 0 0 10px rgba(47, 107, 255, 0.5);
  animation: dot-pulse 2.8s ease-in-out infinite;
}

@keyframes dot-pulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.3); }
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ========== Feature splits ========== */
.feature-split .container,
.workflow .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.feature-split .media,
.workflow .media {
  border-radius: 1.35rem;
  overflow: hidden;
  border: 1px solid rgba(47, 107, 255, 0.22);
  aspect-ratio: 4 / 3;
  box-shadow:
    0 30px 60px -36px rgba(0, 0, 0, 0.75),
    0 0 0 1px rgba(47, 107, 255, 0.08);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
}

.feature-split .media:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow:
    0 40px 80px -36px rgba(0, 0, 0, 0.8),
    0 0 40px -12px rgba(47, 107, 255, 0.2);
}

.feature-split .copy h2 {
  max-width: 14ch;
}

.feature-split .copy p {
  max-width: 32ch;
}

.feature-split:nth-of-type(even) .container {
  direction: rtl;
}

.feature-split:nth-of-type(even) .container > * {
  direction: ltr;
}

/* ========== Why BEXO — benefits grid ========== */
.why {
  position: relative;
}

.why::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 600px;
  height: 600px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(47, 107, 255, 0.12), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

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

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.benefit-card {
  padding: 1.5rem;
  border-radius: 1.15rem;
  border: 1px solid var(--bexo-border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  transition: border-color 0.3s ease, transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.benefit-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(47, 107, 255, 0.35), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.benefit-card:hover {
  border-color: rgba(47, 107, 255, 0.4);
  background: linear-gradient(180deg, rgba(47, 107, 255, 0.12), rgba(255, 255, 255, 0.03));
  transform: translateY(-4px);
  box-shadow: 0 20px 48px -16px rgba(47, 107, 255, 0.22);
}

.benefit-card:hover::after {
  opacity: 1;
}

.benefit-card i {
  color: var(--bexo-sky);
  font-size: 1.5rem;
  display: block;
  margin-bottom: 0.5rem;
  filter: drop-shadow(0 0 8px rgba(47, 107, 255, 0.35));
}

.benefit-card h3 {
  font-size: 1.1rem;
}

.benefit-card p {
  font-size: 0.875rem;
  margin-top: 0.35rem;
}

/* ========== Workflow steps ========== */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.step-card {
  padding: 1.5rem;
  border-radius: 1.2rem;
  background: var(--bexo-ink-elevated);
  border: 1px solid var(--bexo-border);
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.step-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  border-radius: 1px;
  background: linear-gradient(90deg, var(--bexo-sky), var(--bexo-indigo));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.step-card:hover {
  border-color: rgba(47, 107, 255, 0.35);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px -16px rgba(47, 107, 255, 0.18);
}

.step-card:hover::before {
  opacity: 1;
}

.step-card .num {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--bexo-sky);
  text-transform: uppercase;
}

/* ========== Pricing strip ========== */
.pricing-strip .cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.plan-card {
  padding: 1.5rem;
  border-radius: 1.35rem;
  border: 1px solid var(--bexo-border);
  background: rgba(255, 255, 255, 0.04);
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.plan-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px -20px rgba(0, 0, 0, 0.5);
}

.plan-card.is-featured {
  border-color: rgba(47, 107, 255, 0.5);
  background:
    radial-gradient(ellipse at top, rgba(47, 107, 255, 0.18), transparent 55%),
    rgba(255, 255, 255, 0.05);
  box-shadow:
    0 20px 50px -28px rgba(47, 107, 255, 0.5),
    0 0 0 1px rgba(47, 107, 255, 0.12);
}

.plan-card.is-featured::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--bexo-sky), var(--bexo-blue), var(--bexo-indigo));
}

.plan-card.is-featured:hover {
  box-shadow:
    0 28px 64px -28px rgba(47, 107, 255, 0.55),
    0 0 0 1px rgba(47, 107, 255, 0.22),
    0 0 60px -20px rgba(47, 107, 255, 0.18);
}

.plan-card .price {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  color: #fff;
  margin: 0.5rem 0 0.25rem;
}

.plan-card .price small {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: var(--bexo-muted);
  font-weight: 600;
}

.plan-card ul {
  list-style: none;
  margin: 1rem 0 1.5rem;
  flex: 1;
}

.plan-card li {
  font-size: 0.85rem;
  color: var(--bexo-muted);
  padding: 0.35rem 0;
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
}

.plan-card li i {
  color: var(--bexo-sky);
  margin-top: 0.15rem;
}

/* ========== Final CTA ========== */
.final-cta {
  position: relative;
  isolation: isolate;
}

.final-cta::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 500px;
  height: 500px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(47, 107, 255, 0.12), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.final-cta .container {
  text-align: center;
  border-radius: 1.75rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(47, 107, 255, 0.22), transparent 55%),
    radial-gradient(ellipse at 50% 100%, rgba(99, 102, 241, 0.1), transparent 45%),
    rgba(11, 16, 32, 0.9);
  padding: 4rem 1.5rem;
  box-shadow: 0 32px 64px -32px rgba(47, 107, 255, 0.18);
  position: relative;
  overflow: hidden;
}

.final-cta .container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(47, 107, 255, 0.45), transparent);
}

.final-cta .lede {
  max-width: 32rem;
  margin: 0.75rem auto 0;
}

/* ========== Tablet ========== */
@media (max-width: 1024px) {
  .hero {
    align-items: center;
    height: auto;
    min-height: 100svh;
    min-height: 100dvh;
    padding-bottom: max(3.5rem, env(safe-area-inset-bottom, 0px)) !important;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    align-items: stretch;
    gap: 1.5rem;
  }

  .hero-brand {
    font-size: clamp(2.4rem, 10vw, 3.5rem);
  }

  .hero-copy h1 {
    max-width: 16ch;
  }

  .hero-panel {
    max-width: 34rem;
  }

  .proof-stats {
    gap: 1.5rem;
  }
}

/* Mobile / small tablets */
@media (max-width: 900px) {
  .feature-split .container,
  .workflow .container,
  .benefits-grid,
  .steps,
  .pricing-strip .cards {
    grid-template-columns: 1fr;
  }

  .feature-split:nth-of-type(even) .container {
    direction: ltr;
  }

  .hero {
    padding-top: calc(4.5rem + env(safe-area-inset-top, 0px)) !important;
  }

  .hero-bg-overlay {
    background:
      linear-gradient(
        180deg,
        rgba(5, 7, 15, 0.58) 0%,
        rgba(5, 7, 15, 0.28) 34%,
        rgba(5, 7, 15, 0.66) 68%,
        rgba(5, 7, 15, 0.9) 100%
      ),
      radial-gradient(ellipse at 50% 0%, rgba(47, 107, 255, 0.14), transparent 55%);
  }

  .hero-copy .cta-row {
    width: 100%;
  }

  .hero-copy .cta-row .btn-primary,
  .hero-copy .cta-row .btn-ghost {
    flex: 1 1 auto;
    min-height: 48px;
  }

  .proof-divider {
    display: none;
  }

  .proof-stats {
    gap: 1.5rem 2rem;
    justify-content: space-evenly;
  }

  .orb-1 { width: 250px; height: 250px; }
  .orb-2 { width: 180px; height: 180px; }
  .orb-3 { display: none; }
}

@media (max-width: 640px) {
  .hero-poster,
  .hero-bg video,
  .hero-video-bg {
    object-position: center 40%;
  }

  /* Mobile layout owned by css/mobile-home.css — avoid competing rules */
  .hero-scroll {
    display: none;
  }

  .proof-stats {
    gap: 1.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-video-bg {
    display: none !important;
  }

  .marquee-track,
  .hero-scroll,
  .hero-copy,
  .hero-copy .eyebrow,
  .hero-copy h1,
  .hero-copy .lede,
  .hero-copy .cta-row,
  .hero-panel {
    animation: none !important;
  }

  .hero-bg {
    inset: 0;
    height: 100%;
    transform: none !important;
  }

  .benefit-card:hover,
  .step-card:hover,
  .plan-card:hover {
    transform: none;
  }

  .orb { display: none; }

  .reveal-target {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Short landscape phones / compact height */
@media (max-height: 700px) and (orientation: landscape) {
  .hero {
    height: auto;
    min-height: 100svh;
    align-items: center;
  }

  .hero-layout {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
  }

  .hero-brand {
    font-size: clamp(1.8rem, 5vw, 2.6rem);
  }

  .hero-copy h1 {
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    max-width: 14ch;
  }

  .hero-copy .lede {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .hero-scroll {
    display: none;
  }
}

