/* ==========================================================
   4K Video Downloader — main stylesheet
   Light theme · Poppins · 1140px layout width
   ========================================================== */

@font-face{font-family:"Poppins";font-style:normal;font-weight:400;font-display:swap;src:url("../fonts/poppins-400.woff") format("woff")}
@font-face{font-family:"Poppins";font-style:normal;font-weight:500;font-display:swap;src:url("../fonts/poppins-500.woff") format("woff")}
@font-face{font-family:"Poppins";font-style:normal;font-weight:700;font-display:swap;src:url("../fonts/poppins-700.woff") format("woff")}

:root{
  --bg:#fbfcf8;
  --surface:#ffffff;
  --ink:#16231a;
  --text:#3c4a42;
  --muted:#5f6d66;
  --line:#e3e9df;
  --brand:#95c704;
  --brand-soft:#eef6dc;
  --primary:#467a00;
  --primary-dark:#355c00;
  --accent:#1c6ea4;
  --accent-soft:#e7f2fa;
  --warn:#a3410f;
  --warn-soft:#fdeee6;
  --radius-s:8px;
  --radius-m:14px;
  --radius-l:24px;
  --shadow-1:0 1px 2px rgba(22,35,26,.06),0 6px 18px -10px rgba(22,35,26,.18);
  --shadow-2:0 18px 40px -22px rgba(22,35,26,.35);
  --header-h:72px;
  --w:1140px;
}

*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{margin:0;font-family:"Poppins",Arial,sans-serif;font-size:16px;line-height:1.7;color:var(--text);background:var(--bg);overflow-x:hidden}
img{max-width:100%;height:auto;display:block}
svg{flex:none}
a{color:var(--primary);text-decoration:none}
a:hover{color:var(--primary-dark)}
h1,h2,h3,h4{overflow-wrap:break-word;font-family:"Poppins",Arial,sans-serif;color:var(--ink);line-height:1.25;margin:0 0 .6em;font-weight:700}
h1{font-size:clamp(2rem,4vw,2.9rem);letter-spacing:-.02em}
h2{font-size:clamp(1.6rem,3vw,2.25rem);letter-spacing:-.015em}
h3{font-size:1.15rem;font-weight:600}
p{margin:0 0 1em}
ul{margin:0;padding:0}
button{font-family:inherit}
:focus-visible{outline:3px solid var(--accent);outline-offset:3px;border-radius:6px}
.skip-link{position:absolute;left:-999px;top:8px;background:var(--surface);padding:8px 14px;border-radius:8px;z-index:200}
.skip-link:focus{left:12px}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* fixed 1140px layout width */
.container{width:var(--w);max-width:calc(100% - 40px);margin-inline:auto}

/* every section shares the same background */
.section{padding:88px 0;background:var(--bg);scroll-margin-top:var(--header-h)}
.section + .section{border-top:1px solid var(--line)}

/* uniform section heading + description alignment */
.sec-head{text-align:center;max-width:760px;margin:0 auto 52px}
.sec-head .eyebrow{display:inline-block;font-size:.8rem;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--primary);margin-bottom:10px}
.sec-head h2{margin-bottom:14px}
.sec-head p{color:var(--muted);margin:0;font-size:1.02rem}

/* buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;font-weight:600;font-size:1rem;line-height:1;padding:15px 26px;border-radius:12px;border:2px solid transparent;cursor:pointer;transition:background .2s,transform .2s,box-shadow .2s;white-space:nowrap}
.btn svg{width:20px;height:20px}
.btn-primary{background:var(--primary);color:#fff;box-shadow:0 10px 24px -12px rgba(70,122,0,.8)}
.btn-primary:hover{background:var(--primary-dark);color:#fff;transform:translateY(-2px)}
.btn-outline{background:transparent;border-color:var(--primary);color:var(--primary)}
.btn-outline:hover{background:var(--brand-soft);color:var(--primary-dark)}
.btn-lg{padding:18px 30px;font-size:1.05rem}

/* ---------- header ---------- */
#site-header{display:block;min-height:var(--header-h)}
.site-header{position:fixed;inset:0 0 auto 0;height:var(--header-h);background:rgba(251,252,248,.92);backdrop-filter:saturate(160%) blur(10px);-webkit-backdrop-filter:saturate(160%) blur(10px);z-index:100;transition:box-shadow .25s,border-color .25s;border-bottom:1px solid transparent}
.site-header.is-scrolled{box-shadow:0 8px 24px -18px rgba(22,35,26,.4);border-bottom-color:var(--line)}
.header-inner{height:100%;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:20px}
.brand{display:inline-flex;align-items:center;gap:10px;font-weight:700;color:var(--ink);font-size:1.05rem;white-space:nowrap}
.brand img{width:38px;height:38px}
.brand:hover{color:var(--ink)}
.main-nav{justify-self:center}
.main-nav ul{list-style:none;display:flex;gap:6px;align-items:center}
.main-nav a{display:block;padding:8px 14px;border-radius:10px;color:var(--ink);font-weight:500;font-size:.95rem;transition:background .2s,color .2s}
.main-nav a:hover,.main-nav a.is-active{background:var(--brand-soft);color:var(--primary-dark)}
.header-cta{justify-self:end}
.header-cta .btn{padding:12px 20px;font-size:.95rem}
.menu-toggle{display:none;justify-self:end;background:var(--surface);border:1px solid var(--line);border-radius:10px;width:46px;height:46px;align-items:center;justify-content:center;cursor:pointer;color:var(--ink)}
.menu-toggle svg{width:24px;height:24px}
.menu-toggle .i-close{display:none}
.menu-open .menu-toggle .i-open{display:none}
.menu-open .menu-toggle .i-close{display:block}

