:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ink: #08111f;
  --paper: #f7f8f4;
  --surface: #ffffff;
  --muted: #657084;
  --line: #dce2e8;
  --teal: #0f766e;
  --teal-2: #14b8a6;
  --lime: #b9f24a;
  --coral: #ff6b4a;
  --blue: #2563eb;
  --violet: #7c3aed;
  --amber: #f59e0b;
  --shadow: 0 24px 80px rgba(8, 17, 31, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(120deg, rgba(185, 242, 74, 0.18), transparent 24rem),
    linear-gradient(290deg, rgba(37, 99, 235, 0.12), transparent 28rem),
    var(--paper);
  color: var(--ink);
}

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

.site-header {
  align-items: center;
  backdrop-filter: blur(18px);
  background: rgba(247, 248, 244, 0.82);
  border-bottom: 1px solid rgba(220, 226, 232, 0.8);
  display: flex;
  gap: 1.5rem;
  justify-content: space-between;
  left: 0;
  padding: 0.9rem clamp(1rem, 3vw, 3rem);
  position: sticky;
  right: 0;
  top: 0;
  z-index: 30;
}

.brand,
.footer strong {
  align-items: center;
  display: inline-flex;
  font-weight: 800;
  gap: 0.65rem;
  letter-spacing: 0;
}

.brand-mark {
  align-items: center;
  background: var(--ink);
  border-radius: 8px;
  color: var(--lime);
  display: inline-flex;
  height: 38px;
  justify-content: center;
  width: 38px;
}

.nav {
  align-items: center;
  display: flex;
  gap: clamp(0.85rem, 2vw, 1.75rem);
  color: #344054;
  font-size: 0.94rem;
}

.nav a:hover,
.footer a:hover {
  color: var(--teal);
}

.header-action,
.primary-action,
.secondary-action {
  border-radius: 8px;
  display: inline-flex;
  font-weight: 750;
  justify-content: center;
  min-height: 44px;
  padding: 0.75rem 1rem;
}

.header-action,
.primary-action {
  background: var(--ink);
  color: white;
}

.header-action:hover,
.primary-action:hover {
  background: #152235;
}

.secondary-action {
  background: rgba(255, 255, 255, 0.64);
  border: 1px solid var(--line);
  color: var(--ink);
}

.hero {
  display: grid;
  gap: clamp(2rem, 5vw, 5rem);
  grid-template-columns: minmax(0, 0.82fr) minmax(22rem, 1.18fr);
  min-height: calc(100vh - 68px);
  overflow: hidden;
  padding: clamp(3rem, 7vw, 7rem) clamp(1rem, 5vw, 5rem) 3rem;
  position: relative;
}

.hero::after {
  background:
    linear-gradient(rgba(8, 17, 31, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8, 17, 31, 0.055) 1px, transparent 1px);
  background-size: 36px 36px;
  content: "";
  inset: 0;
  mask-image: linear-gradient(180deg, black, transparent 78%);
  pointer-events: none;
  position: absolute;
  z-index: -1;
}

.hero-copy {
  align-self: center;
  display: grid;
  gap: 1.35rem;
  max-width: 42rem;
}

.eyebrow {
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  margin: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  font-size: clamp(3.2rem, 8vw, 7.2rem);
  line-height: 0.92;
  max-width: 11ch;
}

h2 {
  font-size: clamp(2.1rem, 5vw, 4.8rem);
  line-height: 0.98;
}

h3 {
  font-size: 1.05rem;
}

