/* Homepage Hero Section Styles - Scoped to .hero */

/* Scoped tokens for .hero */
.hero {
  --surface: rgba(255, 255, 255, 0.8);
  --surface-2: #fff;
  --border: rgba(7, 9, 13, 0.09);
  --text: #0b0d12;
  --muted: #5f6674;
  --accent: #b7194a;
  --accent-rgb: 183, 25, 74;
  --accent-soft: #e0245e;
  --accent-pale: #ff8cb2;
  --button-text: #fff;
  --shadow: 0 28px 80px rgba(36, 42, 55, 0.14), 0 3px 14px rgba(36, 42, 55, 0.08);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --bg: #f5f6f8;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

[data-theme="dark"] .hero {
  --surface: rgba(255, 255, 255, 0.05);
  --surface-2: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.1);
  --text: #f2f4f7;
  --muted: #ffffffc4;
  --accent: #e0245e;
  --accent-rgb: 224, 36, 94;
  --accent-soft: #ff5c96;
  --accent-pale: #ffc1d5;
  --button-text: #fff;
  --shadow: 0 30px 100px rgba(0, 0, 0, 0.55), 0 2px 12px rgba(0, 0, 0, 0.4);
  --bg: #07090d;
}

.hero button,
.hero a {
  font: inherit;
  color: inherit;
  text-decoration: none;
}
.hero svg {
  display: block;
}
.hero + .ticker {
  border-top: none;
}
.hero[data-service="voice"] {
  --accent: #e0245e;
  --accent-rgb: 224, 36, 94;
  --accent-soft: #ff5c96;
  --accent-pale: #ffc1d5;
  --button-text: #fff;
}
.hero[data-service="chat"] {
  --accent: #167fc4;
  --accent-rgb: 45, 168, 255;
  --accent-soft: #2da8ff;
  --accent-pale: #a7dcff;
  --button-text: #06131c;
}
.hero[data-service="custom"] {
  --accent: #3b4455;
  --accent-rgb: 100, 112, 132;
  --accent-soft: #6c778a;
  --accent-pale: #c9d1dd;
  --button-text: #fff;
}
[data-theme="dark"] .hero[data-service="chat"] {
  --accent: #2da8ff;
  --accent-rgb: 45, 168, 255;
  --accent-soft: #67c1ff;
  --accent-pale: #c2e8ff;
  --button-text: #071019;
}
[data-theme="dark"] .hero[data-service="custom"] {
  --accent: #c9d1dd;
  --accent-rgb: 201, 209, 221;
  --accent-soft: #e6ebf2;
  --accent-pale: #fff;
  --button-text: #10141b;
}
[data-theme="light"] .hero[data-service="voice"] {
  --accent: #b7194a;
  --accent-rgb: 183, 25, 74;
  --accent-soft: #d72a60;
  --accent-pale: #ef78a0;
  --button-text: #fff;
}
[data-theme="light"] .hero[data-service="chat"] {
  --accent: #167fc4;
  --accent-rgb: 22, 127, 196;
  --accent-soft: #299ce7;
  --accent-pale: #75c7f7;
  --button-text: #071019;
}
[data-theme="light"] .hero[data-service="custom"] {
  --accent: #3b4455;
  --accent-rgb: 59, 68, 85;
  --accent-soft: #626d80;
  --accent-pale: #9ca7b8;
  --button-text: #fff;
}
.drum {
  max-width: calc(100vw - 54px);
}

