/*
 * BitClac v279 — aligned master-page introductions.
 * Kept separate from the legacy stylesheet so both masters share one
 * predictable text rhythm without changing their calculators.
 */
html body.master-body .master-page .master-hero {
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, .92fr) !important;
  align-items: center !important;
  gap: clamp(32px, 4.5vw, 64px) !important;
}

html body.master-body .master-page .master-hero-copy {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: center !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: left !important;
}

html body.master-body .master-page .master-hero-copy > * {
  margin-left: 0 !important;
  margin-right: 0 !important;
  text-align: left !important;
}

html body.master-body .master-page .master-hero-copy .eyebrow {
  margin-top: 0 !important;
  margin-bottom: 24px !important;
  line-height: 1.25 !important;
}

html body.master-body .master-page .master-hero-copy h1 {
  width: 100% !important;
  max-width: 15ch !important;
  margin-top: 0 !important;
  margin-bottom: 14px !important;
  font-size: clamp(46px, 5.3vw, 76px) !important;
  line-height: .98 !important;
  letter-spacing: -.035em !important;
  overflow-wrap: normal !important;
}

html body.master-body .master-page .master-hero-copy h2 {
  width: 100% !important;
  max-width: 25ch !important;
  margin-top: 0 !important;
  margin-bottom: 18px !important;
  font-size: clamp(28px, 2.8vw, 42px) !important;
  line-height: 1.12 !important;
  letter-spacing: -.018em !important;
}

html body.master-body .master-page .master-hero-copy .lead {
  width: 100% !important;
  max-width: 64ch !important;
  margin-top: 0 !important;
  margin-bottom: 26px !important;
  font-size: clamp(17px, 1.3vw, 20px) !important;
  line-height: 1.58 !important;
}

html body.master-body .master-page .master-hero-copy .terminal-meta {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  flex-wrap: wrap !important;
  width: 100% !important;
  gap: 10px 28px !important;
  margin: 0 !important;
  padding: 0 !important;
}

html body.master-body .master-page .master-hero-copy .terminal-meta span {
  min-height: 0 !important;
  padding: 0 !important;
  color: #dce5f2 !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  white-space: normal !important;
}

@media (max-width: 1100px) {
  html body.master-body .master-page .master-hero {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 34px !important;
  }

  html body.master-body .master-page .master-hero-copy h1,
  html body.master-body .master-page .master-hero-copy h2,
  html body.master-body .master-page .master-hero-copy .lead {
    max-width: 100% !important;
  }
}

@media (max-width: 760px) {
  html body.master-body .master-page .master-hero {
    gap: 28px !important;
    padding: 24px 18px !important;
    border-radius: 20px !important;
  }

  html body.master-body .master-page .master-hero-copy .eyebrow {
    margin-bottom: 16px !important;
    font-size: 12px !important;
  }

  html body.master-body .master-page .master-hero-copy h1 {
    margin-bottom: 12px !important;
    font-size: clamp(34px, 11vw, 48px) !important;
    line-height: 1.02 !important;
    letter-spacing: -.03em !important;
  }

  html body.master-body .master-page .master-hero-copy h2 {
    margin-bottom: 16px !important;
    font-size: clamp(24px, 7.4vw, 32px) !important;
    line-height: 1.16 !important;
  }

  html body.master-body .master-page .master-hero-copy .lead {
    margin-bottom: 22px !important;
    font-size: 16px !important;
    line-height: 1.55 !important;
  }

  html body.master-body .master-page .master-hero-copy .terminal-meta {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px 18px !important;
  }

  html body.master-body .master-page .master-hero-copy .terminal-meta span {
    font-size: 14px !important;
  }
}

@media (max-width: 420px) {
  html body.master-body .master-page .master-hero {
    padding-inline: 16px !important;
  }

  html body.master-body .master-page .master-hero-copy .terminal-meta {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}
