/* Membrane homepage — special layouts on top of membrane-clean.css.
 * Load after membrane-clean.css. Only index6.html (the hp6 layout) uses this.
 * Covers: the brand bar and the split, horizontal hero intro.
 */
.membrane-brandbar {
  background: #fff;
  color: #17313c;
  border-bottom: 1px solid #dce8f2;
}
.clean .membrane-brandbar__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  width: 100%;
  max-width: var(--page-width);
  min-height: 80px;
  margin-inline: auto;
  padding: 16px 32px;
  box-sizing: border-box;
}
.clean .membrane-brandbar__brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  text-decoration: none;
}
.clean .membrane-brandbar__logo {
  display: block;
  width: 190px;
  max-width: 190px;
  height: auto;
  max-height: 46px;
  object-fit: contain;
}
.clean .membrane-brandbar__tagline {
  padding-left: 24px;
  border-left: 1px solid #dce8f2;
  color: #536872;
  font-size: 12px;
  line-height: 1.5;
}
.clean .membrane-brandbar__nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 26px;
  margin-left: auto;
}
.clean .membrane-brandbar__nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #354f5b;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}
.clean .membrane-brandbar__nav a:hover { color: #087bc1; }
.clean .membrane-brandbar__nav .membrane-brandbar__start {
  justify-content: center;
  gap: 14px;
  height: auto;
  min-height: 42px;
  padding: 9px 16px;
  border: 1px solid #087bc1;
  border-radius: 7px;
  background: #087bc1;
  color: #fff;
  line-height: 1.5;
  box-shadow: none;
}
.clean .membrane-brandbar__nav .membrane-brandbar__start:hover {
  background: #06649e;
  border-color: #06649e;
  color: #fff;
}
@media (max-width: 900px) {
  .clean .membrane-brandbar__tagline { display: none; }
}

/* Split, horizontal hero intro. */
.clean .hero-intro {
  padding: 60px 0 58px;
  background: linear-gradient(115deg, #fff 58%, #f3f9ff 100%);
}
.clean .hero-layout {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  align-items: center;
  gap: 48px;
  width: 100%;
  max-width: var(--page-width);
  margin-inline: auto;
  padding-inline: 32px;
}
.clean .hero-intro .eyebrow { margin-bottom: 18px; }
.clean .hero-intro h1 {
  max-width: none;
  margin: 0 0 24px;
  font-size: clamp(40px, 3.6vw, 52px);
  font-weight: 730;
  line-height: 1.09;
  letter-spacing: -.045em;
}
.clean .hero-intro h1 span { color: #087bc1; }
.clean .hero-description { max-width: 555px; margin: 0; color: #536872; font-size: 17px; line-height: 1.7; }
.clean .hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 26px; margin-top: 26px; }
.clean .hero-start {
  height: auto;
  min-height: 48px;
  padding: 12px 21px;
  gap: 21px;
  border: 1px solid #087bc1;
  border-radius: 7px;
  background: #087bc1;
  color: #fff;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.6;
}
.clean .hero-start:hover { background: #06649e; }
.clean .hero-explore {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: 15px;
  color: #087bc1;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.6;
  text-decoration: none;
}
.clean .hero-explore:hover { text-decoration: underline; }

@media (min-width: 1350px) {
  .clean .hero-intro h1 { font-size: 49px; }
}
@media (max-width: 1000px) {
  .clean .hero-layout { gap: 28px; }
  .clean .hero-intro h1 { font-size: 42px; }
  .clean .hero-description { font-size: 16px; }
}
@media (max-width: 800px) {
  .clean .hero-layout { grid-template-columns: 1fr; gap: 34px; }
  .clean .hero-intro { padding-block: 40px; }
  .clean .hero-intro h1 { font-size: 42px; }
  .clean .hero-description { max-width: 600px; }
}
@media (max-width: 600px) {
  .clean .membrane-brandbar__inner { flex-wrap: wrap; gap: 12px; padding: 18px 22px; }
  .clean .membrane-brandbar__logo { width: 175px; max-width: 175px; height: 38px; }
  .clean .membrane-brandbar__nav { justify-content: space-between; width: 100%; gap: 12px; margin-left: 0; }
  .clean .membrane-brandbar__nav a { font-size: 12px; }
  .clean .membrane-brandbar__nav .membrane-brandbar__start { padding: 9px 12px; }
  .clean .hero-layout { padding-inline: 22px; }
  .clean .hero-intro h1 { font-size: clamp(32px, 8.8vw, 38px); }
  .clean .hero-intro h1 br { display: none; }
  .clean .hero-intro h1 span { display: inline; }
  .clean .hero-actions { gap: 20px; }
}

/* AI Gateway feature: wider image column, full-bleed diagram. */
@media (min-width: 769px) {
  .clean #ai-gateway .column.is-5 { flex: 5 1 0; }
  .clean #ai-gateway .column.is-7 { flex: 7 1 0; }
}
.clean #ai-gateway .image img {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
}
.clean #features { scroll-margin-top: 24px; border-top: 1px solid #dce8f2; }
