/* Shared marketing layout tokens live in variables.css.
   This file applies the measurable container rules for the header
   and homepage. Other pages keep their section styles. */

@import url("variables.css");

.page-shell{
  padding-inline:var(--page-gutter);
}

.page-container{
  width:100%;
  max-width:var(--page-max-width);
  margin-inline:auto;
}

#main-nav,
#main-nav.scrolled{
  display:block;
  padding:0;
  padding-inline:var(--page-gutter);
  min-height:var(--header-min-height);
  box-sizing:border-box;
}

#main-nav .nav-inner{
  width:100%;
  max-width:var(--page-max-width);
  margin-inline:auto;
  min-height:var(--header-min-height);
  padding-inline:0;
  padding-block:0;
  display:flex;
  align-items:center;
  justify-content:space-between;
}

#main-nav.scrolled .nav-inner{
  padding-block:0;
}

#main-nav .nav-left,
#main-nav .nav-right{
  display:flex;
  align-items:center;
}

#qh-restored,
#section-knowledge-at-work,
#connected-offering,
#section-homepage-rest,
#section-pricing{
  padding-inline:var(--page-gutter);
}

/* Homepage section titles — matches Knowledge at work (.qo-title). */
#connected-offering .hp-section-title,
#section-knowledge-at-work .hp-section-title,
#section-homepage-rest .hp-section-title{
  font-family:var(--sans);
  font-size:clamp(32px,4.5vw,50px);
  font-weight:650;
  letter-spacing:-1.7px;
  line-height:1.12;
  color:var(--fg);
  text-align:left;
}

#section-homepage-rest .hp-section-title strong{
  color:var(--cyan);
  font-weight:650;
}

#qh-restored .hero,
#section-knowledge-at-work .qo-wrap,
#connected-offering .qf-wrap,
#section-homepage-rest .container,
#section-pricing .container{
  width:100%;
  max-width:var(--page-max-width);
  margin-inline:auto;
  padding-inline:0;
}

/* One gap between major sections: previous --section-exit + next --section-enter. */
main{
  display:block;
}

#section-home,
#connected-offering,
#section-knowledge-at-work,
#section-homepage-rest,
#section-pricing{
  margin-block:0;
}

footer{
  margin-top:0;
}

.footer-logo-row{
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:nowrap;
}

@media (max-width:480px){
  .footer-logo-row{
    flex-wrap:wrap;
  }
}

.footer-signature{
  margin:0;
  font-family:var(--sans);
  font-size:13px;
  font-weight:500;
  letter-spacing:.04em;
  line-height:1.3;
  color:rgba(232,232,237,.72);
}

.pp-page > .inner-page,
.dd-page .inner-page,
.about-page .inner-page,
.pricing-page > .inner-page,
.sec-page .inner-page,
#section-homepage-rest > .inner-page,
#section-pricing > .inner-page{
  padding-bottom:0;
}
