/* Homepage only. Existing public and Business pages retain their own styles. */
@media screen {
    .home-hero { position: relative; padding: 60px 0 44px; background: radial-gradient(ellipse at 80% 48%, #e6eeff, transparent 56%), linear-gradient(180deg, #fff, #f2f6ff); }
    .home-route { display: none; position: absolute; top: 0; left: 0; width: 100%; z-index: 1; overflow: visible; pointer-events: none; }
    .home-hero.is-motion-ready .home-route { display: block; }
    .home-route path { stroke: #bed1f5; stroke-width: 1.5; stroke-dasharray: 3 8; stroke-linecap: round; }
    .home-hero h1 { color: #172d49; }
    .home-hero .hero-split { gap: 48px; margin-top: 28px; }
    .home-hero .lead { color: #526174; }
    .home-hero .lead strong { color: #233b59; }
    .home-hero .hero-split-media { min-width: 0; }
    .home-video-link { display: flex; align-items: center; justify-content: center; gap: 7px; margin: 14px auto 0; padding: 7px 10px; border: 0; background: transparent; color: #4f6484; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; border-radius: 7px; }
    .home-video-link:hover { background: #e8f0ff; color: #0b5fff; }
    .home-video-link:focus-visible { outline: 2px solid #0b5fff; outline-offset: 3px; }

    .home-art { position: relative; height: 376px; border: 1px solid #dbe5f6; border-radius: 24px; background: rgba(255,255,255,.7); box-shadow: 0 18px 50px -30px rgba(34,70,132,.3); }
    .home-art-grid { position: absolute; inset: 0; border-radius: inherit; background-image: radial-gradient(#c5d6f1 1px, transparent 1px); background-size: 18px 18px; opacity: .4; }
    .home-art-orbit { position: absolute; border: 1px solid #dce7fa; border-radius: 50%; pointer-events: none; }
    .home-art-orbit-one { width: 286px; height: 286px; top: 22px; left: calc(50% - 143px); }
    .home-art-orbit-two { width: 330px; height: 330px; top: 0; left: calc(50% - 165px); border-style: dashed; }
    .home-art-orbit-one::after { content: ''; position: absolute; width: 8px; height: 8px; background: #8db2fb; border: 3px solid #fff; box-sizing: content-box; border-radius: 50%; top: 34px; left: 32px; box-shadow: 0 0 0 4px #eaf1ff; }
    .home-art-orbit-one { animation: home-orbit 28s linear infinite paused; }
    .home-art-orbit-two { animation: home-orbit 42s linear reverse infinite paused; }
    .home-art.is-scene-visible .home-art-orbit { animation-play-state: running; }
    .home-flow-label { position: absolute; z-index: 2; display: flex; align-items: center; gap: 7px; padding: 9px 12px; border: 1px solid #dfe8f7; border-radius: 10px; background: #fff; box-shadow: 0 6px 18px rgba(30,59,104,.06); color: #44607f; font-size: 12px; font-weight: 600; }
    .home-flow-label-template { top: 67px; left: 15px; }
    .home-flow-label-template svg { color: #0b5fff; }
    .home-flow-label-sign { right: 15px; bottom: 94px; color: #22745b; }
    .home-flow-label-sign svg { color: #239670; }
    .home-art-steps { position: absolute; bottom: 22px; left: 18px; right: 18px; display: flex; justify-content: center; align-items: center; gap: 8px; color: #526581; font-size: 11px; font-weight: 600; }
    .home-art-steps span { display: flex; align-items: center; gap: 5px; white-space: nowrap; }
    .home-art-steps b { width: 20px; height: 20px; display: inline-flex; align-items: center; justify-content: center; background: #eaf1ff; color: #0b5fff; border-radius: 50%; font-size: 10px; }
    .home-art-steps > i { width: 18px; height: 1px; background: #ccdcf5; }
    .home-doc-dock { position: absolute; width: 204px; height: 260px; top: 50%; left: 50%; margin: -130px 0 0 -102px; pointer-events: none; }
    .home-art > .home-doc-dock { top: 44%; }

    /* One decorative document follows real content; it never captures input. */
    .home-paper { --home-fill: .14; --home-ink: 0; --home-signed: 0; position: relative; width: 204px; height: 260px; padding: 18px 19px; text-align: left; background: #fff; border: 1px solid #d8e2f3; border-radius: 10px; box-shadow: 0 16px 32px -14px rgba(29,61,118,.3), 0 3px 7px rgba(29,61,118,.04); pointer-events: none; transform: rotate(-4deg); transform-origin: center; }
    .home-hero.is-motion-ready .home-paper { position: fixed; top: 0; left: 0; z-index: 30; will-change: transform; }
    .home-paper-top { display: flex; align-items: center; justify-content: space-between; padding-bottom: 14px; border-bottom: 1px solid #edf1f8; }
    .home-paper-top > span { font-size: 11px; font-weight: 800; color: #0b5fff; }
    .home-paper-top > span > span { color: #293b56; }
    .home-paper-top > i { width: 7px; height: 7px; background: #c7d8f8; border-radius: 50%; }
    .home-paper::before { content: ''; position: absolute; right: -1px; top: -1px; width: 17px; height: 17px; border-radius: 0 9px 0 5px; background: linear-gradient(45deg, #eaf0fc 49%, #f8faff 51%); box-shadow: -1px 1px 0 #dce5f4; }
    .home-paper-title { margin: 16px 0 7px; color: #213653; font-size: 12px; font-weight: 800; letter-spacing: .1em; }
    .home-paper-rule { width: 41px; height: 3px; border-radius: 2px; background: #0b5fff; }
    .home-paper-lines { display: grid; gap: 5px; margin: 13px 0; }
    .home-paper-lines i { height: 4px; border-radius: 2px; background: #e9edf4; }
    .home-paper-lines i:last-child { width: 72%; }
    .home-paper-field { position: relative; height: 15px; padding: 5px 7px; background: #f1f5fd; border: 1px solid #e2eafb; border-radius: 3px; margin-bottom: 5px; }
    .home-paper-field span { display: block; height: 3px; background: #6a9cf6; border-radius: 2px; transform: scaleX(var(--home-fill)); transform-origin: left; }
    .home-paper-field-short { width: 78%; }
    .home-paper-lines-bottom { margin: 9px 0 4px; }
    .home-paper-lines-bottom i { height: 3px; }
    .home-paper-signature { width: 117px; height: 40px; position: absolute; left: 17px; bottom: 19px; }
    .home-paper-signature path { stroke: #0b5fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--home-ink)); }
    .home-paper-seal { position: absolute; right: 18px; bottom: 31px; width: 29px; height: 29px; border: 1px solid #b8e0cf; border-radius: 50%; background: #eafaF2; opacity: var(--home-signed); transform: scale(calc(.75 + var(--home-signed) * .25)); }
    .home-paper-seal svg { width: 27px; height: 27px; stroke: #258566; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
    .home-paper-state { position: absolute; right: 17px; bottom: 11px; display: flex; align-items: center; gap: 4px; font-size: 8px; color: #258566; font-weight: 600; opacity: var(--home-signed); }
    .home-paper-state i { width: 4px; height: 4px; border-radius: 50%; background: #258566; }

    .home-how { padding: 70px 0 80px; scroll-margin-top: 68px; background: #fff; }
    .home-how h2 { color: #172d49; }
    .home-steps { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; margin-top: 38px; }
    .home-step { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 48px; align-items: center; min-width: 0; max-width: none; padding: 28px 44px; text-align: left; background: #f8faff; border: 1px solid #e2eafa; border-radius: 18px; }
    .home-step-copy { max-width: 500px; }
    .home-step .step-num { position: static; transform: none; width: 34px; height: 34px; line-height: 34px; text-align: center; margin-bottom: 18px; background: #e7efff; color: #0b5fff; font-size: 14px; }
    .home-step h3 { font-size: 25px; line-height: 1.3; color: #213b5d; margin-bottom: 14px; }
    .home-step p { font-size: 15px; line-height: 1.75; color: #5c6d83; }
    .home-step { transition: border-color 220ms ease, background-color 220ms ease; }
    .home-step .step-num { transition: background-color 220ms ease, color 220ms ease; }
    .home-step.is-current { border-color: #b6cdfb; background: #f5f8ff; }
    .home-step.is-current .step-num { background: #0b5fff; color: #fff; }
    .home-step-art { position: relative; z-index: 2; height: 252px; min-width: 0; border-radius: 12px; background: radial-gradient(ellipse, #e8f0ff, transparent 72%); }
    .home-step-art .home-doc-dock { width: 172px; height: 219px; margin: -109.5px 0 0 -86px; }
    .home-step-art .home-doc-dock::after { content: ''; display: block; width: 100%; height: 100%; border: 1px solid #e1e8f5; border-radius: 8px; background: linear-gradient(#cadaf6, #cadaf6) 20px 24px / 50px 5px no-repeat, repeating-linear-gradient(to bottom, #edf1f8 0 3px, transparent 3px 13px) 20px 49px / calc(100% - 40px) 108px no-repeat, #fff; box-shadow: 0 8px 18px rgba(36,70,128,.04); }
    .home-how.has-traveller .home-step .home-doc-dock::after { opacity: var(--home-dock-opacity, 1); }
    .home-scene-symbol { position: absolute; right: 24px; bottom: 26px; display: flex; justify-content: center; align-items: center; width: 46px; height: 46px; background: #fff; border: 1px solid #dbe7fb; color: #0b5fff; border-radius: 12px; box-shadow: 0 6px 14px rgba(36,70,128,.08); }
    .home-stack-sheet { position: absolute; width: 152px; height: 194px; left: calc(50% - 76px); top: calc(50% - 97px); border: 1px solid #d7e2f7; border-radius: 7px; background: #eef4ff; }
    .home-stack-sheet-back { transform: translateX(-23px) rotate(-10deg); }
    .home-stack-sheet-front { transform: translateX(23px) rotate(10deg); }
    .home-pick-art.is-scene-visible .home-stack-sheet-back { animation: home-sheet-left 900ms ease both; }
    .home-pick-art.is-scene-visible .home-stack-sheet-front { animation: home-sheet-right 900ms ease both; }
    .home-edit-fields { position: absolute; left: 12px; top: 72px; z-index: 1; width: 108px; padding: 12px; background: #fff; border: 1px solid #d7e4fa; border-radius: 8px; box-shadow: 0 9px 22px rgba(36,70,128,.08); }
    .home-edit-fields i { display: block; height: 10px; margin: 5px 0; border-radius: 3px; background: linear-gradient(90deg, #90b6fc 60%, #edf3ff 60%); transform-origin: left; }
    .home-edit-art.is-scene-visible .home-edit-fields i { animation: home-field-write 700ms ease both; }
    .home-edit-art.is-scene-visible .home-edit-fields i:nth-child(2) { animation-delay: 150ms; }
    .home-edit-art.is-scene-visible .home-edit-fields i:nth-child(3) { animation-delay: 300ms; }
    .home-sign-ring { position: absolute; width: 232px; height: 232px; left: calc(50% - 116px); top: 10px; border: 1px dashed #b9dccd; border-radius: 50%; background: #eef9f4; }
    .home-sign-art .home-scene-symbol { color: #258566; border-color: #c2e3d4; }
    .home-sign-art.is-scene-visible .home-scene-symbol { animation: home-confirm 600ms ease both; }
    .home-static-signature { position: absolute; width: 104px; height: 35px; left: calc(50% - 64px); bottom: 32px; stroke: #0b5fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
    .home-static-signature path { stroke-dasharray: 1; }
    .home-sign-art.is-scene-visible .home-static-signature path { animation: home-static-ink 900ms ease both; }
    .home-how.has-traveller .home-step .home-static-signature { opacity: var(--home-dock-opacity, 1); }
    .home-export-chip { position: absolute; left: 0; bottom: 29px; padding: 7px 8px; color: #526985; font-size: 10px; font-weight: 700; background: #fff; border: 1px solid #dce7f6; border-radius: 6px; }
    .home-export-chip span { margin: 0 5px; color: #a9b9ce; }
    .home-step.is-complete .home-sign-ring::after { content: ''; position: absolute; inset: 0; border: 1px solid #92cdb4; border-radius: inherit; opacity: 0; animation: home-ring 1.1s ease-out; }

    /* The document finishes above. Each following section has its own scene. */
    .home-lower-scene { --home-progress: .5; position: relative; isolation: isolate; }
    .home-lower-scene > .container { position: relative; z-index: 1; }
    .home-tools::before, .home-catalog::before, .home-pricing::before { content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: radial-gradient(ellipse 350px 220px at 85% 20%, rgba(11,95,255,.055), transparent 75%); transform: translateY(calc((var(--home-progress) - .5) * -50px)); }
    .home-catalog::before { background: radial-gradient(ellipse 460px 260px at 16% 45%, rgba(11,95,255,.045), transparent 75%); }
    .home-pricing::before { background: radial-gradient(ellipse 460px 260px at 75% 50%, rgba(11,95,255,.065), transparent 75%); }
    .home-tools .feature-card, .home-catalog .card, .home-pricing .price-card { --home-delay: 0ms; }
    .home-tools .feature-card:nth-child(3n+2), .home-catalog .card:nth-child(3n+2), .home-pricing .price-card:nth-child(2) { --home-delay: 90ms; }
    .home-tools .feature-card:nth-child(3n), .home-catalog .card:nth-child(3n), .home-pricing .price-card:nth-child(3) { --home-delay: 180ms; }
    /* Large, scroll-driven product scenes keep the story going after signing. */
    .home-how-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 14px; color: #466184; font-size: 13px; font-weight: 600; text-decoration: none; }
    .home-how-link:hover { color: #0b5fff; }
    .home-how-link span { transition: transform 180ms; }
    .home-how-link:hover span { transform: translateY(3px); }
    .home-hero .hero-cta { gap: 12px; }
    .home-hero .hero-cta .btn { padding-left: 20px; padding-right: 20px; font-size: 15px; }
    .home-flow-label-own { left: 12px; bottom: 92px; color: #0b5fff; }
    .home-tool-chapters { display: grid; gap: 64px; margin-top: 50px; }
    .home-tool-chapter { --home-chapter-progress: 1; --home-write: 1; --home-delivered: 1; display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.1fr); gap: 52px; align-items: center; }
    .home-tool-details { display: grid; gap: 26px; min-width: 0; }
    .home-tools .feature-card { display: grid; grid-template-columns: 44px minmax(0, 1fr); align-content: start; gap: 8px 16px; padding: 0; border: 0; background: transparent; box-shadow: none; transform: none; }
    .home-tools .feature-card:hover { background: transparent; box-shadow: none; transform: none; }
    .home-tools .feature-card::after, .home-tools .feature-icon::after { display: none; }
    .home-tools .feature-icon { grid-column: 1; grid-row: 1 / 3; width: 44px; height: 44px; border-radius: 12px; margin: 0; }
    .home-tools .feature-icon svg { width: 24px; height: 24px; }
    .home-tools .feature-card h3 { grid-column: 2; margin: 3px 0 0; color: #203b5d; font-size: 22px; line-height: 1.3; }
    .home-tools .feature-card p { grid-column: 2; color: #5b6b80; font-size: 14px; line-height: 1.8; margin: 0; }
    .home-tools .feature-pro { position: static; grid-column: 2; place-self: start; padding: 2px 7px; margin-top: 3px; }
    .home-send-chapter { grid-template-columns: minmax(0, 1.1fr) minmax(0, .95fr); }
    .home-send-chapter .home-tool-details { grid-column: 2; grid-row: 1; }
    .home-send-chapter .home-tool-visual { grid-column: 1; grid-row: 1; }
    .home-tool-visual { position: relative; height: 420px; min-width: 0; border-radius: 26px; overflow: hidden; isolation: isolate; background: #edf3ff; border: 1px solid #dee8f8; pointer-events: none; }
    .home-editor-visual { background: radial-gradient(ellipse at 80% 20%, #fff, transparent 65%), #eaf1ff; }
    .home-visual-orbit { position: absolute; width: 390px; height: 390px; border: 1px dashed #c9d9f5; border-radius: 50%; top: 30px; left: 15%; transform: rotate(calc(var(--home-chapter-progress) * 45deg)); }
    .home-editor-window { position: absolute; width: 73%; top: 38px; left: 12%; border: 1px solid #d9e3f4; border-radius: 12px; background: #fff; box-shadow: 0 24px 45px -22px #5374a84d; overflow: hidden; transform: perspective(800px) translateY(calc((1 - var(--home-chapter-progress)) * 30px)) rotateY(calc((1 - var(--home-chapter-progress)) * -12deg)); }
    .home-window-top { display: flex; align-items: center; justify-content: space-between; height: 38px; padding: 0 14px; background: #fafcff; border-bottom: 1px solid #e9edf7; color: #64748b; font-size: 10px; }
    .home-window-top > span { display: flex; gap: 4px; }
    .home-window-top i { width: 5px; height: 5px; background: #c6d4e8; border-radius: 50%; }
    .home-window-top strong { font-weight: 600; }
    .home-window-top b { letter-spacing: 2px; }
    .home-editor-toolbar { height: 34px; display: flex; align-items: center; gap: 19px; padding: 0 19px; color: #61728c; font-size: 12px; border-bottom: 1px solid #eef2fa; }
    .home-editor-toolbar small { border-left: 1px solid #dbe3f1; padding-left: 17px; font-size: 9px; }
    .home-editor-page { padding: 23px 27px 28px; }
    .home-editor-page > small { display: block; color: #7c92b1; font-size: 8px; letter-spacing: .15em; margin-bottom: 12px; }
    .home-editor-page > strong { display: block; color: #233c5b; font-size: 23px; line-height: 1.3; letter-spacing: -.02em; }
    .home-writing-lines { display: grid; gap: 7px; margin-top: 19px; }
    .home-writing-lines i { display: block; height: 4px; border-radius: 3px; background: #e5ebf5; }
    .home-writing-lines i:nth-child(2) { width: 93%; }
    .home-writing-lines i:last-child { width: 65%; }
    .home-writing-short { margin-top: 12px; }
    .home-writing-short i { height: 3px; }
    .home-editor-selection { position: relative; height: 18px; margin-top: 13px; background: #e8f0ff; border-radius: 3px; transform: scaleX(calc(.18 + var(--home-write) * .82)); transform-origin: left; }
    .home-editor-selection span { position: absolute; height: 3px; background: #72a0fa; left: 7px; right: 12px; top: 8px; }
    .home-editor-selection > i { position: absolute; right: -2px; top: 1px; width: 2px; height: 16px; background: #0b5fff; }
    .home-editor-cursor { position: absolute; top: 250px; left: 56%; display: flex; align-items: flex-start; color: #fff; transform: translate(calc((1 - var(--home-write)) * -90px), calc((1 - var(--home-write)) * -28px)); }
    .home-editor-cursor span { padding: 7px 10px; margin-top: 22px; margin-left: -6px; border-radius: 5px; background: #0b5fff; font-size: 9px; white-space: nowrap; box-shadow: 0 5px 12px #0b5fff21; }
    .home-visual-pill { position: absolute; display: inline-flex; align-items: center; gap: 7px; border-radius: 100px; background: #fff; border: 1px solid #e1e9f5; padding: 9px 13px; color: #476180; font-size: 10px; font-weight: 600; box-shadow: 0 6px 20px #23476e0b; }
    .home-visual-pill svg { color: #289376; }
    .home-editor-pill { left: 30px; bottom: 25px; transform: translateY(calc((1 - var(--home-chapter-progress)) * 15px)); }

    .home-send-visual { background: radial-gradient(ellipse at 90% 20%, #285fa1, transparent 80%), #17385f; border-color: #204675; }
    .home-send-orbit { position: absolute; width: 360px; height: 360px; top: 30px; left: 12%; border: 1px solid #ffffff15; border-radius: 50%; box-shadow: 0 0 0 36px #ffffff03, 0 0 0 72px #ffffff03; transform: translateX(calc((1 - var(--home-chapter-progress)) * -25px)); }
    .home-send-path, .home-export-paths { position: absolute; width: 100%; height: 100%; inset: 0; }
    .home-send-path path { stroke: #83b4fa; stroke-width: 2; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--home-write)); }
    .home-send-note { position: absolute; left: 7%; top: 83px; width: 36%; background: #fffffffa; border: 1px solid #ffffffb3; border-radius: 13px; padding: 17px; color: #294b74; box-shadow: 0 14px 30px #001d4533; transform: rotate(calc(-5deg + var(--home-chapter-progress) * 5deg)) translateY(calc((1 - var(--home-chapter-progress)) * 18px)); }
    .home-send-avatar { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; background: #e9f1ff; color: #0b5fff; border-radius: 10px; margin-bottom: 12px; }
    .home-send-note strong { display: block; font-size: 12px; margin-bottom: 5px; }
    .home-send-note > span:last-of-type { display: block; font-size: 9px; color: #7b8ba1; }
    .home-send-note > div { display: flex; gap: 4px; margin-top: 15px; }
    .home-send-note i { width: 21%; height: 3px; background: #c9dafa; border-radius: 2px; }
    .home-send-link { position: absolute; left: 42%; top: 69%; display: grid; place-items: center; width: 29px; height: 29px; background: #0b5fff; color: #fff; border: 3px solid #476fa4; border-radius: 50%; transform: scale(calc(.6 + var(--home-write) * .4)); opacity: var(--home-write); }
    .home-sign-phone { position: absolute; top: 40px; right: 9%; width: 36%; max-width: 178px; height: 305px; padding: 35px 16px 17px; background: #fff; border: 5px solid #d9e7fc; border-radius: 27px; box-shadow: 0 20px 34px #00173866; transform: translateY(calc((1 - var(--home-chapter-progress)) * 38px)) rotate(calc((1 - var(--home-chapter-progress)) * 7deg)); }
    .home-phone-camera { position: absolute; top: 10px; width: 37px; height: 5px; background: #bccde3; left: calc(50% - 18.5px); border-radius: 4px; }
    .home-phone-brand { color: #0b5fff; font-size: 12px; font-weight: 800; margin-bottom: 20px; }
    .home-phone-brand span { color: #203d61; }
    .home-sign-phone > strong { display: block; font-size: 11px; color: #29466b; margin-bottom: 5px; }
    .home-sign-phone > small { display: block; font-size: 8px; color: #8b9ab0; }
    .home-phone-lines { display: grid; gap: 6px; margin-top: 18px; }
    .home-phone-lines i { height: 4px; border-radius: 2px; background: #e7edf6; }
    .home-phone-lines i:last-child { width: 70%; }
    .home-phone-signature { height: 52px; padding: 3px 0; border-bottom: 1px dashed #dce6f3; margin-top: 12px; }
    .home-phone-signature svg { width: 100%; height: 100%; }
    .home-phone-signature path { stroke: #0b5fff; stroke-width: 2; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--home-delivered)); }
    .home-phone-button { display: flex; align-items: center; justify-content: center; gap: 5px; margin-top: 16px; padding: 8px 5px; background: #e8f8ef; border: 1px solid #ceebdb; border-radius: 7px; color: #248563; font-size: 9px; font-weight: 600; opacity: calc(.25 + var(--home-delivered) * .75); }
    .home-send-pill { bottom: 23px; left: 30px; background: #ffffff0e; color: #e7f0ff; border-color: #ffffff26; box-shadow: none; }
    .home-send-pill svg { color: #91d3bc; }

    .home-export-visual { background: radial-gradient(ellipse at 50% 40%, #fff, transparent 80%), #eaf2ff; }
    .home-export-rings { position: absolute; width: 250px; height: 250px; left: calc(50% - 125px); top: 55px; border: 1px solid #d5e2f8; border-radius: 50%; box-shadow: 0 0 0 35px #e2ebfb66, 0 0 0 70px #e2ebfb33; transform: scale(calc(.85 + var(--home-chapter-progress) * .15)); }
    .home-export-hub { position: absolute; z-index: 2; top: 149px; left: calc(50% - 59px); width: 118px; height: 64px; display: flex; align-items: center; justify-content: center; background: #0b5fff; color: #fff; border: 1px solid #518dff; border-radius: 17px; font-size: 21px; font-weight: 800; box-shadow: 0 12px 26px #0b5fff26; transform: scale(calc(.9 + var(--home-chapter-progress) * .1)); }
    .home-export-hub span { color: #c7daff; }
    .home-export-paths path { stroke: #7ea9f8; stroke-width: 1.5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--home-write)); }
    .home-format { position: absolute; top: 33px; width: 77px; height: 78px; border: 1px solid #d9e5f8; border-radius: 10px; background: #fff; padding: 14px 11px; box-shadow: 0 8px 17px #3758810a; transform: translateY(calc((1 - var(--home-write)) * 34px)) rotate(calc(var(--home-tilt, 0deg) * (1 - var(--home-write)))); }
    .home-format span { display: block; font-size: 10px; font-weight: 700; color: #3c69a3; white-space: nowrap; margin-bottom: 11px; }
    .home-format i { display: block; height: 3px; background: #e3ebf8; border-radius: 2px; margin-bottom: 4px; }
    .home-format i:last-child { width: 70%; }
    .home-format-pdf { left: calc(19% - 38.5px); --home-tilt: -14deg; }
    .home-format-pdf span { color: #c36262; }
    .home-format-word { left: calc(50% - 38.5px); }
    .home-format-docs { left: calc(81% - 44px); width: 88px; --home-tilt: 14deg; }
    .home-library { position: absolute; width: 230px; height: 84px; left: calc(50% - 115px); top: 263px; }
    .home-library-sheet { position: absolute; inset: 0 16px 10px; border: 1px solid #d7e2f5; background: #edf4ff; border-radius: 10px; transform: translate(calc(var(--home-chapter-progress) * -12px), -12px) rotate(calc(var(--home-chapter-progress) * -6deg)); }
    .home-library-sheet:nth-child(2) { transform: translate(calc(var(--home-chapter-progress) * 12px), -7px) rotate(calc(var(--home-chapter-progress) * 6deg)); }
    .home-library-front { position: absolute; inset: 0; display: flex; align-items: center; gap: 11px; padding: 18px; background: #fff; border: 1px solid #cfdff5; border-radius: 12px; box-shadow: 0 10px 18px #315e9712; color: #3c669d; }
    .home-library-front span { font-size: 12px; font-weight: 600; }
    .home-library-front b { margin-left: auto; color: #96acd0; font-size: 20px; font-weight: 400; }
    .home-export-pill { bottom: 17px; left: 50%; transform: translateX(-50%); white-space: nowrap; }

    .home-trust { --home-verified: 1; overflow: hidden; padding: 76px 0; background: linear-gradient(145deg, #f2f7ff, #fbfdff); }
    .home-trust .verify-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 46px; align-items: center; }
    .home-trust-copy { min-width: 0; }
    .home-trust-label { display: inline-flex; align-items: center; gap: 8px; background: #e5eefc; border: 1px solid #d5e3f8; color: #365d92; padding: 7px 12px; border-radius: 100px; font-size: 11px; font-weight: 600; margin-bottom: 20px; }
    .home-trust-copy h2 { margin: 0 0 22px; font-size: 42px; line-height: 1.25; color: #203b5d; letter-spacing: -.02em; }
    .home-trust-copy h2 span { color: #27846c; }
    .home-trust-copy > p { max-width: 410px; font-size: 17px; line-height: 1.75; color: #5b6b80; margin: 0 0 18px; }
    .home-trust-copy > p strong { color: #344e6c; }
    .home-trust-assurance { display: flex; align-items: center; gap: 9px; color: #52738e; font-size: 13px; margin: 23px 0 28px; }
    .home-trust-assurance svg { color: #25856f; flex-shrink: 0; }
    .home-trust-actions { display: flex; flex-wrap: wrap; gap: 12px; }
    .home-trust-free { display: block; color: #72869d; font-size: 11px; margin-top: 13px; }
    .home-trust-copy .btn { font-size: 14px; padding: 13px 18px; }
    .home-trust::before, .home-trust::after { content: ''; position: absolute; width: min(580px, 85vw); aspect-ratio: 1; border: 1px solid rgba(56,139,201,.13); border-radius: 50%; right: -100px; top: 8%; pointer-events: none; transform: translateY(calc((var(--home-progress) - .5) * -90px)); }
    .home-trust::after { width: min(450px, 65vw); right: -35px; top: 18%; border-style: dashed; transform: translateY(calc((var(--home-progress) - .5) * 65px)); }

    /* A local illustration teaches the hash comparison without uploading a file. */
    .vproof { --proof-accent: #a2dfc8; position: relative; isolation: isolate; width: 100%; min-width: 0; overflow: hidden; padding: 26px; border: 1px solid #365d88; border-radius: 26px; background: radial-gradient(ellipse at 95% 0, #2e5a8a, transparent 70%), #17385f; color: #fff; box-shadow: 0 24px 45px -30px #14396480; }
    .vproof::before { content: ''; position: absolute; z-index: -1; top: 48px; right: -25px; width: 300px; height: 300px; border: 1px solid #ffffff0c; border-radius: 50%; box-shadow: 0 0 0 30px #ffffff03, 0 0 0 60px #ffffff02; pointer-events: none; transform: translateY(calc((var(--home-progress, .5) - .5) * 35px)); }
    .vproof-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 9px; letter-spacing: .08em; text-transform: uppercase; color: #b5cce6; }
    .vproof-heading small { padding: 4px 7px; border: 1px solid #ffffff22; border-radius: 5px; font-size: 9px; letter-spacing: 0; text-transform: none; }
    .vproof-stage { position: relative; display: grid; grid-template-columns: 168px minmax(0, 1fr); align-items: center; gap: 32px; margin: 24px 0; }
    .vproof-paper { position: relative; z-index: 1; height: 212px; overflow: hidden; border: 1px solid #d9e6f7; border-radius: 12px; padding: 17px; background: #fff; box-shadow: 0 14px 30px #071e3b33; color: #284765; transform: rotate(-3deg); transition: transform 500ms cubic-bezier(.2,.7,.2,1); }
    .vproof-paper::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(transparent 70%, #71b1f51c); border-bottom: 1px solid #6eabef66; opacity: 0; transform: translateY(-100%); }
    .vproof-paper-brand { display: flex; align-items: center; font-size: 9px; font-weight: 800; color: #0b5fff; }
    .vproof-paper-brand > span { color: #203b5d; }
    .vproof-paper-brand > b { margin-left: auto; font-size: 7px; color: #8fa2ba; font-weight: 600; }
    .vproof-paper > strong { display: block; font-size: 14px; margin: 20px 0 13px; }
    .vproof-lines { display: grid; gap: 5px; }
    .vproof-lines i { height: 3px; border-radius: 2px; background: #e3ebf6; }
    .vproof-lines i:last-child { width: 76%; }
    .vproof-lines-short { margin-top: 12px; }
    .vproof-field { white-space: nowrap; margin: 12px -5px 0; padding: 7px 5px; border: 1px solid #dfe9f8; border-radius: 5px; background: #f1f6ff; font-size: 10px; transition: background-color 350ms, border-color 350ms, color 350ms; }
    .vproof-signature { position: absolute; left: 17px; bottom: 24px; width: 106px; height: 32px; }
    .vproof-signature path { stroke: #0b5fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; }
    .vproof-paper-stamp { position: absolute; left: 17px; bottom: 11px; font-size: 7px; color: #578a78; }
    .vproof-result { position: relative; z-index: 1; min-width: 0; }
    .vproof-result-icon { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 14px; background: #a2dfc811; border: 1px solid #a2dfc847; border-radius: 50%; color: var(--proof-accent); transition: background-color 350ms, border-color 350ms, color 350ms; }
    .vproof-result-icon svg { width: 30px; height: 30px; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
    .vproof-check { stroke-dasharray: 1; }
    .vproof-cross { opacity: 0; }
    .vproof-result > strong { display: block; min-height: 52px; font-size: 22px; line-height: 1.2; letter-spacing: -.025em; color: var(--proof-accent); transition: color 350ms; }
    .vproof-result > p { min-height: 40px; margin: 9px 0 0; font-size: 12px; line-height: 1.65; color: #bcd0e6; }
    .vproof-connection { position: absolute; z-index: 0; height: 1px; top: 24%; left: 150px; width: 56px; background: #9cc2e233; }
    .vproof-connection i { display: block; height: 100%; background: #a2dfc8; transform: scaleX(var(--home-verified, 1)); transform-origin: left; }
    .vproof-codes { display: grid; grid-template-columns: minmax(0, 1fr) 24px minmax(0, 1fr); gap: 6px; align-items: center; }
    .vproof-codes > div { min-width: 0; padding: 12px 13px; border: 1px solid #ffffff1f; border-radius: 10px; background: #ffffff06; }
    .vproof-codes span:not(.vproof-equals) { display: block; margin-bottom: 5px; font-size: 10px; color: #a9c1dc; }
    .vproof-codes code { color: #a2dfc8; font-family: 'SF Mono', Monaco, monospace; font-size: 13px; white-space: nowrap; }
    .vproof-codes > div:last-child, .vproof-codes > div:last-child code { transition: color 350ms, background-color 350ms, border-color 350ms; }
    .vproof-equals { text-align: center; color: var(--proof-accent); font-size: 24px; }
    .vproof-caption { margin-top: 9px; color: #94aecb; font-size: 9px; text-align: center; }
    .vproof-try { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: 42px; padding: 10px 12px; margin-top: 18px; border: 1px solid #ffffff30; border-radius: 9px; background: #ffffff08; color: #e1edfc; font: inherit; font-size: 12px; font-weight: 600; cursor: pointer; transition: background-color 180ms, border-color 180ms; }
    .vproof-try[hidden] { display: none; }
    .vproof-try:hover { background: #ffffff14; border-color: #ffffff60; }
    .vproof-try:focus-visible { outline: 2px solid #a4c6fa; outline-offset: 4px; }
    .vproof.is-altered { --proof-accent: #ffc6be; }
    .vproof.is-altered .vproof-paper { transform: rotate(0); }
    .vproof.is-altered .vproof-field { background: #fff0ed; border-color: #f0bdb3; color: #a74536; }
    .vproof.is-altered .vproof-result-icon { background: #ffc6be11; border-color: #ffc6be47; }
    .vproof.is-altered .vproof-check { opacity: 0; }
    .vproof.is-altered .vproof-cross { opacity: 1; }
    .vproof.is-altered .vproof-codes > div:last-child { background: #ffc6be08; border-color: #ffc6be50; }
    .vproof.is-altered .vproof-codes > div:last-child code { color: #ffc6be; }
    .vproof.is-scene-visible .vproof-paper::after { animation: vproof-scan 2.2s cubic-bezier(.25,.6,.35,1) .15s; }
    .vproof.is-scene-visible .vproof-signature path { animation: home-static-ink 1.4s ease both; }
    .vproof--compact { padding: 14px 26px; border-radius: 18px; box-shadow: none; }
    .vproof--compact .vproof-stage { grid-template-columns: 130px minmax(0, 1fr); gap: 40px; max-width: 470px; margin: 12px auto; }
    .vproof--compact .vproof-paper { height: 132px; padding: 12px; }
    .vproof--compact .vproof-paper > strong { font-size: 12px; margin: 10px 0 8px; }
    .vproof--compact .vproof-field { font-size: 9px; margin-top: 0; padding: 5px; }
    .vproof--compact .vproof-lines { display: none; }
    .vproof--compact .vproof-signature { left: 12px; bottom: 17px; width: 90px; height: 28px; }
    .vproof--compact .vproof-paper-stamp { left: 12px; bottom: 7px; }
    .vproof--compact .vproof-result-icon { width: 36px; height: 36px; margin-bottom: 10px; }
    .vproof--compact .vproof-result > strong { min-height: 27px; }
    .vproof--compact .vproof-result > p { min-height: 20px; margin-top: 6px; }
    .vproof--compact .vproof-connection { left: 115px; width: 61px; top: 21%; }
    .vproof--compact .vproof-codes { max-width: 470px; margin-inline: auto; }
    .vproof--compact .vproof-codes > div { padding: 6px 12px; }
    .vproof--compact .vproof-try { max-width: 470px; min-height: 36px; padding-block: 8px; margin: 10px auto 0; }

    .home-offer { padding: 40px 0; background: #fff; }
    .home-offer .free-promo-card { position: relative; isolation: isolate; overflow: hidden; gap: 28px; padding: 34px 36px; border: 1px solid #d7e4f7; border-radius: 22px; background: linear-gradient(110deg, #f2f7ff, #fbfdff); box-shadow: 0 12px 32px -28px #274e8070; }
    .home-offer .free-promo-card::before { content: ''; position: absolute; z-index: -1; width: 270px; height: 270px; top: -110px; right: 13%; border: 1px solid #c7d8f34d; border-radius: 50%; box-shadow: 0 0 0 30px #dce8fa33, 0 0 0 60px #e8f0fd40; pointer-events: none; }
    .home-offer .free-promo-left { gap: 22px; min-width: 0; }
    .home-offer .free-promo-icon { position: relative; width: 64px; height: 68px; border-radius: 17px; background: #17385f; border: 1px solid #315b8b; color: #c7dffd; box-shadow: 0 8px 20px -12px #17385f80; }
    .home-offer .free-promo-card h3 { color: #203b5d; font-size: 27px; line-height: 1.25; letter-spacing: -.025em; margin-bottom: 10px; }
    .home-offer .free-promo-card p { color: #60728a; line-height: 1.7; max-width: 480px; }
    .home-offer .free-promo-card p strong { color: #294e7c; }
    .home-offer .free-promo-card > .btn { flex-shrink: 0; padding: 14px 21px; border-radius: 10px; font-size: 14px; box-shadow: 0 7px 18px #0b5fff17; }
    .home-offer .free-promo-icon::after { content: ''; position: absolute; inset: -6px; border: 1px solid #a3bedf; border-radius: 20px; opacity: 0; pointer-events: none; }
    .home-offer .is-scene-visible .free-promo-icon svg { animation: home-gift 1.15s ease; transform-origin: 50% 75%; }
    .home-offer .is-scene-visible .free-promo-icon::after { animation: home-ring 1.3s ease-out .2s; }
    .home-catalog { padding: 78px 0; background: #fff; }
    .home-catalog h2, .home-pricing h2 { color: #203b5d; letter-spacing: -.02em; }
    .home-catalog .section-sub, .home-pricing .section-sub { color: #6a7c92; }
    .home-catalog .grid { gap: 22px; }
    .home-catalog .card { display: flex; flex-direction: column; min-width: 0; min-height: 265px; padding: 25px; border: 1px solid #dfe7f3; border-radius: 18px; background: linear-gradient(145deg, #fbfdff, #fff 55%); box-shadow: 0 5px 20px -14px #274e8026; transition: transform 200ms, border-color 200ms, box-shadow 200ms; }
    .home-catalog .card:hover, .home-catalog .card:focus-visible { border-color: #96b7f7; transform: translateY(-4px); box-shadow: 0 16px 28px -17px #295a9e4d; outline-offset: 4px; }
    .home-catalog .card h3 { color: #233f61; font-size: 17px; line-height: 1.4; padding: 0; margin: 4px 0 10px; }
    .home-catalog .card p { flex: 1; color: #60728a; font-size: 13px; line-height: 1.65; margin: 0; }
    .home-catalog .hot-tag { top: 24px; right: 24px; color: #af7419; background: #fff5df; border: 1px solid #f5e6c5; font-size: 9px; padding: 4px 7px; }
    .home-catalog .card-icon { position: relative; isolation: isolate; flex-shrink: 0; width: 46px; height: 55px; padding-bottom: 12px; margin: 0 0 19px; border-color: #cbdcf7; border-radius: 8px; color: #0b5fff; background: #fff; box-shadow: 0 5px 12px #2456970b; }
    .home-catalog .card-icon::before { content: ''; position: absolute; inset: 1px; z-index: -1; background: #edf3ff; border: 1px solid #d2e1f8; border-radius: 7px; }
    .home-catalog .card-icon::after { content: ''; position: absolute; bottom: 8px; left: 10px; width: 24px; height: 2px; border-radius: 1px; background: #c8daf9; box-shadow: 0 -5px 0 #e1eafa; }
    .home-catalog .card:hover .card-icon { color: #0b5fff; border-color: #a9c5f6; }
    .home-catalog .card.is-scene-visible .card-icon { animation: home-template-open 1.1s cubic-bezier(.2,.7,.2,1) var(--home-delay); }
    .home-catalog .card.is-scene-visible .card-icon::before { animation: home-template-sheet 1.1s ease var(--home-delay); }
    .home-catalog .card-cta { margin-top: 20px; padding-top: 14px; border-top: 1px solid #edf1f7; text-align: left; color: #0b5fff; font-size: 12px; transition: translate 200ms ease; }
    .home-catalog .card:hover .card-cta, .home-catalog .card:focus-visible .card-cta { translate: 3px 0; }
    .home-pricing { padding: 80px 0 72px; background: linear-gradient(180deg, #f4f7fd, #eef3fb); border-top: 1px solid #e6edf8; }
    .home-pricing .price-grid { gap: 22px; margin-top: 48px; }
    .home-pricing .price-card { border-color: #dce5f2; border-radius: 22px; padding: 30px 28px 27px; text-align: left; box-shadow: 0 9px 22px -20px #29476d4d; }
    .home-pricing .price-plan-label { align-self: flex-start; font-size: 10px; letter-spacing: .02em; padding: 6px 9px; background: #eef3fd; color: #52729d; margin: 0 0 22px; }
    .home-pricing .price-plan-label svg { transform-origin: center; }
    .home-pricing .price-card h3 { color: #203b5d; font-size: 22px; margin-bottom: 8px; }
    .home-pricing .price { justify-content: flex-start; color: #203b5d; font-size: 44px; letter-spacing: -.035em; line-height: 1.2; margin: 10px 0 15px; }
    .home-pricing .price span { font-size: 13px; letter-spacing: 0; color: #7c8ea6; margin-left: 4px; }
    .home-pricing .price-sub { min-height: 63px; font-size: 13px; line-height: 1.65; color: #60728a; margin: 0; }
    .home-pricing .price-features { font-size: 13px; line-height: 1.65; color: #52677f; border-top: 1px solid #e7edf6; margin: 23px 0; padding-top: 19px; }
    .home-pricing .price-features li { padding: 4px 0; }
    .home-pricing .price-features .feat-disabled { color: #697b93; }
    .home-pricing .price-card > .btn { min-height: 46px; display: flex; align-items: center; justify-content: center; font-size: 13px; border-radius: 10px; }
    .home-pricing .price-card > .btn-ghost { border-color: #c9d8ee; color: #41628d; }
    .home-pricing .price-card > .btn-ghost:hover { background: #f0f5ff; border-color: #9fbff4; }
    .home-pricing .price-featured { background: radial-gradient(ellipse at 100% 0, #2a5e97, transparent 65%), #17385f; border: 1px solid #3d70a9; box-shadow: 0 20px 38px -24px #183c6c80; }
    .home-pricing .price-featured h3, .home-pricing .price-featured .price { color: #fff; }
    .home-pricing .price-featured .price-plan-label { color: #c6dcfb; background: #ffffff12; border: 1px solid #ffffff16; padding: 5px 8px; }
    .home-pricing .price-featured .price-sub, .home-pricing .price-featured .price span { color: #b4c7df; }
    .home-pricing .price-featured .price-features { color: #e0ebf9; border-color: #ffffff1a; }
    .home-pricing .price-featured .badge { left: auto; right: 22px; transform: none; top: -13px; padding: 5px 10px; font-size: 10px; letter-spacing: .02em; }
    .home-pricing .price-featured > .btn-primary { background: #fff; border-color: #fff; color: #1e4b84; box-shadow: 0 6px 18px #07244926; }
    .home-pricing .price-featured > .btn-primary:hover { background: #e9f2ff; border-color: #e9f2ff; }
    .home-pricing .price-featured > .btn-primary::after { background: linear-gradient(110deg, transparent 25%, rgba(11,95,255,.13) 50%, transparent 75%); }
    .home-pricing .price-card.is-scene-visible .price-plan-label svg { animation: home-tool-lift 1s ease var(--home-delay); }
    .home-pricing .price-card::after { content: ''; position: absolute; inset: -1px; border: 1px solid #b6cbf3; border-radius: inherit; pointer-events: none; opacity: 0; }
    .home-pricing .price-card.is-scene-visible::after { animation: home-plan-frame 1.6s ease var(--home-delay); }
    .home-pricing .price-featured.is-scene-visible::after { border-color: #7ba5fa; animation-duration: 2s; }
    .home-pricing .price-featured.is-scene-visible .badge svg { animation: home-star 1.2s ease .35s; }
    .home-hero .btn-primary, .home-offer .btn-primary, .home-catalog .section-cta .btn-primary, .home-pricing .btn-primary { position: relative; overflow: hidden; }
    .home-hero .btn-primary::after, .home-offer .btn-primary::after, .home-catalog .section-cta .btn-primary::after, .home-pricing .btn-primary::after { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 25%, rgba(255,255,255,.2) 50%, transparent 75%); transform: translateX(-110%); pointer-events: none; }
    .home-hero .btn-primary:hover::after, .home-offer .btn-primary:hover::after, .home-catalog .section-cta .btn-primary:hover::after, .home-pricing .btn-primary:hover::after { animation: home-button-light 650ms ease; }
    .home-catalog .section-cta.is-scene-visible .btn-primary::after, .home-pricing .btn-primary.is-scene-visible::after { animation: home-button-light 1.2s ease .15s; }
}

/* Verification explainer: the existing content and controls, in the homepage
   palette. ID scoping keeps these rules out of all other product dialogs. */
@media screen {
    #verify-info-modal .modal-backdrop { background: #10253dcc; }
    #verify-info-modal .modal-verify-info { width: min(920px, calc(100% - 40px)); max-height: min(92vh, 920px); max-height: min(92dvh, 920px); padding: 0; background: #f4f7fc; border: 1px solid #dbe5f2; border-radius: 24px; box-shadow: 0 30px 90px #05172b66; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #a2b6d0 transparent; }
    #verify-info-modal .modal-header { position: sticky; top: 0; z-index: 3; margin: 0; padding: 28px 76px 28px 30px; border-bottom: 1px solid #385779; background: radial-gradient(ellipse at 100% 0, #2b5685, transparent 70%), #17385f; }
    #verify-info-modal .modal-header-content { gap: 16px; align-items: center; }
    #verify-info-modal .modal-header-icon { width: 48px; height: 52px; border-radius: 14px; color: #b3dfd4; background: #ffffff0d; border: 1px solid #ffffff24; box-shadow: none; }
    #verify-info-modal .modal-header h2 { color: #fff; font-size: 25px; line-height: 1.25; letter-spacing: -.025em; }
    #verify-info-modal .modal-sub { max-width: 550px; color: #b8cbe2; font-size: 13px; line-height: 1.6; margin: 8px 0 0; }
    #verify-info-modal .pro-modal-close { position: sticky; float: right; top: 18px; right: auto; z-index: 4; display: grid; place-items: center; width: 36px; height: 36px; margin: 18px 18px -54px 0; padding: 0; color: #dce9fb; background: #ffffff0d; border: 1px solid #ffffff24; border-radius: 10px; font-size: 26px; }
    #verify-info-modal .pro-modal-close:hover { color: #fff; background: #ffffff24; }
    #verify-info-modal :is(button, a):focus-visible { outline: 2px solid #78aaff; outline-offset: 3px; }
    #verify-info-modal .vinfo-section { margin: 22px 26px; padding: 24px; border: 1px solid #e0e8f3; border-radius: 17px; background: #fff; }
    #verify-info-modal .vinfo-h3 { color: #203b5d; font-size: 17px; font-weight: 700; gap: 10px; margin-bottom: 20px; }
    #verify-info-modal .vinfo-h3-icon { width: 32px; height: 32px; border-radius: 10px; background: #edf3ff; color: #376ba9; }
    #verify-info-modal .vinfo-h3-icon-green { color: #248563; background: #ecf7f1; }
    #verify-info-modal .vinfo-h3-icon-red { color: #a45966; background: #fbf0f2; }
    #verify-info-modal .vinfo-flow { gap: 0; }
    #verify-info-modal .vinfo-flow-step { gap: 16px; padding: 14px 0; background: transparent; border-radius: 0; }
    #verify-info-modal .vinfo-flow-step > div:last-child { min-width: 0; }
    #verify-info-modal .vinfo-flow-icon { width: 34px; height: 34px; border: 1px solid #d7e4f7; border-radius: 10px; background: #eef4ff !important; color: #35649d !important; font-size: 12px; }
    #verify-info-modal .vinfo-flow-step:last-child .vinfo-flow-icon { background: #eaf7f0 !important; color: #248563 !important; border-color: #cce8db; }
    #verify-info-modal .vinfo-flow-title { color: #233f61; font-size: 15px; font-weight: 700; margin-bottom: 5px; }
    #verify-info-modal .vinfo-flow-text { color: #60728a; line-height: 1.65; }
    #verify-info-modal .vinfo-flow-arrow { position: relative; width: 34px; height: 15px; padding: 0; font-size: 0; }
    #verify-info-modal .vinfo-flow-arrow::after { content: ''; position: absolute; top: -6px; bottom: -6px; left: 16px; width: 1px; background: #d7e4f7; }
    #verify-info-modal .vinfo-flow-hash { background: #f4f7fc; border-color: #e0e8f3; color: #607b9d; padding: 7px 9px; border-radius: 7px; }
    #verify-info-modal :is(.vinfo-grid, .vinfo-options, .vinfo-uses, .vinfo-detect) { gap: 14px; }
    #verify-info-modal :is(.vinfo-card-mini, .vinfo-use, .vinfo-option, .vinfo-detect-col) { min-width: 0; padding: 18px; border: 1px solid #e0e8f3; border-radius: 13px; background: #f7faff; }
    #verify-info-modal :is(.vinfo-mini-icon, .vinfo-use-icon, .vinfo-option-icon) { background: #eaf1fc !important; color: #4674ae !important; border-radius: 10px; }
    #verify-info-modal :is(.vinfo-card-mini h4, .vinfo-use strong, .vinfo-option-head > div > strong) { color: #233f61; font-weight: 700; }
    #verify-info-modal :is(.vinfo-card-mini p, .vinfo-use p, .vinfo-option p, .vinfo-option li, .vinfo-detect li) { color: #60728a; line-height: 1.65; }
    #verify-info-modal .vinfo-option { border-top: 3px solid #72b79d; }
    #verify-info-modal .vinfo-option-pro { border-top-color: #6c9ce9; }
    #verify-info-modal .vinfo-detect-yes { background: #f1f8f5; border-color: #d9e9e0; }
    #verify-info-modal .vinfo-detect-no { background: #fcf5f6; border-color: #eddfe3; }
    #verify-info-modal .vinfo-foot-note { padding: 14px 16px; background: #f4f7fc; border-radius: 10px; font-style: normal; }
    #verify-info-modal .vinfo-cta { margin: 0 26px; padding: 2px 0 26px; border: 0; }
    #verify-info-modal .vinfo-cta .btn { border-radius: 10px; font-size: 14px; padding: 13px 20px; }
    #verify-info-modal .vinfo-cta .btn-ghost { color: #47698f; border-color: #cbd9eb; background: #fff; }
    #verify-info-modal .vinfo-overview { margin: 18px 26px 16px; }
    #verify-info-modal .vinfo-quick-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; list-style: none; margin: 0 0 16px; padding: 0; }
    #verify-info-modal .vinfo-quick-steps li { display: flex; align-items: center; gap: 10px; min-width: 0; }
    #verify-info-modal .vinfo-quick-steps span { display: grid; place-items: center; width: 30px; height: 30px; flex-shrink: 0; background: #e8f0fd; color: #4b75a9; border: 1px solid #d6e3f6; border-radius: 9px; font-size: 10px; }
    #verify-info-modal .vinfo-quick-steps strong { font-size: 13px; line-height: 1.4; color: #29496f; font-weight: 600; }
    #verify-info-modal .vinfo-more-label { margin: 3px 26px 12px; color: #7a8ca3; font-size: 11px; font-weight: 600; }
    #verify-info-modal .vinfo-detail { margin: 10px 26px; padding: 0; border: 1px solid #e0e8f3; border-radius: 13px; }
    #verify-info-modal .vinfo-detail:last-of-type { margin-bottom: 26px; }
    #verify-info-modal .vinfo-detail > summary { position: relative; padding: 16px 52px 16px 18px; margin: 0; cursor: pointer; list-style: none; font-size: 14px; gap: 10px; flex-wrap: nowrap; line-height: 1.5; }
    #verify-info-modal .vinfo-question { min-width: 0; }
    #verify-info-modal .vinfo-detail > summary::-webkit-details-marker { display: none; }
    #verify-info-modal .vinfo-detail > summary::after { content: '+'; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 22px; font-weight: 400; color: #6483ab; }
    #verify-info-modal .vinfo-detail[open] > summary::after { content: '−'; }
    #verify-info-modal .vinfo-detail > summary:hover { color: #0b5fff; }
    #verify-info-modal .vinfo-detail > summary:focus-visible { outline: 2px solid #78aaff; outline-offset: 3px; border-radius: 12px; }
    #verify-info-modal .vinfo-detail-body { padding: 0 22px 24px; }
    #verify-info-modal .vinfo-detail .vinfo-h3-icon { width: 28px; height: 28px; }
}

@media screen and (max-width: 640px) {
    #verify-info-modal .modal-verify-info { width: calc(100% - 20px); max-height: 94vh; max-height: 94dvh; border-radius: 18px; }
    #verify-info-modal .modal-header { padding: 22px 54px 22px 18px; }
    #verify-info-modal .modal-header-content { gap: 10px; align-items: flex-start; }
    #verify-info-modal .modal-header-icon { width: 32px; height: 36px; border-radius: 10px; }
    #verify-info-modal .modal-header-icon svg { width: 19px; height: 19px; }
    #verify-info-modal .modal-header h2 { font-size: 19px; }
    #verify-info-modal .modal-sub { font-size: 11px; line-height: 1.5; }
    #verify-info-modal .pro-modal-close { top: 12px; margin: 12px 12px -48px 0; width: 32px; height: 32px; }
    #verify-info-modal .vinfo-section { margin: 14px 12px; padding: 17px 15px; border-radius: 13px; }
    #verify-info-modal .vinfo-h3 { font-size: 15px; gap: 8px; }
    #verify-info-modal .vinfo-flow-step { gap: 11px; }
    #verify-info-modal .vinfo-flow-icon { width: 28px; height: 30px; }
    #verify-info-modal .vinfo-flow-arrow { width: 28px; }
    #verify-info-modal .vinfo-flow-arrow::after { left: 13px; }
    #verify-info-modal .vinfo-flow-title { font-size: 14px; }
    #verify-info-modal .vinfo-flow-text { font-size: 12px; }
    /* The existing inline signing diagram becomes a vertical sequence. */
    #verify-info-modal .vinfo-detail-body > div[style] > div:first-child { flex-direction: column; align-items: stretch !important; gap: 12px !important; }
    #verify-info-modal .vinfo-detail-body > div[style] > div:first-child > div:nth-child(odd) { display: grid !important; grid-template-columns: 56px minmax(0, 1fr); column-gap: 12px; row-gap: 4px; width: 100% !important; text-align: left !important; }
    #verify-info-modal .vinfo-detail-body > div[style] > div:first-child > div:nth-child(odd) > div:first-child { grid-row: 1 / 3; align-self: start; }
    #verify-info-modal .vinfo-detail-body > div[style] > div:first-child > div:nth-child(odd) > div:not(:first-child) { margin-top: 0 !important; }
    #verify-info-modal .vinfo-detail-body > div[style] > div:first-child > div:nth-child(even) { height: 20px !important; padding-left: 17px; }
    #verify-info-modal .vinfo-detail-body > div[style] > div:first-child > div:nth-child(even) > svg { transform: rotate(90deg); }
    #verify-info-modal :is(.vinfo-card-mini, .vinfo-use, .vinfo-option, .vinfo-detect-col) { padding: 15px; }
    #verify-info-modal .vinfo-cta { margin: 0 12px; padding-bottom: 18px; }
    #verify-info-modal .vinfo-cta .btn { width: 100%; text-align: center; }
    #verify-info-modal .vinfo-overview { margin: 16px 12px; }
    #verify-info-modal .vinfo-quick-steps { gap: 8px; margin-bottom: 16px; }
    #verify-info-modal .vinfo-quick-steps li { flex-direction: column; gap: 6px; align-items: flex-start; }
    #verify-info-modal .vinfo-quick-steps span { width: 25px; height: 25px; border-radius: 7px; }
    #verify-info-modal .vinfo-quick-steps strong { font-size: 10px; }
    #verify-info-modal .vinfo-more-label { margin: 2px 13px 10px; }
    #verify-info-modal .vinfo-detail { margin: 9px 12px; }
    #verify-info-modal .vinfo-detail:last-of-type { margin-bottom: 14px; }
    #verify-info-modal .vinfo-detail > summary { padding: 15px 35px 15px 12px; font-size: 12px; gap: 8px; }
    #verify-info-modal .vinfo-detail > summary::after { right: 12px; }
    #verify-info-modal .vinfo-detail-body { padding: 0 15px 18px; }
}

/* Prepare only decorative children before they enter view. Text and clickable
   cards stay in place; their hover transitions never compete with an entrance. */
@media screen and (prefers-reduced-motion: no-preference) {
    .home-pick-art.is-scene-prepared:not(.is-scene-visible) .home-stack-sheet-back { transform: rotate(-2deg); }
    .home-pick-art.is-scene-prepared:not(.is-scene-visible) .home-stack-sheet-front { transform: rotate(2deg); }
    .home-edit-art.is-scene-prepared:not(.is-scene-visible) .home-edit-fields i { transform: scaleX(.12); }
    .home-sign-art.is-scene-prepared:not(.is-scene-visible) .home-scene-symbol { transform: translateY(8px) scale(.9); }
    .home-sign-art.is-scene-prepared:not(.is-scene-visible) .home-static-signature path { stroke-dashoffset: 1; }
    .vproof.is-scene-prepared:not(.is-scene-visible) .vproof-signature path { stroke-dashoffset: 1; }
}

@keyframes home-orbit { to { transform: rotate(360deg); } }
@keyframes home-sheet-left { from { transform: rotate(-2deg); } to { transform: translateX(-23px) rotate(-10deg); } }
@keyframes home-sheet-right { from { transform: rotate(2deg); } to { transform: translateX(23px) rotate(10deg); } }
@keyframes home-field-write { from { transform: scaleX(.12); } to { transform: scaleX(1); } }
@keyframes home-confirm { from { transform: translateY(8px) scale(.9); } to { transform: translateY(0) scale(1); } }
@keyframes home-static-ink { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes home-ring { 0% { opacity: 0; transform: scale(.9); } 25% { opacity: .7; } 100% { opacity: 0; transform: scale(1.22); } }
@keyframes home-tool-lift { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@keyframes home-pencil { 0%, 100% { transform: translate(0) rotate(0); } 25% { transform: translate(-3px, 2px) rotate(-9deg); } 60% { transform: translate(3px, -2px) rotate(6deg); } }
@keyframes home-tool-check { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.07); } }
@keyframes home-lock { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
@keyframes home-edge { 0% { opacity: 0; transform: scaleX(.15); } 45% { opacity: .8; transform: scaleX(1); } 100% { opacity: 0; transform: scaleX(1); } }
@keyframes home-gift { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-10deg); } 50% { transform: rotate(8deg) translateY(-3px); } 75% { transform: rotate(-3deg); } }
@keyframes home-template-open { 0%, 100% { transform: perspective(180px) rotateY(0deg) translateY(0); } 50% { transform: perspective(180px) rotateY(-12deg) translateY(-3px); } }
@keyframes home-template-sheet { 0%, 100% { transform: none; } 45% { transform: translate(6px, -3px) rotate(13deg); } }
@keyframes home-plan-frame { 0% { opacity: 0; box-shadow: 0 0 0 0 rgba(11,95,255,0); } 40% { opacity: 1; box-shadow: 0 0 0 5px rgba(11,95,255,.045); } 100% { opacity: 0; box-shadow: 0 0 0 9px rgba(11,95,255,0); } }
@keyframes home-star { 0%, 100% { transform: rotate(0) scale(1); } 45% { transform: rotate(65deg) scale(1.2); } }
@keyframes home-button-light { to { transform: translateX(110%); } }
@keyframes vproof-scan { 0% { transform: translateY(-100%); opacity: 0; } 15%, 80% { opacity: 1; } 100% { transform: translateY(35px); opacity: 0; } }

@media screen and (max-width: 1100px) and (min-width: 769px) {
    .home-trust .verify-grid { gap: 30px; }
    .home-trust .vproof-stage { grid-template-columns: 138px minmax(0, 1fr); gap: 24px; }
    .home-trust .vproof-paper { height: 192px; padding: 13px; }
    .home-trust .vproof-connection { left: 125px; width: 43px; }
    .home-trust .vproof-result > strong { font-size: 19px; }
    .home-trust .vproof-codes code { font-size: 11px; }
}

@media screen and (max-width: 500px) {
    .vproof, .vproof--compact { padding: 20px 16px; border-radius: 20px; }
    .vproof-heading { font-size: 8px; letter-spacing: .04em; gap: 8px; }
    .vproof-stage, .vproof--compact .vproof-stage { grid-template-columns: 115px minmax(0, 1fr); gap: 20px; margin: 20px 0; }
    .vproof-paper, .vproof--compact .vproof-paper { height: 166px; padding: 12px; }
    .vproof-paper > strong { font-size: 12px; margin: 16px 0 10px; }
    .vproof-field, .vproof--compact .vproof-field { font-size: 8px; margin-top: 9px; padding: 5px; }
    .vproof-lines-short { display: none; }
    .vproof--compact .vproof-lines:not(.vproof-lines-short) { display: grid; }
    .vproof-signature, .vproof--compact .vproof-signature { width: 85px; left: 12px; bottom: 21px; }
    .vproof-result-icon, .vproof--compact .vproof-result-icon { width: 35px; height: 35px; margin-bottom: 11px; }
    .vproof-result > strong, .vproof--compact .vproof-result > strong { min-height: 42px; font-size: 18px; }
    .vproof-result > p, .vproof--compact .vproof-result > p { min-height: 54px; font-size: 10px; line-height: 1.65; margin-top: 8px; }
    .vproof-connection, .vproof--compact .vproof-connection { left: 100px; width: 40px; top: 15%; }
    .vproof-codes { grid-template-columns: minmax(0, 1fr) 14px minmax(0, 1fr); gap: 4px; }
    .vproof-codes > div, .vproof--compact .vproof-codes > div { padding: 9px 8px; }
    .vproof-codes code { font-size: 11px; }
    .vproof-codes span:not(.vproof-equals) { font-size: 9px; }
    .vproof-try { font-size: 11px; }
}

@media screen and (max-width: 360px) {
    .vproof, .vproof--compact { padding-inline: 14px; }
    .vproof-stage, .vproof--compact .vproof-stage { grid-template-columns: 100px minmax(0, 1fr); gap: 17px; }
    .vproof-paper, .vproof--compact .vproof-paper { padding-inline: 9px; }
    .vproof-signature, .vproof--compact .vproof-signature { left: 9px; width: 78px; }
    .vproof-result > strong, .vproof--compact .vproof-result > strong { font-size: 16px; min-height: 39px; }
    .vproof-connection, .vproof--compact .vproof-connection { left: 85px; width: 38px; }
    .vproof-codes code { font-size: 10px; }
}

@media screen and (max-width: 900px) {
    .home-hero { padding-top: 42px; }
    .home-hero .hero-split { gap: 24px; }
    .home-hero .hero-split-media { width: min(500px, 100%); margin: 0 auto; }
    .home-step { grid-template-columns: minmax(0, 1fr) 260px; gap: 24px; padding: 26px; }
    .home-step h3 { font-size: 22px; }
    .home-scene-symbol { right: 3px; }
    .home-edit-fields { left: 0; width: 92px; }
    .home-tool-chapter, .home-send-chapter { grid-template-columns: minmax(0, 1fr); gap: 28px; }
    .home-send-chapter .home-tool-details, .home-send-chapter .home-tool-visual { grid-column: auto; grid-row: auto; }
    .home-tool-visual { width: 100%; max-width: 600px; justify-self: center; }
    .home-tool-details { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
    .home-tools .feature-card h3 { font-size: 19px; }
    .home-trust .verify-grid { gap: 30px; }
    .home-trust-copy h2 { font-size: 28px; }
    .home-pricing .price-card { padding-left: 22px; padding-right: 22px; }
    .home-catalog .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media screen and (max-width: 760px) {
    .home-hero { padding-top: 36px; padding-bottom: 30px; }
    .home-art { height: 350px; border-radius: 18px; overflow: hidden; }
    .home-flow-label { padding: 7px 9px; font-size: 10px; }
    .home-flow-label-template { left: 5px; top: 58px; }
    .home-flow-label-sign { right: 5px; bottom: 87px; }
    .home-art-orbit-two { width: 280px; height: 280px; top: 12px; left: calc(50% - 140px); }
    .home-art-orbit-one { width: 250px; height: 250px; top: 27px; left: calc(50% - 125px); }
    .home-art-steps { font-size: 10px; gap: 5px; bottom: 18px; left: 8px; right: 8px; }
    .home-art-steps > i { width: 10px; }
    .home-how { padding: 48px 0; }
    .home-how h2 { font-size: 28px; }
    .home-steps { gap: 18px; margin-top: 28px; }
    .home-step { grid-template-columns: 1fr; padding: 26px 22px 16px; gap: 12px; }
    .home-step .step-num { margin-bottom: 12px; }
    .home-step h3 { font-size: 22px; }
    .home-step p { font-size: 14px; }
    .home-step-art { height: 215px; }
    .home-step-art .home-doc-dock { width: 148px; height: 188px; margin: -94px 0 0 -74px; }
    .home-stack-sheet { height: 174px; top: calc(50% - 87px); width: 134px; left: calc(50% - 67px); }
    .home-sign-ring { width: 200px; height: 200px; top: 7px; left: calc(50% - 100px); }
    .home-scene-symbol { right: 8px; bottom: 18px; }
    .home-edit-fields { top: 58px; }
    .home-sign-art { height: 235px; }
    .home-static-signature { bottom: 30px; }
    .home-export-chip { left: 50%; bottom: -6px; transform: translateX(-50%); }
    .home-flow-label-own { left: 5px; bottom: 87px; }
    .home-hero .hero-cta .btn { font-size: 14px; padding-left: 16px; padding-right: 16px; }
    .home-tool-chapters { gap: 52px; margin-top: 34px; }
    .home-tool-details { grid-template-columns: minmax(0, 1fr); }
    .home-tool-visual { height: 350px; border-radius: 20px; }
    .home-tools .feature-card h3 { font-size: 20px; }
    .home-tools .feature-card p { font-size: 13px; line-height: 1.75; }
    .home-editor-window { top: 24px; width: 80%; left: 8%; }
    .home-editor-page { padding: 18px 20px 21px; }
    .home-editor-page > strong { font-size: 20px; }
    .home-editor-cursor { top: 222px; left: 47%; }
    .home-editor-cursor span { font-size: 8px; padding: 6px 7px; }
    .home-editor-pill { bottom: 13px; left: 15px; padding: 7px 10px; }
    .home-visual-orbit { width: 310px; height: 310px; left: 0; }
    .home-send-note { left: 5%; width: 40%; top: 75px; padding: 13px 11px; }
    .home-send-note strong { font-size: 10px; }
    .home-send-note > span:last-of-type { font-size: 8px; }
    .home-sign-phone { right: 5%; width: 44%; max-width: 168px; top: 24px; height: 275px; border-width: 4px; padding: 30px 11px 12px; }
    .home-phone-brand { font-size: 10px; margin-bottom: 17px; }
    .home-sign-phone > strong { font-size: 9px; }
    .home-sign-phone > small { font-size: 7px; }
    .home-phone-signature { height: 42px; }
    .home-phone-button { font-size: 8px; margin-top: 12px; }
    .home-send-pill { bottom: 14px; left: 15px; padding: 7px 10px; }
    .home-format { top: 24px; width: 64px; height: 67px; padding: 11px 8px; }
    .home-format span { font-size: 9px; }
    .home-format-pdf { left: calc(19% - 32px); }
    .home-format-word { left: calc(50% - 32px); }
    .home-format-docs { left: calc(81% - 37px); width: 74px; }
    .home-export-hub { top: 125px; }
    .home-library { top: 224px; height: 68px; width: 210px; left: calc(50% - 105px); }
    .home-library-front { padding: 14px; }
    .home-export-pill { bottom: 12px; padding: 7px 10px; font-size: 9px; }
    .home-trust, .home-catalog, .home-pricing { padding: 52px 0; }
    .home-trust-copy h2 { font-size: 27px; }
    .home-trust-copy > p { font-size: 14px; }
    .home-catalog .grid { gap: 17px; }
    .home-catalog .card { padding: 23px; min-height: 250px; }
    .home-pricing .price-grid { margin-top: 38px; gap: 24px; }
    .home-pricing .price-card { padding: 26px 24px; }
    .home-pricing .price-sub { min-height: 0; }
    .home-pricing .price { font-size: 40px; }
    .home-offer { padding: 30px 0; }
    .home-offer .free-promo-card { padding: 27px 24px; gap: 22px; text-align: left; }
    .home-offer .free-promo-left { align-items: flex-start; gap: 18px; }
    .home-offer .free-promo-icon { width: 52px; height: 56px; border-radius: 14px; }
    .home-offer .free-promo-icon svg { width: 27px; height: 27px; }
    .home-offer .free-promo-card h3 { font-size: 24px; }
    .home-offer .free-promo-card > .btn { width: 100%; text-align: center; }
}

@media screen and (max-width: 600px) {
    .home-catalog .grid { grid-template-columns: minmax(0, 1fr); }
}

/* On phones the document fills and signs inside its card, keeping the text
   clear. The one-time sequence pauses offscreen and resumes without a reset. */
@media screen and (max-width: 760px) and (prefers-reduced-motion: no-preference) {
    .home-art { --home-intro-play: paused; }
    .home-art.is-scene-visible { --home-intro-play: running; }
    .home-art.is-intro-visible .home-paper { animation: home-mobile-paper 3.6s ease-in-out both; animation-play-state: var(--home-intro-play); }
    .home-art.is-intro-visible .home-paper-field span { animation: home-mobile-fill .85s cubic-bezier(.2,.65,.3,1) .4s both; animation-play-state: var(--home-intro-play); }
    .home-art.is-intro-visible .home-paper-field-short span { animation-delay: .65s; }
    .home-art.is-intro-visible .home-paper-signature path { animation: home-static-ink 1.1s ease 1.5s both; animation-play-state: var(--home-intro-play); }
    .home-art.is-intro-visible .home-paper-seal { animation: home-mobile-seal .6s cubic-bezier(.2,.65,.3,1) 2.6s both; animation-play-state: var(--home-intro-play); }
    .home-art.is-intro-visible .home-paper-state { animation: home-mobile-status .4s ease 2.8s both; animation-play-state: var(--home-intro-play); }
    .home-art.is-intro-visible .home-art-steps b { animation: home-mobile-step .4s ease both; animation-play-state: var(--home-intro-play); }
    .home-art.is-intro-visible .home-art-steps span:nth-of-type(2) b { animation-delay: .65s; }
    .home-art.is-intro-visible .home-art-steps span:nth-of-type(3) b { animation-delay: 1.7s; }
}
@keyframes home-mobile-paper {
    0% { transform: rotate(-4deg); }
    45% { transform: translateY(-5px) rotate(-1deg); }
    100% { transform: rotate(-2deg); }
}
@keyframes home-mobile-fill { from { transform: scaleX(.14); } to { transform: scaleX(1); } }
@keyframes home-mobile-seal { from { opacity: 0; transform: scale(.75); } to { opacity: 1; transform: scale(1); } }
@keyframes home-mobile-status { from { opacity: 0; } to { opacity: 1; } }
@keyframes home-mobile-step { from { background: #eaf1ff; color: #0b5fff; } to { background: #0b5fff; color: #fff; } }

@media screen and (prefers-reduced-motion: reduce) {
    .home-art *, .home-step, .home-step *, .home-step *::after, .home-lower-scene *, .home-lower-scene *::before, .home-lower-scene *::after, .home-hero .btn::after { animation: none !important; transition: none !important; }
    .home-lower-scene::before, .home-lower-scene::after { transform: none; }
    .home-tool-chapter { --home-chapter-progress: 1 !important; --home-write: 1 !important; --home-delivered: 1 !important; }
    .home-how-link span { transition: none; }
    .home-paper { --home-fill: 1; --home-ink: 1; --home-signed: 1; }
    .vproof *, .vproof *::after { animation: none !important; transition: none !important; }
    .vproof-signature path { stroke-dashoffset: 0; }
}

@media print {
    .home-route, .home-art, .home-video-link, .home-step-art, .home-tool-visual, .vproof { display: none !important; }
}
/* The signed-in homepage prioritises work and stays still. */
.home-account { padding: 42px 0 36px; background: radial-gradient(ellipse at 90% 0, #eaf2ff, transparent 55%), #f8fafd; border-bottom: 1px solid #e2eaf6; }
.home-account .pro-dashboard-head { margin-bottom: 26px; }
.home-account h1 { color: #203b5d; font-size: 32px; line-height: 1.3; letter-spacing: -.02em; margin: 0 0 8px; }
.home-account-intro { font-size: 15px; color: #60728a; }
.home-account-plan { display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border: 1px solid #d5e4f6; border-radius: 10px; background: #fff; color: #526c8d; font-size: 12px; }
.home-account-plan svg { color: #0b5fff; flex-shrink: 0; }
.home-account-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.home-account-actions .btn { border-radius: 10px; }
.home-account-actions .btn-ghost { background: #fff; border-color: #d7e3f3; color: #385b84; }
.home-account .pro-stats-grid { gap: 14px; }
.home-account .pro-stat { text-align: left; padding: 20px 22px; border: 1px solid #dce6f4; border-radius: 14px; background: #fff; box-shadow: 0 4px 16px -12px #274e8026; transition: border-color .15s, background-color .15s; }
.home-account .pro-stat:hover { transform: none; border-color: #a6c2ed; background: #fafdff; }
.home-account .pro-stat-num { font-size: 30px; color: #27496f; }
.home-account .pro-stat-label { justify-content: flex-start; color: #60728a; }
.home-account .pro-stat:nth-child(2) .pro-stat-num { color: #347b61; }
.home-account .pro-recent h3 { color: #52677f; font-size: 14px; text-transform: none; letter-spacing: 0; }
.home-account .pro-recent-list { border-color: #dce6f4; border-radius: 14px; }
.home-account .pro-recent-list a { padding: 14px 18px; color: #294c75; }
.home-account .pro-recent-list a:hover { background: #f5f8ff; }
.home-account .pro-recent-date { color: #72839a; }
.home-account-tools { display: flex; flex-wrap: wrap; gap: 10px 26px; border-top: 1px solid #e2eaf6; padding-top: 20px; margin-top: 24px; }
.home-account-tools a { display: inline-flex; align-items: center; gap: 8px; color: #526e91; font-size: 13px; text-decoration: none; padding: 5px 0; }
.home-account-tools a:hover { color: #0b5fff; text-decoration: underline; text-underline-offset: 4px; }
.home-account a:focus-visible { outline: 2px solid #0b5fff; outline-offset: 3px; }
.home-member-catalog { padding-top: 40px; }
.home-member-catalog h2 { font-size: 26px; }
@media (max-width: 600px) {
    .home-account { padding: 28px 0; }
    .home-account h1 { font-size: 27px; }
    .home-account .pro-dashboard-head { align-items: flex-start; }
    .home-account-actions { gap: 8px; }
    .home-account-actions .btn { font-size: 13px; padding: 10px 12px; }
    .home-account-actions .btn:first-child { flex: 1 0 100%; justify-content: center; }
    .home-account-actions .btn:not(:first-child) { flex: 1; justify-content: center; }
    .home-account .pro-stats-grid { gap: 8px; }
    .home-account .pro-stat { padding: 14px 8px; }
    .home-account .pro-stat-num { font-size: 25px; }
    .home-account .pro-stat-label { font-size: 11px; line-height: 1.4; }
    .home-account .pro-stat-label svg { display: none; }
    .home-account .pro-recent-list a { flex-wrap: wrap; gap: 5px 9px; }
    .home-account .pro-recent-date { flex-basis: 100%; padding-left: 41px; }
}
/* Виж home-landing.js render(): един кадър скрит при преминаване към fixed — без layout shift. */
.home-paper.is-arming { visibility: hidden; }

/* Free accounts retain the same compact plan badge as Pro. */
.home-account-plan { max-width: 100%; line-height: 1.6; }
.home-account-plan > span { min-width: 0; }
.home-account-quota { display: inline; }
.home-account-quota strong { white-space: nowrap; color: #29496e; }
.home-pricing .price-grid-2 .price-card { min-width: 0; }
.home-pricing .price-grid-2 .price-sub { min-height: 86px; }
@media (max-width: 600px) {
    .home-account-plan { align-items: flex-start; }
    .home-account-plan > svg { margin-top: 2px; }
    .home-pricing .price-grid-2 .price-card { padding: 26px 22px; }
    .home-pricing .price-grid-2 .price-sub { min-height: 0; }
}

.home-pricing .price-grid-2 .price-features li { display: flex; align-items: flex-start; gap: 9px; padding-block: 5px; }
.home-pricing .price-grid-2 .price-features li > span:last-child { min-width: 0; }
.home-pricing .plan-feature-check, .home-pricing .plan-feature-minus { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 15px; height: 21px; color: #347b61; }
.home-pricing .price-featured .plan-feature-check { color: #b8d7ff; }
.home-pricing .plan-feature-minus { color: #697b93; }
