/* Interactive product chapters. Hardware and the original opening stay intact. */
.product-story { padding:56px max(5vw,24px) 0; background:#f1f1f8; color:#161a2e; --story-accent:#4a54c8; }
.story-payback { background:#f5f1e5; --story-accent:#806027; }
.story-voice { background:#edf1f7; --story-accent:#2f5ed6; }
.story-automation { background:#f4eee7; --story-accent:#875a30; }
.story-app { background:#eaf1f2; --story-accent:#226974; }
.story-intro,.story-workbench,.story-result { width:100%; max-width:1240px; margin:0 auto; }
.story-signature { display:flex; align-items:center; gap:12px; padding-bottom:24px; border-bottom:1px solid #18241e1a; margin-bottom:28px; }
.story-signature>.ai-presence { width:34px; height:34px; flex-shrink:0; }
.story-signature>span { font-size:18px; letter-spacing:-.02em; }
.story-signature b { font-weight:450; color:#626270; }
.story-signature small { margin-left:auto; font-size:10px; letter-spacing:.14em; color:#555560; }
.story-eyebrow { font-size:10px; line-height:1.5; font-weight:700; letter-spacing:.16em; color:var(--story-accent,#59636b); margin:0 0 20px; }
.story-intro h3 { font-size:clamp(36px,4.1vw,60px); line-height:1.05; letter-spacing:-.05em; font-weight:650; max-width:1120px; margin:0 0 20px; }
.story-description { font-size:18px; line-height:1.65; color:#565662; max-width:650px; margin:0 0 32px; }
.story-workbench { display:grid; grid-template-columns:minmax(220px,.75fr) minmax(0,2fr); gap:48px; align-items:start; }
.story-tabs { display:grid; gap:8px; }
.story-tabs button { min-height:61px; display:flex; align-items:center; gap:13px; padding:14px 16px; border:1px solid transparent; background:transparent; color:#444452; border-radius:12px; text-align:left; font-size:14px; cursor:pointer; transition:background .18s,border-color .18s; }
.story-tabs button img { width:25px; height:25px; object-fit:contain; flex-shrink:0; }
.story-tabs button>b { margin-left:auto; font-size:17px; opacity:0; }
.story-tabs button[aria-selected=true] { background:#fff; color:#151524; border-color:#cccdd7; box-shadow:0 5px 15px #19302406; font-weight:650; }
.story-tabs button[aria-selected=true]>b { opacity:1; }
.story-tabs button:hover { background:#ffffff90; }
.product-story button:focus-visible,.story-questions summary:focus-visible { outline:3px solid var(--story-accent,#4a54c8); outline-offset:4px; }
.story-step-symbol { width:25px; font-size:11px; letter-spacing:.05em; opacity:.65; }
.story-web { display:grid; place-items:center; width:25px; height:25px; border-radius:7px; background:#e0e9eb; color:#355c67; font-size:21px; flex-shrink:0; }
.story-explanation { padding:32px 4px 0; }
.story-explanation h4 { font-size:22px; line-height:1.2; letter-spacing:-.03em; margin:0 0 14px; }
.story-explanation p { font-size:15px; line-height:1.7; color:#595a66; margin:0; }
.story-privacy { font-size:11px; line-height:1.65; color:#686872; margin:28px 4px 0; }
.story-stage { min-width:0; border-radius:22px; background:#fff; border:1px solid #d7d8dd; box-shadow:0 24px 55px #1a302114; overflow:hidden; min-height:480px; }
.story-stage:focus { outline:none; }
.story-stage:focus-visible { outline:3px solid var(--story-accent); outline-offset:5px; }
.story-stage .ai-presence { width:28px; height:28px; flex-shrink:0; }
.story-result { display:flex; align-items:center; gap:12px; padding:30px 0 40px; font-size:13px; line-height:1.6; }
.story-result>span:last-child { margin-left:auto; display:flex; align-items:center; gap:10px; font-size:9px; letter-spacing:.1em; white-space:nowrap; }
.story-result .ai-presence { width:20px; height:20px; }
.story-check { display:grid; place-items:center; border-radius:50%; background:var(--story-accent); color:#fff; width:24px; height:24px; flex-shrink:0; }
.story-primary { padding:14px 18px; min-height:48px; border-radius:9px; background:#181828; color:#fff; cursor:pointer; font-size:13px; display:flex; align-items:center; justify-content:center; gap:22px; }
.story-primary:hover { background:#2c2d45; }
.product-story button:disabled { cursor:default; opacity:.7; }
/* Chat: a complete inbox with recognizable channels, not another text list. */
.inbox-preview>header { padding:20px 24px; display:flex; justify-content:space-between; align-items:center; border-bottom:1px solid #e4e5f1; gap:14px; }
.inbox-preview>header>span { display:flex; align-items:center; gap:10px; font-size:14px; }
.inbox-preview>header>small { font-size:10px; color:#6e6f7a; }
.inbox-layout { display:grid; grid-template-columns:158px minmax(0,1fr); min-height:426px; }
.inbox-layout>aside { display:flex; flex-direction:column; padding:26px 12px 18px; background:#f8f8fc; border-right:1px solid #e4e5f1; gap:7px; }
.inbox-label { font-size:9px; letter-spacing:.12em; color:#848590; padding:0 10px; margin-bottom:10px; }
.inbox-channel { display:flex; align-items:center; gap:8px; padding:11px 8px; font-size:10px; border-radius:7px; color:#717180; }
.inbox-channel img,.inbox-channel .story-web { width:17px; height:17px; }
.inbox-channel b { margin-left:auto; font-size:10px; }
.inbox-channel.is-selected { background:#e8e9f1; color:#20224f; }
.inbox-owner { margin-top:auto; display:flex; align-items:center; gap:8px; padding:30px 8px 0; }
.inbox-owner>span { width:26px; height:26px; display:grid; place-items:center; background:#e0e1e7; border-radius:50%; font-size:9px; }
.inbox-owner p { margin:0; font-size:10px; }
.inbox-owner small { display:block; margin-top:3px; font-size:8px; color:#7c7d89; }
.inbox-thread { min-width:0; display:flex; flex-direction:column; }
.thread-contact { display:flex; align-items:center; gap:10px; padding:18px 20px; border-bottom:1px solid #e8e9ee; }
.thread-avatar { display:grid; place-items:center; width:35px; height:35px; border-radius:50%; background:#e9dfcf; color:#725e3c; font-size:11px; flex-shrink:0; }
.thread-contact div { min-width:0; }
.thread-contact b { display:block; font-size:13px; }
.thread-contact small { display:block; font-size:9px; color:#8b90ad; line-height:1.5; margin-top:3px; }
.thread-contact>img,.thread-contact>.story-web { margin-left:auto; width:20px; height:20px; }
.thread-messages { padding:22px; display:flex; flex-direction:column; gap:16px; flex:1; background:#fdfdfe; }
.thread-date { font-size:8px; letter-spacing:.1em; color:#9697a0; text-align:center; }
.thread-messages>p { padding:14px 16px; font-size:13px; line-height:1.6; margin:0; max-width:90%; border-radius:12px; }
.thread-in { background:#edeef1; align-self:flex-start; border-bottom-left-radius:3px !important; }
.thread-out { background:#e2e3f0; align-self:flex-end; border-bottom-right-radius:3px !important; }
.thread-messages>p small { display:block; color:#8b90ad; font-size:8px; margin-top:8px; }
.thread-crm { display:flex; align-items:center; gap:12px; padding:18px 0 0; border-top:1px dashed #d7d8e1; margin-top:4px; }
.thread-crm b { display:block; font-size:11px; }
.thread-crm span { display:block; font-size:10px; line-height:1.5; color:#737481; margin-top:5px; }
.thread-compose { display:flex; justify-content:space-between; gap:10px; padding:17px 20px; border-top:1px solid #e4e5f1; font-size:10px; color:#878892; }
/* Payback: the visitor advances a sample card without changing real Wallet data. */
.wallet-demo { padding:28px; background:#eeeae1; }
.wallet-platforms { display:flex; justify-content:center; gap:8px; margin-bottom:24px; }
.wallet-platforms button { display:flex; align-items:center; gap:8px; padding:10px 14px; min-height:44px; border-radius:8px; background:transparent; font-size:12px; color:#5b5a52; cursor:pointer; }
.wallet-platforms button[aria-pressed=true] { background:#fff; box-shadow:0 2px 7px #0001; color:#14141a; }
.wallet-platforms img { width:17px; height:17px; }
.demo-loyalty-card { max-width:410px; margin:auto; border-radius:18px; padding:26px; color:#f8f4e7; background:#1e2340; box-shadow:0 15px 30px #243c3024; }
.demo-loyalty-card>div:first-child { display:flex; gap:10px; align-items:center; }
.demo-loyalty-card>div:first-child>span { font-size:11px; font-weight:700; letter-spacing:.06em; }
.demo-loyalty-card small { display:block; font-size:9px; letter-spacing:0; color:#b0b4cd; margin-top:4px; font-weight:400; }
.demo-loyalty-card>div:first-child>b { font-size:8px; font-weight:400; margin-left:auto; letter-spacing:.12em; color:#b0b4cd; }
.demo-loyalty-card h4 { font-size:28px; line-height:1.12; letter-spacing:-.035em; margin:30px 0 25px; font-weight:500; }
.demo-stamp-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:12px; }
.demo-stamp-grid span { border:1px solid #666881; aspect-ratio:1; display:grid; place-items:center; border-radius:50%; color:#8d90a6; font-size:12px; }
.demo-stamp-grid span.earned { color:#1e2340; background:#e0dcf7; border-color:#e0dcf7; font-size:27px; animation:stamp-in .25s ease-out; }
.demo-loyalty-card footer { display:flex; justify-content:space-between; margin-top:26px; border-top:1px solid #ffffff24; padding-top:16px; gap:20px; }
.demo-loyalty-card footer span { font-size:8px; letter-spacing:.1em; color:#a7a9c0; }
.demo-loyalty-card footer b { display:block; margin-top:7px; font-size:15px; font-weight:500; letter-spacing:0; color:#f5f3e1; }
.wallet-message { max-width:410px; margin:18px auto; padding:14px; display:flex; align-items:center; gap:10px; color:#595b63; background:#ffffffc9; border-radius:12px; font-size:11px; line-height:1.5; }
.wallet-message img { width:20px; height:20px; }
.wallet-demo>.story-primary { margin:auto; width:min(100%,410px); }
/* Voice: selectable transcript plus the existing, local audio sample. */
.voice-demo { padding:28px; background:#fcfdff; }
.voice-demo-head { display:flex; gap:12px; align-items:center; }
.voice-demo-head>span { font-size:15px; font-weight:600; }
.voice-demo-head small { display:block; font-size:10px; color:#8089ad; margin-top:5px; font-weight:400; }
.voice-demo-head>b { margin-left:auto; font-size:10px; color:#8089ad; }
.voice-demo-wave { height:110px; display:flex; align-items:center; justify-content:center; gap:5px; margin:12px 0; background:#edf2fa; border-radius:14px; }
.voice-demo-wave i { width:4px; height:var(--bar); background:#6385b3; border-radius:4px; }
.voice-script p { font-size:15px; line-height:1.7; margin:0; padding:18px 4px; border-bottom:1px solid #e5eaf1; }
.voice-script span { display:block; font-size:9px; font-weight:600; color:#6b83a3; letter-spacing:.13em; margin-bottom:8px; }
.voice-audio-label { display:block; font-size:12px; margin-top:24px; color:#405673; }
.voice-audio-label audio { display:block; width:100%; height:42px; margin:12px 0; }
.voice-audio-label small { font-size:10px; line-height:1.5; color:#8b98a9; }
/* Automation: visible comparison and a reversible demo decision. */
.decision-demo { padding:28px; }
.decision-demo header { display:flex; gap:12px; align-items:center; font-size:15px; }
.decision-demo header small { display:block; color:#8c918b; font-size:10px; margin-top:5px; }
.decision-chart { display:grid; gap:20px; padding:30px 0; margin-top:10px; }
.decision-chart>div { display:grid; grid-template-columns:125px minmax(0,1fr) 58px; align-items:center; gap:15px; font-size:11px; }
.decision-chart i { height:23px; width:var(--amount); background:#dbdde4; border-radius:4px; }
.decision-chart>div+div i { background:#464868; }
.decision-chart b { font-size:10px; color:#595b66; }
.decision-comparison { display:flex; justify-content:space-around; align-items:center; gap:20px; padding:27px; background:#f4f3ee; border-radius:14px; }
.decision-comparison small { display:block; font-size:9px; color:#8b9189; letter-spacing:.1em; }
.decision-comparison strong { font-size:44px; letter-spacing:-.055em; font-weight:550; display:block; margin-top:12px; }
.decision-reason { font-size:13px; line-height:1.7; color:#717581; margin:24px 0; }
.decision-actions { display:flex; flex-wrap:wrap; gap:10px; }
.decision-actions>button:not(.story-primary) { background:#f0f2f4; color:#3f4150; padding:14px; min-height:48px; border-radius:8px; cursor:pointer; font-size:12px; }
/* App: contact context, not a second generic dashboard. */
.crm-demo { padding:26px; background:#fff; }
.crm-demo>header { display:flex; align-items:center; gap:10px; font-size:12px; padding-bottom:24px; border-bottom:1px solid #e2e4f0; }
.crm-demo>header small { margin-left:auto; font-size:8px; color:#7f7f8d; }
.crm-person { display:flex; gap:14px; align-items:center; padding:30px 0; }
.crm-person>span { display:grid; place-items:center; width:55px; height:55px; background:#ecdfcd; color:#75644f; border-radius:50%; font-size:18px; }
.crm-person h4 { font-size:21px; margin:0; letter-spacing:-.035em; }
.crm-person p { font-size:12px; color:#7a7b87; margin:6px 0 0; }
.crm-person>b { margin-left:auto; font-size:9px; font-weight:400; color:#4e4c79; background:#ecedf5; padding:8px; border-radius:6px; }
.crm-demo-stats { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; padding:22px 0; border-top:1px solid #e2e4f0; border-bottom:1px solid #e2e4f0; }
.crm-demo-stats span { color:#808090; font-size:8px; letter-spacing:.08em; }
.crm-demo-stats strong { display:block; font-size:32px; color:#242343; margin-top:10px; font-weight:500; }
.crm-timeline { padding:30px 0; }
.crm-timeline>div { display:flex; gap:15px; }
.crm-timeline img { width:26px; height:26px; }
.crm-timeline small { font-size:9px; letter-spacing:.08em; color:#7c7d90; }
.crm-timeline h4 { margin:12px 0; font-size:19px; font-weight:550; }
.crm-timeline p { font-size:13px; line-height:1.6; color:#696a7d; }
.crm-source { font-size:10px; color:#8d8f9c; display:block; margin-top:24px; }
/* Product knowledge becomes an explorable index, not a stack of empty slabs. */
.story-knowledge { display:grid; grid-template-columns:minmax(0,.85fr) minmax(0,1.6fr); gap:80px; padding:90px max(6vw,24px); background:#fffdfa; color:#202129; }
.story-knowledge>div:first-child { max-width:350px; }
.story-knowledge h3 { font-size:clamp(32px,3.8vw,50px); line-height:1.06; letter-spacing:-.045em; margin:0 0 24px; }
.story-knowledge>div>p:not(.story-eyebrow) { font-size:16px; line-height:1.7; color:#7b847b; }
.story-knowledge>div>.ai-presence { width:50px; height:50px; display:block; margin-top:32px; }
.story-questions { min-width:0; }
.story-questions details { border-bottom:1px solid #d9dbe1; }
.story-questions summary { display:flex; justify-content:space-between; gap:25px; align-items:center; padding:23px 0; cursor:pointer; list-style:none; font-size:18px; line-height:1.4; letter-spacing:-.02em; }
.story-questions summary::-webkit-details-marker { display:none; }
.story-questions summary small { display:block; font-size:9px; letter-spacing:.13em; color:#8a8b96; text-transform:uppercase; margin-bottom:8px; }
.story-questions summary>b { width:28px; height:28px; display:grid; place-items:center; border:1px solid #d2d4dd; border-radius:50%; font-size:20px; font-weight:400; flex-shrink:0; }
.story-questions details[open] summary>b { transform:rotate(45deg); }
.story-answer { padding:0 0 30px; --section-ink:#1e2340; --section-muted:#6a6f92; --section-line:#dcdcec; }
.story-answer .pp-lede { font-size:15px; color:#6a6f92; margin-bottom:20px; }
.product-page .story-answer .pp-grid { display:grid; }
.product-page .story-answer .pp-list li,.product-page .story-answer .pp-steps li { font-size:14px; padding:10px 0; }
.product-page .story-answer .pp-note { font-size:12px; }
.product-page .story-answer .pp-big { font-size:46px; }
@keyframes stamp-in { from{transform:scale(.82);opacity:.5}to{transform:scale(1);opacity:1} }
@media(max-width:1000px) {
 .story-workbench { grid-template-columns:1fr; gap:25px; }
 .story-tabs { grid-template-columns:repeat(4,minmax(0,1fr)); }
 .story-tabs button { padding:12px; justify-content:center; gap:8px; }
 .story-tabs button>b { display:none; }
 .story-tabs button span { font-size:12px; }
 .story-explanation { padding:24px 0 0; }
 .story-explanation h4 { margin-bottom:10px; }
 .story-privacy { margin:14px 0 0; }
 .story-knowledge { gap:40px; }
}
@media(max-width:600px) {
 .product-story { padding:42px 20px 0; }
 .story-signature { gap:9px; padding-bottom:24px; margin-bottom:30px; flex-wrap:wrap; }
 .story-signature>span { font-size:15px; }
 .story-signature small { font-size:8px; }
 .story-signature>.ai-presence { width:25px;height:25px; }
 .story-intro h3 { font-size:35px; }
 .story-description { font-size:15px; margin-bottom:28px; }
 .story-tabs { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .story-tabs button { justify-content:flex-start; padding:12px; min-height:53px; }
 .story-tabs button img { width:22px;height:22px; }
 .story-workbench { gap:24px; }
 .story-stage { border-radius:15px; min-height:0; }
 .inbox-layout { grid-template-columns:1fr; }
 .inbox-layout>aside { display:none; }
 .inbox-preview>header { padding:16px; }
 .inbox-preview>header>small { display:none; }
 .thread-contact { padding:16px 12px; gap:8px; }
 .thread-contact small { font-size:8px; }
 .thread-messages { padding:18px 12px; }
 .thread-messages>p { max-width:95%; font-size:12px; }
 .thread-crm { align-items:flex-start; }
 .thread-compose { font-size:9px; padding:16px 12px; }
 .story-result { align-items:flex-start; font-size:11px; padding:24px 0 32px; }
 .story-result>span:last-child { display:none; }
 .wallet-demo,.voice-demo,.decision-demo,.crm-demo { padding:18px; }
 .wallet-platforms { gap:2px; }
 .wallet-platforms button { padding:9px; font-size:10px; }
 .demo-loyalty-card { padding:20px; }
 .demo-loyalty-card h4 { font-size:26px; }
 .demo-loyalty-card>div:first-child>b { display:none; }
 .demo-stamp-grid { gap:8px; }
 .demo-loyalty-card footer b { font-size:12px; }
 .voice-demo-head>span { font-size:13px; }
 .voice-demo-wave { gap:4px; }
 .voice-script p { font-size:14px; }
 .decision-chart>div { grid-template-columns:94px minmax(0,1fr) 46px; gap:9px; font-size:9px; }
 .decision-chart b { font-size:9px; }
 .decision-comparison { padding:20px 14px; }
 .decision-comparison strong { font-size:36px; }
 .decision-comparison small { font-size:8px; }
 .crm-person { gap:10px; }
 .crm-person>b,.crm-demo>header>small { display:none; }
 .crm-person h4 { font-size:19px; }
 .crm-demo-stats { gap:10px; }
 .crm-demo-stats span { font-size:7px; }
 .story-knowledge { grid-template-columns:1fr; padding:48px 24px; gap:25px; }
 .story-knowledge>div>.ai-presence { display:none; }
 .story-questions summary { font-size:16px; }
}
@media(prefers-reduced-motion:reduce) { .product-story * { animation:none!important;transition:none!important; } }

.story-web {fill:none;stroke:currentColor;stroke-width:1.4;padding:3px;}
.story-voice.is-playing .voice-demo-wave i {animation:voice-sample-pulse .65s ease-in-out infinite alternate;animation-delay:var(--delay);}
@keyframes voice-sample-pulse {to{transform:scaleY(.35);}}
body:has(.panel.is-active .panel-scroll.is-scrolled) .site-header {background:#11151b;backdrop-filter:none;}
@media(prefers-reduced-motion:reduce) {.story-voice.is-playing .voice-demo-wave i {animation:none!important;}}

/* Voice library: a spacious listening index, below the original greeting. */
.voice-library{max-width:1240px;margin:0 auto;padding:48px 0 64px;border-top:1px solid #cbd5e2;--voice-ink:#172d48;--voice-muted:#526780;--voice-line:#cad5e3;}
.voice-library-heading{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:end;margin-bottom:32px;}
.voice-library-heading h3{font-size:clamp(32px,3.8vw,52px);line-height:1.08;letter-spacing:-.045em;margin:0;color:var(--voice-ink);}
.voice-library-heading>p{font-size:16px;line-height:1.7;color:var(--voice-muted);max-width:460px;margin:0;}
.voice-library-toolbar{display:flex;gap:20px;justify-content:space-between;align-items:center;padding:24px 0;border-bottom:1px solid var(--voice-line);}
.voice-library-toolbar>div{display:flex;gap:8px;flex-wrap:wrap;}
.voice-library-toolbar button{min-height:46px;padding:10px 18px;border-radius:24px;background:transparent;border:1px solid #b8c2e0;color:var(--voice-ink);cursor:pointer;font-size:14px;}
.voice-library-toolbar button[aria-pressed=true]{background:var(--voice-ink);color:white;border-color:var(--voice-ink);}
.voice-library-toolbar>span{font-size:13px;color:var(--voice-muted);}
.voice-library-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));column-gap:32px;}
.voice-library-item{padding:28px 0;border-bottom:1px solid var(--voice-line);min-width:0;}
.voice-library-item[hidden]{display:none;}
.voice-library-identity{display:flex;align-items:center;gap:12px;}
.voice-monogram{display:grid;place-items:center;width:46px;height:46px;flex-shrink:0;border-radius:50%;background:#d6e2ef;color:#234f80;font-size:20px;}
.voice-library-item:nth-child(3n+2) .voice-monogram{background:#e7dfce;color:#685426;}
.voice-library-item:nth-child(3n) .voice-monogram{background:#d2d1e4;color:#2e2b61;}
.voice-library-identity h4{font-size:20px;letter-spacing:-.025em;margin:0;color:var(--voice-ink);}
.voice-library-identity p{font-size:12px;margin:5px 0 0;color:var(--voice-muted);line-height:1.5;}
.voice-library-number{margin-left:auto;font-size:11px;color:var(--voice-muted);}
.voice-library-tone{font-size:13px;color:var(--voice-muted);margin:18px 0 14px;}
.voice-library-item audio{width:100%;height:44px;display:block;}
.voice-library-item.is-playing .voice-monogram{outline:3px solid #2f5ed6;outline-offset:3px;}
.voice-library-error{font-size:12px;color:#92362e;line-height:1.5;}
.voice-language-note{display:flex;gap:24px;padding-top:32px;align-items:start;}
.voice-language-note>span{font-size:13px;font-weight:600;white-space:nowrap;border:1px solid #b8c2e0;padding:12px;border-radius:8px;}
.voice-language-note p{font-size:14px;line-height:1.7;color:var(--voice-muted);max-width:780px;margin:0;}
.voice-language-note strong{display:block;color:var(--voice-ink);font-weight:600;margin-bottom:4px;}
@media(max-width:1000px){.voice-library-grid{grid-template-columns:repeat(2,minmax(0,1fr));}.voice-library-heading{gap:28px;}}
@media(max-width:600px){.voice-library{padding:36px 0 48px;}.voice-library-heading{grid-template-columns:1fr;gap:20px;}.voice-library-toolbar{align-items:start;flex-direction:column;gap:14px;}.voice-library-toolbar button{padding:10px 15px;}.voice-library-grid{grid-template-columns:1fr;}.voice-library-heading>p{font-size:16px;}.voice-language-note{flex-direction:column;gap:16px;}.voice-library-identity p{font-size:13px;}}
