/* ============================================
   ORBITAL LAB — Design Tokens
   ============================================ */
:root {
  --color-bg: #050505;
  --color-surface: #0e0e0e;
  --color-surface-elevated: #161616;
  --color-text-primary: #ffffff;
  --color-text-secondary: #9a9a9a;
  --color-text-tertiary: #555555;
  --color-accent: #ed2024;
  --color-accent-soft: rgba(237, 32, 36, 0.12);
  --color-accent-glow: rgba(237, 32, 36, 0.25);
  --color-border: rgba(255, 255, 255, 0.06);
  --color-border-hover: rgba(255, 255, 255, 0.12);

  --font-display: 'Bricolage Grotesque', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  --nav-height: 72px;
  --section-pad-x: clamp(20px, 5vw, 80px);
  --content-max: 1200px;

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
}


/* ============================================
   Reset & Base
   ============================================ */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text-primary);
  overflow-x: hidden;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}


/* ============================================
   Geometric Background (Canvas)
   ============================================ */
.geo-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

#geo-canvas {
  width: 100%;
  height: 100%;
}


/* ============================================
   Navigation
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-height);
  transition: border-color 0.4s ease;
  border-bottom: 1px solid transparent;
}

/* Use ::before for backdrop so backdrop-filter doesn't break
   position:fixed children (mobile drawer) by changing their containing block */
.nav::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: transparent;
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  transition: background-color 0.4s ease, backdrop-filter 0.4s ease;
  pointer-events: none;
  z-index: -1;
}

.nav--scrolled {
  border-bottom-color: var(--color-border);
}

.nav--scrolled::before {
  background-color: rgba(5, 5, 5, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.nav__inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--section-pad-x);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.nav__logo-img {
  height: 35px;
  width: auto;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav__link {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--color-text-secondary);
  letter-spacing: 0.01em;
  transition: color 0.25s ease;
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-accent);
  transition: width 0.3s var(--ease-out-expo);
}

.nav__link:hover {
  color: var(--color-text-primary);
}

.nav__link:hover::after {
  width: 100%;
}

.nav__cta {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-bg);
  background: var(--color-text-primary);
  padding: 10px 24px;
  border-radius: 6px;
  transition: background-color 0.25s ease, transform 0.25s ease;
}

.nav__cta:hover {
  background-color: #e0e0e0;
  transform: translateY(-1px);
}

/* Language switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.lang-btn {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.35);
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 2px;
  transition: color 0.2s ease;
  line-height: 1;
}

.lang-btn:hover {
  color: rgba(255, 255, 255, 0.7);
}

.lang-btn--active {
  color: var(--color-text-primary);
}

.lang-sep {
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.2);
  user-select: none;
}

/* Mobile end group (lang + toggle) */
.nav__mobile-end {
  display: contents;
}

/* Mobile toggle */
.nav__mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav__mobile-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--color-text-primary);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Desktop: accordion trigger looks like a normal link */
.nav__link--accordion-trigger {
  display: flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--color-text-secondary);
  letter-spacing: 0.01em;
  transition: color 0.25s ease;
}

.nav__link--accordion-trigger:hover {
  color: var(--color-text-primary);
}

.nav__chevron {
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.nav__link-accordion {
  position: relative;
}

/* Desktop dropdown */
.nav__submenu {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  min-width: 140px;
  padding: 6px 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  transform: translateX(-50%) translateY(-4px);
  z-index: 200;
}

.nav__submenu--open {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav__sublink {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--color-text-secondary);
  padding: 10px 18px;
  transition: color 0.2s ease, background-color 0.2s ease;
  white-space: nowrap;
}

.nav__sublink:hover {
  color: var(--color-text-primary);
  background-color: rgba(255, 255, 255, 0.05);
}

.nav__link--accordion-trigger[aria-expanded="true"] .nav__chevron {
  transform: rotate(180deg);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--nav-height) + 40px) var(--section-pad-x) 80px;
  overflow: hidden;
}

.hero__inner {
  max-width: var(--content-max);
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.hero__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* Announcement badge */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px 8px 14px;
  border-radius: 100px;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  margin-bottom: 48px;
  cursor: default;
  transition: border-color 0.3s ease, background-color 0.3s ease;

  /* Animation */
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s var(--ease-out-expo) 0.2s forwards;
}

