:root {
  --orange: #eb5a0c;
  --orange-text: #a83b04;
  --cyan: #009bd9;
  --blue: #2277bb;
  --ink: #1b1b1b;
  --muted: #646464;
  --line: #dcdcdc;
  --soft: #f4f4f4;
  --white: #ffffff;
  --whatsapp: #1f9d68;
  --header-h: 76px;
  --page-pad: clamp(28px, 5vw, 88px);
  --content-w: 1460px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;
  background: var(--ink);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

button, a { font: inherit; }
button { color: inherit; }
a { color: inherit; }
img { display: block; max-width: 100%; }
svg { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
em { color: var(--orange); font-style: normal; }

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

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 4px;
}

.topbar {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(22px, 3vw, 52px);
  border-bottom: 1px solid rgba(27, 27, 27, .12);
  background: rgba(255, 255, 255, .96);
}

.brand { display: inline-flex; align-items: center; }
.brand img { width: clamp(190px, 17vw, 280px); height: auto; }
.topbar-actions { display: flex; align-items: center; gap: clamp(16px, 2vw, 34px); }

.sector-trigger {
  min-width: min(310px, 34vw);
  min-height: 44px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--white);
  cursor: pointer;
  text-align: left;
  transition: border-color .2s ease, background .2s ease;
}
.sector-trigger:hover { border-color: var(--orange); background: #fff9f5; }
.sector-trigger-label { color: var(--muted); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.sector-trigger strong { overflow: hidden; font-size: 13px; white-space: nowrap; text-overflow: ellipsis; }
.sector-trigger svg { width: 16px; height: 16px; }

.page-count { display: flex; align-items: baseline; gap: 5px; min-width: 72px; font-size: 12px; }
.page-count b { color: var(--orange); font-size: 19px; }
.page-count i { color: #aaa; font-style: normal; }
.page-count span { color: var(--muted); }

.sector-dialog,
.diagram-dialog,
.focus-dialog {
  width: min(1060px, calc(100vw - 40px));
  max-height: calc(100vh - 40px);
  padding: clamp(24px, 4vw, 52px);
  border: 0;
  border-radius: 10px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .24);
  background: var(--white);
}
.sector-dialog::backdrop,
.diagram-dialog::backdrop,
.focus-dialog::backdrop { background: rgba(27, 27, 27, .72); }
.dialog-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.dialog-head h2 { margin: 2px 0 0; font-size: clamp(28px, 4vw, 50px); line-height: 1.05; letter-spacing: -.04em; }
.dialog-context,
.section-context { margin: 0 0 10px; color: var(--orange-text); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.page-dark .section-context { color: #ff7a32; }
.dialog-lede { max-width: 680px; margin: 18px 0 28px; color: var(--muted); }
.icon-button {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}
.icon-button:hover { color: var(--white); border-color: var(--orange); background: var(--orange); }

.side-nav {
  position: fixed;
  z-index: 80;
  right: 18px;
  top: 50%;
  display: flex;
  flex-direction: column;
  gap: 0;
  transform: translateY(-50%);
}
.side-nav a {
  position: relative;
  width: 44px;
  height: 44px;
}
.side-nav a::before {
  content: attr(aria-label);
  position: absolute;
  right: 18px;
  top: 50%;
  width: max-content;
  padding: 5px 8px;
  border-radius: 4px;
  color: var(--white);
  background: var(--ink);
  font-size: 10px;
  opacity: 0;
  pointer-events: none;
  transform: translate(6px, -50%);
  transition: opacity .15s ease, transform .15s ease;
}
.side-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 8px;
  height: 8px;
  border: 1px solid rgba(27, 27, 27, .45);
  border-radius: 50%;
  background: rgba(255, 255, 255, .76);
  transform: translateY(-50%);
  transition: width .25s ease, border-color .25s ease, background .25s ease;
}
.side-nav a:hover::before, .side-nav a:focus-visible::before { opacity: 1; transform: translate(0, -50%); }
.side-nav a[aria-current="page"]::after { width: 22px; border-radius: 5px; border-color: var(--orange); background: var(--orange); }
.side-nav.is-on-dark a::after { border-color: rgba(255, 255, 255, .7); }

.deck { position: relative; }
.page {
  position: relative;
  min-height: 100svh;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  overflow: hidden;
  background: var(--white);
}
.page[hidden] { display: none !important; }
.page-soft { background: var(--soft); }
.page-dark { color: var(--white); background: var(--ink); }
.page-index {
  position: absolute;
  right: clamp(30px, 5vw, 80px);
  bottom: 22px;
  color: rgba(27, 27, 27, .2);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
}
.page-dark .page-index { color: rgba(255, 255, 255, .25); }
.page-shell,
.hero-layout,
.demo-mount {
  width: min(100%, var(--content-w));
  min-height: 100svh;
  margin: 0 auto;
  padding: calc(var(--header-h) + clamp(36px, 5vh, 78px)) var(--page-pad) clamp(52px, 7vh, 92px);
}

.page-heading { align-self: center; max-width: 690px; }
.page-heading-centered { max-width: 820px; margin: 0 auto; text-align: center; }
.page-heading h2,
.demo-copy h2,
.dynamic-heading h2,
.closing-content h2 {
  margin: 0;
  font-size: clamp(38px, 5vw, 78px);
  line-height: .98;
  letter-spacing: -.055em;
}
.page-heading > p:last-child,
.demo-copy > p:last-child,
.closing-content > p {
  max-width: 650px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(16px, 1.25vw, 20px);
}
.page-dark .page-heading > p:last-child,
.page-dark .demo-copy > p:last-child,
.page-dark .closing-content > p { color: rgba(255, 255, 255, .7); }
.compact-heading { max-width: 980px; }

.hero-page { color: var(--white); background: var(--ink); }
.hero-media {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(18, 18, 18, .96) 0%, rgba(18, 18, 18, .78) 43%, rgba(18, 18, 18, .18) 100%), url("immagini/ellysse-hero.jpg");
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}
.hero-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(540px, 1.05fr);
  align-items: center;
  gap: clamp(42px, 6vw, 110px);
}
.hero-copy { max-width: 670px; }
.hero-brandline { margin: 0 0 22px; color: #ffd2ba; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.hero-copy h1 { margin: 0; font-size: clamp(60px, 6.5vw, 118px); line-height: .86; letter-spacing: -.072em; }
.hero-copy h1 > * { display: block; }
.hero-copy h1 .hero-longword { font-size: clamp(48px, 4.7vw, 84px); }
.hero-lede { max-width: 620px; margin: 30px 0; color: rgba(255, 255, 255, .79); font-size: clamp(17px, 1.5vw, 23px); }
.text-link,
.primary-link {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 10px 0;
  border-bottom: 2px solid currentColor;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.text-link-light { color: var(--white); }
.text-link:hover svg, .primary-link:hover svg { transform: translateX(5px); }
.text-link svg, .primary-link svg { transition: transform .2s ease; }

.hero-selector {
  align-self: center;
  padding: clamp(26px, 3vw, 46px);
  border-top: 4px solid var(--orange);
  color: var(--ink);
  background: rgba(255, 255, 255, .96);
}
.hero-selector-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.hero-selector-head p { margin: 0 0 5px; color: var(--orange-text); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.hero-selector-head h2 { margin: 0; font-size: clamp(23px, 2.2vw, 36px); letter-spacing: -.04em; }
.overview-button,
.change-sector-button {
  min-height: 44px;
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: transparent;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}
.overview-button:hover, .overview-button.is-active, .change-sector-button:hover { color: var(--ink); border-color: var(--orange); background: var(--orange); }
.sector-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.sector-option {
  min-height: 92px;
  display: grid;
  grid-template-columns: 32px 1fr;
  align-items: center;
  gap: 10px;
  padding: 13px;
  border: 1px solid #e2e2e2;
  border-radius: 6px;
  background: var(--white);
  cursor: pointer;
  text-align: left;
  transition: border-color .18s ease, color .18s ease, transform .18s var(--ease);
}
.sector-option:hover { color: var(--orange-text); border-color: var(--orange); transform: translateY(-2px); }
.sector-option.is-active { color: var(--ink); border-color: var(--orange); background: var(--orange); }
.sector-option svg { width: 28px; height: 28px; }
.sector-option strong { display: block; font-size: 12px; }
.sector-option span { display: block; margin-top: 3px; color: var(--muted); font-size: 9px; line-height: 1.3; }
.sector-option.is-active span { color: rgba(27, 27, 27, .8); }
.sector-grid-dialog { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.sector-grid-dialog .sector-option { grid-template-columns: 1fr; min-height: 112px; }
.sector-grid-dialog .sector-option svg { width: 32px; height: 32px; }
.noscript-note { margin: 12px 0 0; font-size: 11px; }

.contatta-page .page-shell { display: flex; flex-direction: column; justify-content: center; gap: clamp(34px, 5vh, 70px); }
.channel-orbit {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  align-items: center;
  gap: 0;
  width: 100%;
}
.channel-node,
.contatta-core {
  position: relative;
  min-height: 132px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 18px;
  border: 1px solid var(--line);
  background: var(--white);
}
.channel-node + .channel-node,
.contatta-core + .channel-node { border-left: 0; }
.channel-node span { color: var(--orange-text); font-size: 11px; font-weight: 700; }
.channel-node strong { margin-top: 24px; font-size: clamp(12px, 1vw, 15px); line-height: 1.2; }
.contatta-core { min-height: 176px; align-items: center; color: var(--ink); border: 0; background: var(--orange); text-align: center; }
.contatta-core strong { position: relative; font-size: clamp(18px, 2vw, 28px); }
.contatta-core small { position: relative; margin-top: 4px; }
.core-dots { position: absolute; inset: 16px; border: 1px solid rgba(255, 255, 255, .32); border-radius: 50%; }

.split-shell { display: grid; grid-template-columns: minmax(0, .9fr) minmax(480px, 1.1fr); align-items: center; gap: clamp(50px, 8vw, 140px); }
.handover-flow { display: grid; align-content: center; }
.handover-step { position: relative; display: grid; grid-template-columns: 40px 54px 1fr; align-items: center; gap: 18px; min-height: 150px; padding: 22px 0; border-bottom: 1px solid rgba(255, 255, 255, .18); }
.handover-step:last-child { border-bottom: 0; }
.handover-step > svg, .ai-mark { width: 52px; height: 52px; padding: 12px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 50%; color: var(--cyan); }
.handover-ai > svg { color: var(--orange); }
.ai-mark { display: grid; place-items: center; padding: 0; color: var(--ink); border-color: var(--orange); background: var(--orange); font-weight: 700; }
.step-number { align-self: start; color: rgba(255, 255, 255, .4); font-size: 11px; font-weight: 700; }
.handover-step strong { font-size: clamp(16px, 1.4vw, 20px); }
.handover-step p { margin: 8px 0 0; color: rgba(255, 255, 255, .62); font-size: 13px; }

.benefits-page .page-shell { display: flex; flex-direction: column; justify-content: center; gap: 46px; }
.benefit-lines { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.benefit-lines article { min-height: 175px; padding: 23px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.benefit-lines span { color: var(--orange-text); font-size: 11px; font-weight: 700; }
.benefit-lines h3 { margin: 32px 0 8px; font-size: clamp(15px, 1.25vw, 20px); }
.benefit-lines p { margin: 0; color: var(--muted); font-size: 12px; }

.usecases-page .page-shell { display: flex; flex-direction: column; justify-content: center; gap: clamp(38px, 7vh, 86px); }
.dynamic-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; }
.dynamic-heading h2 { font-size: clamp(38px, 4.8vw, 72px); }
.change-sector-button { border-color: var(--ink); white-space: nowrap; }
.usecase-stage { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); }
.usecase-stage article { min-height: 270px; padding: clamp(24px, 3vw, 42px); border-right: 1px solid #c6c6c6; }
.usecase-stage article:last-child { border-right: 0; }
.usecase-stage span { display: inline-flex; padding: 5px 9px; color: var(--white); background: var(--ink); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.usecase-stage h3 { margin: 72px 0 12px; font-size: clamp(22px, 2.3vw, 36px); line-height: 1.06; letter-spacing: -.03em; }
.usecase-stage p { max-width: 290px; margin: 0; color: var(--muted); }

.demo-mount { display: grid; grid-template-columns: minmax(390px, .85fr) minmax(560px, 1.15fr); align-items: center; gap: clamp(48px, 6vw, 100px); }
.demo-copy { max-width: 570px; }
.demo-copy h2 { font-size: clamp(35px, 3.6vw, 56px); }
.demo-copy .section-context { display: flex; align-items: center; gap: 9px; }
.demo-copy .section-context::before { content: ""; width: 22px; height: 2px; background: currentColor; }
.demo-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 22px 0 0; background: var(--line); border: 1px solid var(--line); }
.demo-meta div { padding: 13px; background: var(--white); }
.demo-meta span { display: block; color: var(--muted); font-size: 8px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.demo-meta strong { display: block; margin-top: 5px; font-size: 10px; line-height: 1.25; }
.page-dark .demo-meta { background: rgba(255, 255, 255, .18); border-color: rgba(255, 255, 255, .18); }
.page-dark .demo-meta div { background: #272727; }
.page-dark .demo-meta span { color: rgba(255, 255, 255, .55); }
.demo-steps { margin: 20px 0 0; padding: 0; list-style: none; counter-reset: step; }
.demo-steps li { display: flex; align-items: center; gap: 10px; margin-top: 8px; color: var(--muted); font-size: 11px; }
.demo-steps li::before { counter-increment: step; content: counter(step, decimal-leading-zero); color: var(--orange-text); font-weight: 700; }
.page-dark .demo-steps li { color: rgba(255, 255, 255, .62); }
.page-dark .demo-steps li::before { color: #ff7a32; }
.demo-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px; }
.demo-control {
  min-height: 44px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: transparent;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
}
.demo-control:hover, .demo-control.is-active { color: var(--ink); border-color: var(--orange); background: var(--orange); }
.page-dark .demo-control { color: var(--white); border-color: rgba(255, 255, 255, .28); }
.page-dark .demo-control:hover, .page-dark .demo-control.is-active { color: var(--ink); }
.demo-status { min-width: 88px; color: var(--muted); font-size: 10px; }
.page-dark .demo-status { color: rgba(255, 255, 255, .6); }
.demo-progress { height: 3px; flex: 1 1 100%; margin-top: 6px; overflow: hidden; background: var(--line); }
.demo-progress i { display: block; width: 0; height: 100%; background: var(--orange); transition: width .32s ease; }
.page-dark .demo-progress { background: rgba(255, 255, 255, .16); }
.fallback-transcript { max-width: 700px; }

.conversation-stage { position: relative; min-width: 0; }
.phone-shell {
  width: min(390px, 100%);
  height: min(690px, 72vh);
  min-height: 560px;
  margin: 0 auto;
  padding: 11px;
  border: 2px solid #202020;
  border-radius: 34px;
  background: #111;
  box-shadow: 0 26px 70px rgba(0, 0, 0, .18);
}
.phone-screen { height: 100%; display: flex; flex-direction: column; overflow: hidden; border-radius: 25px; background: #ece8df; }
.phone-head { display: flex; align-items: center; gap: 11px; min-height: 65px; padding: 12px 16px; color: var(--white); background: #075e54; }
.phone-avatar { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; color: #075e54; background: var(--white); font-size: 11px; font-weight: 700; }
.phone-head strong { display: block; font-size: 12px; }
.phone-head small { display: block; color: rgba(255, 255, 255, .72); font-size: 9px; }
.phone-chat, .web-chat, .voice-chat, .alexa-chat { flex: 1; display: flex; flex-direction: column; gap: 8px; overflow: auto; padding: 17px; scrollbar-width: none; }
.chat-message, .voice-message {
  max-width: 84%;
  padding: 10px 12px;
  border-radius: 5px;
  font-size: 11px;
  line-height: 1.45;
  opacity: 0;
  transform: translateY(8px);
  animation: message-in .35s var(--ease) forwards;
}
.chat-message.user, .voice-message.user { align-self: flex-end; background: #d8f7c9; }
.chat-message.assistant, .voice-message.assistant { align-self: flex-start; background: var(--white); }
.system-action { align-self: center; max-width: 92%; padding: 6px 10px; border-radius: 4px; color: #6c5a38; background: #fff4c6; font-size: 8px; font-weight: 600; text-align: center; opacity: 0; animation: message-in .35s var(--ease) forwards; }
.typing { display: flex; gap: 3px; align-self: flex-start; padding: 9px 12px; background: var(--white); }
.typing i { width: 5px; height: 5px; border-radius: 50%; background: #999; animation: typing 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }

.browser-shell { height: min(620px, 68vh); min-height: 520px; overflow: hidden; border: 1px solid #cfcfcf; border-radius: 8px; background: var(--white); box-shadow: 0 26px 70px rgba(0, 0, 0, .12); }
.browser-head { height: 45px; display: flex; align-items: center; gap: 7px; padding: 0 15px; border-bottom: 1px solid var(--line); background: #fafafa; }
.browser-head i { width: 8px; height: 8px; border-radius: 50%; background: #d4d4d4; }
.browser-url { flex: 1; margin-left: 12px; padding: 5px 10px; color: #888; border-radius: 4px; background: #eee; font-size: 8px; }
.browser-body { position: relative; height: calc(100% - 45px); overflow: hidden; background: #f0f5f7; }
.mock-site { padding: 30px; }
.mock-site span { display: block; width: 120px; height: 14px; background: var(--blue); }
.mock-site h3 { max-width: 410px; margin: 50px 0 20px; font-size: clamp(27px, 3vw, 45px); line-height: 1; }
.mock-site p { width: 70%; height: 8px; background: #cbd8dd; box-shadow: 0 17px #cbd8dd, 0 34px #cbd8dd; }
.web-widget { position: absolute; right: 18px; bottom: 18px; width: min(360px, calc(100% - 36px)); height: 82%; display: flex; flex-direction: column; overflow: hidden; border-radius: 7px; background: var(--white); box-shadow: 0 18px 60px rgba(0, 0, 0, .2); }
.widget-head { padding: 15px 17px; color: var(--white); background: var(--blue); }
.widget-head strong { display: block; font-size: 12px; }
.widget-head small { opacity: .7; font-size: 9px; }
.web-chat { background: #f7f7f7; }
.web-chat .chat-message.user { background: #d9eff9; }

.call-shell { position: relative; height: min(640px, 70vh); min-height: 540px; display: grid; grid-template-rows: auto auto 1fr; overflow: hidden; border: 1px solid rgba(255, 255, 255, .14); border-radius: 8px; background: #262626; }
.call-top { padding: 28px; text-align: center; }
.call-avatar { width: 84px; height: 84px; display: grid; place-items: center; margin: 0 auto 13px; border: 1px solid #ff7a32; border-radius: 50%; color: #ff7a32; font-weight: 700; }
.call-top strong { display: block; }
.call-top small { color: rgba(255, 255, 255, .5); font-size: 10px; }
.call-timer { display: block; margin-top: 8px; color: var(--cyan); font-size: 12px; letter-spacing: .08em; }
.voice-wave { height: 58px; display: flex; align-items: center; justify-content: center; gap: 5px; }
.voice-wave i { width: 4px; height: 14px; background: var(--cyan); animation: wave .8s ease-in-out infinite alternate; }
.voice-wave i:nth-child(2n) { animation-delay: .22s; height: 28px; }
.voice-wave i:nth-child(3n) { animation-delay: .36s; height: 40px; }
.voice-wave.is-paused i { animation-play-state: paused; }
.voice-chat { padding-inline: 28px; background: #202020; }
.voice-message { color: var(--white); }
.voice-message.user { background: var(--blue); }
.voice-message.assistant { background: #3a3a3a; }
.voice-chat .system-action { color: #f4d7c7; background: rgba(235, 90, 12, .18); }

.alexa-page { background: #eef7fb; }
.alexa-scene { height: min(640px, 70vh); min-height: 540px; display: grid; grid-template-columns: .7fr 1.3fr; overflow: hidden; border-radius: 8px; background: #102733; box-shadow: 0 26px 70px rgba(0, 0, 0, .15); }
.alexa-device-wrap { display: grid; place-items: center; padding: 30px; background: #0a1b23; }
.alexa-device { position: relative; width: 170px; height: 190px; border-radius: 48% 48% 42% 42%; background: #252b2e; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .09); }
.alexa-ring { position: absolute; left: 20px; right: 20px; bottom: 12px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 22px var(--cyan); animation: alexa-glow 1.2s ease-in-out infinite alternate; }
.alexa-chat { padding: 34px; background: #102733; }
.alexa-chat .chat-message { color: var(--white); }
.alexa-chat .chat-message.user { background: var(--blue); }
.alexa-chat .chat-message.assistant { background: #244353; }
.alexa-chat .system-action { color: #d0f3ff; background: rgba(0, 155, 217, .18); }

.agent-shell { grid-template-columns: minmax(0, .8fr) minmax(520px, 1.2fr); }
.plain-list { display: grid; grid-template-columns: 1fr 1fr; gap: 9px 24px; margin: 30px 0 0; padding: 0; list-style: none; }
.plain-list li { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 12px; font-weight: 600; }
.diagram-button { padding: 0; border: 0; background: transparent; cursor: pointer; text-align: left; }
.diagram-button > span:last-child { display: flex; align-items: center; justify-content: space-between; padding: 13px 0; border-bottom: 1px solid var(--ink); font-size: 11px; font-weight: 700; text-transform: uppercase; }
.agent-map {
  min-height: 520px;
  display: grid;
  grid-template-columns: minmax(100px, .7fr) auto minmax(150px, 1fr) auto minmax(150px, 1fr);
  grid-template-rows: 1fr auto;
  align-items: center;
  gap: 18px;
  padding: clamp(22px, 3vw, 42px);
  border: 1px solid var(--line);
  background: var(--soft);
}
.agent-map-client,
.agent-map-core {
  min-height: 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  border: 1px solid var(--line);
  background: var(--white);
  text-align: center;
}
.agent-map-client svg { width: 40px; height: 40px; margin-bottom: 12px; color: var(--blue); }
.agent-map-client b, .agent-map-core b { font-size: 13px; }
.agent-map-client small, .agent-map-core small { margin-top: 5px; color: var(--muted); font-size: 8px; }
.agent-map-core { min-height: 210px; color: var(--ink); border-color: var(--orange); background: var(--orange); }
.agent-map-core i { width: 50px; height: 50px; display: grid; place-items: center; margin-bottom: 14px; border: 1px solid rgba(255, 255, 255, .55); border-radius: 50%; font-style: normal; font-weight: 700; }
.agent-map-core small { color: rgba(27, 27, 27, .72); }
.agent-map-arrow { color: var(--muted); font-size: 8px; font-weight: 700; text-transform: uppercase; white-space: nowrap; }
.agent-map-arrow::after { content: "→"; display: block; color: var(--orange); font-size: 28px; line-height: 1; text-align: center; }
.agent-map-tools { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.agent-map-tools i { padding: 12px 8px; border: 1px solid #bdcfda; color: var(--blue); background: var(--white); font-size: 8px; font-style: normal; font-weight: 700; text-align: center; }
.agent-map-result { grid-column: 3 / 6; display: flex; align-items: center; gap: 12px; padding: 14px 18px; color: var(--white); background: var(--ink); font-size: 10px; }
.agent-map-result b { color: var(--cyan); }
.agent-map-large { min-height: calc(100vh - 180px); margin-top: 20px; }
.diagram-dialog { width: min(1440px, calc(100vw - 32px)); }

.analytics-shell { grid-template-columns: minmax(0, .8fr) minmax(550px, 1.2fr); }
.insight-canvas { align-self: center; border-top: 1px solid rgba(255, 255, 255, .22); }
.insight-main { display: grid; grid-template-columns: 1fr auto; padding: 28px 0; border-bottom: 1px solid rgba(255, 255, 255, .22); }
.insight-main span { grid-column: 1 / -1; color: rgba(255, 255, 255, .5); font-size: 10px; text-transform: uppercase; letter-spacing: .1em; }
.insight-main strong { align-self: end; margin-top: 25px; font-size: clamp(22px, 2.5vw, 38px); }
.insight-main b { color: var(--orange); font-size: clamp(40px, 6vw, 92px); line-height: .8; }
.insight-row { display: grid; grid-template-columns: 1fr 1fr auto; align-items: center; gap: 14px; padding: 18px 0; border-bottom: 1px solid rgba(255, 255, 255, .14); font-size: 11px; }
.insight-row span { color: rgba(255, 255, 255, .5); }
.insight-row i { color: var(--cyan); font-style: normal; font-weight: 700; }
.sentiment-line { display: grid; grid-template-columns: 100px 1fr auto; align-items: center; gap: 15px; padding: 22px 0; font-size: 10px; }
.sentiment-line > span { color: rgba(255, 255, 255, .5); }
.sentiment-line div { height: 5px; background: rgba(255, 255, 255, .14); }
.sentiment-line i { display: block; width: var(--w); height: 100%; background: var(--cyan); }
.insight-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.insight-tags span { padding: 7px 10px; border: 1px solid rgba(255, 255, 255, .2); font-size: 9px; }

.results-page .page-shell, .applications-page .page-shell { display: flex; flex-direction: column; justify-content: center; gap: 45px; }
.evidence-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.evidence-grid article { min-height: 310px; display: flex; flex-direction: column; justify-content: space-between; padding: clamp(24px, 3vw, 45px); border: 1px solid var(--line); border-right: 0; }
.evidence-grid article:last-child { border-right: 1px solid var(--line); }
.evidence-grid strong { font-size: clamp(45px, 5.3vw, 84px); line-height: .9; letter-spacing: -.06em; }
.evidence-grid p { margin: 0; font-size: 13px; }
.evidence-grid .evidence-orange { color: var(--ink); border-color: var(--orange); background: var(--orange); }
.evidence-grid .evidence-blue { color: var(--white); border-color: var(--blue); background: var(--blue); }

.story-bands { display: grid; grid-template-columns: repeat(4, 1fr); }
.story-bands article { min-height: 350px; padding: clamp(24px, 3vw, 44px); border-top: 4px solid var(--orange); background: var(--white); }
.story-bands article:nth-child(even) { border-top-color: var(--blue); background: #e9f2f8; }
.story-bands span { color: var(--orange-text); font-size: 11px; font-weight: 700; text-transform: uppercase; }
.story-bands h3 { margin: 120px 0 18px; font-size: clamp(20px, 2vw, 30px); line-height: 1.08; }
.story-bands p { margin: 0; color: var(--muted); font-size: 12px; }

.platform-shell { grid-template-columns: minmax(0, .85fr) minmax(520px, 1.15fr); }
.platform-list { border-top: 1px solid var(--ink); }
.platform-list article { display: grid; grid-template-columns: 54px 1fr; gap: 18px; padding: 21px 0; border-bottom: 1px solid var(--line); }
.platform-list > article > span { color: var(--orange-text); font-size: 11px; font-weight: 700; }
.platform-list h3 { margin: 0 0 5px; font-size: 18px; }
.platform-list p { margin: 0; color: var(--muted); font-size: 12px; }

.closing-page { display: grid; place-items: center; text-align: center; }
.closing-content { position: relative; z-index: 2; max-width: 1100px; padding: calc(var(--header-h) + 50px) var(--page-pad) 70px; }
.closing-content img { width: min(330px, 58vw); margin: 0 auto 50px; padding: 13px 17px; background: var(--white); }
.closing-content h2 { font-size: clamp(48px, 6.7vw, 104px); }
.closing-content > p { margin-inline: auto; }
.primary-link { margin-top: 35px; color: var(--white); }
.closing-orb { position: absolute; width: min(66vw, 820px); aspect-ratio: 1; border: 1px solid rgba(255, 255, 255, .07); border-radius: 50%; }
.closing-orb span { position: absolute; inset: 14%; border: 1px solid rgba(235, 90, 12, .18); border-radius: 50%; animation: orb 8s ease-in-out infinite alternate; }
.closing-orb span:nth-child(2) { inset: 29%; border-color: rgba(0, 155, 217, .22); animation-delay: -2s; }
.closing-orb span:nth-child(3) { inset: 43%; background: var(--orange); border: 0; animation-delay: -4s; }

.progress { position: fixed; z-index: 120; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255, 255, 255, .1); }
.progress span { display: block; width: 0; height: 100%; background: var(--orange); transition: width .2s ease; }

.focus-dialog { width: min(1280px, calc(100vw - 32px)); height: min(880px, calc(100vh - 32px)); padding: 20px; background: var(--soft); }
.focus-dialog .focus-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.focus-dialog .focus-head strong { font-size: 13px; }
.focus-dialog .focus-actions { display: flex; align-items: center; gap: 7px; margin-left: auto; }
.focus-dialog .focus-actions .demo-progress { width: 110px; flex-basis: 110px; margin: 0; }
.focus-dialog .conversation-stage { height: calc(100% - 64px); }

.demo-mount,
.usecase-stage { transition: opacity .34s ease, transform .34s var(--ease); }
.sector-changing .demo-mount,
.sector-changing .usecase-stage { opacity: .15; transform: translateY(8px); }
.focus-dialog .phone-shell,
.focus-dialog .browser-shell,
.focus-dialog .call-shell,
.focus-dialog .alexa-scene { height: 100%; min-height: 0; }

@keyframes message-in { to { opacity: 1; transform: translateY(0); } }
@keyframes typing { 50% { opacity: .25; transform: translateY(-2px); } }
@keyframes wave { to { transform: scaleY(.35); opacity: .55; } }
@keyframes alexa-glow { to { opacity: .45; box-shadow: 0 0 8px var(--cyan); } }
@keyframes orb { to { transform: scale(.92); opacity: .65; } }

@media (max-width: 1180px) {
  :root { --page-pad: clamp(28px, 4vw, 54px); }
  .hero-layout { grid-template-columns: .78fr 1.22fr; gap: 38px; }
  .hero-selector { padding: 26px; }
  .sector-option { min-height: 82px; }
  .sector-option-copy > span { display: none; }
  .split-shell, .demo-mount { gap: 48px; }
  .demo-mount { grid-template-columns: minmax(310px, .75fr) minmax(480px, 1.25fr); }
  .benefit-lines { grid-template-columns: repeat(4, 1fr); }
  .evidence-grid article { min-height: 265px; }
}

@media (max-width: 900px) {
  html { scroll-snap-type: none; }
  :root { --header-h: 68px; }
  .topbar { padding-inline: 18px; }
  .brand img { width: 190px; }
  .sector-trigger { min-width: 0; width: 205px; grid-template-columns: 1fr auto; }
  .sector-trigger-label { display: none; }
  .page-count, .side-nav { display: none; }
  .page { min-height: auto; overflow: clip; }
  .page-shell, .hero-layout, .demo-mount { min-height: auto; padding-top: calc(var(--header-h) + 64px); padding-bottom: 70px; }
  .hero-layout { min-height: 100svh; grid-template-columns: 1fr; align-content: center; gap: 45px; }
  .hero-media { background-position: 68% center; }
  .hero-copy { max-width: 600px; }
  .hero-selector { max-width: 720px; }
  .sector-grid, .sector-grid-dialog { grid-template-columns: repeat(2, 1fr); }
  .split-shell, .demo-mount { grid-template-columns: 1fr; }
  .page-heading { max-width: 760px; }
  .channel-orbit { grid-template-columns: repeat(3, 1fr); }
  .channel-node + .channel-node, .contatta-core + .channel-node { border-left: 1px solid var(--line); }
  .contatta-core { grid-column: 2; grid-row: 1 / span 2; min-height: 100%; }
  .benefit-lines { grid-template-columns: repeat(2, 1fr); }
  .demo-mount { gap: 42px; }
  .demo-copy { max-width: 760px; }
  .conversation-stage { width: min(720px, 100%); margin-inline: auto; }
  .phone-shell { height: 650px; }
  .browser-shell, .call-shell, .alexa-scene { height: 620px; }
  .usecase-stage, .evidence-grid, .story-bands { grid-template-columns: repeat(2, 1fr); }
  .usecase-stage article:nth-child(2) { border-right: 0; }
  .usecase-stage article:last-child { grid-column: 1 / -1; border-top: 1px solid #c6c6c6; }
  .evidence-grid article:nth-child(2) { border-right: 1px solid var(--line); }
  .story-bands article { min-height: 300px; }
  .story-bands h3 { margin-top: 80px; }
  .page-index { display: none; }
}

@media (max-width: 620px) {
  :root { --page-pad: 20px; }
  .topbar { height: 62px; }
  .brand img { width: 145px; }
  .sector-trigger { width: 152px; min-height: 44px; padding: 7px 9px; }
  .sector-trigger strong { font-size: 10px; }
  .sector-dialog { width: calc(100vw - 20px); max-height: calc(100vh - 20px); padding: 22px; }
  .dialog-head h2 { font-size: 31px; }
  .dialog-lede { margin-bottom: 20px; font-size: 13px; }
  .sector-grid, .sector-grid-dialog { grid-template-columns: 1fr; }
  .sector-grid-dialog .sector-option { min-height: 88px; }
  .hero-layout { padding-top: 96px; padding-bottom: 34px; gap: 32px; }
  .hero-copy h1 { font-size: clamp(55px, 18vw, 82px); }
  .hero-lede { margin-block: 20px; font-size: 15px; }
  .hero-selector { padding: 20px; }
  .hero-selector-head { align-items: flex-start; flex-direction: column; gap: 12px; }
  .sector-grid { gap: 6px; }
  .sector-option { min-height: 58px; grid-template-columns: 34px 1fr; justify-items: start; padding: 8px 12px; text-align: left; }
  .sector-option svg { width: 23px; height: 23px; }
  .sector-option strong { font-size: 9px; }
  .page-shell, .demo-mount { padding-top: 100px; padding-bottom: 58px; }
  .page-heading h2, .demo-copy h2, .dynamic-heading h2 { font-size: clamp(35px, 11vw, 53px); }
  .page-heading > p:last-child, .demo-copy > p:last-child { font-size: 14px; }
  .channel-orbit { grid-template-columns: 1fr 1fr; }
  .contatta-core { grid-column: 1 / -1; grid-row: auto; min-height: 135px; order: -1; }
  .channel-node { min-height: 105px; }
  .handover-step { grid-template-columns: 26px 42px 1fr; gap: 11px; min-height: 126px; }
  .handover-step > svg, .ai-mark { width: 42px; height: 42px; padding: 9px; }
  .benefit-lines { grid-template-columns: 1fr; }
  .benefit-lines article { min-height: 132px; }
  .benefit-lines h3 { margin-top: 20px; }
  .dynamic-heading { align-items: flex-start; flex-direction: column; }
  .usecase-stage, .evidence-grid, .story-bands { grid-template-columns: 1fr; }
  .usecase-stage article { min-height: 210px; border-right: 0; border-bottom: 1px solid #c6c6c6; }
  .usecase-stage article:last-child { grid-column: auto; }
  .usecase-stage h3 { margin-top: 46px; }
  .demo-meta { grid-template-columns: 1fr; }
  .demo-steps { display: none; }
  .phone-shell { min-height: 540px; height: 72svh; }
  .browser-shell, .call-shell, .alexa-scene { min-height: 540px; height: 72svh; }
  .alexa-scene { grid-template-columns: 1fr; grid-template-rows: 180px 1fr; }
  .alexa-device { width: 115px; height: 125px; }
  .alexa-chat { padding: 20px; }
  .chat-message, .voice-message { font-size: 10px; }
  .plain-list { grid-template-columns: 1fr; }
  .agent-map { min-height: 560px; grid-template-columns: 1fr auto 1fr; grid-template-rows: auto auto auto; }
  .agent-map-client { grid-column: 1; }
  .agent-map-core { grid-column: 3; }
  .agent-map > .agent-map-arrow:nth-of-type(4) { display: none; }
  .agent-map-tools { grid-column: 1 / -1; grid-row: 2; }
  .agent-map-result { grid-column: 1 / -1; grid-row: 3; }
  .agent-shell, .analytics-shell, .platform-shell { gap: 45px; }
  .insight-row { grid-template-columns: 1fr auto; }
  .insight-row span { grid-column: 1 / -1; }
  .sentiment-line { grid-template-columns: 1fr auto; }
  .sentiment-line div { grid-column: 1 / -1; grid-row: 2; }
  .evidence-grid article { min-height: 230px; border-right: 1px solid var(--line); }
  .story-bands article { min-height: 255px; }
  .closing-content img { margin-bottom: 34px; }
  .closing-content h2 { font-size: clamp(45px, 13vw, 68px); }
  .closing-orb { width: 95vw; }
  .focus-dialog .focus-head { align-items: flex-start; flex-wrap: wrap; }
  .focus-dialog .focus-actions { order: 3; width: 100%; flex-wrap: wrap; margin: 0; }
  .focus-dialog .focus-actions .demo-progress { flex-basis: 100%; width: 100%; }
  .focus-dialog .conversation-stage { height: calc(100% - 120px); }
}

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