.bc-home-hero {
  isolation: isolate;
  min-height: min(940px, calc(100svh - 32px));
  padding-top: 156px;
  padding-bottom: 72px;
  background: #07110c;
}

.bc-home-hero__landscape,
.bc-home-hero__foreground {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  position: absolute;
  inset: 0;
}

.bc-home-hero__landscape {
  z-index: 0;
}

.bc-home-hero__wash {
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(4, 12, 8, .86) 0%, rgba(5, 15, 10, .72) 34%, rgba(7, 17, 12, .24) 62%, rgba(5, 13, 9, .12) 100%),
    linear-gradient(180deg, rgba(4, 10, 7, .28) 0%, rgba(4, 10, 7, 0) 45%, rgba(3, 9, 6, .38) 100%);
  position: absolute;
  inset: 0;
}

.bc-home-hero .hero-main-wrapper {
  z-index: 2;
  position: relative;
}

.bc-home-hero .hero-content-block {
  grid-template-areas:
    "tag panel"
    "title panel"
    "body panel";
  grid-template-columns: minmax(0, .92fr) minmax(430px, 1.08fr);
  column-gap: clamp(44px, 5.5vw, 88px);
  align-items: center;
  min-height: 660px;
  display: grid;
}

.bc-home-hero .tag-block {
  grid-area: tag;
  align-self: end;
}

.bc-home-hero .tag-wrapper {
  color: rgba(255, 255, 255, .82);
  font-size: 15px;
}

.bc-home-hero .hero-title-block {
  grid-area: title;
  align-self: start;
  max-width: 670px;
  margin-top: 20px;
}

.bc-home-hero .heaidng-style-01 {
  max-width: 670px;
  font-size: clamp(58px, 5.6vw, 92px);
  font-weight: 400;
  line-height: .94;
  letter-spacing: -.055em;
}

.bc-home-hero .hero-content-wrapper.home {
  grid-area: body;
  align-self: start;
  padding-top: 36px;
  display: block;
}

.bc-home-hero .hero-tag-wrapper {
  display: none;
}

.bc-home-hero .hero-intro-block.home {
  max-width: 510px;
}

.bc-home-hero .hero-intro-block.home .heading-3 {
  color: rgba(255, 255, 255, .78);
  font-size: clamp(18px, 1.55vw, 22px);
  line-height: 1.42;
}

.bc-home-hero .button-wrapper.hero {
  position: relative;
  z-index: 5;
}

.bc-home-hero__foreground {
  z-index: 4;
  pointer-events: none;
}

.bc-ai-search-demo {
  grid-area: panel;
  align-self: center;
  justify-self: end;
  z-index: 3;
  width: min(100%, 610px);
  height: 520px;
  min-height: 520px;
  margin-top: -40px;
  border: 1px solid rgba(255, 255, 255, .38);
  border-radius: 24px;
  background: rgba(250, 251, 248, .98);
  box-shadow: 0 42px 100px rgba(0, 0, 0, .34);
  color: #0a0a0a;
  position: relative;
  overflow: hidden;
  grid-template-rows: 58px minmax(0, 1fr) 48px;
  display: grid;
  animation: bc-ai-panel-enter .9s cubic-bezier(.22, 1, .36, 1) .25s both;
}

.bc-ai-search-demo__topbar {
  min-height: 58px;
  padding: 0 20px;
  border-bottom: 1px solid rgba(10, 10, 10, .1);
  background: rgba(240, 242, 237, .92);
  justify-content: space-between;
  align-items: center;
  display: flex;
}

.bc-ai-search-demo__identity,
.bc-ai-search-demo__status {
  align-items: center;
  display: flex;
}

.bc-ai-search-demo__identity {
  gap: 10px;
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -.01em;
}

