/* Butler OS — standalone landing (Apache / static only) */
:root {
  --mx: 0.5;
  --my: 0.5;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(ellipse 120% 80% at 50% -20%, #0c0c12 0%, #030303 45%, #050508 100%);
  color: #fafafa;
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    "Helvetica Neue",
    Arial,
    sans-serif;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "kern" 1, "liga" 1;
  text-rendering: optimizeLegibility;
}

.film-grain {
  position: fixed;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

::selection {
  background: rgba(255, 255, 255, 0.2);
}

/* —— Liquid glass atmosphere —— */
.liquid-stage {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

.liquid-mesh {
  position: absolute;
  inset: -10%;
  opacity: 0.55;
  background:
    radial-gradient(ellipse 80% 50% at 20% 40%, rgba(140, 160, 255, 0.13), transparent 55%),
    radial-gradient(ellipse 60% 40% at 85% 70%, rgba(255, 255, 255, 0.08), transparent 50%),
    radial-gradient(ellipse 50% 60% at 50% 100%, rgba(180, 200, 255, 0.06), transparent 45%);
  animation: liquid-mesh-shift 22s ease-in-out infinite;
}

@keyframes liquid-mesh-shift {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
    filter: hue-rotate(0deg);
  }
  33% {
    transform: translate(2%, -1%) scale(1.03);
    filter: hue-rotate(12deg);
  }
  66% {
    transform: translate(-1%, 2%) scale(0.98);
    filter: hue-rotate(-8deg);
  }
}

.liquid-blob {
  position: absolute;
  filter: blur(72px);
  opacity: 0.42;
  mix-blend-mode: screen;
  animation: liquid-morph 20s ease-in-out infinite;
}

.liquid-blob--1 {
  width: min(90vw, 520px);
  height: min(90vw, 520px);
  left: -15%;
  top: 15%;
  background: linear-gradient(
    125deg,
    rgba(255, 255, 255, 0.14),
    rgba(120, 140, 220, 0.18),
    rgba(255, 255, 255, 0.04)
  );
  border-radius: 58% 42% 62% 38% / 48% 55% 45% 52%;
  animation-duration: 23s;
}

.liquid-blob--2 {
  width: min(70vw, 400px);
  height: min(70vw, 400px);
  right: -10%;
  top: 40%;
  background: linear-gradient(
    210deg,
    rgba(200, 220, 255, 0.12),
    rgba(255, 255, 255, 0.08),
    rgba(100, 110, 180, 0.1)
  );
  border-radius: 40% 60% 55% 45% / 55% 40% 60% 45%;
  animation-duration: 19s;
  animation-delay: -4s;
}

.liquid-blob--3 {
  width: min(100vw, 600px);
  height: min(80vw, 480px);
  left: 20%;
  bottom: -20%;
  background: linear-gradient(
    300deg,
    rgba(255, 255, 255, 0.06),
    rgba(160, 180, 255, 0.1),
    rgba(255, 255, 255, 0.03)
  );
  border-radius: 45% 55% 48% 52% / 52% 48% 55% 45%;
  animation-duration: 26s;
  animation-delay: -9s;
}

@keyframes liquid-morph {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg) scale(1);
    border-radius: 58% 42% 62% 38% / 48% 55% 45% 52%;
  }
  25% {
    transform: translate(4%, -3%) rotate(90deg) scale(1.06);
    border-radius: 42% 58% 52% 48% / 44% 52% 48% 56%;
  }
  50% {
    transform: translate(-3%, 4%) rotate(180deg) scale(0.94);
    border-radius: 52% 48% 44% 56% / 58% 42% 54% 46%;
  }
  75% {
    transform: translate(2%, 2%) rotate(270deg) scale(1.02);
    border-radius: 48% 52% 58% 42% / 50% 48% 50% 50%;
  }
}

.glass-slab {
  position: absolute;
  border-radius: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: linear-gradient(
    155deg,
    rgba(255, 255, 255, 0.14) 0%,
    rgba(255, 255, 255, 0.03) 42%,
    rgba(255, 255, 255, 0.08) 100%
  );
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.35),
    inset 0 -1px 0 rgba(0, 0, 0, 0.15),
    0 12px 40px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(28px) saturate(165%);
  -webkit-backdrop-filter: blur(28px) saturate(165%);
  animation: glass-drift 28s ease-in-out infinite;
}

