@import url('https://fonts.googleapis.com/css2?family=Golos+Text:wght@400;500;600;700;800&family=Manrope:wght@400;500;600;700;800&display=swap');

/* Shared palette and base elements. Page-specific styles live in home.css/how.css. */
:root{color-scheme:dark;--bg:#2b2119;--panel:#35281e;--text:#fff8ed;--muted:#c9b9a5;--orange:#f45a19;--peach:#ffb47f;--line:#fff8ed26}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:28px}
body{margin:0;background:var(--bg);color:var(--text);font:17px/1.75 'Golos Text',Arial,sans-serif;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
button{font:inherit}
a,button,summary{-webkit-tap-highlight-color:transparent}
:focus-visible{outline:2px solid var(--peach);outline-offset:6px}
a,button{transition:background .2s,color .2s,border-color .2s}
::selection{background:#f45a1966;color:white}
.container{width:min(1080px,100% - 80px);margin:auto}
h1{margin:0;font:700 clamp(42px,5.6vw,72px)/1.08 Manrope,Arial,sans-serif;letter-spacing:-.055em}
.button{display:inline-flex;align-items:center;justify-content:center;gap:26px;justify-self:start;padding:16px 24px;border:1px solid #ffb47f33;border-radius:6px;background:var(--orange);color:white;font:800 18px/1.4 Manrope,Arial,sans-serif;letter-spacing:-.025em}
.button:hover{background:#d94608}
.button span[aria-hidden]{font-size:23px;line-height:1;font-weight:400}
@media(max-width:760px){.container{width:calc(100% - 40px)}h1{font-size:48px}.button{font-size:17px}}
@media(max-width:430px){h1{font-size:43px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important}}

/* Shared navigation follows the approved home reference. */
#povtori-fullscreen-home .pp-locale{font:500 17px/1.4 'Golos Text',Arial,sans-serif}
#povtori-fullscreen-home :focus-visible{outline:2px solid #ffb47f;outline-offset:5px}
#povtori-fullscreen-home .pp-title-replay{cursor:pointer}
#povtori-fullscreen-home.common-header{--pp-scene-image:url('home-scene.webp');position:relative;z-index:30;overflow-x:clip;overflow-y:visible}


/* Language picker: use the exact flag assets from the home page. */
#povtori-fullscreen-home .pp-header{z-index:20}
.locale-switcher{position:relative;flex:none}
.locale-trigger{display:flex;align-items:center;gap:9px;min-height:44px;padding:8px 5px;border:0;border-radius:5px;background:transparent;color:#fff8ed;font:600 16px/1.4 Manrope,Arial,sans-serif;cursor:pointer}
.locale-trigger:hover,.locale-trigger[aria-expanded="true"]{color:#ffb47f}
.locale-trigger img,.locale-menu img{display:block;width:24px;height:16px;object-fit:cover;border-radius:2px;flex:none}

.locale-menu{position:absolute;right:0;top:calc(100% + 10px);z-index:100;min-width:220px;max-width:calc(100vw - 40px);max-height:min(480px,70vh);overflow-y:auto;padding:7px;border:1px solid #fff8ed38;border-radius:9px;background:#392b20;box-shadow:0 14px 45px #120b0866}
.locale-menu[hidden]{display:none}
.locale-menu button{display:flex;align-items:center;gap:12px;width:100%;padding:10px 11px;min-height:44px;border:0;border-radius:5px;background:transparent;color:#fff8ed;text-align:left;font:400 15px/1.5 'Golos Text',Arial,sans-serif;cursor:pointer;white-space:nowrap}
.locale-menu button:hover,.locale-menu button:focus-visible{background:#59432e;outline-offset:-2px}.locale-menu button[aria-checked="true"]{background:#f45a1924;color:#ffb47f}.locale-option-code{margin-left:auto;font:500 11px/1.5 Manrope,Arial,sans-serif;color:#c9b9a5}
@media(max-width:580px){.locale-menu{min-width:210px}.locale-trigger{font-size:15px}}

/* Preserve the inherited typography of the approved standalone reference. */
#povtori-fullscreen-home{font-size:16px;line-height:26px}
#povtori-fullscreen-home #pp-title{font-family:-apple-system-body,ui-sans-serif,-apple-system,system-ui,"Segoe UI",Helvetica,"Apple Color Emoji",Arial,sans-serif,"Segoe UI Emoji","Segoe UI Symbol"}
#povtori-fullscreen-home .pp-eyebrow{text-transform:uppercase}