/* HERO */
.hero {
  display: block;
  position: relative;
  min-height: max(100vh, 780px);
  padding: 126px 0 0;
  isolation: isolate;
  --card-w: min(560px, 78vw);
  transition: --accent 0.6s;
}
.hero-inner {
  width: min(1200px, calc(100% - 32px));
  margin: auto;
  text-align: center;
  position: relative;
  z-index: 2;
}
.horizon {
  position: absolute;
  z-index: -1;
  width: min(1100px, 100vw);
  height: 630px;
  left: 50%;
  top: 510px;
  transform: translateX(-50%);
  border-radius: 50% 50% 0 0;
  opacity: 0.28;
  background: radial-gradient(
    ellipse at 50% 68%,
    rgba(var(--accent-rgb), 0.38) 0,
    rgba(var(--accent-rgb), 0.1) 33%,
    transparent 68%
  );
  filter: blur(15px);
  transition: background 0.7s;
}
.horizon:after {
  content: "";
  position: absolute;
  inset: 34% 9% auto;
  height: 50%;
  border-top: 1px solid rgba(var(--accent-rgb), 0.34);
  border-radius: 50%;
  filter: blur(0.2px);
}
.ambient-grid {
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 680px;
  width: min(1200px, 110vw);
  height: 560px;
  transform: translateX(-50%) perspective(500px) rotateX(62deg);
  transform-origin: top;
  background-image:
    linear-gradient(rgba(var(--accent-rgb), 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--accent-rgb), 0.12) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(ellipse at center top, #000, transparent 66%);
  opacity: 0.45;
}
.hero:after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}
.eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  font: 600 11px "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow-line {
  width: 48px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--accent-rgb), 0.7));
}
.eyebrow-line:last-child {
  transform: scaleX(-1);
}
.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(var(--accent-rgb), 0.12);
  animation: pulse 2s infinite;
  transition: background 0.6s;
}
@keyframes pulse {
  50% {
    box-shadow: 0 0 0 9px rgba(var(--accent-rgb), 0);
  }
}
.hero h1, #hero-title {
  margin: 24px auto 0;
  font: 700 clamp(2.65rem, 6.2vw, 5.65rem)/0.98 "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  letter-spacing: -0.035em;
}
.title-line {
  display: block;
  overflow: hidden;
}
.title-line > span {
  display: block;
  animation: titleIn 0.9s var(--ease) both;
}
.title-line:nth-child(2) > span {
  animation-delay: 0.1s;
}
@keyframes titleIn {
  from {
    transform: translateY(110%) rotate(2deg);
  }
  to {
    transform: none;
  }
}
.drum-line {
  display: flex;
  height: 1.18em;
  align-items: center;
  justify-content: center;
  gap: 0.13em;
  perspective: 900px;
  animation: drumReveal 0.9s 0.2s var(--ease) both;
}
@keyframes drumReveal {
  from {
    opacity: 0;
    transform: translateY(35px) rotateX(-25deg);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.drum-bracket {
  font: 400 0.42em "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  letter-spacing: 0;
  color: var(--muted);
  transition: transform 0.5s var(--ease);
}
.drum-line.changing .drum-bracket:first-child {
  transform: translateX(-8px);
}
.drum-line.changing .drum-bracket:last-child {
  transform: translateX(8px);
}
.drum {
  position: relative;
  height: 1.1em;
  width: 7.35em;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  perspective: 900px;
  font: inherit;
  letter-spacing: inherit;
  transition: width 0.6s var(--ease);
}
.drum:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 8px;
  border-radius: 8px;
}
.drum-cylinder {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.8s cubic-bezier(0.65, 0, 0.35, 1);
}
.drum-face {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  backface-visibility: hidden;
  white-space: nowrap;
  background: #e0a431;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  filter: drop-shadow(0 8px 20px rgba(var(--accent-rgb), 0.2));
  transition: filter 0.35s;
}
.drum-face[data-face="0"] {
  transform: rotateX(0deg) translateZ(0.64em);
}
.drum-face[data-face="1"] {
  transform: rotateX(-120deg) translateZ(0.64em);
}
.drum-face[data-face="2"] {
  transform: rotateX(-240deg) translateZ(0.64em);
}
.drum-reflection {
  position: absolute;
  inset: 80% 0 auto;
  white-space: nowrap;
  transform: scaleY(-0.35);
  filter: blur(4px);
  opacity: 0.09;
  background: linear-gradient(var(--accent), transparent);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  pointer-events: none;
}
.word-swash {
  position: absolute;
  left: 2%;
  bottom: -0.03em;
  width: 96%;
  height: 0.22em;
  overflow: visible;
}
.word-swash path {
  fill: none;
  stroke: var(--accent);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 800;
  stroke-dashoffset: 0;
  opacity: 0.75;
}
.word-swash.redraw path {
  animation: draw 0.85s var(--ease);
}
@keyframes draw {
  from {
    stroke-dashoffset: 800;
  }
  to {
    stroke-dashoffset: 0;
  }
}
.hero-copy {
  max-width: 58ch;
  min-height: 50px;
  margin: 23px auto 0;
  color: var(--muted);
  font-size: clamp(0.95rem, 1.2vw, 1.08rem);
  line-height: 1.65;
}
.hero-copy.swap {
  animation: copySwap 0.52s var(--ease);
}
@keyframes copySwap {
  0% {
    opacity: 1;
    filter: blur(0);
    transform: none;
  }
  45% {
    opacity: 0;
    filter: blur(5px);
    transform: translateY(-5px);
  }
  55% {
    opacity: 0;
    filter: blur(5px);
    transform: translateY(5px);
  }
  100% {
    opacity: 1;
    filter: blur(0);
    transform: none;
  }
}
.cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
  flex-wrap: wrap;
}
.primary-cta {
  height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 26px 0 28px;
  border-radius: 9999px;
  background: var(--accent);
  color: var(--button-text);
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
  box-shadow:
    0 10px 24px -4px rgba(var(--accent-rgb), 0.44),
    0 4px 10px -2px rgba(var(--accent-rgb), 0.22);
  transition:
    background 0.6s var(--ease),
    color 0.4s,
    box-shadow 0.25s var(--ease);
}
.primary-cta:hover {
  box-shadow:
    0 14px 28px -4px rgba(var(--accent-rgb), 0.55),
    0 6px 14px -2px rgba(var(--accent-rgb), 0.28);
}
.primary-cta:active {
  box-shadow: 0 6px 16px -2px rgba(var(--accent-rgb), 0.36);
}
.primary-cta .cta-arrow {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
  transition: transform 0.25s var(--ease);
}
.primary-cta:hover .cta-arrow {
  transform: translateX(3px);
}
.secondary-cta {
  height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 28px;
  border-radius: 9999px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text);
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
  transition:
    background 0.3s var(--ease),
    border-color 0.3s var(--ease),
    color 0.3s,
    box-shadow 0.25s var(--ease);
}
.secondary-cta:hover {
  border-color: color-mix(in srgb, var(--text) 24%, var(--border));
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
}
.secondary-cta:active {
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.04);
}
/* SELECTOR */
.service-tabs {
  position: relative;
  display: inline-grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 31px auto 0;
  padding: 5px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(15px);
}
.service-tabs button {
  position: relative;
  z-index: 2;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 126px;
  padding: 0 15px;
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.35s;
}
.service-tabs button svg {
  width: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}