.glass-slab--a {
  width: min(55vw, 340px);
  height: min(45vw, 280px);
  left: 8%;
  top: 55%;
  transform: rotate(-8deg);
  opacity: 0.35;
  animation-delay: -2s;
}

@keyframes glass-drift {
  0%,
  100% {
    transform: translate(0, 0) rotate(-8deg);
  }
  50% {
    transform: translate(4vw, -6vh) rotate(-4deg);
  }
}

.glass-slab--b {
  width: min(48vw, 300px);
  height: min(38vw, 220px);
  right: 5%;
  top: 18%;
  opacity: 0.28;
  animation: glass-drift-b 32s ease-in-out infinite;
  animation-delay: -12s;
}

@keyframes glass-drift-b {
  0%,
  100% {
    transform: translate(0, 0) rotate(12deg);
  }
  50% {
    transform: translate(-5vw, 8vh) rotate(8deg);
  }
}

.glass-orb {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: radial-gradient(
    circle at 35% 30%,
    rgba(255, 255, 255, 0.2),
    rgba(255, 255, 255, 0.04) 45%,
    rgba(120, 130, 200, 0.08) 100%
  );
  box-shadow:
    inset 0 0 40px rgba(255, 255, 255, 0.12),
    0 8px 32px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  animation: glass-orb-float 18s ease-in-out infinite;
}

.glass-orb--sm {
  width: min(28vw, 160px);
  height: min(28vw, 160px);
  right: 18%;
  bottom: 28%;
  opacity: 0.4;
  animation-delay: -5s;
}

.glass-orb--lg {
  width: min(42vw, 240px);
  height: min(42vw, 240px);
  left: 12%;
  top: 22%;
  opacity: 0.22;
  animation-duration: 24s;
  animation-delay: -8s;
}

@keyframes glass-orb-float {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(3vw, -4vh) scale(1.05);
  }
}

.landing-scanline {
  position: fixed;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  opacity: 0.4;
  background: linear-gradient(
    transparent 0%,
    rgba(255, 255, 255, 0.03) 50%,
    transparent 100%
  );
  background-size: 100% 8px;
  animation: landing-scan 14s linear infinite;
}

@keyframes landing-scan {
  to {
    background-position: 0 200px;
  }
}

.bg-blobs {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.bg-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.3;
  transform: translate(
    calc((var(--mx) - 0.5) * 40px),
    calc((var(--my) - 0.5) * 30px)
  );
}

.bg-blob--a {
  left: -25%;
  top: 0;
  width: 80vw;
  height: 80vh;
  background: radial-gradient(
    ellipse,
    rgba(80, 90, 140, 0.35) 0%,
    transparent 70%
  );
}

.bg-blob--b {
  right: -25%;
  bottom: 0;
  width: 70vw;
  height: 70vh;
  opacity: 0.25;
  filter: blur(100px);
  background: radial-gradient(
    ellipse,
    rgba(255, 255, 255, 0.12) 0%,
    transparent 65%
  );
  transform: translate(
    calc((var(--mx) - 0.5) * -30px),
    calc((var(--my) - 0.5) * -20px)
  );
}

.glass-header {
  border-radius: 1.25rem;
  margin: 0.75rem auto 0;
  width: calc(100% - 2rem);
  max-width: 42rem;
  padding: 1rem 1.5rem !important;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(10, 10, 14, 0.55);
  backdrop-filter: blur(24px) saturate(170%);
  -webkit-backdrop-filter: blur(24px) saturate(170%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 8px 32px rgba(0, 0, 0, 0.35);
}

@media (min-width: 640px) {
  .glass-header {
    margin-top: 1rem;
    width: min(calc(100% - 3rem), 40rem);
    padding: 1.1rem 1.85rem !important;
  }
}

.glass-header--minimal .header-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.65rem;
}

@media (min-width: 520px) {
  .glass-header--minimal .header-inner {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem 1rem;
  }
}

