/* Compact heading spacing across all pages and sections. */
.section{padding-block:60px}
.inner-content{padding-top:44px}
.prose h2{margin-top:28px}
.prose>h2:first-child{margin-top:0}
@media(max-width:760px){
 .section{padding-block:44px}
 .inner-content{padding-top:32px}
 .prose h2{margin-top:24px}
}

/* Header spacing, card gutters and FAQ positioning. */
.header-inner{max-width:1600px;width:calc(100% - 48px);column-gap:28px}
.primary-nav{gap:clamp(18px,1.5vw,28px)}
.primary-nav a{padding:12px 0;line-height:1.5}
.brand{min-width:0}
.header-cta{flex-shrink:0}
.about-copy p{line-height:1.8;margin-bottom:22px}
.about-copy p:last-child{margin-bottom:0}
.features-ruled{gap:1px;background:var(--line);border-block:1px solid var(--line)}
.features-ruled>.feature:nth-child(n){padding:30px 28px;background:#fffefa;border:0;transition:none}
.feature-icon{display:block;width:36px;height:36px;margin:0 0 22px;overflow:visible}
.feature h3{margin-bottom:12px}
.faq-layout{align-items:start}
.faq-intro{position:sticky;top:112px;align-self:start}
.faq-list summary{gap:24px;min-height:78px;padding:22px 0;line-height:1.6}
.faq-symbol{position:relative;display:block;width:30px;height:30px;flex:0 0 30px;font-size:0;line-height:1;transition:transform .2s}
.faq-symbol:before,.faq-symbol:after{content:"";position:absolute;background:currentColor;border-radius:1px;top:50%;left:50%;transform:translate(-50%,-50%)}
.faq-symbol:before{width:12px;height:2px}
.faq-symbol:after{width:2px;height:12px}
@media(max-width:1400px){.header-inner{column-gap:22px}.primary-nav{gap:18px}}
@media(max-width:1320px){
 .primary-nav{top:100%;gap:0;max-height:calc(100dvh - 84px);overflow-y:auto}
 .primary-nav a{padding:13px 8px}
 .header-inner{column-gap:16px}
}
@media(max-width:760px){
 .header-inner{width:calc(100% - 32px);gap:12px}
 .faq-intro{position:static}
 .features-ruled>.feature:nth-child(n){padding:26px 22px}
 .faq-list summary{gap:16px;padding:20px 0}
}
@media(max-width:500px){
 .header-inner{width:calc(100% - 24px);gap:8px}
 .brand{gap:6px}.brand img{width:32px;height:40px}
 .brand-name{font-size:clamp(11px,3.4vw,16px)}
 .header-cta{display:flex;width:34px;height:36px;margin-left:auto;padding:0;gap:0;font-size:0}
 .header-cta .icon{width:19px;height:19px}
 .nav-toggle{display:flex;width:34px;height:36px;margin-left:0;flex-shrink:0}
 .primary-nav{max-height:calc(100dvh - 72px)}
 .features-ruled>.feature:nth-child(n){padding:26px 20px}
 .about-copy p{font-size:16px}
}

/* One consistent content width; full navigation on desktop. */
:root{--max:1140px}
.container,.header-inner{width:calc(100% - 48px);max-width:1140px}
.hero-core,.subhero .container{max-width:1140px}
.header-inner{display:grid;grid-template-columns:auto minmax(0,1fr);gap:28px;padding-block:0}
#site-header{height:84px}
.header-inner .brand{gap:10px;min-width:0}
.header-inner .brand img{width:48px;height:52px}
.header-inner .brand-name{font-size:18px}
.primary-nav{position:static;display:flex;flex-direction:row;justify-content:flex-end;align-items:center;gap:18px;width:auto;max-height:none;padding:0;margin:0;border:0;background:transparent;box-shadow:none;overflow:visible}
.primary-nav a{padding:12px 0;font-size:15px;border:0}
.nav-toggle{display:none}
.footer-bottom{display:flex;align-items:center;justify-content:space-between;gap:20px}
.footer-bottom p{font-size:13px;max-width:none;white-space:nowrap}
.footer-bottom p+p{margin:0}
.screenshot-section .section-head h2{max-width:none;font-size:clamp(24px,3vw,36px)}
.screenshot-section .section-head>p{max-width:760px}
.screenshot-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:30px}
.screenshot-gallery figure{min-width:0}
.gallery-open{display:block;width:100%;padding:0;border:0;border-radius:12px;overflow:hidden;background:#eee7dc;cursor:zoom-in}
.screenshot-gallery .gallery-open img{width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;border-radius:0;transform:none}
.screenshot-gallery figcaption{margin-top:12px;font-size:15px;color:var(--ink)}
.gallery-dialog{width:min(1200px,calc(100vw - 40px));max-width:none;padding:52px 20px 20px;border:0;border-radius:14px;background:#171b19;color:white}
.gallery-dialog::backdrop{background:#000c}
.gallery-dialog img{display:block;width:100%;height:auto;max-height:75dvh;object-fit:contain}
.gallery-dialog p{text-align:center;margin:15px 50px 0;font-size:16px}
.gallery-close,.gallery-prev,.gallery-next{position:absolute;border:1px solid #ffffff55;background:#262a29;color:#fff;border-radius:6px;display:grid;place-items:center;cursor:pointer;width:36px;height:36px;line-height:1}
.gallery-close{right:16px;top:10px;font-size:26px}
.gallery-prev,.gallery-next{bottom:14px;font-size:24px}.gallery-prev{left:20px}.gallery-next{right:20px}
@media(min-width:1024px) and (max-width:1199px){.header-inner{gap:20px}.primary-nav{gap:13px}.primary-nav a{font-size:14px}.header-inner .brand-name{font-size:17px}.footer-bottom p{font-size:11.5px}}
@media(max-width:1023px){
 .header-inner{display:flex;gap:16px}
 .primary-nav{position:absolute;top:100%;left:0;right:0;display:none;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:0;max-height:calc(100dvh - 84px);padding:16px 24px 24px;background:#fffefa;border-bottom:1px solid var(--line);box-shadow:0 10px 20px #271c1b13;overflow:auto}
 .primary-nav.open{display:flex}.primary-nav a{font-size:17px;padding:13px 8px;border-bottom:1px solid var(--line)}
 .nav-toggle{display:flex;grid-column:auto;margin-left:auto;width:40px;height:40px}
 .footer-bottom{display:block}.footer-bottom p{white-space:normal;font-size:12px}.footer-bottom p+p{margin-top:10px}
}
@media(max-width:760px){.container,.header-inner{width:calc(100% - 38px)}.screenshot-gallery{gap:24px 18px}.screenshot-gallery figcaption{font-size:14px}}
@media(max-width:500px){
 #site-header{height:72px}
 .container,.header-inner{width:calc(100% - 32px)}
 .header-inner .brand img{width:34px;height:42px}.header-inner .brand{gap:7px}.header-inner .brand-name{font-size:clamp(12px,3.5vw,16px)}
 .nav-toggle{width:36px;height:36px;margin-left:auto}
 .primary-nav{max-height:calc(100dvh - 72px)}
 .screenshot-gallery{grid-template-columns:1fr;gap:26px}
 .gallery-dialog{width:calc(100vw - 20px);padding-inline:10px}.gallery-dialog p{font-size:14px}
}
