/* FONT COVERAGE: Saga = Noto Serif, SagaSans = Noto Sans. The original woff files cover Latin-1 + Cyrillic only;
   Latin Extended (pl, tr, cs, hu, ro), Greek and Vietnamese come from the same Noto fonts (Google Fonts subsets, OFL 1.1,
   assets/fonts/noto/). Declared first, so the original files keep priority where ranges overlap. Loaded only when needed. */
    @font-face{font-family:Saga;src:url("../assets/fonts/noto/noto-serif-latin.woff2?v=c9192542") format("woff2");font-weight:400;font-display:swap;unicode-range:U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329}
    @font-face{font-family:Saga;src:url("../assets/fonts/noto/noto-serif-latin.woff2?v=c9192542") format("woff2");font-weight:700;font-display:swap;unicode-range:U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329}
    @font-face{font-family:SagaSans;src:url("../assets/fonts/noto/noto-sans-700-latin.woff2?v=8a4f6341") format("woff2");font-weight:700;font-display:swap;unicode-range:U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329}
    @font-face{font-family:SagaSans;src:url("../assets/fonts/noto/noto-sans-700-greek-ext.woff2?v=f38947db") format("woff2");font-weight:700;font-display:swap;unicode-range:U+1F00-1FFF}
    @font-face{font-family:SagaSans;src:url("../assets/fonts/noto/noto-sans-700-greek.woff2?v=93c81c6d") format("woff2");font-weight:700;font-display:swap;unicode-range:U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF}
    @font-face{font-family:SagaSans;src:url("../assets/fonts/noto/noto-sans-700-vietnamese.woff2?v=38a13355") format("woff2");font-weight:700;font-display:swap;unicode-range:U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB}
    @font-face{font-family:SagaSans;src:url("../assets/fonts/noto/noto-sans-700-latin-ext.woff2?v=1dbd8dd4") format("woff2");font-weight:700;font-display:swap;unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
    @font-face{font-family:Saga;src:url("../assets/fonts/noto/noto-serif-greek-ext.woff2?v=a5bf4fa1") format("woff2");font-weight:400;font-display:swap;unicode-range:U+1F00-1FFF}
    @font-face{font-family:Saga;src:url("../assets/fonts/noto/noto-serif-greek.woff2?v=55ab7935") format("woff2");font-weight:400;font-display:swap;unicode-range:U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF}
    @font-face{font-family:Saga;src:url("../assets/fonts/noto/noto-serif-vietnamese.woff2?v=5991a007") format("woff2");font-weight:400;font-display:swap;unicode-range:U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB}
    @font-face{font-family:Saga;src:url("../assets/fonts/noto/noto-serif-latin-ext.woff2?v=6f18a18a") format("woff2");font-weight:400;font-display:swap;unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
    @font-face{font-family:Saga;src:url("../assets/fonts/noto/noto-serif-greek-ext.woff2?v=a5bf4fa1") format("woff2");font-weight:700;font-display:swap;unicode-range:U+1F00-1FFF}
    @font-face{font-family:Saga;src:url("../assets/fonts/noto/noto-serif-greek.woff2?v=55ab7935") format("woff2");font-weight:700;font-display:swap;unicode-range:U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF}
    @font-face{font-family:Saga;src:url("../assets/fonts/noto/noto-serif-vietnamese.woff2?v=5991a007") format("woff2");font-weight:700;font-display:swap;unicode-range:U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB}
    @font-face{font-family:Saga;src:url("../assets/fonts/noto/noto-serif-latin-ext.woff2?v=6f18a18a") format("woff2");font-weight:700;font-display:swap;unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
    @font-face{font-family:Saga;src:url("../assets/fonts/serif-regular.woff?v=5e76e855") format("woff");font-weight:400;font-display:swap;unicode-range:U+0000-00FF,U+0400-04FF,U+2000-206F,U+20A0-20CF,U+2100-21FF,U+2200-22FF,U+25A0-25FF;}
    @font-face{font-family:Saga;src:url("../assets/fonts/serif-bold.woff?v=93743665") format("woff");font-weight:700;font-display:swap;unicode-range:U+0000-00FF,U+0400-04FF,U+2000-206F,U+20A0-20CF,U+2100-21FF,U+2200-22FF,U+25A0-25FF;}
    @font-face{font-family:SagaSans;src:url("../assets/fonts/sans-bold.woff?v=6ff9780b") format("woff");font-weight:700;font-display:swap;unicode-range:U+0000-00FF,U+0400-04FF,U+2000-206F,U+20A0-20CF,U+2100-21FF,U+2200-22FF,U+25A0-25FF;}
    :root{color-scheme:dark;--ink:#142022;--cream:#f6e7cb;--gold:#c4a36c;--line:rgba(209,176,112,.52);--text:#f0e3cc}
    *{box-sizing:border-box}
    html{scroll-behavior:smooth}
    body{margin:0;background:#111b1c;color:var(--text);font-family:Saga,Georgia,serif;-webkit-font-smoothing:antialiased}
    a{color:inherit;text-decoration:none}
    img{display:block;max-width:100%;height:auto}
    h1,h2,h3,p,figure{margin:0}
    button,a{-webkit-tap-highlight-color:transparent}
    a:focus-visible{outline:3px solid #e5c483;outline-offset:5px}
    .page{max-width:1440px;margin:auto;container-type:inline-size;overflow:hidden}
    .site{--texture:url("../assets/images/texture-seamless.webp?v=2bece07a");background:linear-gradient(#14202335,#14202335),var(--texture) repeat,#172426;background-size:auto,58cqw auto;box-shadow:0 0 70px #071011}
    .section{border-bottom:1px solid var(--line)}
    .sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;clip-path:inset(50%)}
    .steam-icon{width:1.54em;height:1.54em;display:block;flex:none;fill:currentColor}
    .ornament{display:flex;align-items:center;width:24cqw;gap:0;color:var(--gold);margin:1.8cqw 0 2.7cqw}
    .ornament:before,.ornament:after{content:"";height:1px;flex:1;background:linear-gradient(90deg,transparent,#bd9353)}
    .ornament:after{background:linear-gradient(90deg,#bd9353,transparent)}
    .ornament svg{width:5.9cqw;height:1.7cqw;flex:none;stroke:currentColor;fill:none;stroke-width:1.6;stroke-linejoin:round;stroke-linecap:round}
    .ornament.wide{width:57%;max-width:58cqw;margin:1.2cqw auto 2.5cqw}
    .steam-button{display:inline-flex;position:relative;align-items:center;justify-content:center;gap:1.5cqw;min-height:7.05cqw;min-width:36.3cqw;padding:1.25cqw 2.5cqw;border-radius:1.48cqw;border:1px solid #7eafaf;background:linear-gradient(180deg,#3a7779 0%,#17565a 38%,#073e43 100%);box-shadow:0 0.5cqw 1.5cqw #0005,inset 0 1px 1px #e2f5e5a8;color:white;font:700 2.54cqw/1.15 SagaSans,Arial,sans-serif;text-align:center;transition:filter .18s,transform .18s,box-shadow .18s;isolation:isolate}
    .steam-button:hover{filter:brightness(1.17);transform:translateY(-2px);box-shadow:0 0.8cqw 2.4cqw rgba(0,0,0,.45),inset 0 1px 1px #e2f5e5a8}
    .steam-button:active{transform:translateY(0)}
    /* HERO */
    .hero{position:relative;min-height:56.5cqw;isolation:isolate;overflow:hidden;background:#1c2a2c}
    .hero:before{content:"";position:absolute;z-index:-3;inset:0;background:linear-gradient(90deg,#111c1efc 0%,#152326e9 27%,#17232678 55%,#14232510 80%)}
    .hero:after{content:"";position:absolute;z-index:-1;inset:0;background:linear-gradient(90deg,#0e191de8 0%,#1421235e 32%,transparent 65%),linear-gradient(180deg,#101b2063 0%,transparent 25%);pointer-events:none}
    .hero-art{position:absolute;z-index:-2;right:0;top:0;width:61.4%;height:100%;object-fit:cover;object-position:100% center;mask-image:linear-gradient(90deg,transparent 1%,black 20%);-webkit-mask-image:linear-gradient(90deg,transparent 1%,black 20%)}
    .hero-header{position:absolute;z-index:2;left:0;right:0;top:0;display:flex;justify-content:space-between;align-items:flex-start;padding:2.05cqw 4.7cqw 0}
    .wordmark{font-size:3.72cqw;line-height:1;letter-spacing:.025em;font-weight:400;white-space:nowrap;text-shadow:0 2px 5px #0008}
    .wordmark .ornament{width:100%;margin:1.45cqw 0 0}
    .platform{display:flex;align-items:center;gap:1.2cqw;font:700 1.63cqw/1.1 SagaSans,Arial,sans-serif;letter-spacing:.06em;color:#fff;white-space:nowrap;text-shadow:0 2px 6px #0009}
    .platform .steam-icon{width:3.2cqw;height:3.2cqw}
    .platform-divider{display:block;width:1px;height:2.45cqw;background:#dbdac57a;margin:0 .65cqw}
    .platform .pc{font:400 1.77cqw/1 Saga,Georgia,serif;letter-spacing:0;color:#f0e6d6}
    .hero-copy{position:relative;padding:12.55cqw 4.4cqw 6cqw;width:58.2%;z-index:1}
    .hero h1{font-size:6.04cqw;letter-spacing:-.045em;line-height:1.005;font-weight:700;color:#f5e6cd;text-shadow:0 2px 4px rgba(0,0,0,.28)}
    .hero-copy .lead{font-size:1.98cqw;line-height:1.4;margin:2cqw 0 2.9cqw;white-space:nowrap;color:#f4e8d5}
    .demo-note{font-size:1.68cqw;line-height:1.4;margin-top:1.35cqw;color:#e5dcc7;white-space:nowrap}
    .headline-stats{display:grid;grid-template-columns:repeat(3,1fr);align-items:center;background:#111c1f9c;border-top:1px solid var(--line);padding:1.72cqw 2cqw;text-align:center;font-weight:700;font-size:2.19cqw;line-height:1.1}
    .headline-stats>div+div{border-left:1px solid #bb9d6ba6}
    /* CHOICE */
    .choice{display:grid;grid-template-columns:34.3% 65.7%;gap:0;align-items:center;padding:3.2cqw 2.1cqw 2.6cqw 3.85cqw;min-height:47cqw}
    .choice-copy{padding-right:2.5cqw;align-self:start;padding-top:3.15cqw}
    .choice h2,.paths h2,.history h2,.gameplay h2{font-size:4.1cqw;line-height:1.13;letter-spacing:-.032em;font-weight:700}
    .choice-copy p,.history-copy p{font-size:2.22cqw;line-height:1.23;color:#f1e6d1}
    .choice h2{font-size:3.86cqw;letter-spacing:-.045em;white-space:nowrap}
    .choice-copy p{font-size:2.02cqw;letter-spacing:-.025em;white-space:nowrap}
    .choice-visual{padding-left:1.1cqw}
    .choice-visual img{width:100%;aspect-ratio:445/302;object-fit:cover;box-shadow:0 1cqw 2cqw #0003;border:1px solid #c1a06e88;border-radius:.35cqw}
    /* PATHS */
    .paths{padding:1.9cqw 1.6cqw 2.95cqw}
    .paths h2{text-align:center}
    .path-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.65cqw}
    .path-card{overflow:hidden;border-radius:.48cqw;background:linear-gradient(105deg,#d3b990,#efe0bc 48%,#cdb28a);box-shadow:0 .55cqw 1.8cqw #0005;color:#28231b;position:relative}
    .path-card img{width:100%;aspect-ratio:230/218;object-fit:cover}
    .path-card figcaption{padding:1.1cqw 1.35cqw 1.9cqw;min-height:10.9cqw;text-align:center;background:radial-gradient(ellipse at 25% 0,rgba(76,49,18,.14),transparent 55%),radial-gradient(ellipse at 98% 95%,rgba(104,63,20,.19),transparent 50%),linear-gradient(90deg,#c9ab83a0,#f1dfbdb0,#c9ab8366)}
    .path-card h3{font-size:2.9cqw;font-weight:700;line-height:1.13;letter-spacing:-.045em;margin-bottom:.82cqw}
    .path-card p{font-size:1.62cqw;line-height:1.25;letter-spacing:-.02em;color:#28251f}
    /* HISTORICAL WORLD */
    .history{position:relative;isolation:isolate;min-height:27.9cqw;display:flex;align-items:center;overflow:hidden;background:#1b2b2d}
    .history:before{content:"";position:absolute;z-index:-3;inset:0;background:linear-gradient(90deg,#18272a 0%,#19292bdf 35%,transparent 70%)}
    .history-art{position:absolute;z-index:-2;right:0;top:0;height:100%;width:61%;object-fit:cover;object-position:right center;mask-image:linear-gradient(90deg,transparent,black 22%);-webkit-mask-image:linear-gradient(90deg,transparent,black 22%)}
    .history:after{content:"";position:absolute;z-index:-1;inset:0;background:linear-gradient(90deg,#17262899 0%,transparent 68%)}
    .history-copy{padding:3.05cqw 0 3.5cqw 3.9cqw;width:52%}
    .history-copy h2{font-size:4.18cqw;line-height:1.05}
    .history-copy .ornament{width:26cqw;margin:1.75cqw 0 2.4cqw}
    /* SCALE */
    .scale{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));padding:2.0cqw 1.25cqw 2.15cqw;text-align:center;background:#10191b66}
    .scale-item{padding:0 .65cqw}
    .scale-item+.scale-item{border-left:1px solid #bfa269a9}
    .scale-item strong{color:#d7b276;font-size:4cqw;line-height:1;font-weight:700;display:block;letter-spacing:-.04em}
    .scale-item span{font-size:1.74cqw;line-height:1.16;display:block;margin-top:.8cqw;color:#f1e4cd}
    /* GAMEPLAY */
    .gameplay{padding:2.3cqw 1.25cqw 3.1cqw}
    .gameplay h2{padding-left:2.75cqw;font-size:4.17cqw;line-height:1.08;max-width:75cqw}
    .gameplay .ornament.wide{width:92%;max-width:none;margin:1.23cqw auto 2.3cqw}
    .gameplay-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.65cqw}
    .gameplay-grid img{width:100%;aspect-ratio:225/194;object-fit:cover;border:1px solid #c9a975b3;border-radius:.38cqw}
    .gameplay-grid figcaption{padding-top:1.1cqw;text-align:center;font-size:2.03cqw;line-height:1.2}
    /* FINAL: heading is real HTML text (translatable) over the sunset art; layout follows the approved design. */
    .finale{position:relative;aspect-ratio:724/271;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;padding:4.1cqw 4cqw 0;text-align:center;background:linear-gradient(180deg,#38424a 0%,#4f4749 30%,#6a5751 52%,rgba(106,87,81,0) 66%),url("../assets/images/sunset.webp?v=25181d14") center bottom/100% auto no-repeat,#6a5751}
    .finale-heading{font-size:4.5cqw;line-height:1.1;font-weight:700;letter-spacing:-.03em;color:#f6e7cc;text-shadow:0 2px 8px #0007}
    .finale .ornament{width:24cqw;margin:1.3cqw auto 2.1cqw}
    .finale-link{position:relative;width:36.65%;min-height:7.15cqw;padding:1cqw 2cqw;border-radius:1.55cqw;text-align:center;border-radius:1.55cqw;display:flex;justify-content:center;align-items:center;gap:1.5cqw;border:1px solid #7eafaf;background:linear-gradient(180deg,#3a7779 0%,#17565a 38%,#073e43 100%);box-shadow:0 .5cqw 1.5cqw #0005,inset 0 1px 1px #e2f5e5a8;color:#fff;font:700 2.54cqw/1.15 SagaSans,Arial,sans-serif;transition:box-shadow .18s,filter .18s}
    .finale-link:hover{filter:brightness(1.17);box-shadow:0 0 16px #a9f3ee6b}
    .finale-link:focus-visible{outline:3px solid #f4d799;outline-offset:4px}
    .footer{display:flex;align-items:center;justify-content:space-between;min-height:5.1cqw;padding:1.2cqw 4.2cqw;background:#101a1d;color:#d5c8af;font-size:1.38cqw;line-height:1.1}
    .footer-brand,.footer-links{display:flex;align-items:center;gap:1.9cqw}
    .footer-brand span+span,.footer-links a+a{border-left:1px solid #c1a6757f;padding-left:1.9cqw}
    .footer-links a:hover{color:white}
    .footer{flex-wrap:wrap;row-gap:1.4cqw}
    .footer-legal{flex-basis:100%;border-top:1px solid #c1a6754d;padding-top:1.3cqw;font-family:system-ui,-apple-system,"Segoe UI",Arial,sans-serif;font-weight:400;font-size:max(12px,1.05cqw);line-height:1.6;color:#a99d86;text-align:center}
    .footer-legal p{margin:0}
    .footer-legal b{color:#d5c8af;font-weight:700}
    .footer-legal a{color:#d5c8af;text-decoration:underline;text-decoration-color:#c1a67566;text-underline-offset:2px}
    .footer-legal a:hover{color:#fff}
    .footer-legal .footer-docs{display:flex;justify-content:center;flex-wrap:wrap;gap:.4em 1.6em;margin:.5em 0;font-size:1.15em}
    @media(min-width:1441px){body{background:#111a1c}}
    @media(max-width:650px){
      .site{background-size:auto,320px auto}
      .hero{min-height:0}
      .hero:before{background:linear-gradient(180deg,#1a272c 0%,#1b292a 40%,#122021 65%,#122021 100%)}
      .hero:after{background:linear-gradient(180deg,#101b2078 0%,transparent 15%,transparent 36%,#12202138 51%,#122021 67%)}
      .hero-art{width:100%;height:365px;top:0;object-fit:cover;object-position:75% 35%;mask-image:linear-gradient(180deg,black 0%,black 65%,transparent 100%);-webkit-mask-image:linear-gradient(180deg,black 0%,black 65%,transparent 100%)}
      .hero-header{padding:19px 17px 0}
      .wordmark{font-size:22px}
      .wordmark .ornament{margin-top:8px}
      .platform{gap:5px;font-size:12px;letter-spacing:.035em}
      .platform .steam-icon{width:25px;height:25px}
      .platform-divider{height:18px;margin:0 3px}
      .platform .pc{font-size:10px}
      .hero-copy{width:100%;padding:271px 22px 31px}
      .hero h1{font-size:clamp(37px,10.35vw,61px);line-height:1.04;letter-spacing:-.045em}
      .hero-copy .lead{font-size:16px;white-space:normal;max-width:320px;margin:15px 0 21px;line-height:1.5}
      .steam-button{min-height:54px;min-width:0;width:100%;max-width:410px;border-radius:10px;font-size:18px;gap:10px;padding:13px 16px}
      .steam-button .steam-icon{width:30px;height:30px}
      .demo-note{font-size:13px;margin-top:12px}
      .headline-stats{font-size:13px;line-height:1.25;padding:13px 5px;grid-template-columns:repeat(3,1fr)}
      .headline-stats>div{padding:0 5px}
      .choice{display:block;padding:29px 18px 26px;min-height:0}
      .choice-copy{padding:0 0 20px}
      .choice h2,.paths h2,.history h2,.gameplay h2{font-size:29px;line-height:1.15}
      .choice h2{white-space:normal}
      .choice-copy p,.history-copy p{font-size:17px;line-height:1.4;white-space:normal}
      .ornament{width:160px;margin:15px 0 17px}
      .ornament svg{width:42px;height:12px}
      .ornament.wide{width:85%;max-width:none;margin:13px auto 20px}
      .choice-visual{padding:0}
      .choice-visual img{border-radius:4px}
      .paths{padding:25px 15px 27px}
      .path-grid{grid-template-columns:1fr;gap:15px}
      .path-card{display:grid;grid-template-columns:42% 58%;align-items:stretch;border-radius:4px;min-height:150px}
      .path-card img{height:100%;min-height:150px;aspect-ratio:auto;object-position:center center}
      .path-card figcaption{display:flex;flex-direction:column;justify-content:center;padding:17px 13px;min-height:0;text-align:left}
      .path-card h3{font-size:23px;line-height:1.1;margin-bottom:9px}
      .path-card p{font-size:14px;line-height:1.35}
      .history{min-height:340px;display:block}
      .history:before{background:#1a292c}
      .history:after{background:linear-gradient(180deg,transparent 28%,#1a292c8f 55%,#1a292c 85%)}
      .history-art{width:100%;height:265px;top:0;object-position:right center;mask-image:linear-gradient(180deg,black 45%,transparent 100%);-webkit-mask-image:linear-gradient(180deg,black 45%,transparent 100%)}
      .history-copy{padding:202px 22px 26px;width:auto}
      .history-copy .ornament{width:180px;margin:12px 0 14px}
      .scale{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px 0;padding:23px 9px}
      .scale-item{padding:0 4px}
      .scale-item:nth-child(4){border:0}
      .scale-item strong{font-size:29px}
      .scale-item span{font-size:13px;margin-top:6px}
      .gameplay{padding:27px 16px 30px}
      .gameplay h2{font-size:29px;padding:0;max-width:none}
      .gameplay .ornament.wide{margin:15px auto 20px}
      .gameplay-grid{grid-template-columns:1fr;gap:20px}
      .gameplay-grid img{aspect-ratio:225/194;border-radius:3px}
      .gameplay-grid figcaption{font-size:18px;padding-top:9px}
      .finale{aspect-ratio:auto;min-height:280px;display:flex;align-items:center;flex-direction:column;justify-content:flex-start;gap:21px;padding:35px 22px 38px;background:linear-gradient(180deg,#3b454b 0%,#5b4947a8 35%,#0d151824 80%),url("../assets/images/sunset.webp?v=25181d14") center bottom / auto 58% no-repeat,#18262b}
      .finale-heading{position:static;clip-path:none;width:auto;height:auto;white-space:normal;text-align:center;font-size:32px;line-height:1.12;color:#f6e7cc}
      .finale-link{position:static;width:100%;height:auto;min-height:55px;top:auto;left:auto;max-width:410px;border-radius:10px;border:1px solid #7eafaf;background:linear-gradient(180deg,#3a7779,#17565a 40%,#073e43);box-shadow:0 5px 14px #0005,inset 0 1px 1px #e2f5e5a8;font:700 18px/1.15 SagaSans,Arial,sans-serif;gap:10px;padding:12px 18px;color:#fff}
      .finale-link .steam-icon,.finale-link .cta-text{opacity:1}
      .finale-link .steam-icon{width:30px;height:30px}
      .finale .ornament{width:160px;margin:-8px auto 0}
      .footer{flex-direction:column;align-items:center;gap:14px;font-size:12px;padding:19px 10px}
      .footer-brand,.footer-links{gap:12px}
      .footer-brand span+span,.footer-links a+a{padding-left:12px}
      .footer-links{display:grid;grid-template-columns:auto auto;gap:10px 12px;justify-content:center}
      .footer-links a{white-space:nowrap}
      .footer-links a:nth-child(odd){border-left:0;padding-left:0;text-align:right}
      .footer-legal{font-size:11.5px;line-height:1.6;padding:14px 6px 0;flex-basis:auto;width:100%}
      .footer-legal .footer-docs{gap:6px 16px;font-size:12.5px}
    }
    @media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important}}
    /* I18N: other languages may be longer than Russian — let lines wrap */
    html:not([lang="ru"]) .hero-copy .lead,html:not([lang="ru"]) .demo-note,html:not([lang="ru"]) .choice h2,html:not([lang="ru"]) .choice-copy p{white-space:normal}
    html[lang^="zh"] :is(h1,h2,h3),html[lang="ja"] :is(h1,h2,h3),html[lang="ko"] :is(h1,h2,h3){letter-spacing:0}
    html[lang="ko"] body{word-break:keep-all}
    /* LANGUAGE SWITCHER — pill with the current flag (top right) + animated dropdown panel */
    .hero-tools{display:flex;align-items:center;gap:2cqw}
    .lang{position:relative;z-index:40;--lg-gold:#d9b878;--lg-line:rgba(217,184,120,.42);--lg-bg:#121e21}
    .lang summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:10px;height:46px;padding:0 14px 0 8px;border-radius:999px;
      background:linear-gradient(180deg,rgba(32,50,54,.92),rgba(14,24,27,.92));border:1px solid var(--lg-line);
      box-shadow:0 6px 18px rgba(0,0,0,.45),inset 0 1px 0 rgba(255,255,255,.08);color:#f6e7cb;
      font:700 15px/1 SagaSans,"Segoe UI",Arial,sans-serif;letter-spacing:.02em;white-space:nowrap;text-shadow:none;
      -webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);transition:border-color .2s,box-shadow .2s,background .2s;-webkit-user-select:none;user-select:none}
    .lang summary::-webkit-details-marker{display:none}
    .lang summary::marker{content:""}
    .lang summary:hover{border-color:var(--lg-gold);box-shadow:0 8px 22px rgba(0,0,0,.5),0 0 0 3px rgba(217,184,120,.12),inset 0 1px 0 rgba(255,255,255,.1)}
    .lang summary:focus-visible{outline:none;border-color:var(--lg-gold);box-shadow:0 0 0 3px rgba(229,196,131,.55)}
    .lang .flag{display:block;flex:none;width:30px;height:30px;object-fit:cover;border-radius:50%;box-shadow:0 0 0 2px rgba(217,184,120,.55),0 2px 6px rgba(0,0,0,.5)}
    .lang-code{display:none}
    .lang-caret{width:12px;height:8px;flex:none;color:var(--lg-gold);transition:transform .25s cubic-bezier(.2,.8,.2,1)}
    .lang[open] .lang-caret{transform:rotate(180deg)}
    .lang[open] summary{border-color:var(--lg-gold)}
    .lang-panel{position:absolute;right:0;top:calc(100% + 12px);width:max-content;min-width:240px;padding:10px;border-radius:16px;
      background:linear-gradient(180deg,#17272a,var(--lg-bg));border:1px solid var(--lg-line);
      box-shadow:0 24px 60px rgba(0,0,0,.6),inset 0 1px 0 rgba(255,255,255,.06);transform-origin:top right;
      animation:lang-open .22s cubic-bezier(.2,.8,.2,1) both}
    .lang-panel:before{content:"";position:absolute;right:26px;top:-7px;width:12px;height:12px;background:#17272a;border-left:1px solid var(--lg-line);border-top:1px solid var(--lg-line);transform:rotate(45deg)}
    .lang.closing .lang-panel{animation:lang-close .16s ease-in both}
    @keyframes lang-open{from{opacity:0;transform:translateY(-8px) scale(.97)}to{opacity:1;transform:none}}
    @keyframes lang-close{to{opacity:0;transform:translateY(-6px) scale(.98)}}
    .lang-title{margin:2px 8px 8px;font:700 11px/1.2 SagaSans,"Segoe UI",Arial,sans-serif;letter-spacing:.14em;text-transform:uppercase;color:#a99d86}
    .lang-list{margin:0;padding:0;list-style:none;display:grid;grid-template-columns:1fr;gap:2px;max-height:min(66vh,560px);overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#c4a36c66 transparent}
    .lang-panel.many .lang-list{grid-template-columns:repeat(3,minmax(170px,1fr))}
    .lang-list a{display:flex;align-items:center;gap:11px;min-height:42px;padding:6px 12px 6px 8px;border-radius:10px;
      font:500 15px/1.2 system-ui,-apple-system,"Segoe UI",Arial,sans-serif;color:#e6dcc8;white-space:nowrap;transition:background .15s,color .15s}
    .lang-list .flag{width:26px;height:26px;transition:transform .2s cubic-bezier(.2,.8,.2,1)}
    .lang-label{flex:1}
    .lang-list a:hover,.lang-list a:focus-visible{background:rgba(217,184,120,.12);color:#fff;outline:none}
    .lang-list a:hover .flag,.lang-list a:focus-visible .flag{transform:scale(1.1)}
    .lang-list a[aria-current]{background:rgba(217,184,120,.16);color:#f6e2b0;font-weight:700}
    .lang-check{width:16px;height:16px;flex:none;color:var(--lg-gold)}
    @media(max-width:900px){.lang-panel.many .lang-list{grid-template-columns:repeat(2,minmax(150px,1fr))}}
    @media(max-width:650px){
      .hero-tools{flex-direction:column;align-items:flex-end;gap:10px}
      .lang summary{height:40px;padding:0 11px 0 6px;gap:8px;font-size:13px}
      .lang .flag{width:26px;height:26px}
      .lang-name{display:none}
      .lang-code{display:inline}
      .lang-panel{width:calc(100vw - 34px);min-width:0;padding:8px}
      .lang-panel:before{right:20px}
      .lang-panel.many .lang-list,.lang-list{grid-template-columns:repeat(2,minmax(0,1fr));max-height:62vh}
      .lang-list a{min-height:44px;padding:6px 8px;font-size:14px;white-space:normal;gap:9px}
      .lang-list .flag{width:22px;height:22px}
    }
    @media(prefers-reduced-motion:reduce){.lang-panel,.lang.closing .lang-panel{animation:none}.lang-caret,.lang-list .flag{transition:none}}
