:root {
  --purple-950: oklch(24% 0.09 303);
  --purple-900: oklch(31% 0.13 303);
  --purple-800: oklch(38% 0.16 303);
  --purple-100: oklch(94% 0.025 303);
  --green-600: oklch(70% 0.18 128);
  --green-500: oklch(77% 0.19 128);
  --green-100: oklch(95% 0.04 128);
  --ink: oklch(25% 0.025 303);
  --muted: oklch(48% 0.018 303);
  --paper: oklch(98% 0.008 88);
  --surface: oklch(95.5% 0.012 88);
  --line: oklch(87% 0.014 303);
  --focus: oklch(73% 0.18 128);
  --shadow: 0 18px 50px oklch(25% 0.03 303 / 0.12);
  --radius-sm: .55rem;
  --radius-md: 1.1rem;
  --radius-lg: 1.8rem;
  --shell: min(74rem, calc(100% - 2rem));
  --space-xs: .5rem;
  --space-sm: .75rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: clamp(4rem, 8vw, 7rem);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Aptos, "Segoe UI", system-ui, sans-serif; font-size: 1rem; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
:focus-visible { outline: .2rem solid var(--focus); outline-offset: .22rem; }
.shell { width: var(--shell); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.skip-link { position: fixed; z-index: 1000; top: .75rem; left: .75rem; padding: .75rem 1rem; background: var(--paper); color: var(--purple-900); border-radius: var(--radius-sm); transform: translateY(-160%); }
.skip-link:focus { transform: none; }

.site-header { position: sticky; z-index: 20; top: 0; background: oklch(98% 0.008 88 / .94); border-bottom: 1px solid var(--line); }
.nav-wrap { min-height: 5.25rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand img { width: 4.5rem; height: 4.5rem; object-fit: contain; }
.menu-toggle { width: 3rem; height: 3rem; display: grid; align-content: center; gap: .34rem; padding: .7rem; border: 0; border-radius: var(--radius-sm); background: var(--purple-100); color: var(--purple-900); cursor: pointer; }
.menu-toggle span:not(.sr-only) { width: 100%; height: 2px; background: currentColor; }
.site-nav { position: absolute; inset: 5.25rem 1rem auto; display: none; flex-direction: column; padding: 1rem; gap: .25rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow); }
.site-nav.is-open { display: flex; }
.site-nav > a { min-height: 2.8rem; display: flex; align-items: center; padding: .55rem .75rem; text-decoration: none; font-weight: 650; border-radius: .45rem; }
.site-nav > a:not(.button):hover { color: var(--purple-900); background: var(--purple-100); }

.button { min-height: 3.25rem; display: inline-flex; align-items: center; justify-content: center; gap: .7rem; padding: .85rem 1.25rem; border: 1px solid var(--purple-900); border-radius: var(--radius-sm); background: var(--purple-900); color: var(--paper); text-decoration: none; font-weight: 780; box-shadow: 0 .45rem 0 var(--green-600); transition: transform 180ms var(--ease-out), box-shadow 180ms var(--ease-out), background 180ms var(--ease-out); }
.button:hover { background: var(--purple-800); transform: translateY(-2px); box-shadow: 0 .6rem 0 var(--green-600); }
.button:active { transform: translateY(.2rem); box-shadow: 0 .2rem 0 var(--green-600); }
.button-small { min-height: 2.75rem; padding: .55rem .9rem !important; box-shadow: none; }
.text-link { min-height: 2.8rem; display: inline-flex; align-items: center; gap: .45rem; color: var(--purple-900); font-weight: 760; text-underline-offset: .25rem; }

.hero { position: relative; overflow: hidden; padding: clamp(3.5rem, 8vw, 7.5rem) 0 var(--space-2xl); }
.qr-pattern { position: absolute; inset: 0; opacity: .24; pointer-events: none; background-image: linear-gradient(90deg, transparent 48%, var(--line) 48% 52%, transparent 52%), linear-gradient(transparent 48%, var(--line) 48% 52%, transparent 52%); background-size: 4rem 4rem; mask-image: linear-gradient(100deg, black, transparent 38%); }
.hero-grid { position: relative; display: grid; gap: 3.5rem; align-items: center; }
.eyebrow { margin: 0 0 .9rem; color: var(--purple-800); font-size: .77rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
h1, h2, h3 { margin-top: 0; color: var(--purple-950); line-height: 1.05; text-wrap: balance; }
h1 { margin-bottom: 1.35rem; max-width: 12ch; font-size: clamp(2.65rem, 8vw, 5.7rem); letter-spacing: -.055em; }
h1 span { color: var(--green-600); }
h2 { margin-bottom: 1rem; font-size: clamp(2.1rem, 5vw, 3.7rem); letter-spacing: -.04em; }
h3 { margin-bottom: .65rem; font-size: clamp(1.3rem, 2.6vw, 1.85rem); letter-spacing: -.025em; }
p { text-wrap: pretty; }
.hero-lead { max-width: 58ch; margin: 0; color: var(--muted); font-size: 1.12rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.4rem; margin-top: 1.8rem; }
.trial-note { margin: 1rem 0 0; color: var(--muted); font-size: .9rem; }

.hero-story { min-height: 31rem; position: relative; display: grid; place-items: center; isolation: isolate; }
.print-piece { position: absolute; z-index: 1; left: 0; top: 1rem; width: 12.5rem; padding: 1.25rem; background: var(--purple-900); color: var(--paper); border-radius: .25rem; box-shadow: var(--shadow); transform: rotate(-4deg); }
.print-piece p { margin: 0 0 1.1rem; font-size: 1.25rem; font-weight: 760; line-height: 1.1; }
.print-piece strong { color: var(--green-500); }
.qr-demo { width: 8rem; margin-inline: auto; }
.phone { position: relative; z-index: 3; width: 15.3rem; min-height: 29rem; margin-left: 7rem; overflow: hidden; border: .6rem solid var(--ink); border-radius: 2.35rem; background: #f7f4eb; box-shadow: var(--shadow); transform: rotate(2deg); }
.phone::before { content: ""; position: absolute; z-index: 2; top: .35rem; left: 50%; width: 5rem; height: 1.15rem; border-radius: 1rem; background: var(--ink); transform: translateX(-50%); }
.phone-bar { height: 4.3rem; display: flex; align-items: end; justify-content: space-between; padding: 1rem .8rem .65rem; background: var(--purple-100); font-size: .83rem; font-weight: 800; }
.phone-bar i { width: .55rem; height: .55rem; border-radius: 50%; background: var(--green-600); }
.chat { min-height: 20.5rem; display: flex; flex-direction: column; justify-content: flex-end; gap: .7rem; padding: .8rem; background-image: radial-gradient(var(--line) .7px, transparent .7px); background-size: 12px 12px; }
.bubble { max-width: 88%; margin: 0; padding: .7rem .8rem; border-radius: .9rem; font-size: .78rem; line-height: 1.35; box-shadow: 0 2px 7px oklch(25% .02 303 / .08); }
.bubble.sent { align-self: flex-end; background: var(--green-100); }
.bubble.received { align-self: flex-start; background: var(--paper); }
.bubble.small { font-size: .69rem; }
.send-row { min-height: 3.4rem; display: flex; align-items: center; justify-content: space-between; margin: .45rem; padding: .7rem .8rem; border-radius: 2rem; background: var(--paper); color: var(--muted); font-size: .75rem; }
.send-row b { width: 2rem; height: 2rem; display: grid; place-items: center; border-radius: 50%; background: var(--green-600); color: var(--paper); }
.result-chip { position: absolute; z-index: 4; right: 0; bottom: 2.4rem; display: flex; flex-direction: column; padding: .9rem 1.1rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow); }
.result-chip strong { color: var(--purple-900); }
.result-chip span { color: var(--muted); font-size: .72rem; }
.story-line { position: absolute; z-index: 2; inset: 15% 0 auto; overflow: visible; }
.story-line path { fill: none; stroke: var(--green-600); stroke-width: 2; stroke-dasharray: 8 8; }

.section-heading { max-width: 47rem; margin-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.section-heading > p:not(.eyebrow) { max-width: 62ch; margin: 0; color: var(--muted); font-size: 1.1rem; }
.section-heading.inverse h2, .section-heading.inverse p { color: var(--paper); }
.section-heading.inverse .eyebrow { color: var(--green-500); }
.flow, .more-uses, .benefits, .faq, .final-cta { padding: var(--space-2xl) 0; }
.flow { background: var(--surface); }
.flow-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.flow-list li { display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
.flow-list li > span { color: var(--green-600); font-weight: 850; }
.flow-list h3 { margin-bottom: .35rem; font-size: 1.35rem; }
.flow-list p { max-width: 60ch; margin: 0; color: var(--muted); }

.examples { padding: var(--space-2xl) 0; background: var(--purple-950); color: var(--paper); }
.use-case { display: grid; gap: 2rem; align-items: center; padding: clamp(2rem, 5vw, 4.5rem) 0; border-top: 1px solid oklch(85% .02 303 / .25); }
.use-case:last-child { border-bottom: 1px solid oklch(85% .02 303 / .25); }
.case-visual { min-height: 18rem; display: grid; place-items: center; border-radius: var(--radius-lg); background: var(--green-500); color: var(--purple-950); overflow: hidden; }
.case-visual svg { width: min(100%, 25rem); padding: 2rem; }
.case-visual path, .case-visual circle { fill: none; stroke: currentColor; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.realestate .case-visual { background: oklch(83% .08 307); }
.supermarket .case-visual { background: oklch(85% .12 80); }
.case-number { color: var(--green-500); font-size: .8rem; font-weight: 850; letter-spacing: .1em; }
.case-copy h3 { color: var(--paper); font-size: clamp(1.8rem, 4vw, 3.15rem); }
.case-copy > p:not(.case-number) { max-width: 58ch; color: oklch(86% .015 303); }
.message-example { margin-top: 1.5rem; padding: 1.25rem; border: 1px solid oklch(85% .02 303 / .32); border-radius: var(--radius-md); background: oklch(31% .09 303); }
.message-example span, .message-example small { display: block; color: oklch(80% .03 303); font-size: .75rem; }
.message-example strong { display: block; margin: .45rem 0 .65rem; color: var(--paper); font-size: 1.05rem; }

.use-grid { display: grid; gap: 0; border-top: 1px solid var(--line); }
.use-grid article { padding: 1.7rem 0; border-bottom: 1px solid var(--line); }
.use-grid span { color: var(--green-600); font-size: .72rem; font-weight: 850; letter-spacing: .12em; }
.use-grid h3 { margin: .5rem 0; font-size: 1.35rem; }
.use-grid p { margin: 0; color: var(--muted); }

.benefits { background: var(--surface); }
.benefits-grid { display: grid; gap: 2rem; }
.benefit-list { border-top: 1px solid var(--line); }
.benefit-list article { display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; padding: 1.45rem 0; border-bottom: 1px solid var(--line); }
.benefit-list strong { color: var(--green-600); }
.benefit-list h3 { margin-bottom: .35rem; font-size: 1.3rem; }
.benefit-list p { margin: 0; color: var(--muted); }

.mail2wa-band { padding: var(--space-2xl) 0; background: var(--purple-900); color: var(--paper); }
.mail2wa-grid { display: grid; gap: 2rem; }
.mail2wa-band h2 { color: var(--paper); }
.mail2wa-band .eyebrow { color: var(--green-500); }
.mail2wa-band p { max-width: 58ch; color: oklch(89% .015 303); }
.button-light { border-color: var(--paper); background: var(--paper); color: var(--purple-900); }
.mail2wa-band small, .final-cta small { display: block; margin-top: .85rem; }

.faq-grid { display: grid; gap: 2rem; }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { min-height: 4.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; cursor: pointer; color: var(--purple-950); font-weight: 780; list-style: none; }
.faq summary::after { content: "+"; color: var(--green-600); font-size: 1.75rem; font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq details p { max-width: 62ch; margin: 0 0 1.5rem; color: var(--muted); }
.final-cta { text-align: center; background: var(--green-100); }
.final-cta .shell { max-width: 54rem; }
.final-cta p { max-width: 60ch; margin-inline: auto; }
.final-cta .button { margin-top: 1.4rem; }

.site-footer { padding: 4rem 0 max(2rem, env(safe-area-inset-bottom)); background: var(--ink); color: oklch(88% .01 303); }
.footer-grid { display: grid; gap: 2rem; }
.footer-grid > div { display: flex; flex-direction: column; align-items: flex-start; gap: .45rem; }
.footer-grid img { width: 4.75rem; height: 4.75rem; }
.footer-grid h2 { margin: 0 0 .6rem; color: var(--paper); font-size: 1rem; }
.footer-grid p { max-width: 30ch; margin: 0 0 .5rem; }
.footer-grid a, .accessibility-open { min-height: 2rem; color: inherit; text-underline-offset: .25rem; }
.accessibility-open { padding: 0; border: 0; background: none; text-decoration: underline; cursor: pointer; }
.footer-bottom { display: flex; flex-direction: column; gap: .4rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid oklch(80% .01 303 / .25); font-size: .78rem; }
.footer-bottom p { margin: 0; }

.accessibility-panel { position: fixed; z-index: 100; right: 1rem; bottom: 1rem; width: min(22rem, calc(100% - 2rem)); display: grid; gap: .5rem; padding: 1rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow); transition: transform 250ms var(--ease-out), opacity 200ms var(--ease-out); }
.accessibility-panel[aria-hidden="true"] { opacity: 0; pointer-events: none; transform: translateY(1rem); }
.panel-head { display: flex; justify-content: space-between; align-items: center; }
.panel-head h2 { margin: 0; font-size: 1.2rem; }
.panel-head button { width: 2.75rem; height: 2.75rem; border: 0; border-radius: 50%; background: var(--purple-100); cursor: pointer; }
.accessibility-panel > button { min-height: 2.8rem; padding: .55rem .75rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); color: var(--ink); text-align: left; cursor: pointer; }

.reveal { opacity: 0; transform: translateY(1.25rem); transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }
.a11y-font { font-size: 120%; }
.a11y-contrast { --ink: oklch(15% .02 303); --muted: oklch(30% .02 303); --paper: oklch(100% .004 88); --surface: oklch(94% .01 88); --line: oklch(55% .02 303); }
.a11y-links a:not(.button) { text-decoration: underline !important; text-decoration-thickness: .12em !important; }
.a11y-motion *, .a11y-motion *::before, .a11y-motion *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }

@media (min-width: 42rem) {
  .flow-list li { grid-template-columns: 4rem 12rem 1fr; }
  .flow-list li > div { display: contents; }
  .use-grid { grid-template-columns: repeat(2, 1fr); }
  .use-grid article { padding: 1.7rem; border-right: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1.3fr repeat(3, 1fr); }
}

@media (min-width: 64rem) {
  .menu-toggle { display: none; }
  .site-nav { position: static; display: flex; flex-direction: row; align-items: center; padding: 0; gap: .2rem; background: transparent; border: 0; box-shadow: none; }
  .hero { padding-block: 2.5rem 3.25rem; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(29rem, .86fr); }
  .hero h1 { font-size: clamp(3.7rem, 5vw, 4.65rem); }
  .hero-story { min-height: 27rem; }
  .phone { min-height: 25rem; }
  .chat { min-height: 16.5rem; }
  .print-piece { top: 2rem; width: 11.5rem; }
  .use-case { grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); gap: clamp(3rem, 8vw, 7rem); }
  .realestate { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); }
  .use-grid { grid-template-columns: repeat(3, 1fr); }
  .benefits-grid, .faq-grid, .mail2wa-grid { grid-template-columns: .8fr 1.2fr; gap: clamp(4rem, 9vw, 8rem); }
  .benefits .section-heading, .faq .section-heading { position: sticky; top: 8rem; align-self: start; }
}

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

@media (hover: none) { .button:hover { transform: none; } }

/* Pagine legali */
.legal-hero { padding: 4rem 0 2.5rem; background: var(--surface); border-bottom: 1px solid var(--line); }
.legal-hero h1 { max-width: 18ch; font-size: clamp(2.5rem, 7vw, 4.7rem); }
.legal-hero p { max-width: 68ch; color: var(--muted); }
.legal-layout { display: grid; gap: 2rem; padding: 3rem 0 var(--space-2xl); }
.legal-index { align-self: start; padding: 1rem; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); }
.legal-index h2 { margin: 0 0 .75rem; font-size: 1rem; }
.legal-index nav { display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); gap: .3rem; }
.legal-index a { padding: .45rem; color: var(--purple-900); font-size: .88rem; text-underline-offset: .2rem; }
.legal-content { min-width: 0; }
.legal-content section { padding: 0 0 2rem; margin-bottom: 2rem; border-bottom: 1px solid var(--line); }
.legal-content h2 { font-size: clamp(1.65rem, 3vw, 2.25rem); }
.legal-content h3 { margin-top: 1.5rem; font-size: 1.2rem; }
.legal-content p, .legal-content li { max-width: 72ch; }
.legal-content li + li { margin-top: .45rem; }
.legal-updated { color: var(--muted); font-size: .86rem; }
.legal-nav { padding: .8rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); }
.legal-nav .shell { display: flex; gap: .3rem 1.15rem; flex-wrap: wrap; }
.legal-nav a { min-height: 2.5rem; display: inline-flex; align-items: center; color: var(--purple-900); font-weight: 700; }
@media (min-width: 64rem) { .legal-layout { grid-template-columns: 17rem 1fr; gap: 4rem; } .legal-index { position: sticky; top: 7rem; } .legal-index nav { grid-template-columns: 1fr; } }

