/*
 * Approved global adjustments to the V4 stylesheet (requested by the project owner, 18.11.2026):
 *  1. reduced vertical spacing – the V4 sections had a lot of empty space above and below;
 *  2. larger top bar, hero captions and light-blue labels (eyebrows, section tags …).
 * Kept in its own file so the visual parity test can compare everything else with the template
 * (tests/visual/app-parity.spec.ts leaves this file out). Same selectors as site.css, loaded after it.
 */

/* Homepage */
.hero{min-height:880px}
.hero-content{padding-top:205px;min-height:740px}
section.content-section{padding:96px 0}
.capability-section{padding:92px 0 88px!important}
.manifesto{min-height:470px}
.devlog-home{padding:86px 0}
.cta-section{padding:84px 0 86px}
.community-section{padding:72px 0 80px}

/* Subpages */
.inner-hero{padding:196px 0 76px;min-height:0}
.rm-hero{padding:196px 0 80px;min-height:0}
.rm-timeline-section{padding:80px 0 76px}
.feature-page{padding:72px 0 78px}
.scope-section{padding:72px 0 78px}
.roadmap-scope-block .scope-section{padding:60px 0}
.blog-page{padding:72px 0 80px}
.devlog-article-hero{padding-bottom:64px}
.devlog-article-section{padding:60px 0 84px}

@media(max-width:900px){
  .hero{min-height:780px}
  .hero-content{padding-top:150px;min-height:660px}
  section.content-section{padding:64px 0}
  .capability-section{padding:64px 0!important}
  .manifesto{min-height:400px}
  .devlog-home{padding:60px 0}
  .cta-section{padding:64px 0 70px}
  .community-section{padding:56px 0 64px}
  .inner-hero{padding:150px 0 56px}
  .rm-hero{padding:150px 0 60px}
  .rm-timeline-section,.feature-page,.scope-section,.blog-page{padding:56px 0 60px}
  .roadmap-scope-block .scope-section{padding:48px 0}
  .devlog-article-section{padding:48px 0 64px}
}

/* 2. Type sizes (about +2 px): top bar, hero captions and light-blue labels. */
.topbar{font-size:11px}
.hero-caption{font-size:12px}
.scroll-mark{font-size:11px}
.hero-index{font-size:11px}
.hero-kicker{font-size:12px}
.eyebrow{font-size:13px}
.section-tag{font-size:12px}
.section-kicker{font-size:13px}
.inner-super,.rm-super{font-size:13px}
.manifesto .manifesto-tag{font-size:11px}
.early-label{font-size:12px}
.system-head .system-label{font-size:11px}
.timeline-step .number{font-size:12px}
.vision-card .count{font-size:13px}
.roadmap-foot a{font-size:12px}
.phase-breakdown summary{font-size:12px}
.rm-note .muted-legend{font-size:12px}
.scope-code,.scope-item .scope-state{font-size:11px}
.devlog-meta{font-size:11px}
.devlog-cover .cover-code{font-size:12px}
@media(max-width:600px){
  .topbar{font-size:9px}
  .hero-kicker{font-size:10px} /* wraps onto two lines on phones – as in the V4 template */
  .eyebrow,.section-kicker,.inner-super,.rm-super{font-size:12px}
}
/* Same increase for the light-blue labels added in M8–M10 (site-extensions.css). */
.devlog-reading,.legal-updated{font-size:12px}
.devlog-aside dt,.devlog-neighbour span{font-size:11px}

/* 3. Responsive fixes (requested 29.11.2026). */
/* Principles band: the four items need ~1180 px in one row; below that they wrap instead of being cut off. */
@media(max-width:1250px){
  .marquee{height:auto;min-height:88px;flex-wrap:wrap;justify-content:center;gap:14px 34px;padding:22px 32px}
}
@media(max-width:600px){
  .marquee{min-height:0;justify-content:center;gap:10px 16px;padding:18px 19px}
  .marquee span{font-size:9px}
  .marquee span:nth-last-child(-n+2),.marquee i:nth-last-child(-n+2){display:block}
}
/* Hero: the scaled portal card would hang over the bottom row and the band below it. */
@media(max-width:900px){
  .portal-card{display:none}
}
/* Footer: logo and claim side by side, the links in their own row below them, at every width
   (requested 29.11.2026; in one row they wrapped awkwardly below ~1250 px). */
.footer-main{flex-direction:row!important;flex-wrap:wrap;justify-content:center;align-items:center!important;gap:16px 44px}
.footer-main p{text-align:center}
.footer-main .footer-links{flex-basis:100%;gap:12px 26px}
/* Footer copyright + trademark notice: two equal columns (the notice is much longer than the old
   "powered by" line, 29.11.2026); stacked below 900 px so neither column gets squeezed. */
.footer-lower{gap:20px 48px}
.footer-lower p{flex:1 1 0}
@media(max-width:900px){
  .footer-lower{flex-direction:column;gap:10px}
}
.footer-lower p{white-space:pre-line}