.service-tabs button[aria-selected="true"] {
  color: var(--text);
}
.service-tabs button i {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 3px;
  height: 2px;
  border-radius: 2px;
  overflow: hidden;
}
.service-tabs button[aria-selected="true"] i:after {
  content: "";
  display: block;
  height: 100%;
  background: var(--accent);
  animation: tabProgress 5s linear;
}
.service-tabs.manual button[aria-selected="true"] i:after {
  animation: none;
}
@keyframes tabProgress {
  from {
    transform: scaleX(0);
    transform-origin: left;
  }
  to {
    transform: scaleX(1);
    transform-origin: left;
  }
}
.tab-highlight {
  position: absolute;
  z-index: 1;
  left: 5px;
  top: 5px;
  width: calc((100% - 10px) / 3);
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface-2);
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.08);
  transform: translateX(calc(var(--active-index, 0) * 100%));
  transition: transform 0.65s var(--ease);
}
/* COVERFLOW */
.coverflow-wrap {
  position: relative;
  height: 456px;
  margin-top: 27px;
  perspective: 1400px;
}
.coverflow {
  height: 405px;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.2s ease-out;
}
.service-card {
  position: absolute;
  overflow: hidden;
  top: 0;
  left: 50%;
  width: var(--card-w);
  height: 392px;
  margin-left: calc(var(--card-w) / -2);
  border: 1px solid var(--border);
  border-radius: 28px;
  background: linear-gradient(
    145deg,
    color-mix(in srgb, var(--surface-2) 95%, var(--accent) 5%),
    var(--surface-2)
  );
  box-shadow:
    var(--shadow),
    inset 0 1px rgba(255, 255, 255, 0.12);
  text-align: left;
  transform-style: preserve-3d;
  transition:
    transform 0.8s var(--ease),
    opacity 0.8s var(--ease),
    filter 0.8s var(--ease),
    border-color 0.6s;
  cursor: pointer;
}
.service-card:before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1),
    transparent 32%
  );
  z-index: 3;
}
.service-card.is-left {
  transform: translateX(-62%) scale(0.82) rotateY(24deg);
  filter: blur(1px);
  opacity: 0.65;
  z-index: 1;
}
.service-card.is-right {
  transform: translateX(62%) scale(0.82) rotateY(-24deg);
  filter: blur(1px);
  opacity: 0.65;
  z-index: 1;
}
.service-card.is-active {
  transform: translateX(0) scale(1) rotateY(0);
  filter: none;
  opacity: 1;
  z-index: 5;
  cursor: default;
  border-color: rgba(var(--accent-rgb), 0.35);
  background: linear-gradient(
    145deg,
    color-mix(in srgb, var(--surface-2) 92%, var(--accent) 8%),
    var(--surface-2)
  );
}
[data-theme="dark"] .service-card {
  background: linear-gradient(
    145deg,
    color-mix(in srgb, #1c1822 94%, var(--accent) 6%),
    #0f0d13
  );
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.7),
    0 4px 18px rgba(0, 0, 0, 0.5);
}
[data-theme="dark"] .service-card.is-active {
  background: linear-gradient(
    145deg,
    color-mix(in srgb, #1f1a26 90%, var(--accent) 10%),
    #121017
  );
  opacity: 1;
  z-index: 5;
  border-color: color-mix(
    in srgb,
    var(--accent) 55%,
    rgba(243, 222, 181, 0.25)
  );
}
[data-theme="dark"] .service-card.is-left,
[data-theme="dark"] .service-card.is-right {
  opacity: 0.6;
  filter: blur(1px);
  z-index: 1;
}
.card-chrome,
.card-status {
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 19px;
  font: 500 9px "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  letter-spacing: 0.12em;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
}
.window-dots {
  display: flex;
  gap: 6px;
}
.window-dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--border);
}
.window-dots i:first-child {
  background: var(--accent);
  box-shadow: 0 0 10px rgba(var(--accent-rgb), 0.6);
}
.card-status {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 42px;
  border: 0;
  border-top: 1px solid var(--border);
  letter-spacing: 0.05em;
}
.card-status span {
  display: flex;
  align-items: center;
  gap: 7px;
}
.card-status span i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(var(--accent-rgb), 0.6);
}
.card-status b {
  font-weight: 500;
  color: var(--text);
}
.floor-reflection {
  position: absolute;
  left: 50%;
  bottom: 3px;
  width: min(670px, 75vw);
  height: 90px;
  transform: translateX(-50%) perspective(300px) rotateX(70deg);
  border-radius: 50%;
  background: radial-gradient(
    ellipse,
    rgba(var(--accent-rgb), 0.22),
    transparent 66%
  );
  filter: blur(14px);
  transition: background 0.7s;
}
/* VOICE CARD */
.voice-stage {
  height: 304px;
  padding: 17px 24px;
  position: relative;
  background: radial-gradient(
    circle at 50% 45%,
    rgba(var(--accent-rgb), 0.12),
    transparent 48%
  );
}
.call-orbit {
  display: flex;
  align-items: center;
  gap: 7px;
  font: 500 8px "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  letter-spacing: 0.14em;
  color: var(--muted);
}
.call-orbit span {
  width: 7px;
  height: 7px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(var(--accent-rgb), 0.12);
}
.caller-line {
  margin: 18px 0 0;
  font-size: 11px;
  color: var(--muted);
}
.sound-ribbon {
  width: 100%;
  height: 116px;
  overflow: visible;
}
.wave {
  fill: none;
  stroke-width: 3;
  stroke-linecap: round;
}
.wave-glow {
  stroke: var(--accent);
  stroke-width: 18;
  opacity: 0.22;
}
.wave-back {
  stroke: var(--accent-pale);
  stroke-width: 1.5;
  opacity: 0.38;
}
.wave-main {
  stroke-width: 3;
}
.caption {
  margin: -3px auto 0;
  min-height: 42px;
  text-align: center;
  font: 500 17px/1.45 "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  letter-spacing: -0.02em;
}
.caption span {
  color: var(--muted);
  transition:
    color 0.2s,
    text-shadow 0.2s;
}
.caption span.lit {
  color: var(--text);
  text-shadow: 0 0 15px rgba(var(--accent-rgb), 0.38);
}
.voice-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 11px;
}
.languages {
  display: flex;
  gap: 5px;
}
.languages span {
  padding: 4px 7px;
  border: 1px solid var(--border);
  border-radius: 99px;
  color: var(--muted);
  font: 8px "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  transition: 0.3s;
}
.languages span.active {
  background: rgba(var(--accent-rgb), 0.14);
  border-color: rgba(var(--accent-rgb), 0.4);
  color: var(--accent);
}
.voice-meta time {
  font: 10px "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--muted);
}
.voice-meta time b {
  color: var(--text);
}
/* CHAT CARD */
.chat-stage {
  position: relative;
  height: 304px;
  padding: 14px 22px;
}
.channel-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  position: relative;
  border-bottom: 1px solid var(--border);
}
.channel-tabs button {
  padding: 7px 0 10px;
  border: 0;
  background: none;
  color: var(--muted);
  font: 500 9px "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  cursor: default;
}
.channel-tabs button.active {
  color: var(--text);
}
.channel-tabs > span {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 33.333%;
  height: 2px;
  background: var(--accent);
  transition: transform 0.5s var(--ease);
}
.chat-date {
  text-align: center;
  margin: 10px 0;
  color: var(--muted);
  font: 7px "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.message {
  display: flex;
  margin: 8px 0;
}
.message > span:not(.bot-mark),
.message > p {
  max-width: 68%;
  margin: 0;
  padding: 9px 12px;
  border-radius: 13px;
  font-size: 11px;
  line-height: 1.45;
}
.message.customer {
  justify-content: flex-end;
}
.message.customer > span {
  background: rgba(var(--accent-rgb), 0.13);
  border: 1px solid rgba(var(--accent-rgb), 0.15);
  border-bottom-right-radius: 4px;
}
.message.bot {
  align-items: flex-start;
  gap: 8px;
}
.bot-mark {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  border-radius: 8px;
  background: var(--accent);
  color: var(--button-text);
  font: 600 9px "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.message.bot > p {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-bottom-left-radius: 4px;
  min-height: 34px;
}
.typing {
  display: none;
  align-items: center;
  gap: 3px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: var(--surface-2);
}
.typing.show {
  display: flex;
}
.typing i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--muted);
  animation: dots 0.8s infinite alternate;
}
.typing i:nth-child(2) {
  animation-delay: 0.2s;
}
.typing i:nth-child(3) {
  animation-delay: 0.4s;
}
@keyframes dots {
  to {
    transform: translateY(-4px);
    opacity: 0.4;
  }
}
.intent-row,
.quick-replies {
  display: flex;
  gap: 6px;
  margin: 8px 0 0 32px;
}
.intent-row span {
  padding: 4px 7px;
  border-radius: 99px;
  background: rgba(var(--accent-rgb), 0.1);
  border: 1px solid rgba(var(--accent-rgb), 0.2);
  color: var(--accent);
  font: 7px "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  opacity: 0;
  transform: translateY(8px) scale(0.9);
}
.chat-card.running .intent-row span {
  animation: tagIn 0.4s var(--ease) forwards;
}
.chat-card.running .intent-row span:nth-child(2) {
  animation-delay: 0.14s;
}
@keyframes tagIn {
  to {
    opacity: 1;
    transform: none;
  }
}
.quick-replies button {
  padding: 6px 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  font-size: 8px;
  color: var(--muted);
  opacity: 0;
  transform: translateY(6px);
}
.chat-card.running .quick-replies button {
  animation: tagIn 0.4s 0.25s var(--ease) forwards;
}
.chat-card.running .quick-replies button:nth-child(2) {
  animation-delay: 0.35s;
}
.reply-speed {
  position: absolute;
  right: 22px;
  bottom: 13px;
  padding: 5px 8px;
  border: 1px solid var(--border);
  border-radius: 99px;
  color: var(--muted);
  font: 7px "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.reply-speed b {
  color: var(--accent);
}
/* BUILD CARD */
.build-stage {
  height: 304px;
  padding: 15px 21px;
  background-image:
    linear-gradient(rgba(var(--accent-rgb), 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--accent-rgb), 0.055) 1px, transparent 1px);
  background-size: 14px 14px;
}
.build-title {
  display: flex;
  justify-content: space-between;
  padding-bottom: 9px;
  border-bottom: 1px solid var(--border);
  font: 500 9px "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  letter-spacing: 0.12em;
}
.build-title small {
  color: var(--muted);
}
.build-body {
  display: grid;
  grid-template-columns: 1fr 120px;
  gap: 22px;
  align-items: center;
  height: 242px;
}
.build-steps {
  padding: 0;
  margin: 0;
  list-style: none;
}
.build-steps li {
  position: relative;
  display: flex;
  gap: 9px;
  align-items: center;
  margin: 9px 0;
  font-size: 10px;
  color: var(--muted);
}
.build-steps li > i {
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  flex: 0 0 18px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--surface-2);
  transition: 0.3s;
}
.build-steps li svg {
  width: 10px;
  fill: none;
  stroke: var(--button-text);
  stroke-width: 2.4;
  stroke-dasharray: 18;
  stroke-dashoffset: 18;
}
.build-steps li > span {
  position: relative;
  flex: 1;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border);
}
.build-steps li small {
  float: right;
  font: 7px "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.build-steps li b {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
}
.build-steps li.done {
  color: var(--text);
}
.build-steps li.done > i {
  background: var(--accent);
  border-color: var(--accent);
}
.build-steps li.done svg {
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 0.4s 0.1s;
}
.build-steps li.done b {
  transform: scaleX(1);
  transition: transform 0.65s var(--ease);
}
.tool-dock {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 8px;
  vertical-align: middle;
}
.tool-dock em {
  display: inline-block;
  padding: 1px 5px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--surface-2);
  font: 600 7px "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  letter-spacing: 0.04em;
  color: var(--text);
  font-style: normal;
  line-height: 1.4;
  opacity: 0;
  transform: scale(0.85);
  transition: border-color 0.3s;
}
.build-steps li.done .tool-dock em {
  animation: dock 0.35s var(--ease) forwards;
}
.build-steps li.done .tool-dock em:nth-child(2) {
  animation-delay: 0.1s;
}
.build-steps li.done .tool-dock em:nth-child(3) {
  animation-delay: 0.2s;
}
@keyframes dock {
  to {
    opacity: 1;
    transform: scale(1);
  }
}
.build-meter {
  position: relative;
  text-align: center;
}
.build-meter svg {
  width: 110px;
  transform: rotate(-90deg);
}
.build-meter circle {
  fill: none;
  stroke: var(--border);
  stroke-width: 4;
}
.build-meter .meter-progress {
  stroke: var(--accent);
  stroke-linecap: round;
  stroke-dasharray: 327;
  stroke-dashoffset: 327;
  transition: stroke-dashoffset 0.6s var(--ease);
}
.build-meter strong {
  position: absolute;
  top: 37px;
  left: 0;
  right: 0;
  font: 600 23px "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.build-meter sup {
  font-size: 9px;
}
.build-meter span {
  display: block;
  margin-top: -3px;
  color: var(--muted);
  font: 6px/1.4 "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  letter-spacing: 0.12em;
}
.build-meter em {
  display: block;
  width: max-content;
  margin: 7px auto 0;
  padding: 4px 8px;
  border: 1px solid var(--accent);
  color: var(--accent);
  font: 600 8px "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-style: normal;
  letter-spacing: 0.14em;
  opacity: 0;
  transform: rotate(-4deg) scale(0.8);
}
.build-meter em.live {
  opacity: 1;
  transform: rotate(-4deg) scale(1);
  transition: 0.45s var(--ease);
}
/* TRUST / MARQUEE / LOAD */
.trust-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  margin: 4px 0 35px;
}
.avatars {
  display: flex;
}
.avatars span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-left: -7px;
  border: 2px solid var(--bg);
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    var(--surface-2),
    rgba(var(--accent-rgb), 0.18)
  );
  font: 600 7px "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.avatars span:first-child {
  margin: 0;
}
.trust-row p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
}
.trust-row b {
  color: var(--text);
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}
.reveal {
  animation: reveal 0.9s 0.35s var(--ease) both;
}
.cta-row.reveal {
  animation-delay: 0.5s;
}
.service-tabs.reveal {
  animation-delay: 0.58s;
}
.coverflow-wrap.reveal {
  animation: coverIn 1s 0.66s var(--ease) both;
}
.trust-row.reveal {
  animation-delay: 0.78s;
}
.marquee.reveal {
  animation-delay: 0.9s;
}
@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes coverIn {
  from {
    opacity: 0;
    transform: translateY(55px) rotateX(10deg);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.service-card {
  cursor: default;
}
.service-tabs button[aria-selected="true"] i:after {
  animation: none;
  transform: scaleX(1);
}

.service-tabs {
  width: min(100%, 516px);
  height: 58px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 4px;
  margin-top: 30px;
  border-color: color-mix(
    in srgb,
    var(--border) 76%,
    rgba(var(--accent-rgb), 0.18)
  );
  background: color-mix(in srgb, var(--surface) 90%, transparent);
  box-shadow:
    0 14px 34px rgba(22, 25, 33, 0.08),
    inset 0 1px rgba(255, 255, 255, 0.22);
}
.service-tabs:before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  border-top: 1px solid rgba(255, 255, 255, 0.34);
  pointer-events: none;
}
.service-tabs .tab-highlight {
  left: 4px;
  top: 4px;
  width: calc((100% - 8px) / 3);
  height: 48px;
  border-color: rgba(var(--accent-rgb), 0.18);
  background: linear-gradient(
    145deg,
    color-mix(in srgb, var(--surface-2) 92%, var(--accent) 8%),
    var(--surface-2)
  );
  box-shadow:
    0 7px 18px rgba(20, 24, 32, 0.1),
    inset 0 1px rgba(255, 255, 255, 0.4);
}
.service-tabs button {
  height: 48px;
  min-width: 0;
  gap: 9px;
  padding: 0 9px;
  font-size: 12px;
  letter-spacing: -0.01em;
}
.service-tabs button svg {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  padding: 6px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: color-mix(in srgb, var(--surface-2) 75%, transparent);
  stroke-width: 1.65;
  transition:
    background 0.4s var(--ease),
    color 0.4s,
    border-color 0.4s,
    transform 0.4s var(--ease),
    box-shadow 0.4s;
}
.service-tabs button[aria-selected="true"] svg {
  color: var(--button-text);
  background: var(--accent);
  border-color: transparent;
  box-shadow: 0 5px 12px rgba(var(--accent-rgb), 0.24);
  transform: rotate(-4deg);
}
.service-tabs button i {
  left: 50%;
  right: auto;
  bottom: 3px;
  width: 16px;
  height: 2px;
  background: var(--accent);
  opacity: 0;
  transform: translateX(-50%) scaleX(0.25);
  transition:
    opacity 0.3s,
    transform 0.4s var(--ease);
}
.service-tabs button i:after {
  display: none;
}
.service-tabs button[aria-selected="true"] i {
  opacity: 1;
  transform: translateX(-50%) scaleX(1);
}
[data-theme="dark"] .service-tabs {
  box-shadow:
    0 16px 38px rgba(0, 0, 0, 0.28),
    inset 0 1px rgba(255, 255, 255, 0.06);
}
[data-theme="dark"] .service-tabs .tab-highlight {
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.095),
    rgba(255, 255, 255, 0.045)
  );
  box-shadow:
    0 8px 20px rgba(0, 0, 0, 0.25),
    inset 0 1px rgba(255, 255, 255, 0.09);
}

