/* Niewz — niewz.com press pages (press/, fr/press/) and the 404 page. Uses the tokens of site.css (themes, accent). */
.press { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin: 0 auto; padding: calc(var(--header-h) + clamp(28px, 5vw, 64px)) 0 clamp(64px, 8vw, 112px); }
.press h1 { font: 700 clamp(40px, 6vw, 72px)/1.04 var(--font-display); letter-spacing: -.03em; text-wrap: balance; }
.press .lead { margin-top: 18px; font-size: var(--fs-intro); line-height: 1.42; color: var(--text-2); max-width: 36em; text-wrap: pretty; }
.press section { margin-top: clamp(56px, 7vw, 96px); }
.press h2 { font: 700 clamp(26px, 3vw, 38px)/1.12 var(--font-display); letter-spacing: -.024em; }
.press h3 { font: 650 18px/1.3 var(--font-display); letter-spacing: -.012em; }
.press .sec-lead { margin-top: 10px; color: var(--text-2); font-size: 17px; line-height: 1.5; max-width: 46em; }
.bar-links { display: flex; gap: 8px; align-items: center; }
.site-header .capsule.back { padding: 0 18px; font-size: 15px; font-weight: 600; text-decoration: none; gap: 8px; color: var(--text); }

.kit-cta { display: flex; flex-wrap: wrap; gap: 14px 18px; align-items: center; margin-top: 30px; }
.kit-note { margin-top: 12px; }
.pill-ghost { display: inline-flex; align-items: center; justify-content: center; height: 58px; padding: 0 28px; border-radius: 999px; font-size: 17px; font-weight: 600;
  color: var(--text); text-decoration: none; box-shadow: inset 0 0 0 1.5px var(--sep); }
.pill-ghost.soon { color: var(--text-2); }
a.pill-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--text); }

.boilers { display: grid; gap: 16px; margin-top: 28px; }
.boiler { background: var(--card); border-radius: 24px; padding: clamp(20px, 2.6vw, 30px); }
.boiler p { margin-top: 12px; font-size: 17px; line-height: 1.58; max-width: 52em; text-wrap: pretty; }
.boiler p.count { margin-top: 14px; font-size: 14px; color: var(--text-2); }

.facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 12px; margin-top: 28px; }
.facts > div { background: var(--card); border-radius: 22px; padding: 18px 22px 20px; }
.facts dt { font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--text-2); }
.facts dd { margin: 6px 0 0; font-size: 17px; line-height: 1.4; font-weight: 550; }

