/* The landing remains readable without JavaScript. Only observed items reveal. */
[hidden] { display: none !important; }
.reveal { opacity: 1; transform: none; }
.motion-enabled .reveal-pending:not(.visible) { opacity: 0; transform: translateY(24px); }
.reveal-pending { transition-delay: var(--reveal-delay, 0ms); }
.reading-progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 20; pointer-events: none; }
.reading-progress span { display: block; width: 100%; height: 100%; background: var(--orange); transform: scaleX(var(--progress, 0)); transform-origin: left; }
.motion-tools { margin-top: 26px; }
.motion-toggle { min-height: 44px; padding: 9px 0; border: 0; background: transparent; color: #b2c7bc; font: 500 11px var(--sans); cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
.motion-toggle:disabled { cursor: default; text-decoration: none; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--orange); outline-offset: 5px; }
.cta, .header-cta, .outline-cta { transition: transform .22s ease, background .22s ease, box-shadow .22s ease; }
.cta span, .header-cta span, .outline-cta span, .pilot-cta span { display: inline-block; transition: transform .22s ease; }
.cta:hover span, .header-cta:hover span, .outline-cta:hover span, .pilot-cta:hover span { transform: translateX(4px); }
.cta:active, .header-cta:active, .outline-cta:active { transform: translateY(1px) scale(.98); }
.hero-visual .spot, .hero-note { translate: var(--drift-x, 0px) var(--drift-y, 0px); transition: translate .25s ease-out; }
.pilot-card, .access-card, .agent-card { transition: box-shadow .3s ease, border-color .3s ease; }
.pilot-card:hover, .pilot-card:focus-within, .access-card:hover, .access-card:focus-within { border-color: #a4c28b; box-shadow: 0 14px 36px rgba(0,0,0,.16); }
.agent-card img { transition: scale .55s cubic-bezier(.2,.7,.2,1) !important; }
.report-chart span { transform-origin: bottom; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.motion-enabled .report-preview.reveal-pending:not(.visible) .report-chart span { transform: scaleY(0); }
.report-chart span:nth-child(2n) { transition-delay: .12s; }
.report-chart span:nth-child(3n) { transition-delay: .2s; }
.faq-list details[open] p { animation: demo-arrive .28s ease both; }

/* A local, explicitly illustrative conversation. No account or API is involved. */
.demo-stage { max-width: 1080px; }
.whatsapp-window { width: min(100%, 400px); align-self: center; }
.chat-flow { min-height: 365px; }
.bubble { font-size: 12px; padding: 12px; }
.window-top b { font-size: 13px; }
.window-top small { font-size: 10px; }
.voice-bubble b { font-size: 10px; }
.voice-bubble small { font-size: 12px; }
.notice b { font-size: 12px; line-height: 1.45; }
.notice small { font-size: 10px; }
.window-input { font-size: 10px; line-height: 1.5; padding-bottom: 6px; }
.demo-copy { padding: 44px 38px; }
.demo-copy h3 { font-size: clamp(30px, 3vw, 36px); }
.demo-copy .mini-rule { margin-top: 24px; }
.demo-controls { width: 100%; margin-top: 22px; }
.demo-instruction { margin: 0 0 12px; color: #d0ded2; font-size: 12px; line-height: 1.6; }
.demo-choices { display: flex; flex-wrap: wrap; gap: 8px; }
.demo-choices button { min-height: 44px; padding: 10px 14px; border: 1px solid #618274; border-radius: 999px; background: transparent; color: #eff3eb; font: 600 12px var(--sans); cursor: pointer; transition: background .2s, color .2s; }
.demo-choices button[aria-pressed="true"] { background: var(--lime); color: #16362e; border-color: var(--lime); }
.demo-status { min-height: 70px; margin: 15px 0 0; color: #c3d7c8; font-size: 12px; line-height: 1.6; }
.demo-confirm { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 14px 0 16px auto; min-height: 44px; padding: 10px 14px; border: 0; border-radius: 8px; background: #1d6352; color: white; font: 700 12px var(--sans); cursor: pointer; transition: background .2s, transform .2s; }
.demo-confirm:hover { background: #174b40; }
.demo-confirm:active { transform: scale(.98); }
.demo-replay { min-height: 44px; padding: 8px 0; border: 0; border-bottom: 1px solid #81a99a; background: transparent; color: #eff3eb; font: 600 12px var(--sans); cursor: pointer; }
.demo-replay span { margin-left: 8px; }
.demo-confirmed .confirm-bubble { animation: demo-arrive .3s ease both; }
.demo-confirmed .notice { animation: demo-arrive .4s .1s ease both; }
@keyframes demo-arrive { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (hover: hover) and (pointer: fine) {
  .agent-card:hover img { scale: 1.035; }
  .header-cta:hover, .outline-cta:hover { transform: translateY(-2px); }
}
@media (max-width: 850px) {
  .demo-stage { grid-template-columns: 1fr; gap: 35px; }
  .demo-copy { border-radius: 15px; }
}
@media (max-width: 560px) {
  .whatsapp-window { transform: none; width: 100%; }
  .demo-copy { padding: 30px 24px; }
  .demo-status { min-height: 0; }
  .motion-tools { margin-top: 15px; }
}
.motion-paused *, .motion-paused *::before, .motion-paused *::after { animation: none !important; transition: none !important; }
.motion-paused { scroll-behavior: auto; }
.motion-paused .reveal { opacity: 1; transform: none; }
.motion-paused .hero-visual .spot, .motion-paused .hero-note { translate: none; }
.motion-paused .agent-card img { scale: 1; }
.motion-paused .cta:hover, .motion-paused .header-cta:hover, .motion-paused .outline-cta:hover,
.motion-paused .cta:hover span, .motion-paused .header-cta:hover span, .motion-paused .outline-cta:hover span, .motion-paused .pilot-cta:hover span { transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero-visual .spot, .hero-note { translate: none; }
  .agent-card img { scale: 1; }
  .cta:hover, .header-cta:hover, .outline-cta:hover,
  .cta:hover span, .header-cta:hover span, .outline-cta:hover span, .pilot-cta:hover span { transform: none; }
}
