/* Hello AI — sito · design system
 * Generato da hello-site-v1_codex (helloai.schedy.app). NON modificare qui:
 * si modifica il sito e si rigenera il pacchetto. Ordine = ordine della pagina. */

/* ===== styles.css ===== */
/* HELLOAI Astra V2 — mobile-first, content visible without JavaScript. */
:root {
  color-scheme: light;
  --blue: #0759eb;
  --brand-blue: #146bff;
  --navy: #071638;
  --body: #4a5a73;
  --soft: #f3f7ff;
  --line: #dce5f3;
  --green: #08744b;
  --radius: 24px;
  --shadow: 0 16px 45px #102d6312;
  font-family:
    Inter,
    "Segoe UI",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  color: var(--navy);
  background: #fff;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
body {
  margin: 0;
  line-height: 1.6;
}
button,
input,
select {
  font: inherit;
}
button,
a,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
  color: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  max-width: 100%;
}
[hidden] {
  display: none !important;
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
h1,
h2,
h3 {
  text-wrap: balance;
}
h1,
h2 {
  line-height: 1.07;
  letter-spacing: -0.055em;
  font-weight: 800;
}
h2 {
  font-size: clamp(2rem, 4.2vw, 3.3rem);
}
h3 {
  font-size: 1.125rem;
  line-height: 1.3;
  letter-spacing: -0.025em;
}
p {
  color: var(--body);
}
button:disabled {
  cursor: default;
  opacity: 0.55;
}
:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 5px;
}
::selection {
  background: #dce9ff;
}
.container {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}
.section {
  padding-block: 64px;
}
.eyebrow {
  font-size: 0.75rem;
  line-height: 1.6;
  font-weight: 750;
  letter-spacing: 0.115em;
  color: var(--body);
  margin-bottom: 16px;
}
.blue {
  color: var(--blue);
}
.status-dot {
  width: 7px;
  height: 7px;
  background: var(--green);
  border-radius: 50%;
  display: inline-block;
  flex: none;
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  min-height: 52px;
  padding: 14px 23px;
  background: var(--blue);
  color: #fff;
  border: 1px solid var(--blue);
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.4;
  box-shadow: 0 5px 12px #0759eb16;
  transition:
    background 0.18s,
    transform 0.18s;
}
.button:hover {
  background: #0848bb;
  transform: translateY(-2px);
}
.button span {
  font-size: 1.2rem;
}
.button-small {
  min-height: 44px;
  padding: 10px 18px;
  font-size: 0.875rem;
}
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 0.9375rem;
  font-weight: 700;
  min-height: 44px;
  color: var(--blue);
  border: 0;
  background: none;
  padding: 0;
}
.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.plain-button {
  border: 0;
  background: transparent;
  font-size: 0.875rem;
  min-height: 44px;
  padding: 8px;
  color: var(--body);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.micro {
  font-size: 0.8125rem;
  line-height: 1.6;
}
.skip-link {
  position: fixed;
  top: 8px;
  left: 16px;
  background: var(--navy);
  color: #fff;
  padding: 12px;
  z-index: 100;
  transform: translateY(-200%);
}
.skip-link:focus {
  transform: none;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #ffffffed;
  border-bottom: 1px solid #edf1f8;
  backdrop-filter: blur(14px);
}
.nav-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 76px;
}
.brand {
  font-size: 1.5rem;
  font-weight: 850;
  letter-spacing: -0.06em;
  line-height: 1;
  position: relative;
  display: inline-flex;
  padding-block: 12px;
  flex: none;
}
.brand > span {
  color: var(--brand-blue);
}
.brand i {
  position: absolute;
  bottom: 5px;
  left: 32px;
  width: 19px;
  height: 6px;
  border-bottom: 3px solid var(--brand-blue);
  border-radius: 50%;
}
.desktop-nav {
  display: none;
}
.header-cta {
  margin-left: auto;
}
.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  flex: none;
}
.menu-toggle > span {
  width: 16px;
  height: 2px;
  background: var(--navy);
  transition: transform 0.2s;
}
.menu-toggle[aria-expanded="true"] > span:first-child {
  transform: translateY(4px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] > span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}