/* Motion system 2026: il QR diventa una conversazione */
.site-header { backdrop-filter: saturate(150%) blur(.8rem); }
.scroll-progress { position: absolute; inset: auto 0 0; height: 3px; overflow: hidden; }
.scroll-progress span { display: block; width: 100%; height: 100%; background: var(--green-600); transform: scaleX(var(--scroll-progress, 0)); transform-origin: left center; will-change: transform; }

.hero { background:
  radial-gradient(circle at 78% 22%, oklch(84% .12 122 / .25), transparent 21rem),
  linear-gradient(118deg, var(--paper) 0 54%, oklch(95% .025 303) 54% 100%);
}
.hero::after { content: "WA→"; position: absolute; right: -2vw; bottom: -6rem; color: oklch(48% .13 303 / .055); font-size: clamp(12rem, 27vw, 28rem); font-weight: 900; line-height: .7; letter-spacing: -.12em; pointer-events: none; }
.hero-orb { position: absolute; border-radius: 50%; pointer-events: none; will-change: transform; }
.hero-orb-one { width: 13rem; height: 13rem; right: 6%; top: 4rem; border: 1px solid oklch(56% .19 303 / .22); }
.hero-orb-two { width: 2rem; height: 2rem; right: 44%; bottom: 14%; background: var(--green-500); box-shadow: 0 0 0 .7rem oklch(76% .17 122 / .14); }
.hero-copy { position: relative; z-index: 5; }
.hero h1 span { position: relative; display: inline; color: var(--green-600); }
.hero h1 span::after { content: ""; position: absolute; left: 0; right: 0; bottom: -.08em; height: .08em; border-radius: 99px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 900ms 420ms var(--ease-out); }
.hero-copy.is-visible h1 span::after { transform: scaleX(1); }