/* DRUM FRAME + OUTLINED SECONDARY CTA */
.drum-line {
  gap: clamp(12px, 1.7vw, 24px);
  font-size: 0.9em;
}
.drum-bracket {
  position: relative;
  width: clamp(12px, 0.22em, 20px);
  height: 0.64em;
  flex: 0 0 clamp(12px, 0.22em, 20px);
  font-size: 0;
  color: transparent;
  border-top: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  opacity: 0.72;
  filter: drop-shadow(0 3px 8px rgba(var(--accent-rgb), 0.18));
  transition:
    transform 0.5s var(--ease),
    opacity 0.4s,
    border-color 0.6s;
}
.drum-bracket:first-child {
  border-left: 2px solid var(--accent);
  border-radius: 6px 0 0 6px;
}
.drum-bracket:last-child {
  border-right: 2px solid var(--accent);
  border-radius: 0 6px 6px 0;
}
.drum-bracket:after {
  content: "";
  position: absolute;
  top: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.12);
  transform: translateY(-50%);
}
.drum-bracket:first-child:after {
  left: 4px;
}
.drum-bracket:last-child:after {
  right: 4px;
}
.drum-line.changing .drum-bracket:first-child {
  transform: translateX(-5px);
  opacity: 1;
}
.drum-line.changing .drum-bracket:last-child {
  transform: translateX(5px);
  opacity: 1;
}
[data-theme="light"] .secondary-cta {
  background: #ffffff;
  border: 1px solid rgba(31, 27, 34, 0.12);
  box-shadow: 0 4px 14px rgba(31, 27, 34, 0.05);
}
[data-theme="light"] .secondary-cta:hover {
  background: var(--surface-2);
  border-color: rgba(31, 27, 34, 0.24);
  box-shadow: 0 8px 22px rgba(31, 27, 34, 0.09);
}
[data-theme="dark"] .secondary-cta {
  background: color-mix(in srgb, var(--surface-2) 80%, var(--bg));
  border: 1px solid rgba(243, 222, 181, 0.16);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}
