*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:#11130E;color:#ECE8DC;font:16px/1.5 Inter,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif}
img{max-width:100%;display:block}
a{color:#E3B341}a:hover{color:#F2CC6B}
[hidden]{display:none!important}
h1,h2,h3{font-family:Oswald,"Arial Narrow",sans-serif;margin:0;text-wrap:balance}
.top{display:flex;flex-wrap:wrap;align-items:center;gap:12px 28px;padding:12px max(16px,4.4vw);background:#0C0E0A;border-bottom:1px solid #2A2D22}
.brand{display:flex;align-items:center;gap:12px;color:#ECE8DC;text-decoration:none;font:600 22px Oswald,sans-serif;letter-spacing:.04em}
.brand img{border-radius:10px}
.top nav{display:flex;gap:28px;flex:1 1 auto;font-size:15px}
.top nav a{color:#ECE8DC;text-decoration:none}
.top nav a:hover{color:#E3B341}
.langsel{position:relative;font-size:14px;border:0!important;padding:0}
.langsel summary{list-style:none;cursor:pointer;display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 12px;border:1px solid #2A2D22;border-radius:10px;color:#ECE8DC}
.langsel summary::-webkit-details-marker{display:none}
.langsel summary:hover,.langsel[open] summary{border-color:#55594A}
.langmenu{position:absolute;inset-inline-end:0;top:calc(100% + 6px);z-index:10;width:min(340px,calc(100vw - 32px));max-height:min(70vh,520px);overflow-y:auto;padding:6px;background:#191C14;border:1px solid #55594A;border-radius:12px;box-shadow:0 12px 32px rgba(0,0,0,.5);display:grid;grid-template-columns:1fr 1fr;gap:2px}
.langmenu a{display:flex;align-items:center;min-height:44px;padding:0 12px;min-width:0;border-radius:8px;color:#ECE8DC;text-decoration:none}
.langmenu a:hover{background:#2A2D22;color:#ECE8DC}
.langmenu a[aria-current]{color:#E3B341;font-weight:600}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:68px;padding:0 24px;border:1px solid #55594A;border-radius:14px;color:#ECE8DC;font-weight:600;text-decoration:none}
.btn:hover{border-color:#E3B341;color:#ECE8DC}
.btn.main{background:#E3B341;border-color:#E3B341;color:#14130C;font:700 26px Oswald,sans-serif;letter-spacing:.04em;padding:0 40px}
.btn.main:hover{background:#F2CC6B;color:#14130C}
.btn.small{min-height:44px;padding:0 22px;font:700 16px Inter,sans-serif;letter-spacing:0;border-radius:10px}
.btns{display:flex;flex-wrap:wrap;gap:14px;margin-top:8px}
.hero{display:flex;flex-wrap:wrap;background:#0C0E0A}
.hero-text{flex:1 1 520px;min-width:0;padding:clamp(40px,7vw,96px) max(16px,4.4vw);display:flex;flex-direction:column;gap:24px;justify-content:center}
.hero-art{flex:1 1 420px;min-height:min(620px,90vw);background:url(/site/img/splash.jpg) center 20%/cover}
.kicker{font-size:13px;font-weight:600;letter-spacing:.14em;color:#E3B341}
h1{font-size:clamp(40px,5.6vw,76px);line-height:1.03;font-weight:700}
.lead{margin:0;max-width:540px;font-size:clamp(16px,1.4vw,19px);color:#C9C4B4}
.facts{font-size:14px;color:#A29D8C}
.wrap{max-width:1312px;margin:0 auto;padding:clamp(48px,6vw,88px) max(16px,4.4vw) 0;display:flex;flex-direction:column;gap:32px}
.wrap.narrow{max-width:900px;gap:0;padding-bottom:clamp(48px,6vw,88px)}
.wrap.narrow h2{margin-bottom:24px}
h2{font-size:clamp(28px,3.2vw,44px);font-weight:600}
.shot{width:100%;height:auto;border-radius:18px;border:1px solid #2A2D22}
.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:20px}
.card{background:#191C14;border:1px solid #2A2D22;border-radius:16px;overflow:hidden}
.card img{width:100%;height:190px;object-fit:cover}
.card div{padding:20px;display:flex;flex-direction:column;gap:8px}
.card h3{font-size:24px;font-weight:600}
.card p{margin:0;font-size:15px;color:#C9C4B4}
.band{margin-top:clamp(48px,6vw,88px);background:#191C14;border-top:1px solid #2A2D22;border-bottom:1px solid #2A2D22}
.band-in{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:40px;padding-top:clamp(40px,5vw,72px);padding-bottom:clamp(40px,5vw,72px)}
.band h3{font-size:28px;font-weight:600;color:#E3B341;margin-bottom:10px}
.band p{margin:0;color:#C9C4B4}
details{border-top:1px solid #2A2D22;padding:4px 0}
details:last-of-type{border-bottom:1px solid #2A2D22}
summary{cursor:pointer;font-size:18px;font-weight:600;padding:16px 0;min-height:44px}
details p{margin:0 0 20px;color:#C9C4B4}
.final{padding:clamp(48px,6vw,80px) max(16px,4.4vw);background:#0C0E0A;border-top:1px solid #2A2D22;display:flex;flex-direction:column;align-items:center;gap:24px;text-align:center}
.final h2{font-size:clamp(32px,3.8vw,52px);font-weight:700}
.final .btns{justify-content:center}
footer{display:flex;flex-wrap:wrap;gap:16px 24px;justify-content:space-between;padding:28px max(16px,4.4vw);font-size:14px;color:#A29D8C;background:#0C0E0A;border-top:1px solid #2A2D22}
footer div{display:flex;flex-wrap:wrap;gap:8px 24px}
footer a{color:#B5B09F;min-height:32px;display:inline-flex;align-items:center}
:focus-visible{outline:3px solid #F2CC6B;outline-offset:3px}
@media (max-width:640px){.top{flex-wrap:nowrap;gap:10px}.brand{font-size:17px;gap:8px}.brand img{width:32px;height:32px}.btn.small{padding:0 14px}.top nav{display:none}.langsel{margin-inline-start:auto}.langsel summary{padding:0 10px}.btns .btn{flex:1 1 140px}.btns .btn.main{flex:1 1 100%;font-size:22px;padding:0 16px;min-height:60px}.hero{flex-direction:column-reverse}.hero-art{flex:none;height:92vw;min-height:0}}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
/* ---- knowledge base ---- */
main{display:block;min-height:60vh}
.crumbs{max-width:1312px;margin:0 auto;padding:20px max(16px,4.4vw) 0;font-size:14px;color:#A29D8C}
.crumbs a{color:#B5B09F;text-decoration:none}.crumbs a:hover{color:#E3B341}
.wrap.head{padding-top:clamp(24px,3vw,40px);gap:16px}
.wrap.head h1,.doc-main>h1{font-size:clamp(36px,4.4vw,56px)}
.wrap.head .lead,.doc-main>.lead{max-width:720px}
.wrap.head+.wrap{padding-top:32px}
.wrap.flow{gap:20px;padding-bottom:clamp(48px,6vw,88px)}
.wrap:last-of-type{padding-bottom:clamp(48px,6vw,88px)}
.row-head{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:8px 24px}
.row-head h2 a{color:inherit;text-decoration:none}.row-head h2 a:hover{color:#E3B341}
.row-head span{color:#A29D8C;font-size:14px}
.tiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:14px}
.tile{display:flex;align-items:center;justify-content:space-between;min-height:64px;padding:0 20px;background:#191C14;border:1px solid #2A2D22;border-radius:12px;color:#ECE8DC;font-weight:600;text-decoration:none}
.tile::after{content:"→";color:#E3B341}[dir=rtl] .tile::after{content:"←"}
.tile:hover{border-color:#E3B341;color:#ECE8DC}
.card a{font-size:14px;font-weight:600;text-decoration:none}
.secs{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:20px}
.sec{display:flex;flex-direction:column;gap:10px;padding:24px;background:#191C14;border:1px solid #2A2D22;border-radius:16px;color:#ECE8DC;text-decoration:none}
.sec:hover{border-color:#E3B341;color:#ECE8DC}
.sec h2{font-size:26px}.sec p{margin:0;color:#C9C4B4;font-size:15px}
.note{margin:0;font-size:13px;color:#A29D8C;max-width:720px}
.cat{display:flex;flex-direction:column;gap:14px}
.cat h2{font-size:28px}
.chips{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:10px}
.chip{display:flex;align-items:center;gap:12px;min-height:64px;padding:4px 14px 4px 6px;background:#191C14;border:1px solid #2A2D22;border-radius:12px;color:#ECE8DC;text-decoration:none;font-size:15px;font-weight:500;min-width:0}
.chip:hover{border-color:#E3B341;color:#ECE8DC}
.chip img{width:56px;height:56px;object-fit:contain;flex:none}
.doc{max-width:1312px;margin:0 auto;padding:24px max(16px,4.4vw) clamp(48px,6vw,88px);display:grid;grid-template-columns:220px minmax(0,1fr);gap:40px;align-items:start}
.doc aside{position:sticky;top:16px;display:flex;flex-direction:column;gap:2px;font-size:15px}
.side-h{font-size:12px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:#A29D8C;padding:0 12px 8px}
.doc aside a{display:flex;align-items:center;min-height:40px;padding:0 12px;border-radius:8px;color:#C9C4B4;text-decoration:none}
.doc aside a:hover{background:#191C14;color:#ECE8DC}
.doc aside a[aria-current]{background:#191C14;color:#E3B341;font-weight:600}
.doc-main{display:flex;flex-direction:column;gap:20px;min-width:0;align-items:flex-start}
.doc-main>*{max-width:100%}.doc-main>.unit,.doc-main>.toc{align-self:stretch}
.toc{display:flex;flex-wrap:wrap;gap:8px}
.toc a{display:inline-flex;align-items:center;min-height:36px;padding:0 14px;border:1px solid #2A2D22;border-radius:999px;color:#C9C4B4;text-decoration:none;font-size:14px}
.toc a:hover{border-color:#E3B341;color:#ECE8DC}
.unit{display:flex;flex-direction:column;gap:16px;padding:clamp(16px,2.4vw,28px);background:#191C14;border:1px solid #2A2D22;border-radius:16px;min-width:0;scroll-margin-top:16px}
.unit:target{border-color:#E3B341}
.unit-head{display:flex;flex-wrap:wrap;gap:20px;align-items:center}
.unit-head img{width:160px;height:auto;max-height:160px;object-fit:contain;flex:none}
.unit-head>div{flex:1 1 280px;min-width:0;display:flex;flex-direction:column;gap:8px}
.unit h2,.unit h3.big{font-size:clamp(26px,2.6vw,34px);font-weight:600}
.unit h3{font-size:18px;font-weight:600;color:#E3B341;letter-spacing:.02em}
.unit p{margin:0;color:#C9C4B4}.unit .lead{font-size:16px;max-width:none}
.unit ul{margin:0;padding-inline-start:20px;color:#C9C4B4}.unit li{margin:4px 0}
.stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(128px,1fr));gap:1px;margin:0;background:#2A2D22;border:1px solid #2A2D22;border-radius:12px;overflow:hidden}
.stats div{background:#11130E;padding:12px 14px}
.stats dt{font-size:12px;color:#A29D8C;letter-spacing:.04em;text-transform:uppercase}
.stats dd{margin:4px 0 0;font:600 20px Oswald,sans-serif;font-variant-numeric:tabular-nums}
small{display:block;font:400 12px Inter,sans-serif;color:#A29D8C;margin-top:2px}
.battle{font-size:14px}
.pills{display:flex;flex-wrap:wrap;gap:8px}
.pill{display:inline-flex;align-items:center;min-height:36px;padding:4px 14px;background:#11130E;border:1px solid #2A2D22;border-radius:999px;font-size:14px;text-decoration:none}
.tbl{overflow-x:auto;border:1px solid #2A2D22;border-radius:12px;max-width:100%}
table{width:100%;border-collapse:collapse;font-size:14px;font-variant-numeric:tabular-nums;min-width:680px}
table.wide{min-width:820px}
th,td{padding:10px 12px;text-align:start;vertical-align:top;border-bottom:1px solid #2A2D22}
thead th{background:#11130E;font-size:12px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:#A29D8C}
tbody tr:last-child>*{border-bottom:0}
tbody th{font-weight:600;color:#ECE8DC}
tbody tr:target>*{background:#22261A}
tbody tr{scroll-margin-top:16px}
h2.group{font-size:clamp(26px,2.8vw,36px);margin-top:20px;scroll-margin-top:16px}
.lvl-head{display:flex;align-items:center;gap:16px}
.lvl-n{display:flex;align-items:center;justify-content:center;width:52px;height:52px;border-radius:50%;background:#E3B341;color:#14130C;font:700 26px Oswald,sans-serif;flex:none}
.sec h3{font-size:26px;font-weight:600}
.wrap>div>h2+.lead{margin-top:8px;max-width:720px}
.prose{gap:14px}
.prose>h1{margin-bottom:4px}
.prose>h2{font-size:clamp(24px,2.4vw,30px);margin-top:20px;scroll-margin-top:16px}
.prose>p,.prose>ul{margin:0;max-width:720px;color:#D6D1C2;font-size:17px;line-height:1.6}
.prose>p.lead{font-size:clamp(17px,1.5vw,20px);color:#C9C4B4}
.prose>ul{padding-inline-start:22px;display:flex;flex-direction:column;gap:8px}
.prose>.tbl{align-self:stretch}
.prose>.tbl{max-width:none}
table.res{table-layout:fixed}table.res th:nth-child(1){width:17%}table.res th:nth-child(2){width:10%}table.res th:nth-child(3){width:12%}table.res th:nth-child(4){width:27%}
.art-foot{display:flex;flex-wrap:wrap;gap:12px;margin-top:24px}
@media (max-width:860px){.doc{grid-template-columns:minmax(0,1fr);gap:16px}.doc aside{position:static;flex-direction:row;flex-wrap:nowrap;overflow-x:auto;gap:6px;padding-bottom:6px;margin-inline-end:calc(-1*max(16px,4.4vw));padding-inline-end:16px}.doc aside a{white-space:nowrap;flex:none}.side-h{display:none}.doc aside a{border:1px solid #2A2D22;border-radius:999px;min-height:36px}.unit-head img{width:110px}}
@media (max-width:640px){.top nav{display:flex;order:5;flex:1 1 100%;gap:20px;padding-top:4px}.top{flex-wrap:wrap}}
td:nth-last-child(2){white-space:nowrap}
@media (max-width:640px){.top{flex-wrap:wrap;gap:8px 10px}.brand{flex:1 1 auto}.top .btn.small{order:2}.top nav{order:3;flex:1 1 auto;padding:0;gap:18px;align-items:center}.langsel{order:4;margin-inline-start:auto}.langsel summary{min-height:40px}}
/* ---- balance tables and calculators ---- */
td.hi{color:#F0907A;font-weight:600}td.lo{color:#9CCB7A;font-weight:600}
table.mx td,table.mx thead th{text-align:right}table.mx thead th:first-child{text-align:start}
tr.grp th{background:#11130E;color:#E3B341;font:600 15px Oswald,sans-serif;letter-spacing:.04em}
.prose>h2+p{margin-top:-4px}
.calc{align-self:stretch;display:flex;flex-direction:column;gap:14px;padding:clamp(16px,2.4vw,24px);background:#191C14;border:1px solid #2A2D22;border-radius:16px;max-width:860px}
.calc-rows{display:flex;flex-direction:column;gap:12px}
.calc-row{display:flex;flex-wrap:wrap;gap:12px;align-items:flex-end}
.calc label{display:flex;flex-direction:column;gap:6px;font-size:13px;color:#A29D8C;flex:1 1 110px;min-width:0}
.calc label:first-child{flex:3 1 220px}
.calc select,.calc input{min-height:44px;padding:0 12px;background:#11130E;border:1px solid #55594A;border-radius:10px;color:#ECE8DC;font:16px Inter,sans-serif;width:100%;color-scheme:dark}
.calc .cx{flex:none;width:44px;padding:0;font-size:22px}
.calc>.btn{align-self:flex-start}
button.btn{background:transparent;font:600 15px Inter,sans-serif;cursor:pointer;color:#ECE8DC}
/* ---- pictures ---- */
.banner{align-self:stretch;width:100%;aspect-ratio:21/8;max-height:340px;border-radius:16px;border:1px solid #2A2D22;background-size:cover;background-repeat:no-repeat}
.wrap.head .banner{margin-bottom:8px}
.ptiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:16px}
.ptile{display:flex;flex-direction:column;background:#191C14;border:1px solid #2A2D22;border-radius:14px;overflow:hidden;color:#ECE8DC;text-decoration:none;font-weight:600}
.ptile:hover{border-color:#E3B341;color:#ECE8DC}
.ptile img{width:100%;aspect-ratio:16/9;object-fit:cover}
.ptile span{padding:12px 14px 14px;line-height:1.3}
.sec.pic{padding:0;overflow:hidden;gap:0}
.sec.pic img{width:100%;aspect-ratio:16/9;object-fit:cover}
.sec.pic div{padding:18px 20px 22px;display:flex;flex-direction:column;gap:8px}
.gallery{align-self:stretch;display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:10px}
.gallery figure{margin:0;padding:10px 8px;background:#191C14;border:1px solid #2A2D22;border-radius:12px;display:flex;flex-direction:column;align-items:center;gap:6px;text-align:center}
.gallery img{width:100%;height:84px;object-fit:contain}
.gallery figcaption{font-size:13px;color:#C9C4B4;line-height:1.25}
.ul{display:inline-flex;align-items:center;gap:10px;text-align:start}
img.th{width:40px;height:40px;object-fit:contain;flex:none}img.th.w{width:56px}
img.tt{display:block;width:96px;height:64px;object-fit:cover;border-radius:6px;margin-bottom:8px;border:1px solid #2A2D22}