/* ---------- hero ---------- */
.hero{padding:56px 0 64px}
.hero-grid{display:grid;grid-template-columns:1.02fr .98fr;gap:48px;align-items:center}
.hero-kicker{display:inline-flex;flex-wrap:wrap;align-items:center;gap:8px;background:var(--surface);border:1px solid var(--line);padding:6px 14px 6px 8px;border-radius:40px;font-size:.85rem;font-weight:500;color:var(--ink);margin-bottom:18px}
.hero-kicker img{width:24px;height:24px}
.hero h1{margin-bottom:16px}
/* Keep the hyphen attached to the first line, with the accent below. */
.hero h1 .hero-title-first{display:block;color:var(--ink);font-size:clamp(1.32rem,3.55vw,2.55rem);white-space:nowrap;letter-spacing:-.035em}
.hero h1 .hero-title-accent{display:block;color:var(--primary)}
.hero-lead{font-size:1.08rem;color:var(--text);max-width:540px}
.hero-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin:24px 0}
.hero-actions .btn-outline{padding:16px 22px}
.hero-trust{list-style:none;display:flex;flex-wrap:wrap;gap:10px 22px;font-size:.9rem;color:var(--muted)}
.hero-trust li{display:flex;align-items:center;gap:8px}
.hero-trust svg{width:20px;height:20px;color:var(--primary)}
.hero-visual img{width:100%;border-radius:var(--radius-l)}

