.welcome-page { background: var(--ui-surface); color: var(--ui-text); }
.welcome-page::before { content:""; position:absolute; z-index:-1; top:0; right:0; width:48%; height:750px; max-width:800px; background:radial-gradient(ellipse at 75% 25%,#ece6f582,transparent 68%); pointer-events:none; }
.welcome-page :is(a,button,input):focus-visible { outline: 3px solid var(--ui-focus); outline-offset:4px; }
.welcome-wrap { width:min(1296px,calc(100% - 112px)); margin:0 auto; }
.welcome-skip { position:fixed; top:12px; left:15px; z-index:100; padding:12px 18px; color: var(--ui-on-action); background: var(--ui-action); border-radius: var(--ui-radius-card); transform:translateY(-170%); }
.welcome-skip:focus { transform:translateY(0); }
.welcome-header { display:flex; align-items:center; gap:26px; min-height:112px; border-bottom: 1px solid var(--ui-border); }
.welcome-brand { display:inline-flex; align-items:center; gap:10px; flex-shrink:0; color: var(--ui-text-secondary); font-size:25px; font-weight:750; letter-spacing:-.8px; }
.welcome-brand > img { width:42px; height:42px; image-rendering:pixelated; }
.welcome-brand-ai { margin-left:4px; font-weight:650; letter-spacing:-1px; }
.welcome-header-tag { color: var(--ui-text-secondary); font-size:14px; line-height:1.8; border-left: 1px solid var(--ui-border); padding-left:25px; }
.welcome-header > nav { display:flex; align-items:center; gap:28px; margin-left:auto; font-size:14px; }
.welcome-header > nav > a { display:inline-flex; min-height:42px; align-items:center; color: var(--ui-text-secondary); font-weight:550; }
.welcome-header > nav .welcome-header-join { padding:8px 19px; border: 1px solid var(--ui-border); color: var(--ui-accent); background: var(--ui-surface-subtle); border-radius: var(--ui-radius-control); }
.welcome-hero-layout { display:grid; grid-template-columns:minmax(0,1fr) minmax(365px,440px); gap:clamp(40px,7vw,106px); align-items:start; padding:60px 0 52px; }
.welcome-story { min-width:0; padding-top:17px; }
.welcome-eyebrow { display:flex; align-items:center; gap:8px; margin:0 0 22px; font-size:14px; line-height:1.8; letter-spacing:.8px; color: var(--ui-text-secondary); }
.welcome-eyebrow > span { font-size:20px; color: var(--ui-text-secondary); }
.welcome-story h1 { color: var(--ui-title); font-size:clamp(38px,4.45vw,61px); font-weight:720; line-height:1.45; letter-spacing:-1.6px; white-space:normal; margin:0; position:relative; }
.welcome-title-emphasis { position:relative; display:inline-block; color: var(--ui-title); white-space:nowrap; }
.welcome-title-emphasis > span { position:absolute; left:0; right:0; bottom:-3px; height:10px; background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='12' viewBox='0 0 240 12'%3E%3Cpath d='M3 8Q100 -3 237 6' stroke='%23d9cce5' stroke-width='4' stroke-linecap='round' fill='none'/%3E%3C/svg%3E") center/100% 100% no-repeat; }
.welcome-intro { max-width:490px; color: var(--ui-text-secondary); font-size:17px; line-height:2; margin:25px 0 0; }
.welcome-main-actions { display:flex; align-items:center; gap:21px; flex-wrap:wrap; margin:28px 0 0; }
.welcome-join,.welcome-login { display:inline-flex; align-items:center; justify-content:center; min-height:48px; font-size:14px; line-height:1.8; }
.welcome-join { color: var(--ui-on-action); border: 1px solid var(--ui-action); background: var(--ui-action); padding:10px 23px; border-radius: var(--ui-radius-control); box-shadow: var(--ui-shadow-soft); }
.welcome-join:hover { background: var(--ui-action-hover); border-color: var(--ui-action); }
.welcome-login { color: var(--ui-text-secondary); padding:8px 0; text-decoration:underline; text-decoration-color:#ccc2d3; text-underline-offset:5px; }
.welcome-login:hover { color: var(--ui-text-secondary); }
.welcome-scene { position:relative; min-height:255px; margin:22px 0 0; max-width:540px; isolation:isolate; }
.welcome-scene-halo { position:absolute; z-index:-1; width:400px; max-width:94%; height:160px; left:8%; top:47px; background:#f0f4e9; border-radius:60% 48% 46% 48%; transform:rotate(-7deg); }
.welcome-mouse { position:absolute; bottom:47px; object-fit:contain; image-rendering:pixelated; filter:drop-shadow(0 6px 0 #9eac9820); }
.welcome-mouse-left { left:2%; width:130px; height:130px; transform:rotate(-6deg); }
.welcome-mouse-center { left:30%; width:174px; height:174px; bottom:41px; }
.welcome-mouse-right { right:1%; width:134px; height:134px; transform:rotate(7deg); }
.welcome-scene-note { position:absolute; z-index:-1; top:20px; left:11%; width:147px; min-height:132px; padding:17px 17px 14px; border:1px solid #e0d7e8; border-radius:4px 12px 12px 4px; background:#fff; transform:rotate(-8deg); box-shadow: var(--ui-shadow-soft); }
.welcome-scene-note > span { display:block; color:#9175a1; font-size: 14px; line-height:1.8; white-space:nowrap; }
.welcome-scene-note i { display:block; height:1px; width:80%; background:#e3dbe9; margin-top:13px; }
.welcome-scene-note i:nth-of-type(2) { width:63%; }
.welcome-scene-note b { position:absolute; right:14px; bottom:12px; color:#b7c69a; font-size:24px; font-weight:400; }
.welcome-scene-spark { position:absolute; width:27px; height:27px; fill:#bdcda7; }
.welcome-scene-spark.spark-one { top:32px; right:24%; width:32px; height:32px; }
.welcome-scene-spark.spark-two { top:94px; right:3%; width:19px; height:19px; fill:#cbb8d9; }
.welcome-scene-ground { position:absolute; bottom:43px; left:0; right:0; height:1px; background:linear-gradient(90deg,transparent,#c8d7ba 18%,#c8d7ba 82%,transparent); }
.welcome-scene-caption { color:#8a9586; position:absolute; bottom:0; left:0; right:0; margin:0; font-size:13px; line-height:1.9; text-align:center; letter-spacing:.7px; }
.welcome-account-column { min-width:0; padding-top:3px; }
.welcome-account-kicker { color: var(--ui-accent); font-size:12px; line-height:1.8; margin:0 0 13px; text-align:center; letter-spacing:.6px; }
.welcome-account-kicker span { color: var(--ui-accent); margin-right:5px; }
.welcome-page #account-root { max-width:none; scroll-margin-top:24px; }
.welcome-page .auth-card { padding:29px 31px 27px; background: var(--ui-surface); border: 1px solid var(--ui-border); border-radius: var(--ui-radius-card); box-shadow: var(--ui-shadow-soft); }
.welcome-page .account-tabs { border: 1px solid var(--ui-border); border-radius: var(--ui-radius-control); padding:4px; background: var(--ui-surface-subtle); margin-bottom:25px; }
.welcome-page .account-tabs button { color: var(--ui-title); border-radius: var(--ui-radius-control); font-size:14px; min-height:40px; }
.welcome-page .account-tabs button.is-active { color: var(--ui-title); font-weight:600; background: var(--ui-accent-soft); box-shadow: var(--ui-shadow-soft); }
.welcome-page .auth-card h2 { color: var(--ui-title); font-size:23px; }
.welcome-page .auth-form-intro { color: var(--ui-text-secondary); font-size:14px; margin-bottom:23px; }
.welcome-page .account-field { margin-top:19px; }
.welcome-page .account-field > label { color: var(--ui-text-secondary); }
.welcome-page .account-field input { min-height:47px; border-color: var(--ui-border-strong); border-radius: var(--ui-radius-input); background: var(--ui-surface); color: var(--ui-text); }
.welcome-page .account-field input::placeholder { color: var(--ui-text-secondary); }
.welcome-page .account-field-hint { font-size: 14px; color: var(--ui-title); line-height:1.9; }
.welcome-page .account-submit { min-height:47px; border-radius: var(--ui-radius-card); color: var(--ui-on-action); background: var(--ui-action); font-size:14px; }
.welcome-page .account-submit:hover { background: var(--ui-action-hover); }
.welcome-page .account-submit:disabled { color: var(--ui-text-disabled); background: var(--ui-surface-disabled); background-color: var(--ui-surface-disabled);border-color: var(--ui-border);}
.welcome-page .account-form-note { color: var(--ui-title); font-size:13px; margin-top:17px; }
.welcome-page .account-form-note button { color: var(--ui-title); }
.welcome-page .password-field > button { color: var(--ui-text-secondary); font-size: 14px; }
.welcome-page .account-error { font-size:14px; }
.welcome-page .registration-methods { gap:20px; }
.welcome-page .registration-methods button { color: var(--ui-text-secondary); }
.welcome-page .registration-methods button.is-active { color: var(--ui-text-secondary); border-color: var(--ui-border-strong); }
.welcome-page .account-gender-field { margin-top:19px; }
.welcome-page .account-gender-options label { border-radius: var(--ui-radius-label); }
.welcome-page .account-consent-choice { line-height:1.85; }
.welcome-page .account-consent-note { font-size:13px; }
.welcome-page .account-unavailable { padding:28px; margin:0; background: var(--ui-surface); border-radius: var(--ui-radius-card); }
.welcome-page .account-unavailable h1 { font-size:22px; color: var(--ui-title); }
.welcome-page .account-unavailable p:not(.eyebrow) { font-size:16px; color: var(--ui-accent); }
.welcome-account-bottom { color: var(--ui-title); font-size:12px; line-height:1.9; text-align:center; margin:16px 0 0; }
.welcome-account-loading { min-height:430px; background: var(--ui-surface); border: 1px solid var(--ui-border); border-radius: var(--ui-radius-card); display:flex; align-items:center; justify-content:center; flex-direction:column; gap:12px; color: var(--ui-title); font-size:14px; }
.welcome-account-loading > span { width:28px; height:28px; border-radius:50%; border: 2px solid var(--ui-border); border-top-color: var(--ui-border-strong); animation:welcome-loading 1s linear infinite; }
.welcome-path { border-top: 1px solid var(--ui-border); display:grid; grid-template-columns:220px minmax(0,1fr); gap:44px; padding:42px 0 43px; }
.welcome-path-heading > p { color: var(--ui-text-secondary); font-size:13px; letter-spacing:.5px; margin:0 0 12px; line-height:1.8; }
.welcome-path h2 { color: var(--ui-title); font-size:23px; font-weight:600; letter-spacing:-.4px; line-height:1.8; margin:0; }
.welcome-path ol { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:28px; list-style:none; padding:0; margin:0; }
.welcome-path li { min-width:0; }
.welcome-path-icon { color: var(--ui-text-secondary); display:inline-flex; align-items:center; justify-content:center; width:37px; height:37px; background: var(--ui-surface-subtle); border-radius: var(--ui-radius-label); }
.welcome-path-icon .icon { width:20px; height:20px; stroke-width:1.5; }
.welcome-path h3 { color: var(--ui-title); font-size:16px; font-weight:600; margin:12px 0 7px; line-height:1.8; }
.welcome-path li p { color: var(--ui-text-secondary); font-size:13px; line-height:1.95; margin:0; }
.welcome-footer { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:18px; padding:24px 0 30px; border-top: 1px solid var(--ui-border); font-size:12px; color: var(--ui-text-secondary); line-height:1.9; }
.welcome-footer > div { display:flex; align-items:center; gap:8px; }
.welcome-footer > div > img { width:25px; height:25px; image-rendering:pixelated; opacity:.7; }
.welcome-footer-separator { color: var(--ui-text-secondary); padding:0 5px; }
.welcome-footer nav { display:flex; align-items:center; flex-wrap:wrap; gap:20px; }
.welcome-footer a { color: var(--ui-accent); text-decoration:underline; text-underline-offset:4px; }
.welcome-footer a:hover { color: var(--ui-accent); }
.welcome-noscript { margin:18px auto; max-width:900px; padding:16px 24px; color: var(--ui-text-secondary); background: var(--ui-surface-subtle); font-size:16px; line-height:1.8; }
@keyframes welcome-loading { to { transform:rotate(360deg); } }
@media(min-width:1500px) { .welcome-wrap { width:min(1340px,calc(100% - 140px)); }.welcome-hero-layout { grid-template-columns:minmax(0,1fr) 460px; gap:120px; padding-top:72px; }.welcome-story h1 { font-size:65px; }.welcome-scene { margin-top:32px; } }
@media(max-width:1100px) { .welcome-wrap { width:calc(100% - 64px); }.welcome-hero-layout { gap:38px; grid-template-columns:minmax(0,1fr) minmax(335px,400px); padding-top:44px; }.welcome-story h1 { font-size:46px; }.welcome-intro { font-size:16px; }.welcome-scene { transform:scale(.9); transform-origin:left center; width:111%; }.welcome-path { grid-template-columns:170px minmax(0,1fr); gap:30px; }.welcome-path ol { gap:18px; }.welcome-path h2 { font-size:21px; }.welcome-path li p { font-size:13px; } }
@media(max-width:880px) { .welcome-wrap { width:min(680px,calc(100% - 48px)); }.welcome-header { min-height:94px; }.welcome-header-tag { display:none; }.welcome-hero-layout { grid-template-columns:minmax(0,1fr); gap:30px; padding-top:33px; }.welcome-story { padding-top:0; display:grid; grid-template-columns:minmax(0,1fr) 160px; column-gap:12px; }.welcome-eyebrow,.welcome-story h1,.welcome-intro,.welcome-main-actions { grid-column:1; }.welcome-story h1 { font-size:45px; }.welcome-eyebrow { margin-bottom:16px; }.welcome-intro { margin-top:18px; }.welcome-desktop-break { display:none; }.welcome-main-actions { gap:17px; margin-top:22px; }.welcome-scene { grid-column:2; grid-row:1/5; width:100%; transform:none; min-height:230px; margin:auto 0; }.welcome-scene-halo { width:157px; max-width:none; height:180px; top:27px; left:0; transform:rotate(-10deg); }.welcome-mouse-center { width:142px; height:142px; left:10px; bottom:42px; }.welcome-mouse-left,.welcome-mouse-right,.welcome-scene-note,.welcome-scene-ground,.welcome-scene-caption { display:none; }.welcome-scene-spark.spark-one { right:2%; top:19px; width:24px; height:24px; }.welcome-scene-spark.spark-two { top:auto; bottom:25px; left:7%; }.welcome-account-column { width:100%; max-width:540px; justify-self:center; }.welcome-account-kicker { margin-bottom:12px; }.welcome-page .auth-card { padding:29px 33px; }.welcome-path { grid-template-columns:minmax(0,1fr); gap:25px; padding-top:32px; }.welcome-path h2 br { display:none; }.welcome-path ol { gap:20px; }.welcome-path h2 { font-size:23px; }.welcome-path-heading > p { margin-bottom:6px; } }
@media(max-width:560px) { .welcome-wrap { width:calc(100% - 40px); }.welcome-header { min-height:80px; gap:12px; }.welcome-brand { font-size:22px; gap:8px; }.welcome-brand > img { width:35px; height:35px; }.welcome-header > nav { gap:17px; font-size:13px; }.welcome-header > nav .welcome-header-join { padding:6px 13px; min-height:38px; }.welcome-hero-layout { padding-top:27px; gap:26px; padding-bottom:33px; }.welcome-story { grid-template-columns:minmax(0,1fr); }.welcome-story h1 { font-size:clamp(35px,8.8vw,46px); letter-spacing:-1.1px; line-height:1.5; }.welcome-eyebrow { font-size:12px; gap:6px; margin-bottom:15px; }.welcome-eyebrow > span { font-size:17px; }.welcome-intro { font-size:15px; line-height:1.95; margin-top:18px; max-width:360px; }.welcome-main-actions { gap:10px 19px; margin-top:20px; }.welcome-join,.welcome-login { font-size:13px; min-height:44px; }.welcome-join { padding:9px 18px; }.welcome-scene { display:none; }.welcome-account-kicker { font-size:12px; text-align:left; margin-left:4px; }.welcome-page .auth-card { padding:24px 21px; border-radius: var(--ui-radius-card); }.welcome-page .account-tabs { margin-bottom:22px; }.welcome-page .auth-card h2 { font-size:22px; }.welcome-page .auth-form-intro { margin-top:8px; margin-bottom:20px; font-size:14px; }.welcome-page .account-field-hint { font-size: 14px; }.welcome-page .account-field > label { font-size:14px; }.welcome-page .account-registration-consents { margin-top:21px; padding-top:17px; }.welcome-page .account-legal-links { gap:3px 12px; }.welcome-page .account-legal-links a { font-size:13px; }.welcome-page .account-consent-choice { font-size:13px; }.welcome-page .account-consent-note { font-size:12px; }.welcome-account-bottom { margin-top:13px; }.welcome-path { gap:24px; padding:28px 0 30px; }.welcome-path ol { grid-template-columns:repeat(2,minmax(0,1fr)); gap:27px 24px; }.welcome-path h2 { font-size:22px; }.welcome-path h3 { margin-top:10px; }.welcome-path li p { font-size:13px; }.welcome-footer { align-items:flex-start; padding-top:20px; gap:12px; font-size:12px; }.welcome-footer nav { gap:15px; width:100%; }.welcome-footer nav > span { margin-left:auto; font-size: 14px; } }
@media(max-width:360px) { .welcome-wrap { width:calc(100% - 32px); }.welcome-brand { font-size:20px; }.welcome-brand > img { width:31px; height:31px; }.welcome-header > nav { gap:11px; }.welcome-header > nav .welcome-header-join { padding-inline:11px; }.welcome-story h1 { font-size:34px; }.welcome-main-actions { gap:7px 15px; }.welcome-join { padding-inline:15px; }.welcome-page .auth-card { padding:22px 18px; }.welcome-path ol { gap:23px 19px; }.welcome-footer nav { gap:14px; }.welcome-footer nav > span { margin-left:0; } }
@media(prefers-reduced-motion:reduce) { .welcome-account-loading > span { animation:none; } }
/* Keep the entry actions, consent and service descriptions comfortably readable. */
.welcome-intro { color: var(--ui-text-secondary); }
.welcome-header > nav { font-size:14px; }
.welcome-page .auth-form-intro { color: var(--ui-text-secondary); }
.welcome-page .account-field-hint { color: var(--ui-title); font-size:14px; }
.welcome-page .account-field input::placeholder { color: var(--ui-text-secondary); }
.welcome-page .account-form-note { color: var(--ui-title); font-size:14px; }
.welcome-page .registration-methods button { color: var(--ui-text-secondary); }
.welcome-page .account-consent-choice,.welcome-page .account-consent-note,.welcome-page .account-legal-links a { font-size:14px; }
.welcome-account-bottom { color: var(--ui-title); font-size:14px; }
.welcome-path li p { color: var(--ui-text-secondary); font-size:16px; }
.welcome-footer a { font-size:14px; color: var(--ui-accent); }
@media(max-width:560px) { .welcome-intro { font-size:16px; }.welcome-join,.welcome-login { font-size:14px; }.welcome-header > nav { font-size:14px; }.welcome-page .account-field-hint,.welcome-page .account-consent-choice,.welcome-page .account-consent-note,.welcome-page .account-legal-links a { font-size:14px; }.welcome-path li p { font-size:16px; } }
.welcome-page a[data-welcome-auth-mode][aria-disabled=true] { cursor:wait; }
/* Short desktop viewports keep the entry action and mouse scene above the fold. */
@media(min-width:881px) and (max-height:780px) {
 .welcome-header { min-height:90px; }
 .welcome-hero-layout { padding-top:28px; padding-bottom:24px; }
 .welcome-story { padding-top:0; }
 .welcome-eyebrow { margin-bottom:13px; }
 .welcome-story h1 { font-size:clamp(42px,4.2vw,56px); line-height:1.32; }
 .welcome-intro { margin-top:15px; font-size:16px; line-height:1.8; }
 .welcome-main-actions { margin-top:18px; gap:18px; }
 .welcome-join,.welcome-login { min-height:44px; }
 .welcome-scene { min-height:202px; margin-top:5px; }
 .welcome-scene-halo { top:20px; height:140px; }
 .welcome-scene-note { top:4px; min-height:115px; padding-top:13px; }
 .welcome-mouse-left { width:116px; height:116px; bottom:37px; }
 .welcome-mouse-center { width:151px; height:151px; bottom:32px; }
 .welcome-mouse-right { width:120px; height:120px; bottom:37px; }
 .welcome-scene-ground { bottom:34px; }
 .welcome-scene-spark.spark-one { top:10px; }
 .welcome-scene-spark.spark-two { top:69px; }
 .welcome-account-column { padding-top:0; }
 .welcome-account-kicker { margin-bottom:9px; }
 .welcome-page .auth-card { padding-top:23px; padding-bottom:21px; }
 .welcome-page .account-tabs { margin-bottom:18px; }
 .welcome-page .auth-form-intro { margin-top:7px; margin-bottom:16px; }
 .welcome-page .account-field { margin-top:15px; }
 .welcome-page .account-field input { min-height:44px; padding-top:10px; padding-bottom:10px; }
 .welcome-page .account-field-hint { margin-top:6px; line-height:1.75; }
 .welcome-page .account-error { margin-top:12px; margin-bottom:7px; }
 .welcome-page .account-submit { min-height:44px; }
 .welcome-page .account-form-note { margin-top:12px; }
 .welcome-account-bottom { margin-top:11px; }
}

/* The same cooperative studio connects the welcome page and member home. */
.welcome-studio { min-height:0; padding-bottom:32px; overflow:hidden; border-radius:16px; }
.welcome-studio-art { width:100%; height:auto; min-height:210px; object-fit:cover; object-position:right center; border-radius:14px; }
.welcome-studio .welcome-scene-caption { bottom:0; color:var(--ui-text-secondary); letter-spacing:0; }
@media(max-width:720px) { .welcome-studio-art { min-height:170px; } }