.bc-ai-search-demo__mark {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background:
    linear-gradient(45deg, transparent 40%, #fff 40% 60%, transparent 60%),
    linear-gradient(-45deg, transparent 40%, #fff 40% 60%, transparent 60%),
    #126d38;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2);
}

.bc-ai-search-demo__status {
  gap: 7px;
  color: #526158;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.bc-ai-search-demo__status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #20a051;
  box-shadow: 0 0 0 4px rgba(32, 160, 81, .11);
}

.bc-ai-search-demo__body {
  min-height: 0;
  padding: 28px 34px 18px;
  overflow: hidden;
}

.bc-ai-search-demo__prompt-label {
  margin-bottom: 10px;
  color: #637067;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.bc-ai-search-demo__query {
  min-height: 72px;
  padding: 15px 14px 15px 18px;
  border: 1px solid rgba(16, 53, 29, .18);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(16, 53, 29, .07);
  align-items: center;
  display: flex;
}

.bc-ai-search-demo__search-icon {
  flex: none;
  margin-right: 13px;
  color: #126d38;
}

.bc-ai-search-demo__query-text {
  min-width: 0;
  color: #172019;
  font-size: clamp(16px, 1.4vw, 19px);
  font-weight: 520;
  line-height: 1.3;
}

.bc-ai-search-demo__cursor {
  flex: none;
  width: 1px;
  height: 22px;
  margin-left: 2px;
  background: #126d38;
  animation: bc-ai-cursor .8s steps(1) infinite;
}

.bc-ai-search-demo__submit {
  flex: none;
  width: 40px;
  height: 40px;
  margin-left: auto;
  border-radius: 12px;
  background: #10351d;
  color: #fff;
  justify-content: center;
  align-items: center;
  display: flex;
}

.bc-ai-search-demo__thinking {
  min-height: 22px;
  margin: 14px 2px 2px;
  color: #667069;
  font-size: 13px;
  align-items: center;
  gap: 6px;
  display: flex;
  opacity: 0;
  transition: opacity .22s ease;
}

.bc-ai-search-demo.is-thinking .bc-ai-search-demo__thinking {
  opacity: 1;
}

.bc-ai-search-demo__thinking span:not(:last-child) {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #20a051;
  animation: bc-ai-thinking 1s ease-in-out infinite;
}

.bc-ai-search-demo__thinking span:nth-child(2) {
  animation-delay: .12s;
}

.bc-ai-search-demo__thinking span:nth-child(3) {
  margin-right: 5px;
  animation-delay: .24s;
}

.bc-ai-search-demo__answer {
  height: 200px;
  min-height: 200px;
  margin-top: 6px;
  padding: 20px 24px;
  border: 1px solid rgba(16, 53, 29, .13);
  border-radius: 18px;
  background: linear-gradient(145deg, #f7faf6, #eef4ef);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .42s ease, transform .42s ease;
}

.bc-ai-search-demo__answer.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.bc-ai-search-demo__answer-heading {
  margin-bottom: 12px;
  color: #10351d;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  align-items: center;
  gap: 8px;
  display: flex;
}

.bc-ai-search-demo__answer-mark {
  color: #20a051;
  font-size: 17px;
}

.bc-ai-search-demo__answer p {
  margin: 0;
  color: #2e3931;
  font-size: 16px;
  line-height: 1.55;
}

.bc-ai-search-demo__signals {
  margin-top: 16px;
  flex-wrap: wrap;
  gap: 8px;
  display: flex;
}

.bc-ai-search-demo__signals span {
  padding: 7px 10px;
  border: 1px solid rgba(18, 109, 56, .16);
  border-radius: 999px;
  background: rgba(255, 255, 255, .7);
  color: #36523f;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .02em;
}

.bc-ai-search-demo__signals span::before {
  margin-right: 5px;
  color: #20a051;
  content: "✓";
}

.bc-ai-search-demo__footer {
  min-height: 48px;
  padding: 0 22px;
  border-top: 1px solid rgba(10, 10, 10, .08);
  color: #68736b;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .07em;
  text-transform: uppercase;
  justify-content: space-between;
  align-items: center;
  display: flex;
}

@keyframes bc-ai-panel-enter {
  from {
    opacity: 0;
    transform: translateY(24px) scale(.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes bc-ai-cursor {
  0%, 52% {
    opacity: 1;
  }
  53%, 100% {
    opacity: 0;
  }
}

@keyframes bc-ai-thinking {
  0%, 60%, 100% {
    opacity: .3;
    transform: translateY(0);
  }
  30% {
    opacity: 1;
    transform: translateY(-2px);
  }
}

@media screen and (max-width: 1100px) {
  .bc-home-hero {
    min-height: 880px;
  }

  .bc-home-hero .hero-content-block {
    grid-template-columns: minmax(0, .9fr) minmax(390px, 1.1fr);
    column-gap: 36px;
  }

  .bc-home-hero .heaidng-style-01 {
    font-size: clamp(52px, 6.4vw, 72px);
  }

  .bc-ai-search-demo {
    height: 520px;
    min-height: 520px;
  }

  .bc-ai-search-demo__body {
    padding: 28px 26px 22px;
  }
}

@media screen and (max-width: 767px) {
  .bc-home-hero {
    min-height: 0;
    padding-top: 116px;
    padding-bottom: 64px;
  }

  .bc-home-hero__landscape {
    object-position: 58% 50%;
  }

  .bc-home-hero__wash {
    background:
      linear-gradient(180deg, rgba(4, 12, 8, .72) 0%, rgba(4, 12, 8, .54) 52%, rgba(3, 9, 6, .78) 100%),
      linear-gradient(90deg, rgba(4, 12, 8, .5), rgba(4, 12, 8, .16));
  }

  .bc-home-hero .hero-content-block {
    grid-template-areas:
      "tag"
      "title"
      "body"
      "panel";
    grid-template-columns: minmax(0, 1fr);
    row-gap: 0;
    min-height: 0;
  }

  .bc-home-hero .hero-title-block {
    max-width: 100%;
  }

  .bc-home-hero .heaidng-style-01 {
    max-width: 610px;
    font-size: clamp(48px, 13vw, 68px);
  }

  .bc-home-hero .hero-content-wrapper.home {
    padding-top: 28px;
  }

  .bc-home-hero .hero-intro-block.home {
    max-width: 560px;
  }

  .bc-ai-search-demo {
    justify-self: stretch;
    width: 100%;
    height: auto;
    min-height: 450px;
    margin-top: 44px;
    grid-template-rows: auto;
  }

  .bc-ai-search-demo__body {
    overflow: visible;
  }

  .bc-ai-search-demo__answer {
    height: auto;
    min-height: 210px;
  }

  .bc-home-hero__foreground {
    display: none;
  }
}

@media screen and (max-width: 479px) {
  .bc-home-hero {
    padding-top: 104px;
  }

  .bc-home-hero .heaidng-style-01 {
    font-size: clamp(43px, 13vw, 58px);
  }

  .bc-home-hero .button-wrapper.hero {
    align-items: stretch;
    flex-direction: column;
  }

  .bc-ai-search-demo {
    min-height: 430px;
    border-radius: 20px;
  }

  .bc-ai-search-demo__topbar {
    padding: 0 16px;
  }

  .bc-ai-search-demo__status {
    font-size: 10px;
  }

  .bc-ai-search-demo__body {
    padding: 22px 16px 18px;
  }

  .bc-ai-search-demo__query {
    min-height: 66px;
    padding-left: 14px;
  }

  .bc-ai-search-demo__search-icon {
    display: none;
  }

  .bc-ai-search-demo__query-text {
    font-size: 15px;
  }

  .bc-ai-search-demo__answer {
    min-height: 220px;
    padding: 20px 17px;
  }

  .bc-ai-search-demo__answer p {
    font-size: 15px;
  }

  .bc-ai-search-demo__footer {
    padding: 0 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bc-ai-search-demo,
  .bc-ai-search-demo__cursor,
  .bc-ai-search-demo__thinking span {
    animation: none;
  }

  .bc-ai-search-demo__answer {
    transition: none;
  }
}