/* ---------- about ---------- */
.about-grid{display:grid;grid-template-columns:.95fr 1.05fr;gap:56px;align-items:center}
.about-visual{position:relative}
.about-visual img{border-radius:var(--radius-l);box-shadow:var(--shadow-2)}
.about-copy h3{font-size:1.35rem;margin-bottom:12px}
.fact-strip{display:grid;grid-template-columns:repeat(3,1fr);margin-top:28px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.fact-strip div{padding:18px 16px}
.fact-strip div + div{border-left:1px solid var(--line)}
.fact-strip b{display:block;color:var(--ink);font-size:1.05rem}
.fact-strip span{font-size:.85rem;color:var(--muted)}

/* ---------- features: open icon grid (no boxes) ---------- */
.feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:44px 48px}
.feature{position:relative;padding-top:4px;transition:transform .25s}
.feature .f-icon{width:56px;height:56px;border-radius:16px;background:var(--brand-soft);color:var(--primary);display:grid;place-items:center;margin-bottom:18px;transition:transform .25s,background .25s,color .25s}
.feature .f-icon svg{width:28px;height:28px}
.feature h3{margin-bottom:8px}
.feature p{margin:0;color:var(--muted);font-size:.96rem}
.feature::after{content:"";position:absolute;left:0;bottom:-14px;height:2px;width:0;background:var(--brand);transition:width .3s}
.feature:hover{transform:translateY(-4px)}
.feature:hover .f-icon{background:var(--primary);color:#fff;transform:rotate(-6deg)}
.feature:hover::after{width:56px}

/* ---------- how it works: horizontal track ---------- */
.track{list-style:none;display:grid;grid-template-columns:repeat(4,1fr);gap:24px;position:relative;counter-reset:none}
.track::before{content:"";position:absolute;top:36px;left:12%;right:12%;height:2px;background:repeating-linear-gradient(90deg,var(--brand) 0 10px,transparent 10px 18px)}
.track li{text-align:center;position:relative}
.track .t-icon{width:72px;height:72px;border-radius:50%;margin:0 auto 20px;background:var(--surface);border:2px solid var(--brand);display:grid;place-items:center;color:var(--primary);position:relative;z-index:1;box-shadow:0 0 0 8px var(--bg)}
.track .t-icon svg{width:30px;height:30px}
.track h3{font-size:1.05rem}
.track p{font-size:.94rem;color:var(--muted);margin:0}

/* ---------- compatibility: spec table ---------- */
.spec{width:100%;border-collapse:collapse;background:var(--surface);border-radius:var(--radius-m);overflow:hidden;box-shadow:var(--shadow-1)}
.spec th,.spec td{text-align:left;padding:18px 22px;border-bottom:1px solid var(--line);vertical-align:middle;font-size:.95rem}
.spec thead th{background:var(--brand-soft);color:var(--ink);font-weight:600;font-size:.88rem;text-transform:uppercase;letter-spacing:.05em}
.spec tbody tr{transition:background .2s}
.spec tbody tr:hover{background:#f6faef}
.spec tbody tr:last-child td,.spec tbody tr:last-child th{border-bottom:0}
.spec .os{display:flex;align-items:center;gap:12px;font-weight:600;color:var(--ink)}
.spec .os svg{width:26px;height:26px;color:var(--primary)}
.badge{display:inline-flex;align-items:center;gap:6px;font-size:.8rem;font-weight:600;padding:4px 10px;border-radius:20px;background:var(--brand-soft);color:var(--primary-dark);white-space:nowrap}
.badge.blue{background:var(--accent-soft);color:var(--accent)}
.badge.warn{background:var(--warn-soft);color:var(--warn)}
.table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch;border-radius:var(--radius-m)}

/* ---------- use cases: split list with center rule ---------- */
.uc-list{display:grid;grid-template-columns:1fr 1fr;column-gap:72px;position:relative}
.uc-list::before{content:"";position:absolute;left:50%;top:0;bottom:0;width:1px;background:var(--line)}
.uc{display:flex;gap:18px;padding:22px 10px;border-bottom:1px dashed var(--line);transition:background .25s,padding .25s;border-radius:10px}
.uc:hover{background:var(--surface);padding-left:18px}
.uc .u-icon{width:46px;height:46px;flex:none;border-radius:12px;background:var(--accent-soft);color:var(--accent);display:grid;place-items:center;transition:transform .25s}
.uc:hover .u-icon{transform:scale(1.08)}
.uc .u-icon svg{width:24px;height:24px}
.uc h3{font-size:1.05rem;margin-bottom:4px}
.uc p{margin:0;font-size:.94rem;color:var(--muted)}

/* ---------- benefits: statement + checklist ---------- */
.benefit-wrap{display:grid;grid-template-columns:.9fr 1.1fr;gap:64px;align-items:start}
.statement{position:sticky;top:calc(var(--header-h) + 30px)}
.statement blockquote{margin:0;font-size:1.55rem;line-height:1.45;font-weight:600;color:var(--ink);border-left:5px solid var(--brand);padding-left:24px}
.statement p{margin:18px 0 0 29px;color:var(--muted)}
.check-list{list-style:none}
.check-list li{display:grid;grid-template-columns:44px 1fr;gap:16px;padding:20px 0;border-top:1px solid var(--line);transition:transform .25s}
.check-list li:last-child{border-bottom:1px solid var(--line)}
.check-list li:hover{transform:translateX(6px)}
.check-list .b-icon{width:44px;height:44px;border-radius:50%;background:var(--primary);color:#fff;display:grid;place-items:center}
.check-list .b-icon svg{width:22px;height:22px}
.check-list h3{font-size:1.05rem;margin-bottom:4px}
.check-list p{margin:0;font-size:.95rem;color:var(--muted)}

/* ---------- installation: vertical stepper ---------- */
.stepper{max-width:820px;margin:0 auto;list-style:none;position:relative}
.stepper::before{content:"";position:absolute;left:31px;top:10px;bottom:10px;width:2px;background:linear-gradient(var(--brand),var(--accent))}
.stepper li{display:grid;grid-template-columns:64px 1fr;gap:26px;padding-bottom:34px;position:relative}
.stepper li:last-child{padding-bottom:0}
.stepper .s-icon{width:64px;height:64px;border-radius:18px;background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow-1);display:grid;place-items:center;color:var(--primary);position:relative;z-index:1}
.stepper .s-icon svg{width:28px;height:28px}
.stepper h3{margin:8px 0 6px}
.stepper p{margin:0;color:var(--muted)}

/* ---------- download panel ---------- */
.dl-panel{display:grid;grid-template-columns:1.05fr .95fr;gap:40px;align-items:center;background:linear-gradient(135deg,#f1f8e2 0%,#eaf3fa 100%);border-radius:32px;padding:56px;position:relative;overflow:hidden}
.dl-panel .dl-copy h2{margin-bottom:14px}
.dl-panel .dl-copy > p{color:var(--text)}
.dl-meta{list-style:none;margin:22px 0 28px;display:grid;gap:12px}
.dl-meta li{display:flex;gap:12px;align-items:flex-start;font-size:.95rem}
.dl-meta svg{width:22px;height:22px;color:var(--primary);margin-top:2px}
.dl-note{font-size:.85rem;color:var(--muted);margin-top:16px}
.dl-visual img{border-radius:var(--radius-l)}
.dl-panel .dl-ico{width:22px;height:22px}

/* ---------- safety: divided row ---------- */
.safety-row{display:grid;grid-template-columns:repeat(4,1fr)}
.safety-item{padding:6px 28px;text-align:center}
.safety-item + .safety-item{border-left:1px solid var(--line)}
.safety-item .sf-icon{width:60px;height:60px;margin:0 auto 16px;color:var(--accent);display:grid;place-items:center;border-radius:50%;background:radial-gradient(circle,var(--accent-soft) 60%,transparent 61%)}
.safety-item .sf-icon svg{width:30px;height:30px}
.safety-item h3{font-size:1.02rem}
.safety-item p{font-size:.93rem;color:var(--muted);margin:0}

/* ---------- pros & cons ---------- */
.pc-wrap{display:grid;grid-template-columns:1fr auto 1fr;gap:40px;align-items:start}
.pc-divider{align-self:stretch;display:flex;flex-direction:column;align-items:center}
.pc-divider::before,.pc-divider::after{content:"";flex:1;width:1px;background:var(--line)}
.pc-divider span{font-weight:700;font-size:.85rem;color:var(--muted);padding:12px 0}
.pc-col h3{display:flex;align-items:center;gap:10px;font-size:1.3rem;margin-bottom:18px}
.pc-col ul{list-style:none}
.pc-col li{display:flex;gap:14px;padding:14px 12px;border-radius:12px;transition:background .25s,transform .25s}
.pc-col li:hover{transform:translateY(-2px)}
.pros li:hover{background:var(--brand-soft)}
.cons li:hover{background:var(--warn-soft)}
.pc-col li svg{width:24px;height:24px;margin-top:2px}
.pros svg{color:var(--primary)}
.cons svg{color:var(--warn)}
.pc-col li span{font-size:.96rem}

/* ---------- release: centered alternating timeline ---------- */
.timeline{list-style:none;position:relative;max-width:940px;margin:0 auto}
.timeline::before{content:"";position:absolute;left:50%;top:0;bottom:0;width:2px;margin-left:-1px;background:var(--line)}
.timeline li{position:relative;width:50%;padding:0 46px 36px 0;text-align:right}
.timeline li:nth-child(even){margin-left:50%;padding:0 0 36px 46px;text-align:left}
.timeline li::before{content:"";position:absolute;top:6px;right:-9px;width:18px;height:18px;border-radius:50%;background:var(--surface);border:4px solid var(--brand)}
.timeline li:nth-child(even)::before{left:-9px;right:auto}
.timeline .when{display:inline-block;font-weight:700;color:var(--primary);font-size:.9rem;margin-bottom:4px}
.timeline h3{font-size:1.05rem;margin-bottom:4px}
.timeline p{margin:0;font-size:.94rem;color:var(--muted)}

/* ---------- troubleshooting ---------- */
.ts-grid{display:grid;grid-template-columns:1fr 1fr;gap:34px 56px}
.ts{display:grid;grid-template-columns:auto 1fr;gap:18px;padding-left:20px;border-left:3px solid var(--brand)}
.ts .ts-icon{color:var(--ink);width:30px;height:30px}
.ts h3{font-size:1.05rem;margin-bottom:6px}
.ts p{margin:0;font-size:.95rem;color:var(--muted)}
.ts p strong{color:var(--ink);font-weight:600}

/* ---------- guides preview ---------- */
.gp-grid{display:grid;grid-template-columns:1.25fr 1fr;gap:34px}
.gp-main,.gp-side a{display:block;color:inherit}
.gp-main img{border-radius:var(--radius-l);margin-bottom:20px;transition:transform .35s}
.gp-main:hover img{transform:scale(1.015)}
.gp-main h3{font-size:1.4rem}
.gp-main p{color:var(--muted)}
.gp-side{display:grid;gap:22px;align-content:start}
.gp-side a{display:grid;grid-template-columns:170px 1fr;gap:18px;align-items:center;padding:12px;border-radius:var(--radius-m);transition:background .25s,box-shadow .25s,transform .25s}
.gp-side a:hover{background:var(--surface);box-shadow:var(--shadow-1);transform:translateY(-3px)}
.gp-side img{border-radius:12px}
.gp-side h3{font-size:1rem;margin-bottom:4px}
.gp-side p{font-size:.88rem;color:var(--muted);margin:0}
.read-more{display:inline-flex;align-items:center;gap:6px;font-weight:600;font-size:.92rem;color:var(--primary)}
.read-more svg{width:18px;height:18px;transition:transform .2s}
a:hover .read-more svg{transform:translateX(4px)}
.center-cta{text-align:center;margin-top:44px}

/* ---------- FAQ ---------- */
.faq-tabs{display:flex;justify-content:center;gap:8px;margin-bottom:32px;flex-wrap:wrap}
.faq-tab{border:1px solid var(--line);background:var(--surface);color:var(--ink);font-weight:600;font-size:.95rem;padding:11px 22px;border-radius:40px;cursor:pointer;transition:background .2s,color .2s,border-color .2s}
.faq-tab[aria-selected="true"]{background:var(--primary);border-color:var(--primary);color:#fff}
.faq-panel{max-width:860px;margin:0 auto}
.faq-panel[hidden]{display:none}
.faq-item{border-bottom:1px solid var(--line)}
.faq-q{width:100%;display:flex;align-items:center;justify-content:space-between;gap:20px;background:none;border:0;padding:22px 4px;text-align:left;font-size:1.03rem;font-weight:600;color:var(--ink);cursor:pointer;line-height:1.45}
.faq-q:hover{color:var(--primary-dark)}
.faq-q .pm{width:32px;height:32px;flex:none;border-radius:50%;border:1px solid var(--line);display:grid;place-items:center;color:var(--primary);transition:transform .25s,background .25s}
.faq-q .pm svg{width:16px;height:16px}
.faq-q .pm .v{transition:opacity .2s}
.faq-q[aria-expanded="true"] .pm{background:var(--brand-soft);transform:rotate(180deg)}
.faq-q[aria-expanded="true"] .pm .v{opacity:0}
.faq-a{display:grid;grid-template-rows:0fr;transition:grid-template-rows .3s ease}
.faq-a > div{overflow:hidden}
.faq-a p{padding:0 50px 22px 4px;margin:0;color:var(--text)}
.faq-item.is-open .faq-a{grid-template-rows:1fr}

/* ---------- footer ---------- */
#site-footer{display:block}
.site-footer{background:var(--bg);border-top:1px solid var(--line);padding:64px 0 28px;font-size:.94rem}
.footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr;gap:48px}
.footer-brand p{color:var(--muted);margin-top:16px;max-width:420px}
.footer-col h2{font-size:1rem;margin-bottom:14px}
.footer-col ul{list-style:none;display:grid;gap:9px}
.site-footer a{color:var(--text);text-decoration:none}
.site-footer a:hover{color:var(--primary)}
.footer-bottom{margin-top:44px;padding-top:22px;border-top:1px solid var(--line);display:flex;flex-wrap:wrap;justify-content:space-between;gap:10px 30px;color:var(--muted);font-size:.88rem}
.footer-bottom a{color:var(--primary);font-weight:600}

/* ---------- scroll top ---------- */
.to-top{position:fixed;right:22px;bottom:22px;width:48px;height:48px;border-radius:50%;border:0;background:var(--primary);color:#fff;display:grid;place-items:center;cursor:pointer;opacity:0;visibility:hidden;transform:translateY(12px);transition:opacity .25s,transform .25s,visibility .25s;z-index:90;box-shadow:0 12px 24px -12px rgba(70,122,0,.9)}
.to-top svg{width:22px;height:22px}
.to-top.show{opacity:1;visibility:visible;transform:none}

/* ---------- reveal ---------- */
.js .reveal{opacity:0;transform:translateY(18px);transition:opacity .6s ease,transform .6s ease}
.js .reveal.in{opacity:1;transform:none}

/* ---------- inner pages ---------- */
.page-hero{padding:56px 0 40px;text-align:center;border-bottom:1px solid var(--line)}
.page-hero p{max-width:720px;margin:0 auto;color:var(--muted)}
.breadcrumb{font-size:.85rem;color:var(--muted);margin-bottom:14px}
.breadcrumb ol{list-style:none;display:flex;flex-wrap:wrap;gap:6px;justify-content:center;padding:0;margin:0}
.breadcrumb li + li::before{content:"/";margin-right:6px;color:#a3b0a8}
.breadcrumb a{color:var(--muted)}
.prose{max-width:820px;margin:0 auto}
.prose h2{font-size:1.5rem;margin-top:1.6em}
.prose h3{margin-top:1.4em}
.prose ul{padding-left:1.3em;margin:0 0 1.2em}
.prose li{margin-bottom:.4em}
.contact-line{display:inline-flex;max-width:100%;overflow-wrap:anywhere;align-items:center;gap:12px;font-weight:600;color:var(--ink);font-size:1.1rem;background:var(--surface);border:1px solid var(--line);padding:16px 22px;border-radius:14px;margin:8px 0 20px}
.contact-line svg{width:24px;height:24px;color:var(--primary)}

/* blog listing */
.blog-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:34px 28px}
.post-card{display:flex;flex-direction:column;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-m);overflow:hidden;color:inherit;transition:transform .25s,box-shadow .25s,border-color .25s}
.post-card:hover{transform:translateY(-5px);box-shadow:var(--shadow-2);border-color:#cfe0b4;color:inherit}
.post-card img{aspect-ratio:16/9;object-fit:cover;width:100%}
.post-card .pc-body{padding:20px 22px 24px;display:flex;flex-direction:column;gap:8px;flex:1}
.post-card .cat{font-size:.78rem;font-weight:600;color:var(--accent);text-transform:uppercase;letter-spacing:.06em}
.post-card h2{font-size:1.1rem;margin:0}
.post-card p{font-size:.92rem;color:var(--muted);margin:0;flex:1}

/* article layout with sticky scrollable sidebar */
.article-wrap{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:56px;align-items:start;padding:44px 0 88px}
.article-head h1{font-size:clamp(1.8rem,3.4vw,2.6rem)}
.article-meta{display:flex;flex-wrap:wrap;gap:8px 18px;font-size:.86rem;color:var(--muted);margin-bottom:22px}
.article-figure{margin:0 0 30px}
.article-figure img{border-radius:var(--radius-l);width:100%}
.article-body{font-size:1.02rem}
.article-body h2{font-size:1.55rem;margin:1.7em 0 .6em}
.article-body h3{font-size:1.2rem;margin:1.4em 0 .5em}
.article-body ul{padding-left:0;list-style:none;margin:0 0 1.3em}
.article-body ul li{position:relative;padding-left:26px;margin-bottom:.55em}
.article-body ul li::before{content:"";position:absolute;left:4px;top:.68em;width:8px;height:8px;border-radius:50%;background:var(--brand)}
.article-body table{width:100%;border-collapse:collapse;font-size:.94rem;background:var(--surface);min-width:520px}
.article-body th,.article-body td{border:1px solid var(--line);padding:12px 14px;text-align:left;vertical-align:top}
.article-body th{background:var(--brand-soft);color:var(--ink);font-weight:600}
.article-body .table-wrap{margin:0 0 1.4em;border:1px solid var(--line)}
.article-body .table-wrap table{border-style:hidden}
.article-faq .faq-q{font-size:.98rem;padding:18px 4px}
.article-cta{margin:34px 0 0;padding:26px 28px;border-radius:var(--radius-m);background:linear-gradient(135deg,#f1f8e2,#eaf3fa);display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px}
.article-cta p{margin:0;font-weight:600;color:var(--ink)}
.sidebar{position:sticky;top:calc(var(--header-h) + 20px);max-height:calc(100vh - var(--header-h) - 40px);overflow-y:auto;overscroll-behavior:contain;padding-right:6px;scrollbar-width:thin;scrollbar-color:#c9d8b5 transparent}
.sidebar::-webkit-scrollbar{width:6px}
.sidebar::-webkit-scrollbar-thumb{background:#c9d8b5;border-radius:6px}
.side-block{padding:22px;border:1px solid var(--line);border-radius:var(--radius-m);background:var(--surface);margin-bottom:20px}
.side-block h2{font-size:1rem;margin-bottom:12px}
.toc{list-style:none;display:grid;gap:4px;font-size:.9rem}
.toc a{display:block;color:var(--text);padding:6px 10px;border-radius:8px;line-height:1.45}
.toc a:hover,.toc a.is-active{background:var(--brand-soft);color:var(--primary-dark)}
.side-posts{list-style:none;display:grid;gap:12px}
.side-posts a{display:grid;grid-template-columns:76px 1fr;gap:12px;align-items:center;color:var(--ink);font-size:.88rem;font-weight:500;line-height:1.4}
.side-posts img{border-radius:8px}
.side-dl{text-align:center;background:linear-gradient(160deg,#f1f8e2,#eaf3fa)}
.side-dl img{width:56px;height:56px;margin:0 auto 10px}
.side-dl p{font-size:.88rem;color:var(--muted)}
.related{margin-top:56px;padding-top:36px;border-top:1px solid var(--line)}
.related h2{text-align:center}
.related-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}

/* ---------- responsive ---------- */
@media (max-width:1100px){
  .header-inner{grid-template-columns:auto 1fr auto}
  .main-nav a{padding:8px 10px}
  .article-wrap{grid-template-columns:minmax(0,1fr) 280px;gap:40px}
}
@media (max-width:1024px){
  .hero-grid,.about-grid,.dl-panel,.benefit-wrap,.gp-grid{grid-template-columns:minmax(0,1fr)}
  .hero-visual{max-width:640px;margin:0 auto}
  .statement{position:static}
  .feature-grid{grid-template-columns:repeat(2,1fr)}
  .track{grid-template-columns:repeat(2,1fr);row-gap:40px}
  .track::before{display:none}
  .safety-row{grid-template-columns:repeat(2,1fr);row-gap:34px}
  .safety-item:nth-child(3){border-left:0}
  .blog-grid,.related-grid{grid-template-columns:repeat(2,1fr)}
  .dl-panel{padding:40px}
}
@media (max-width:920px){
  .header-inner{grid-template-columns:1fr auto auto}
  .menu-toggle{display:inline-flex}
  .main-nav{position:fixed;top:var(--header-h);left:0;right:0;background:var(--surface);border-bottom:1px solid var(--line);box-shadow:0 20px 30px -20px rgba(22,35,26,.35);padding:12px 20px 20px;transform:translateY(-8px);opacity:0;visibility:hidden;transition:opacity .2s,transform .2s,visibility .2s;justify-self:stretch}
  .menu-open .main-nav{opacity:1;visibility:visible;transform:none}
  .main-nav ul{flex-direction:column;align-items:stretch;gap:2px}
  .main-nav a{padding:12px 14px;font-size:1rem}
  .article-wrap{grid-template-columns:minmax(0,1fr)}
  .sidebar{position:static;max-height:none;overflow:visible;padding-right:0}
}
@media (max-width:768px){
  .section{padding:64px 0}
  .sec-head{margin-bottom:38px}
  .uc-list{grid-template-columns:1fr}
  .uc-list::before{display:none}
  .pc-wrap{grid-template-columns:1fr;gap:20px}
  .pc-divider{flex-direction:row}
  .pc-divider::before,.pc-divider::after{height:1px;width:auto}
  .pc-divider span{padding:0 12px}
  .timeline::before{left:9px}
  .timeline li,.timeline li:nth-child(even){width:100%;margin-left:0;padding:0 0 30px 40px;text-align:left}
  .timeline li::before,.timeline li:nth-child(even)::before{left:0;right:auto}
  .ts-grid{grid-template-columns:1fr}
  .fact-strip{grid-template-columns:1fr}
  .fact-strip div + div{border-left:0;border-top:1px solid var(--line)}
  .footer-grid{grid-template-columns:1fr 1fr}
  .footer-brand{grid-column:1/-1}
  .gp-side a{grid-template-columns:130px 1fr}
}
@media (max-width:600px){
  .header-cta .btn{padding:10px 14px;font-size:.85rem}
  .feature-grid,.track,.safety-row,.blog-grid,.related-grid{grid-template-columns:1fr}
  .safety-item + .safety-item{border-left:0;border-top:1px solid var(--line);padding-top:28px}
  .dl-panel{padding:28px 22px;border-radius:24px}
  .hero-actions .btn{width:100%}
  .spec th,.spec td{padding:14px}
  .footer-grid{grid-template-columns:1fr}
  .gp-side a{grid-template-columns:1fr}
  .faq-a p{padding-right:4px}
}
@media (max-width:420px){
  .brand span{display:none}
  .container{max-width:calc(100% - 32px)}
}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{transition-duration:.01ms !important;animation-duration:.01ms !important}
  .js .reveal{opacity:1;transform:none}
}

.article,.hero-copy,.dl-copy{min-width:0}

/* All section content, including FAQ and article layouts, stays within 1140px. */
:root{--w:1140px}
.container, .hero .container, .section > .container, .site-header > .container, .site-footer > .container{width:min(1140px,calc(100% - 40px));max-width:1140px;margin-left:auto;margin-right:auto}
.section .faq-panel, .section .faq-tabs{width:100%;max-width:100%}
@media(max-width:420px){.container,.hero .container,.section > .container,.site-header > .container,.site-footer > .container{width:calc(100% - 32px)}}

/* 2026 visual update: substantial photography and consistent content width */
.hero-grid{grid-template-columns:minmax(0,.94fr) minmax(0,1.06fr);gap:32px}
.hero-visual,.about-visual,.dl-visual{width:100%;min-width:0}
.hero-visual img,.about-visual img,.dl-visual img{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:22px}
.article-wrap{grid-template-columns:minmax(0,1fr);gap:36px}
.article-wrap>article,.article-wrap>.article-content{width:100%;min-width:0}
.article-figure{width:100%;max-width:1140px;margin:24px auto 34px}
.article-figure img{width:100%;height:auto;aspect-ratio:16/9;object-fit:cover}
.article-head,.article-body{max-width:940px;margin-inline:auto}
.article-head{margin-bottom:24px}
.sidebar{position:static;max-height:none;overflow:visible;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;align-items:start}
.sidebar .side-block{margin:0}
.sidebar .side-block:last-child{grid-column:1/-1}
.related-grid,.blog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.post-card img{aspect-ratio:16/9;object-fit:cover;width:100%}
@media(max-width:800px){.sidebar{grid-template-columns:1fr}.sidebar .side-block:last-child{grid-column:auto}}
@media(max-width:680px){.hero-grid{grid-template-columns:1fr}.hero-visual{max-width:none}.blog-grid,.related-grid{grid-template-columns:1fr}.article-wrap{padding-top:30px}}

/* Mobile header improvements: brand text remains visible next to the mark;
   the Download link moves into the hamburger navigation on small screens. */
.mobile-download-item{display:none}
@media (max-width:920px){
  .header-inner{grid-template-columns:minmax(0,1fr) auto;gap:12px}
  .header-cta{display:none}
  .header-inner>.brand{min-width:0;max-width:100%;gap:9px;font-size:clamp(.85rem,2.6vw,1.05rem);line-height:1.25}
  .header-inner>.brand span{display:inline;overflow:visible;white-space:nowrap}
  .header-inner>.brand img{width:34px;height:34px;flex:0 0 34px}
  .menu-toggle{width:44px;height:44px;flex-shrink:0}
  .mobile-download-item{display:list-item;margin-top:9px;border-top:1px solid var(--line);padding-top:9px}
  .main-nav .mobile-download-item a{background:var(--primary);color:white;text-align:center;font-weight:700;border-radius:11px}
  .main-nav .mobile-download-item a:hover{background:var(--primary-dark);color:white}
  .main-nav{max-height:calc(100dvh - var(--header-h));overflow-y:auto}
}
@media (max-width:600px){
  .hero{padding-top:32px;padding-bottom:44px}
  .hero h1{font-size:clamp(1.75rem,7vw,2.15rem);line-height:1.22;margin-bottom:17px;letter-spacing:-.025em}
  .hero h1 .hero-title-first{font-size:clamp(1.15rem,4.8vw,1.52rem);letter-spacing:-.035em;white-space:nowrap}
  .hero h1 .hero-title-accent{font-size:inherit;line-height:1.25;overflow-wrap:normal}
  .hero-lead{font-size:1rem;line-height:1.75}
  .hero-grid{gap:26px}
}
@media (max-width:420px){
  .header-inner>.brand span{display:inline;font-size:clamp(.79rem,3.4vw,.91rem)}
  .header-inner>.brand img{width:30px;height:30px;flex-basis:30px}
  .header-inner>.brand{gap:7px}
  .menu-toggle{width:40px;height:40px}
  .hero h1{font-size:clamp(1.65rem,7.2vw,1.9rem)}
  .hero h1 .hero-title-first{font-size:clamp(1.07rem,4.85vw,1.25rem)}
}
@media (max-width:340px){
  .header-inner>.brand span{font-size:.76rem}
  .hero h1 .hero-title-first{font-size:1.02rem}
}