.mobile-menu {
  padding-block: 8px 20px;
  max-height: 65vh;
  overflow: auto;
}
.mobile-menu a {
  display: block;
  padding: 10px 0;
  font-weight: 600;
}
.hero {
  display: grid;
  gap: 36px;
  padding-block: 34px 46px;
}
.hero h1 {
  font-size: clamp(2.6rem, 10.8vw, 4rem);
  letter-spacing: -0.06em;
}
.hero .eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  letter-spacing: 0.045em;
}
.accent-word {
  color: var(--brand-blue);
  position: relative;
  display: inline-block;
}
.accent-word:after {
  content: "";
  position: absolute;
  bottom: -7px;
  left: 0;
  width: 94%;
  height: 6px;
  background: #c8ddff;
  border-radius: 50%;
  transform: rotate(-2deg);
}
.lead {
  font-size: 1.0625rem;
  max-width: 475px;
  line-height: 1.65;
  margin-top: 26px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  margin-block: 26px 16px;
}
.hero-actions > .button {
  width: 100%;
}
.hero-actions > .text-link {
  margin-inline: auto;
}
.play-icon {
  font-size: 0.7rem;
  background: var(--soft);
  border: 1px solid var(--line);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.hero-visual {
  position: relative;
  min-width: 0;
  margin-bottom: 30px;
  isolation: isolate;
}
.hero-visual > img {
  width: 100%;
  height: 330px;
  object-fit: cover;
  object-position: 62% center;
  border-radius: 26px;
  background: var(--soft);
}
.hero-caption {
  position: absolute;
  top: 20px;
  left: 20px;
  color: var(--navy);
  font-size: 0.875rem;
  line-height: 1.5;
  background: #fffffff2;
  padding: 10px 14px;
  border-radius: 14px;
}
.hero-caption strong {
  font-weight: 700;
}
.event-card {
  position: absolute;
  bottom: -26px;
  left: 14px;
  right: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 15px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow);
}
.event-icon {
  display: grid;
  place-items: center;
  background: #e8f6ef;
  color: var(--green);
  border-radius: 50%;
  width: 42px;
  height: 42px;
  flex: none;
  font-size: 1.25rem;
}
.event-card strong {
  display: block;
  font-size: 0.9375rem;
  line-height: 1.5;
  letter-spacing: -0.02em;
}
.event-card div > span:last-child {
  font-size: 0.8125rem;
  color: var(--body);
}
.event-label {
  font-size: 0.75rem;
  letter-spacing: 0.03em;
  color: var(--body);
  display: block;
  margin-bottom: 3px;
}
.benefit-strip {
  display: grid;
  padding: 16px 22px;
  background: var(--soft);
  border-radius: 20px;
  gap: 0;
}
.benefit-strip p {
  font-size: 0.9375rem;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  padding: 13px 0;
}
.benefit-strip p + p {
  border-top: 1px solid var(--line);
}
.benefit-strip p > span {
  color: var(--blue);
  font-size: 1.2rem;
  margin-right: 5px;
}
.benefit-strip strong {
  color: var(--navy);
}
.how {
  display: grid;
  gap: 28px;
}
.section-intro > p:not(.eyebrow) {
  margin-top: 22px;
  max-width: 430px;
}
.section-intro > .text-link {
  margin-top: 20px;
}
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
}
.steps li {
  display: flex;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding-block: 25px;
}
.step-number {
  font-size: 0.875rem;
  color: var(--blue);
  padding-top: 2px;
  font-variant-numeric: tabular-nums;
}
.steps p {
  font-size: 0.9375rem;
  margin-top: 8px;
  max-width: 420px;
}
.demo-section {
  padding-block: 58px;
  background: var(--soft);
  border-block: 1px solid #e7edf8;
}
.demo-heading {
  display: grid;
  gap: 20px;
  margin-bottom: 28px;
}
.demo-heading > p {
  max-width: 390px;
}
.demo-controls {
  display: grid;
  gap: 20px;
  margin-bottom: 18px;
}
.sector-field label {
  display: block;
  font-size: 0.875rem;
  font-weight: 650;
  margin-bottom: 8px;
}
.sector-field select {
  max-width: 100%;
  width: 100%;
  padding: 12px 36px 12px 15px;
  border: 1px solid #adbcd3;
  border-radius: 12px;
  background: #fff;
  color: var(--navy);
  font-size: 1rem;
  min-height: 48px;
}
.scenario-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: flex-end;
}
.scenario-picker button {
  background: #fff;
  border: 1px solid #becce2;
  min-height: 44px;
  padding: 10px 13px;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
}
.scenario-picker button[aria-pressed="true"] {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.scenario-picker button:hover {
  border-color: var(--blue);
}
.demo-disclosure {
  font-size: 0.8125rem;
  line-height: 1.6;
  margin-bottom: 18px;
  max-width: 730px;
}
.demo-disclosure > span {
  color: var(--blue);
  margin-right: 5px;
}
.demo-grid {
  display: grid;
  gap: 22px;
  align-items: start;
}
.conversation {
  border: 1px solid #d6e0ef;
  border-radius: 22px;
  background: #fff;
  overflow: hidden;
  box-shadow: var(--shadow);
  min-width: 0;
}
.conversation-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px;
  border-bottom: 1px solid var(--line);
}
.assistant-avatar {
  width: 40px;
  height: 40px;
  background: var(--blue);
  color: #fff;
  font-weight: 800;
  display: grid;
  place-items: center;
  border-radius: 14px;
  flex: none;
  font-size: 1.125rem;
}
.conversation-head > div {
  flex: 1;
  min-width: 0;
}
.conversation-head strong {
  display: block;
  font-size: 0.9375rem;
}
.conversation-head div > span {
  display: block;
  font-size: 0.75rem;
  color: var(--body);
  margin-top: 2px;
}
.demo-badge {
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 3px 6px;
  color: var(--body);
}
.transcript {
  height: 360px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  scroll-behavior: auto;
}
.bubble {
  max-width: 90%;
  flex: none;
  animation: appear 0.22s ease-out;
}
.bubble > span {
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  font-weight: 700;
  display: block;
  color: var(--body);
  margin-bottom: 5px;
}
.bubble p {
  padding: 12px 15px;
  border-radius: 4px 16px 16px;
  background: var(--soft);
  color: var(--navy);
  font-size: 1rem;
  line-height: 1.55;
}
.bubble.customer {
  align-self: flex-end;
}
.bubble.customer > span {
  text-align: right;
}
.bubble.customer p {
  background: var(--navy);
  color: #fff;
  border-radius: 16px 4px 16px 16px;
}
.playback {
  padding: 14px 16px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  background: #fff;
}
.playback > .button {
  flex: 1;
}
.playback .plain-button {
  font-size: 0.875rem;
}
.demo-outcome {
  padding: 14px 6px;
  min-width: 0;
}
.demo-outcome h3 {
  font-size: 1.75rem;
  line-height: 1.15;
  letter-spacing: -0.04em;
}
.outcome-steps {
  list-style: none;
  margin: 22px 0;
  padding: 0;
  display: grid;
  gap: 12px;
  font-size: 0.9375rem;
  color: var(--body);
}
.outcome-steps li {
  display: flex;
  gap: 10px;
  align-items: center;
}
.outcome-steps li > span {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid #a9bbd6;
  color: #526580;
  flex: none;
  font-size: 0.75rem;
}
.outcome-steps li.complete > span {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}
.appointment {
  border: 1px solid #d3e0f3;
  background: #fff;
  border-radius: 16px;
  padding: 20px;
}
.appointment-top {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  letter-spacing: 0.035em;
  color: var(--body);
  gap: 10px;
}
.appointment > strong {
  display: block;
  font-size: 1.125rem;
  margin-top: 12px;
  line-height: 1.35;
}
.appointment > p {
  margin-top: 5px;
  font-size: 0.9375rem;
}
.outcome-status {
  display: inline-block;
  padding: 4px 9px;
  background: var(--soft);
  color: var(--body);
  border-radius: 5px;
  font-size: 0.8125rem;
  margin-top: 16px;
}
.outcome-status.done {
  background: #e8f6ef;
  color: var(--green);
}
.outcome-note {
  font-size: 0.9375rem;
  line-height: 1.65;
  margin-top: 18px;
}
.sector-context {
  font-size: 0.875rem;
  margin-top: 20px;
}
.demo-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  align-items: center;
  justify-content: center;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  margin-top: 26px;
  font-size: 0.9375rem;
}
.control-section {
  display: grid;
  gap: 32px;
}
.section-lead {
  margin-top: 22px;
  max-width: 470px;
}
.control-points {
  display: grid;
  gap: 22px;
  margin-top: 30px;
}
.control-points article {
  padding-left: 18px;
  border-left: 2px solid #b7d0fa;
}
.control-points h3 {
  font-size: 1rem;
}
.control-points p {
  font-size: 0.9375rem;
  margin-top: 6px;
  max-width: 430px;
}
.handoff-example {
  background: #f8faff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 26px 22px;
  align-self: center;
}
.handoff-example blockquote {
  font-size: 1.375rem;
  letter-spacing: -0.035em;
  line-height: 1.45;
  margin: 24px 0;
}
.handoff-answer {
  display: flex;
  gap: 13px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
.handoff-answer p {
  font-size: 0.9375rem;
}
.handoff-receipt {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #eaf5ef;
  padding: 16px;
  border-radius: 13px;
  margin-top: 26px;
}
.handoff-receipt .status-dot {
  margin-top: 8px;
}
.handoff-receipt strong {
  font-size: 0.875rem;
  line-height: 1.5;
  display: block;
}
.handoff-receipt p {
  font-size: 0.8125rem;
  margin-top: 4px;
}
.handoff-example .text-link {
  margin-top: 20px;
}
.breathing-room {
  padding: 48px 24px;
  text-align: center;
  border-block: 1px solid var(--line);
}
.breathing-room h2 {
  font-size: clamp(2rem, 4.8vw, 3.7rem);
  line-height: 1.16;
}
.breathing-room > p:last-child {
  margin-top: 22px;
}
.faq-section {
  display: grid;
  gap: 30px;
}
.faq-section h2 {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
}
.faq-list details {
  border-bottom: 1px solid var(--line);
}
.faq-list details:first-child {
  border-top: 1px solid var(--line);
}
.faq-list summary {
  padding: 20px 32px 20px 0;
  font-weight: 650;
  font-size: 1rem;
  cursor: pointer;
  list-style: none;
  position: relative;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary:after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 16px;
  font-size: 1.5rem;
  color: var(--blue);
  font-weight: 400;
}
.faq-list details[open] summary:after {
  content: "−";
}
.faq-list details > p {
  padding: 0 28px 22px 0;
  font-size: 1rem;
}
.final-cta {
  display: grid;
  gap: 28px;
  padding: 34px 24px;
  background: #eaf2ff;
  border: 1px solid #d9e7fc;
  border-radius: 26px;
  margin-bottom: 40px;
}
.final-cta h2 {
  font-size: clamp(2rem, 3.7vw, 3rem);
}
.final-cta p:not(.eyebrow) {
  margin-top: 18px;
  max-width: 450px;
}
.contact-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
  gap: 8px;
}
.contact-actions > .button {
  width: 100%;
}
.contact-actions .micro {
  text-align: center;
  margin-top: 4px !important;
}
.footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 28px;
  padding-bottom: 28px;
}
.footer > p {
  font-size: 0.875rem;
}
.footer .text-link {
  font-size: 0.875rem;
}
.transcript-empty {
  margin: auto;
  max-width: 260px;
  text-align: center;
  font-size: 1rem;
}
.transcript-empty strong {
  display: block;
  font-size: 1.125rem;
  color: var(--navy);
  margin-bottom: 10px;
}
@keyframes appear {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (min-width: 600px) {
  .container {
    width: min(1160px, calc(100% - 64px));
  }
  .hero {
    padding-block: 50px;
  }
  .hero h1 {
    font-size: 4.25rem;
  }
  .hero-actions > .button {
    width: auto;
  }
  .hero-actions > .text-link {
    margin-inline: 0;
  }
  .hero-visual > img {
    height: 450px;
  }
  .event-card {
    left: 24px;
    right: auto;
    min-width: 320px;
  }
  .benefit-strip {
    grid-template-columns: repeat(3, 1fr);
    padding: 20px 22px;
    gap: 18px;
  }
  .benefit-strip p {
    display: block;
    font-size: 0.875rem;
    padding: 4px 0;
  }
  .benefit-strip strong {
    display: block;
    padding-left: 20px;
  }
  .benefit-strip p + p {
    border-top: 0;
    border-left: 1px solid var(--line);
    padding-left: 20px;
  }
  .section {
    padding-block: 80px;
  }
  .sector-field {
    max-width: 290px;
  }
  .transcript {
    height: 390px;
    padding: 24px;
  }
  .playback > .button {
    flex: 0 1 auto;
  }
  .demo-outcome {
    padding: 24px;
  }
  .final-cta {
    padding: 40px;
  }
}
@media (min-width: 950px) {
  .nav-wrap {
    min-height: 84px;
    gap: 32px;
  }
  .brand {
    font-size: 1.625rem;
  }
  .desktop-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-left: auto;
    font-size: 0.875rem;
    font-weight: 600;
  }
  .desktop-nav a {
    padding-block: 12px;
  }
  .desktop-nav a:hover {
    color: var(--blue);
  }
  .header-cta {
    margin-left: 0;
  }
  .menu-toggle {
    display: none;
  }
  .mobile-menu {
    display: none !important;
  }
  .hero {
    grid-template-columns: 1.04fr 1fr;
    align-items: center;
    gap: 40px;
    padding-block: 64px 68px;
  }
  .hero h1 {
    font-size: clamp(3.6rem, 5.5vw, 4.65rem);
  }
  .hero .lead {
    font-size: 1.125rem;
  }
  .hero-visual {
    margin-bottom: 0;
  }
  .hero-visual > img {
    height: 520px;
    object-position: 63% center;
    border-radius: 30px;
  }
  .hero-caption {
    top: 24px;
    left: 24px;
  }
  .event-card {
    left: -24px;
    bottom: 36px;
    min-width: 330px;
    padding: 17px 20px;
  }
  .benefit-strip {
    padding: 22px 34px;
    gap: 34px;
  }
  .benefit-strip p {
    font-size: 1rem;
  }
  .benefit-strip strong {
    display: inline;
    padding-left: 0;
  }
  .benefit-strip p + p {
    padding-left: 34px;
  }
  .section {
    padding-block: 100px;
  }
  .how {
    grid-template-columns: 1fr 1fr;
    gap: 90px;
    align-items: center;
  }
  .demo-section {
    padding-block: 76px;
  }
  .demo-heading {
    grid-template-columns: 1.6fr 1fr;
    gap: 50px;
    align-items: end;
    margin-bottom: 38px;
  }
  .demo-controls {
    grid-template-columns: 270px 1fr;
    align-items: end;
    gap: 28px;
  }
  .scenario-picker {
    justify-content: flex-end;
  }
  .scenario-picker button {
    padding-inline: 13px;
  }
  .demo-grid {
    grid-template-columns: 1.4fr 1fr;
    gap: 40px;
  }
  .transcript {
    height: 380px;
    padding: 24px 28px;
  }
  .demo-outcome {
    padding: 24px 12px;
  }
  .conversation-head {
    padding: 20px 28px;
  }
  .playback {
    padding: 16px 24px;
  }
  .demo-outcome h3 {
    font-size: 2rem;
  }
  .control-section {
    grid-template-columns: 1.2fr 1fr;
    gap: 90px;
  }
  .handoff-example {
    padding: 34px;
  }
  .breathing-room {
    padding-block: 66px;
  }
  .faq-section {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 75px;
  }
  .final-cta {
    grid-template-columns: 1.4fr 1fr;
    gap: 60px;
    padding: 48px 50px;
  }
  .contact-actions {
    max-width: 330px;
    justify-self: end;
    width: 100%;
  }
  .footer {
    padding-block: 0 36px;
  }
}
@media (max-width: 359px) {
  .container {
    width: calc(100% - 28px);
  }
  .nav-wrap {
    gap: 8px;
  }
  .header-cta {
    padding-inline: 10px;
    gap: 6px;
    font-size: 0.75rem;
  }
  .brand {
    font-size: 1.375rem;
  }
  .hero h1 {
    font-size: 2.6rem;
  }
  .hero-visual > img {
    height: 290px;
  }
  .event-card {
    left: 8px;
    right: 8px;
    padding: 12px;
    gap: 8px;
  }
  .event-card strong {
    font-size: 0.875rem;
  }
  .event-card div > span:last-child {
    font-size: 0.75rem;
  }
  .conversation-head {
    padding: 16px 12px;
    gap: 8px;
  }
  .demo-badge {
    padding: 3px;
  }
  .playback {
    padding: 12px;
  }
  .scenario-picker button {
    padding-inline: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .button:hover {
    transform: none;
  }
}
@media print {
  .site-header,
  .hero-actions,
  .demo-controls,
  .playback,
  .js-handoff,
  .skip-link {
    display: none !important;
  }
  .section,
  .demo-section {
    padding-block: 25px;
  }
  .container {
    width: 100%;
  }
  .hero {
    padding: 15px 0;
    grid-template-columns: 1fr 1fr;
  }
  .hero h1 {
    font-size: 36pt;
  }
  .hero-visual > img {
    height: 250px;
  }
  .transcript {
    height: auto;
    overflow: visible;
  }
  .conversation,
  .handoff-example,
  .final-cta {
    break-inside: avoid;
  }
  .demo-grid {
    grid-template-columns: 1fr 1fr;
  }
  .button {
    color: var(--navy);
    background: #fff;
  }
  .footer {
    margin-top: 20px;
  }
}

/* ===== v1-like.css ===== */
/* V1 commercial structure. Hero and header retain their ASTRA V2 styles. */
.hero h1 {
  font-size: clamp(2.5rem, 9.3vw, 4.6rem);
}
.hero .micro strong {
  color: var(--navy);
  font-weight: 700;
}
.hero-caption {
  max-width: calc(100% - 40px);
}
.wa-channel {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.9375rem;
  margin-bottom: 17px;
  color: #345548;
}
.wa-channel > span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #218c58;
}
.wa-back {
  font-size: 2rem;
  color: #08744b;
  line-height: 1;
}
.wa-more {
  margin-left: auto;
  font-size: 1.4rem;
}
.wa-composer {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 11px;
  background: #f6f6f6;
  color: #74817b;
  font-size: 1.15rem;
  flex: none;
}
.wa-composer div {
  flex: 1;
  background: white;
  border: 1px solid #e1e5e2;
  border-radius: 22px;
  padding: 5px 12px;
  font-size: 0.875rem;
}
.v1-voicemail {
  display: grid;
  gap: 36px;
  align-items: center;
  border-top: 1px solid var(--line);
}
.v1-voicemail h2 {
  font-size: clamp(2rem, 4vw, 3.15rem);
}
.voicemail-points {
  margin: 26px 0 0;
  padding-left: 20px;
  color: var(--body);
  display: grid;
  gap: 12px;
  font-size: 1rem;
}
.message-example {
  background: #f5f8ff;
  border: 1px solid #dce5f3;
  border-radius: 24px;
  padding: 26px;
}
.message-subject {
  display: flex;
  align-items: center;
  gap: 12px;
  border-block: 1px solid #dce5f3;
  padding: 20px 0;
}
.message-subject > span {
  color: var(--blue);
  font-size: 1.7rem;
}
.message-subject h3 {
  font-size: 1.125rem;
}
.message-example dl {
  margin: 22px 0;
}
.message-example dl > div {
  margin-bottom: 22px;
}
.message-example dt {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--body);
  margin-bottom: 6px;
}
.message-example dd {
  margin: 0;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--navy);
}
.message-next {
  font-weight: 650;
  color: var(--navy);
  font-size: 1rem;
}
.message-note {
  font-size: 0.8125rem;
  margin-top: 16px;
}
@media (min-width: 950px) {
  .v1-voicemail {
    grid-template-columns: 1.1fr 1fr;
    gap: 64px;
  }
  .hero h1 {
    font-size: clamp(3.4rem, 5vw, 4.2rem);
  }
}
.v1-feature-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid #e7eefb;
  border-radius: 24px;
  background: linear-gradient(180deg, #f7faff, #eff5ff);
  padding: 14px;
  gap: 10px;
  margin-bottom: 18px;
}
.v1-feature-strip > div {
  display: grid;
  justify-items: center;
  text-align: center;
  align-content: start;
  gap: 14px;
  padding: 18px 8px;
}
.v1-feature-strip svg {
  width: 34px;
  height: 34px;
  color: var(--blue);
}
.v1-feature-strip strong {
  font-size: 0.9375rem;
  line-height: 1.4;
  max-width: 165px;
  font-weight: 650;
}
.v1-how {
  display: grid;
  gap: 42px;
  align-items: center;
}
.v1-how h2,
.v1-audience h2,
.v1-faq h2 {
  font-size: clamp(2.25rem, 4.7vw, 3.8rem);
  line-height: 1;
  letter-spacing: -0.055em;
}
.v1-lead {
  font-size: 1.0625rem;
  line-height: 1.65;
  margin-top: 20px;
}
.v1-steps {
  list-style: none;
  display: grid;
  gap: 23px;
  padding: 0;
  margin: 30px 0;
}
.v1-steps li {
  display: flex;
  align-items: flex-start;
  gap: 17px;
}
.v1-steps li > span {
  display: grid;
  place-items: center;
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #e7f0ff;
  color: var(--blue);
  font-size: 1.2rem;
  font-weight: 750;
}
.v1-steps p {
  margin-top: 5px;
  font-size: 1rem;
  line-height: 1.5;
  max-width: 360px;
}
.v1-phone-demo {
  position: relative;
  max-width: 100%;
  min-width: 0;
  display: grid;
  justify-items: center;
  scroll-margin-top: 105px;
}
.v1-phone-note {
  color: var(--blue);
  font-size: 1.1rem;
  font-style: italic;
  font-weight: 650;
  margin-bottom: 14px;
  transform: rotate(-5deg);
}
.v1-phone {
  width: min(320px, 100%);
  aspect-ratio: 9 / 19.5;
  display: flex;
  flex-direction: column;
  border: 8px solid #111824;
  border-radius: 38px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 22px 54px #102d6320;
}
.v1-phone-top {
  min-height: 35px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 6px 18px;
  background: #fff;
  font-size: 12px;
  font-weight: 650;
  flex: none;
}
.v1-phone-top i {
  height: 16px;
  width: 82px;
  border-radius: 12px;
  background: #111824;
}
.v1-chat-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 10px;
  flex: none;
  border-bottom: 1px solid #e6ece6;
}
.v1-chat-head strong {
  font-size: 1rem;
}
.v1-chat-head small {
  display: block;
  font-size: 0.75rem;
  color: var(--body);
}
.v1-avatar {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #e4f5ec;
  color: #08744b;
  font-weight: 800;
}
.v1-transcript {
  height: auto;
  flex: 1;
  min-height: 0;
  background: #efeae2;
  padding: 16px 12px;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.v1-bubble {
  width: fit-content;
  max-width: 92%;
  background: #fff;
  border-radius: 14px 14px 14px 3px;
  padding: 12px;
  box-shadow: 0 2px 4px #102d6306;
  flex: none;
}
.v1-bubble.assistant {
  align-self: flex-start;
  background: #fff;
  border-radius: 4px 14px 14px 14px;
}
.v1-bubble.customer {
  align-self: flex-end;
  background: #d9fdd3;
  border-radius: 14px 4px 14px 14px;
}
.v1-bubble span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.v1-bubble p {
  color: #263c31;
  font-size: 1rem;
  line-height: 1.45;
}
.v1-demo-status {
  min-height: 30px;
  display: grid;
  place-items: center;
  padding: 4px 12px 10px;
  flex: none;
  font-size: 0.8125rem;
  color: #536257;
  text-align: center;
}
.v1-playback {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
}
.v1-disclosure {
  font-size: 0.75rem;
  max-width: 360px;
  text-align: center;
  line-height: 1.6;
  margin-top: 10px;
}
.v1-empty {
  margin: auto;
  text-align: center;
  padding: 24px 8px;
  font-size: 1rem;
}
.v1-audience {
  padding-top: 30px;
}
.v1-sectors {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 14px;
  margin-top: 32px;
}
.v1-sectors article {
  text-align: center;
}
.v1-sectors article > div {
  background: linear-gradient(145deg, #f6f9ff, #e8f1ff);
  border: 1px solid #e7eefb;
  height: 110px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  margin-bottom: 12px;
}
.v1-sectors svg {
  width: 39px;
  height: 39px;
  color: var(--blue);
}
.v1-sectors h3 {
  font-size: 0.9375rem;
  font-weight: 650;
  line-height: 1.4;
}
.v1-benefits {
  display: grid;
  gap: 16px;
  padding: 28px 22px;
  background: linear-gradient(135deg, #f3f8ff, #f8fbff);
  border: 1px solid #e7eefb;
  border-radius: 28px;
  margin-top: 10px;
  margin-bottom: 20px;
}
.v1-benefits h2 {
  font-size: clamp(2rem, 3.5vw, 2.65rem);
  line-height: 1.05;
  margin-bottom: 10px;
}
.v1-benefits article {
  background: #fff;
  border-radius: 19px;
  padding: 25px 21px;
  box-shadow: 0 8px 22px #254d8a06;
}
.v1-benefits article svg {
  width: 32px;
  height: 32px;
  color: var(--blue);
  margin-bottom: 16px;
}
.v1-benefits article h3 {
  font-size: 1rem;
}
.v1-benefits article p {
  font-size: 1rem;
  line-height: 1.5;
  margin-top: 9px;
}
.v1-faq {
  display: grid;
  gap: 30px;
}
.v1-faq h2 {
  font-size: clamp(2rem, 3.8vw, 2.8rem);
}
.v1-accordion {
  display: grid;
  gap: 10px;
  align-content: start;
}
.v1-accordion details {
  border: 1px solid #dfe7f5;
  border-radius: 14px;
  padding: 0 18px;
  background: #fff;
}
.v1-accordion summary {
  cursor: pointer;
  padding: 17px 24px 17px 0;
  font-weight: 650;
  line-height: 1.45;
  list-style: none;
  position: relative;
  min-height: 58px;
  font-size: 1rem;
}
.v1-accordion summary::-webkit-details-marker {
  display: none;
}
.v1-accordion summary:after {
  content: "+";
  position: absolute;
  right: 0;
  top: 16px;
  color: var(--blue);
  font-size: 1.3rem;
}
.v1-accordion details[open] summary:after {
  content: "−";
}
.v1-accordion p {
  padding-bottom: 18px;
  font-size: 1rem;
  line-height: 1.6;
}
.v1-cta {
  display: grid;
  gap: 24px;
  background: linear-gradient(100deg, #f0f6ff, #e7f1ff);
  border: 1px solid #dceaff;
  border-radius: 28px;
  padding: 30px 24px;
  margin-bottom: 64px;
}
.v1-cta h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
}
.v1-cta p {
  margin-top: 14px;
  font-size: 1rem;
  line-height: 1.6;
}
.v1-cta .button {
  align-self: center;
  white-space: normal;
  text-align: center;
}
@media (min-width: 600px) {
  .v1-feature-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .v1-sectors {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .v1-benefits {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .v1-benefits > div {
    grid-column: 1/-1;
  }
  .v1-cta {
    padding: 36px;
  }
  .v1-cta .button {
    justify-self: start;
  }
}
@media (min-width: 950px) {
  .v1-how {
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    padding-block: 84px;
  }
  .v1-how-copy {
    max-width: 450px;
  }
  .v1-phone-note {
    position: absolute;
    right: 36px;
    top: -36px;
    max-width: none;
    font-size: 1.2rem;
  }
  .v1-sectors {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
  .v1-benefits {
    grid-template-columns: 1.15fr repeat(3, 1fr);
    padding: 32px;
  }
  .v1-benefits > div {
    grid-column: auto;
    align-self: center;
  }
  .v1-faq {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 64px;
    padding-block: 90px;
  }
  .v1-cta {
    grid-template-columns: 1fr auto;
    align-items: center;
    padding: 36px 40px;
  }
  .v1-cta .button {
    max-width: 280px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .v1-phone-note {
    transform: none;
  }
}

/* ===== baseline.css ===== */
/* V1.2: baseline composition, soft image edges and paired pill CTAs. */
.v1-how,
.v1-faq,
.v1-voicemail {
  padding-block: 56px;
}
.v1-how h2,
.v1-audience h2,
.v1-faq h2,
.v1-voicemail h2 {
  font-size: clamp(2rem, 3.4vw, 2.75rem);
  line-height: 1.06;
}
.v1-how .v1-phone {
  width: min(290px, 100%);
}
.v1-how .v1-bubble p {
  font-size: 0.9375rem;
}
.v1-how .v1-bubble {
  padding: 10px;
}
.v1-how .v1-transcript {
  gap: 10px;
}
.v1-audience {
  padding-block: 28px 44px;
}
.v1-audience .v1-lead {
  margin-top: 12px;
}
.v1-benefits {
  margin-block: 10px 18px;
  border-radius: 20px;
  gap: 14px;
}
.v1-benefits h2 {
  font-size: clamp(1.9rem, 2.8vw, 2.3rem);
}
.v1-benefits article {
  padding: 22px 18px;
  border-radius: 14px;
}
.v1-benefits article svg {
  margin-bottom: 12px;
}
.v1-voicemail {
  border-top: 0;
}
.message-example {
  border-radius: 20px;
}
.baseline-contact {
  display: grid;
  gap: 28px;
  padding-block: 40px 56px;
}
.baseline-contact h2 {
  font-size: clamp(2rem, 3.4vw, 2.75rem);
}
.baseline-checks {
  padding: 0;
  margin: 26px 0 0;
  list-style: none;
  display: grid;
  gap: 14px;
  color: var(--body);
}
.baseline-checks li {
  display: flex;
  gap: 12px;
  align-items: baseline;
}
.baseline-checks li::before {
  content: "✓";
  color: #087b51;
  font-weight: 800;
}
.baseline-contact-card {
  padding: 28px;
  border: 1px solid #e6edf9;
  border-radius: 24px;
  background: #f5f8ff;
}
.baseline-contact-card h3 {
  font-size: 2.5rem;
  line-height: 1.06;
  letter-spacing: -0.045em;
  margin-bottom: 20px;
}
.baseline-contact-card > p:not(.eyebrow) {
  font-size: 1rem;
  line-height: 1.6;
}
.baseline-contact-card .button {
  width: 100%;
  margin-block: 24px 12px;
  text-align: center;
}
.baseline-contact-card > .micro {
  font-size: 0.8125rem;
  text-align: center;
}
.v1-cta {
  border-radius: 22px;
}
@media (min-width: 950px) {
  .v1-how {
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    padding-block: 56px;
  }
  .v1-faq {
    padding-block: 56px;
  }
  .v1-voicemail {
    gap: 56px;
    grid-template-columns: 1fr 1fr;
  }
  .baseline-contact {
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
  }
  .baseline-contact-card {
    padding: 36px;
  }
}
.v1-sectors article > div {
  height: auto;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 0;
  background: #eef3f9;
  border-radius: 14px;
}
.v1-sectors img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.site-header {
  border-bottom-color: transparent;
}
.hero {
  position: relative;
  gap: 12px;
  padding-block: 32px 20px;
  isolation: isolate;
}
.hero-copy {
  position: relative;
  z-index: 2;
}
.hero h1 {
  font-size: clamp(2.5rem, 9.6vw, 4.6rem);
  line-height: 1.01;
}
.hero .lead {
  margin-top: 24px;
  line-height: 1.55;
}
.hero .micro {
  font-size: 0.875rem;
}
.hero-actions {
  gap: 10px;
  margin-block: 25px 15px;
}
.hero-actions > .button {
  width: 100%;
  gap: 12px;
  font-size: 0.9375rem;
  min-height: 50px;
  padding: 12px 19px;
  font-weight: 600;
}
.button {
  box-shadow: 0 7px 20px #0759eb16;
}
.button-outline {
  background: #ffffffed;
  border-color: #91b8ff;
  color: var(--blue);
  box-shadow: none;
}
.button-outline:hover {
  background: #f0f6ff;
}
.button-outline .play-icon {
  width: 23px;
  height: 23px;
  font-size: 0.625rem;
  border-color: var(--blue);
  background: transparent;
}
.hero-visual {
  height: 385px;
  margin: 0 -12px;
  z-index: 1;
}
.hero-visual > img {
  width: 100%;
  height: 100%;
  border-radius: 0;
  object-position: 65% center;
  background: white;
}
.hero-visual::after {
  content: "";
  position: absolute;
  inset: -1px;
  pointer-events: none;
  background:
    linear-gradient(0deg, #fff 0%, #ffffff00 28%, #ffffff00 83%, #fff 100%),
    linear-gradient(90deg, #fff 0%, #ffffff00 23%, #ffffff00 94%, #fff 100%);
}
.hero-caption {
  z-index: 2;
  top: 12px;
  left: 20px;
  right: auto;
  padding: 0;
  background: none;
  color: var(--blue);
  font-family: "Segoe Print", "Comic Sans MS", cursive;
  font-style: italic;
  font-size: 1rem;
  line-height: 1.3;
  transform: rotate(-8deg);
}
.hero-caption svg {
  display: block;
  width: 62px;
  height: 42px;
  margin-left: 18px;
}
.baseline-notifications {
  position: absolute;
  z-index: 3;
  left: 0;
  bottom: 46px;
  width: min(230px, 76%);
  display: grid;
  gap: 10px;
}
.notification-label {
  font-size: 0.75rem;
  line-height: 1.3;
  color: #445674;
  margin-left: 9px;
}
.baseline-notification {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fffffff5;
  border: 1px solid #e9eef6;
  border-radius: 17px;
  padding: 12px;
  box-shadow: 0 8px 24px #16315c16;
}
.notification-icon {
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 50%;
  background: var(--blue);
  color: white;
  display: grid;
  place-items: center;
}
.notification-icon.whatsapp {
  background: #087b51;
}
.notification-icon.mail {
  background: #087eae;
}
.notification-icon svg {
  width: 21px;
  height: 21px;
}
.baseline-notification strong {
  display: block;
  font-size: 0.8125rem;
  line-height: 1.35;
}
.baseline-notification small {
  display: block;
  font-size: 0.75rem;
  line-height: 1.4;
  color: #4a5a73;
  margin-top: 3px;
}
.v1-feature-strip {
  position: relative;
  z-index: 3;
  border: 0;
  border-radius: 18px;
  margin-top: 0;
  background: linear-gradient(120deg, #f2f7ff, #f8fbff);
}
.v1-feature-strip strong {
  font-weight: 600;
}
.v1-how {
  padding-top: 68px;
}
@media (min-width: 600px) {
  .hero-actions > .button {
    width: auto;
  }
  .hero-visual {
    height: 490px;
    margin-inline: 0;
  }
  .hero-caption {
    left: 10%;
    right: auto;
    top: 15px;
    font-size: 1.25rem;
  }
  .baseline-notifications {
    left: 8%;
    bottom: 90px;
    width: 260px;
  }
  .baseline-notification {
    padding: 14px;
    gap: 12px;
  }
  .baseline-notification strong {
    font-size: 0.875rem;
  }
}
@media (min-width: 950px) {
  .hero {
    grid-template-columns: 1fr 1fr;
    gap: 0;
    min-height: 610px;
    padding-block: 56px 60px;
    align-items: center;
  }
  .hero-copy {
    max-width: 550px;
  }
  .hero h1 {
    font-size: clamp(3.25rem, 4.9vw, 4.4rem);
  }
  .hero .lead {
    font-size: 1.0625rem;
    max-width: 450px;
  }
  .hero .eyebrow {
    font-size: 0.75rem;
    letter-spacing: 0.08em;
  }
  .hero-visual {
    position: absolute;
    inset: 0 -24px 0 43%;
    height: auto;
    margin: 0;
  }
  .hero-visual > img {
    height: 100%;
    object-position: 67% center;
  }
  .hero-visual::after {
    background:
      linear-gradient(0deg, #fff 0%, #ffffff00 26%, #ffffff00 88%, #fff 100%),
      linear-gradient(
        90deg,
        #fff 0%,
        #ffffffdb 6%,
        #ffffff00 38%,
        #ffffff00 94%,
        #fff 100%
      );
  }
  .hero-caption {
    top: 20px;
    right: auto;
    left: 22%;
    font-size: 1.125rem;
  }
  .baseline-notifications {
    left: 22%;
    bottom: 92px;
    width: 248px;
  }
  .v1-feature-strip {
    margin-top: 0;
    padding-block: 12px;
  }
}
@media (min-width: 1200px) {
  .hero-visual {
    right: -24px;
    left: 41%;
  }
  .baseline-notifications {
    left: 25%;
  }
  .hero-actions > .button {
    padding-inline: 22px;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-copy {
    animation: baseline-enter 0.65s ease-out both;
  }
  .hero-visual > img {
    animation: baseline-image 0.9s ease-out both;
  }
  .baseline-notification {
    animation: baseline-enter 0.7s ease-out both;
  }
  .baseline-notification:nth-child(2) {
    animation-delay: 0.15s;
  }
  .baseline-notification:nth-child(3) {
    animation-delay: 0.25s;
  }
  .baseline-notification:nth-child(4) {
    animation-delay: 0.35s;
  }
  @keyframes baseline-enter {
    from {
      opacity: 0;
      transform: translateY(10px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }
  @keyframes baseline-image {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }
}
@media print {
  .hero-visual {
    position: relative;
    inset: auto;
    height: 350px;
  }
  .hero {
    min-height: 0;
  }
}

/* ===== live.css ===== */
/* Prova dal vivo: comandi sotto il telefono e stati della sessione dentro.
   Nessun colore nuovo — solo i token del sito. */

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

/* ── fascia della prova ──────────────────────────────────────────────────── */

/* Una banda orizzontale fra «come funziona» e «per chi e' pensato»: separa le
   due sezioni e porta l'unica azione che fa succedere qualcosa. Prima era un
   riquadro in colonna — prima sotto al telefono, poi accanto ai passaggi — e in
   entrambi i casi restava un blocco appoggiato in un angolo. */
.live-strip {
  padding-block: 4px 8px;
}
.live-controls {
  display: grid;
  gap: 12px;
  align-items: center;
  padding: 20px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
@media (min-width: 900px) {
  .live-controls {
    grid-template-columns: minmax(0, 1fr) 250px auto;
    grid-template-areas:
      "titolo scelta azioni"
      "nota   scelta azioni";
    gap: 4px 22px;
    padding: 22px 26px;
  }
  .live-title {
    grid-area: titolo;
  }
  .live-hint {
    grid-area: nota;
  }
  .live-pick {
    grid-area: scelta;
  }
  .live-actions {
    grid-area: azioni;
  }
}
.live-title {
  margin: 0;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy);
}
.live-pick {
  display: block;
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 600;
}
.live-pick:disabled {
  opacity: 0.55;
}
.live-actions {
  display: grid;
  gap: 10px;
}
@media (min-width: 520px) {
  .live-actions {
    grid-auto-flow: column;
  }
}
.live-actions .button {
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  font-size: 0.92rem;
  white-space: nowrap;
}
.live-actions svg {
  width: 17px;
  height: 17px;
  flex: none;
}
.live-hint {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--body);
}

/* ── stati dentro il telefono ────────────────────────────────────────────── */

.live-voice {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--navy);
  color: #fff;
}
.live-voice strong {
  display: block;
  font-size: 0.8rem;
  line-height: 1.3;
}
.live-voice small {
  font-size: 0.72rem;
  opacity: 0.75;
  font-variant-numeric: tabular-nums;
}
.live-voice > div {
  flex: 1;
  min-width: 0;
}
.live-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #57e39b;
  flex: none;
  animation: live-pulse 1.5s ease-in-out infinite;
}
@keyframes live-pulse {
  50% {
    opacity: 0.25;
  }
}
@media (prefers-reduced-motion: reduce) {
  .live-dot {
    animation: none;
  }
}
.live-hangup {
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  color: #fff;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.76rem;
  font-weight: 600;
}

.live-composer {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  border-top: 1px solid var(--line);
  background: #fff;
}
.live-composer input {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 14px;
  font-size: 0.86rem;
  color: var(--navy);
  background: #fff;
}
.live-composer input:disabled {
  opacity: 0.6;
}
.live-mic,
.live-send {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  display: grid;
  place-items: center;
}
.live-mic {
  background: var(--soft);
  color: var(--navy);
}
.live-mic.is-recording {
  background: var(--navy);
  color: #fff;
}
.live-send {
  background: var(--blue);
  color: #fff;
}
.live-mic svg,
.live-send svg {
  width: 18px;
  height: 18px;
}

/* Con la sessione vera in corso il finto campo «Messaggio» sparisce: due
   composer nello stesso telefono direbbero al visitatore di scrivere in quello
   che non funziona. */
.v1-phone-demo.is-live .wa-composer {
  display: none;
}
.v1-phone-demo.is-busy .live-send {
  opacity: 0.5;
}

/* ── mascotte accanto al telefono ────────────────────────────────────────── */

.phone-stage {
  position: relative;
  /* Stessa larghezza del telefono, scritta qui perche' `fit-content` misura il
     CONTENUTO della chat (496px) e non la larghezza imposta al telefono: il
     riquadro diventava piu' largo e il telefono usciva dal centro della colonna.
     Il numero e' lo stesso di `.v1-how .v1-phone` in baseline.css: un test
     verifica che i due restino uguali. */
  width: min(290px, 100%);
}
/* La mascotte e' ancorata al TELEFONO, non alla colonna: la colonna contiene
   anche i comandi e cresce con loro, quindi una posizione relativa a lei la
   faceva scendere accanto ai bottoni. */
.phone-frame {
  position: relative;
}
.v1-phone {
  position: relative;
  z-index: 1;
}
.phone-bot {
  display: none;
}
/* ⚠️ Finche' sulla cornice c'e' `data-phone-scene`, la mascotte la governa
   `phone-scene.css` (consegna Codex «phone scene v1»), che si carica dopo e ha
   selettori piu' specifici. Le regole qui sotto restano perche' sono la via di
   ritorno: togli l'attributo e il link a quel foglio, rimetti `helloai-bot.svg`
   con le sue dimensioni, e si torna esattamente a questo.

   Compare solo dove c'e' spazio a destra del telefono, e sta DAVANTI come nel
   mockup di riferimento: appoggiata al fianco destro, all'altezza della parte
   medio-bassa dello schermo, con la maggior parte del corpo fuori dal bordo.
   Sovrapposizione tenuta a 28px — il bordo del telefono piu' un'unghia — invece
   della meta' del mockup: li' il telefono e' un disegno, qui dentro ci sono i
   messaggi veri della prova, e coprirli per somigliare a un rendering sarebbe
   pagare la funzione per un dettaglio. `pointer-events: none` perche' non deve
   mai rubare un clic al telefono che ha sotto.
   La soglia e' 1200px e non 950 per una misura, non per gusto: le due colonne
   partono a 950, ma li' la meta' destra e' larga ~420px e il telefono ne occupa
   290 — a 980px la mascotte sporgeva oltre il bordo e la pagina scrollava in
   orizzontale di 21px. Sotto i 1200 non c'e' spazio, quindi non c'e' mascotte. */
@media (min-width: 1200px) {
  .phone-bot {
    display: block;
    position: absolute;
    left: 100%;
    margin-left: -28px;
    bottom: 150px;
    width: 150px;
    height: auto;
    z-index: 2;
    pointer-events: none;
    animation: bot-float 5.5s ease-in-out infinite;
  }
}
@keyframes bot-float {
  50% {
    transform: translateY(-9px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .phone-bot {
    animation: none;
  }
}

/* ── il telefono sotto un dito ───────────────────────────────────────────── */

/* Due difetti misurati a 375px, non ipotizzati:
   (1) microfono e invio erano 36x36, sotto il minimo di 44 per un bersaglio
       tattile — su desktop col mouse non si nota, col pollice si sbaglia;
   (2) il campo di testo era a 0.86rem: iOS ingrandisce la pagina quando si
       tocca un input sotto i 16px, e la prova dal vivo si apriva con lo zoom
       addosso. Il rimedio non e' disabilitare lo zoom (si toglie
       l'ingrandimento a chi ne ha bisogno): e' scrivere 16px.
   Gate su `pointer: coarse` piu' che sulla larghezza: e' il dito il motivo. */
@media (pointer: coarse), (max-width: 599px) {
  .live-composer {
    gap: 8px;
    padding: 9px 10px;
  }
  .live-composer input {
    font-size: 16px;
    min-height: 44px;
    padding: 10px 14px;
  }
  /* 46 e non 44: a 44 esatti la misura reale usciva 43,99 per il sub-pixel del
     flex, cioe' sotto il minimo. Un bersaglio che sta sul filo non e' a norma. */
  .live-mic,
  .live-send {
    width: 46px;
    height: 46px;
    min-width: 46px;
  }
  .live-mic svg,
  .live-send svg {
    width: 20px;
    height: 20px;
  }
  .live-hangup {
    min-height: 40px;
    padding: 8px 14px;
  }
}

/* ===== phone-scene.css ===== */
﻿/* HELLOAI phone scene 2.0.0 — replace v1; load LAST.
   Ambient 0 / mascot+note 1 / opaque live phone 2. */
#come-funziona .phone-frame[data-phone-scene] {
  position: relative;
  isolation: isolate;
}
#come-funziona .phone-frame[data-phone-scene]::before,
#come-funziona .phone-frame[data-phone-scene]::after {
  content: "";
  position: absolute;
  z-index: 0;
  pointer-events: none;
}
#come-funziona .phone-frame[data-phone-scene]::before {
  inset: -22px -12px -24px;
  border-radius: 50%;
  background: radial-gradient(
    ellipse at 65% 70%,
    #146bff20,
    #edf4ff80 36%,
    #fff0 72%
  );
}
#come-funziona .phone-frame[data-phone-scene]::after {
  left: -10px;
  right: -10px;
  bottom: -24px;
  height: 76px;
  border-radius: 50%;
  background: radial-gradient(ellipse, #173f7226, #173f720b 40%, #fff0 70%);
}
#come-funziona .phone-frame[data-phone-scene] > .v1-phone {
  position: relative;
  z-index: 2;
  background: #fff;
  box-shadow:
    0 5px 12px #102d630a,
    0 22px 42px #102d6312;
}
#come-funziona .phone-frame[data-phone-scene] > .phone-bot {
  display: none;
  position: absolute;
  width: 140px;
  height: auto;
  left: calc(100% - 22px);
  margin: 0;
  bottom: 72px;
  z-index: 1;
  pointer-events: none;
  user-select: none;
  animation: none;
  filter: none;
}
#come-funziona .phone-frame[data-phone-scene] > .phone-scene-note {
  display: none;
  position: absolute;
  left: calc(100% + 4px);
  bottom: 282px;
  width: 118px;
  z-index: 1;
  color: var(--blue, #146bff);
  font-family: "Segoe Print", "Comic Sans MS", cursive;
  font-size: 1.05rem;
  font-style: italic;
  font-weight: 600;
  line-height: 1.35;
  pointer-events: none;
  user-select: none;
}
#come-funziona .phone-scene-note svg {
  display: block;
  width: 64px;
  height: 48px;
  margin: 4px 0 0 6px;
  transform: rotate(52deg);
  pointer-events: none;
}
@media (min-width: 600px) {
  #come-funziona .phone-frame[data-phone-scene]::before {
    inset: -40px -45px -35px;
  }
}
@media (min-width: 1200px) {
  #come-funziona .v1-phone-demo:has(.phone-frame[data-phone-scene]) {
    padding-right: 48px;
  }
  #come-funziona .phone-frame[data-phone-scene] > .phone-bot,
  #come-funziona .phone-frame[data-phone-scene] > .phone-scene-note {
    display: block;
  }
  /* One continuous light field behind BOTH objects; transparent at its edges. */
  #come-funziona .phone-frame[data-phone-scene]::before {
    inset: -30px -132px -36px -40px;
    background:
      radial-gradient(ellipse at 73% 73%, #146bff25, #dceaff55 25%, #fff0 58%),
      radial-gradient(ellipse at 48% 60%, #e9f2ff90, #fff0 70%);
  }
  /* Shared soft grounding; no independent floating mascot shadow. */
  #come-funziona .phone-frame[data-phone-scene]::after {
    left: -16px;
    right: -126px;
    bottom: -25px;
    height: 140px;
    background:
      radial-gradient(ellipse at 72% 42%, #173f721d, #173f7208 27%, #fff0 54%),
      radial-gradient(ellipse at 39% 73%, #173f721f, #173f7208 29%, #fff0 58%);
  }
}
@media print {
  #come-funziona .phone-frame[data-phone-scene]::before,
  #come-funziona .phone-frame[data-phone-scene]::after,
  #come-funziona .phone-frame[data-phone-scene] > .phone-bot,
  #come-funziona .phone-frame[data-phone-scene] > .phone-scene-note {
    display: none;
  }
}