[data-theme="dark"] .secondary-cta:hover {
  background: var(--surface-2);
  border-color: rgba(243, 222, 181, 0.32);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

/* TRUST PORTRAITS + SEAMLESS TOOL MARQUEE */
.avatars img {
  position: relative;
  width: 40px;
  height: 40px;
  margin-left: -10px;
  border: 3px solid var(--bg);
  border-radius: 50%;
  object-fit: cover;
  object-position: center 34%;
  box-shadow: 0 4px 14px rgba(15, 18, 24, 0.16);
  background: var(--surface-2);
  transition:
    transform 0.35s var(--ease),
    border-color 0.4s;
}
.avatars img:first-child {
  margin-left: 0;
}
.avatars img:nth-child(1) {
  z-index: 4;
}
.avatars img:nth-child(2) {
  z-index: 3;
}
.avatars img:nth-child(3) {
  z-index: 2;
}
.avatars img:nth-child(4) {
  z-index: 1;
}
.avatars:hover img {
  transform: translateX(3px);
}
.trust-row {
  gap: 16px;
}
.trust-row p {
  font-size: 12.5px;
}
.trust-row p b {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 14px;
}
.marquee {
  position: relative;
  z-index: 2;
  overflow: hidden;
  width: 100%;
  padding: 24px 0 18px;
  margin-bottom: 0 !important;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 6%,
    #000 94%,
    transparent 100%
  );
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  backdrop-filter: blur(12px);
}
.marquee-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 18px;
  padding: 0 24px;
}
.marquee-line {
  flex: 1;
  max-width: 160px;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(var(--accent-rgb), 0.45)
  );
}
.marquee-line:last-child {
  transform: scaleX(-1);
}
.marquee-eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  font:
    600 10px "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif,
    monospace;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.marquee-star {
  font-style: normal;
  color: var(--accent);
  font-size: 11px;
}
.marquee-track {
  display: flex;
  width: max-content;
  align-items: center;
  animation: marquee 32s linear infinite;
  will-change: transform;
}
.marquee:hover .marquee-track {
  animation-play-state: paused;
}
.marquee-group {
  display: flex;
  flex: 0 0 auto;
  width: max-content;
  align-items: center;
  gap: 14px;
  padding: 0 14px;
}
.tool-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 46px;
  padding: 0 14px 0 8px;
  border-radius: 9999px;
  background: linear-gradient(
    145deg,
    color-mix(in srgb, var(--surface-2) 90%, var(--accent) 10%),
    var(--surface-2)
  );
  border: 1px solid
    color-mix(in srgb, var(--border) 72%, rgba(var(--accent-rgb), 0.22));
  box-shadow:
    0 4px 16px rgba(15, 18, 24, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  cursor: default;
  white-space: nowrap;
  user-select: none;
  transition:
    transform 0.28s var(--ease),
    border-color 0.28s var(--ease),
    box-shadow 0.28s var(--ease),
    background 0.28s var(--ease);
}
.tool-pill:hover {
  transform: translateY(-2px) scale(1.02);
  border-color: color-mix(in srgb, var(--accent) 70%, var(--border));
  background: var(--surface-2);
  box-shadow:
    0 10px 24px rgba(var(--accent-rgb), 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.tool-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  border-radius: 50%;
  background: rgba(var(--accent-rgb), 0.12);
  border: 1px solid rgba(var(--accent-rgb), 0.24);
  color: var(--text);
  transition:
    background 0.28s var(--ease),
    color 0.28s var(--ease),
    transform 0.28s var(--ease);
}
.tool-pill:hover .tool-icon {
  background: var(--accent);
  color: var(--button-text);
  transform: rotate(-6deg);
}
.tool-icon svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}
.tool-name {
  font:
    600 13px "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif,
    sans-serif;
  letter-spacing: -0.01em;
  color: var(--text);
}
.tool-tag {
  font:
    600 8px "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif,
    monospace;
  letter-spacing: 0.08em;
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(var(--accent-rgb), 0.09);
  border: 1px solid rgba(var(--accent-rgb), 0.18);
  color: var(--muted);
  transition:
    color 0.28s,
    border-color 0.28s;
}
.tool-pill:hover .tool-tag {
  color: var(--accent);
  border-color: rgba(var(--accent-rgb), 0.4);
}
.tool-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.18);
  flex: 0 0 6px;
  margin-left: 2px;
}
.tool-sep {
  font-style: normal;
  font-size: 10px;
  color: rgba(var(--accent-rgb), 0.5);
  flex: 0 0 auto;
  user-select: none;
  padding: 0 2px;
}
[data-theme="dark"] .marquee {
  background: color-mix(in srgb, #0b0a0c 85%, transparent);
  border-color: rgba(243, 222, 181, 0.12);
}
[data-theme="dark"] .tool-pill {
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.05),
    rgba(255, 255, 255, 0.025)
  );
  border-color: rgba(243, 222, 181, 0.14);
  box-shadow:
    0 6px 20px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