.hero__badge:hover {
  border-color: var(--color-border-hover);
  background: var(--color-surface-elevated);
}

.hero__badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 8px var(--color-accent-glow);
  animation: pulse 2s ease-in-out infinite;
}

.hero__badge-text {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  letter-spacing: 0.03em;
}

.hero__badge-arrow {
  color: var(--color-text-tertiary);
  transition: transform 0.25s ease;
}

.hero__badge:hover .hero__badge-arrow {
  transform: translateX(3px);
}

/* Hero Title */
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4.5vw, 4.25rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--color-text-primary);
  margin-bottom: 28px;

  /* Animation */
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.9s var(--ease-out-expo) 0.35s forwards;
}

.hero__title-accent {
  color: var(--color-accent);
  font-style: italic;
}

/* Hero Subtitle */
.hero__subtitle {
  font-family: var(--font-body);
  font-size: 1.025rem;
  font-weight: 300;
  line-height: 1.7;
  color: #a5a5a5;
  max-width: 440px;
  margin-bottom: 44px;

  /* Animation */
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.9s var(--ease-out-expo) 0.5s forwards;
}

/* CTA Buttons */
.hero__actions {
  display: flex;
  align-items: center;
  gap: 16px;

  /* Animation */
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.9s var(--ease-out-expo) 0.65s forwards;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 15px 32px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s var(--ease-out-quart);
  border: none;
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: var(--color-text-primary);
  color: var(--color-bg);
}

.btn--primary:hover {
  background: #e0e0e0;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 255, 255, 0.08);
}

.btn--ghost {
  background: transparent;
  color: var(--color-text-primary);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn--ghost:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-2px);
}


/* ============================================
   Hero Chat Preview
   ============================================ */
.hero__chat {
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp 1s var(--ease-out-expo) 0.6s forwards;
}

.chat {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.02),
    0 32px 64px rgba(0, 0, 0, 0.55),
    0 0 80px rgba(237, 32, 36, 0.05);
  width: 100%;
}

.chat__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid var(--color-border);
  background: var(--color-surface-elevated);
}

.chat__header-info {
  display: flex;
  align-items: center;
  gap: 11px;
}

.chat__avatar {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  background: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
  letter-spacing: 0;
}

.chat__header-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.chat__name {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-text-primary);
  line-height: 1.2;
}

.chat__status {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-body);
  font-size: 0.6875rem;
  color: var(--color-text-tertiary);
}

.chat__status-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #22c55e;
  flex-shrink: 0;
  animation: pulse 2.5s ease-in-out infinite;
}

.chat__live-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 100px;
  background: rgba(237, 32, 36, 0.08);
  border: 1px solid rgba(237, 32, 36, 0.18);
  font-family: var(--font-body);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.chat__live-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-accent);
  flex-shrink: 0;
  animation: pulse 1.5s ease-in-out infinite;
}

.chat__body {
  padding: 18px;
  min-height: 330px;
  max-height: 370px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  scroll-behavior: smooth;
}

.chat__body::-webkit-scrollbar { width: 3px; }
.chat__body::-webkit-scrollbar-track { background: transparent; }
.chat__body::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
}

/* Messages */
.chat-msg {
  display: flex;
  flex-direction: column;
  max-width: 88%;
}

.chat-msg--user {
  align-self: flex-end;
  align-items: flex-end;
}

.chat-msg--agent {
  align-self: flex-start;
  align-items: flex-start;
  max-width: 100%;
  width: 100%;
}

.chat-msg__sender {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--color-text-tertiary);
  margin-bottom: 5px;
}

.chat-msg--agent .chat-msg__sender {
  color: rgba(237, 32, 36, 0.65);
}

.chat-msg__bubble {
  padding: 11px 14px;
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  line-height: 1.6;
}

.chat-msg--user .chat-msg__bubble {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px 12px 2px 12px;
  color: rgba(255, 255, 255, 0.9);
}

.chat-msg--agent .chat-msg__bubble {
  background: rgba(237, 32, 36, 0.04);
  border: 1px solid rgba(237, 32, 36, 0.1);
  border-radius: 2px 12px 12px 12px;
  width: 100%;
  color: var(--color-text-secondary);
}

