/* Small, scroll-led stories. Each scene keeps its composition in view. */
.feature-scene { height: 205svh; position: relative; scroll-margin-top: 0; }
.feature-stage { position: sticky; top: 0; min-height: 650px; height: 100svh; display: flex; align-items: center; }
.feature-layout { width: 100%; display: grid; grid-template-columns: .86fr 1.14fr; gap: 7%; align-items: center; padding-top: 108px; padding-bottom: 60px; }
.feature-copy { max-width: 425px; }
.feature-copy .eyebrow { font-size: 10px; letter-spacing: .17em; color: #8b8b85; }
.feature-copy h2 { font-size: clamp(32px, 3.05vw, 46px); line-height: 1.36; letter-spacing: -.045em; margin: 26px 0 20px; font-weight: 500; }
.feature-description { font-size: clamp(14px, 1.2vw, 17px); line-height: 1.9; color: #a2a29c; margin: 0 0 26px; }
.scene-button { display: inline-flex; align-items: center; gap: 20px; border: 1px solid #454540; border-radius: 30px; background: #30302d; padding: 12px 19px; color: #eee; font: inherit; font-size: 12px; cursor: pointer; transition: background .2s, transform .2s; }
.scene-button:hover { background: #42423c; transform: translateY(-2px); }
.scene-button span { font-size: 17px; }
.scene-disclaimer { display: block; color: #74746e; font-size: 10px; margin-top: 16px; letter-spacing: .05em; }
.scene-links { display: flex; gap: 20px; margin-top: 38px; padding-top: 18px; border-top: 1px solid #292927; font-size: 10px; color: #72726c; }
.scene-links a { text-decoration: none; transition: color .2s; }
.scene-links a:hover, .scene-links a[aria-current="step"] { color: #e8e7e0; }
.scene-progress { position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); width: 80px; height: 2px; background: #2b2b28; border-radius: 2px; overflow: hidden; }
.scene-progress i { display: block; width: 100%; height: 100%; background: #9b9b90; transform: scaleX(var(--scene-progress, 0)); transform-origin: left; }
.scene-step { opacity: 0; transform: translateY(24px) scale(.97); filter: blur(4px); transition: opacity .6s ease, transform .7s cubic-bezier(.18,.72,.2,1), filter .5s; pointer-events: none; }
.scene-step.is-shown { opacity: 1; transform: none; filter: none; pointer-events: auto; }
.conversation-visual { position: relative; height: min(59svh, 530px); min-height: 455px; width: 100%; max-width: 655px; }
.story-chat-window { position: absolute; top: 0; right: 1%; width: 88%; height: calc(100% - 120px); background: #1d1d1b; border: 1px solid #343430; border-radius: 18px; display: flex; flex-direction: column; box-shadow: 0 18px 50px #0002; overflow: hidden; }
.story-chat-header { display: flex; align-items: center; gap: 10px; padding: 17px 19px 14px; border-bottom: 1px solid #292927; }
.story-chat-header .sprite { width: 32px; height: 32px; flex: 0 0 32px; }
.story-chat-identity strong { display: block; font-size: 13px; font-weight: 500; color: #efefe8; }
.story-chat-identity small { display: block; color: #7f7f77; font-size: 10px; margin-top: 3px; }
.story-chat-identity small::before { content: ''; display: inline-block; width: 4px; height: 4px; margin-right: 5px; border-radius: 50%; background: #add5a2; }
.story-window-dots { margin-left: auto; display: flex; gap: 4px; }
.story-window-dots i { height: 4px; width: 4px; border-radius: 50%; background: #66665e; }
.story-chat-body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 17px 18px; scrollbar-width: thin; scrollbar-color: #41413b transparent; }
.story-message { display: flex; align-items: flex-end; gap: 8px; margin-bottom: 13px; }
.story-message:not(.is-shown) { display: none; }
.story-message .sprite { flex: 0 0 22px; width: 22px; height: 22px; margin-bottom: 3px; }
.story-message p { font-size: 13px; line-height: 1.75; margin: 0; max-width: 83%; color: #c8c8c0; }
.story-message.is-user { justify-content: flex-end; }
.story-message.is-user p { padding: 10px 13px; border-radius: 14px 14px 3px 14px; background: #30302c; color: #e8e8de; }
.story-message.message-enter { animation: story-message-in .45s ease both; }
@keyframes story-message-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.story-chat-composer { margin: 0 14px 13px; display: flex; align-items: center; background: #262623; border: 1px solid #3a3a34; border-radius: 12px; padding: 5px 6px 5px 13px; gap: 6px; }
.story-chat-composer:focus-within { border-color: #bcbca4; }
.story-chat-composer input { min-width: 0; flex: 1; padding: 8px 0; background: transparent; border: 0; outline: 0; color: #e8e8dd; font: inherit; font-size: 12px; }
.story-chat-composer input::placeholder { color: #72726a; }
.story-chat-composer button { border: 0; border-radius: 8px; background: #e8e8db; color: #292925; width: 33px; height: 31px; font-size: 20px; line-height: 1; cursor: pointer; flex-shrink: 0; }
.story-chat-composer button:disabled { opacity: .45; cursor: wait; }
.story-typing { display: flex; align-items: center; gap: 4px; padding: 8px 0; }
.story-typing i { width: 4px; height: 4px; border-radius: 50%; background: #bcbca3; animation: typing-dot 1s infinite; }
.story-typing i:nth-child(2) { animation-delay: .15s; }.story-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing-dot { 50% { opacity: .3; transform: translateY(-3px); } }
.story-chat-status { min-height: 14px; color: #8b8b7c; font-size: 10px; margin-top: 11px; }
.quick-feelings { display: flex; gap: 7px; flex-wrap: wrap; margin: 0 0 22px; }
.quick-feelings button { background: transparent; border: 1px solid #383831; border-radius: 20px; color: #a7a79b; font: inherit; font-size: 11px; padding: 8px 11px; cursor: pointer; transition: color .2s, border-color .2s; }
.quick-feelings button:hover { color: #eeeedf; border-color: #a1a18a; }
.story-mini-window { position: absolute; border: 1px solid #373731; background: #20201d; border-radius: 13px; box-shadow: 0 15px 40px #0003; padding: 15px; }
.story-mini-header { font-size: 10px; color: #9b9b8d; display: flex; gap: 8px; padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px solid #30302a; }
.story-mini-header span { color: #d3bd80; }
.story-mini-note { bottom: -9%; left: -3%; width: 188px; transform: translate(-10px, 22px); }
.story-mini-note.is-shown { transform: rotate(-3deg); }
.story-mini-note p { color: #bbbbaa; font-size: 11px; line-height: 1.9; margin: 0; display: flex; align-items: center; gap: 7px; }
.story-mini-note p::before { content: ''; width: 7px; height: 4px; flex: none; border-left: 1px solid #9cac83; border-bottom: 1px solid #9cac83; transform: translateY(-1px) rotate(-45deg); }
.story-mini-letter { bottom: -9%; right: -3%; width: 194px; transform: translate(15px, 22px); }
.story-mini-letter.is-shown { transform: rotate(3deg); }
.story-mini-letter p { font-size: 13px; line-height: 1.8; margin: 0; color: #d5d5c0; }
.story-mini-letter small { display: block; color: #737366; font-size: 9px; margin-top: 13px; }
.care-scene { height: 195svh; }
.care-visual { display: flex; justify-content: center; align-items: center; position: relative; min-height: 0; }
.care-phone { width: min(29vw, 350px); aspect-ratio: .61; position: relative; overflow: hidden; isolation: isolate; border-radius: 45px 45px 0 0; -webkit-mask-image: linear-gradient(#000 0%, #000 80%, transparent 100%); mask-image: linear-gradient(#000 0%, #000 80%, transparent 100%); }
.care-phone-base { position: absolute; width: 190.6%; max-width: none; height: auto; top: -15.8%; left: -45.3%; pointer-events: none; }
.care-notifications { position: absolute; left: 7%; right: 7%; top: 40%; display: flex; flex-direction: column; gap: 9px; }
.care-notification { display: flex; align-items: flex-start; gap: 9px; padding: 11px 10px; border-radius: 17px; background: #21232cd4; border: 1px solid #ffffff12; backdrop-filter: blur(14px); color: #f5f5f2; box-shadow: 0 6px 20px #0001; transform: translateY(24px) scale(.94); }
.care-notification .sprite { width: 29px; height: 29px; flex: 0 0 29px; }
.care-notification-text { min-width: 0; flex: 1; }
.care-notification-head { display: flex; align-items: center; justify-content: space-between; gap: 4px; font-size: 10px; margin: 0 0 4px; }
.care-notification-head strong { font-weight: 500; }.care-notification-head time { color: #bcbbc5; font-size: 8px; white-space: nowrap; }
.care-notification p { font-size: 11px; line-height: 1.6; margin: 0; }
.care-device-caption { position: absolute; bottom: -18px; color: #63635e; font-size: 9px; letter-spacing: .13em; }
.feature-scene button:focus-visible, .feature-scene a:focus-visible { outline: 2px solid #d7d7b5; outline-offset: 4px; }
@media (min-width: 1600px) { .feature-layout { max-width: 1450px; }.conversation-visual { height: 555px; }.story-message p { font-size: 14px; }.care-phone { width: 380px; } }
@media (max-width: 1100px) { .feature-layout { gap: 5%; grid-template-columns: .9fr 1.1fr; }.story-chat-window { width: 96%; right: 0; }.conversation-visual { min-height: 425px; }.story-mini-note { left: -4%; width: 163px; }.story-mini-letter { right: -2%; width: 162px; }.story-mini-letter p { font-size: 11px; }.story-mini-note p { font-size: 10px; }.care-phone { width: min(32vw, 335px); }.feature-copy h2 { font-size: 34px; } }
@media (max-width: 700px) {
  .feature-stage { min-height: 700px; height: 100svh; }
  .feature-layout { grid-template-columns: 1fr; gap: 24px; padding-top: 93px; padding-bottom: 45px; align-content: center; }
  .feature-copy { max-width: none; }
  .feature-copy .eyebrow { font-size: 8px; }
  .feature-copy h2 { font-size: 28px; line-height: 1.35; margin: 14px 0 11px; }
  .feature-description { font-size: 11px; line-height: 1.8; margin-bottom: 13px; }
  .feature-description br { display: none; }
  .quick-feelings { margin-bottom: 0; gap: 6px; }.quick-feelings button { font-size: 10px; padding: 6px 10px; }
  .conversation-copy .scene-button, .conversation-copy .scene-disclaimer { display: none; }
  .scene-links { margin-top: 16px; padding-top: 12px; gap: 21px; font-size: 9px; }
  .conversation-visual { height: 41svh; min-height: 340px; max-height: 395px; margin-top: 0; }
  .story-chat-window { width: 100%; height: calc(100% - 29px); border-radius: 14px; }
  .story-chat-header { padding: 10px 13px; gap: 8px; }.story-chat-header .sprite { width: 25px; height: 25px; flex-basis: 25px; }.story-chat-identity strong { font-size: 11px; }.story-chat-identity small { font-size: 8px; }
  .story-chat-body { padding: 12px; }.story-message { margin-bottom: 10px; }.story-message p { font-size: 10px; }.story-message.is-user p { padding: 7px 10px; }
  .story-chat-composer { margin: 0 9px 9px; padding: 3px 4px 3px 10px; border-radius: 9px; }.story-chat-composer input { font-size: 16px; transform: scale(.75); transform-origin: left; width: 133%; margin-right: -25%; }.story-chat-composer button { width: 29px; height: 27px; font-size: 17px; }
  .story-mini-note { display: none; }.story-mini-letter { width: 195px; right: -1%; bottom: -7%; padding: 10px 13px; border-radius: 10px; }.story-mini-letter .story-mini-header, .story-mini-letter small { display: none; }.story-mini-letter p { font-size: 10px; line-height: 1.6; }
  .story-chat-status { font-size: 9px; margin: 7px 0 0; min-height: 0; }
  .care-scene .feature-layout { gap: 14px; }.care-scene .feature-description { margin-bottom: 13px; }.care-scene .scene-disclaimer { margin-top: 9px; font-size: 8px; }.care-scene .scene-links { margin-top: 13px; }.scene-button { font-size: 10px; padding: 8px 14px; gap: 15px; }
  .care-phone { width: min(54vw, 250px); border-radius: 29px 29px 0 0; }.care-notifications { gap: 6px; }.care-notification { padding: 7px; gap: 6px; border-radius: 11px; }.care-notification .sprite { width: 23px; height: 23px; flex-basis: 23px; }.care-notification-head { font-size: 8px; margin-bottom: 3px; }.care-notification-head time { font-size: 6px; }.care-notification p { font-size: 8px; }.care-device-caption { bottom: -9px; font-size: 7px; }
  .scene-progress { bottom: 20px; width: 60px; }
}
@media (max-height: 760px) and (min-width: 701px) { .feature-stage { min-height: 590px; }.feature-layout { padding-top: 90px; padding-bottom: 35px; }.conversation-visual { min-height: 380px; height: 59svh; }.care-phone { width: min(27vw, 295px); }.feature-copy h2 { font-size: 33px; }.scene-links { margin-top: 25px; }.feature-description { font-size: 13px; } }
@media (max-width: 700px) and (max-height: 740px) { .feature-stage { min-height: 650px; }.feature-layout { padding-top: 80px; gap: 16px; }.feature-copy h2 { font-size: 25px; }.conversation-visual { min-height: 310px; }.care-phone { width: 195px; }.care-scene .scene-links { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .feature-scene { height: auto; }.feature-stage { position: relative; height: auto; min-height: 760px; }
  .scene-step { opacity: 1; transform: none; filter: none; transition: none; pointer-events: auto; }.story-message:not(.is-shown) { display: flex; }
  .story-mini-note.is-shown, .story-mini-letter.is-shown { transform: none; }.story-message.message-enter, .story-typing i { animation: none; }.scene-progress { display: none; }
  @media (max-width: 700px) { .feature-stage { min-height: 790px; } }
}