[data-theme="dark"] .tool-pill:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--accent);
  box-shadow: 0 10px 28px rgba(var(--accent-rgb), 0.26);
}
[data-theme="dark"] .tool-icon {
  background: rgba(var(--accent-rgb), 0.16);
  border-color: rgba(var(--accent-rgb), 0.32);
  color: var(--text);
}
[data-theme="dark"] .tool-pill:hover .tool-icon {
  background: var(--accent);
  color: var(--button-text);
}
@media (max-width: 700px) {
  .marquee {
    padding: 18px 0 14px;
    margin-bottom: 0 !important;
  }
  .marquee-header {
    gap: 10px;
    margin-bottom: 14px;
    padding: 0 14px;
  }
  .marquee-line {
    max-width: 40px;
  }
  .marquee-eyebrow {
    font-size: 8.5px;
    letter-spacing: 0.1em;
    gap: 6px;
  }
  .tool-pill {
    height: 40px;
    padding: 0 11px 0 6px;
    gap: 7px;
  }
  .tool-icon {
    width: 26px;
    height: 26px;
    flex: 0 0 26px;
  }
  .tool-icon svg {
    width: 13px;
    height: 13px;
  }
  .tool-name {
    font-size: 12px;
  }
  .tool-tag {
    font-size: 7px;
    padding: 2px 5px;
  }
}
/* RESPONSIVE */
@media (max-width: 960px) {
  .desktop-nav {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
  .header-cta {
    display: none;
  }
  .site-header {
    padding-left: 15px;
  }
  .hero {
    padding-top: 120px;
  }
  .coverflow-wrap {
    height: 445px;
  }
}
@media (max-width: 700px) {
  .hero {
    min-height: 780px;
    padding-top: 112px;
    --card-w: calc(100vw - 30px);
  }
  .hero-inner {
    width: calc(100% - 22px);
  }
  .eyebrow {
    font-size: 9px;
    gap: 7px;
  }
  .eyebrow-line {
    width: 22px;
  }
  .hero h1, #hero-title {
    font-size: clamp(2.6rem, 12vw, 4rem);
    margin-top: 20px;
  }
  .drum {
    width: 7.6em;
  }
  .hero-copy {
    min-height: 74px;
    margin-top: 18px;
    padding: 0 8px;
    font-size: 14px;
  }
  .cta-row {
    margin-top: 13px;
  }
  .coverflow-wrap {
    height: 485px;
    margin-top: 19px;
  }
  .coverflow {
    height: 450px;
  }
  .service-card {
    height: 440px;
  }
  .service-card:not(.is-active) {
    display: none;
  }
  .service-card.is-active {
    transform: none;
  }
  .card-status {
    height: 40px;
  }
  .voice-stage,
  .chat-stage,
  .build-stage {
    height: 352px;
  }
  .voice-stage {
    padding-top: 29px;
  }
  .sound-ribbon {
    height: 137px;
  }
  .caption {
    font-size: 16px;
  }
  .chat-stage {
    padding-top: 25px;
  }
  .build-stage {
    padding-top: 22px;
  }
  .build-body {
    height: 283px;
    grid-template-columns: 1fr 100px;
    gap: 8px;
  }
  .build-meter svg {
    width: 94px;
  }
  .build-meter strong {
    top: 33px;
  }
  .tool-dock {
    display: none;
  }
  .trust-row {
    margin-top: 4px;
    flex-direction: column;
    gap: 7px;
  }
  .header-actions {
    gap: 4px;
  }
  .ambient-grid {
    top: 720px;
  }
  .horizon {
    top: 590px;
  }
}
@media (max-width: 390px) {
  .hero h1, #hero-title {
    font-size: 2.55rem;
  }
  .drum-line {
    gap: 0.07em;
  }
  .hero-copy {
    font-size: 13px;
  }
  .primary-cta,
  .secondary-cta {
    height: 46px;
    font-size: 13px;
    padding: 0 20px;
  }
  .primary-cta {
    padding-left: 22px;
  }
  .primary-cta .cta-arrow {
    width: 15px;
    height: 15px;
  }
  .cta-row {
    gap: 10px;
  }
  .build-body {
    grid-template-columns: 1fr 90px;
  }
  .build-meter svg {
    width: 86px;
  }
  .build-meter strong {
    top: 31px;
    font-size: 19px;
  }
  .service-card {
    border-radius: 22px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .marquee-track {
    animation: none;
  }
  .drum-cylinder {
    transform: none !important;
  }
  .service-tabs button[aria-selected="true"] i:after {
    transform: scaleX(1);
  }
}
@media (max-width: 700px) {
  .service-tabs {
    width: 100%;
    max-width: 440px;
    height: 52px;
    margin: 24px auto 0;
    padding: 4px;
  }
  .service-tabs .tab-highlight {
    left: 4px;
    top: 4px;
    width: calc((100% - 8px) / 3);
    height: 42px;
    border-radius: 999px;
  }
  .service-tabs button {
    height: 42px;
    min-width: 0;
    padding: 0 8px;
    gap: 5px;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: -0.015em;
    white-space: nowrap;
  }
  .service-tabs button svg {
    display: block;
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    padding: 3.5px;
    border-radius: 7px;
  }
  .service-tabs button i {
    bottom: 2px;
    width: 12px;
  }
}
@media (max-width: 390px) {
  .service-tabs {
    height: 50px;
    padding: 3px;
  }
  .service-tabs .tab-highlight {
    left: 3px;
    top: 3px;
    width: calc((100% - 6px) / 3);
    height: 42px;
  }
  .service-tabs button {
    height: 42px;
    padding: 0 6px;
    gap: 4px;
    font-size: 9.5px;
    letter-spacing: -0.02em;
  }
  .service-tabs button svg {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    padding: 2.5px;
    border-radius: 6px;
  }
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* Keep a single document scrollbar: clip horizontal art without creating a second scroll container. */
html,
.hero {
  overflow-x: clip;
  overflow-y: visible;
}
.hero {
  overflow: clip;
}
.sound-ribbon {
  overflow: visible;
  isolation: isolate;
}

/* AMBIENT HERO STATUS PILLS */
.hero-signals {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 0;
  bottom: 0;
  width: min(1200px, calc(100% - 32px));
  transform: translateX(-50%);
  pointer-events: none;
}
.signal-pill {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 7px;
  height: 36px;
  padding: 0 13px 0 9px;
  border: 1px solid
    color-mix(in srgb, var(--border) 76%, rgba(var(--accent-rgb), 0.2));
  border-radius: 999px;
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  box-shadow: 0 10px 28px rgba(22, 25, 34, 0.08);
  backdrop-filter: blur(16px) saturate(130%);
  font: 500 10.5px "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  letter-spacing: 0.02em;
  color: var(--muted);
  white-space: nowrap;
  animation:
    signalIn 0.9s var(--ease) both,
    signalFloat 5.5s 1.2s ease-in-out infinite alternate;
}
.signal-pill > b {
  color: var(--text);
  font-weight: 500;
}
.signal-pill > em {
  font-style: normal;
}
.signal-pill > b + em:before {
  content: "·";
  margin-right: 7px;
  color: var(--accent);
}
.signal-pill > i {
  position: relative;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  border-radius: 7px;
  background: rgba(var(--accent-rgb), 0.1);
  color: var(--accent);
  font-style: normal;
}
.signal-pill > i svg {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.signal-pill .signal-pulse:before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(var(--accent-rgb), 0.12);
  animation: pulse 2s infinite;
}
.signal-voice {
  left: 16px;
  top: 244px;
  animation-delay: 0.55s, 1.45s;
}
.signal-lead {
  right: 16px;
  top: 202px;
  animation-delay: 0.7s, 1.6s;
}
.signal-meeting {
  left: 36px;
  top: 422px;
  animation-delay: 0.85s, 1.75s;
}
.signal-chat {
  right: 28px;
  top: 446px;
  animation-delay: 1s, 1.9s;
}
.signal-typing {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: 1px;
}
.signal-typing u {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--accent);
  text-decoration: none;
  animation: dots 0.8s infinite alternate;
}
.signal-typing u:nth-child(2) {
  animation-delay: 0.2s;
}
.signal-typing u:nth-child(3) {
  animation-delay: 0.4s;
}
[data-theme="dark"] .signal-pill {
  background: rgba(10, 13, 18, 0.68);
  border-color: rgba(243, 222, 181, 0.16);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.35);
}
@keyframes signalIn {
  from {
    opacity: 0;
    filter: blur(6px);
    transform: translateY(12px) scale(0.96);
  }
  to {
    opacity: 1;
    filter: blur(0);
    transform: none;
  }
}
@keyframes signalFloat {
  to {
    transform: translateY(-7px);
  }
}
@media (max-width: 1260px) {
  .hero-signals {
    display: none;
  }
}

