/* Emberforge pages on www.xn3tech.com (product page and user's manual). Same tokens as the rest of the site. */
:root{--bg:#F6F7F5;--surface:#FFFFFF;--ink:#15191E;--muted:#565E68;--line:#DDE1E4;--sw:#0E7C66;--swSoft:#E2F3EE;--on:#FFFFFF;--band:#15191E;--bandText:#E8EAED;--bandMuted:#A3AAB4;--bandLine:#2E343C;--code:#EEF0EE;--warn:#8A5A00;--warnSoft:#FFF4DC;--blue:#1e4f9c;--blueSoft:#E6EEF9;
--ill-page:#FFFFFF;--ill-edge:#9AA4B2;--ill-top:#F6D9A8;--ill-out:#BFE6D6;--ill-in:#C9DAF6;--ill-gut:#F5C2BC;--ill-text:#8D96A3;--ill-run:#7C5CD6;--ill-hole:#4A5563}
@media (prefers-color-scheme: dark){:root{--bg:#0F1216;--surface:#171B21;--ink:#E9ECEF;--muted:#A2AAB4;--line:#2A3039;--sw:#48C7A6;--swSoft:#10281F;--on:#0B0E12;--band:#0A0C0F;--bandText:#C9CED5;--bandMuted:#8D949E;--bandLine:#232830;--code:#20262E;--warn:#F2C76B;--warnSoft:#2A2213;--blue:#7FA8EC;--blueSoft:#152238;
--ill-page:#1E242C;--ill-edge:#5B6573;--ill-top:#5A4522;--ill-out:#1F4A3C;--ill-in:#253A5C;--ill-gut:#5C2B27;--ill-text:#6B7480;--ill-run:#A58BF0;--ill-hole:#C9CED5}}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--ink);font-family:'Plus Jakarta Sans',system-ui,sans-serif;font-size:16px;line-height:1.65}
[id]{scroll-margin-top:84px}
a{color:inherit}a:hover{opacity:0.85}
a:focus-visible{outline:3px solid currentColor;outline-offset:3px;border-radius:4px}
img{max-width:100%;height:auto}
.wrap{max-width:1200px;margin:0 auto;padding:0 clamp(16px,4vw,40px)}
.muted{color:var(--muted)}

/* Site header and footer */
header.site{position:sticky;top:0;z-index:10;background:var(--bg);border-bottom:1px solid var(--line)}
header.site .wrap{padding-top:10px;padding-bottom:10px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:4px 32px}
.brand{display:flex;align-items:center;gap:10px;min-height:44px;text-decoration:none;color:var(--ink)}
.brand span{font-size:19px;font-weight:800;letter-spacing:-0.01em}
nav.top{display:flex;flex-wrap:wrap;gap:0 28px;font-size:15px;font-weight:600}
nav.top a{padding:11px 0;text-decoration:none}
footer.site{background:var(--band);color:var(--bandText)}
footer.site .wrap{padding-top:44px;padding-bottom:36px}
footer.site .row{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px 32px}
footer.site nav{display:flex;flex-wrap:wrap;gap:0 24px;font-size:15px;font-weight:600}
footer.site nav a{padding:11px 0;text-decoration:none;color:var(--bandText)}
footer.site .fine{margin-top:24px;padding-top:20px;border-top:1px solid var(--bandLine);display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px 32px;font-size:14px;color:var(--bandMuted)}

/* Hero, buttons, logo */
.hero{background:var(--swSoft);padding:clamp(40px,6vw,72px) 0}
.eyebrow{margin:0 0 12px;font-size:13px;font-weight:700;letter-spacing:0.12em;text-transform:uppercase;color:var(--sw)}
.hero h1{margin:0;font-size:clamp(32px,4.2vw,52px);line-height:1.08;letter-spacing:-0.02em;font-weight:800}
.hero p.lead{margin:16px 0 0;max-width:720px;font-size:18px;color:var(--muted)}
.btns{margin-top:22px;display:flex;flex-wrap:wrap;gap:12px;align-items:center}
.btn{display:inline-flex;align-items:center;gap:8px;min-height:46px;padding:0 20px;border-radius:10px;font-weight:700;text-decoration:none;box-sizing:border-box}
.btn.primary{background:var(--sw);color:var(--on)}
.btn.ghost{border:2px solid var(--sw);color:var(--sw)}
.logo-row{display:flex;align-items:center;gap:18px;margin:0 0 18px}
.logo-row .icon{width:72px;height:72px;flex:none}
.wordmark{display:block;height:64px;width:auto}
.hero-icon{float:right;width:132px;height:132px;margin:0 0 16px 24px}
@media (max-width:700px){.hero-icon{width:84px;height:84px}.wordmark{height:48px}}

/* Manual layout */
.layout{display:grid;grid-template-columns:260px minmax(0,1fr);gap:48px;padding-top:40px;padding-bottom:72px}
aside.toc{position:sticky;top:84px;align-self:start;max-height:calc(100vh - 100px);overflow:auto;font-size:14px}
aside.toc .toc-logo{display:flex;align-items:center;gap:10px;margin:0 0 14px;font-weight:800;font-size:17px;text-decoration:none}
aside.toc .toc-logo img{width:34px;height:34px}
aside.toc p{margin:0 0 8px;font-size:12px;font-weight:700;letter-spacing:0.1em;text-transform:uppercase;color:var(--muted)}
aside.toc ol{list-style:none;margin:0;padding:0}
aside.toc a{display:block;padding:5px 10px;border-left:2px solid var(--line);text-decoration:none;color:var(--muted)}
aside.toc a:hover{color:var(--ink);border-left-color:var(--sw)}
details.toc-mobile{display:none;margin:24px 0 0;border:1px solid var(--line);border-radius:10px;background:var(--surface);padding:10px 14px}
details.toc-mobile summary{font-weight:700;cursor:pointer}
details.toc-mobile ol{margin:10px 0 4px;padding-left:22px}
main{min-width:0}
main section{padding:8px 0 28px;border-bottom:1px solid var(--line);margin-bottom:28px}
main section:last-child{border-bottom:0}
main h2{margin:0 0 12px;font-size:clamp(24px,2.6vw,32px);line-height:1.2;letter-spacing:-0.01em;font-weight:800}
main h3{margin:26px 0 8px;font-size:19px;font-weight:700}
main p,main li{max-width:760px}
main ul,main ol{padding-left:22px}
main li{margin:4px 0}
kbd{display:inline-block;padding:1px 7px;border:1px solid var(--line);border-bottom-width:2px;border-radius:6px;background:var(--surface);font-family:inherit;font-size:13px;font-weight:600;white-space:nowrap}
code{padding:1px 6px;border-radius:5px;background:var(--code);font-size:0.92em}
.ui{font-weight:700}
.note{max-width:760px;margin:16px 0;padding:12px 16px;border-radius:10px;background:var(--swSoft);border-left:4px solid var(--sw)}
.note.warn{background:var(--warnSoft);border-left-color:var(--warn)}
.note p{margin:0}
table{border-collapse:collapse;width:100%;max-width:820px;margin:12px 0;font-size:15px;background:var(--surface);border:1px solid var(--line)}
th,td{text-align:left;vertical-align:top;padding:9px 12px;border-bottom:1px solid var(--line)}
th{font-size:13px;font-weight:700;letter-spacing:0.04em;text-transform:uppercase;color:var(--muted);background:var(--bg)}
tr:last-child td{border-bottom:0}
.table-scroll{overflow-x:auto}

/* Screenshots and illustrations */
figure.shot,figure.ill{margin:18px 0 22px;max-width:820px}
figure.shot img{display:block;width:100%;border:1px solid var(--line);border-radius:10px;box-shadow:0 8px 28px rgba(0,0,0,0.08)}
figure.ill svg{display:block;width:100%;height:auto;background:var(--surface);border:1px solid var(--line);border-radius:10px}
figure figcaption{margin-top:8px;font-size:14px;color:var(--muted)}
.ill .pg{fill:var(--ill-page);stroke:var(--ill-edge);stroke-width:1.5}
.ill .top{fill:var(--ill-top)}.ill .out{fill:var(--ill-out)}.ill .in{fill:var(--ill-in)}.ill .gut{fill:var(--ill-gut)}
.ill .tl{stroke:var(--ill-text);stroke-width:2}
.ill .run{stroke:var(--ill-run);stroke-width:2;stroke-dasharray:4 3}
.ill .spine{stroke:var(--ink);stroke-width:2.5}
.ill .hole{fill:var(--ill-hole)}
.ill .lbl{fill:var(--ink);font:600 13px 'Plus Jakarta Sans',system-ui,sans-serif}
.ill .lbl.s{font-size:12px;font-weight:500;fill:var(--muted)}
.ill .lbl.b{font-size:15px;font-weight:800}
.ill .ar{stroke:var(--muted);stroke-width:1.2;fill:none}
.ill .box{fill:var(--surface);stroke:var(--line);stroke-width:1.5}
.ill .boxa{fill:var(--swSoft);stroke:var(--sw);stroke-width:1.5}
.ill .boxb{fill:var(--blueSoft);stroke:var(--blue);stroke-width:1.5}
.ill .acc{fill:var(--sw)}
.ill .strike{stroke:#C2410C;stroke-width:2}

/* Edition comparison (checkboxes) */
.compare{width:100%;max-width:860px;border-collapse:separate;border-spacing:0;border:1px solid var(--line);border-radius:12px;overflow:hidden;background:var(--surface)}
.compare th,.compare td{padding:11px 14px;border-bottom:1px solid var(--line);vertical-align:middle}
.compare tr:last-child td{border-bottom:0}
.compare th{background:var(--bg);text-transform:none;letter-spacing:0;font-size:15px;color:var(--ink)}
.compare th small{display:block;font-weight:500;color:var(--muted);font-size:13px}
.compare th.full,.compare td.full{background:var(--swSoft)}
.compare td.c{text-align:center;width:150px}
.compare td.c span{display:block;font-size:13px;color:var(--muted);margin-top:2px}
.ck{display:inline-block;width:22px;height:22px;vertical-align:middle}
.ck .bx{fill:var(--surface);stroke:var(--ill-edge);stroke-width:1.6}
.ck.on .bx{fill:var(--sw);stroke:var(--sw)}
.ck .tick{fill:none;stroke:var(--on);stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}

/* Product page */
.section{padding:clamp(48px,7vw,88px) 0}
.section.alt{background:var(--surface);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.section h2{margin:0 0 10px;font-size:clamp(28px,3.4vw,42px);line-height:1.12;letter-spacing:-0.02em;font-weight:800}
.section p.sub{margin:0 0 28px;max-width:720px;font-size:18px;color:var(--muted)}
.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:18px}
.card{background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:22px}
.section.alt .card{background:var(--bg)}
.card h3{margin:10px 0 6px;font-size:18px}
.card p{margin:0;color:var(--muted);font-size:15px}
.card .ico{width:40px;height:40px;border-radius:10px;background:var(--swSoft);color:var(--sw);display:flex;align-items:center;justify-content:center}
.feature{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:40px;align-items:center;margin:0 0 64px}
.feature:nth-child(even){grid-template-columns:minmax(0,7fr) minmax(0,5fr)}
.feature:nth-child(even) .ftext{order:2}
.feature h3{margin:0 0 10px;font-size:26px;line-height:1.2;letter-spacing:-0.01em}
.feature ul{margin:12px 0 0;padding-left:20px;color:var(--muted)}
.feature li{margin:5px 0}
.feature img{border:1px solid var(--line);border-radius:12px;box-shadow:0 12px 36px rgba(0,0,0,0.10)}
.hero-shot{margin-top:40px;border:1px solid var(--line);border-radius:14px;box-shadow:0 18px 50px rgba(0,0,0,0.14)}
.tour{display:block;width:100%;height:auto;margin-top:24px;border-radius:14px;background:#0b0f19;box-shadow:0 18px 50px rgba(0,0,0,0.18)}
.dl{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:28px}
.dl .card h3{font-size:22px}
.facts{display:flex;flex-wrap:wrap;gap:8px 20px;margin:10px 0 0;font-size:14px;color:var(--muted)}
.facts b{color:var(--ink)}
.faq details{background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:14px 18px;margin:0 0 10px;max-width:860px}
.faq summary{font-weight:700;cursor:pointer}
.faq p{margin:10px 0 0;color:var(--muted)}
@media (max-width:900px){.layout{grid-template-columns:minmax(0,1fr);gap:0;padding-top:8px}aside.toc{display:none}details.toc-mobile{display:block}
.feature,.feature:nth-child(even){grid-template-columns:minmax(0,1fr);gap:18px}.feature:nth-child(even) .ftext{order:0}.dl{grid-template-columns:minmax(0,1fr)}.compare td.c{width:auto}}
@media print{header.site,aside.toc,details.toc-mobile,footer.site,.btns{display:none}.layout{display:block;padding:0}.hero{background:none;padding:0 0 16px}body{background:#fff;color:#000;font-size:11pt}main section{break-inside:auto;border:0}a{text-decoration:none}figure{break-inside:avoid}}
