/* CanyonThemes 2026 — single stylesheet.
   Design direction (Refero refs: artboard.studio "warm digital canvas" +
   dribbble.com "gallery wall"): warm cream canvas, Forest Ink text, pastel
   accent tints (dune/sky/mint) for section rhythm, one coral accent for CTAs,
   theme screenshots framed like posters. Visual pack from Higgsfield Recraft. */

:root{
  --canvas:#fffdf9; --ink:#0d1400; --body:#2b2f24; --muted:#6b7160;
  --line:rgba(13,20,0,.10); --wash:#f6f3ec; --accent:#ff5a36; --accent-ink:#0d1400;
  --dune:#ffe4c3; --sky:#cbedff; --mint:#caf3aa; --blue:#4177ff;
  --radius-card:14px; --radius-pill:100px;
  --shadow-card:0 1px 0 rgba(13,20,0,.06),0 12px 30px -18px rgba(13,20,0,.25);
  --shadow-hover:0 1px 0 rgba(13,20,0,.08),0 24px 48px -22px rgba(13,20,0,.35);
  --max:1200px;
}
*{box-sizing:border-box}
/* Display face: Bricolage Grotesque (OFL, self-hosted, latin only, ~45KB total). Body stays system/Inter. */
@font-face{font-family:"Bricolage";font-style:normal;font-weight:700;font-display:swap;src:url("../fonts/bricolage-700.woff2") format("woff2")}
@font-face{font-family:"Bricolage";font-style:normal;font-weight:800;font-display:swap;src:url("../fonts/bricolage-800.woff2") format("woff2")}
:root{--display:"Bricolage",Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif}
h1,h2,.hero h1,.section-head h2,.pagehead h1,.buy-card__price .amount,.hero-proof strong,.wporg-strip strong{font-family:var(--display)}
html{scroll-behavior:smooth}
/* sticky header is ~70px: keep #buy/#download/#support/#free/#pro targets visible */
[id]{scroll-margin-top:90px}
body{margin:0;background:var(--canvas);color:var(--body);
  font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;
  font-size:16px;line-height:1.6;-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto}
