/* Shared layout for content pages (about, contact, product pages). Loads after legal.css. */
.top nav.site-nav{display:none;gap:4px;margin-left:24px}
.top nav.site-nav a{color:var(--text-2);text-decoration:none;font-weight:600;font-size:15px;padding:8px 12px;border-radius:10px}
.top nav.site-nav a:hover,.top nav.site-nav a[aria-current="page"]{color:var(--text);background:var(--surface-2)}
@media (min-width:760px){.top nav.site-nav{display:flex}}

.page{padding-top:40px;padding-bottom:24px}
.page-hero{max-width:780px;margin:0 auto 8px;text-align:center}
.page-hero .app-icon{width:96px;height:96px;border-radius:24px;box-shadow:var(--shadow);margin:0 auto 16px;display:block;object-fit:cover}
.page-hero h1{font-size:clamp(30px,5vw,44px);line-height:1.12;letter-spacing:-.02em;margin:14px 0 10px;font-weight:800}
.page-hero p{font-size:18px;color:var(--text-2);margin:0 auto 22px;max-width:680px}
.chips{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin:0 0 22px;padding:0;list-style:none}
.chips li{font-size:13px;font-weight:600;background:var(--surface);border:1px solid var(--border);border-radius:999px;padding:4px 12px;color:var(--text-2)}

.btn-row{display:flex;flex-wrap:wrap;gap:12px;justify-content:center;margin:8px 0 0}
.btn{display:inline-flex;align-items:center;gap:8px;padding:12px 22px;border-radius:12px;font-weight:700;text-decoration:none;font-size:15px;line-height:1.2}
.btn-primary{background:var(--primary);color:var(--primary-ink)}
.btn-ghost{background:var(--surface);color:var(--text);border:1px solid var(--border)}
.btn:hover{opacity:.9}

.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;max-width:720px;margin:32px auto 0}
.stat{background:var(--surface);border:1px solid var(--border);border-radius:16px;padding:16px;text-align:center}
.stat b{display:block;font-size:24px;color:var(--primary);line-height:1.2}
.stat span{font-size:13px;color:var(--text-2)}

.section{margin:56px 0 0}
.section-head{max-width:720px;margin:0 auto 20px;text-align:center}
.section-head h2{font-size:clamp(22px,3.5vw,30px);line-height:1.25;margin:10px 0 8px;letter-spacing:-.01em}
.section-head p{color:var(--text-2);margin:0}
.prose{max-width:760px;margin:0 auto}
.prose h2{font-size:22px;margin:36px 0 10px;line-height:1.3}
.prose h3{font-size:17px;margin:22px 0 6px}
.prose ul,.prose ol{padding-left:22px}
.prose li{margin:4px 0}

.grid{display:grid;grid-template-columns:1fr;gap:16px}
@media (min-width:640px){.grid{grid-template-columns:repeat(2,1fr)}}
@media (min-width:980px){.grid.three{grid-template-columns:repeat(3,1fr)}}
.card{background:var(--surface);border:1px solid var(--border);border-radius:16px;padding:20px 22px;box-shadow:var(--shadow)}
.card h3{margin:0 0 8px;font-size:17px;line-height:1.35}
.card p{margin:0;color:var(--text-2);font-size:15px}
.card ul{margin:0;padding-left:20px;color:var(--text-2);font-size:15px}
.card li{margin:3px 0}

.steps{counter-reset:step;list-style:none;padding:0;margin:0;display:grid;gap:12px}
.steps li{counter-increment:step;position:relative;background:var(--surface);border:1px solid var(--border);border-radius:14px;padding:14px 18px 14px 58px}
.steps li::before{content:counter(step);position:absolute;left:16px;top:14px;width:28px;height:28px;border-radius:50%;background:var(--primary-soft);color:var(--primary);font-weight:800;display:grid;place-items:center;font-size:14px}

.gallery{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(180px,220px);gap:14px;overflow-x:auto;padding:4px 2px 14px;scroll-snap-type:x mandatory}
.gallery figure{margin:0;scroll-snap-align:start}
.gallery img{width:100%;height:auto;border-radius:16px;border:1px solid var(--border);display:block;background:var(--surface-2)}
.gallery figcaption{font-size:13px;color:var(--text-2);margin-top:8px;line-height:1.4}

.faq{max-width:760px;margin:0 auto;display:grid;gap:10px}
.faq details{background:var(--surface);border:1px solid var(--border);border-radius:14px;padding:14px 18px}
.faq summary{font-weight:700;cursor:pointer}
.faq details p{margin:8px 0 0;color:var(--text-2)}

.cta{background:var(--primary-soft);border-radius:20px;padding:28px 22px;text-align:center;max-width:860px;margin:56px auto 0}
.cta h2{margin:0 0 8px;font-size:24px}
.cta p{margin:0 0 16px;color:var(--text-2)}
.muted{color:var(--text-2);font-size:14px}

/* blog */
.post{max-width:760px;margin:0 auto}
.post h1{font-size:clamp(28px,4.6vw,40px);line-height:1.18;letter-spacing:-.02em;margin:10px 0 8px;font-weight:800}
.crumbs{font-size:14px;color:var(--text-2)}
.crumbs a{text-decoration:none}
.post-meta{color:var(--text-2);font-size:14px;margin:0 0 24px}
.post .lead{font-size:18px}
.shot-row{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:24px 0}
.shot-row.land{grid-template-columns:repeat(2,1fr)}
.shot-row img{width:100%;height:auto;border-radius:14px;border:1px solid var(--border);background:var(--surface-2)}
.shot-row figcaption{grid-column:1/-1;font-size:13px;color:var(--text-2);text-align:center}
@media (max-width:520px){.shot-row,.shot-row.land{grid-template-columns:1fr 1fr}}
.post .steps{margin:12px 0}
.draft-note{border:2px dashed #D97706;background:#FEF3C7;color:#78350F;border-radius:14px;padding:14px 18px}
.draft-note p{margin:0}
.post-card{display:flex;flex-direction:column;gap:6px;text-decoration:none;color:inherit}
.post-card img{width:48px;height:48px;border-radius:12px;object-fit:cover}
.post-card .post-cat{font-size:12px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--primary)}
.post-card .post-meta{margin:auto 0 0;font-size:13px}
.case-facts{margin:8px 0 24px}
.case-facts b{font-size:16px}
