/* Gleiche Bühne, Schriften und helle Karten wie der Suite-Film. */
@font-face { font-family: Hanken; src: url(../product-film/assets/HankenGrotesk-400-latin.woff2); font-weight: 400; font-display: swap; }
@font-face { font-family: Hanken; src: url(../product-film/assets/HankenGrotesk-500-latin.woff2); font-weight: 500; font-display: swap; }
@font-face { font-family: Playfair; src: url(../product-film/assets/PlayfairDisplay-400-latin.woff2); font-weight: 400; font-display: swap; }
* { box-sizing: border-box; margin: 0; padding: 0; }
body { background: #031a38; color: #00224f; font: 400 24px/1.5 Hanken, sans-serif; }
main { min-height: 100dvh; display: grid; place-items: center; }
.frame { position: relative; width: min(100vw, 64.2857dvh); aspect-ratio: 9/14; overflow: hidden; isolation: isolate; }
.atmosphere { position: absolute; inset: 0; background: radial-gradient(ellipse at 75% 25%, #1b4f8d88, transparent 55%), radial-gradient(ellipse at 20% 65%, #59769466, transparent 45%), linear-gradient(135deg, #082a4d, #03132c 74%); }
.film-world { position: absolute; top: 47%; left: 50%; width: 640px; height: 996px; transform: translate(-50%, -50%) scale(var(--fit, 1)); perspective: 1500px; }
.chat-window { position: absolute; top: 72px; left: 44px; width: 552px; height: 812px; padding: 0 27px; border: 1px solid #d5dce6; border-radius: 15px; background: #f9fafc; color: #202b3b; box-shadow: 0 45px 80px #0007; transform: perspective(1800px) rotateY(-4deg) rotateZ(-.6deg); overflow: hidden; }
.chat-header { height: 76px; display: flex; align-items: center; gap: 16px; border-bottom: 1px solid #dde2e9; font-size: 26px; font-weight: 500; }
.sidebar-icon { width: 21px; height: 18px; border: 1.5px solid #7a8492; border-radius: 3px; position: relative; }
.sidebar-icon::after { content: ''; position: absolute; top: 0; bottom: 0; left: 6px; border-left: 1px solid #7a8492; }
.chevron { display: inline-block; width: 8px; height: 8px; border-bottom: 1.5px solid #7a8492; border-right: 1.5px solid #7a8492; transform: translateY(-4px) rotate(45deg); margin-left: 3px; }
.chat-menu { margin-left: auto; font-size: 28px; letter-spacing: 2px; }
.chat-body { padding-top: 24px; }
.chat-welcome { position: absolute; top: 280px; left: 0; right: 0; text-align: center; font-size: 30px; }
.chat-question { margin-left: 38px; padding: 17px 20px; border-radius: 20px 20px 4px 20px; background: #e9edf3; font-size: 23px; line-height: 1.45; }
.chat-response { position: relative; padding-top: 19px; font-size: 23px; line-height: 1.48; }
.assistant-mark { width: 29px; height: 29px; margin-bottom: 11px; color: #00224f; }
.assistant-mark svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.5; }
.chat-thinking { position: absolute; top: 20px; left: 42px; font-size: 20px; color: #6b7685; }
.answer-copy p { margin-bottom: 13px; }
.answer-copy p:empty { display: none; }
.answer-copy strong { font-weight: 500; color: #00224f; background: #e6edf8; padding: 0 3px; border-radius: 4px; }
.answer-copy strong:empty { padding: 0; }
.chat-sources { display: flex; align-items: center; gap: 10px; margin-top: 17px; padding: 10px 13px; width: fit-content; border: 1px solid #d9e0e9; border-radius: 10px; font-size: 17px; line-height: 1.3; }
.source-globe { font-size: 28px; color: #6b7d96; }
.chat-sources small { display: block; font-size: 14px; color: #728096; }
.source-arrow { font-style: normal; margin-left: 12px; }
.chat-composer { position: absolute; bottom: 24px; left: 24px; right: 24px; min-height: 108px; padding: 17px 19px 12px; border: 1px solid #d8dfe8; border-radius: 22px; background: #f0f3f7; box-shadow: 0 4px 16px #00224f05; }
#composer-text { font-size: 23px; line-height: 1.45; color: #8490a0; min-height: 33px; }
#composer-text.is-typing { color: #202b3b; }
#composer-text.is-typing::after { content: ''; display: inline-block; width: 1px; height: 22px; margin-left: 2px; background: currentColor; vertical-align: -3px; }
.composer-tools { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; font-size: 26px; color: #63748b; }
.send-arrow { display: grid; place-items: center; width: 34px; height: 34px; background: #00224f; color: #fff; border-radius: 50%; font-size: 24px; }
.watermark { position: absolute; right: 4.2%; bottom: 5.5%; z-index: 4; pointer-events: none; font-size: clamp(9px, calc(12px * var(--fit, 1)), 13px); letter-spacing: .14em; color: rgba(233,240,250,.7); opacity: .7; }
[hidden] { display: none !important; }
.film-controls { display: flex; gap: 15px; align-items: center; position: absolute; bottom: 3%; left: 5%; right: 5%; }
button { width: 36px; height: 36px; border: 1px solid #98acc7; background: transparent; color: #e9f0fa; display: grid; place-items: center; cursor: pointer; }
button span { width: 9px; height: 12px; border-left: 2px solid; border-right: 2px solid; }
button[aria-pressed="true"] span { width: 0; height: 0; border: 6px solid transparent; border-left: 9px solid currentColor; margin-left: 7px; }
input { flex: 1; min-width: 0; height: 24px; appearance: none; background: transparent; cursor: pointer; }
input::-webkit-slider-runnable-track { height: 2px; background: linear-gradient(to right, #becfe5 var(--progress, 0%), #ffffff28 var(--progress, 0%)); }
input::-moz-range-track { height: 2px; background: #ffffff28; }
input::-moz-range-progress { background: #becfe5; height: 2px; }
input::-webkit-slider-thumb { appearance: none; width: 6px; height: 6px; border-radius: 50%; background: #becfe5; margin-top: -2px; }
input::-moz-range-thumb { width: 6px; height: 6px; border: none; background: #becfe5; }
:focus-visible { outline: 2px solid #e9f0fa; outline-offset: 4px; }
/* Embedded on the visibility page: the chat itself, without the film stage. */
body.chat-only { background: transparent; }
.chat-only .frame { width: min(100vw, 67.9803dvh); aspect-ratio: 552 / 812; cursor: pointer; border-radius: 15px; }
.chat-only .atmosphere, .chat-only .film-controls { display: none; }
.chat-only .film-world { top: 0; left: 0; width: 552px; height: 812px; transform: scale(var(--fit, 1)); transform-origin: top left; perspective: none; }
.chat-only .chat-window { top: 0; left: 0; transform: none; box-shadow: none; }
.chat-only .watermark { color: #607087; bottom: 1.4%; right: 4%; }
.chat-only .frame:focus-visible { outline: 2px solid #00224f; outline-offset: -3px; }

/* Homepage comparison: upright chat window. */
.frontal .chat-window { transform: none; }