.hero-story { perspective: 900px; }
.hero-story::before { content: ""; position: absolute; inset: 6% 3% 3%; z-index: -1; border: 1px solid oklch(52% .15 303 / .16); border-radius: 48% 52% 43% 57% / 54% 38% 62% 46%; transform: rotate(-8deg); }
.motion-label { position: absolute; z-index: 5; padding: .42rem .6rem; border-radius: 99px; background: var(--paper); color: var(--purple-900); border: 1px solid var(--line); font-size: .62rem; font-weight: 850; letter-spacing: .08em; box-shadow: 0 .4rem 1.2rem oklch(25% .04 303 / .1); opacity: 0; transform: translateY(.7rem); }
.label-scan { left: 1%; bottom: 16%; }
.label-send { left: 44%; top: 2%; }
.label-receive { right: -1%; top: 27%; }
.hero-story.is-visible .motion-label { opacity: 1; transform: none; transition: opacity 400ms var(--ease-out), transform 600ms var(--ease-out); }
.hero-story.is-visible .label-scan { transition-delay: 260ms; }
.hero-story.is-visible .label-send { transition-delay: 780ms; }
.hero-story.is-visible .label-receive { transition-delay: 1320ms; }
.print-piece { overflow: hidden; transform-origin: 70% 80%; transition: transform 700ms var(--ease-out); }
.print-piece::after { content: ""; position: absolute; inset: -15% 8%; background: linear-gradient(180deg, transparent, oklch(85% .2 122 / .75), transparent); transform: translateY(-135%); }
.hero-story.is-visible .print-piece::after { animation: qr-scan 2.8s 450ms var(--ease-out) infinite; }
.phone { transform-origin: 50% 80%; transition: transform 850ms var(--ease-out), box-shadow 850ms var(--ease-out); }
.hero-story.is-visible .phone { box-shadow: 0 2.5rem 6rem oklch(24% .08 303 / .28); }
.hero-story .bubble { opacity: 0; transform: translateY(.8rem) scale(.96); }
.hero-story.is-visible .bubble { opacity: 1; transform: none; transition: opacity 420ms var(--ease-out), transform 650ms var(--ease-out); }
.hero-story.is-visible .bubble.sent { transition-delay: 720ms; }
.hero-story.is-visible .bubble.received { transition-delay: 1180ms; }
.hero-story.is-visible .bubble.received.small { transition-delay: 1550ms; }
.hero-story.is-visible .send-row b { animation: send-pulse 2.4s 650ms ease-out infinite; }
.hero-story.is-visible .result-chip { animation: chip-float 4.5s 1.7s ease-in-out infinite; }
.hero-story.is-visible .story-line path { animation: route-flow 10s linear infinite; }

