/* Original EBOB design: depth and motion for the product illustrations. */
:root { --motion-ease: cubic-bezier(.22,1,.36,1); }
.hero-copy { min-width: 0; }
.hero-copy h1 { font-size: clamp(32px, 4.85vw, 64px); }
@media (max-width: 639px) { .hero-copy h1 { font-size: clamp(27px, 7.8vw, 42px); } }
.hero-word-wrap { perspective: 700px; }
#hero-word { transform-origin: 50% 65%; backface-visibility: hidden; }
.hero-section { isolation: isolate; }
#hv-scene { perspective: 1300px; }
.hv-act { transform-style: preserve-3d; }
.hv-panel { box-shadow: -12px 26px 70px #020b1b70, 0 0 0 1px #ffffff30, inset 0 1px 0 #fff; }
#hv-notif, #hv-photo { border: 1px solid #fff; box-shadow: 0 24px 44px #020b1b60; }
#hv-chip[data-tone="gold"] { background: #f6f1e4; color: #8a6a1f; }
#hv-chip[data-tone="navy"] { background: #0e1d33; color: #fff; }
#hv-chip[data-tone="sage"] { background: #e9efdf; color: #44663a; }
#hv-ai-line { min-height: 16px; }
#hv-scene > .motion-controls { position: absolute; left: 0; right: 0; bottom: -49px; --control-color: #c9d4e5; border-color: #ffffff20; }
#hv-scene::before { content: ''; position: absolute; inset: 20px -35px; background: radial-gradient(ellipse, #e0a63e18, transparent 68%); pointer-events: none; }
.feat-card { min-width: 0; position: relative; border: 1px solid #e4dfd0; transition: border-color .35s, box-shadow .5s; }
.feat-card:hover, .feat-card:focus-within { border-color: #cdb67d; box-shadow: 0 12px 36px #45351109; }
.feat-vis { isolation: isolate; perspective: 1000px; }
.feat-vis::before { content: ''; position: absolute; inset: 8px -12px; z-index: -1; background-image: radial-gradient(#a3916735 .7px, transparent .7px); background-size: 14px 14px; mask-image: radial-gradient(ellipse, #000 18%, transparent 72%); pointer-events: none; }
.feat-vis::after { content: ''; position: absolute; bottom: 18px; left: 18%; width: 64%; height: 15px; background: #4a3a2820; filter: blur(13px); border-radius: 50%; z-index: -1; pointer-events: none; }
.demo-tilt { width: 100%; max-width: 320px; position: relative; transform-style: preserve-3d; transform: perspective(1000px) rotateX(var(--rx, 2deg)) rotateY(var(--ry, -3deg)); transition: transform .55s var(--motion-ease); }
.demo-tilt.is-tracking { transition-duration: .12s; }
.demo-object { width: 100%; position: relative; transform-style: preserve-3d; }
.demo-surface { box-shadow: 0 14px 22px -15px #30251466, 0 3px 0 -1px #ded8c6, 0 4px 0 -1px #fff; }
.demo-surface > * { position: relative; }
.demo-surface > .absolute { position: absolute; }
.demo-lift { box-shadow: 0 12px 24px -14px #0e1d3360; }
.demo-scan { position: absolute; inset: -1px; overflow: hidden; border-radius: inherit; pointer-events: none; z-index: 5; }
.demo-scan-line { display: block; position: absolute; top: 0; width: 100%; height: 30%; background: linear-gradient(transparent, #e0a63e15 90%, #e0a63e80); }
.demo-digit { display: inline-block; transform-origin: 50% 65%; }
.demo-word { opacity: 1; }
.motion-controls { --control-color: #5b7093; display: flex; align-items: center; gap: 10px; position: relative; padding-top: 10px; margin-top: 8px; min-height: 36px; border-top: 1px solid #d2ccba90; color: var(--control-color); font-size: 10px; line-height: 1.3; }
.motion-controls .motion-phase { flex: 1; font-weight: 500; }
.motion-progress { position: absolute; top: -1px; left: 0; right: 0; height: 1px; transform: scaleX(var(--progress, 0)); transform-origin: left; background: #b8862c; pointer-events: none; }
.motion-replay { min-width: 32px; min-height: 32px; display: inline-flex; align-items: center; justify-content: center; gap: 5px; padding: 4px; color: inherit; border-radius: 3px; transition: color .2s, background .2s; }
.motion-replay svg { width: 12px; height: 12px; transition: transform .6s var(--motion-ease); }
.motion-replay:hover { color: #8a6a1f; background: #e0a63e12; }
.motion-replay:hover svg { transform: rotate(-45deg); }
.motion-toggle { position: fixed; z-index: 60; right: 18px; bottom: 18px; height: 36px; min-width: 36px; padding: 8px 11px; display: flex; align-items: center; gap: 7px; border: 1px solid #d2ccba; background: #f9f7eef5; color: #3d4c63; box-shadow: 0 3px 14px #0e1d3310; border-radius: 4px; font: 500 10px Inter, sans-serif; }
.motion-toggle svg { width: 12px; height: 12px; }
.motion-toggle:hover { border-color: #b8862c; }
[data-signature-demo], [data-meeting-demo] { perspective: 1400px; }
.signature-panel { position: relative; background: linear-gradient(135deg, #ffffff07, #ffffff01); box-shadow: 0 25px 50px -25px #020b1b99; transform-style: preserve-3d; }
.signature-panel .demo-tilt { max-width: none; }
[data-signature-demo] > .motion-controls, [data-meeting-demo] > .motion-controls { --control-color: #c9d4e5; border-color: #ffffff25; margin: 12px 0 18px; }
#sig-thinking { display: inline-flex; position: absolute; margin-top: 10px; }
#sig-reply { position: relative; }
#sig-reply .demo-word { display: inline; }
[data-chapter-demo] { perspective: 1200px; }
[data-chapter-demo] .demo-tilt { max-width: 440px; }
[data-chapter-demo] .motion-controls { max-width: 440px; margin: 14px 0 12px; }
.vote-tokens { display: flex; gap: 6px; margin: 14px 0 0; }
.vote-token { width: 23px; height: 23px; display: grid; place-items: center; font-size: 11px; background: #e9efdf; color: #44663a; border-radius: 50%; box-shadow: 0 2px 0 #44663a20; }
.vote-token:last-child { background: #f6f1e4; color: #8a6a1f; }
.meeting-versions { display: flex; gap: 7px; margin-top: 22px; }
.meeting-versions span { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 12px 10px; border: 1px solid #ffffff25; border-top: 2px solid #e0a63e; background: #152741; font-size: 9px; font-weight: 600; box-shadow: 0 8px 18px #020b1b22; }
.meeting-versions i { display: block; width: 80%; height: 2px; background: #ffffff25; }
.meeting-versions i:last-child { width: 50%; }
.feat-bar { transform-origin: left; }
.stat-line { transform-origin: left; transition: transform 1s var(--motion-ease); }
.js .view-watch:not(.in-view) .stat-line { transform: scaleX(0); }
.btn { position: relative; isolation: isolate; overflow: hidden; }
.btn::after { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 20%, #ffffff22 48%, transparent 75%); transform: translateX(-120%); pointer-events: none; }
@media (hover: hover) and (pointer: fine) { .btn:hover::after { transform: translateX(120%); transition: transform .7s var(--motion-ease); } }
@media (min-width: 1024px) and (max-width: 1199px) { [data-demo] { padding-left: 20px; padding-right: 20px; } header > .max-w-container { gap: 20px; } header nav { gap: 22px !important; } }
@media (max-width: 420px) { .feat-card { padding: 22px; } [data-demo="calendar"] .demo-surface > .flex, [data-demo="storage"] .demo-surface > .flex { flex-wrap: wrap; row-gap: 6px; } .motion-toggle { right: 10px; bottom: 10px; } .motion-toggle span { display: none; } }
html.motion-paused *, html.motion-paused *::before, html.motion-paused *::after { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto !important; }
    *, *::before, *::after { animation: none !important; transition-duration: 0s !important; }
    .demo-tilt { transform: none !important; }
    .motion-replay, .motion-toggle { display: none; }
    .btn::after { display: none; }
}
@media print { .motion-controls, .motion-toggle { display: none; } .demo-tilt { transform: none !important; } }
[data-signature-demo] > .demo-tilt, [data-meeting-demo] > .demo-tilt { max-width: none; }
[data-demo="esg"] .demo-object > :last-child { flex-wrap: wrap; gap: 8px; }
@media (max-width: 420px) {
    [data-demo="project"] .demo-object > .flex,
    [data-demo="keys"] .demo-object > .flex,
    [data-demo="keys"] .demo-object .mt-1.flex { flex-wrap: wrap; row-gap: 8px; }
    [data-demo="archive"] .text-gold-600 { overflow-wrap: anywhere; }
    [data-demo="calendar"] .feat-vis { height: 350px; }
}

.feat-vis, [data-signature-demo], [data-meeting-demo], [data-chapter-demo] { scroll-margin-top: 110px; }