.chat-msg__cursor {
  display: inline-block;
  color: var(--color-text-tertiary);
  font-weight: 300;
  animation: cursorBlink 0.9s step-end infinite;
}

@keyframes cursorBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* Agent structured response */
.chat-msg__intro {
  font-size: 0.875rem;
  color: var(--color-text-primary);
  margin-bottom: 12px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.chat-msg__intro--visible {
  opacity: 1;
}

.chat-msg__items {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 13px;
}

.chat-msg__item {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 0.8125rem;
  line-height: 1.5;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.35s ease, transform 0.35s var(--ease-out-expo);
}

.chat-msg__item--visible {
  opacity: 1;
  transform: translateX(0);
}

.chat-msg__item-num {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--color-accent);
  flex-shrink: 0;
  min-width: 18px;
  letter-spacing: 0.02em;
}

.chat-msg__item-label {
  color: var(--color-text-primary);
  font-weight: 500;
}

.chat-msg__item-action {
  color: var(--color-text-tertiary);
}

.chat-msg__stats {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.chat-msg__stats--visible {
  opacity: 1;
}

.chat-msg__stat-value {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 700;
  color: #22c55e;
  letter-spacing: -0.01em;
}

.chat-msg__stat-label {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  color: var(--color-text-tertiary);
}

/* Typing indicator */
.chat-typing {
  display: flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.chat-typing--visible {
  opacity: 1;
}

.chat-typing__avatar {
  width: 20px;
  height: 20px;
  border-radius: 5px;
  background: var(--color-accent);
  flex-shrink: 0;
}

.chat-typing__label {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  color: var(--color-text-tertiary);
}

.chat-typing__dots {
  display: flex;
  gap: 3px;
  align-items: center;
}

.chat-typing__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-accent);
  opacity: 0.5;
  animation: typingBounce 1.2s ease-in-out infinite;
}

.chat-typing__dot:nth-child(2) { animation-delay: 0.15s; }
.chat-typing__dot:nth-child(3) { animation-delay: 0.3s; }

@keyframes typingBounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
  30% { transform: translateY(-4px); opacity: 1; }
}

/* Chat input footer */
.chat__footer {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 18px;
  border-top: 1px solid var(--color-border);
  background: var(--color-surface-elevated);
}

.chat__input-mock {
  flex: 1;
  padding: 9px 13px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  color: var(--color-text-tertiary);
}

.chat__send-btn {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--color-text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-bg);
  flex-shrink: 0;
}


/* ============================================
   Features Section — Scroll-Driven
   ============================================ */
.features {
  position: relative;
  z-index: 2;
  padding-top: clamp(40px, 8vw, 100px);
}

.features__runway {
  height: 300vh;
  position: relative;
}

.features__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.features__inner {
  --features-left-width: 480px;
  --features-gap: 80px;
  max-width: var(--content-max);
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--section-pad-x);
  position: relative;
}

/* Left Column */
.features__left {
  width: var(--features-left-width);
  max-width: var(--features-left-width);
}

.features__headline {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.375rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--color-text-primary);
  margin-bottom: 48px;
}

.features__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.features__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 0;
  cursor: default;
  transition: opacity 0.3s ease;
}

.features__bullet {
  flex-shrink: 0;
  font-size: 8px;
  line-height: 1;
  margin-top: 6px;
  color: var(--color-text-tertiary);
  transition: color 0.3s ease, transform 0.3s ease;
}

.features__item--active .features__bullet {
  color: var(--color-accent);
  transform: scale(1.3);
}

.features__item-title {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  color: var(--color-text-tertiary);
  transition: color 0.3s ease, font-weight 0.15s ease;
  display: block;
}

.features__item--active .features__item-title {
  color: var(--color-text-primary);
  font-weight: 600;
  font-size: 1.0625rem;
}

.features__item-desc {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 300;
  line-height: 1.65;
  color: var(--color-text-secondary);
  margin-top: 8px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s var(--ease-out-expo), opacity 0.3s ease, margin-top 0.4s ease;
}

.features__item--active .features__item-desc {
  max-height: 120px;
  opacity: 1;
  margin-top: 8px;
}

