/* Blue Horizon homepage */
:root:not([data-theme="dark"]) {
  --bg: #fff;
  --bg2: #f4f7ff;
  --ink: #111d3a;
  --mute: #435171;
  --line: #dce4f4;
  --acc: #2b48ca;
  --card: #fff;
  color-scheme: light;
}

body > nav {
  --ink: #111d3a;
  --mute: #435171;
  --line: #e7ebf4;
  --acc: #2b48ca;
  box-shadow: none;
}

body > nav .logo img {
  width: clamp(126px, 19vw, 184px);
  height: auto;
}

body > nav .wrap {
  gap: 14px;
  height: 77px;
}

.bh-nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

body > nav .bh-nav-actions .btn {
  padding-inline: 13px;
  white-space: nowrap;
}

body > nav .btn.p,
.bh-home .bh-button {
  background: #2b48ca;
  color: #fff;
  box-shadow: none;
  border-radius: 8px;
}

.bh-home {
  background: #fff;
  color: #111d3a;
}

.bh-home p,
.bh-home h1 {
  margin: 0;
}

.bh-sky {
  background: linear-gradient(118deg, #f7faff, #e8efff 60%, #ede9ff);
}

.bh-sky-inner {
  display: grid;
  grid-template-columns: 1fr 1.04fr;
  align-items: center;
  gap: clamp(20px, 4vw, 54px);
  padding-block: clamp(42px, 7vw, 84px);
}

.bh-intro {
  display: grid;
  justify-items: start;
  gap: 18px;
}

.bh-home .bh-label {
  color: #2b48ca;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.bh-home h1 {
  font-size: clamp(42px, 6.1vw, 76px);
  letter-spacing: -.062em;
  line-height: 1.04;
}

.bh-home .bh-lead {
  color: #435171;
  font-size: clamp(15px, 1.6vw, 18px);
  max-width: 440px;
}

.bh-button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 9px 16px;
  font-weight: 700;
}

.bh-button:hover,
body > nav .btn.p:hover {
  background: #243ba6;
  color: #fff;
}

.bh-lab-card {
  border: 1px solid #dce4fa;
  border-radius: 18px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 20px 48px #354a9c1c;
}

.bh-lab-card > header,
.bh-lab-card > footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding: 13px 16px;
  background: #fff;
}

.bh-lab-card > footer {
  color: #111d3a;
  font-size: 13px;
  text-align: start;
}

.bh-lab-card > footer span {
  color: #526181;
}

.bh-product-logo {
  display: block;
  width: 114px;
  height: 41px;
  object-fit: contain;
  object-position: left center;
}

.bh-experiment {
  margin: 0 10px;
  padding: 12px;
  border-radius: 11px;
  background: #eaf1ff;
  color: #39538a;
}

.bh-experiment svg {
  display: block;
  width: 100%;
  height: clamp(135px, 19vw, 230px);
}

.bh-experiment p {
  font-size: 12px;
  text-align: center;
}

.bh-capabilities {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-block: 27px;
}

.bh-capabilities b {
  display: block;
  margin-bottom: 4px;
}

.bh-capabilities p {
  color: #526181;
  font-size: 13px;
}

@media (max-width: 700px) {
  body > nav .wrap {
    height: 68px;
    padding-inline: 14px;
  }

  .bh-sky-inner {
    grid-template-columns: 1fr;
    padding-block: 34px 28px;
  }

  .bh-capabilities {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}


.bh-pendulum .bh-sim-controls {
  padding: 0 5px 4px;
}

.bh-length-label,
.bh-sim-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  font-size: 12px;
}

.bh-length-label {
  justify-content: space-between;
  font-weight: 650;
}

.bh-pendulum input[type="range"] {
  display: block;
  width: 100%;
  min-height: 30px;
  margin: 4px 0;
  padding: 0;
  accent-color: #2b48ca;
  background: transparent;
  border: 0;
}

.bh-sim-actions button {
  padding: 5px 10px;
  min-height: 32px;
  border: 1px solid #b8c8ed;
  border-radius: 6px;
  color: #203e84;
  background: #fff;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}

.bh-sim-actions button:hover {
  background: #f4f7ff;
}

.bh-pendulum-reference {
  display: grid;
  grid-template-columns: minmax(0, 230px) 1fr;
  align-items: center;
  gap: 20px;
  margin: 32px 0 0;
  padding: 16px;
  border: 1px solid #dce4fa;
  border-radius: 14px;
  background: #fff;
  color: #111d3a;
}

#navieai .bh-pendulum-reference svg {
  height: 105px;
}

#navieai .bh-pendulum-reference p {
  margin: 4px 0 0;
  font-size: 14px;
}

