:root {
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-in-out: cubic-bezier(.77, 0, .175, 1);
}
html { scroll-padding-top: 104px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.motion-demo { min-height: 520px; aspect-ratio: auto; padding: 36px 24px 64px; }
.demo-glass { position: relative; isolation: isolate; padding: 22px; background: linear-gradient(145deg, rgba(39,39,44,.94), rgba(18,19,23,.96)); border-color: rgba(255,255,255,.19); box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 24px 60px -20px #000c; }
.demo-header { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; color: #e4e4e7; font-size: 12px; letter-spacing: .02em; }
.demo-header span:first-child { display: inline-flex; align-items: center; gap: 7px; }
.demo-header i { width: 5px; height: 5px; background: #e4c397; border-radius: 50%; box-shadow: 0 0 0 4px #e4c3970d; }
.demo-header small { color: #b3b3bd; font-size: 11px; }
.demo-composer { display: flex; align-items: center; gap: 10px; min-height: 66px; padding: 12px 12px 12px 16px; border: 1px solid #ffffff26; border-radius: 18px; background: linear-gradient(135deg,#ffffff0b,#ffffff04); box-shadow: inset 0 1px 0 #ffffff09; }
.demo-composer > svg { flex-shrink: 0; width: 17px; height: 17px; color: #c6c6cf; }
.demo-question { flex: 1; min-width: 0; min-height: 44px; display: flex; align-items: center; font-size: 14px; font-weight: 500; line-height: 1.65; text-wrap: pretty; }
.demo-voice { display: flex; align-items: center; justify-content: center; gap: 3px; flex-shrink: 0; width: 34px; height: 34px; border: 1px solid #ffffff24; border-radius: 50%; background: #e8e4dd; }
.demo-voice i { width: 2px; height: 8px; border-radius: 2px; background: #242424; }
.demo-voice i:nth-child(2) { height: 15px; }
.demo-voice i:nth-child(3) { height: 21px; }
.demo-voice i:nth-child(4) { height: 12px; }
.demo-context { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 20px; }
.demo-context > span { display: flex; align-items: center; gap: 6px; padding: 5px 9px; border: 1px solid #ffffff0d; border-radius: 7px; background: #ffffff07; color: #c3c3cd; font-size: 11px; }
.demo-context svg { width: 13px; height: 13px; color: #c6aa87; }
.demo-quote { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: center; padding: 11px 0; border-top: 1px solid #ffffff0c; font-size: 13px; line-height: 1.75; color: #d3d3db; }
.demo-quote p { margin: 0; }
.demo-quote em { color: #e6c49a; font-size: 11px; font-style: normal; white-space: nowrap; }
.demo-quote u { text-decoration: none; color: #fff; text-underline-offset: 4px; }
.demo-conclusion { margin: 16px 0 0; padding: 12px; border: 1px solid #d2b18326; border-radius: 10px; color: #e8d3b9; background: #c4a37a0a; font-size: 12px; line-height: 1.7; }
.demo-platforms { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 6px; margin: 18px 0 14px; }
.demo-platforms > span { display: flex; flex-direction: column; gap: 4px; padding: 9px 7px; border: 1px solid #ffffff12; border-radius: 9px; background: #ffffff05; font-size: 11px; color: #d4d4dd; }
.demo-platforms small { font-size: 10px; color: #c6aa87; }
.demo-platforms .muted small { color: #a7a7b1; }
.demo-answer { min-height: 100px; padding: 14px; border: 1px solid #ffffff0c; border-radius: 12px; background: #ffffff05; font-size: 13px; line-height: 1.8; }
.demo-answer small { display: block; margin-bottom: 6px; color: #b7b7c2; font-size: 11px; }
.demo-answer p { margin: 0; }
.demo-answer mark { padding: 2px 4px; background: #dbb58226; color: #f5ddbd; box-shadow: none; }
.demo-evidence { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.demo-evidence > span { padding: 4px 8px; color: #c6c6d0; background: #ffffff06; border: 1px solid #ffffff0c; border-radius: 6px; font-size: 10px; }
.demo-finish { margin: 14px 0 0; color: #cbb294; font-size: 11px; }
.demo-risk-row { display: grid; grid-template-columns: 22px 1fr; gap: 8px; padding: 13px 0; border-bottom: 1px solid #ffffff0e; }
.demo-risk-row > svg { width: 17px; height: 17px; margin-top: 3px; color: #d7b991; }
.demo-risk-row strong { font-size: 12px; font-weight: 500; color: #eee6dc; }
.demo-risk-row p { margin: 4px 0 0; color: #c3c3cd; font-size: 12px; line-height: 1.7; }
.demo-risk-row code { white-space: normal; overflow-wrap: anywhere; font-size: 11px; }
.demo-risk-row b { font-weight: 500; color: #ebc0b5; }
.demo-controls { display: flex; align-items: center; justify-content: space-between; gap: 16px; position: absolute; left: 26px; right: 26px; bottom: 18px; color: #dedee5; font-size: 11px; }
.demo-controls > span { padding: 4px 9px; border-radius: 6px; background: #0009; }
.demo-replay { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 5px 9px; border: 1px solid #ffffff24; border-radius: 7px; background: #131317b3; color: #dedee5; font-size: 11px; cursor: pointer; transition: background-color 160ms ease, transform 160ms var(--ease-out); }
.demo-replay svg { width: 13px; height: 13px; }
.demo-replay:active { transform: scale(.97); }
[data-demo-ready] [data-demo-step] { opacity: 0; transform: translateY(8px); transition: opacity 400ms var(--ease-out), transform 400ms var(--ease-out); }
[data-demo-ready] [data-demo-step][data-visible] { opacity: 1; transform: none; }
[data-demo-state="typing"] .demo-question::after { content: ""; align-self: center; width: 1px; height: 16px; margin-left: 3px; background: #d9c3a8; animation: demo-caret 800ms steps(1) infinite; }
[data-demo-state="typing"] .demo-voice i { animation: demo-voice 800ms var(--ease-in-out) infinite alternate; }
[data-demo-state="typing"] .demo-voice i:nth-child(2n) { animation-delay: -400ms; }
@keyframes demo-caret { 50% { opacity: 0; } }
@keyframes demo-voice { from { transform: scaleY(.55); } to { transform: scaleY(1); } }
.contact-values { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px 24px; margin-top: 24px; color: #dedee5; font-size: 15px; }
.contact-values a { padding: 8px 0; }
.contact-values a:focus-visible { border-radius: 4px; }
.links .contact-email { overflow-wrap: anywhere; }
.contact-dock { position: fixed; z-index: 45; right: 20px; bottom: 22px; display: grid; gap: 8px; }
.contact-dock-item { position: relative; }
.dock-button { display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 1px solid #ffffff29; border-radius: 50%; background: #1b1b20d9; color: #e4e4e9; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: inset 0 1px 0 #ffffff0a,0 6px 18px #0004; transition: transform 180ms var(--ease-out),background-color 180ms ease; }
.dock-button svg { width: 17px; height: 17px; }
.dock-panel { position: absolute; top: 50%; right: 52px; display: block; min-width: 210px; padding: 14px 18px; border: 1px solid #ffffff1c; border-radius: 14px; background: #1c1c21f5; box-shadow: 0 14px 32px #0005; opacity: 0; visibility: hidden; transform: translate(6px,-50%); transition: opacity 180ms var(--ease-out),transform 180ms var(--ease-out),visibility 180ms; }
.dock-panel small { display: block; margin-bottom: 6px; color: #aaaab6; font-size: 11px; }
.dock-panel strong { white-space: nowrap; font-size: 13px; font-weight: 500; }
.contact-dock-item:focus-within .dock-panel { opacity: 1; visibility: visible; transform: translate(0,-50%); }
@media (hover:hover) and (pointer:fine) {
  .demo-replay:hover { background: #34343b; }
  .dock-button:hover { transform: translateY(-2px); background: #323239; }
  .contact-dock-item:hover .dock-panel { opacity: 1; visibility: visible; transform: translate(0,-50%); }
  .contact-values a:hover { color: #fff; }
}
@media (max-width:900px) {
  html { scroll-padding-top: 84px; }
  .feature .mock.motion-demo { min-height: 500px; padding: 48px 14px 62px; align-items: center; }
  .demo-glass { padding: 18px; }
  .demo-question { font-size: 13px; }
  .demo-composer { padding: 10px; gap: 8px; }
  .demo-quote { grid-template-columns: 1fr; gap: 3px; padding: 10px 0; }
  .demo-quote em { justify-self: start; }
  .demo-controls { left: 18px; right: 18px; }
  .contact-dock { display: none; }
  .dock-button { width: 38px; height: 38px; }
  .contact-values { flex-direction: column; gap: 0; font-size: 14px; }
}
@media (max-width:380px) {
  .demo-glass { padding: 14px; }
  .demo-context { gap: 4px; }
  .demo-context > span { padding: 5px 6px; font-size: 10px; }
  .demo-composer > svg { display: none; }
  .demo-platforms { gap: 4px; }
}
@media (prefers-reduced-motion:reduce) {
  [data-demo-ready] [data-demo-step] { opacity: 1; transform: none; transition: none; }
  [data-demo-state="typing"] .demo-question::after { display: none; }
  [data-demo-state="typing"] .demo-voice i { animation: none; }
  .demo-replay { display: none; }
  .dock-button,.dock-panel { transform: none; transition-duration: 0ms; }
  .dock-panel,.contact-dock-item:focus-within .dock-panel { transform: translateY(-50%); }
}