/* Visuals — Desktop: absolutely positioned in right column area */
.features__visual {
  position: absolute;
  top: 50%;
  left: calc(var(--features-left-width) + var(--features-gap));
  right: 0;
  height: 400px;
  transform: translateY(-50%) translateY(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.45s ease, transform 0.45s var(--ease-out-expo);
  pointer-events: none;
}

.features__visual--active {
  opacity: 1;
  transform: translateY(-50%);
  pointer-events: auto;
}

.features__svg {
  width: 100%;
  height: 100%;
  max-width: 560px;
}

/* Pulse animation for dots in SVG */
.features__pulse-dot {
  animation: pulse 2s ease-in-out infinite;
}


/* ============================================
   How It Works — Text Reveal
   ============================================ */
.how-it-works {
  position: relative;
  z-index: 1;
  padding: clamp(80px, 8vw, 140px) var(--section-pad-x);
}

.how-it-works__inner {
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

/* --- Integration Icons --- */
.how-it-works__icons-row {
  display: contents; /* On desktop, icons escape the row and use absolute positioning */
}

.hiw-icon {
  position: absolute;
  left: var(--hiw-x);
  top: var(--hiw-y);
  width: 44px;
  height: 44px;
  z-index: 1;
  transform: translate(-50%, -50%);
}

.hiw-icon__img {
  width: 44px;
  height: 44px;
  opacity: 0.45;
  filter: drop-shadow(0 0 12px rgba(255,255,255,0.06));
  transition: opacity 0.4s ease;
  animation: hiwFloat 6s ease-in-out infinite;
}

.hiw-icon:nth-child(2) .hiw-icon__img { animation-delay: -1s; }
.hiw-icon:nth-child(3) .hiw-icon__img { animation-delay: -2s; }
.hiw-icon:nth-child(4) .hiw-icon__img { animation-delay: -3s; }
.hiw-icon:nth-child(5) .hiw-icon__img { animation-delay: -4s; }
.hiw-icon:nth-child(6) .hiw-icon__img { animation-delay: -5s; }

/* "More" indicator — only visible in mobile row layout */
.hiw-icon--more {
  display: none;
}

.hiw-icon__more {
  font-size: 1.6rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1;
}

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

/* Dashed connector lines overlay */
.hiw-lines {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hiw-lines line {
  stroke: rgba(255,255,255,0.08);
  stroke-width: 1;
  stroke-dasharray: 6 6;
  transition: opacity 0.8s ease;
}

.hiw-lines--visible line {
  opacity: 1;
}


.how-it-works__label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 1.56px;
  text-transform: uppercase;
  color: #b59191;
  margin-bottom: 12px;
}

.how-it-works__text {
  font-family: var(--font-body);
  font-size: 2.25rem;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.36px;
  color: var(--color-text-tertiary);
}

.how-it-works__word {
  display: inline;
  transition: color 0.35s var(--ease-out-expo);
  color: var(--color-text-tertiary);
}

.how-it-works__word--lit {
  color: #dddddd;
}


/* ============================================
   ROI Graph Section
   ============================================ */
.roi {
  position: relative;
  z-index: 1;
  padding: clamp(80px, 10vw, 160px) var(--section-pad-x);
}

.roi__inner {
  max-width: var(--content-max);
  margin: 0 auto;
  position: relative;
  min-height: 514px;
}

/* Stat Card — top-left overlay */
.roi__card {
  position: absolute;
  top: 0;
  left: 4.5%;
  z-index: 2;
  width: 421px;
  min-width: 212px;
  min-height: 232px;
  background: linear-gradient(180deg, rgba(18, 18, 18, 0.95) 0%, rgba(30, 30, 30, 0.92) 100%);
  border: 1px solid #282828;
  border-radius: 4px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out-expo), transform 0.7s var(--ease-out-expo);
}

.roi__card--visible {
  opacity: 1;
  transform: translateY(0);
}

.roi__card-stat {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.roi__card-label {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  color: #8d8d8d;
  line-height: 13px;
}

.roi__card-value {
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 500;
  line-height: 56px;
  letter-spacing: -0.74px;
  color: var(--color-text-primary);
}

.roi__card-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.roi__card-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: -0.74px;
  color: #eaeaea;
}

.roi__card-desc {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  line-height: 22px;
  color: #bcbcbc;
}

/* Graph — spans full width behind card */
.roi__graph-wrap {
  position: absolute;
  top: 50px;
  left: 0;
  width: 100%;
  height: 464px;
  z-index: 1; /* below roi__card (z-index: 2), so connector never shows over card */
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out-expo), transform 0.7s var(--ease-out-expo);
}