.header-divider {
  display: none;
  width: 1px;
  height: 0.75rem;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
}

@media (min-width: 520px) {
  .header-divider {
    display: block;
  }
}

.header-tagline {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #52525b;
}

.site-header {
  position: relative;
  z-index: 20;
  max-width: 72rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 1.5rem 0.5rem;
}

@media (min-width: 640px) {
  .site-header {
    padding: 1.5rem 2.5rem 0.5rem;
  }
}

.brand {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.55em;
  text-transform: uppercase;
  color: #a1a1aa;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .nav-actions {
    gap: 1rem;
  }
}

.nav-actions a {
  font-size: 13px;
  text-decoration: none;
  color: #a1a1aa;
  transition: color 0.2s;
}

.nav-actions a:hover {
  color: #fff;
}

.btn-primary {
  display: inline-block;
  padding: 0.625rem 1.25rem;
  border-radius: 9999px;
  background: #fff;
  color: #09090b;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s;
}

.btn-primary:hover {
  background: #e4e4e7;
}

main {
  position: relative;
  z-index: 20;
}

.section {
  max-width: 72rem;
  margin: 0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

@media (min-width: 640px) {
  .section {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }
}

.hero {
  min-height: min(88vh, 640px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-bottom: 3rem;
  padding-top: 1rem;
}

@media (min-width: 640px) {
  .hero {
    padding-bottom: 3.5rem;
  }
}

.kicker {
  margin-bottom: 1rem;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #6e6e73;
  opacity: 0;
  transform: translate3d(0, 32px, 0) scale(0.98);
  animation: hero-in 1.6s cubic-bezier(0.16, 1, 0.3, 1) 0.15s forwards;
}

.hero-title {
  margin: 0;
  max-width: 56rem;
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.hero-title-line {
  display: block;
  font-size: clamp(2.75rem, 12vw, 7.5rem);
  color: #f4f4f5;
  opacity: 0;
  transform: translate3d(0, 32px, 0) scale(0.98);
  animation: hero-in 1.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-title-line:nth-of-type(1) {
  animation-delay: 0.45s;
}

.hero-title-line--shimmer {
  animation-delay: 0.75s;
  background: linear-gradient(
    105deg,
    #fafafa 0%,
    #fafafa 40%,
    rgba(255, 255, 255, 0.5) 50%,
    #fafafa 60%,
    #fafafa 100%
  );
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation:
    hero-in 1.6s cubic-bezier(0.16, 1, 0.3, 1) 0.75s forwards,
    shimmer-move 8s ease-in-out infinite;
}

@keyframes hero-in {
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes shimmer-move {
  0%,
  100% {
    background-position: 100% 0;
  }
  50% {
    background-position: 0% 0;
  }
}

.hero-sub {
  margin-top: 1.35rem;
  max-width: 12rem;
  font-size: clamp(0.8125rem, 2vw, 0.9375rem);
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0.01em;
  color: #86868b;
  opacity: 0;
  transform: translate3d(0, 32px, 0) scale(0.98);
  animation: hero-in 1.6s cubic-bezier(0.16, 1, 0.3, 1) 0.95s forwards;
}

.block {
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2.25rem, 6vh, 3.25rem) 0;
}

.block--ad {
  padding-left: max(1.5rem, env(safe-area-inset-left));
  padding-right: max(1.5rem, env(safe-area-inset-right));
}

.reveal {
  opacity: 0;
  transform: translate3d(0, 22px, 0) scale(0.94);
  filter: blur(6px);
  transition:
    opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.62s cubic-bezier(0.34, 1.2, 0.64, 1),
    filter 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform, opacity, filter;
}

.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  filter: blur(0);
  will-change: auto;
}

.reveal-delay-1 {
  transition-delay: 0.05s;
}

.reveal-delay-2 {
  transition-delay: 0.12s;
}

.reveal-delay-3 {
  transition-delay: 0.2s;
}

.reveal-delay-4 {
  transition-delay: 0.28s;
}

.line-big {
  margin: 0;
  font-size: clamp(1.65rem, 5.2vw, 3.1rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: #f5f5f7;
}

/* Second headline line in same beat (product-film rhythm) */
.line-big--tight {
  margin-top: 0.06rem;
}

.line-big--muted {
  margin-top: 0.45rem;
  max-width: 18rem;
  font-size: clamp(0.6875rem, 1.65vw, 0.8125rem);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6e6e73;
}

.line-big--muted strong {
  font-weight: 500;
  color: #86868b;
}

.line-big--muted em {
  font-style: normal;
  color: #86868b;
}

.orb-section {
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(2rem, 5vh, 3rem) 0;
}

.orb-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.orb {
  position: relative;
  width: min(58vw, 300px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(
      circle at 30% 30%,
      rgba(255, 255, 255, 0.22),
      transparent 55%
    ),
    radial-gradient(
      circle at 70% 60%,
      rgba(120, 140, 255, 0.15),
      transparent 50%
    ),
    conic-gradient(
      from 180deg at 50% 50%,
      rgba(255, 255, 255, 0.06),
      rgba(255, 255, 255, 0.02),
      rgba(200, 210, 255, 0.08),
      rgba(255, 255, 255, 0.04),
      rgba(255, 255, 255, 0.06)
    );
  filter: blur(0.5px);
  box-shadow:
    0 0 120px rgba(255, 255, 255, 0.06),
    inset 0 0 80px rgba(255, 255, 255, 0.04);
  animation: orb-breathe 10s ease-in-out infinite;
}

.orb--glass {
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  background:
    radial-gradient(
      circle at 28% 26%,
      rgba(255, 255, 255, 0.35),
      transparent 42%
    ),
    radial-gradient(
      circle at 72% 64%,
      rgba(160, 175, 255, 0.2),
      transparent 48%
    ),
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.1) 0%,
      rgba(255, 255, 255, 0.02) 50%,
      rgba(100, 110, 180, 0.08) 100%
    );
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.15),
    inset 0 1px 40px rgba(255, 255, 255, 0.12),
    0 0 100px rgba(140, 160, 255, 0.12),
    0 24px 80px rgba(0, 0, 0, 0.45);
  filter: none;
}

@keyframes orb-breathe {
  0%,
  100% {
    transform: scale(1) rotate(0deg);
    opacity: 0.85;
  }
  50% {
    transform: scale(1.04) rotate(4deg);
    opacity: 1;
  }
}

.orb-caption {
  margin-top: 1.35rem;
  max-width: 14rem;
  text-align: center;
  font-size: clamp(0.6875rem, 1.65vw, 0.8125rem);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6e6e73;
}

.wait-section {
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2.5rem, 7vh, 4rem) 0;
}

.wait-line {
  margin: 0;
  font-size: clamp(1.85rem, 7vw, 4.5rem);
  font-weight: 600;
  letter-spacing: -0.038em;
  line-height: 1.05;
  color: #f5f5f7;
}

.wait-line--dim {
  margin-top: 0.15rem;
  font-size: clamp(1.85rem, 7vw, 4.5rem);
  font-weight: 600;
  letter-spacing: -0.038em;
  line-height: 1.05;
  color: #424245;
}

.footer-epilogue {
  padding: 2.5rem 1.5rem 3.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.epilogue-inner {
  max-width: 36rem;
  margin: 0 auto;
  text-align: center;
}

.epilogue-mark {
  margin: 0 0 0.65rem;
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: #fafafa;
}

.epilogue-line {
  margin: 0 0 0.85rem;
  font-size: clamp(0.8125rem, 1.9vw, 0.9375rem);
  line-height: 1.5;
  font-weight: 400;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #6e6e73;
}

.epilogue-dot {
  margin: 0 0.35rem;
  color: #3f3f46;
}

.epilogue-quiet {
  margin: 0;
  font-size: 0.8125rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #48484a;
}

/* Legacy utility classes (admin / future) */
.btn-wide {
  display: inline-block;
  width: 100%;
  max-width: 280px;
  padding: 1rem 2.5rem;
  border-radius: 9999px;
  font-size: 15px;
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  transition:
    background 0.2s,
    border-color 0.2s,
    color 0.2s;
}

.btn-wide--solid {
  background: #fff;
  color: #09090b;
  border: none;
}

.btn-wide--outline {
  background: transparent;
  color: #d4d4d8;
  border: 1px solid #3f3f46;
}

.block-kicker {
  margin: 0 0 0.5rem;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #6e6e73;
}

.pulse-section {
  padding: 2.25rem 1.5rem 2.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.pulse-section .pulse-shell {
  margin-left: auto;
  margin-right: auto;
}

.pulse-shell {
  max-width: 30rem;
  margin: 0 auto;
  padding: 1.65rem 1.5rem 1.85rem;
  border-radius: 1.85rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(
    165deg,
    rgba(255, 255, 255, 0.09) 0%,
    rgba(255, 255, 255, 0.025) 50%,
    rgba(80, 90, 120, 0.07) 100%
  );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 24px 64px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(28px) saturate(165%);
  -webkit-backdrop-filter: blur(28px) saturate(165%);
}

.pulse-title {
  margin: 0 0 0.45rem;
  font-size: clamp(1.4rem, 3.5vw, 1.6rem);
  font-weight: 600;
  letter-spacing: -0.028em;
  color: #f5f5f7;
}

.pulse-lead {
  margin: 0 0 1.1rem;
  font-size: 1rem;
  line-height: 1.55;
  color: #a1a1aa;
}

.pulse-stat {
  margin: 0 0 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 0.75rem;
}

.pulse-stat-num {
  font-size: 2.25rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #fafafa;
}

.pulse-stat-label {
  font-size: 0.9375rem;
  color: #86868b;
  max-width: 13rem;
  line-height: 1.35;
}

.btn-interest {
  display: block;
  width: 100%;
  margin-bottom: 0.75rem;
  padding: 0.95rem 1.35rem;
  border: none;
  border-radius: 9999px;
  background: #fff;
  color: #09090b;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.btn-interest:hover:not(:disabled) {
  background: #e4e4e7;
}

.btn-interest:disabled {
  opacity: 0.65;
  cursor: default;
}

.pulse-micro {
  margin: 0 0 1.75rem;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: #636366;
}

.pulse-divider {
  height: 1px;
  margin: 0 0 1.5rem;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.12),
    transparent
  );
}

.pulse-label {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #86868b;
}

.pulse-textarea,
.pulse-input {
  width: 100%;
  margin-bottom: 1rem;
  padding: 0.9rem 1.05rem;
  border-radius: 1.05rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.35);
  color: #fafafa;
  font-size: 0.9375rem;
  font-family: inherit;
  resize: vertical;
}