.reveal { transition-duration: 760ms; }
.flow-list li.reveal { transform: translateX(-1.25rem); }
.flow-list li.reveal.is-visible { transform: none; }
.flow-list li > span { transition: transform 500ms var(--ease-out), color 350ms var(--ease-out); }
.flow-list li:hover > span { color: var(--purple-900); transform: translateX(.35rem); }
.use-case .case-visual { position: relative; isolation: isolate; transition: transform 700ms var(--ease-out), border-radius 700ms var(--ease-out); }
.use-case .case-visual::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(120deg, transparent 25%, oklch(100% 0 0 / .28) 46%, transparent 65%); transform: translateX(-120%); transition: transform 1.1s var(--ease-out); }
.use-case.is-visible .case-visual::after { transform: translateX(120%); }
.use-case:hover .case-visual { transform: rotate(-1deg) scale(1.015); border-radius: 3.2rem 1.1rem 3.2rem 1.1rem; }
.use-case.realestate:hover .case-visual { transform: rotate(1deg) scale(1.015); }
.case-visual svg { transition: transform 700ms var(--ease-out); }
.use-case:hover .case-visual svg { transform: scale(1.045); }
.message-example { transition: transform 500ms var(--ease-out), background 500ms var(--ease-out); }
.use-case:hover .message-example { transform: translateX(.5rem); background: oklch(34% .11 303); }
.use-grid article { position: relative; overflow: hidden; transition: color 380ms var(--ease-out), padding 500ms var(--ease-out); }
.use-grid article::after { content: "→"; position: absolute; right: 1rem; bottom: .75rem; color: var(--green-600); font-size: 1.4rem; opacity: 0; transform: translateX(-.6rem); transition: opacity 350ms var(--ease-out), transform 500ms var(--ease-out); }
.use-grid article:hover::after { opacity: 1; transform: none; }
.use-grid article:hover { color: var(--purple-900); }
.faq details p { display: grid; grid-template-rows: 1fr; }
.faq summary::after { transition: transform 450ms var(--ease-out), color 300ms var(--ease-out); }
.faq details[open] summary::after { transform: rotate(180deg); color: var(--purple-900); }
.final-cta { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--green-100), oklch(92% .055 303)); }
.final-cta::before, .final-cta::after { content: ""; position: absolute; width: 13rem; height: 13rem; border: 1px solid oklch(46% .16 303 / .18); transform: rotate(20deg); }
.final-cta::before { left: -5rem; top: -6rem; }
.final-cta::after { right: -5rem; bottom: -7rem; }

@keyframes qr-scan { 0%, 15% { transform: translateY(-135%); } 60%, 100% { transform: translateY(135%); } }
@keyframes route-flow { to { stroke-dashoffset: -160; } }
@keyframes send-pulse { 0%, 100% { box-shadow: 0 0 0 0 oklch(68% .17 122 / .4); } 50% { box-shadow: 0 0 0 .65rem oklch(68% .17 122 / 0); } }
@keyframes chip-float { 0%, 100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-.55rem) rotate(1deg); } }

@media (max-width: 63.99rem) {
  .hero { background: radial-gradient(circle at 80% 15%, oklch(84% .12 122 / .22), transparent 18rem), var(--paper); }
  .motion-label { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .hero h1 span::after { transform: scaleX(1); }
  .hero-story .bubble, .motion-label { opacity: 1; transform: none; }
  .hero-story.is-visible .print-piece::after, .hero-story.is-visible .result-chip, .hero-story.is-visible .story-line path, .hero-story.is-visible .send-row b { animation: none; }
}