.roi__graph-wrap--visible {
  opacity: 1;
  transform: translateY(0);
}

.roi__graph {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}

.roi__line {
  transition: stroke-dashoffset 1.4s var(--ease-out-expo) 0.2s;
}

.roi__line--drawn {
  stroke-dashoffset: 0;
}

/* Indicators — HTML elements with fixed pixel size, never shrink */
.roi__indicator {
  position: absolute;
  width: 32px;
  height: 32px;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}

/* x = SVG_cx / 1185 * 100%, y = SVG_cy / 464 * 100% (percentage so positions scale with wrapper height) */
.roi__indicator[data-index="0"] { left: 18.27%; top: 97.41%; }
.roi__indicator[data-index="1"] { left: 39.03%; top: 57.65%; }
.roi__indicator[data-index="2"] { left: 59.37%; top: 48.15%; }
.roi__indicator[data-index="3"] { left: 79.70%; top:  2.48%; }

/* Mobile SVG hidden by default */
.roi__graph--mobile { display: none; }

.roi__graph-wrap--visible .roi__indicator { opacity: 1; }
.roi__graph-wrap--visible .roi__indicator[data-index="0"] { transition-delay: 0.3s; }
.roi__graph-wrap--visible .roi__indicator[data-index="1"] { transition-delay: 0.7s; }
.roi__graph-wrap--visible .roi__indicator[data-index="2"] { transition-delay: 1.0s; }
.roi__graph-wrap--visible .roi__indicator[data-index="3"] { transition-delay: 1.3s; }

.roi__dot-outer,
.roi__dot-mid,
.roi__dot-core {
  position: absolute;
  border-radius: 50%;
  top: 50%;
  left: 50%;
}

.roi__dot-core {
  width: 16px;
  height: 16px;
  background: #D40000;
  transform: translate(-50%, -50%);
}

.roi__dot-mid {
  width: 24px;
  height: 24px;
  background: #D40000;
  transform: translate(-50%, -50%);
  animation: roiMidPulse 2s ease-in-out infinite;
}

.roi__dot-outer {
  width: 32px;
  height: 32px;
  background: #D40000;
  transform: translate(-50%, -50%);
  animation: roiRingPulse 2s ease-in-out infinite;
}

.roi__indicator[data-index="0"] .roi__dot-outer,
.roi__indicator[data-index="0"] .roi__dot-mid { animation-delay: 0s; }
.roi__indicator[data-index="1"] .roi__dot-outer,
.roi__indicator[data-index="1"] .roi__dot-mid { animation-delay: 0.5s; }
.roi__indicator[data-index="2"] .roi__dot-outer,
.roi__indicator[data-index="2"] .roi__dot-mid { animation-delay: 1.0s; }
.roi__indicator[data-index="3"] .roi__dot-outer,
.roi__indicator[data-index="3"] .roi__dot-mid { animation-delay: 1.5s; }

@keyframes roiRingPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.35; }
  50% { transform: translate(-50%, -50%) scale(1.5); opacity: 0.15; }
}

@keyframes roiMidPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
  50% { transform: translate(-50%, -50%) scale(1.42); opacity: 0.3; }
}

/* Connector line from graph to card */
/* Connector inside roi__graph-wrap, before SVG in DOM so indicators render above */
.roi__connector {
  position: absolute;
  /* join point at SVG (233,163.5) aligns with indicator 3 at cx=703.5/1185=59.37%, cy=220px */
  left: calc(59.37% - 232px);
  top: 58px;
  width: 233px;
  height: 163.5px;
  pointer-events: none;
}

.roi__connector-img {
  width: 100%;
  height: 100%;
  display: block;
}

/* Tagline — bottom-right */
.roi__tagline {
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: 2;
  max-width: 613px;
}

.roi__tagline-word {
  display: inline;
  color: var(--color-text-tertiary);
  transition: color 0.35s var(--ease-out-expo);
}

.roi__tagline-word--lit {
  color: #f9f9f9;
}

.roi__tagline-text {
  font-family: var(--font-body);
  font-size: 28px;
  font-weight: 600;
  line-height: 35px;
}

.roi__tagline-main {
  color: #f9f9f9;
}