/* HERO OUTER SPACING */
.hero {
  padding-top: calc(18px + var(--header-h) + 70px);
  padding-bottom: 0 !important;
}
@media (max-width: 700px) {
  .hero {
    padding-top: calc(18px + var(--header-h) + 50px);
    padding-bottom: 0 !important;
  }
}

/* LAYERED HERO ATMOSPHERE */
.hero {
  background-color: var(--bg);
  background-image:
    radial-gradient(
      ellipse 50% 34% at 50% 24%,
      rgba(var(--accent-rgb), 0.085) 0%,
      rgba(var(--accent-rgb), 0.034) 38%,
      transparent 72%
    ),
    radial-gradient(
      circle at 8% 22%,
      rgba(45, 168, 255, 0.045),
      transparent 28%
    ),
    radial-gradient(
      circle at 92% 18%,
      rgba(118, 132, 154, 0.055),
      transparent 27%
    ),
    linear-gradient(
      180deg,
      color-mix(in srgb, var(--bg) 91%, white) 0%,
      var(--bg) 48%,
      color-mix(in srgb, var(--bg) 97%, var(--accent) 3%) 100%
    );
  background-repeat: no-repeat;
}
[data-theme="dark"] .hero {
  background-image:
    radial-gradient(
      ellipse 52% 36% at 50% 23%,
      rgba(var(--accent-rgb), 0.13) 0%,
      rgba(var(--accent-rgb), 0.045) 40%,
      transparent 72%
    ),
    radial-gradient(
      circle at 7% 20%,
      rgba(45, 168, 255, 0.055),
      transparent 28%
    ),
    radial-gradient(
      circle at 93% 18%,
      rgba(201, 209, 221, 0.04),
      transparent 26%
    ),
    linear-gradient(
      180deg,
      #080a0f 0%,
      var(--bg) 48%,
      color-mix(in srgb, var(--bg) 96%, var(--accent) 4%) 100%
    );
}
@media (max-width: 700px) {
  .hero {
    padding-left: 16px;
    padding-right: 16px;
    --card-w: 100%;
  }
  .hero-inner {
    width: 100%;
  }
  .marquee .marquee-group {
    min-width: calc(100vw - 32px);
  }
  .secondary-cta{
    order: -1;
}
}

