/* Show the actual illustrated sample immediately; the full story remains one tap away. */
.story-demo {
  grid-area:preview;
  position:sticky;
  top:28px;
  min-width:0;
  max-width:470px;
  margin:0;
  padding:10px;
  border:1px solid rgba(101,80,177,.14);
  border-radius:26px;
  background:#fff;
  box-shadow:0 22px 60px rgba(42,35,74,.13);
}
.story-demo-frame {
  overflow:hidden;
  border-radius:18px;
  background:#efe8ff;
}
.story-demo-frame img {
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:1;
  object-fit:contain;
}
.story-demo-caption {
  display:grid;
  gap:5px;
  padding:13px 13px 10px;
  color:#292443;
}
.story-demo-kicker {
  color:#7156ac;
  font:800 10px/1.25 "Avenir Next",Avenir,sans-serif;
  letter-spacing:.1em;
}
.story-demo-caption strong { font-size:15px; line-height:1.3; }
.story-demo-caption small { color:#5a526d; font-size:12px; line-height:1.35; }
.story-demo-caption a {
  width:fit-content;
  margin-top:4px;
  color:#493789;
  font-size:13px;
  font-weight:800;
  text-decoration:underline;
  text-underline-offset:3px;
}
.story-demo-caption a:focus-visible { outline:3px solid #6e50bd; outline-offset:3px; border-radius:2px; }

@media (max-width:900px) {
  .funnel-grid { grid-template-areas:"copy" "form" "preview"; gap:16px; }
  .story-demo { position:relative; top:auto; width:min(500px,100%); margin:5px auto 0; }
}
@media (max-width:700px) {
  .funnel-home .site-header { min-height:56px; flex-wrap:nowrap; gap:8px; padding-block:8px; }
  .funnel-home .site-header > .brand { flex:0 0 auto; font-size:17px; }
  .funnel-home .site-header > .brand > span:last-child { display:inline; }
  .funnel-home .site-nav { width:auto; flex:0 0 auto; justify-content:flex-end; margin-left:auto; }
  .funnel-home .site-nav > a:not(.nav-cta) { display:none; }
  .funnel-home .nav-cta { padding:8px 12px; font-size:11px; box-shadow:none; }
  .funnel-hero { padding:12px 0 38px; }
  .funnel-grid { gap:12px; }
  .funnel-copy h1 { max-width:22ch; font-size:clamp(32px,9.2vw,39px); line-height:1.02; }
  .funnel-copy > .lead { max-width:42ch; margin:8px 0 9px; font-size:13px; line-height:1.35; }
  .quick-story-card { padding:16px; }
  .quick-story-card .field-group { margin-bottom:10px; }
  .quick-story-card .field-group input { min-height:43px; padding:10px 12px; }
  .story-idea-field legend { margin-bottom:6px; }
  .story-theme-options { gap:6px; }
  .story-theme-options label span { min-height:37px; padding:8px 9px; }
  .story-demo { padding:8px; border-radius:22px; }
  .story-demo-frame { border-radius:16px; }
  .story-demo-caption { padding:10px 10px 7px; }
  .story-demo-caption strong { font-size:13px; }
  .story-demo-caption small { font-size:11px; }
}