.roi__tagline-sub {
  color: #a2a2a2;
}


/* ============================================
   CTA Block
   ============================================ */
.cta-block {
  position: relative;
  z-index: 1;
  padding: 0 var(--section-pad-x) clamp(32px, 4vw, 56px);
  margin-top: -80px;
}

.cta-block__inner {
  max-width: var(--content-max);
  margin: 0 auto;
  border-radius: 16px;
  border: none;
  overflow: hidden;
  position: relative;
  background: rgba(123, 0, 0, 0.65);
  padding: clamp(36px, 8vw, 84px) var(--section-pad-x);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
}

/* Top-left glow orb */
.cta-block__inner::before {
  content: '';
  position: absolute;
  top: -80px;
  left: -60px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(220, 30, 30, 0.30) 0%, transparent 70%);
  pointer-events: none;
}

/* Bottom-right glow orb */
.cta-block__inner::after {
  content: '';
  position: absolute;
  bottom: -100px;
  right: -60px;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(180, 20, 20, 0.30) 0%, transparent 70%);
  pointer-events: none;
}

.cta-block__content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.9s var(--ease-out-expo), transform 0.9s var(--ease-out-expo);
}

.cta-block--visible .cta-block__content {
  opacity: 1;
  transform: translateY(0);
}

.cta-block__headline {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.4px;
  color: var(--color-text-primary);
}

.cta-block__body {
  font-family: var(--font-body);
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.8);
}


/* ============================================
   Footer
   ============================================ */
.footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--color-border);
  padding-top: clamp(32px, 4vw, 48px);
}

.footer__inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--section-pad-x) clamp(24px, 3vw, 40px);
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 80px;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer__logo-link {
  display: inline-block;
  transition: opacity 0.2s ease;
}

.footer__logo-link:hover {
  opacity: 0.7;
}

.footer__logo-img {
  height: 22px;
  width: auto;
}

.footer__tagline {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.65;
  color: var(--color-text-tertiary);
  max-width: 210px;
}

.footer__social {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 4px;
}

.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  color: var(--color-text-tertiary);
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.footer__social-link:hover {
  color: var(--color-text-primary);
  border-color: rgba(255, 255, 255, 0.14);
  background-color: rgba(255, 255, 255, 0.04);
}

.footer__nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer__col-heading {
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  color: var(--color-text-primary);
  margin-bottom: 20px;
}

.footer__col-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.footer__link {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--color-text-tertiary);
  position: relative;
  transition: color 0.2s ease;
}

.footer__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
  transition: width 0.25s var(--ease-out-quart);
}

.footer__link:hover {
  color: rgba(255, 255, 255, 0.75);
}

.footer__link:hover::after {
  width: 100%;
}

.footer__bottom {
  border-top: 1px solid var(--color-border);
}

.footer__bottom-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 24px var(--section-pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer__copy {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--color-text-tertiary);
}

.footer__legal {
  display: flex;
  gap: 24px;
  align-items: center;
}

.footer__legal-link {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--color-text-tertiary);
  transition: color 0.2s ease;
}

.footer__legal-link:hover {
  color: var(--color-text-secondary);
}


.section-divider {
  max-width: var(--content-max);
  width: calc(100% - var(--section-pad-x) * 2);
  margin: 0 auto;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
}

/* ============================================
   Other Projects Section
   ============================================ */
.other-projects {
  position: relative;
  z-index: 1;
  padding: clamp(48px, 6vw, 80px) var(--section-pad-x);
}

.other-projects__inner {
  max-width: var(--content-max);
  margin: 0 auto;
  display: flex;
  align-items: stretch;
  gap: clamp(32px, 4vw, 60px);
}

.other-projects__content {
  display: flex;
  flex-direction: column;
  gap: 32px;
  flex: 0 1 clamp(240px, 35%, 360px);
  min-width: 0;
}

.other-projects__header {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.other-projects__label {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.097em;
  color: rgba(176, 163, 163, 0.9);
  text-transform: uppercase;
}

.other-projects__logos {
  display: flex;
  align-items: center;
  gap: 0;
}

.other-projects__logo {
  height: 34px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

.other-projects__desc {
  font-family: var(--font-body);
  font-size: clamp(0.9375rem, 1.5vw, 1.1875rem);
  font-weight: 300;
  line-height: 1.55;
  color: #cbcbcb;
}

.other-projects__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 49px;
  padding: 0 28px;
  border: 1px solid #525252;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: #bbbbbb;
  align-self: flex-start;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.other-projects__btn:hover {
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--color-text-primary);
}

.other-projects__media {
  flex: 1 1 0;
  min-width: 0;
  border-radius: 16px;
  overflow: hidden;
}

.other-projects__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 16px;
}


