body {
  background-color: var(--almost-black);
  color: var(--white);
  font-family: var(--font-sans);
  min-height: 100vh;
  position: relative;
}

.bg-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.bg-layer::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.55);
  pointer-events: none;
  z-index: 1;
}
.bg-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.bg-frame.active {
  opacity: 1;
}
.bg-layer.has-image {
  background-image: var(--bg-image);
}
.bg-layer video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-wrapper {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  /* background-color: #00000072; */
}


/* Main column — no side borders, corner brackets are on hero section */
.main-col {
  width: var(--col-width);
  max-width: 100%;
  margin: 0 auto;
}

/* ── Global heading styles ───────────────────────────────────────────────── */

h2 {
  font-family: var(--font-sans);
  font-size: 50px;
  font-weight: 500;
  color: inherit;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
  /* margin-left: 20px; */
}

/* ── Technical Features section ─────────────────────────────────────────── */

.tech-features__heading {
  padding: 0 38px;
}

/* Section dividers are now the reusable <bracket-rule> element (see
   css/brackets.css). These rules just carry the card-section spacing the old
   .tech-features__rule had. */
.tech-features-section bracket-rule {
  margin-bottom: -27px;
}

/* Thin vertical tram lines — sit on --rail-width (wider than the content
   column) so they can be pushed toward the edges independently of content. */
.page-wrapper::after {
  content: '';
  position: fixed;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: calc(var(--rail-width) - 2px);
  max-width: 100%;
  border-left: 1px solid rgba(255,255,255,0.2);
  border-right: 1px solid rgba(255,255,255,0.2);
  pointer-events: none;
  z-index: 101;
  box-sizing: border-box;
}