@media (max-width: 550px) {
  .bh-pendulum-reference {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}


.bh-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.bh-home .bh-button-secondary {
  background: #fff;
  border: 1px solid #b8c8ed;
  color: #203e84;
}

.bh-home .bh-button-secondary:hover {
  background: #f4f7ff;
}

#navieai-pricing {
  scroll-margin-top: 96px;
}

.bh-showcase {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 32px;
}

.bh-showcase .bh-pendulum-reference {
  grid-template-columns: 1fr;
  align-content: start;
  gap: 12px;
  margin: 0;
}

.bh-showcase .bh-experiment {
  margin: 0;
}

@media (max-width: 650px) {
  .bh-showcase {
    grid-template-columns: 1fr;
  }
}


#navieai .bh-learn {
  margin-block: clamp(38px, 7vw, 82px);
  padding: 0;
}

.bh-learn-story {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
}

.bh-learn-kicker {
  color: #4c44bb;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .13em;
  text-transform: uppercase;
}

#navieai .bh-learn h2 {
  font-size: clamp(33px, 4vw, 53px);
  line-height: 1.07;
  letter-spacing: -.045em;
  margin: 9px 0 15px;
}

#navieai .bh-learn h3,
#navieai .bh-learn h4 {
  margin: 0 0 6px;
  color: #15284c;
}

#navieai .bh-learn p {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: #455776;
}

.bh-audience {
  margin-top: 22px;
  padding-left: 16px;
  border-left: 3px solid #7e77e6;
}

.bh-student-scene {
  margin: 0;
  padding: 14px;
  border: 1px solid #dfe7fc;
  border-radius: 18px;
  background: #fff;
  text-align: center;
}

.bh-student-scene svg {
  display: block;
  width: 100%;
  height: auto;
}

.bh-student-scene figcaption {
  padding-bottom: 8px;
  color: #455776;
  font-size: 13px;
}

@keyframes bh-study-glow {
  50% { opacity: .35; }
}

@keyframes bh-study-spark {
  50% { transform: translateY(-4px); }
}

@media (prefers-reduced-motion: no-preference) {
  .bh-student-animate .bh-circuit-signal { animation: bh-study-glow 1.35s ease-in-out 3; }
  .bh-student-animate .bh-study-spark { animation: bh-study-spark 1.35s ease-in-out 3; }
}

.bh-learning-demo {
  margin-top: 30px;
  padding: clamp(16px, 3.5vw, 30px);
  background: #fff;
  border: 1px solid #dfe7fc;
  border-radius: 16px;
}

#navieai .bh-demo-heading h3 {
  margin-top: 6px;
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: -.035em;
}

.bh-lesson-steps,
.bh-lesson-answers {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-block: 15px 10px;
}

.bh-learning-demo [hidden] {
  display: none;
}

.bh-learning-demo button {
  min-height: 44px;
  padding: 7px 12px;
  background: #fff;
  border: 1px solid #c6d2ef;
  border-radius: 7px;
  color: #273c77;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}

.bh-learning-demo button[aria-pressed="true"] {
  background: #2b48ca;
  border-color: #2b48ca;
  color: #fff;
}

.bh-lesson-panel {
  padding: 15px;
  margin-top: 10px;
  background: #f0f4ff;
  border-radius: 9px;
}

.bh-answer-fallback { margin-top: 10px; }
.bh-answer-fallback summary { cursor: pointer; }
.bh-lesson-feedback:not(:empty) { padding-top: 5px; }

.bh-learning-outcomes {
  margin-top: 32px;
}

#navieai .bh-learning-outcomes h3 {
  font-size: clamp(23px, 3vw, 30px);
}

.bh-learning-outcomes ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  list-style: none;
  margin: 16px 0 20px;
  padding: 0;
}

.bh-learning-outcomes li {
  padding-top: 12px;
  border-top: 2px solid #c9d3f9;
}

.bh-learning-outcomes li span {
  display: block;
  margin-top: 4px;
  color: #455776;
  font-size: 14px;
}

@media (max-width: 740px) {
  .bh-learn-story,
  .bh-learning-outcomes ul { grid-template-columns: 1fr; }
}


#navieai .bh-overview {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  gap: clamp(16px, 3vw, 24px);
  min-width: 0;
  margin-top: 32px;
  padding: clamp(14px, 3vw, 30px);
  border-radius: 16px;
  background: #e8eeff;
  text-align: center;
  scroll-margin-top: 96px;
}

#navieai .bh-overview > div {
  width: 100%;
  max-width: 540px;
  min-width: 0;
}

#navieai .bh-overview h3 {
  margin-top: 8px;
  font-size: clamp(24px, 3vw, 34px);
}

#navieai .bh-overview a {
  display: inline-block;
  margin-top: 14px;
  color: #2b48ca;
  font-weight: 650;
}

#navieai .bh-overview video {
  background: #dfe7fd;
  border-radius: 10px;
}