/* ============================================
   Keyframe Animations
   ============================================ */
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

@keyframes orbitSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes corePulse {
  0%, 100% {
    opacity: 0.5;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.3);
  }
}


/* ============================================
   Responsive
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
  .features__inner {
    --features-left-width: 320px;
    --features-gap: 40px;
  }

  .features__visual {
    height: 350px;
  }

  .hero__inner {
    gap: 40px;
  }

  .chat__body {
    min-height: 290px;
    max-height: 330px;
  }

  .roi__tagline {
    left: 46%;
    max-width: none;
  }

  .footer__inner {
    grid-template-columns: 220px 1fr;
    gap: 56px;
  }

  .other-projects__inner {
    flex-direction: column;
  }

  .other-projects__content {
    flex: none;
    width: 100%;
  }

  .other-projects__media {
    width: 100%;
    min-height: 320px;
  }
}

/* Medium — icons overlap at ~1000px, switch to row below text */
@media (max-width: 1000px) {
  .how-it-works__icons-row {
    display: flex;
    justify-content: flex-start;
    gap: clamp(16px, 3vw, 28px);
    margin-top: 32px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
  }

  .hiw-icon {
    position: static !important;
    width: clamp(28px, 4vw, 40px);
    height: clamp(28px, 4vw, 40px);
    transform: none !important;
  }

  .hiw-icon--more {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .hiw-icon__img {
    width: 100%;
    height: 100%;
    animation: none;
  }

  .hiw-lines {
    display: none;
  }
}

/* Mobile */
@media (max-width: 768px) {
  :root {
    --nav-height: 64px;
  }

  .how-it-works {
    padding: 60px var(--section-pad-x);
  }

  .how-it-works__text {
    font-size: clamp(1.25rem, 5vw, 1.75rem);
  }

  .how-it-works__icons-row {
    display: flex;
    justify-content: flex-start;
    gap: clamp(16px, 4vw, 28px);
    margin-top: 32px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
  }

  .hiw-icon {
    position: static !important;
    width: clamp(24px, 6vw, 36px);
    height: clamp(24px, 6vw, 36px);
    transform: none !important;
  }

  .hiw-icon--more {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: calc(-1 * clamp(8px, 2vw, 14px));
  }

  .hiw-icon__img {
    width: 100%;
    height: 100%;
    animation: none;
  }

  .hiw-lines {
    display: none;
  }

  .roi__inner {
    min-height: 660px;
    display: block;
    position: relative;
  }

  .roi__card {
    position: absolute;
    top: 0;
    left: 0;
    width: 52%;
    max-width: 220px;
  }

  .roi__graph-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 530px;
  }

  /* Swap desktop SVG for mobile SVG */
  .roi__graph--desktop { display: none; }
  .roi__graph--mobile { display: block; }

  /* Mobile indicator positions — vertices of line_graph_mobile.svg (viewBox 393×473)
     x = cx/393, y = cy/473 */
  .roi__indicator[data-index="0"] { left: 16.9%; top: 99.6%; }
  .roi__indicator[data-index="1"] { left: 41.7%; top: 64.1%; }
  .roi__indicator[data-index="2"] { left: 69.7%; top: 60.5%; }
  .roi__indicator[data-index="3"] { left: 80.8%; top:  0.2%; }

  .roi__connector {
    display: none;
  }

  .roi__tagline {
    position: absolute;
    bottom: 0;
    left: 43%;
    right: 0;
    max-width: 100%;
  }

  .roi__tagline-text {
    font-size: 18px;
    line-height: 26px;
  }

  .features__runway {
    height: auto;
  }

  .features__sticky {
    position: relative;
    height: auto;
    padding: 80px 0;
  }

  .features__inner {
    --features-left-width: 100%;
    --features-gap: 0px;
  }

  .features__left {
    max-width: 100%;
    width: 100%;
  }

  .features__headline {
    margin-bottom: 32px;
  }

  .features__list {
    gap: 32px;
  }

  .features__item {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .features__item-content {
    flex: 1;
    min-width: 0;
  }

  .features__item-desc {
    max-height: 120px;
    opacity: 1;
    margin-top: 8px;
  }

  .features__item .features__item-title {
    color: var(--color-text-primary);
    font-weight: 500;
  }

  .features__bullet {
    color: var(--color-accent);
  }

  .features__visual {
    position: static;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    transition: none;
    flex-basis: 100%;
    height: auto;
    margin-top: 16px;
  }

  .features__svg {
    width: 100%;
    height: auto;
  }

  /* Full-screen mobile drawer */
  .nav__links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    background: var(--color-bg);
    z-index: 99;
    padding-top: var(--nav-height);
    overflow-y: auto;
  }

  .nav__links--open {
    display: flex;
  }

  /* Each nav item is a full-width row with a bottom divider */
  .nav__link,
  .nav__link--accordion-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: -0.01em;
    color: var(--color-text-primary);
    padding: 24px var(--section-pad-x);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: color 0.2s ease, background-color 0.2s ease;
    text-align: left;
    box-sizing: border-box;
  }

  .nav__link:hover,
  .nav__link--accordion-trigger:hover {
    color: var(--color-text-primary);
    background-color: rgba(255, 255, 255, 0.03);
  }

  /* Remove the underline pseudo-element on mobile */
  .nav__link::after {
    display: none;
  }

  /* Accordion trigger button reset for mobile */
  .nav__link--accordion-trigger {
    font-family: var(--font-body);
  }

  /* Chevron rotation when open */
  .nav__link--accordion-trigger[aria-expanded="true"] .nav__chevron {
    transform: rotate(180deg);
  }

  /* Submenu items */
  .nav__link-accordion {
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  /* Override the link border since the accordion wrapper handles it */
  .nav__link-accordion .nav__link--accordion-trigger {
    border-bottom: none;
  }

  .nav__submenu {
    display: flex;
    flex-direction: column;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
  }

  .nav__submenu--open {
    max-height: 300px;
  }

  .nav__sublink {
    display: block;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.55);
    padding: 18px var(--section-pad-x) 18px calc(var(--section-pad-x) + 16px);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    transition: color 0.2s ease;
    letter-spacing: 0.01em;
  }

  .nav__sublink:hover {
    color: var(--color-text-primary);
  }

  /* CTA inside mobile drawer */
  .nav__cta {
    display: none;
  }

  .nav__mobile-end {
    display: flex;
    align-items: center;
    gap: 24px;
  }

  .nav__mobile-toggle {
    display: flex;
    z-index: 101;
  }

  /* X animation */
  .nav__mobile-toggle--active span:first-child {
    transform: rotate(45deg) translate(3px, 3px);
  }

  .nav__mobile-toggle--active span:last-child {
    transform: rotate(-45deg) translate(3px, -3px);
  }

  .hero {
    padding-top: calc(var(--nav-height) + 60px);
    padding-bottom: 60px;
    min-height: 100svh;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero__badge {
    margin-bottom: 32px;
  }

  .hero__title {
    margin-bottom: 20px;
  }

  .hero__subtitle {
    margin-bottom: 36px;
    max-width: 100%;
  }

  .btn {
    width: 100%;
    padding: 16px 32px;
  }

  .hero__actions .btn {
    width: auto;
  }

  .hero__chat {
    width: 100%;
  }

  .chat__body {
    min-height: 260px;
    max-height: 300px;
  }

  .cta-block {
    padding: 48px var(--section-pad-x);
  }

  .cta-block__inner {
    padding: 56px var(--section-pad-x);
    min-height: auto;
    border-radius: 16px;
  }

  .cta-block__body {
    font-size: 1rem;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .footer__nav {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .footer__bottom-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  .chat__body {
    min-height: 240px;
    max-height: 280px;
  }

  .footer__nav {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .footer__legal {
    gap: 16px;
    flex-wrap: wrap;
  }

  .other-projects__media {
    min-height: 220px;
  }
}

@media (min-width: 1400px) {
  .roi {
    padding: clamp(60px, 5vw, 80px) var(--section-pad-x);
  }

  .features {
    padding-top: clamp(40px, 4vw, 60px);
  }
}