/* VISUAL DIRECTION PALETTE — MIDNIGHT AMBER */
:root,
[data-theme="light"] {
  --bg: #fbf2de;
  --surface: rgba(255, 250, 240, 0.72);
  --surface-2: #fffaf0;
  --border: rgba(31, 27, 34, 0.12);
  --text: #0b0a0c;
  --muted: #6d6570;
  --accent: #e0a431;
  --accent-rgb: 224, 164, 49;
  --accent-soft: #f3deb5;
  --accent-pale: #fbf2de;
  --button-text: #0b0a0c;
  --shadow:
    0 28px 80px rgba(31, 27, 34, 0.13), 0 3px 14px rgba(31, 27, 34, 0.07);
}
[data-theme="dark"] {
  --bg: #0b0a0c;
  --surface: rgba(31, 27, 34, 0.74);
  --surface-2: #1f1b22;
  --border: rgba(243, 222, 181, 0.14);
  --text: #fbf2de;
  --muted: #ffffffc4;
  --accent: #e0a431;
  --accent-rgb: 224, 164, 49;
  --accent-soft: #f3deb5;
  --accent-pale: #fbf2de;
  --button-text: #0b0a0c;
  --shadow: 0 30px 100px rgba(0, 0, 0, 0.58), 0 2px 12px rgba(0, 0, 0, 0.42);
}
[data-theme] .hero[data-service="voice"] {
  --accent: #e0a431;
  --accent-rgb: 224, 164, 49;
  --accent-soft: #f3deb5;
  --accent-pale: #fbf2de;
  --button-text: #0b0a0c;
}
.hero {
  background-image:
    radial-gradient(
      ellipse 50% 34% at 50% 24%,
      rgba(224, 164, 49, 0.105) 0%,
      rgba(224, 164, 49, 0.04) 38%,
      transparent 72%
    ),
    radial-gradient(
      circle at 8% 22%,
      rgba(243, 222, 181, 0.32),
      transparent 28%
    ),
    radial-gradient(circle at 92% 18%, rgba(31, 27, 34, 0.04), transparent 27%),
    linear-gradient(
      180deg,
      #fffaf0 0%,
      #fbf2de 48%,
      color-mix(in srgb, #fbf2de 96%, #e0a431 4%) 100%
    );
}
[data-theme="dark"] .hero {
  background-image:
    radial-gradient(
      ellipse 52% 36% at 50% 23%,
      rgba(224, 164, 49, 0.14) 0%,
      rgba(224, 164, 49, 0.045) 40%,
      transparent 72%
    ),
    radial-gradient(
      circle at 7% 20%,
      rgba(243, 222, 181, 0.028),
      transparent 28%
    ),
    radial-gradient(
      circle at 93% 18%,
      rgba(251, 242, 222, 0.026),
      transparent 26%
    ),
    linear-gradient(
      180deg,
      #0b0a0c 0%,
      #0b0a0c 48%,
      color-mix(in srgb, #0b0a0c 95%, #e0a431 5%) 100%
    );
}

/* Light-theme drum contrast: keep the full word visible against the cream surface. */
[data-theme="light"] .drum-face {
  background: #e0a431;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}
[data-theme="light"] .voice-card .wave-back {
  stroke: color-mix(in srgb, #e0a431 70%, #1f1b22 30%);
  stroke-width: 1.7;
  opacity: 0.42;
}

.first-line-unique{
    line-height: 98px;
}

