/* DivX Player guide — off-white and blue theme. Poppins (self-hosted), no frameworks. */
@font-face{font-family:Poppins;font-style:normal;font-weight:400;font-display:swap;src:url(poppins-400.woff2) format("woff2")}
@font-face{font-family:Poppins;font-style:normal;font-weight:600;font-display:swap;src:url(poppins-600.woff2) format("woff2")}
@font-face{font-family:Poppins;font-style:normal;font-weight:700;font-display:swap;src:url(poppins-700.woff2) format("woff2")}
:root{
  --graphite:#1e2023;--char:#2a2d31;--slate:#3b3f45;--steel:#6e737b;--ash:#a4a8ae;
  --fog:#d4d6d9;--mist:#e6e7e9;--paper:#f3f3f4;--ink:#16171a;
  --display:Poppins,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  --body:Poppins,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  --wrap:72rem;--r:4px;--hdr:4rem;
}
/* Palette: blue #1877e0 and green #3fb8f2 on a cool off-white */
.is-dark,.is-deep,.is-light,.is-pale{--bg:#f5f8fc;--fg:#0a2a52;--muted:#3f5270;--line:#cbd8e8;--panel:#e6eef8;--btn-bg:#0f63c9;--btn-fg:#fff;--blue:#1877e0;--accent:#3fb8f2}
.ftr.is-deep{--bg:#0a2a52;--fg:#fff;--muted:#c2d4ea;--line:#1d4372}

*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:calc(var(--hdr) + 1rem);-webkit-text-size-adjust:100%}
body{margin:0;background:#f5f8fc;color:#0a2a52;font:400 1rem/1.7 var(--body)}
img{max-width:100%;height:auto;display:block}
a{color:inherit;text-underline-offset:.18em;text-decoration-thickness:1px}
h1,h2,h3{font-family:var(--display);font-weight:700;line-height:1.15;margin:0;letter-spacing:-.02em}
h1{font-size:clamp(2.1rem,3.9vw,3.2rem);line-height:1.1}
h2{font-size:clamp(1.65rem,2.7vw,2.3rem)}
h3{font-size:1.15rem;font-weight:600;line-height:1.3;letter-spacing:-.01em}
p{margin:0 0 1em;max-width:66ch}
ul,ol{margin:0;padding:0}
:focus-visible{outline:3px solid currentColor;outline-offset:3px;border-radius:2px}
.wrap{width:100%;max-width:var(--wrap);margin:0 auto;padding:0 1.5rem}
.skip{position:absolute;left:-999px;top:0;background:#0a2a52;color:#fff;padding:.6rem 1rem;z-index:99}
.skip:focus{left:0}
.is-dark,.is-deep,.is-light,.is-pale{background:var(--bg);color:var(--fg)}
.muted{color:var(--muted)}

/* Header */
.hdr{position:sticky;top:0;z-index:50;border-bottom:1px solid var(--line)}
.hdr-in{display:flex;align-items:center;gap:1.5rem;min-height:var(--hdr)}
.brand{display:inline-flex;align-items:center;gap:.6rem;text-decoration:none;font:700 1.4rem/1 var(--display);letter-spacing:-.02em}
.brand svg,.brand img{width:2rem;height:2rem;flex:none}
.nav{margin-left:auto;display:flex;align-items:center;gap:1.5rem;font-size:.92rem;font-weight:600}
.nav a{text-decoration:none;color:var(--muted);padding:.35rem 0;border-bottom:2px solid transparent;white-space:nowrap}
.nav a:hover,.nav a[aria-current]{color:var(--fg);border-bottom-color:var(--fg)}
.nav a.nav-dl{background:var(--accent);color:#06243f;padding:.5rem 1.1rem;border-radius:var(--r);border:0;font-weight:600}
.nav a.nav-dl:hover{opacity:.85;color:#06243f}
.menu-btn{display:none;place-items:center;margin-left:auto;width:2.9rem;height:2.9rem;padding:0;background:none;border:1px solid var(--steel);color:var(--fg);border-radius:var(--r);cursor:pointer}
.menu-btn svg{width:1.6rem;height:1.6rem}
.menu-btn .close,.menu-btn[aria-expanded="true"] .bars{display:none}
.menu-btn[aria-expanded="true"] .close{display:inline}

/* Buttons */
.btn,.btn-ghost{display:inline-block;font:600 1rem/1.2 var(--body);text-decoration:none;padding:.9rem 1.5rem;border-radius:var(--r);cursor:pointer;border:2px solid var(--btn-bg)}
.btn{background:var(--btn-bg);color:var(--btn-fg)}
.btn:hover{opacity:.86}
.btn-ghost{background:transparent;color:var(--fg)}
.btn-ghost:hover{background:var(--btn-bg);color:var(--btn-fg)}
.btn-xl{font-size:1.15rem;padding:1.1rem 2.1rem}
.btn.btn-xl{background:var(--accent);border-color:var(--accent);color:#06243f}
.actions{display:flex;flex-wrap:wrap;gap:.8rem;margin-top:1.8rem}

/* Hero */
.hero{padding:clamp(2.5rem,6vw,5rem) 0 clamp(3rem,6vw,5rem)}
.hero-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(2rem,4vw,4rem);align-items:center}
.lead{font-size:1.1rem;line-height:1.65;color:var(--muted);margin-top:1.4rem}
.facts{list-style:none;display:grid;grid-template-columns:repeat(auto-fit,minmax(8.5rem,1fr));gap:1.25rem;margin-top:2.4rem;padding-top:1.3rem;border-top:1px solid var(--line);font-size:.95rem;color:var(--muted)}
.facts b{display:block;color:var(--fg);font:600 1.08rem/1.3 var(--display)}
.wipe{margin:0}
.wipe-stage{position:relative;overflow:hidden;border-radius:6px;aspect-ratio:3/2;background:var(--graphite);box-shadow:0 26px 50px -26px rgba(0,0,0,.5),0 0 0 1px var(--line)}
.wipe-stage img{width:100%;height:100%;object-fit:cover}
.wipe-before{position:absolute;inset:0;clip-path:polygon(112% 0,100% 0,100% 100%,100% 100%)}
.wipe-blade{position:absolute;top:0;bottom:0;left:100%;width:12%;opacity:0;pointer-events:none;
  background:linear-gradient(to bottom right,transparent calc(50% - 2px),var(--paper) calc(50% - 2px),var(--paper) calc(50% + 2px),transparent calc(50% + 2px))}
.wipe.run .wipe-before{animation:wipe 2s cubic-bezier(.62,0,.3,1) .7s both}
.wipe.run .wipe-blade{animation:blade 2s cubic-bezier(.62,0,.3,1) .7s both}
@keyframes wipe{from{clip-path:polygon(0 0,100% 0,100% 100%,-12% 100%)}to{clip-path:polygon(112% 0,100% 0,100% 100%,100% 100%)}}
@keyframes blade{from{left:-12%;opacity:1}96%{opacity:1}to{left:100%;opacity:0}}
.wipe figcaption{display:flex;gap:1rem;justify-content:space-between;align-items:baseline;margin-top:.8rem;font-size:.9rem;color:var(--muted)}
.replay{background:none;border:0;color:var(--fg);font:600 .9rem var(--body);text-decoration:underline;text-underline-offset:.18em;cursor:pointer;padding:0;white-space:nowrap}

/* Sections */
.sec{padding:clamp(3.5rem,7vw,5.5rem) 0;border-top:1px solid var(--line)}
.split{display:block}
.sec-head{max-width:46rem;margin-bottom:2.4rem}
.sec-head p{color:var(--muted);margin:.8rem 0 0;font-size:1.05rem;line-height:1.6}
.sec-body>:last-child{margin-bottom:0}
.prose{columns:2;column-gap:3.5rem}
.prose p{max-width:none;break-inside:avoid}

/* Download */
.dl-box{border:2px solid var(--blue);border-radius:8px;padding:clamp(2rem,5vw,3.5rem);text-align:center;background:var(--panel)}
.dl-box p{color:var(--muted);margin:1rem auto 0;max-width:60ch}
.dl-box .actions{justify-content:center}
.dl-box .dl-status{font-weight:600;color:var(--fg)}
.spec{margin:2.4rem 0 0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 2rem;text-align:left;border-top:2px solid var(--fg)}
.spec div{padding:.8rem 0;border-bottom:1px solid var(--line)}
.spec dt{color:var(--muted);font-size:.92rem}
.spec dd{margin:0;font-weight:600}

/* Lists used by sections */
.feat{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 3rem;list-style:none}
.feat li{padding:1.3rem 0;border-top:1px solid var(--line)}
.feat h3{margin-bottom:.45rem}
.feat p{margin:0;color:var(--muted);font-size:1rem}
.steps{list-style:none;counter-reset:s;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 3rem}
.steps li{counter-increment:s;display:grid;grid-template-columns:4.2rem 1fr;gap:1rem;padding:1.3rem 0;border-top:1px solid var(--line)}
.steps li::before{content:counter(s);font:700 2.8rem/1 var(--display);color:var(--blue)}
.steps h3{margin-bottom:.4rem}
.steps p{margin:0;color:var(--muted)}
.ledger{margin:0}
.ledger div{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,9fr);gap:1.5rem;padding:1.3rem 0;border-top:1px solid var(--line)}
.ledger dt{font:600 1.15rem/1.3 var(--display)}
.ledger dd{margin:0;color:var(--muted)}
.ledger dd b{color:var(--fg);font-weight:600}
.tips{list-style:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 2.5rem}
.tips li{padding:1.2rem 0 1.2rem 2.2rem;border-top:1px solid var(--line);position:relative}
.tips li::before{content:"";position:absolute;left:.3rem;top:1.45rem;width:.5rem;height:1rem;border:solid #0f8fd6;border-width:0 3px 3px 0;transform:rotate(42deg)}
.tips b{display:block;font:600 1.08rem/1.3 var(--display);margin-bottom:.3rem}
.tips span{color:var(--muted);font-size:1rem}
.reqs{margin:0 0 1.6rem;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 3rem}
.reqs div{display:grid;grid-template-columns:10.5rem minmax(0,1fr);gap:1rem;padding:.9rem 0;border-top:1px solid var(--line)}
.reqs dt{color:var(--muted)}
.reqs dd{margin:0;font-weight:600}
.tbl-wrap{overflow-x:auto;margin-bottom:1.5rem}
table{border-collapse:collapse;width:100%;min-width:30rem;font-size:1rem}
th,td{text-align:left;padding:.8rem 1rem .8rem 0;border-bottom:1px solid var(--line);vertical-align:top}
thead th{border-bottom:2px solid var(--fg);font:600 1rem/1.3 var(--display)}
tbody th{font-weight:400;color:var(--muted)}
td{font-weight:600}
td.no{font-weight:400;color:var(--muted)}
.note{font-size:.98rem;color:var(--muted);max-width:80ch}

/* FAQ */
.faq details{border-top:1px solid var(--line)}
.faq details:last-child{border-bottom:1px solid var(--line)}
.faq summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;gap:1rem;align-items:center;padding:1.15rem 0;font:600 1.08rem/1.35 var(--display)}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"";flex:none;width:1rem;height:1rem;background:linear-gradient(var(--fg),var(--fg)) center/100% 3px no-repeat,linear-gradient(var(--fg),var(--fg)) center/3px 100% no-repeat;transition:transform .2s}
.faq details[open] summary::after{background:linear-gradient(var(--fg),var(--fg)) center/100% 3px no-repeat;transform:rotate(180deg)}
.faq details p{padding:0 2.5rem 1.3rem 0;margin:0;color:var(--muted)}

/* Guide cards */
.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:2rem;list-style:none}
.card{display:flex;flex-direction:column}
.card img{border-radius:var(--r);aspect-ratio:16/9;object-fit:cover;width:100%;box-shadow:0 0 0 1px var(--line)}
.card h3{margin:1rem 0 .5rem}
.card h3 a{text-decoration:none}
.card h3 a:hover{text-decoration:underline}
.card p{color:var(--muted);font-size:1rem;margin-bottom:.9rem}
.card .more{margin-top:auto;font-weight:600}
.guides-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:end;gap:1.5rem;margin-bottom:2.5rem}
.guides-head p{color:var(--muted);margin:.8rem 0 0;font-size:1.1rem}

/* Inner pages */
.page-head{padding:clamp(2.5rem,5vw,4rem) 0}
.page-head h1{font-size:clamp(1.9rem,3.6vw,2.9rem);max-width:24ch}
.page-head .lead{max-width:60ch}
.crumbs{font-size:.9rem;color:var(--muted);margin-bottom:1.2rem}
.crumbs a{color:inherit}
.meta{font-size:.95rem;color:var(--muted);margin-top:1.2rem}
.article-grid{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:3rem;align-items:start}
.article-media{position:sticky;top:calc(var(--hdr) + 1.5rem)}
.article-media img{width:100%;border-radius:6px;box-shadow:0 0 0 1px var(--line)}
.article-text>:first-child{margin-top:0}
.article-text p,.article-text ul,.article-text ol{max-width:none}
.article.wide .cta{margin-top:2.5rem}
.article.cols{columns:2;column-gap:3.5rem}
.article.cols h2{break-after:avoid}
.article.cols>h2:first-child,.article.cols>p:first-child{margin-top:0}
.article.cols p,.article.cols li{break-inside:avoid;max-width:none}
.article h2{font-size:1.4rem;margin:2rem 0 .7rem}
.article h3{margin:1.6rem 0 .6rem}
.article ul,.article ol{margin:0 0 1.2em 1.3rem;max-width:64ch}
.article li{margin-bottom:.45em}
.article code{font:0.95em ui-monospace,Consolas,monospace;background:var(--panel);padding:.1em .35em;border-radius:3px;overflow-wrap:anywhere}
.cta{margin-top:3rem;padding:1.8rem;border:2px solid var(--fg);border-radius:6px;display:flex;flex-wrap:wrap;gap:1.2rem;align-items:center;justify-content:space-between}
.cta p{margin:.4rem 0 0;color:var(--muted)}
.cta h2{font-size:1.3rem;margin:0}

/* Footer */
.ftr{padding:4rem 0 2rem;border-top:1px solid var(--line);font-size:.97rem}
.ftr-grid{display:grid;grid-template-columns:minmax(0,5fr) repeat(3,minmax(0,3fr));gap:2.5rem}
.ftr p{color:var(--muted);margin-top:1rem;max-width:34ch}
.ftr h2{font-size:1.05rem;margin-bottom:.9rem}
.ftr ul{list-style:none}
.ftr li{margin-bottom:.5rem}
.ftr li a{color:var(--muted);text-decoration:none}
.ftr li a:hover{color:var(--fg);text-decoration:underline}
.ftr-base{margin-top:3rem;padding-top:1.5rem;border-top:1px solid var(--line);color:var(--muted);font-size:.88rem}
.ftr-base p{max-width:none;margin:0 0 .4rem}

/* Back to top */
.to-top{position:fixed;right:1.25rem;bottom:1.25rem;z-index:60;width:3rem;height:3rem;display:grid;place-items:center;background:#0f63c9;color:#fff;border:2px solid #0f63c9;border-radius:var(--r);box-shadow:0 8px 20px rgba(28,44,76,.3);cursor:pointer;opacity:0;visibility:hidden;transform:translateY(.5rem);transition:opacity .2s,transform .2s,visibility .2s}
.to-top.show{opacity:1;visibility:visible;transform:none}
.to-top:hover{background:#fff;color:#0f63c9}
.to-top svg{width:1.3rem;height:1.3rem}

@media (max-width:900px){
  .menu-btn{display:grid}
  .nav{display:none;position:absolute;left:0;right:0;top:100%;background:var(--bg);border-bottom:1px solid var(--line);padding:1rem 1.5rem 1.5rem;grid-template-columns:repeat(2,minmax(0,1fr));gap:.3rem 1.5rem;font-size:1rem}
  .nav.open{display:grid}
  .nav a{padding:.6rem 0;border-bottom:1px solid var(--line)}
  .nav a.nav-dl{grid-column:1/-1;text-align:center;margin-top:.6rem;padding:.8rem}
  .hdr-in{position:relative}
}
@media (max-width:900px){
  .article-grid{grid-template-columns:minmax(0,1fr);gap:1.8rem}
  .article-media{position:static}
  .article.cols{columns:1}
  .steps,.reqs{grid-template-columns:minmax(0,1fr)}
  .tips,.spec{grid-template-columns:repeat(2,minmax(0,1fr))}
  .prose{columns:1}
  .cards{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ftr-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:700px){
  .hero-grid{grid-template-columns:minmax(0,1fr)}
}
@media (max-width:600px){
  body{font-size:1rem}
  .spec{grid-template-columns:minmax(0,1fr)}
  .feat,.tips,.cards,.ftr-grid{grid-template-columns:minmax(0,1fr)}
  .facts{grid-template-columns:minmax(0,1fr);gap:.8rem}
  .ledger div{grid-template-columns:minmax(0,1fr);gap:.4rem}
  .steps li{grid-template-columns:3rem 1fr}
  .steps li::before{font-size:2.4rem}
  .btn-xl{font-size:1.1rem;padding:1rem 1.3rem;width:100%;text-align:center}
  .wipe figcaption{flex-direction:column;gap:.4rem}
}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .wipe.run .wipe-before,.wipe.run .wipe-blade{animation:none}
  .to-top,.faq summary::after{transition:none}
}

/* Palette accents */
.hdr{border-bottom:1px solid var(--line);box-shadow:inset 0 3px 0 var(--blue)}
.article a:not(.btn),.faq details p a,.sec-body p a{color:#0f63c9}
.card .more,.replay{color:#0f63c9}
.ftr .brand{color:#fff}

/* Hero picture */
.hero-fig{margin:0}
.hero-fig img{width:100%;border-radius:8px;box-shadow:0 26px 50px -26px rgba(10,42,82,.6),0 0 0 1px var(--line)}
.hero-fig figcaption{margin-top:.8rem;font-size:.9rem;color:var(--muted)}
.dl-box .actions{gap:1rem}
.btn.btn-xl.alt{background:var(--btn-bg);border-color:var(--btn-bg);color:#fff}

/* Feature spotlight — distinct from the other editorial sections */
.feature-section{background:linear-gradient(145deg,#f4f8ff 0%,#eaf2fc 100%);position:relative;overflow:hidden}
.feature-section::before{content:"";position:absolute;right:-11rem;top:-13rem;width:31rem;height:31rem;border:1px solid rgba(24,119,224,.12);border-radius:50%;pointer-events:none}
.feature-heading{position:relative;max-width:45rem;margin-bottom:2.3rem}
.feature-eyebrow{display:inline-block;color:#1367c6;font-size:.76rem;letter-spacing:.15em;font-weight:700;margin-bottom:.8rem}
.feature-heading h2{font-size:clamp(2rem,3.7vw,3rem);letter-spacing:-.04em}
.feature-heading p{font-size:1.05rem;line-height:1.75;color:#47617f;margin:.85rem 0 0;max-width:40rem}
.feature-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.15rem;padding:0;margin:0;list-style:none;position:relative}
.feature-card{display:flex;gap:1.1rem;align-items:flex-start;padding:1.55rem;background:rgba(255,255,255,.9);border:1px solid #d7e5f5;border-radius:18px;box-shadow:0 9px 28px rgba(23,67,120,.045);transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}
.feature-card:hover{transform:translateY(-3px);border-color:#a4c7ee;box-shadow:0 16px 36px rgba(23,67,120,.1)}
.feature-icon{width:3.25rem;height:3.25rem;min-width:3.25rem;display:grid;place-items:center;background:linear-gradient(145deg,#eaf3ff,#d8eaff);border:1px solid #c5dffa;border-radius:14px;color:#1268c7}
.feature-icon svg{width:1.55rem;height:1.55rem}
.feature-copy h3{font-size:1.14rem;line-height:1.35;margin:0 0 .5rem;color:#0a2a52}
.feature-copy p{font-size:.92rem;line-height:1.75;margin:0;color:#4a617d}
.ftr-base{display:flex;flex-wrap:wrap;align-items:center;column-gap:1.1rem;row-gap:.5rem}
.ftr-base .ftr-copyright,.ftr-base .ftr-disclaimer{margin:0;max-width:none;font-size:.82rem;line-height:1.6}
.ftr-divider{display:block;width:1px;height:1.1rem;background:rgba(194,212,234,.55)}
@media(max-width:700px){.feature-grid{grid-template-columns:1fr}.feature-card{padding:1.25rem}.feature-heading{margin-bottom:1.6rem}.ftr-divider{display:none}.ftr-base{align-items:flex-start;flex-direction:column;gap:.4rem}}
@media(prefers-reduced-motion:reduce){.feature-card{transition:none}}

/* Footer copyright remains left; disclaimer aligns to right edge. */
.ftr-base{justify-content:space-between}
.ftr-left{display:flex;align-items:center;gap:1.1rem}
.ftr-base .ftr-disclaimer{margin-left:auto;text-align:right}
@media(max-width:700px){.ftr-base .ftr-disclaimer{margin-left:0;text-align:left}}
