
  .story-inline { margin:40px 0; scroll-margin-top:88px; }
  .story-section { scroll-margin-top:88px; background: var(--bg-alt, #f6f3ee); }
  .product-story { border:1px solid var(--line); border-radius:20px; background:var(--ground); padding:28px; }
  .story-top { display:flex; align-items:center; justify-content:space-between; gap:16px; min-height:38px; margin-bottom:24px; color:var(--ink-soft); font-size:14px; }
  .story-replay { border:1px solid var(--line); background:transparent; border-radius:24px; padding:8px 16px; color:var(--brand); font:inherit; cursor:pointer; white-space:nowrap; flex-shrink:0; }
  .story-replay[hidden] { display:none; }
  .story-replay:disabled { opacity:.6; cursor:default; }
  .story-replay:focus-visible { outline:2px solid var(--brand); outline-offset:4px; }
  .story-pipeline { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; }
  .story-panel { padding:24px; border:1px solid var(--line); border-radius:14px; min-height:290px; }
  .story-label { color:var(--brand); font-size:13px; letter-spacing:.06em; }
  .story-panel h3 { font-size:20px; margin:12px 0 20px; }
  .story-panel p { font-size:15px; line-height:1.8; }
  .story-line b { font-weight:600; color:var(--brand); }
  .story-task { background:var(--bg-alt,#f6f3ee); padding:12px; border-radius:8px; }
  .story-wave { display:flex; align-items:center; justify-content:center; gap:5px; height:80px; margin:24px 0; }
  .story-wave span { width:5px; background:var(--brand); border-radius:4px; }
  .story-note { margin:24px 0 0; font-size:13px; color:var(--ink-soft); }
  .story-conversation { max-width:650px; margin:auto; display:flex; flex-direction:column; gap:18px; }
  .story-clock { align-self:center; font-size:14px; color:var(--ink-soft); margin-bottom:8px; }
  .story-bubble { max-width:85%; padding:20px 24px; border-radius:18px; }
  .story-bubble p { margin:8px 0; line-height:1.8; }
  .story-customer { align-self:flex-end; background:var(--bg-alt,#f6f3ee); border:1px solid var(--line); }
  .story-assistant { align-self:flex-start; border:1px solid var(--line); }
  .story-source { font-size:12px; color:var(--ink-soft); }
  .story-thinking { height:28px; display:flex; align-items:center; gap:6px; visibility:hidden; }
  .story-thinking > span:not(.thinking-label) { width:6px; height:6px; border-radius:50%; background:var(--brand); }
  .thinking-label { margin-left:6px; font-size:13px; color:var(--ink-soft); }
  [data-playing] .story-stage { animation:story-reveal 900ms cubic-bezier(.2,.65,.3,1) both; animation-delay:var(--story-delay,0ms); }
  [data-playing] .story-wave span { animation:story-wave 600ms ease-in-out 3 alternate; animation-delay:var(--wave-delay); }
  [data-playing] .story-thinking { animation:story-thinking 4400ms linear both; }
  @keyframes story-reveal { from { opacity:0; transform:translateY(14px); } to { opacity:1; transform:translateY(0); } }
  @keyframes story-wave { from { transform:scaleY(.45); } to { transform:scaleY(1); } }
  @keyframes story-thinking { 0%,15% { visibility:hidden; } 16%,51% { visibility:visible; } 52%,100% { visibility:hidden; } }
  .story-comparison { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }
  .story-handoffs { list-style:none; display:grid; gap:12px; }
  .story-handoffs li { display:flex; align-items:baseline; gap:16px; padding-left:12px; border-left:2px solid var(--line); font-size:14px; }
  .story-handoffs b { color:var(--brand); flex:0 0 42px; }
  .story-direct { background:var(--surface); }
  .story-people { display:flex; align-items:center; justify-content:center; gap:20px; margin-bottom:16px; }
  .story-person { width:56px; height:56px; display:grid; place-items:center; border:1px solid var(--tan); border-radius:50%; font-size:14px; }
  .story-engineer { display:flex; align-items:center; gap:8px; font-size:14px; }
  .story-link { color:var(--brand); font-size:26px; }
  .story-direct .story-line { margin:12px 0; }
  .story-system { display:grid; grid-template-columns:minmax(0,1fr) 24px minmax(0,1fr) 24px minmax(0,1fr); gap:12px; }
  .story-system .story-panel { min-height:250px; }
  .story-connector { display:flex; align-items:center; justify-content:center; font-size:26px; color:var(--brand); }
  .story-mini { border:1px solid var(--line); border-radius:10px; padding:16px; font-size:13px; background:var(--surface); }
  .story-mini p { margin:14px 0; }
  .story-chip { display:inline-block; padding:6px 10px; border:1px solid var(--tan); border-radius:8px; color:var(--brand-deep); }
  .story-files { display:grid; gap:14px; margin:20px 0 8px; }
  .story-sheet { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:14px; border:1px solid var(--line); border-radius:8px; background:var(--surface); rotate:var(--sheet-angle); font-size:13px; }
  .story-sheet b { color:var(--brand); white-space:nowrap; }
  .story-ai-helper { display:flex; align-items:center; gap:12px; margin:20px 0; font-size:14px; color:var(--brand); }
  .story-ai-checks { list-style:none; display:grid; gap:12px; font-size:14px; }
  .story-review { border-top:1px solid var(--line); padding-top:12px; color:var(--ink-soft); }
  .story-review b { color:var(--brand-deep); }
  .story-mini .story-metric { font-size:38px; font-family:var(--serif); color:var(--brand); line-height:1.4; }
  .story-metric small { font-size:14px; }
  @keyframes story-emphasis { 0%,100% { box-shadow:0 0 0 2px transparent; } 40% { box-shadow:0 0 0 2px var(--tan); } }
  @media (max-width:760px) { [data-playing] .story-pipeline .story-stage,[data-playing] .story-comparison .story-stage,[data-playing] .story-system .story-stage { animation-name:story-emphasis; } .story-comparison { grid-template-columns:1fr; } .story-system { grid-template-columns:1fr; gap:12px; } .story-system .story-panel { min-height:0; } .story-connector { height:24px; } .story-connector span { transform:rotate(90deg); } .product-story { padding:20px; } .story-pipeline { grid-template-columns:1fr; } .story-panel { min-height:0; } .story-bubble { max-width:95%; padding:16px; } }
  @media (prefers-reduced-motion:reduce) { [data-playing] .story-stage,[data-playing] .story-wave span,[data-playing] .story-thinking { animation:none; } .story-replay { display:none; } }

.story-section { padding:64px 0; }
.story-section .section-head { margin-bottom:32px; }
.story-section .section-head h2 { font-family:var(--serif); font-size:clamp(24px,3.6vw,34px); line-height:1.35; margin-top:10px; }
.story-section .section-head p { color:var(--ink-soft); margin-top:8px; max-width:40em; }
.product-story h3 { font-family:var(--serif); line-height:1.35; }
.product-story img { max-width:100%; height:auto; }
@media(max-width:760px) { .story-section { padding:56px 0; } }

#story-reference, .story-reference { scroll-margin-top:88px; }
.story-quote { margin-top:16px; padding:12px; border-left:3px solid var(--brand); background:var(--ground); font-size:15px; line-height:1.8; }
.story-citation { display:inline-block; margin-top:20px; font-size:13px; color:var(--brand-deep); text-underline-offset:4px; }
