@font-face{font-family:Poppins;font-weight:400;font-style:normal;font-display:swap;src:url(/assets/fonts/poppins-latin-400-normal.woff2) format("woff2")}
@font-face{font-family:Poppins;font-weight:500;font-style:normal;font-display:swap;src:url(/assets/fonts/poppins-latin-500-normal.woff2) format("woff2")}
@font-face{font-family:Poppins;font-weight:600;font-style:normal;font-display:swap;src:url(/assets/fonts/poppins-latin-600-normal.woff2) format("woff2")}
@font-face{font-family:Poppins;font-weight:600;font-style:italic;font-display:swap;src:url(/assets/fonts/poppins-latin-600-italic.woff2) format("woff2")}

:root{
  --bg:#2b2b2b;--surface:#333;--surface-2:#3b3b3b;--line:#4a4a4a;
  --text:#f5f5f5;--muted:#b9b9b9;
  --yellow:#ffdf90;--purple:#bfaff2;--blue:#3366ff;--green:#009379;--red:#ff6250;
  --blue-t:#8aa8ff;--green-t:#3fcdb2;
  --radius:14px;--wrap:1120px;
  --font:Poppins,system-ui,-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  color-scheme:dark;
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-padding-top:5rem}
body{margin:0;background:var(--bg);color:var(--text);font:400 1rem/1.75 var(--font);-webkit-font-smoothing:antialiased}
img,svg{max-width:100%;height:auto}
a{color:var(--yellow);text-underline-offset:3px}
a:hover{color:#fff}
h1,h2,h3,h4{font-weight:600;line-height:1.3;margin:0 0 .6em}
h1{font-size:clamp(2rem,4.2vw,3.25rem)}
h2{font-size:clamp(1.5rem,3vw,2.1rem)}
h3{font-size:1.2rem}
p{margin:0 0 1.1em}
:focus-visible{outline:3px solid var(--yellow);outline-offset:3px;border-radius:6px}
.skip{position:absolute;left:-999px;top:0;background:var(--yellow);color:#222;padding:.6rem 1rem;z-index:100;border-radius:0 0 10px 0}
.skip:focus{left:0}
.wrap{width:min(100% - 2.5rem,var(--wrap));margin-inline:auto}
.muted{color:var(--muted)}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* header */
.site-header{position:sticky;top:0;z-index:50;background:rgba(43,43,43,.94);backdrop-filter:blur(8px);border-bottom:1px solid #3a3a3a}
.bar{display:flex;align-items:center;gap:1.25rem;min-height:4.5rem}
.brand{font:italic 600 1.6rem/1 var(--font);color:#fff;text-decoration:none;margin-right:auto}
.nav{display:flex;align-items:center;gap:1.6rem}
.nav a{color:#e9e9e9;text-decoration:none;font-weight:500;padding:.4rem 0;border-bottom:2px solid transparent}
.nav a:hover,.nav a[aria-current]{border-color:var(--yellow);color:#fff}
.nav a.btn{padding:.5rem 1.1rem;border:0;color:#2b2b2b;white-space:nowrap}
.nav a.btn:hover{color:#2b2b2b}
.nav-toggle{display:none;background:none;border:1px solid var(--line);color:#fff;border-radius:10px;padding:.5rem .8rem;font:500 .95rem var(--font);cursor:pointer}
.search{position:relative}
.search input{width:11rem;background:var(--surface);border:1px solid var(--line);color:#fff;border-radius:12px;padding:.5rem .9rem;font:400 .92rem var(--font)}
.search input::placeholder{color:#9b9b9b}
.search-results{position:absolute;right:0;top:calc(100% + .5rem);width:min(22rem,86vw);background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:.4rem;list-style:none;margin:0;display:none;box-shadow:0 18px 40px rgba(0,0,0,.45)}
.search-results.open{display:block}
.search-results a{display:block;padding:.6rem .8rem;border-radius:10px;color:#fff;text-decoration:none;line-height:1.4}
.search-results a:hover,.search-results a:focus{background:var(--surface-2)}
.search-results small{display:block;color:var(--muted)}

/* buttons */
.btn{display:inline-block;border:0;border-radius:var(--radius);padding:.8rem 1.7rem;font:500 1rem/1.3 var(--font);text-decoration:none;cursor:pointer;transition:transform .15s,background .15s}
.btn:hover{transform:translateY(-2px)}
.btn:disabled{opacity:.45;cursor:not-allowed;transform:none}
.btn-yellow{background:var(--yellow);color:#2b2b2b;font-style:italic}
.btn-yellow:hover{background:#ffe9b3;color:#2b2b2b}
.btn-purple{background:var(--purple);color:#2b2b2b}
.btn-purple:hover{background:#d0c4f7;color:#2b2b2b}
.btn-line{background:transparent;color:#fff;border:1px solid #6a6a6a}
.btn-line:hover{border-color:var(--yellow);color:#fff}
.btn-sm{padding:.5rem 1rem;font-size:.92rem;border-radius:12px}

/* hero */
.hero{display:grid;grid-template-columns:1fr 1.05fr;gap:3rem;align-items:center;padding:4.5rem 0 5rem}
.hero h1{margin-bottom:1.2rem;line-height:1.28}
.hero .lead{font-size:1.125rem;color:var(--muted);max-width:34rem;margin-bottom:2rem}
.hero .actions{display:flex;flex-wrap:wrap;gap:1rem;align-items:center}
.hero .note{margin:1.4rem 0 0;font-size:.95rem;color:var(--muted)}
.stage{position:relative;padding:1rem 0 4rem}
.dash{background:var(--surface);border-radius:28px;padding:1.2rem;display:grid;grid-template-columns:1fr 1fr;gap:1rem;transform:perspective(1400px) rotateY(-9deg) rotateX(2deg) rotate(1deg);transform-origin:left center;box-shadow:0 30px 60px rgba(0,0,0,.35)}
.dcard{background:var(--bg);border-radius:var(--radius);padding:1rem}
.dcard.wide{grid-column:1/-1}
.dlabel{display:inline-block;font-size:.72rem;line-height:1.4;border-bottom:2px solid var(--yellow);margin-bottom:.9rem}
.donut{display:block;width:8.5rem;margin:.2rem auto}
.donut circle{fill:none;stroke-width:11}
.donut .seg{animation:sweep 1.2s ease-out both}
@keyframes sweep{from{stroke-dasharray:0 100}}
.legend{display:flex;flex-wrap:wrap;gap:.2rem .8rem;justify-content:center;font-size:.66rem;color:var(--muted);margin-top:.6rem}
.legend i{display:inline-block;width:.6rem;height:.6rem;border-radius:50%;margin-right:.3rem}
.wave{display:block;width:100%;height:auto}
.ticks{display:flex;justify-content:space-between;font-size:.6rem;color:#8d8d8d;margin-top:.4rem}
.prev{display:grid;grid-template-columns:1fr 1fr;gap:.7rem;font-size:.72rem;line-height:1.45}
.prev div{border-left:3px solid var(--blue);padding:.15rem 0 .15rem .6rem;color:#d8d8d8}
.prev div:nth-child(even){border-color:var(--green)}
.prev .chosen{background:rgba(255,223,144,.14);border-radius:4px}
.prev small{display:block;color:#8d8d8d;font-size:.62rem}
.tile{position:absolute;left:-2.6rem;bottom:-2rem;width:9.4rem;background:#fff;color:#2b2b2b;border-radius:16px;padding:.9rem;transform:rotate(-9deg);box-shadow:0 18px 40px rgba(0,0,0,.4);font-size:.72rem;line-height:1.35}
.tile b{display:block;font-size:1.25rem;font-style:italic;font-weight:600;color:#2b2b2b}
.tile span{display:block;margin-top:.4rem;height:.35rem;border-radius:4px;background:var(--yellow)}
.tile span+span{width:60%;background:var(--purple)}

/* sections */
.section{padding:4.5rem 0}
.section.alt{background:#262626}
.section-head{max-width:40rem;margin-bottom:2.5rem}
.section-head p{color:var(--muted);font-size:1.05rem}
.steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem;counter-reset:s}
.steps li{counter-increment:s;background:var(--surface);border-radius:20px;padding:1.6rem}
.steps li::before{content:counter(s);display:grid;place-items:center;width:2.4rem;height:2.4rem;border-radius:50%;background:var(--yellow);color:#2b2b2b;font-weight:600;margin-bottom:1rem}
.steps h3{margin-bottom:.4rem}
.steps p{margin:0;color:var(--muted)}
.trust{display:grid;grid-template-columns:1fr 1fr;gap:3rem;align-items:start}
.proof{border-left:4px solid var(--yellow);padding:.4rem 0 .4rem 1.4rem}
.proof h3{margin-bottom:.6rem}
.proof ol{margin:.8rem 0 0;padding-left:1.2rem;color:var(--muted)}
.feats{display:grid;grid-template-columns:1fr 1fr;gap:2rem 3rem;list-style:none;margin:0;padding:0}
.feats li{padding-left:1.6rem;position:relative}
.feats li::before{content:"";position:absolute;left:0;top:.62rem;width:.7rem;height:.7rem;border-radius:50%;background:var(--c,var(--yellow))}
.feats li:nth-child(4n+1){--c:var(--yellow)}.feats li:nth-child(4n+2){--c:var(--red)}.feats li:nth-child(4n+3){--c:var(--blue)}.feats li:nth-child(4n){--c:var(--green)}
.feats h3{margin-bottom:.3rem}.feats p{margin:0;color:var(--muted)}
.posts{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem}
.post{background:var(--surface);border-radius:20px;padding:1.5rem;display:flex;flex-direction:column}
.post h3{font-size:1.1rem;line-height:1.4}
.post h3 a{color:#fff;text-decoration:none}
.post h3 a:hover{color:var(--yellow)}
.post p{color:var(--muted);font-size:.95rem;flex:1}
.post .meta{font-size:.85rem;color:#9b9b9b;margin:0}
.faq details{border-bottom:1px solid var(--line);padding:1.1rem 0}
.faq summary{cursor:pointer;font-weight:500;font-size:1.05rem;list-style:none;display:flex;justify-content:space-between;gap:1rem}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";color:var(--yellow);font-size:1.5rem;line-height:1}
.faq details[open] summary::after{content:"\2212"}
.faq details p{margin:.8rem 0 0;color:var(--muted)}
.cta{text-align:center;padding:4rem 0 5rem}
.cta p{color:var(--muted);max-width:36rem;margin:0 auto 1.8rem}

/* inner pages */
.crumbs{font-size:.9rem;color:var(--muted);padding:1.5rem 0 0}
.crumbs a{color:var(--muted)}
.page-head{padding:1.5rem 0 .5rem;max-width:46rem}
.page-head .lead{color:var(--muted);font-size:1.12rem}
.prose{max-width:46rem;padding-bottom:3rem;font-size:1.06rem;line-height:1.85}
.prose h2{margin-top:2.4em;padding-top:.2em}
.prose h3{margin-top:1.8em}
.prose li{margin-bottom:.5em}
.prose code{background:var(--surface);padding:.1em .4em;border-radius:6px;font-size:.92em}
.prose pre{background:#222;border:1px solid var(--line);border-radius:var(--radius);padding:1rem 1.2rem;overflow-x:auto;line-height:1.6;font-size:.92rem}
.prose pre code{background:none;padding:0}
.prose table{width:100%;border-collapse:collapse;margin:1.5rem 0;font-size:.97rem;display:block;overflow-x:auto}
.prose th,.prose td{border-bottom:1px solid var(--line);padding:.6rem .8rem;text-align:left;vertical-align:top}
.prose th{color:var(--yellow);font-weight:500}
.prose blockquote{margin:1.5rem 0;padding:.2rem 0 .2rem 1.2rem;border-left:4px solid var(--purple);color:#dcdcdc}
.toc{background:var(--surface);border-radius:var(--radius);padding:1.1rem 1.4rem;margin:1.5rem 0 2rem;max-width:46rem}
.toc b{display:block;margin-bottom:.4rem}
.toc ul{margin:0;padding-left:1.1rem}.toc li{margin:.15rem 0}
.callout{background:var(--surface);border-left:4px solid var(--yellow);border-radius:0 var(--radius) var(--radius) 0;padding:1.2rem 1.5rem;margin:2rem 0;max-width:46rem}
.callout p{margin:0 0 .8rem}.callout p:last-child{margin:0}
.byline{color:var(--muted);font-size:.92rem}
.related{max-width:var(--wrap);padding:2rem 0 4rem}

/* the tool */
.tool{background:var(--surface);border-radius:24px;padding:1.4rem;margin:1.5rem 0 1rem}
.pickers{display:grid;grid-template-columns:1fr 1fr;gap:1rem}
.picker{border:2px dashed #5a5a5a;border-radius:var(--radius);padding:1rem 1.2rem;display:flex;flex-wrap:wrap;gap:.4rem .9rem;align-items:center;transition:border-color .15s,background .15s}
.picker.over{border-color:var(--yellow);background:rgba(255,223,144,.07)}
.picker.has-file{border-style:solid;border-color:var(--c)}
.picker[data-side=file1]{--c:var(--blue)}.picker[data-side=file2]{--c:var(--green)}
.picker strong{flex-basis:100%;font-weight:600}
.picker[data-side=file1] strong{color:var(--blue-t)}.picker[data-side=file2] strong{color:var(--green-t)}
.fname{color:var(--muted);font-size:.9rem;word-break:break-all}
.tool-actions{display:flex;flex-wrap:wrap;gap:.7rem;align-items:center;margin:1rem 0 .4rem}
.tool-actions .grow{flex:1}
.status{min-height:1.6rem;margin:.4rem 0;font-size:.95rem}
.status.err{color:#ff9d90}
.chips{display:flex;flex-wrap:wrap;gap:.5rem;margin:.4rem 0 1rem}
.chip{font-size:.82rem;border-radius:999px;padding:.2rem .8rem;border:1px solid var(--line)}
.chip::before{content:"";display:inline-block;width:.55rem;height:.55rem;border-radius:50%;background:var(--c);margin-right:.45rem}
.c-same{--c:var(--yellow)}.c-diff{--c:var(--red)}.c-a{--c:var(--blue)}.c-b{--c:var(--green)}
.tablewrap{max-height:68vh;overflow:auto;border-radius:var(--radius);background:var(--bg);display:none}
.tablewrap.ready{display:block}
table.merge{width:100%;border-collapse:separate;border-spacing:0;min-width:640px}
table.merge th{position:sticky;top:0;z-index:2;background:#222;text-align:left;padding:.7rem 1rem;font-weight:500;font-size:.9rem}
table.merge td{padding:.7rem 1rem;border-top:1px solid #3a3a3a;vertical-align:top}
table.merge td.file-column{width:44%;position:relative;font-size:.95rem;line-height:1.55;word-break:break-word}
td.file1{border-left:3px solid var(--blue)}td.file2{border-left:3px solid var(--green)}
td.same{color:#8a8a8a}td.same-text{color:#a9a9a9}
td.pickcell{width:6%;text-align:center;vertical-align:middle}
.subtitle{margin-bottom:.7rem;max-width:44rem}
.subtitle:last-of-type{margin-bottom:0}
.subtitle b{display:block;font-weight:500;font-size:.78rem;color:var(--yellow)}
td.same .subtitle b{color:#8a8a8a}
.pick{display:inline-flex;flex-direction:column;align-items:center;gap:.2rem;cursor:pointer;font-size:.72rem;color:var(--muted)}
.pick input{width:1.7rem;height:1.7rem;accent-color:var(--yellow);cursor:pointer;margin:0}
.pick .cb-label{display:none}
.edit-btn{position:absolute;right:.5rem;top:.5rem;background:var(--surface);color:var(--muted);border:1px solid var(--line);border-radius:8px;padding:.15rem .6rem;font:400 .74rem var(--font);cursor:pointer}
.edit-btn:hover{color:#fff;border-color:var(--yellow)}
.edit-area{width:100%;min-height:5rem;background:#1f1f1f;color:#fff;border:1px solid var(--yellow);border-radius:10px;padding:.6rem;font:400 .9rem/1.5 var(--font);resize:vertical}
.hint{font-size:.88rem;color:var(--muted);margin:.6rem 0 0}
.keys{width:100%;border-collapse:collapse;margin:1rem 0}
.keys th,.keys td{border-bottom:1px solid var(--line);padding:.6rem .8rem;text-align:left}
.keys th{color:var(--yellow);font-weight:500}

/* forms */
.form{max-width:36rem;display:grid;gap:1.1rem}
.form label{display:grid;gap:.35rem;font-weight:500}
.form input,.form textarea,.form select{background:var(--surface);color:#fff;border:1px solid var(--line);border-radius:12px;padding:.75rem 1rem;font:400 1rem var(--font)}
.form textarea{min-height:9rem;resize:vertical}
.form .hp{position:absolute;left:-9999px}
.form-msg{min-height:1.5rem}
.form-msg.ok{color:var(--green-t)}.form-msg.err{color:#ff9d90}

/* footer */
.site-footer{background:#222;margin-top:2rem;padding:3.5rem 0 2rem;font-size:.95rem}
.fgrid{display:grid;grid-template-columns:1.5fr 1fr 1.4fr 1fr;gap:2rem}
.site-footer h2{font-size:.95rem;font-weight:600;margin-bottom:.8rem;color:#fff}
.site-footer ul{list-style:none;margin:0;padding:0}
.site-footer li{margin-bottom:.45rem}
.site-footer a{color:var(--muted);text-decoration:none}
.site-footer a:hover{color:var(--yellow)}
.fine{border-top:1px solid #3a3a3a;margin-top:2.5rem;padding-top:1.4rem;color:#9b9b9b;font-size:.85rem}
.sitemap-list ul{padding-left:1.2rem}

@media (max-width:960px){
  .hero{grid-template-columns:1fr;padding-top:2.5rem}
  .dash{transform:none}
  .tile{left:auto;right:1rem}
  .steps,.posts{grid-template-columns:1fr}
  .trust,.feats{grid-template-columns:1fr}
  .fgrid{grid-template-columns:1fr 1fr}
  .nav-toggle{display:block}
  .nav{display:none;position:absolute;left:0;right:0;top:100%;background:var(--bg);border-bottom:1px solid var(--line);flex-direction:column;align-items:flex-start;padding:1rem 1.25rem 1.4rem;gap:.9rem}
  .nav.open{display:flex}
  .search input{width:100%}.search{width:100%}
  .search-results{left:0;right:auto}
}
@media (max-width:760px){
  .pickers{grid-template-columns:1fr}
  table.merge{min-width:0}
  table.merge thead{display:none}
  table.merge,table.merge tbody{display:block}
  table.merge tr{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid #3a3a3a}
  table.merge td{border:0;display:block}
  table.merge td.file-column{width:auto;grid-column:1/-1}
  td.file2{border-left:3px solid var(--green)}
  td.pickcell{width:auto;text-align:left;padding:.5rem 1rem}
  .pick{flex-direction:row;font-size:.9rem;gap:.6rem}
  .pick .cb-label{display:inline}
  .fgrid{grid-template-columns:1fr}
}
@media (prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}

/* cookie consent */
.consent{position:fixed;left:1rem;bottom:1rem;z-index:90;width:min(26rem,calc(100% - 2rem));background:var(--surface);border:1px solid var(--line);border-radius:20px;padding:1.2rem 1.3rem;box-shadow:0 20px 50px rgba(0,0,0,.55)}
.consent h2{font-size:1.05rem;margin:0 0 .4rem}
.consent p{font-size:.9rem;line-height:1.6;color:var(--muted);margin:0 0 .9rem}
.consent-actions{display:flex;gap:.6rem}
.linkbtn{background:none;border:0;padding:0;color:var(--muted);font:inherit;cursor:pointer;text-align:left}
.linkbtn:hover{color:var(--yellow)}

/* social icons */
.social{display:flex;gap:.7rem;flex-wrap:wrap}
.cta .social{justify-content:center}
.social a,.site-footer .social a{display:inline-grid;place-items:center;width:2.7rem;height:2.7rem;border-radius:50%;background:var(--surface);border:1px solid #5a5a5a;color:#fff;transition:background .15s,color .15s,transform .15s}
.social a:hover,.site-footer .social a:hover{background:var(--yellow);color:#2b2b2b;border-color:var(--yellow);transform:translateY(-2px)}

/* utilities (replace inline styles so the CSP needs no 'unsafe-inline') */
.pad-lg{padding:5rem 0}.narrow{max-width:48rem}.flush{margin:0}.mt-lg{margin-top:1.5rem}.mt-sm{margin-top:.8rem}.mb-xl{margin-bottom:4rem}
.cta-follow{margin:2.2rem auto .7rem}.follow-label{margin:1rem 0 .6rem;color:#fff;font-weight:500}
.brand-sm{font-size:1.4rem}
.post h2{font-size:1.15rem;line-height:1.4}.post h2 a{color:#fff;text-decoration:none}.post h2 a:hover{color:var(--yellow)}
.t-yellow{color:var(--yellow)}.t-red{color:var(--red)}.t-blue{color:var(--blue-t)}.t-green{color:var(--green-t)}
.d-yellow{background:#ffdf90}.d-red{background:#ff6250}.d-blue{background:#3366ff}.d-green{background:#009379}