.pulse-textarea:focus,
.pulse-input:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.28);
}

.btn-feedback {
  width: 100%;
  padding: 0.9rem 1.3rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.06);
  color: #e4e4e7;
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition:
    background 0.2s,
    border-color 0.2s;
}

.btn-feedback:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-feedback:disabled {
  opacity: 0.5;
  cursor: default;
}

.pulse-status {
  margin: 1rem 0 0;
  min-height: 1.25rem;
  font-size: 0.9375rem;
  color: #86efac;
}

.pulse-link {
  color: #7dd3fc;
  text-decoration: none;
  border-bottom: 1px solid rgba(125, 211, 252, 0.35);
}

.pulse-link:hover {
  color: #bae6fd;
}

.pulse-code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.75em;
  padding: 0.1em 0.35em;
  border-radius: 0.25rem;
  background: rgba(255, 255, 255, 0.08);
  color: #e4e4e7;
}

/* —— Apple-style product layout (inspired by apple.com product pages) —— */
.liquid-stage--subtle .liquid-mesh {
  opacity: 0.35;
}

.liquid-stage--subtle .liquid-blob {
  opacity: 0.28;
}

.apple-nav {
  position: relative;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1068px;
  margin: 0 auto;
  padding: 1.1rem 1.5rem 1.35rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.apple-nav__brand {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.022em;
  color: #f5f5f7;
}

.apple-nav__meta {
  font-size: 13px;
  color: #86868b;
  letter-spacing: -0.01em;
}

.apple-hero {
  position: relative;
  z-index: 20;
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(2.75rem, 8vw, 4.75rem) 1.5rem clamp(3.25rem, 10vw, 5.25rem);
  text-align: center;
}

.apple-hero__eyebrow {
  margin: 0 0 1.1rem;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #6e6e73;
}

.apple-hero__title {
  margin: 0 0 1.75rem;
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.apple-hero__line {
  display: block;
  font-size: clamp(2.5rem, 10vw, 5.5rem);
  color: #f5f5f7;
}

.apple-hero__line--grad {
  background: linear-gradient(
    105deg,
    #f5f5f7 0%,
    #f5f5f7 38%,
    rgba(200, 210, 255, 0.85) 50%,
    #f5f5f7 62%,
    #f5f5f7 100%
  );
  background-size: 180% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: apple-grad-shift 9s ease-in-out infinite;
}

@keyframes apple-grad-shift {
  0%,
  100% {
    background-position: 100% 0;
  }
  50% {
    background-position: 0% 0;
  }
}

.apple-hero__lead {
  margin: 0 auto;
  max-width: 40rem;
  text-align: left;
  font-size: clamp(15px, 1.9vw, 17px);
  line-height: 1.58;
  font-weight: 400;
  color: #a1a1aa;
}

.apple-hero__lead strong {
  font-weight: 600;
  color: #d1d1d6;
}

@media (min-width: 640px) {
  .apple-hero__lead {
    text-align: center;
  }
}

.apple-scrolly {
  position: relative;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 300px);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
  max-width: 1068px;
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
}

.apple-scrolly__copy {
  min-width: 0;
}

.apple-scrolly__device {
  position: sticky;
  top: max(5.5rem, 10vh);
  justify-self: end;
  width: 100%;
  max-width: 280px;
}

.story-panel {
  min-height: min(88vh, 640px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 6vh, 3.5rem) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.story-panel:first-child {
  border-top: none;
  padding-top: 0;
}

.story-panel__eyebrow {
  margin: 0 0 0.55rem;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #6e6e73;
}

.story-panel__headline {
  margin: 0 0 0.85rem;
  font-size: clamp(1.65rem, 3.9vw, 2.4rem);
  font-weight: 600;
  line-height: 1.07;
  letter-spacing: -0.038em;
  color: #f5f5f7;
}

.story-panel__body {
  margin: 0;
  max-width: 30em;
  font-size: clamp(15px, 1.85vw, 17px);
  line-height: 1.55;
  color: #a1a1aa;
}

.device-shell {
  filter: drop-shadow(0 28px 50px rgba(0, 0, 0, 0.55));
  transition: transform 0.65s cubic-bezier(0.34, 1.15, 0.64, 1);
}

.device-shell.is-tilt {
  transform: perspective(900px) rotateY(-4deg) rotateX(2deg) translateY(-4px);
}

.device-bezel {
  position: relative;
  border-radius: 42px;
  padding: 11px;
  background: linear-gradient(
    145deg,
    #2c2c2e 0%,
    #1c1c1e 40%,
    #0d0d0f 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    inset 0 -1px 0 rgba(0, 0, 0, 0.4);
}

.device-notch {
  position: absolute;
  top: 18px;
  left: 50%;
  z-index: 5;
  width: 88px;
  height: 26px;
  margin-left: -44px;
  border-radius: 20px;
  background: #0a0a0b;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.device-screen {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  background: #0a0a0b;
  aspect-ratio: 9 / 19.2;
}

.device-screen__inner {
  position: absolute;
  inset: 0;
}

.ui-screen {
  position: absolute;
  inset: 0;
  padding: 48px 14px 20px;
  opacity: 0;
  transform: scale(0.97);
  transition:
    opacity 0.45s cubic-bezier(0.25, 0.1, 0.25, 1),
    transform 0.55s cubic-bezier(0.34, 1.1, 0.64, 1);
  pointer-events: none;
}

.ui-screen.is-active {
  opacity: 1;
  transform: scale(1);
  z-index: 2;
  pointer-events: auto;
}

.ui-status {
  position: absolute;
  top: 14px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #f5f5f7;
}

.ui-home {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 2.5rem;
}

.ui-home__logo {
  margin: 0 0 1.25rem;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #86868b;
}

.ui-home__tabs {
  display: flex;
  gap: 0.35rem;
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #48484a;
}

.ui-home__tabs .on {
  color: #f5f5f7;
}

.ui-home__hint {
  margin-top: 2rem;
  width: 72%;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.12),
    transparent
  );
}

.ui-chatbar {
  margin-bottom: 12px;
  padding-bottom: 8px;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  letter-spacing: -0.02em;
  color: #f5f5f7;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ui-bubbles {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ui-bubble {
  max-width: 92%;
  padding: 8px 11px;
  border-radius: 14px;
  font-size: 11px;
  line-height: 1.35;
}

.ui-bubble--user {
  align-self: flex-end;
  background: #f5f5f7;
  color: #1d1d1f;
}

.ui-bubble--bot {
  align-self: flex-start;
  background: #2c2c2e;
  color: #d1d1d6;
}

.ui-card {
  margin-top: 0.5rem;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(52, 211, 153, 0.35);
  background: rgba(16, 185, 129, 0.08);
}

.ui-card--confirm .ui-card__label {
  margin: 0 0 4px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6ee7b7;
}

.ui-card__title {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 600;
  color: #f5f5f7;
}

.ui-card__meta {
  margin: 0 0 12px;
  font-size: 11px;
  color: #a1a1aa;
}

.ui-card__actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

.ui-btn {
  padding: 5px 12px;
  border-radius: 9999px;
  font-size: 10px;
  font-weight: 600;
}

.ui-btn--ghost {
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #a1a1aa;
}

.ui-btn--go {
  background: #34d399;
  color: #052e16;
}

.ui-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ui-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 11px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  font-size: 11px;
}