.hero-lede,
.section-copy p,
.experience-copy p,
.footer p {
  color: #465367;
  font-size: clamp(1rem, 1.7vw, 1.2rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 0.35rem;
}

.hero-stage {
  align-self: center;
  aspect-ratio: 1.35;
  min-height: 34rem;
  perspective: 1100px;
  position: relative;
  transform-style: preserve-3d;
}

.flow-lines {
  height: 100%;
  inset: 0;
  position: absolute;
  width: 100%;
}

.flow-path {
  animation: flowDash 5s linear infinite;
  fill: none;
  stroke-linecap: round;
  stroke-width: 3;
  stroke-dasharray: 14 18;
}

.path-a {
  stroke: rgba(20, 184, 166, 0.55);
}

.path-b {
  animation-delay: -1.5s;
  stroke: rgba(255, 107, 74, 0.5);
}

.path-c {
  animation-delay: -2.5s;
  stroke: rgba(37, 99, 235, 0.4);
}

@keyframes flowDash {
  to {
    stroke-dashoffset: -128;
  }
}

.device {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(220, 226, 232, 0.9);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 0.85rem;
  padding: 1rem;
  position: absolute;
  transform-style: preserve-3d;
}

.panel-top {
  align-items: center;
  color: #344054;
  display: flex;
  font-size: 0.82rem;
  font-weight: 750;
  gap: 0.5rem;
}

.dot {
  border-radius: 999px;
  display: inline-block;
  height: 0.62rem;
  width: 0.62rem;
}

.green { background: #22c55e; }
.blue { background: var(--blue); }
.amber { background: var(--amber); }
.violet { background: var(--violet); }

.phone-panel {
  left: 0;
  top: 10%;
  width: min(19rem, 44%);
}

.agent-panel {
  left: 34%;
  top: 27%;
  width: min(18rem, 40%);
}

.order-panel {
  right: 3%;
  top: 11%;
  width: min(18rem, 40%);
}

.desk-panel {
  bottom: 5%;
  left: 19%;
  width: min(31rem, 68%);
}

.depth-a {
  animation: floatA 7s ease-in-out infinite;
  transform: rotateY(-18deg) rotateX(7deg) translateZ(58px);
}

.depth-b {
  animation: floatB 8s ease-in-out infinite;
  transform: rotateY(16deg) rotateX(-4deg) translateZ(110px);
}

.depth-c {
  animation: floatC 7.5s ease-in-out infinite;
  transform: rotateY(18deg) rotateX(8deg) translateZ(48px);
}

.depth-d {
  animation: floatD 9s ease-in-out infinite;
  transform: rotateX(10deg) rotateY(-8deg) translateZ(20px);
}

@keyframes floatA {
  50% { transform: rotateY(-14deg) rotateX(9deg) translate3d(0, -12px, 68px); }
}

@keyframes floatB {
  50% { transform: rotateY(12deg) rotateX(-2deg) translate3d(0, 10px, 120px); }
}

@keyframes floatC {
  50% { transform: rotateY(14deg) rotateX(10deg) translate3d(0, -9px, 58px); }
}

@keyframes floatD {
  50% { transform: rotateX(8deg) rotateY(-5deg) translate3d(0, 9px, 30px); }
}

.chat-message {
  border-radius: 8px;
  font-size: 0.88rem;
  line-height: 1.35;
  padding: 0.7rem 0.8rem;
}

.incoming {
  background: #eef7f6;
  color: #164e46;
}

.outgoing {
  background: var(--ink);
  color: white;
}

.quick-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.quick-row span,
.secure-chip {
  background: #eef2ff;
  border-radius: 999px;
  color: #1d4ed8;
  font-size: 0.78rem;
  font-weight: 750;
  padding: 0.42rem 0.65rem;
}

.agent-core {
  background: linear-gradient(135deg, #0f766e, #101828 74%);
  border-radius: 8px;
  color: white;
  display: grid;
  gap: 0.5rem;
  min-height: 11rem;
  overflow: hidden;
  padding: 1.1rem;
  position: relative;
}

.agent-core p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
  line-height: 1.45;
  max-width: 16rem;
}

.pulse-ring {
  animation: pulse 2.6s ease-in-out infinite;
  border: 1px solid rgba(185, 242, 74, 0.8);
  border-radius: 999px;
  height: 7.5rem;
  position: absolute;
  right: -1.8rem;
  top: -1.4rem;
  width: 7.5rem;
}

@keyframes pulse {
  50% {
    opacity: 0.4;
    transform: scale(1.15);
  }
}

.order-line,
.order-total {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.order-line {
  color: #475467;
  font-size: 0.9rem;
}

.order-total {
  border-top: 1px solid var(--line);
  padding-top: 0.75rem;
}

.kanban-row,
.metric-strip {
  display: grid;
  gap: 0.55rem;
  grid-template-columns: repeat(3, 1fr);
}

.kanban-row span {
  background: #f2f4f7;
  border-radius: 8px;
  color: #344054;
  font-size: 0.78rem;
  font-weight: 750;
  padding: 0.65rem;
  text-align: center;
}

.handoff-card {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 8px;
  color: #9a3412;
  font-weight: 750;
  padding: 0.7rem;
}

.metric-strip {
  align-items: end;
  grid-template-columns: auto 1fr auto 1fr;
}

.metric-strip strong {
  font-size: 1.5rem;
}

.metric-strip span {
  color: #667085;
  font-size: 0.78rem;
}

.signal-band {
  background: var(--ink);
  color: white;
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(4, 1fr);
}

.signal-band div {
  background: rgba(255, 255, 255, 0.04);
  display: grid;
  gap: 0.2rem;
  min-height: 9rem;
  padding: clamp(1.1rem, 3vw, 2rem);
}

.signal-band strong {
  color: var(--lime);
  font-size: clamp(2rem, 4vw, 4.5rem);
  line-height: 1;
}

.signal-band span {
  color: rgba(255, 255, 255, 0.74);
}

.section-grid,
.operator-view,
.security-section,
.experience {
  padding: clamp(4rem, 8vw, 8rem) clamp(1rem, 5vw, 5rem);
}

.section-grid {
  display: grid;
  gap: clamp(2rem, 4vw, 4rem);
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
}

.section-copy {
  display: grid;
  gap: 1rem;
}

.capability-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.capability-grid article,
.timeline-step,
.operator-board {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.capability-grid article {
  display: grid;
  gap: 0.8rem;
  min-height: 15rem;
  padding: 1.25rem;
}

.capability-grid p,
.timeline-step p,
.operator-columns p,
.security-list p {
  color: #536176;
  line-height: 1.5;
}

.mini-icon {
  align-items: center;
  background: var(--lime);
  border-radius: 8px;
  display: inline-flex;
  font-weight: 900;
  height: 2.3rem;
  justify-content: center;
  width: 2.7rem;
}

.experience {
  background: #eef7f6;
}

.experience-copy {
  display: grid;
  gap: 1rem;
  max-width: 60rem;
}

.timeline {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 2rem;
}

.timeline-step {
  display: grid;
  gap: 0.8rem;
  opacity: 0.55;
  padding: 1.2rem;
  transform: translateY(12px);
  transition: opacity 420ms ease, transform 420ms ease;
}

.timeline-step.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.timeline-step span {
  align-items: center;
  background: var(--ink);
  border-radius: 999px;
  color: white;
  display: inline-flex;
  font-weight: 850;
  height: 2rem;
  justify-content: center;
  width: 2rem;
}

.operator-view {
  align-items: center;
  display: grid;
  gap: clamp(2rem, 5vw, 5rem);
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
}

.operator-board {
  box-shadow: var(--shadow);
  overflow: hidden;
}

.operator-header {
  align-items: center;
  background: var(--ink);
  color: white;
  display: flex;
  justify-content: space-between;
  padding: 1rem;
}

.operator-header span {
  color: var(--lime);
}

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

.operator-columns article {
  background: white;
  display: grid;
  gap: 0.75rem;
  min-height: 13rem;
  padding: 1rem;
}

.security-section {
  align-items: start;
  background: var(--ink);
  color: white;
  display: grid;
  gap: clamp(2rem, 4vw, 4rem);
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.security-section .eyebrow {
  color: var(--lime);
}

.security-list {
  display: grid;
  gap: 1rem;
}

.security-list p {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.76);
  padding-top: 1rem;
}

.security-list strong {
  color: white;
}

.footer {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  padding: 2rem clamp(1rem, 5vw, 5rem);
}

.footer p {
  font-size: 0.95rem;
  margin-top: 0.35rem;
}

@media (max-width: 980px) {
  .hero,
  .section-grid,
  .operator-view,
  .security-section {
    grid-template-columns: 1fr;
  }

  h1 {
    max-width: 12ch;
  }

  .hero-stage {
    min-height: 31rem;
  }

  .timeline,
  .signal-band {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .site-header {
    align-items: stretch;
    display: grid;
  }

  .nav {
    justify-content: space-between;
  }

  .header-action {
    display: none;
  }

  .hero {
    padding-top: 2.2rem;
  }

  .hero-stage {
    aspect-ratio: auto;
    min-height: 43rem;
  }

  .device {
    position: relative;
    transform: none;
    width: 100%;
  }

  .phone-panel,
  .agent-panel,
  .order-panel,
  .desk-panel {
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    margin-bottom: 0.9rem;
    width: 100%;
  }

  .flow-lines {
    display: none;
  }

  .capability-grid,
  .timeline,
  .signal-band,
  .operator-columns {
    grid-template-columns: 1fr;
  }

  .signal-band div {
    min-height: 7rem;
  }

  .footer {
    align-items: flex-start;
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}
