:root{color-scheme:light;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;color:#382b33;background:#eee8e5;font-synthesis:none;--ink:#47323e;--muted:#806d76}*{box-sizing:border-box}html{min-height:100%}body{margin:0;min-height:100svh;display:flex;flex-direction:column;overflow-x:hidden;background:radial-gradient(ellipse at 45% 20%,#fffdf9 0%,#f1ebe7 45%,#d2c5c8 100%)}button,input,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.5;cursor:default}button:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid #96677f;outline-offset:2px}.film-head,.film-foot{position:relative;z-index:5;display:flex;justify-content:space-between;align-items:center;gap:12px;padding:19px clamp(16px,4vw,58px);font-size:10px;letter-spacing:.14em;color:#73616a;flex:none}.film-head .wordmark{font-weight:600;white-space:nowrap}.film-head small{font-size:9px;font-weight:400;margin-left:9px;opacity:.65}.film-head div{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:7px}.film-head button{padding:7px 11px;border-radius:30px;background:#ffffff70;border:1px solid #ffffffa0;color:#614956;font-size:11px;letter-spacing:0}.film-head button[aria-pressed=false]{opacity:.7}.film-foot{padding-block:14px;font-size:9px;opacity:.8}.scene{flex:1;min-height:510px;position:relative;isolation:isolate;overflow:hidden;display:grid;place-items:center}.scene canvas{position:absolute;inset:0;width:100%;height:100%;display:block;pointer-events:none;z-index:1}.stage-floor{position:absolute;inset:0;background:radial-gradient(ellipse at 50% 82%,#a78a9b20,transparent 55%);pointer-events:none;z-index:0}.screen-ui{position:absolute;z-index:2;left:0;top:0;width:100%;height:100%;display:grid;place-items:center;overflow:hidden;color:var(--ink);background:linear-gradient(132deg,#fff 5%,#fffdfc 50%,#f3e8ec 100%);opacity:0;pointer-events:none;will-change:opacity;min-width:0}.screen-ui.ready{opacity:1;pointer-events:auto}.screen-ui .screen-content{width:min(100%,350px);max-height:100%;overflow:auto;overscroll-behavior:contain;padding:12px 14px;scrollbar-width:thin;text-align:center;min-width:0}.brand{display:flex;flex-direction:column;gap:4px;margin:0 auto 14px}.brand span{font-size:32px;font-weight:650;letter-spacing:.24em;padding-left:.24em;line-height:1}.brand small{font-size:9px;letter-spacing:.43em;padding-left:.43em;color:#926d80}.auth-panel{padding:15px 18px 12px;border:1px solid #e8dde1;border-radius:16px;background:#fff9;box-shadow:0 12px 34px #51374b0e;min-width:0;overflow-wrap:anywhere}.auth-panel h1{font-size:22px;line-height:1.18;font-weight:600;letter-spacing:-.035em;margin:0 0 9px}.auth-panel p{font-size:13px;color:var(--muted);line-height:1.5;margin:6px 0 12px}.auth-panel form{display:grid;gap:8px;text-align:left}.auth-panel label{display:block;font-size:11px;color:#705a65}.auth-panel input,.auth-panel select{display:block;width:100%;min-width:0;max-width:100%;min-height:39px;margin-top:4px;padding:9px 11px;border:1px solid #dbced4;background:#fff;color:#3a2b34;border-radius:9px;font-size:16px}.auth-panel input::placeholder{color:#a99aa3}.primary{width:100%;border:0;border-radius:9px;padding:11px 12px;min-height:41px;color:#fff;background:linear-gradient(125deg,#825a6b,#513744);font-size:13px;font-weight:600;box-shadow:0 4px 13px #65434e20}.tabs{display:flex;gap:3px;padding:3px;margin-bottom:10px;border:1px solid #e8dfe3;border-radius:10px;background:#eee7ea}.tabs button{flex:1;min-width:0;border:0;border-radius:7px;background:transparent;color:#7b6571;font-size:12px;padding:9px 4px}.tabs button.active{background:#fff;box-shadow:0 2px 6px #402a3b12;color:#4e3645;font-weight:600}.link{border:0;background:none;color:#80586c;text-decoration:underline;text-underline-offset:3px;font-size:12px;padding:8px 4px}.error{font-size:12px!important;color:#a0384d!important;margin:2px 0 0!important}.error:empty{display:none}.screen-foot{position:absolute;bottom:8px;left:14px;right:14px;font-size:7px;letter-spacing:.2em;color:#a18b96;display:flex;justify-content:space-between;pointer-events:none}.film-caption{position:absolute;bottom:5%;left:50%;transform:translateX(-50%);z-index:0;display:flex;align-items:center;gap:13px;font-size:8px;letter-spacing:.18em;color:#a28e98;white-space:nowrap;pointer-events:none}.film-line{width:28px;height:1px;background:#b6a4ad}.scene.inside .screen-ui{position:fixed;inset:0!important;width:100%!important;height:100%!important;z-index:10}.scene.inside .screen-content{width:min(100%,420px);padding:20px}.scene.inside .brand{margin-bottom:20px}.scene.inside .auth-panel{border:0;box-shadow:none;background:transparent;padding:15px}.scene.inside .auth-panel h1{font-size:clamp(29px,5vw,44px);line-height:1.15}.scene.inside .auth-panel form{gap:12px}.scene.inside .screen-foot,.scene.inside .film-caption{display:none}.scene.inside{overflow:visible;isolation:auto}.scene.inside canvas{visibility:hidden}.fade-out .screen-content{animation:exit .65s ease both}.auth-panel.reveal{animation:panel-in .34s cubic-bezier(.2,.7,.2,1) both}@keyframes panel-in{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}@keyframes exit{to{opacity:0}}.scene.fallback .screen-ui{position:relative;width:min(92%,440px)!important;height:auto!important;left:auto!important;top:auto!important;border:1px solid #e8dce1;border-radius:24px;min-height:390px;box-shadow:0 30px 90px #71556220;padding:18px 5px}.scene.fallback canvas,.scene.fallback .film-caption{display:none}.scene.fallback.inside .screen-ui{position:fixed;border-radius:0;box-shadow:none;border:0}.scene.fallback .screen-foot{display:none}.no-motion *,.no-motion *::before{animation-duration:.001ms!important;transition-duration:.001ms!important;animation-delay:0ms!important;transition-delay:0ms!important}body.no-motion *,body.no-motion *::before{animation-duration:.001ms!important;transition-duration:.001ms!important;animation-delay:0ms!important;transition-delay:0ms!important}
@media(max-width:640px){.film-head{padding:11px 12px;align-items:flex-start}.film-head small{display:none}.film-head div{gap:4px}.film-head button{padding:7px 8px;font-size:10px}.film-foot{padding:9px 12px;font-size:8px;letter-spacing:.07em}.scene{min-height:460px}.screen-ui .screen-content{width:min(100%,350px);padding:12px 14px}.screen-foot{display:none}.brand{margin-bottom:12px}.film-caption{bottom:3%;font-size:7px}.scene.mobile-ready .screen-ui{overflow:auto}.scene.mobile-ready .screen-content{max-height:100%;overflow:auto}.auth-panel{padding:14px}.scene.fallback .screen-ui{min-height:360px}}
@media(max-height:600px) and (min-width:641px){.film-head,.film-foot{padding-block:9px}.scene{min-height:420px}.screen-ui .brand{margin-bottom:8px}.screen-ui .brand span{font-size:25px}.screen-ui .auth-panel{padding:10px 12px}.screen-ui .screen-content{padding:8px 10px}.screen-foot{display:none}}

/* 10.4.8: keep manual replay available even with a system reduced-motion preference. */
.scene.fallback.fallback-intro .screen-ui,.scene.fallback.fallback-enter .screen-ui{opacity:1;pointer-events:none;will-change:transform,opacity}

/* 10.4.9: clearer cinematic intro, keep auth hidden until the folded-to-open animation finishes. */
body:not(.intro-complete) .screen-ui.ready{pointer-events:none}

/* Cinematic handoff — identical background on both documents. */
.core-arrival-cover{position:fixed;inset:0;z-index:2147483647;display:grid;place-items:center;background:radial-gradient(ellipse at 36% 30%,#fffdfb 0%,#faf5f4 49%,#eee3e8 100%);color:#654757;opacity:0;visibility:hidden;pointer-events:none;isolation:isolate}
.core-arrival-signature{display:flex;flex-direction:column;align-items:center;gap:9px;text-align:center;user-select:none}
.core-arrival-signature>span{font:600 31px/1 -apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;letter-spacing:.24em;padding-left:.24em}
.core-arrival-signature>small{font:500 9px/1.5 -apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;letter-spacing:.39em;padding-left:.39em;color:#9a7789}
.core-arrival-signature>i{display:block;width:42px;height:1px;background:linear-gradient(90deg,transparent,#b793a5,transparent);margin-top:10px}

body.core-handoff .core-arrival-cover{visibility:visible;pointer-events:auto;animation:coreHandoffIn 760ms cubic-bezier(.25,.62,.25,1) both}@keyframes coreHandoffIn{from{opacity:0}to{opacity:1}}body.core-handoff .screen-ui{pointer-events:none}

body.core-entering .screen-ui{transition:transform 820ms cubic-bezier(.18,.72,.18,1),opacity 820ms cubic-bezier(.18,.72,.18,1)}
body.core-entering .screen-content{transition:opacity 720ms ease}

/* 10.7.2.7.3 — full-bleed welcome stage; the controls float over one continuous background. */
html[data-core-theme-surface="welcome"] body{position:relative;min-height:100svh}
html[data-core-theme-surface="welcome"] .film-head,html[data-core-theme-surface="welcome"] .film-foot{position:absolute;left:0;right:0;background:transparent!important;border:0!important;box-shadow:none!important;pointer-events:none}
html[data-core-theme-surface="welcome"] .film-head{top:0;padding-top:max(19px,env(safe-area-inset-top))}
html[data-core-theme-surface="welcome"] .film-head button{pointer-events:auto}
html[data-core-theme-surface="welcome"] .film-foot{bottom:0;padding-bottom:max(14px,env(safe-area-inset-bottom))}
html[data-core-theme-surface="welcome"] .scene{min-height:100svh;overflow:visible}
html[data-core-theme-surface="welcome"] .stage-floor{background:transparent!important}
html[data-core-theme-surface="welcome"] .film-caption{bottom:8%}
@media(max-width:640px){html[data-core-theme-surface="welcome"] .film-head{padding-top:max(10px,env(safe-area-inset-top))}html[data-core-theme-surface="welcome"] .film-foot{padding-bottom:max(9px,env(safe-area-inset-bottom))}html[data-core-theme-surface="welcome"] .scene.mobile-ready.auth-ready:not(.inside):not(.cinema-screen-aligned) .screen-ui{left:50%!important;top:50%!important;transform:translate(-50%,-50%);width:min(92%,420px)!important;height:auto!important;max-height:calc(100svh - 110px);border-radius:20px;box-shadow:0 14px 60px #261d2633;border:1px solid var(--theme-border,#e8dce1);overflow:auto}html[data-core-theme-surface="welcome"] .scene.mobile-ready.auth-ready:not(.inside) canvas{opacity:.17!important;transition:opacity .5s ease}}

/* Welcome Cinema: geometry is driven by the renderer, not CSS interpolation. */
body.core-entering .scene:not(.fallback) .screen-ui,body.core-entering .scene:not(.fallback) .screen-content{transition:none!important}
@media(max-width:640px){
 html[data-core-theme-surface="welcome"] body.core-entering .scene.mobile-ready.auth-ready:not(.inside) canvas{transition:none!important}
 html[data-core-theme-surface="welcome"] body.core-entering .scene.mobile-ready.auth-ready:not(.inside) canvas{opacity:var(--core-cinema-mobile-opacity,1)!important}
 html[data-core-theme-surface="welcome"] .scene.inside .screen-ui{transform:none!important}
}

@media(max-width:640px){
 body:not(.no-motion):not(.core-entering) .scene.mobile-ready.auth-ready:not(.inside) .screen-ui{animation:coreCinemaCardIn 420ms ease-out both}
 @keyframes coreCinemaCardIn{from{opacity:0}to{opacity:1}}
}

/* Let the film chrome dissolve before the display fills the viewport. */
.film-head,.film-foot,.film-caption{transition:opacity 580ms ease}
body.core-entering :is(.film-foot,.film-caption),body:has(.scene.inside) :is(.film-head,.film-foot,.film-caption){opacity:0;pointer-events:none}
body.core-entering .film-head{opacity:.30}
body:has(.scene.inside) .film-head button{pointer-events:none}

/* Explicit audio activation when autoplay is unavailable. */
.core-intro-sound-gate{position:fixed;z-index:10000;bottom:max(7vh,24px);left:50%;transform:translateX(-50%);width:min(440px,calc(100vw - 32px));padding:20px 24px;box-sizing:border-box;border-radius:20px;background:var(--theme-panel,#fff9f5);color:var(--theme-text,#392e37);border:1px solid var(--theme-border,#dfd2d7);box-shadow:0 12px 48px #18121d25;text-align:center}.core-intro-sound-gate small{font-size:10px;letter-spacing:.14em}.core-intro-sound-gate strong{display:block;font:25px/1.2 Georgia,serif;margin:8px 0}.core-intro-sound-gate p{font:13px/1.4 system-ui;margin:0 0 14px}.core-intro-sound-gate div{display:flex;flex-wrap:wrap;gap:8px;justify-content:center}.core-intro-sound-gate button{font:13px system-ui;padding:11px 16px;border:1px solid var(--theme-border,#dfd2d7);border-radius:24px;color:inherit;background:transparent;cursor:pointer}.core-intro-sound-gate [data-intro-play]{background:var(--theme-dock,#332830);color:var(--theme-brand,#f2d2df)}


/* 10.8.6 RC2.2 — richer material response for the hero laptop scene */
.scene::before{content:'';position:absolute;inset:0;pointer-events:none;z-index:1;background:radial-gradient(circle at 50% 58%,rgba(255,255,255,.06),transparent 24%),radial-gradient(circle at 50% 58%,rgba(60,45,56,.05),transparent 48%);mix-blend-mode:soft-light}
.scene::after{content:'';position:absolute;inset:0;pointer-events:none;z-index:1;background:repeating-linear-gradient(110deg,rgba(255,255,255,.018) 0 2px,rgba(0,0,0,0) 2px 8px);opacity:.35;mix-blend-mode:overlay}

.brand span{text-shadow:0 1px 0 rgba(255,255,255,.45),0 12px 24px rgba(73,53,63,.08)}
.scene .screen-ui{box-shadow:0 18px 60px rgba(55,39,48,.06)}

.core-personal-hello{overflow-wrap:anywhere;text-wrap:balance}.core-personal-hello span,.core-personal-hello strong{display:inline-block;max-width:100%;overflow-wrap:anywhere}.core-personal-hello strong{font-weight:500;color:var(--ink,#47323e)}.core-hello-subtitle{opacity:1}.core-arrival-signature>span{text-shadow:0 0 25px currentColor}.core-arrival-signature>i{width:76px}body.core-handoff:not(.no-motion) .core-arrival-signature>span{animation:coreHandoffLetters .76s ease-out both}body.core-handoff:not(.no-motion) .core-arrival-signature>i{animation:coreHandoffRule .7s ease-out both}@keyframes coreHandoffLetters{from{letter-spacing:.4em;opacity:.3}to{letter-spacing:.24em;opacity:1}}@keyframes coreHandoffRule{from{transform:scaleX(.15);opacity:.2}to{transform:scaleX(1);opacity:1}}

/* 10.8.7.6 — stable viewport during camera zoom; forms remain scrollable. */
html[data-core-theme-surface="welcome"],html[data-core-theme-surface="welcome"] body{height:100%;width:100%;overflow:hidden!important;overscroll-behavior:none}
html[data-core-theme-surface="welcome"] .scene{height:100svh;min-height:0!important;max-height:100svh;overflow:hidden!important;flex:none;width:100%}
html[data-core-theme-surface="welcome"] .scene.inside{isolation:auto;overflow:hidden!important}
html[data-core-theme-surface="welcome"] .scene.inside .screen-ui{height:100svh!important;overflow:hidden!important}
html[data-core-theme-surface="welcome"] .screen-content{scrollbar-width:none;overscroll-behavior:contain}
html[data-core-theme-surface="welcome"] .screen-content::-webkit-scrollbar{display:none}
body.core-entering .screen-content{overflow:hidden!important}
.core-access-title{white-space:nowrap;font-size:clamp(21px,5.6vw,42px)!important;letter-spacing:-.025em}
.core-access-title span{display:inline-block;opacity:0;transform:translateY(4px);animation:coreAccessLetter 360ms calc(140ms + var(--letter)*85ms) cubic-bezier(.22,.7,.25,1) both}
.core-access-note{animation:coreAccessFade 600ms 1270ms both}.core-access-next{animation:coreAccessFade 500ms 1450ms both}
@keyframes coreAccessLetter{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}
@keyframes coreAccessFade{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}
body.no-motion .core-access-title span{opacity:1;transform:none}