.ui-row__t {
  font-weight: 500;
  color: #f5f5f7;
}

.ui-row__d {
  color: #86868b;
  font-size: 10px;
}

.ui-settings {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ui-setrow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 11px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  font-size: 11px;
  color: #d1d1d6;
}

.ui-pill {
  padding: 3px 9px;
  border-radius: 9999px;
  font-size: 10px;
  background: rgba(255, 255, 255, 0.1);
  color: #f5f5f7;
}

.ui-host {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
  padding: 1rem;
}

.ui-host__icon {
  width: 44px;
  height: 44px;
  margin-bottom: 12px;
  border-radius: 12px;
  background: linear-gradient(145deg, #3b3b3d, #1c1c1e);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.ui-host__t {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 600;
  color: #f5f5f7;
}

.ui-host__s {
  margin: 0;
  font-size: 10px;
  line-height: 1.45;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6e6e73;
}

.apple-closer {
  position: relative;
  z-index: 20;
  text-align: center;
  padding: clamp(3rem, 12vw, 5rem) 1.5rem;
}

.apple-closer__line {
  margin: 0;
  font-size: clamp(1.75rem, 6vw, 3.5rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: #f5f5f7;
}

.apple-closer__line--dim {
  color: #3a3a3c;
}

@media (max-width: 900px) {
  .apple-scrolly {
    grid-template-columns: 1fr;
  }

  .apple-scrolly__device {
    position: sticky;
    top: 3.5rem;
    order: -1;
    justify-self: center;
    max-width: 260px;
    margin-bottom: 0.5rem;
    z-index: 15;
  }

  .story-panel {
    min-height: auto;
    padding: 2rem 0;
  }

  .device-shell.is-tilt {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .landing-scanline,
  .orb,
  .orb--glass,
  .hero-title-line--shimmer,
  .liquid-mesh,
  .liquid-blob,
  .glass-slab,
  .glass-orb {
    animation: none !important;
  }

  .kicker,
  .hero-title-line,
  .hero-sub {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .hero-title-line--shimmer {
    color: #fafafa;
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
    will-change: auto !important;
  }

  .apple-hero__line--grad {
    animation: none !important;
    color: #f5f5f7 !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
  }

  .ui-screen {
    transition: none !important;
    transform: none !important;
  }

  .device-shell {
    transition: none !important;
  }

  html {
    scroll-behavior: auto;
  }
}