a{color:var(--ink);text-decoration-thickness:1px;text-underline-offset:2px}
a:hover{color:#000}
.wrap{max-width:var(--max);margin:0 auto;padding:0 20px}
.screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
h1,h2,h3{letter-spacing:-.02em}

/* Buttons */
.btn{display:inline-flex;align-items:center;gap:.5em;background:var(--ink);color:#fff;
  border:1px solid var(--ink);border-radius:var(--radius-pill);padding:12px 26px;
  font-weight:600;font-size:15px;line-height:1;text-decoration:none;cursor:pointer;
  transition:transform .15s ease,box-shadow .15s ease,background .15s ease}
.btn:hover{background:#000;color:#fff;transform:translateY(-1px);box-shadow:0 8px 20px -10px rgba(13,20,0,.5)}
.btn.accent{background:var(--accent);border-color:var(--accent);color:#fff}
.btn.accent:hover{background:#e84a27;border-color:#e84a27}
.btn.ghost,.btn.white{background:#fff;color:var(--ink);border-color:var(--line)}
.btn.ghost:hover,.btn.white:hover{background:var(--ink);color:#fff}
.btn.light{background:#fff;color:var(--ink);border-color:#fff}
.btn.small{padding:9px 18px;font-size:14px}
.btn.solid-blue{background:var(--accent);border-color:var(--accent)}
.btn.block{width:100%;justify-content:center}

/* Announcement */
.announce{display:flex;gap:12px;align-items:center;justify-content:center;
  background:var(--ink);color:#fff;padding:10px 16px;font-size:14px;text-align:center}
.announce p{margin:0}

/* Header */
.site-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.92);
  backdrop-filter:blur(10px);border-bottom:1px solid var(--line)}
.header-in{display:flex;align-items:center;gap:16px;max-width:var(--max);margin:0 auto;padding:14px 20px;flex-wrap:wrap}
.brand{font-weight:700;font-size:20px;letter-spacing:-.02em;text-decoration:none;color:var(--ink);margin-right:auto;white-space:nowrap}
.brand img{height:40px;width:auto}
nav.primary{flex:1 1 auto;display:flex;justify-content:center;min-width:0}
nav.primary > ul{display:flex;gap:4px;list-style:none;margin:0;padding:0;align-items:center;flex-wrap:wrap;justify-content:center}
nav.primary li{position:relative}
nav.primary a{display:block;padding:10px 14px;border-radius:100px;text-decoration:none;font-size:15px;color:var(--body);white-space:nowrap}
nav.primary a:hover{background:var(--wash);color:var(--ink)}
/* Dropdowns */
nav.primary .menu-item-has-children > a::after{content:" ▾";font-size:11px;color:var(--muted)}
nav.primary ul.sub-menu{position:absolute;top:calc(100% + 8px);left:0;min-width:290px;max-width:340px;background:#fff;border:1px solid var(--line);border-radius:12px;padding:8px;display:none;flex-direction:column;gap:2px;box-shadow:0 12px 32px rgba(0,0,0,.12);z-index:60;list-style:none;margin:0}
nav.primary ul.sub-menu a{white-space:normal;padding:10px 12px;border-radius:8px;font-size:14px;line-height:1.4}
nav.primary ul.sub-menu a:hover{background:var(--wash)}
nav.primary li:hover > ul.sub-menu,nav.primary li:focus-within > ul.sub-menu,nav.primary li.open > ul.sub-menu{display:flex}
/* keep last dropdown inside viewport */
nav.primary > ul > li:last-child ul.sub-menu{left:auto;right:0}
/* 3rd level: fly out to the right instead of overlaying the parent list */
nav.primary ul.sub-menu ul.sub-menu{top:0;left:100%;margin-left:6px}
.header-actions{display:flex;align-items:center;gap:10px;margin-left:auto}
.cart{position:relative;display:inline-flex;align-items:center;justify-content:center;
  width:40px;height:40px;border:1px solid var(--line);border-radius:100px;text-decoration:none}
.cart .count{position:absolute;top:-6px;right:-6px;background:var(--ink);color:#fff;
  font-size:11px;min-width:20px;height:20px;border-radius:100px;display:flex;align-items:center;justify-content:center;padding:0 5px}
.menu-toggle{display:none;border:1px solid var(--line);background:#fff;border-radius:100px;padding:9px 16px}
.mobile-nav{border-top:1px solid var(--line);padding:10px 20px 16px;background:#fff;max-height:70vh;overflow:auto}
.mobile-nav ul{list-style:none;margin:0;padding:0}
.mobile-nav a{display:block;padding:12px 4px;border-bottom:1px solid var(--wash);text-decoration:none}
.mobile-nav ul.sub-menu{padding-left:14px}
.mobile-nav ul.sub-menu a{font-size:14px}
.hide-m{display:inline-flex}
@media(max-width:900px){ nav.primary{display:none} .menu-toggle{display:inline-flex} .hide-m{display:none} }

/* Hero — split layout: copy left, layered theme mockup right (Dribbble/Artboard pattern) */
.hero{position:relative;padding:56px 0 40px;overflow:hidden;
  background:
    radial-gradient(900px 420px at 85% 10%,var(--dune) 0%,transparent 60%),
    radial-gradient(700px 380px at 10% 90%,var(--sky) 0%,transparent 60%),
    var(--canvas)}
.hero .wrap{display:grid;grid-template-columns:1.05fr .95fr;gap:40px;align-items:center}
@media(max-width:900px){.hero .wrap{grid-template-columns:1fr;text-align:center}}
.hero h1{font-size:clamp(38px,5.4vw,64px);line-height:1.02;letter-spacing:-.03em;margin:0 0 16px;color:var(--ink);font-weight:800}
.hero h1 em{font-style:normal;background:linear-gradient(transparent 62%,var(--dune) 62%);padding:0 .08em}
.hero .lede{color:var(--muted);font-size:19px;max-width:560px;margin:0 0 24px}
@media(max-width:900px){.hero .lede{margin:0 auto 24px}}
.hero-cta{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:14px}
@media(max-width:900px){.hero-cta{justify-content:center}}
.hero-meta{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:18px}
@media(max-width:900px){.hero-meta{justify-content:center}}
.hero-search{display:flex;gap:8px;max-width:520px}
.hero-search input[type="search"]{border-radius:100px;padding:13px 20px;background:#fff}
@media(max-width:900px){.hero-search{margin:0 auto}}
.hero-proof{display:flex;gap:22px;flex-wrap:wrap;margin-top:22px;color:var(--muted);font-size:14px}
.hero-proof strong{display:block;color:var(--ink);font-size:22px;letter-spacing:-.02em}
@media(max-width:900px){.hero-proof{justify-content:center}}
.badge{display:inline-flex;align-items:center;background:#fff;border:1px solid var(--line);
  border-radius:100px;padding:5px 12px;font-size:12px;font-weight:600;color:var(--body)}
.badge.blue{background:var(--blue);border-color:var(--blue);color:#fff}
.badge.dark{background:var(--ink);border-color:var(--ink);color:#fff}
.badge.accent{background:var(--accent);border-color:var(--accent);color:#fff}
/* layered mockup stack */
.hero-stack{position:relative;min-height:380px}
.hero-stack .shot{position:absolute;border-radius:14px;overflow:hidden;background:#fff;border:1px solid var(--line);box-shadow:var(--shadow-hover)}
.hero-stack .shot img{display:block;width:100%;height:100%;object-fit:cover;object-position:top}
.hero-stack .shot.s1{left:0;top:30px;width:62%;aspect-ratio:4/3;z-index:3;transform:rotate(-2deg)}
.hero-stack .shot.s2{right:0;top:0;width:52%;aspect-ratio:4/3;z-index:2;transform:rotate(3deg)}
.hero-stack .shot.s3{right:10%;bottom:0;width:44%;aspect-ratio:4/3;z-index:4;transform:rotate(-1deg)}
.hero-stack .shot .tag{position:absolute;left:10px;top:10px}
.hero-stack .shot:hover{z-index:9;transform:rotate(0) translateY(-4px)}
.hero-stack .shot{transition:transform .25s ease}
.hero-single{border-radius:16px;overflow:hidden;box-shadow:var(--shadow-hover);border:1px solid var(--line);background:#fff}
.hero-single--illo{border:0;box-shadow:none;background:transparent}
.hero-single img{display:block;width:100%}
.support-intro{display:grid;grid-template-columns:1.1fr .9fr;gap:32px;align-items:center;margin-bottom:26px}
@media(max-width:900px){.support-intro{grid-template-columns:1fr}}
.support-illo{border-radius:var(--radius-card);box-shadow:var(--shadow-card)}
.hero-media{margin:28px auto 0;max-width:1000px;border:1px solid var(--line);border-radius:12px;overflow:hidden;background:var(--wash)}
.hero-media img{display:block;width:100%}

/* Sections */
.section{padding:64px 0}
.section.alt{background:var(--wash)}
.section.tint-dune{background:linear-gradient(180deg,#fff 0%,var(--dune) 100%)}
.section.tint-sky{background:linear-gradient(180deg,#fff 0%,var(--sky) 100%)}
.section.tint-mint{background:linear-gradient(180deg,#fff 0%,var(--mint) 100%)}
.section-head{text-align:center;max-width:720px;margin:0 auto 30px}
.section-head .eyebrow{display:inline-block;font-size:12px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--accent);margin-bottom:10px}
.section-head h2{margin:0 0 8px;font-size:clamp(28px,3.4vw,40px);letter-spacing:-.025em;color:var(--ink);font-weight:800}
.section-head p{margin:0;color:var(--muted);font-size:17px}
.center{text-align:center;margin-top:30px}

/* Filter bar */
.filterbar{display:flex;gap:8px;flex-wrap:wrap;justify-content:center;margin:0 0 22px}
.filterbar a,.filterbar button{border:1px solid var(--line);background:#fff;color:var(--body);
  border-radius:100px;padding:8px 18px;font-size:14px;text-decoration:none;cursor:pointer}
.filterbar a[aria-current="true"],.filterbar a.active{background:var(--ink);color:#fff;border-color:var(--ink)}
.archive-tools{display:flex;gap:10px;flex-wrap:wrap;justify-content:space-between;align-items:center;margin-bottom:18px}
.archive-tools form{display:flex;gap:8px;flex-wrap:wrap}
.archive-tools input[type="search"],.archive-tools select{border:1px solid var(--line);border-radius:100px;padding:10px 16px;font-size:14px;background:#fff}
.archive-tools input[type="search"]{min-width:240px}

/* Cards — framed screenshots, hover lift, price chip */
.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
@media(max-width:900px){.grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.grid{grid-template-columns:1fr}}
.card{background:#fff;border:1px solid var(--line);border-radius:var(--radius-card);overflow:hidden;display:flex;flex-direction:column;
  box-shadow:var(--shadow-card);transition:transform .2s ease,box-shadow .2s ease}
.card:hover{transform:translateY(-4px);box-shadow:var(--shadow-hover)}
.card-media{position:relative;background:var(--wash);aspect-ratio:4/3;overflow:hidden;border-bottom:1px solid var(--line)}
/* browser chrome strip — makes screenshots read as "a website" */
.card-media::before{content:"";position:absolute;left:0;right:0;top:0;height:22px;background:#f1eee6;border-bottom:1px solid var(--line);z-index:1}
.card-media::after{content:"";position:absolute;left:10px;top:7px;width:8px;height:8px;border-radius:50%;background:#e0dcd2;
  box-shadow:14px 0 0 #e0dcd2,28px 0 0 #e0dcd2;z-index:2}
.card-media img{width:100%;height:calc(100% - 22px);margin-top:22px;object-fit:cover;object-position:top;display:block;transition:transform .5s ease}
.card:hover .card-media img{transform:scale(1.03)}
.card-badges{position:absolute;top:32px;left:10px;display:flex;gap:6px;z-index:3}
.card-placeholder{display:flex;width:100%;height:calc(100% - 22px);margin-top:22px;align-items:center;justify-content:center;
  font-size:56px;font-weight:800;color:var(--ink);opacity:.25;background:linear-gradient(135deg,var(--dune),var(--sky))}
.card-body{padding:18px;display:flex;flex-direction:column;gap:10px;flex:1}
.card-title{margin:0;font-size:18px;line-height:1.3;font-weight:700}
.card-title a{text-decoration:none}
.card-meta{display:flex;justify-content:space-between;align-items:center;font-size:14px;color:var(--muted)}
.card-price{font-weight:600;color:var(--ink)}
.card-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:auto}
.card-actions .btn{flex:1;justify-content:center;padding:10px 12px;font-size:14px}
.updated{font-size:12px;color:var(--muted)}

/* Single download */
.pagehead{position:relative;padding:40px 0 30px;border-bottom:1px solid var(--line);
  background:radial-gradient(800px 300px at 90% 0%,var(--dune) 0%,transparent 60%),var(--wash)}
.pagehead h1{margin:0 0 6px;font-size:clamp(28px,4.2vw,44px);letter-spacing:-.03em;color:var(--ink);font-weight:800}
.breadcrumbs{font-size:13px;color:var(--muted)}
.breadcrumbs a{color:var(--muted)}
.product-hero{display:grid;grid-template-columns:1fr 1.05fr;gap:40px;padding:40px 0 20px;align-items:start}
@media(max-width:900px){.product-hero{grid-template-columns:1fr}}
/* 2-col product layout: content + sticky buy card */
.product-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:40px;padding:36px 0 20px;align-items:start}
@media(max-width:960px){.product-layout{grid-template-columns:1fr}}
.product-main{min-width:0}
.product-main .lede{font-size:19px;color:var(--body);line-height:1.6;margin:0 0 22px}
.product-content{max-width:none;margin-top:28px}
.buy-card{position:sticky;top:90px;background:#fff;border:1px solid var(--line);border-radius:16px;padding:22px;box-shadow:var(--shadow-hover)}
@media(max-width:960px){.buy-card{position:static}}
.buy-card__price{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap;margin-bottom:14px}
.buy-card__price .amount{font-size:34px;font-weight:800;letter-spacing:-.03em;color:var(--ink)}
.buy-card__price .amount .edd_price{font:inherit}
.buy-card__price .note{color:var(--muted);font-size:13px}
.buy-card .product-cta{flex-direction:column;margin:0 0 12px}
.buy-card .product-cta .btn{width:100%;justify-content:center}
.buy-card .product-cta form,.buy-card .edd_download_purchase_form{width:100%}
.buy-card .edd_purchase_submit_wrapper{display:block}
.buy-card .edd-add-to-cart,.buy-card .edd_go_to_checkout{width:100%!important;justify-content:center;border-radius:100px!important;padding:14px 26px!important;font-size:16px!important;background:var(--accent)!important;border-color:var(--accent)!important;color:#fff!important}
.buy-card .product-trust{flex-direction:column;gap:6px;margin:0 0 16px}
.spec{display:grid;grid-template-columns:auto 1fr;gap:8px 14px;margin:0;padding-top:16px;border-top:1px solid var(--line);font-size:14px}
.spec dt{color:var(--muted)}
.spec dd{margin:0;color:var(--ink);font-weight:600}
.badge--ok{background:#e9f7ec;border-color:#bfe6c8;color:#1e7d32}
.wporg-strip{display:flex;gap:22px;flex-wrap:wrap;align-items:center;list-style:none;margin:18px 0 0;padding:16px 18px;border:1px solid var(--line);border-radius:14px;background:var(--wash)}
.wporg-strip li{display:flex;flex-direction:column;line-height:1.2}
.wporg-strip strong{font-size:20px;letter-spacing:-.02em;color:var(--ink)}
.wporg-strip span{font-size:12px;color:var(--muted)}
.wporg-strip li:last-child{margin-left:auto}
.wporg-strip a{font-size:14px}
/* Inline demo frame */
.demo-frame{border:1px solid var(--line);border-radius:16px;overflow:hidden;background:#fff;box-shadow:var(--shadow-hover)}
.demo-bar{display:flex;align-items:center;gap:12px;padding:10px 14px;background:#f1eee6;border-bottom:1px solid var(--line);flex-wrap:wrap}
.demo-bar .dots{width:8px;height:8px;border-radius:50%;background:#e0dcd2;box-shadow:14px 0 0 #e0dcd2,28px 0 0 #e0dcd2;margin-right:24px;flex:none}
.demo-url{flex:1;min-width:120px;font-size:12px;color:var(--muted);background:#fff;border-radius:100px;padding:5px 12px;border:1px solid var(--line);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.demo-devices{display:flex;gap:4px;background:#fff;border:1px solid var(--line);border-radius:100px;padding:3px}
.demo-devices button{border:0;background:transparent;border-radius:100px;padding:6px 12px;font-size:12px;font-weight:600;color:var(--muted);cursor:pointer}
.demo-devices button.active{background:var(--ink);color:#fff}
.demo-open{font-size:12px;font-weight:600;text-decoration:none}
@media(max-width:600px){.demo-devices{display:none}}
.demo-stage{position:relative;background:var(--wash);aspect-ratio:16/10;display:flex;justify-content:center;overflow:hidden}
.demo-stage iframe{width:100%;height:100%;border:0;background:#fff;transition:width .3s ease;box-shadow:0 0 0 1px var(--line)}
.demo-poster{position:absolute;inset:0;border:0;padding:0;background:var(--wash);cursor:pointer;overflow:hidden}
.demo-poster img{width:100%;height:100%;object-fit:cover;object-position:top;display:block;transition:transform .5s ease}
.demo-poster:hover img{transform:scale(1.02)}
.demo-poster--empty{background:linear-gradient(135deg,var(--dune),var(--sky))}
.demo-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);background:var(--ink);color:#fff;border-radius:100px;padding:14px 24px;font-weight:700;font-size:15px;box-shadow:0 12px 30px -10px rgba(0,0,0,.5)}
.demo-poster:hover .demo-play{background:var(--accent)}
.changelog{margin-top:36px;padding-top:24px;border-top:1px solid var(--line)}
.changelog h2{margin:0 0 12px;font-size:24px}
.changelog details{border:1px solid var(--line);border-radius:12px;margin-bottom:8px;background:#fff}
.changelog summary{padding:12px 16px;cursor:pointer;list-style:none}
.changelog summary::-webkit-details-marker{display:none}
.changelog ul{margin:0;padding:0 18px 14px 34px;color:var(--body);font-size:15px}
.product-hero .lede{font-size:18px;color:var(--body);line-height:1.6}
.product-facts{list-style:none;margin:20px 0;padding:0;display:grid;grid-template-columns:repeat(4,1fr);gap:10px}
@media(max-width:600px){.product-facts{grid-template-columns:repeat(2,1fr)}}
.product-facts li{border:1px solid var(--line);border-radius:12px;padding:12px 14px;background:#fff;box-shadow:var(--shadow-card)}
.product-facts small{display:block;color:var(--muted);font-size:11px;text-transform:uppercase;letter-spacing:.08em;margin-bottom:2px}
.product-facts strong{color:var(--ink);font-size:15px}
.product-cta{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0 8px}
.product-cta .btn{padding:14px 26px;font-size:16px}
.btn-sub{opacity:.7;font-weight:500;font-size:13px;margin-left:4px}
.product-trust{display:flex;gap:16px;flex-wrap:wrap;font-size:13px;color:var(--muted);margin-top:10px}
.product-trust span::before{content:"✓ ";color:#2f9e44;font-weight:700}
.gallery{border:1px solid var(--line);border-radius:16px;overflow:hidden;background:#fff;box-shadow:var(--shadow-hover);position:relative}
.gallery::before{content:"";display:block;height:26px;background:#f1eee6;border-bottom:1px solid var(--line)}
.gallery::after{content:"";position:absolute;left:12px;top:9px;width:8px;height:8px;border-radius:50%;background:#e0dcd2;box-shadow:14px 0 0 #e0dcd2,28px 0 0 #e0dcd2}
.gallery img{display:block;width:100%}
.gallery-thumbs{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:8px}
.gallery-thumbs img{border:1px solid var(--line);border-radius:8px;aspect-ratio:4/3;object-fit:cover}
.prose{max-width:760px}
.prose h2{margin-top:1.8em}
.feature-list{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;list-style:none;padding:0;margin:18px 0}
@media(max-width:800px){.feature-list{grid-template-columns:1fr}}
.feature-list li{border:1px solid var(--line);border-radius:var(--radius-card);padding:22px;background:#fff;box-shadow:var(--shadow-card);line-height:1.55}
.feature-list li strong{display:block;font-size:17px;color:var(--ink);margin-bottom:6px}
.feature-list li img{display:block;margin-bottom:12px}
/* numbered feature tiles (why-us) */
.feature-list.numbered{counter-reset:feat}
.feature-list.numbered li{position:relative;padding-top:56px}
.feature-list.numbered li::before{counter-increment:feat;content:counter(feat,decimal-leading-zero);position:absolute;top:16px;left:22px;
  font-size:12px;font-weight:800;letter-spacing:.12em;color:var(--accent)}
.compare{width:100%;border-collapse:collapse;margin:18px 0;background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden}
.compare th,.compare td{border-bottom:1px solid var(--line);padding:12px 14px;text-align:left;font-size:15px}
.compare th{background:var(--wash)}
.sticky-buy{position:sticky;bottom:12px;z-index:20;display:none;background:var(--ink);color:#fff;
  border-radius:100px;padding:10px 10px 10px 18px;margin:18px 0;align-items:center;justify-content:space-between;gap:10px}
@media(max-width:900px){.sticky-buy{display:flex}}

/* Blog */
.post-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
@media(max-width:900px){.post-grid{grid-template-columns:1fr}}
.post-card{border:1px solid var(--line);border-radius:var(--radius-card);overflow:hidden;background:#fff;box-shadow:var(--shadow-card);transition:transform .2s ease,box-shadow .2s ease}
.post-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-hover)}
.post-card img{aspect-ratio:16/9;object-fit:cover;width:100%;display:block}
.post-card h3 a{text-decoration:none}
.post-card .pad{padding:16px}
.post-card h3{margin:0 0 6px;font-size:18px}
.layout-2col{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:28px;align-items:start}
.layout-2col.no-sidebar{grid-template-columns:minmax(0,1fr)}
@media(max-width:900px){.layout-2col{grid-template-columns:1fr}}
.sidebar .widget{border:1px solid var(--line);border-radius:12px;padding:18px;margin-bottom:16px;background:#fff}
.widget-title{margin:0 0 10px;font-size:16px;color:var(--ink)}
.archive-desc{color:var(--muted);max-width:720px}

/* Comments */
.comments-area{margin-top:32px;border-top:1px solid var(--line);padding-top:24px}
.comments-title{font-size:20px;margin:0 0 14px}
.comment-list{list-style:none;margin:0;padding:0}
.comment-list .comment{border:1px solid var(--line);border-radius:12px;padding:16px;margin-bottom:12px;background:#fff}
.comment-list .children{list-style:none;margin:12px 0 0 20px;padding:0}
.comment-author .avatar{border-radius:100px;vertical-align:middle;margin-right:8px}
.comment-metadata{font-size:13px;color:var(--muted)}
.comment-content p{margin:8px 0}
.comment-reply-link{font-size:13px}
.comment-form label{display:block;margin:10px 0 4px}
.comment-form .submit{margin-top:12px}
.comment-form .submit,.wp-block-search__button,input[type="submit"],button:not(.btn):not(.menu-toggle){
  background:var(--ink);color:#fff;border:1px solid var(--ink);border-radius:100px;padding:10px 20px;cursor:pointer}

/* FAQ / TOC / rating */
.canyon-faq{max-width:800px;margin:0 auto}
.canyon-faq__title{text-align:center}
.canyon-faq__item{border:1px solid var(--line);border-radius:12px;margin-bottom:10px;background:#fff;overflow:hidden}
.canyon-faq__item summary{cursor:pointer;padding:16px 18px;font-weight:600;color:var(--ink);list-style:none}
.canyon-faq__item summary::-webkit-details-marker{display:none}
.canyon-faq__item summary::after{content:"+";float:right}
.canyon-faq__item[open] summary::after{content:"–"}
.canyon-faq__item div{padding:0 18px 18px;color:var(--body)}
.canyon-toc{border:1px solid var(--line);border-radius:12px;padding:16px 18px;background:var(--wash);margin:18px 0}
.canyon-toc ol{margin:8px 0 0;padding-left:20px}
.canyon-toc li.level-3{margin-left:14px}
.canyon-stars .star{color:#d6d6d6;font-size:18px}
.canyon-stars .star.full{color:#f5a623}
.canyon-stars .star.half{background:linear-gradient(90deg,#f5a623 50%,#d6d6d6 50%);-webkit-background-clip:text;background-clip:text;color:transparent}
.canyon-rating{display:flex;align-items:center;gap:8px}
.canyon-sponsored-note{border-left:4px solid var(--accent);background:var(--wash);padding:12px 16px;border-radius:0 12px 12px 0;font-size:14px}

/* Demo bar (standalone ?theme_demo=1) */
.canyon-demo-bar{position:sticky;top:0;z-index:100;display:flex;gap:12px;align-items:center;
  background:var(--ink);color:#fff;padding:10px 16px;flex-wrap:wrap}
.canyon-demo-bar .brand{color:#fff;text-decoration:none;font-weight:700}
.canyon-demo-bar .name{opacity:.8;font-size:14px;flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:80px}
.canyon-demo-bar .actions{display:flex;gap:8px}
.demo-devices--dark{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.15)}
.demo-devices--dark button{color:#cfd3c4}
.demo-devices--dark button.active{background:#fff;color:var(--ink)}
.canyon-demo-frame{border:0;border-radius:0;box-shadow:none;background:#e9e6de}
.demo-stage--full{aspect-ratio:auto;height:calc(100vh - 56px)}
.demo-stage--full iframe{height:100%}

/* Footer — ink block like the legacy site, but cleaner */
.site-footer{margin-top:64px;background:var(--ink);color:#d9dcd0}
.footer-grid{display:grid;grid-template-columns:1.2fr 1fr 1fr 1.2fr;gap:28px;padding:52px 20px 36px}
@media(max-width:900px){.footer-grid{grid-template-columns:1fr 1fr}}
@media(max-width:600px){.footer-grid{grid-template-columns:1fr}}
.site-footer .widget-title{color:#fff;font-size:14px;letter-spacing:.08em;text-transform:uppercase;margin-bottom:14px}
.site-footer p{color:#b8bdaa;font-size:15px}
.site-footer ul{list-style:none;margin:0;padding:0}
.site-footer li{margin-bottom:9px}
.site-footer a{color:#e9ebe1;text-decoration:none;font-size:15px}
.site-footer a:hover{color:#fff;text-decoration:underline}
.site-footer .btn.ghost{background:transparent;color:#fff;border-color:rgba(255,255,255,.3)}
.site-footer input[type="email"],.site-footer input[type="text"]{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.18);color:#fff}
.site-footer input[type="submit"],.site-footer button{background:var(--accent);border-color:var(--accent)}
.social{display:flex;gap:10px;flex-wrap:wrap}
.bottombar{border-top:1px solid rgba(255,255,255,.12);padding:16px 0;color:#9aa08f;font-size:13px}
.bottombar p{margin:0;color:#9aa08f}
.to-top{position:fixed;right:16px;bottom:16px;width:44px;height:44px;border-radius:100px;
  background:var(--ink);color:#fff;display:flex;align-items:center;justify-content:center;text-decoration:none}

/* Forms */
input[type="text"],input[type="email"],input[type="password"],input[type="search"],input[type="number"],select,textarea{
  border:1px solid var(--line);border-radius:10px;padding:11px 14px;font-size:15px;width:100%;background:#fff;color:var(--ink)}
label{font-size:14px;color:var(--body)}
.pagination{display:flex;gap:8px;justify-content:center;margin:26px 0}
.pagination a,.pagination span{border:1px solid var(--line);border-radius:100px;padding:8px 16px;text-decoration:none;font-size:14px}
.pagination .current{background:var(--ink);color:#fff;border-color:var(--ink)}
.nothing{border:1px dashed var(--line);border-radius:12px;padding:32px;text-align:center;color:var(--muted)}
table.edd-table{width:100%}
code{background:var(--wash);padding:2px 6px;border-radius:6px;font-size:13px}

/* Slim cookie notice */
.cookie-note{position:fixed;left:16px;bottom:16px;z-index:90;display:flex;gap:12px;align-items:center;max-width:420px;
  background:var(--ink);color:#fff;border-radius:14px;padding:12px 14px;box-shadow:0 16px 40px -16px rgba(0,0,0,.5);font-size:13px}
.cookie-note p{margin:0;color:#e9ebe1}
.cookie-note a{color:#fff}
@media(max-width:600px){.cookie-note{left:10px;right:10px;max-width:none}}

/* Mobile polish */
@media(max-width:600px){
  .hero{padding:32px 0 28px}
  .hero h1{font-size:clamp(32px,9vw,40px)}
  .hero .lede{font-size:16px}
  .hero-cta .btn{flex:1 1 auto;justify-content:center}
  .hero-proof{gap:14px}
  .hero-proof strong{font-size:18px}
  .hero-stack{min-height:240px}
  .section{padding:44px 0}
  .section-head h2{font-size:28px}
  .pagehead{padding:26px 0 20px}
  .product-layout{gap:24px;padding-top:20px}
  .buy-card{padding:18px}
  .card-actions .btn{padding:11px 10px;font-size:14px}
  .header-in{padding:10px 16px}
  .brand img{height:32px}
  .wporg-strip li:last-child{margin-left:0;flex-basis:100%}
}

/* Category header with illustration */
.pagehead--split .wrap{display:grid;grid-template-columns:1.1fr .9fr;gap:32px;align-items:center}
@media(max-width:900px){.pagehead--split .wrap{grid-template-columns:1fr}.pagehead-illo{max-width:420px;margin:0 auto}}
.pagehead-illo{display:block;width:100%;height:auto;border-radius:var(--radius-card);mix-blend-mode:multiply}
