/* Start screen: clean globe background (no embedded text), transparent logo, translatable HTML text. */
@font-face{font-family:'M2XM Editorial';src:url('/fonts/cormorant-garamond.woff') format('woff');font-weight:300 700;font-display:swap}
*{box-sizing:border-box}
html{background:#faf6ee}
body.welcome-page{margin:0;min-height:100svh;display:flex;flex-direction:column;background:#faf6ee;color:#2e1a0b;font-family:system-ui,-apple-system,'Segoe UI',Roboto,Arial,sans-serif;isolation:isolate}
/* Full-viewport background: cover keeps proportions, 100lvh avoids a gap when the mobile browser bar hides. */
body.welcome-page::before{content:"";position:fixed;top:0;left:0;right:0;height:100vh;height:100lvh;z-index:-2;pointer-events:none;background:url('/assets/global-orbit-background.png') no-repeat 68% 58%/cover}
/* Ivory veil keeps dark text readable over the brightest parts of the globe. */
body.welcome-page::after{content:"";position:fixed;top:0;left:0;right:0;height:100vh;height:100lvh;z-index:-1;pointer-events:none;background:radial-gradient(ellipse 70% 62% at 50% 46%,rgba(250,246,238,.9) 0%,rgba(250,246,238,.72) 55%,rgba(250,246,238,.35) 100%)}
.welcome-language{display:flex;justify-content:flex-end;align-items:center;gap:8px;padding:max(14px,env(safe-area-inset-top)) max(16px,env(safe-area-inset-right)) 0 16px;font-size:14px;color:#6b5a48}
.welcome-language select{font:inherit;color:#2e1a0b;background:#fffaf3;border:1px solid #d9c6a5;border-radius:10px;padding:8px 30px 8px 12px;min-height:44px}
.welcome-language select:focus-visible{outline:2px solid #b68a48;outline-offset:2px}
.welcome-stage{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;width:100%;max-width:760px;margin:0 auto;padding:12px 20px max(28px,env(safe-area-inset-bottom))}
.welcome-logo{display:block;width:min(440px,86vw);height:auto;aspect-ratio:1239/597;background:transparent}
.welcome-wordmark{display:block;margin:.2em 0 .9em;font-family:'M2XM Editorial',Georgia,serif;font-weight:600;font-size:clamp(18px,2.6vw,26px);letter-spacing:.16em;padding-left:.16em;color:#7a5426;line-height:1.1}
.welcome-headline{margin:0;font-family:'M2XM Editorial',Georgia,serif;font-weight:700;font-size:clamp(34px,7.4vw,68px);line-height:1.05;letter-spacing:.04em;color:#352344;text-wrap:balance}
.welcome-subtitle{margin:.7em 0 0;font-size:clamp(15px,2.2vw,20px);letter-spacing:.06em;color:#4a3a2c}
.welcome-motto{margin:.9em 0 0;font-family:'M2XM Editorial',Georgia,serif;font-style:italic;font-weight:600;font-size:clamp(19px,2.8vw,26px);color:#7a5426}
.welcome-start{margin-top:clamp(22px,4.5svh,40px);display:inline-flex;align-items:center;justify-content:center;gap:.5em;min-width:min(280px,80vw);min-height:52px;padding:.55em 1.6em;text-decoration:none;font-family:'M2XM Editorial',Georgia,serif;font-size:clamp(20px,2.6vw,26px);font-weight:700;letter-spacing:.12em;color:#2e1a0b;background:linear-gradient(105deg,#edbe76,#fff0bf 48%,#efbb69);border:1px solid #9d5d21;border-radius:999px;box-shadow:inset 0 1px 2px #fff9e5,0 4px 12px #87501835}
.welcome-start:hover{filter:brightness(1.06)}
.welcome-start:active{filter:brightness(.97)}
.welcome-start:focus-visible{outline:3px solid #352344;outline-offset:4px}
@media(max-width:600px){body.welcome-page::before{background-position:70% 50%}}
@media(min-width:1100px){body.welcome-page::before{background-position:60% 60%}}
@media(orientation:landscape) and (max-height:560px){.welcome-logo{width:min(260px,40vw)}.welcome-wordmark{margin-bottom:.4em}.welcome-headline{font-size:clamp(28px,5vw,40px)}.welcome-start{margin-top:16px}}
@media print{body.welcome-page::before,body.welcome-page::after{display:none}}

/* 26.10.2026: основно обещание и безплатен урок като втора стъпка от маршрута. */
.welcome-promise{margin:.9em auto 0;max-width:600px;font-size:clamp(14px,1.9vw,17px);line-height:1.5;color:#3b2c22;text-wrap:pretty}
.welcome-free{margin-top:14px;color:#5a3b1c;font-size:15px;text-decoration:underline;text-underline-offset:3px;min-height:44px;display:inline-flex;align-items:center}
.welcome-free:focus-visible{outline:2px solid #352344;outline-offset:3px}
@media(orientation:landscape) and (max-height:560px){.welcome-promise{font-size:13px;margin-top:.5em}}