.tiles { display: grid; gap: 14px; margin-top: 24px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.tile { border-radius: 22px; padding: 22px; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; box-shadow: inset 0 0 0 1px var(--sep); }
.tile.light { background: #FFFFFF; color: #000; }
.tile.dark { background: #000000; color: #FFF; }
.tile img { width: 100%; max-width: 220px; height: auto; margin: 6px auto 12px; display: block; }
.tile.icon img { max-width: 120px; border-radius: 27px; }
.tile p { font-size: 14px; line-height: 1.35; }
.tile .dl { display: flex; gap: 14px; font-weight: 650; }
.tile a { color: inherit; text-underline-offset: 3px; }
.tile.light a:focus-visible, .tile.dark a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.shots { display: grid; gap: 16px; margin-top: 28px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.shots figure { background: var(--card); border-radius: 26px; padding: 14px 14px 18px; overflow: hidden; }
.shots picture { display: block; aspect-ratio: 4 / 3; }
.shots img { width: 100%; height: 100%; object-fit: contain; display: block; }
.shots figcaption { margin-top: 8px; padding-inline: 8px; font-size: 14px; color: var(--text-2); }
.shots figure:last-child { grid-column: 1 / -1; }
.shots figure:last-child picture { aspect-ratio: 16 / 7; }

.docs { display: grid; gap: 10px; margin-top: 24px; max-width: 560px; }
.docs a { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 18px 22px; border-radius: 20px; background: var(--card); color: var(--text); text-decoration: none; font-weight: 600; font-size: 18px; }
.docs a:hover { box-shadow: inset 0 0 0 1.5px var(--text); }
.docs small { font-size: 14px; font-weight: 500; color: var(--text-2); }
.contact { margin-top: 18px; font-size: 19px; line-height: 1.6; }
.contact a { color: var(--text); text-underline-offset: 3px; }

.notfound { text-align: center; min-height: 70vh; }
.notfound .code { font: 800 clamp(80px, 18vw, 180px)/1 var(--font-display); letter-spacing: -.05em; color: var(--accent); }
.notfound .lead { margin-inline: auto; }
.notfound .kit-cta { justify-content: center; }
.notfound h2 { margin-top: clamp(48px, 7vw, 80px); }
@media (max-width: 600px) { .bar-links .capsule:last-child:not(:first-child) { display: none; } .pill-ghost, .press .pill-accent { width: 100%; } .bar-links .capsule { --cap-h: 46px; } }

/* ------------------------------------------------------------------ content pages: FAQ, product facts, guides (build-seo.py) */
.press.page h1 { max-width: 18em; }
.crumbs { margin-bottom: 22px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 8px; font-size: 14px; color: var(--text-2); }
.crumbs li + li::before { content: "›"; margin-inline-end: 8px; }
.crumbs a { color: var(--text-2); text-underline-offset: 3px; }
.crumbs a:hover { color: var(--text); }
.byline { margin-top: 16px; font-size: 15px; color: var(--text-2); }
.byline strong { color: var(--text); font-weight: 600; }
.page-figure { margin: 28px 0 8px; padding: 14px; border-radius: 26px; background: var(--card); overflow: hidden; max-width: 46em; }
.page-figure.wide { max-width: none; margin-top: 32px; }
.page-figure img { display: block; width: 100%; height: auto; max-height: 520px; object-fit: contain; }
.toc { margin: 26px 0 6px; padding: 16px 22px; border-radius: 20px; background: var(--card); max-width: 46em; }
.toc ul, .prose .toc ul { display: flex; flex-wrap: wrap; gap: 6px 22px; list-style: none; margin: 0; padding: 0; }
.toc li { font-size: 15px; line-height: 1.4; }
.toc a { color: var(--text); font-weight: 600; font-size: 15px; text-underline-offset: 3px; }
.prose { max-width: 46em; }
.prose h2 { margin-top: 48px; }
.prose p, .prose li { font-size: 18px; line-height: 1.62; text-wrap: pretty; }
.prose p { margin-top: 14px; }
.prose ul, .prose ol { margin-top: 14px; padding-inline-start: 1.3em; display: grid; gap: 10px; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose a, .qa a, .release a, .linklist a, .prose-p a, .factlist a { color: var(--text); text-underline-offset: 3px; }
.prose code { font: 500 .86em/1.4 var(--mono); padding: 2px 6px; border-radius: 6px; background: var(--card); overflow-wrap: anywhere; }
.prose .steps { padding-inline-start: 0; list-style: none; counter-reset: step; gap: 12px; }
.steps li { counter-increment: step; position: relative; padding: 18px 22px 18px 66px; border-radius: 20px; background: var(--card); }
.steps li::before { content: counter(step); position: absolute; inset-inline-start: 20px; top: 17px; width: 30px; height: 30px; border-radius: 50%;
  background: var(--accent); color: var(--on-accent); font: 700 15px/30px var(--font-display); text-align: center; }
.steps strong { display: block; font: 650 18px/1.3 var(--font-display); }
.steps span { display: block; margin-top: 6px; font-size: 17px; line-height: 1.55; }
.faq-group { margin-top: 52px; }
.faq-group .qa { margin-top: 24px; max-width: 46em; }
.qa h3 { font: 650 20px/1.3 var(--font-display); letter-spacing: -.012em; }
.qa p { margin-top: 8px; font-size: 17px; line-height: 1.6; text-wrap: pretty; }
.factlist { margin-top: 14px; border-top: 1px solid var(--sep); max-width: 58em; }
.factlist > div { display: grid; grid-template-columns: minmax(130px, 220px) 1fr; gap: 6px 24px; padding: 14px 0; border-bottom: 1px solid var(--sep); }
.factlist dt { font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--text-2); padding-top: 3px; }
.factlist dd { margin: 0; font-size: 17px; line-height: 1.5; font-weight: 500; }
.prose-p p { margin-top: 12px; font-size: 17px; line-height: 1.6; max-width: 46em; }
.linklist { display: grid; gap: 10px; margin-top: 16px; }
.linklist a { font-weight: 600; }
.linklist.center { justify-items: center; }
.gcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 16px; margin-top: 32px; }
.gcard a { display: block; height: 100%; padding: 24px; border-radius: 24px; background: var(--card); color: var(--text); text-decoration: none; }
.gcard a:hover { box-shadow: inset 0 0 0 1.5px var(--text); }
.gcard h2 { font: 700 22px/1.2 var(--font-display); letter-spacing: -.018em; }
.gcard p { margin-top: 10px; font-size: 16px; line-height: 1.5; color: var(--text-2); }
.gcard .meta { display: block; margin-top: 14px; font-size: 14px; color: var(--text-2); }
.cta-box { margin-top: 56px; padding: clamp(24px, 3vw, 36px); border-radius: 28px; background: var(--card); max-width: 46em; }
.cta-box h2 { font: 700 26px/1.15 var(--font-display); letter-spacing: -.02em; }
.cta-box p { margin-top: 10px; font-size: 17px; line-height: 1.55; color: var(--text-2); }
.more { margin-top: 48px; }
.release { margin-top: 24px; padding: clamp(20px, 2.6vw, 30px); border-radius: 24px; background: var(--card); }
.release h3 { font: 700 22px/1.25 var(--font-display); letter-spacing: -.015em; }
.release h4 { margin-top: 24px; font: 650 18px/1.3 var(--font-display); }
.release p { margin-top: 10px; font-size: 17px; line-height: 1.58; }
@media (max-width: 820px) { .bar-links .nav-extra { display: none; } }
@media (max-width: 600px) { .factlist > div { grid-template-columns: 1fr; } .steps li { padding: 16px 18px 16px 58px; } .steps li::before { inset-inline-start: 16px; } }

/* Designer feedback: the kit download button has no glow beneath it. */
.kit-cta .pill-accent, .kit-cta .pill-accent:hover { box-shadow: none; }

/* The press download stays still on hover and activation. */
.kit-cta .pill-accent:hover, .kit-cta .pill-accent:active { transform: none; }
