.ai-story{margin:2.25rem 0;padding:clamp(1.1rem,3vw,2rem);border:1px solid #dedcf7;border-radius:20px;background:linear-gradient(135deg,#faf9ff,#f0f6ff);color:#17213b;overflow:hidden}
.ai-story .ai-story-eyebrow{color:#6844be;text-transform:uppercase;font-size:.72rem;font-weight:700;letter-spacing:.09em;margin:0 0 .75rem}
.ai-story h3{margin:0 0 .8rem;font-size:1.35rem;line-height:1.3}.ai-story p{line-height:1.65}.ai-story .ai-story-note{font-size:.8rem;color:#59657a;margin:1rem 0 0}
.ai-story-buttons{display:flex;gap:.7rem;flex-wrap:wrap;margin:1.25rem 0}.ai-story button{font:inherit;font-size:.9rem;cursor:pointer;border:1px solid #b9b1e5;border-radius:10px;padding:.7rem 1rem;background:#fff;color:#4d35a0;font-weight:600}.ai-story button:hover{background:#f0eaff}.ai-story button:focus-visible{outline:3px solid #6547df;outline-offset:3px}.ai-story button[aria-pressed=true]{background:#643bca;border-color:#643bca;color:white}
.ai-story-price-table{display:grid;grid-template-columns:1fr 1fr;gap:.8rem}.ai-story-price-table>div{background:#fff;border:2px solid transparent;border-radius:12px;padding:1.15rem;display:flex;flex-direction:column;gap:.6rem;transition:transform .25s,border-color .25s,box-shadow .25s}.ai-story-price-table .is-selected{border-color:#7042d2;box-shadow:0 5px 20px #673ab71a;transform:translateY(-3px)}.ai-story-price-table strong{font-size:1.75rem;line-height:1.25;color:#17213b}.ai-story-price-table small{font-size:.75rem;white-space:nowrap;font-weight:500;color:#61718a}.ai-story-result{padding:1rem;border-radius:10px;background:#e8f7ef;color:#126142;min-height:3.5rem}
.ai-flow-track{display:grid;grid-template-columns:1fr auto 1fr auto 1fr;align-items:center;gap:.5rem;margin:1.5rem 0}.ai-flow-step{display:flex;flex-direction:column;align-items:center;text-align:center;gap:.4rem;padding:.9rem .4rem;border:1px solid #e2def5;border-radius:12px;background:#fff;min-height:150px}.ai-flow-step>span:last-child{font-size:.78rem;color:#60708a}.ai-flow-number{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#eee7ff;color:#6843c4;font-weight:700}.ai-flow-arrow{color:#805ccf;font-size:1.4rem}.ai-flow-outcomes{display:flex;gap:.8rem;margin:1.3rem 0}.ai-flow-outcomes>span{flex:1;padding:1rem;background:#e6f5ee;border:1px solid #bddfce;border-radius:12px;color:#245846;display:flex;flex-direction:column;gap:.3rem}.ai-flow-outcomes strong{font-size:1.5rem}.ai-flow.is-playing .ai-flow-step{animation:ai-story-pulse 1.2s ease both;animation-delay:calc(var(--step)*.8s)}.ai-flow.is-playing .ai-flow-outcomes{animation:ai-story-arrive .6s 2.5s both}
@keyframes ai-story-pulse{0%,100%{box-shadow:none}40%{box-shadow:0 0 0 3px #ad91f3;transform:translateY(-4px)}}@keyframes ai-story-arrive{from{opacity:.35;transform:translateY(7px)}to{opacity:1;transform:none}}
@media(max-width:560px){.ai-flow-track{grid-template-columns:1fr;gap:.5rem}.ai-flow-step{min-height:0;padding:.8rem}.ai-flow-arrow{transform:rotate(90deg);text-align:center;line-height:1}.ai-story-price-table strong{font-size:1.4rem}.ai-story-price-table>div{padding:.8rem}.ai-flow-outcomes strong{font-size:1.25rem}.ai-story-buttons button{flex:1}}
@media(prefers-reduced-motion:reduce){.ai-story *{animation:none!important;transition:none!important}}
.ai-flow-outcomes strong small{display:block;font-size:.8rem;font-weight:500;line-height:1.5}
