:root{
  --ink:#141414; --muted:#6B6B66; --line:#ECECEC; --bg:#FFFFFF; --soft:#F8F8F8;
  --dark:#0F0F0F; --dark-line:#2A2A2A; --dark-muted:#B7B7B7;
  --red:#FF0000; --red-dark:#CC0000;
  --wrap:1080px;
  --t-accent:#FF0000; --t-grad:#fff; --t-text:#141414; --t-sub:#6B6B66;
}
*{box-sizing:border-box;margin:0}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%;font-size:118%}
body{background:var(--bg);color:var(--ink);font:1.06rem/1.7 Inter,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif}
h1,h2,h3,h4,.brand{font-family:"Space Grotesk",Inter,sans-serif;letter-spacing:-.02em;line-height:1.18}
a{color:inherit;text-decoration:none}
img,svg{max-width:100%}
.wrap{max-width:var(--wrap);margin:0 auto;padding:0 24px}
.wrap.narrow{max-width:820px}

/* ---------- NAVBAR ---------- */
.nav{background:var(--dark);position:sticky;top:0;z-index:100}
.nav-inner{width:100%;padding:0 clamp(16px,3.5vw,44px);height:64px;display:flex;align-items:center;justify-content:space-between}
.brand{display:flex;align-items:center;gap:7px;font-size:1.5rem;font-weight:700;color:#fff}
.brand svg{width:1.15em;height:1.15em;color:var(--red)}
.brand-txt b{color:var(--red);font-weight:700}
.brand-txt{font-weight:600}
.nav-links{display:flex;align-items:center;gap:2px}
.nav-links>a,.dropdown-btn{color:#eaeaea;font-size:.95rem;font-weight:500;padding:9px 13px;background:none;border:0;cursor:pointer;font-family:inherit;border-radius:7px;display:inline-flex;align-items:center;gap:3px}
.nav-links>a:hover,.dropdown-btn:hover{color:#fff;background:#ffffff14}
.nav-links>a.active{color:var(--red)}
.caret{font-size:.62em;opacity:.7;padding:2px}
.dropdown{position:relative}
/* hover bridge: invisible pad so cursor can cross the gap without closing */
.dropdown-menu{position:absolute;top:100%;left:0;margin-top:0;padding-top:10px;min-width:250px;display:none;z-index:110}
.dropdown-menu::before{content:"";position:absolute;top:0;left:0;right:0;height:10px}
.dropdown-menu-inner,.dropdown-menu>a{}
.dropdown-menu{background:transparent}
.dropdown-menu>a{display:block;background:#fff;color:var(--ink);font-size:.92rem;padding:11px 15px}
.dropdown-menu>a:first-of-type{border-radius:12px 12px 0 0;padding-top:14px}
.dropdown-menu>a:last-of-type{border-radius:0 0 12px 12px;padding-bottom:14px;box-shadow:0 16px 40px rgba(0,0,0,.16)}
.dropdown-menu>a{border-left:1px solid var(--line);border-right:1px solid var(--line)}
.dropdown-menu>a:last-of-type{border-bottom:1px solid var(--line)}
.dropdown-menu>a:first-of-type{border-top:1px solid var(--line)}
.dropdown-menu>a:hover{background:var(--soft);color:var(--red)}
.dropdown:hover .dropdown-menu,.dropdown.open .dropdown-menu{display:block;animation:fadeUp .16s ease}
@keyframes fadeUp{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}
.nav-toggle{display:none;flex-direction:column;gap:5px;background:none;border:0;cursor:pointer;padding:9px}
.nav-toggle span{width:23px;height:2px;background:#fff;border-radius:2px;transition:.2s}

/* ---------- HERO ---------- */
.hero{background:var(--bg);padding:70px 0 20px;text-align:center}
.hero-sub-page{padding:52px 0 34px}
.hero h1{font-size:clamp(2.6rem,5.4vw,3.9rem);font-weight:700}
.hero-sub{color:var(--muted);max-width:720px;margin:18px auto 0;font-size:1.18rem}
.hero-note{color:var(--muted);font-size:.85rem;margin-top:16px}
.crumbs{font-size:.85rem;color:var(--muted);margin-bottom:14px}
.crumbs a:hover{color:var(--red)}.crumbs span{margin:0 7px;opacity:.6}

/* themed hero (per-platform) — clean white, dark text, only the accent coloured */
.hero.themed{background:var(--bg);color:var(--ink)}
.hero.themed h1{color:var(--ink)}
.hero.themed .hero-sub,.hero.themed .hero-note{color:var(--muted)}
.hero.themed .crumbs,.hero.themed .crumbs a{color:var(--muted)}
.hero.themed #go{background:var(--t-accent)}
.hero.themed #url:focus{border-color:var(--t-accent)}
/* subtabs on white hero */
.hero.themed .subtabs{background:#f4f4f4;border:1px solid var(--line)}
.hero.themed .subtab{color:var(--muted)}
.hero.themed .subtab:hover{background:#e9e9e9}
.hero.themed .subtab.on{background:var(--t-accent);color:#fff}

/* subtabs */
.subtabs{display:inline-flex;flex-wrap:wrap;gap:5px;background:#f4f4f4;border:1px solid var(--line);border-radius:40px;padding:5px;margin-bottom:22px}
.subtab{color:var(--muted);opacity:1;font-size:.86rem;font-weight:600;padding:7px 15px;border-radius:40px;font-family:"Space Grotesk",sans-serif}
.subtab:hover{background:#e9e9e9}
.subtab.on{background:var(--t-accent);color:#fff}

/* ---------- TOOL ---------- */
.tool{max-width:720px;margin:30px auto 0}
.tool-row{display:flex;gap:10px;background:#fff;border:1.5px solid var(--line);border-radius:14px;padding:7px 7px 7px 14px;align-items:center;box-shadow:0 4px 20px rgba(0,0,0,.05)}
.tool-globe{display:flex;color:var(--muted);flex-shrink:0}.tool-globe svg{width:20px;height:20px}
#url{flex:1;min-width:0;padding:13px 6px;border:0;font-size:1rem;background:none;font-family:inherit;color:var(--ink)}
#url:focus{outline:none}
#go{display:inline-flex;align-items:center;gap:7px;padding:14px 26px;border:0;border-radius:10px;background:var(--red);color:#fff;font:600 1rem "Space Grotesk",sans-serif;cursor:pointer;transition:background .15s;white-space:nowrap}
#go svg{width:18px;height:18px}
#go:hover{background:var(--red-dark)}
#go:disabled{opacity:.6;cursor:wait}
.stage{margin-top:20px;text-align:center}
.spin{width:36px;height:36px;border:3px solid var(--line);border-top-color:var(--t-accent);border-radius:50%;margin:0 auto 10px;animation:sp .8s linear infinite}
@keyframes sp{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){.spin{animation:none}.dropdown-menu{animation:none}}
#status{color:var(--muted);font-size:.95rem}
.err{color:#C11;font-size:.95rem;margin-top:6px}
.media{display:flex;gap:16px;align-items:center;margin-top:22px;text-align:left;background:var(--soft);border:1px solid var(--line);border-radius:14px;padding:16px}
.media img{width:140px;border-radius:10px;flex-shrink:0}
.media-meta p{font-weight:600;font-size:1rem;margin-bottom:4px}
.media-meta #vby{font-size:.85rem;color:var(--muted);display:block}
.dur{display:inline-block;margin-top:8px;background:#fff;border:1px solid var(--line);border-radius:6px;padding:2px 10px;font-size:.82rem;color:var(--muted)}
#results{margin-top:16px;text-align:left}
.fgroup{margin-top:16px}
.fgroup h4{font-size:.82rem;color:var(--muted);text-transform:uppercase;letter-spacing:.06em;margin-bottom:8px}
.frow{display:flex;align-items:center;gap:13px;padding:12px 4px;border-bottom:1px solid var(--line)}
.fbadge{background:var(--t-accent);color:#fff;font:700 .72rem "Space Grotesk",sans-serif;border-radius:5px;padding:3px 9px}
.ftier{font:600 .68rem "Space Grotesk",sans-serif;color:var(--t-accent);background:color-mix(in srgb,var(--t-accent) 12%,#fff);border-radius:5px;padding:2px 7px}
.flabel{font-weight:600;font-size:.95rem;min-width:62px}
.fsize{color:var(--muted);font-size:.86rem;flex:1}
.fbtn{border:1.5px solid var(--t-accent);background:#fff;color:var(--t-accent);border-radius:9px;padding:9px 20px;font:600 .88rem "Space Grotesk",sans-serif;cursor:pointer;transition:.15s}
.fbtn:hover{background:var(--t-accent);color:#fff}
.fbtn:disabled{opacity:.5;cursor:wait}

/* ---------- SECTIONS ---------- */
section{padding:64px 0}
.band{background:var(--soft);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
h2{font-size:clamp(1.85rem,3.4vw,2.5rem);font-weight:700;text-align:center}
.section-sub{text-align:center;color:var(--muted);max-width:680px;margin:12px auto 0;font-size:1.02rem}
.prose-sec h2{text-align:left}
.prose-sec p{color:#333;margin-bottom:15px;font-size:1.02rem}
.prose-sec.legal h2{font-size:1.3rem;margin:28px 0 10px}
.narrow h2{margin-bottom:20px}

/* platforms strip */
.platforms{padding:6px 0 30px}
.platform-strip{display:flex;flex-wrap:wrap;gap:12px;justify-content:center}
.platform-chip{display:flex;align-items:center;gap:9px;background:#fff;border:1px solid var(--line);border-radius:40px;padding:10px 20px;font-size:.95rem;font-weight:500;transition:.15s}
.platform-chip svg{width:20px;height:20px}
.platform-chip:hover{border-color:var(--red);transform:translateY(-2px);box-shadow:0 6px 16px rgba(0,0,0,.08)}

/* feature grid */
.feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:26px;margin-top:34px}
.feature-grid.four{grid-template-columns:repeat(4,1fr)}
.feature{text-align:center}
.feature-ic{width:56px;height:56px;border-radius:14px;background:color-mix(in srgb,var(--t-accent) 12%,#fff);color:var(--t-accent);display:flex;align-items:center;justify-content:center;margin:0 auto 14px}
.feature-ic svg{width:24px;height:24px}
.feature h3{font-size:1.1rem;margin-bottom:6px}
.feature p{color:var(--muted);font-size:.94rem}

/* steps (simple, in tool pages) */
.steps{display:grid;grid-template-columns:repeat(2,1fr);gap:24px;margin-top:32px;max-width:900px;margin-left:auto;margin-right:auto}
.step{display:flex;gap:15px;align-items:flex-start}
.step-n{flex-shrink:0;width:36px;height:36px;border-radius:50%;background:var(--red);color:#fff;font:700 1rem "Space Grotesk",sans-serif;display:flex;align-items:center;justify-content:center}
.step h3{font-size:1.05rem;margin-bottom:4px}.step p{color:var(--muted);font-size:.94rem}

/* steps with illustration (homepage 5-step) */
.steps-illus{display:grid;grid-template-columns:repeat(5,1fr);gap:18px;margin-top:36px}
.step-ill{text-align:center}
.step-ill-img{position:relative;margin-bottom:14px}
.step-ill-n{position:absolute;top:-8px;left:50%;transform:translateX(-50%);width:28px;height:28px;border-radius:50%;background:var(--red);color:#fff;font:700 .9rem "Space Grotesk",sans-serif;display:flex;align-items:center;justify-content:center;box-shadow:0 3px 8px rgba(255,0,0,.3)}
.step-ill h3{font-size:1rem;margin-bottom:5px}
.step-ill p{color:var(--muted);font-size:.86rem}

/* platform grid (download from every platform) */
.pgrid{margin-top:36px;display:flex;flex-direction:column;gap:34px}
.pgrid-h{font-size:1.2rem;margin-bottom:14px}
.pgrid-btns{display:grid;grid-template-columns:repeat(3,1fr);gap:11px}
.pbtn{display:flex;align-items:center;gap:11px;background:var(--soft);border:1px solid var(--line);border-radius:12px;padding:14px 16px;font-size:.94rem;font-weight:500;color:var(--ink);transition:all .16s}
.pbtn svg{width:22px;height:22px;flex-shrink:0}
.pbtn:hover{border-color:var(--red);transform:translateY(-2px);box-shadow:0 8px 20px rgba(255,0,0,.10);background:#fff}

/* two-column prose (free downloader section) */
.two-col{display:grid;grid-template-columns:1.15fr 1fr;gap:44px;align-items:center}
.two-col-img{display:flex;justify-content:center}

/* faq */
.faq details{border:1px solid var(--line);border-radius:12px;margin-bottom:10px;padding:16px 20px;background:#fff}
.faq summary{cursor:pointer;font-weight:600;font-family:"Space Grotesk",sans-serif;font-size:1rem;list-style:none}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";float:right;color:var(--red);font-size:1.3rem;line-height:1}
.faq details[open] summary::after{content:"–"}
.faq p{margin-top:11px;color:var(--muted);font-size:.96rem}

/* chips / related */
.chip-row{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;margin-top:22px}
.chip{background:#fff;border:1px solid var(--line);border-radius:40px;padding:9px 18px;font-size:.88rem;color:var(--muted);transition:.15s}
.chip:hover{border-color:var(--red);color:var(--red)}

/* legal */
.prose-sec.legal a{color:var(--red)}.prose-sec.legal a:hover{text-decoration:underline}

/* ---------- GUIDES ---------- */
.guide-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin-top:20px}
.guide-card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:24px;transition:.16s;display:flex;flex-direction:column}
.guide-card:hover{transform:translateY(-3px);box-shadow:0 12px 30px rgba(0,0,0,.08);border-color:transparent}
.guide-card-ic{width:46px;height:46px;border-radius:12px;background:var(--soft);display:flex;align-items:center;justify-content:center;margin-bottom:14px}
.guide-card-ic svg{width:26px;height:26px}
.guide-card h3{font-size:1.1rem;margin-bottom:8px}
.guide-card p{color:var(--muted);font-size:.9rem;flex:1;margin-bottom:14px}
.guide-card-link{font-weight:600;font-size:.9rem;font-family:"Space Grotesk",sans-serif}
.guide-steps{display:flex;flex-direction:column;gap:34px}
.guide-step-head{display:flex;align-items:center;gap:14px;margin-bottom:12px}
.guide-step-n{flex-shrink:0;width:38px;height:38px;border-radius:50%;background:var(--red);color:#fff;font:700 1.05rem "Space Grotesk",sans-serif;display:flex;align-items:center;justify-content:center}
.guide-step-head h2{font-size:1.3rem;text-align:left;margin:0}
.guide-step-body{display:grid;grid-template-columns:1.4fr 1fr;gap:26px;align-items:center;padding-left:52px}
.guide-step-body p{color:#333;font-size:1rem}
.guide-step-img{display:flex;justify-content:center}
.tips{list-style:none;margin-top:18px;display:flex;flex-direction:column;gap:12px}
.tips li{display:flex;gap:11px;align-items:flex-start;color:#333}
.tips svg{width:22px;height:22px;color:#28C840;flex-shrink:0;margin-top:1px}
.cta-box{display:flex;align-items:center;justify-content:space-between;gap:20px;background:var(--soft);border:1px solid var(--line);border-radius:16px;padding:26px 30px;flex-wrap:wrap}
.cta-box h3{font-size:1.25rem;margin-bottom:5px}
.cta-box p{color:var(--muted);font-size:.94rem}
.cta-btn{color:#fff;padding:13px 26px;border-radius:10px;font:600 .95rem "Space Grotesk",sans-serif;white-space:nowrap}

/* ---------- FOOTER ---------- */
.site-footer{background:var(--dark);color:var(--dark-muted);margin-top:10px}
.footer-inner{width:100%;padding:48px clamp(16px,3.5vw,44px) 30px;display:grid;grid-template-columns:1.3fr 3fr;gap:40px}
.footer-brand .brand{font-size:1.35rem}.footer-brand .brand svg{color:var(--red)}
.footer-brand p{font-size:.88rem;margin-top:12px;max-width:290px;line-height:1.6}
.footer-cols{display:grid;grid-template-columns:repeat(5,1fr);gap:22px}
.footer-col h4{color:#fff;font-size:.86rem;margin-bottom:12px}
.footer-col a{display:block;color:var(--dark-muted);font-size:.84rem;margin:7px 0;line-height:1.4}
.footer-col a:hover{color:#fff}
.footer-bottom{border-top:1px solid var(--dark-line);padding:20px clamp(16px,3.5vw,44px);width:100%;display:flex;justify-content:space-between;gap:16px;font-size:.82rem;flex-wrap:wrap}

/* ---------- RESPONSIVE (mobile-first friendly) ---------- */
@media (max-width:940px){
  .nav-toggle{display:flex}
  .nav-links{position:absolute;top:64px;left:0;right:0;background:var(--dark);flex-direction:column;align-items:stretch;padding:10px 16px 20px;gap:2px;display:none;max-height:calc(100vh - 64px);overflow-y:auto}
  .nav-links.open{display:flex}
  .nav-links>a,.dropdown-btn{width:100%;text-align:left;padding:12px 14px}
  .dropdown{width:100%}
  .dropdown-btn{justify-content:space-between}
  .dropdown-menu{position:static;display:none;min-width:auto;padding-top:0;margin:0 0 4px 12px}
  .dropdown-menu::before{display:none}
  .dropdown.open .dropdown-menu{display:block}
  .dropdown-menu>a{background:#161616;color:#ddd;border:0;border-radius:8px!important;margin:2px 0;padding:10px 14px!important;box-shadow:none}
  .dropdown-menu>a:hover{background:#ffffff12;color:#fff}
  .steps-illus{grid-template-columns:repeat(2,1fr);gap:26px}
  .pgrid-btns{grid-template-columns:repeat(2,1fr)}
  .guide-grid{grid-template-columns:repeat(2,1fr)}
  .feature-grid,.feature-grid.four{grid-template-columns:repeat(2,1fr)}
  .two-col{grid-template-columns:1fr;gap:26px}
  .two-col-img{order:-1}
  .guide-step-body{grid-template-columns:1fr;padding-left:0;gap:16px}
  .guide-step-img{order:-1}
  .footer-inner{grid-template-columns:1fr;gap:28px}
  .footer-cols{grid-template-columns:repeat(3,1fr)}
}
@media (max-width:600px){
  body{font-size:16px}
  .hero{padding:44px 0 30px}
  .tool-row{flex-wrap:wrap;padding:12px}
  .tool-globe{display:none}
  #url{flex:1 1 100%;padding:12px 4px;border-bottom:1px solid var(--line);margin-bottom:8px}
  #go{width:100%;justify-content:center}
  .steps,.steps-illus,.pgrid-btns,.feature-grid,.feature-grid.four,.guide-grid,.footer-cols{grid-template-columns:1fr}
  .subtabs{width:100%;justify-content:flex-start;overflow-x:auto}
  .media{flex-direction:row}.media img{width:96px}
  .cta-box{flex-direction:column;align-items:flex-start}
  .cta-btn{width:100%;text-align:center}
  .footer-bottom{flex-direction:column;gap:8px}
  section{padding:42px 0}
}

/* hidden tool sub-elements must never show */
[hidden]{display:none!important}
.tool .stage,.tool .media,.tool #results{background:none;border:0;padding:0}
.tool .media[hidden],.tool .stage[hidden],.tool #results[hidden]{display:none!important}

/* ---------- download bar (in-page progress + cancel) ---------- */
.spin.sm{width:18px;height:18px;border-width:2px;margin:0}
.dlbar{display:flex;flex-direction:column;gap:11px;margin-top:16px;background:var(--soft);border:1px solid var(--line);border-radius:12px;padding:14px 16px}
.dlbar-top{display:flex;align-items:center;justify-content:space-between;gap:14px}
.dlbar-info{display:flex;align-items:center;gap:10px;font-size:.95rem;font-weight:600;color:var(--ink)}
.dlcancel{border:1px solid var(--line);background:#fff;color:var(--muted);border-radius:9px;padding:8px 16px;font:600 .85rem "Space Grotesk",sans-serif;cursor:pointer;flex-shrink:0}
.dlcancel:hover{border-color:#C11;color:#C11}
.dlprog{height:8px;background:#e6e6e6;border-radius:6px;overflow:hidden}
.dlfill{height:100%;width:0;background:var(--t-accent);border-radius:6px;transition:width .2s ease}
.dlprog.indet .dlfill{width:38%;animation:indet 1.1s ease-in-out infinite}
@keyframes indet{0%{margin-left:-38%}100%{margin-left:100%}}
.dlbar.done .dlfill{width:100%!important;background:#28C840}
.dlbar.done .dlbar-info{color:#1a9c33}
.dlbar.done #dlspin{display:none}
