.subpage {
  --header-space: clamp(5.5rem, 8vw, 9rem);
  min-height: 100svh;
  isolation: isolate;
  background: #112027;
}
.subpage::before {
  content: "";
  position: fixed;
  z-index: -1;
  inset: var(--background-inset, -4px);
  pointer-events: none;
  background: linear-gradient(90deg, #07131bd9, #0a192388 56%, #07131b42),
              url("/assets/senja-noc.webp") 58% center / cover no-repeat;
  filter: blur(var(--background-blur, 2px)) brightness(var(--background-brightness, 1));
}
.subpage .site-header {
  box-sizing: border-box;
  border: 0;
  background: linear-gradient(#0b1822ed, #0b18229c 72%, transparent);
  padding-bottom: 1rem;
}
.story-page { --ink: #f5f6f2; --muted: #dae2de; --line: #ffffff45; color: var(--ink) }
.story-page .opening { padding-top: var(--header-space) }
.story-page .opening-grid { min-height: calc(100svh - var(--header-space)) }
.story-page .about-opening .opening-grid { grid-template-columns: minmax(0, 47rem) }
.story-page .eyebrow { color: #c4e2d1 }
.story-page .tint, .story-page .closing { background: #102327e8 }
.story-page .button { color: #112423 }
.story-page .chapter[id], .story-page .closing[id] { scroll-margin-top: var(--header-space) }
.product-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.6rem, 3vw, 3.5rem); margin-top: 2rem }
.product-cards img { display: block; width: 100%; aspect-ratio: 1.6; object-fit: cover; margin-bottom: 1.3rem }
.product-cards p { margin: .6rem 0 }
.product-points { display: flex; justify-content: space-around; flex-wrap: wrap; gap: .7rem 2rem; margin: 0; padding: 1.25rem 5%; list-style: none; color: #172b2a; background: #e6ebe5 }
.product-tech { margin: 1.2rem 0 0; padding-left: 1.2rem }
.utility-page { padding-top: var(--header-space) }
.utility-page main {
  width: min(76rem, 91%); max-width: 76rem; margin: 1rem auto 3rem;
  padding: clamp(1.4rem, 4vw, 4.5rem); color: #21332f; background: #f8f7f1f2;
}
.utility-page main:has(.login) { background: transparent; padding-inline: 0 }
.utility-page .login { background: transparent }
.utility-page .utility-footer, .utility-page .partner-nav { background: #12232a; color: white }
.utility-page .utility-footer a, .utility-page .partner-nav a { color: inherit }
.utility-page :is(section, tr)[id] { scroll-margin-top: var(--header-space) }
@media (max-width: 760px), (max-width: 1024px) and (pointer: coarse) {
  .subpage { --header-space: 3.65rem }
  .subpage .site-header { background: #102027; padding-bottom: 0 }
  .product-cards { grid-template-columns: minmax(0,1fr) }
  .product-points { justify-content: flex-start }
  .utility-page main { width: 93%; padding: 1.15rem }
}

.ampio-product, .application-page {
  --background-inset: -10px;
  --background-blur: 4px;
}
.application-page { --background-brightness: .52 }
.application-page main {
  display: grid;
  align-content: center;
  min-height: 100svh;
  padding-top: var(--header-space);
  padding-bottom: clamp(2rem, 7svh, 6rem);
}
.application-copy { width: min(100%, 65ch) }
.application-copy h1 { margin-bottom: .38em }
.application-copy .intro { max-width: none; color: #f1f3ee; font-size: clamp(1.1rem, 1.8vw, 1.55rem); line-height: 1.5 }
.application-copy p:last-child { margin-bottom: 0 }
.back-link {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  min-height: 44px;
  margin-bottom: .65rem;
  color: inherit;
  font-size: .9rem;
  font-weight: 550;
  text-decoration: none;
}
.back-link:is(:hover, :focus-visible) { text-decoration: underline; text-underline-offset: .2em }
.utility-page main:has(.login) > .back-link { color: white }
