html{font-size:16px}@media(min-width:901px){html{font-size:calc(100vw / 90)}}
:root{color-scheme:light;--ink:#193b44;--blue:#005edb;--purple:#a477ff;--coral:#ff6c80;--ease:cubic-bezier(.6,-.28,.735,.045)}
*{box-sizing:border-box}body{margin:0;background:var(--blue);color:var(--ink);font:400 1.125rem/1.3 Inter,Arial,sans-serif}button,input,textarea{font:inherit}button,a,input,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}a{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline:0.1875rem solid #ff9b7b;outline-offset:0.3125rem}button:disabled{cursor:default}img{display:block}h1,h2,p{margin:0}input,textarea{min-width:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#819a9b;opacity:1}.sr-only{position:absolute;width:0.0625rem;height:0.0625rem;padding:0;margin:-0.0625rem;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}.skip-link{position:fixed;top:0.625rem;left:0.625rem;z-index:100;background:white;padding:0.75rem;transform:translateY(-150%)}.skip-link:focus{transform:none}.loading{display:grid;min-height:37.5rem;place-items:center;color:white}main:focus{outline:none}
.stage{position:relative;isolation:isolate;overflow:hidden;container-type:inline-size;background:radial-gradient(ellipse 72% 75% at 50% 62%,#caddff 0%,#5a9eff 38%,#005edb 100%);min-height:var(--stage-height,64rem);padding-top:0.0625rem}.stage.question,.stage.identity,.stage.complete,.stage.envelope{background:radial-gradient(ellipse 70% 78% at 50% 65%,#5a9eff 0%,#005edb 100%)}.stage.intro{background:radial-gradient(ellipse 45% 62% at 50% 56%,#5a9eff,#005edb)}.art{position:absolute;inset:0;pointer-events:none;z-index:2}.art img{position:absolute;max-width:none;object-fit:fill;user-select:none;pointer-events:none}.art img.art-back{z-index:-2}.art img{opacity:var(--opacity,1)}.art--back{z-index:0}.brand{position:absolute;z-index:8;left:max(2rem,calc(50% - 38.75rem));top:3.125rem;width:11.25rem}.brand img{width:100%;height:auto}.capsule-mark{position:absolute;z-index:8;right:max(2rem,calc(50% - 38.75rem));top:3.125rem;width:11.25rem}.capsule-mark img{width:100%;height:auto}.content-layer{position:relative;z-index:1}.home-title{position:relative;width:29.78125rem;max-width:calc(100% - 4rem);margin:14.6875rem auto -1.625rem;z-index:3}.home-title img{width:100%;height:auto}.home-card{position:relative;width:49.5rem;max-width:calc(100% - 4rem);min-height:42.4375rem;margin:0 auto;background:#fff;border-radius:1.875rem;padding:4rem 3rem 11.875rem}.home-copy{text-align:center;font-size:1.5rem;font-weight:300;line-height:1.95rem;white-space:pre-line}.home-copy p+p{margin-top:1.95rem}.home-form{margin-top:3.25rem;display:grid;grid-template-columns:1fr 1fr;gap:2.625rem 1.5rem;align-items:end}.email-field{position:relative;display:flex;flex-direction:column;gap:0.5rem}.email-field label{font-size:0.875rem;line-height:1.25rem}.email-field input{width:100%;border:0.125rem solid #a477ff;border-radius:2.5rem;background:#fff;height:4.5rem;padding:0 2rem;font-size:1.25rem;color:var(--ink)}.email-field input::placeholder{color:#aaa9bb}.email-note{grid-column:1;align-self:start;font-size:0.875rem;line-height:1.1375rem}.home-form .glow-button{height:4.5rem}.glow-button{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:0.75rem;border:0;border-radius:3.125rem;padding:0.875rem 2rem;min-height:3.1875rem;color:#fff;text-decoration:none;font-size:1.25rem;line-height:1.625rem;background:radial-gradient(ellipse at 50% 45%,#9871ed 12%,#5626bd 65%,#8c63e2 100%);box-shadow:inset 0 0 0.5625rem 0.25rem #c9b0fc,0 0.4375rem 1.125rem #5d9db54d;transition:background .5s var(--ease),box-shadow .5s var(--ease),filter .5s var(--ease),transform .5s var(--ease)}.glow-button:hover{background:radial-gradient(ellipse at center,#568e30,#17cf62 58%,#538d31);box-shadow:inset 0 0 0.75rem 0.3125rem #d8ecc0,0 0.4375rem 1.25rem #5d9db566}.glow-button:active{transform:scale(.97)}.glow-button:disabled{opacity:.6;filter:saturate(.6)}.coral{background:radial-gradient(ellipse at center,#ff8798,#ff4f6a 70%);box-shadow:inset 0 0 0.625rem 0.25rem #ffc3ca,0 0.4375rem 1.125rem #5d9db54d}
.question-card{position:relative;width:43.9375rem;max-width:calc(100% - 4rem);margin:10.75rem auto 6.25rem;padding:4.5rem 3rem;background:white;border-radius:1.875rem;display:flex;flex-direction:column;align-items:stretch;gap:1.5rem;min-height:var(--panel-height,0rem)}.progress{display:flex;gap:0.75rem;flex-shrink:0;height:0.375rem}.progress span{flex:1;background:#d9d9d9;border-radius:0.25rem}.progress span.done{background:#ff6c80}.question-card h1{font-weight:600;font-size:2rem;line-height:2.375rem;white-space:pre-line;letter-spacing:0}.options{border:0;padding:0;margin:0;display:flex;flex-direction:column;gap:1.25rem;min-width:0}.option{display:flex;align-items:flex-start;gap:1rem;color:#101010;font-weight:300;font-size:1.125rem;line-height:1.4375rem;cursor:pointer;white-space:pre-line}.option input{appearance:none;flex-shrink:0;position:relative;width:1.25rem;height:1.25rem;margin:0.0625rem 0 0;border:0.0625rem solid #0b1516;border-radius:50%;background:white;cursor:pointer}.option input:checked{border-color:#2b6664}.option input:checked:after{content:"";position:absolute;inset:0.1875rem;border-radius:50%;background:#285d59}.question-card textarea{width:100%;min-height:6.25rem;background:#ebebeb;border:0.0625rem solid transparent;border-radius:0.625rem;padding:1rem;font-size:1rem;line-height:1.3125rem;color:var(--ink)}.question-card textarea[hidden]{display:none}.question-card .free-answer{min-height:12.1875rem}.card-actions{display:flex;align-items:center;gap:1rem}.card-actions .glow-button{min-width:11.1875rem;font-size:1rem;line-height:1.3125rem}.back-button{padding:0.625rem;background:none;border:0;color:var(--ink);font-size:0.875rem;text-decoration:underline;text-underline-offset:0.1875rem}.feedback{font-size:0.875rem;line-height:1.4;color:#b23451}.feedback:empty{display:none}.question-card .feedback{margin-top:-0.75rem}.identity-card{width:35.8125rem;margin-top:14.8125rem;padding:3rem;gap:1.5rem;min-height:34.25rem}.identity-card h1{margin-bottom:0}.field-label{display:block;font-size:0.875rem;line-height:1.25rem;margin-bottom:0.5rem;color:var(--ink)}.flat-input{width:100%;height:3.5rem;background:#ebebeb;border:0.0625rem solid transparent;border-radius:0.625rem;padding:0.75rem 1.625rem;font-size:1.25rem;color:var(--ink)}.gender{margin-top:2rem;border:0;padding:0;min-width:0}.gender legend{margin-bottom:0.5rem;padding:0;font-size:0.875rem}.gender-options{display:flex;gap:1rem}.gender .option{flex:1;background:#ebebeb;border:0.125rem solid transparent;border-radius:0.625rem;padding:0.9375rem 1.5rem;font-size:1.25rem;line-height:1.5rem;gap:0.75rem;font-weight:400}.gender .option:has(input:checked){border-color:#a477ff;background:#eee9f6}.gender input{border-color:#9caaac;background:none}.gender input:checked{border-color:#a477ff}.gender input:checked:after{background:#a477ff}.identity-card>.glow-button{margin-top:2rem;min-height:4.5rem}
.intro-title{position:absolute;top:23.75rem;left:50%;width:41.5rem;max-width:80%;transform:translateX(-50%);z-index:4;animation:title-appear 2.4s ease both}.intro-title img{width:100%;height:auto}.intro .art img{animation:art-appear 1.2s ease both;animation-delay:calc(var(--order,0)*40ms)}.intro-skip{position:absolute;z-index:9;top:55rem;left:50%;transform:translateX(-50%);color:white;background:transparent;border:0.0625rem solid #ffffff80;border-radius:2.5rem;padding:0.625rem 1.5625rem;font-size:0.875rem}.scene-in{animation:scene-in .55s ease both}.envelope-layout{position:relative;z-index:3;margin:11.25rem auto 6.25rem;width:56.25rem;max-width:calc(100% - 2rem);height:40.625rem;perspective:75rem}.envelope-graphic{position:absolute;inset:0}.envelope-graphic img{position:absolute;object-fit:fill}.envelope-letter{position:absolute;top:3%;left:20%;width:60%;height:70%;background:#fffdf9;border-radius:0.875rem;padding:1.75rem;text-align:center;z-index:2;transform-origin:50% 100%;animation:letter-in 1s .3s ease both}.envelope-letter h1{font-size:1.75rem;margin:1.25rem 0}.envelope-letter p{font-size:1.25rem}.envelope-front{z-index:4;animation:envelope-front .9s 1.1s ease both;transform-origin:50% 100%}.envelope-flap{z-index:5;transform-origin:50% 0;animation:flap-close 1.1s 1.7s ease both}.envelope-seal{z-index:6;animation:seal-in .6s 2.3s ease both}.envelope-layout.is-flying{animation:letter-fly 1s cubic-bezier(.5,0,.9,.3) forwards}.envelope-status{position:absolute;z-index:6;bottom:2.1875rem;left:0;width:100%;text-align:center;color:white;font-size:1.125rem}
.complete-content{max-width:77.5rem;width:calc(100% - 4rem);margin:14.4375rem auto 7.5rem;display:grid;grid-template-columns:38.1875rem 1fr;gap:4.25rem 2.75rem;align-items:start;position:relative;z-index:1}.result-card{padding:2.5rem 3rem;background:white;border-radius:1.875rem;text-align:center;min-height:28.5625rem}.result-card h1{font-size:2rem;line-height:2.375rem;font-weight:600;margin-bottom:1.5rem}.result-card p{font-size:1.25rem;line-height:1.625rem;font-weight:300}.result-card p+p{margin-top:1.625rem}.share-label{display:block;margin:1.5rem 0;font-size:1rem;font-weight:300}.share-buttons{display:flex;justify-content:center;gap:1.5rem}.share-buttons a,.share-buttons button{display:grid;place-items:center;width:4rem;height:4rem;border:0;border-radius:50%;background:radial-gradient(ellipse at center,#ff6c80,#ff627b);box-shadow:inset 0 0 0.625rem 0.1875rem #ffbdc6,0 0.4375rem 1.125rem #5d9db54d;transition:transform .3s}.share-buttons a:hover,.share-buttons button:hover{transform:translateY(-0.25rem)}.share-buttons img{width:2.1875rem;height:2.1875rem;object-fit:contain}.share-letter{font-size:1.875rem;color:white;font-weight:600;text-decoration:none}.stamp{position:relative;padding:4rem 4rem 5.625rem;transform:rotate(2deg);background:url('assets/stamp.svg') center/100% 100% no-repeat;min-height:30.8125rem;margin-top:-1.125rem}.stamp-inner{background:#faf8f3;border-radius:1.375rem;padding:1.875rem 2rem}.stamp p{font-size:1.25rem;line-height:1.625rem;font-weight:300;margin-bottom:1.5rem}.stamp input,.stamp-dialog input{height:3.5rem;background:#ebebeb;border:0.0625rem solid transparent;border-radius:0.625rem;width:100%;padding:1rem 1.375rem;font-size:1rem}.stamp .glow-button{width:100%;margin-top:1.5rem}.course-card{grid-column:1/-1;min-height:25.5rem;background:#f66f7d;color:white;border-radius:1.875rem;padding:3rem 3rem 3rem 41rem}.course-card h2{font-size:2rem;line-height:2.375rem;margin-bottom:1.25rem;font-weight:600}.course-card p{font-size:1.25rem;line-height:1.625rem;font-weight:300}.course-card .glow-button{margin-top:2.5rem;min-width:16.75rem;min-height:4.5rem}.mobile-email{display:none}.complete .feedback{margin:0.75rem 0 0}.footer{position:relative;z-index:10;background:#193940;color:white;font-family:Montserrat,Arial,sans-serif;min-height:32.375rem;padding:5rem 2rem}.footer-inner{max-width:72.6875rem;margin:0 auto}.footer-top{display:flex;justify-content:space-between;gap:2.5rem}.footer h2{font-size:1.5rem;line-height:1.65rem;font-weight:600;margin-bottom:2.5rem}.social-links{display:flex;gap:1.1875rem}.social-links img{width:4.5rem;height:4.5rem}.social-links a{transition:opacity .3s}.social-links a:hover{opacity:.65}.contact{font-size:1.25rem;line-height:1.375rem;text-decoration:none}.footer-bottom{border-top:0.125rem solid #819c9e;margin-top:6.375rem;padding-top:2.875rem;display:flex;align-items:center;justify-content:space-between;gap:2rem;color:#7f989c}.footer-logo{width:12.375rem;height:auto;opacity:.45}.footer-legal{display:flex;align-items:center;gap:3rem;font-size:1rem;line-height:1.125rem}.footer-legal a{text-decoration:none}.footer-legal a:hover{text-decoration:underline}dialog{border:0;padding:0;max-width:calc(100% - 2rem);background:transparent;overflow:visible;color:var(--ink)}dialog::backdrop{background:#005edbed;backdrop-filter:blur(0.375rem)}.stamp-dialog{width:31.25rem;max-width:100%;padding:3rem;background:url('assets/stamp.svg') center/100% 100% no-repeat}.stamp-dialog form{background:#fffdf9;border-radius:1.125rem;padding:2rem 1.5rem;display:flex;flex-direction:column;gap:1rem}.stamp-dialog p{font-size:1rem;line-height:1.3125rem}.stamp-dialog .field-label{font-size:0.75rem;margin:0.5rem 0 -0.5rem}.stamp-dialog .glow-button{font-size:1rem}.stamp-dialog .feedback:empty{display:none}.fatal{padding:6.25rem 2rem;text-align:center;color:white}.fatal button{margin-top:1.5rem}

@media(max-width:900px){body{font-size:1rem}.stage{min-height:var(--stage-height,64rem);background:radial-gradient(ellipse 100% 75% at 50% 60%,#5a9eff,#005edb 95%)}.brand{top:5.875rem;left:calc(50% - 9.9375rem);width:7.9375rem}.capsule-mark{display:none}.home-title{width:20.325rem;margin-top:15.6875rem;margin-bottom:-0.5625rem;max-width:calc(100% - 4rem)}.home-card{width:20.375rem;max-width:calc(100% - 4rem);min-height:42.4375rem;border-radius:1rem;padding:2.5rem 1rem 11.625rem}.home-copy{font-size:1rem;line-height:1.3rem}.home-copy p+p{margin-top:1.3rem}.home-form{display:flex;flex-direction:column;align-items:center;margin-top:1.5rem;gap:0}.home-form>.glow-button{order:0;width:15.125rem;max-width:100%;height:3.1875rem;min-height:3.1875rem;font-size:1rem;margin-bottom:1rem;padding:0.875rem 1.5rem}.email-field{order:1;max-width:100%;width:14.875rem;gap:0.5rem;text-align:center}.email-field label{font-size:0.625rem;line-height:1.25rem;white-space:nowrap}.email-field input{height:3.1875rem;padding:0 0.875rem;font-size:1rem;border-color:#7954e5}.email-field input::placeholder{color:#643ccf}.email-note{order:2;font-size:0.625rem;line-height:0.8125rem;text-align:center;margin-top:1rem;width:19.3125rem;max-width:calc(100% + 1rem)}.glow-button{font-size:1rem;min-height:3.1875rem}.question-card{width:20.375rem;max-width:calc(100% - 4rem);margin-top:12.0625rem;margin-bottom:6.25rem;padding:3rem 1.5rem;border-radius:1rem;gap:1rem}.progress{gap:0.5rem;height:0.25rem}.question-card h1{font-size:1.25rem;line-height:1.5rem}.options{gap:0.75rem}.option{font-size:0.875rem;line-height:1.125rem;gap:0.75rem}.option input{width:1.25rem;height:1.25rem;margin-top:0}.question-card textarea{font-size:0.875rem;line-height:1.125rem;padding:1rem;min-height:6.25rem}.question-card .free-answer{min-height:9.375rem}.card-actions{gap:0.25rem;flex-wrap:wrap}.card-actions .glow-button{font-size:1rem;min-width:0;width:11.1875rem}.back-button{font-size:0.75rem;padding:0.625rem 0.3125rem}.identity-card{padding:3rem 1.5rem;min-height:29.5rem}.identity-card h1{font-size:1.25rem;line-height:1.5rem}.flat-input{font-size:1rem;padding:0.875rem 1rem;height:3.5rem}.gender{margin-top:0.5rem}.gender-options{gap:0.5rem}.gender .option{font-size:1rem;gap:0.5rem;padding:0.75rem 0.875rem}.identity-card>.glow-button{min-height:3.1875rem;margin-top:1rem;padding:0.75rem 0.625rem;font-size:1.25rem}.gender-long,.seal-long{display:none}.intro-title{top:16.875rem;width:20.375rem;max-width:calc(100% - 4rem)}.intro-skip{top:45rem;white-space:nowrap}.envelope-layout{margin-top:12.5rem;height:22.5rem}.envelope-letter{padding:0.625rem}.envelope-letter h1{font-size:1.125rem;margin:0.625rem 0}.envelope-letter p{font-size:0.875rem}.envelope-status{bottom:1.25rem;font-size:0.875rem}.complete-content{width:20.375rem;max-width:calc(100% - 4rem);margin:12.0625rem auto 6.25rem;display:flex;flex-direction:column;gap:13.125rem}.result-card{width:100%;min-height:34.375rem;padding:2rem 1.5rem;border-radius:1rem}.result-card h1{font-size:1.25rem;line-height:1.5rem;margin-bottom:1.5rem}.result-card p{font-size:1rem;line-height:1.3rem}.result-card p+p{margin-top:1.3rem}.share-label{margin:1.5rem 0 1rem;font-size:0.875rem}.share-buttons{gap:1rem}.share-buttons a,.share-buttons button{width:2.75rem;height:2.75rem}.share-buttons img{width:1.625rem;height:1.625rem}.share-letter{font-size:1.5rem}.stamp{display:none}.mobile-email{display:flex;margin:1.5rem auto 0;min-width:13.75rem}.course-card{width:100%;min-height:30rem;padding:2rem 1.5rem;border-radius:1rem;order:3}.course-card h2{font-size:1.25rem;line-height:1.5rem;margin-bottom:1.5rem}.course-card p{font-size:1rem;line-height:1.3rem}.course-card .glow-button{margin-top:2rem;min-height:3.1875rem;min-width:0;width:100%;font-size:1rem}.footer{min-height:41rem;padding:3rem 2rem 5.25rem}.footer-inner{max-width:33.5rem}.footer-top{display:flex;flex-direction:column;gap:3.75rem}.footer h2{font-size:1.5rem;line-height:1.65rem;margin-bottom:2rem}.social-links{gap:1rem}.social-links img{width:3.75rem;height:3.75rem}.footer-top section+section h2{margin-bottom:1rem}.contact{font-size:1.25rem;line-height:1.625rem;overflow-wrap:anywhere}.footer-bottom{margin-top:4.375rem;padding-top:2.5rem;align-items:flex-start;flex-direction:column;gap:2.5rem}.footer-logo{width:9.6875rem;height:auto}.footer-legal{align-items:flex-start;flex-direction:column;gap:1rem;font-size:1rem;line-height:1.125rem}.stamp-dialog{width:20.375rem;padding:2rem 1.875rem}.stamp-dialog form{padding:1.5rem;gap:1rem}.stamp-dialog p{font-size:0.75rem;line-height:1rem}.stamp-dialog input{height:2.0625rem;font-size:0.625rem;padding:0.5rem 0.75rem}.stamp-dialog .field-label{font-size:0.625rem;line-height:0.8125rem}.stamp-dialog .glow-button{padding:0.75rem;min-height:3.1875rem;font-size:1rem}}
@media(max-width:370px){.brand{left:2rem}.question-card,.home-card,.home-title,.complete-content{max-width:calc(100% - 2rem)}.question-card{padding-left:1.25rem;padding-right:1.25rem}.gender .option{padding:0.75rem 0.5rem}.footer{padding-left:1.5rem;padding-right:1.5rem}.contact{font-size:1.125rem}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.intro{display:none}}

/* Figma image fills use a normalized source crop, independent of node rotation. */
.art-piece{position:absolute;overflow:hidden;opacity:var(--opacity,1)}.art-piece img{position:absolute;inset:0;transform-origin:0 0}.intro .art img{animation:none}.intro .art-piece{animation:art-appear 1.2s ease both;animation-delay:calc(var(--order,0)*40ms)}.stage.home,.stage.intro,.stage.envelope{height:var(--stage-height,64rem)}.glow-button{font-weight:400}.footer-logo{opacity:1}
.question-card h1{letter-spacing:-0.009375rem}

/* Keep the two desktop result columns on the design's shared baseline. */
@media(min-width:901px){.complete-content{grid-template-rows:28.5625rem auto;gap:4.25rem 2.75rem}.stamp{position:absolute;left:40.0625rem;top:-1.4375rem;width:35.125rem;height:30.75rem;min-height:0;margin:0;padding:2.5625rem 2.625rem;transform:rotate(2deg)}.stamp-inner{height:100%;padding:1.875rem 2rem}.stamp p{margin-bottom:1.5rem}.stamp .glow-button{min-height:3.5rem;padding-top:0.75rem;padding-bottom:0.75rem}.course-card{grid-row:2}}
@media(max-width:900px){.complete-content{margin-top:13.625rem;gap:13.25rem}.complete .result-card{min-height:32.125rem;padding-top:2rem;padding-bottom:2rem;display:flex;flex-direction:column}.complete .result-card h1{letter-spacing:-0.009375rem}.result-card .mobile-email{order:2;width:100%;margin-top:1.5rem}.result-card .share-label{order:3;margin-top:1.5rem}.result-card .share-buttons{order:4;gap:0.75rem}.result-card .share-feedback{order:5}.share-buttons a,.share-buttons button{width:3.5rem;height:3.5rem}.course-card{min-height:40.625rem;padding-top:2rem;padding-bottom:18.125rem}.course-card h2{max-width:14.0625rem}.course-card p{font-weight:300}.complete .capsule-mark{display:block;top:6.125rem;right:2rem;width:7.1875rem}}
h1[tabindex="-1"]:focus{outline:none}

.button-icon{flex:none;width:1.5rem;height:1.5rem}.button-icon[src*="heart"]{width:1.5625rem;height:1.5625rem}
.glow-button{background:radial-gradient(ellipse 50% 100.383% at 50% 50%,#9a84ea 0%,#260092 100%);border:0.125rem solid #ffffff1a;box-shadow:inset 0 0.5rem 1.5rem #ffffff3d,inset 0 -1.5rem 2rem #ffffff38,inset 0 0 0.75rem #fff,0 0.25rem 2rem #102d6933,0 0.5rem 1rem #05b5e81f}
.glow-button:hover{background:radial-gradient(ellipse 50% 100.383% at 50% 50%,#00ea7d 0%,#406f1c 100%);box-shadow:inset 0 0.5rem 1.5rem #ffffff3d,inset 0 -1.5rem 2rem #ffffff38,inset 0 0 0.75rem #fff,0 0.25rem 2rem #102d6933,0 0.5rem 1rem #05b5e81f}
.coral{background:radial-gradient(ellipse 50% 100.383% at 50% 50%,#ff8798,#ff4f6a 100%)}
.share-buttons a,.share-buttons button{position:relative;background:none;box-shadow:none;padding:0;border:0;overflow:visible}.share-buttons img{position:absolute;left:50%;top:50%;width:8rem;height:8rem;max-width:none;transform:translate(-50%,-50%);pointer-events:none}
@media(max-width:900px){.share-buttons img{width:7rem;height:7rem}.email-field input{background-image:url('assets/email.svg');background-repeat:no-repeat;background-position:calc(100% - 1.5rem) center;padding-right:2.625rem}}

/* Only source-authored motion is played by motion.js. */
.scene-in,.intro-title,.intro .art-piece,.intro .art img{animation:none!important;translate:none}
.motion-world{position:absolute;inset:0;pointer-events:none;transform-origin:0 0;will-change:auto}
.envelope-native{position:absolute;inset:0;z-index:3;pointer-events:none}.native-letter{position:absolute;transform-origin:0 0}.native-letter .glow-button:disabled{opacity:1;filter:none}.native-letter input:disabled{opacity:1;-webkit-text-fill-color:var(--ink)}.button-label{font:inherit}
@media(min-width:901px){.home-form{margin-top:3.040625rem}}
.native-letter .identity-card{width:573.410034px;height:548px;padding:48px;gap:24px;border-radius:30px}.native-letter .identity-card h1{font-size:32px;line-height:38px;margin:0}.native-letter .field-label{font-size:14px;line-height:20px;margin-bottom:8px}.native-letter .flat-input{height:56px;padding:12px 26px;font-size:20px}.native-letter .gender{margin-top:32px}.native-letter .gender legend{font-size:14px;margin-bottom:8px}.native-letter .gender-options{gap:16px}.native-letter .gender .option{padding:15px 24px;font-size:20px;line-height:24px;gap:12px;border-radius:10px}.native-letter .option input{width:20px;height:20px}.native-letter .identity-card>.glow-button{margin-top:32px;min-height:72px;font-size:20px;padding:14px 32px}.native-letter .button-icon{width:24px;height:24px}.native-letter .gender-long,.native-letter .seal-long{display:inline}

@media(min-width:901px){.question-card .free-answer{min-height:6.25rem}}.card-actions .glow-button{padding-top:.8125rem;padding-bottom:.8125rem}
.envelope-overlay{position:absolute;inset:0;z-index:4;mix-blend-mode:screen;pointer-events:none}

.glow-button{border:0;line-height:1.2}
.stage.complete{height:var(--stage-height)}
@media(min-width:901px){.stamp{left:40.625rem;top:-.875rem;width:35.116234rem;height:30.741163rem;padding:0;background:none}.stamp:before{content:"";position:absolute;left:50%;top:50%;width:36.1875rem;height:32rem;background:url('assets/stamp.svg') center/100% 100% no-repeat;transform:translate(-50%,-50%) rotate(-2deg);pointer-events:none}.stamp-inner{position:absolute;left:2.6875rem;top:2.75rem;width:29.6875rem;height:25.25rem;padding:2rem 1.75rem}.stamp p{width:25.99037rem;max-width:100%;font-size:1.25rem;line-height:1.625rem}.stamp form{width:25.990625rem;max-width:100%}}
@media(max-width:900px){.course-card{min-height:49.75rem}}
/* Figma 1:733/744/741: Smart Animate, Ease in Back, 500 ms. */
.glow-button:not(.coral){isolation:isolate;background:radial-gradient(ellipse at center,#9a84ea 0%,#260092 100%);transition:box-shadow .5s cubic-bezier(.6,-.28,.735,.045)}
.glow-button:not(.coral)::before,.glow-button:not(.coral)::after{content:"";position:absolute;inset:0;border-radius:inherit;z-index:-1;pointer-events:none;opacity:0;transition:opacity .5s cubic-bezier(.6,-.28,.735,.045)}
.glow-button:not(.coral)::before{background:radial-gradient(ellipse at center,#00ea7d 0%,#406f1c 100%)}
.glow-button:not(.coral)::after{background:radial-gradient(ellipse at 50% 100%,#9a84ea 8.173%,#260092 67.788%)}
.glow-button:not(.coral):hover{background:radial-gradient(ellipse at center,#9a84ea 0%,#260092 100%)}
@media(hover:hover){.glow-button:not(.coral):hover::before{opacity:1}}
.glow-button:not(.coral):focus-visible::before{opacity:1}
.glow-button:not(.coral):active{transform:none}
.glow-button:not(.coral):active::after{opacity:1}
.glow-button:disabled::before,.glow-button:disabled::after{opacity:0!important}
.glow-button[aria-busy=true]{cursor:wait;opacity:.65}
/* Fluid mobile layout: available width changes, typography does not zoom. */
@media(max-width:900px){
 html{font-size:16px}
 .question-card,.identity-card,.home-card,.complete-content{width:calc(100% - 4rem);max-width:none;min-height:0}
 .home-title{width:calc(100% - 4rem);max-width:30rem}
 .home-copy,.question-card h1,.option{white-space:normal}
 .question-card,.identity-card{height:auto}
 .result-card{min-height:0!important}
 .email-field input,.flat-input,.question-card textarea,.stamp-dialog input{font-size:16px}
 .home-form>.glow-button,.home-form>.email-field{width:100%;max-width:24rem}
 .home-form .email-note{width:100%;max-width:100%}
 .gender-long,.seal-long{display:inline}
 .gender-options{flex-wrap:wrap}
 .gender .option{min-width:7rem}
 .complete .result-card{min-height:0}
}
/* Правки 18.11.2026 */
@media(min-width:901px){html{font-size:calc(100vw / 90)}}
.glow-button:not(.coral),.glow-button:not(.coral)::before,.glow-button:not(.coral)::after{transition-duration:.15s;transition-timing-function:ease-out}
input:focus-visible,textarea:focus-visible,.option input:focus-visible{outline:0}
.question-card textarea:focus,.flat-input:focus,.stamp input:focus,.stamp-dialog input:focus{outline:0;border-color:#c9b9f5}
.share-buttons a,.share-buttons button{background:radial-gradient(ellipse 50% 100% at 50% 50%,#f6737d 0%,#be192a 100%);box-shadow:0 .25rem 2rem #102d6933,0 .5rem 1rem #05b5e81f,inset 0 .5rem 1.5rem #ffffff3d,inset 0 -1.5rem 2rem #ffffff38,inset 0 0 .75rem #fff}
.share-buttons img{position:static;width:100%;height:100%;transform:none}
@media(max-width:900px){
 .share-buttons img{width:100%;height:100%}
 .card-actions .glow-button{width:100%}
 .capsule-mark{display:block;top:6.125rem;right:2rem;width:7.1875rem}
 .home .capsule-mark{display:none}
 .complete .result-card{padding-bottom:3.25rem}
}
@media(min-width:901px){.home-form{row-gap:1rem}}
/* Плавна зміна висоти картки: поле «Свой вариант», декор і висота сцени. */
.custom-answer{display:grid;grid-template-rows:0fr;opacity:0;margin-top:-1.5rem;transition:grid-template-rows .35s ease,opacity .25s ease,margin-top .35s ease}
.custom-answer>div{min-height:0;overflow:hidden}
.custom-answer.is-open{grid-template-rows:1fr;opacity:1;margin-top:0}
.art-piece{transition:top .35s ease}
.stage.is-ready{transition:min-height .35s ease,height .35s ease}
@media(max-width:900px){.custom-answer{margin-top:-1rem}.custom-answer.is-open{margin-top:0}}
@media(min-width:901px){.brand{left:6.25rem}.capsule-mark{right:6.25rem}}
@media(max-width:900px){.question-card .free-answer{min-height:var(--free-h,9.375rem);height:var(--free-h,9.375rem)}}
@media(max-width:900px){.home-copy,.question-card h1,.option,.result-card p,.course-card h2,.course-card p{white-space:pre-line}}
/* Figma «Форма обращения» моб.: 326×472, padding 48/24, gap 8, блоки по 116, кнопка 72, «Муж/Жен», «Запечатать». */
@media(max-width:900px){
 #identity-form{padding:3rem 1.5rem;gap:.5rem}
 #identity-form>div{padding-bottom:2rem}
 #identity-form .gender{margin-top:0;padding-bottom:2rem}
 #identity-form .gender-options{flex-wrap:nowrap;gap:.9375rem}
 #identity-form .gender .option{min-width:0;padding:1.0625rem 1.5rem;font-size:1rem;line-height:1.3125rem;gap:.75rem}
 #identity-form .gender-long,#identity-form .seal-long{display:none}
 #identity-form>.glow-button{margin-top:0;min-height:4.5rem;font-size:1rem;padding:1rem 4rem}
}
/* Figma «Basic stamp» моб.: 322×425, своя вертикальна марка, вкладка 260 r15, padding 24, текст 12/15.6, кнопки 51, відступи 24/12. */
@media(max-width:900px){
 .stamp-dialog{width:20.125rem;padding:2rem 1.875rem;background-image:url('assets/stamp-mobile.svg')}
 .stamp-dialog form{border-radius:.9375rem;padding:1.5rem;gap:0}
 .stamp-dialog p{font-size:.75rem;line-height:.975rem}
 .stamp-dialog .field-label{font-size:.5625rem;line-height:.65rem;margin:1.5rem 0 .5rem}
 .stamp-dialog input{height:2rem;padding:0 .75rem;border-radius:.325rem;font-size:16px}
 .stamp-dialog .glow-button{min-height:3.1875rem;font-size:1rem;line-height:1.2;margin-top:1.5rem;padding:.75rem 1rem;gap:.375rem;white-space:nowrap}
 .stamp-dialog .glow-button.coral{margin-top:.75rem}
 .stamp-dialog .feedback{margin-top:.5rem}
}
/* Правки 25.11.2026 */
.loading{min-height:100vh;min-height:100svh}main[aria-busy=true]~.footer{visibility:hidden}
.toast{position:fixed;z-index:200;left:50%;bottom:2rem;max-width:calc(100% - 2rem);margin:0;padding:.875rem 1.5rem;border-radius:1rem;background:#fff;color:var(--ink);font-size:1rem;line-height:1.3;text-align:center;box-shadow:0 .5rem 2rem #102d6959;transform:translate(-50%,1rem);opacity:0;pointer-events:none;transition:opacity .25s ease,transform .25s ease}.toast.is-shown{opacity:1;transform:translate(-50%,0)}
@media(max-width:900px){.toast{bottom:1.5rem;font-size:.875rem}}
@media(min-width:901px){.stage:not(.envelope) .art{-webkit-mask-image:linear-gradient(to right,transparent var(--edge,-200px),#000 calc(var(--edge,-200px) + 6rem),#000 calc(100% - var(--edge,-200px) - 6rem),transparent calc(100% - var(--edge,-200px)));mask-image:linear-gradient(to right,transparent var(--edge,-200px),#000 calc(var(--edge,-200px) + 6rem),#000 calc(100% - var(--edge,-200px) - 6rem),transparent calc(100% - var(--edge,-200px)))}}
@media(max-width:900px){.stage.home .home-card{min-height:calc(var(--stage-height,0px) - var(--card-top,0px) + 2px)}.footer{padding-left:max(2rem,env(safe-area-inset-left));padding-right:max(2rem,env(safe-area-inset-right));padding-bottom:max(5.25rem,calc(env(safe-area-inset-bottom) + 2rem))}}
.stamp-dialog{position:relative}.dialog-art{display:none;position:absolute;inset:0;z-index:2;pointer-events:none}
@media(max-width:900px){.dialog-art{display:block}}
/* Client 25.11 18:01: mobile — logos right under the browser bar, the empty Figma strip above them is cut off. */
@media(max-width:900px){.stage:not(.intro):not(.envelope){margin-top:-4rem}}
/* Client 26.11: page frozen under the email dialog; on phones the page itself is hidden, so nothing shows through around the browser bars. */
html.dialog-open{overflow:hidden;background:var(--blue)}html.dialog-open body{position:fixed;left:0;right:0;width:100%;overflow:hidden}
@media(max-width:900px){html.dialog-open main,html.dialog-open .footer{visibility:hidden}}
