.brand-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  justify-items: center;
  gap: 18px;
  margin: 4px 0 22px;
  padding: 48px 20px 44px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 34px;
  text-align: center;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.045)),
    radial-gradient(circle at 50% 18%, rgba(77, 138, 255, 0.36), transparent 34%),
    radial-gradient(circle at 72% 18%, rgba(87, 226, 170, 0.14), transparent 28%),
    linear-gradient(135deg, rgba(13, 30, 76, 0.92) 0%, rgba(7, 13, 31, 0.97) 58%, rgba(5, 5, 7, 1) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -1px 0 rgba(255, 255, 255, 0.055),
    0 26px 74px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(26px) saturate(1.22);
  -webkit-backdrop-filter: blur(26px) saturate(1.22);
}

.brand-hero::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.2) 0%, transparent 34%),
    radial-gradient(circle at 50% 32%, rgba(255, 255, 255, 0.12), transparent 18%),
    radial-gradient(circle at 74% 76%, rgba(81, 226, 170, 0.09), transparent 26%);
  opacity: 0.8;
  pointer-events: none;
}

.brand-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 14px;
  width: 270px;
  height: 270px;
  transform: translate(-50%, -44%);
  border-radius: 999px;
  background: rgba(76, 137, 255, 0.24);
  filter: blur(52px);
  pointer-events: none;
}

.brand-mark {
  position: relative;
  display: grid;
  width: clamp(78px, 25vw, 132px);
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 28%;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.055)),
    rgba(255, 255, 255, 0.04);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    inset 0 -1px 0 rgba(255, 255, 255, 0.08),
    0 20px 46px rgba(0, 0, 0, 0.38),
    0 0 34px rgba(76, 137, 255, 0.18);
}

.brand-mark::before {
  content: "";
  position: absolute;
  inset: 8%;
  border-radius: 24%;
  background: radial-gradient(circle at 30% 24%, rgba(255, 255, 255, 0.18), transparent 42%);
  pointer-events: none;
}

.brand-mark img {
  position: relative;
  width: 72%;
  height: 72%;
  border-radius: 22%;
  object-fit: cover;
  filter: saturate(1.04) contrast(1.02);
}

.brand-copy {
  position: relative;
  display: grid;
  justify-items: center;
  min-width: 0;
}

.brand-kicker {
  display: block;
  margin: 0 0 10px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  font-size: clamp(0.78rem, 2.8vw, 1.04rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.34em;
  color: transparent;
  background: linear-gradient(90deg, #5AA2FF 0%, #60E6B4 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.brand-copy h1 {
  margin: 0;
  max-width: 10.4ch;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  font-size: clamp(2.72rem, 12.2vw, 5.25rem);
  font-weight: 900;
  line-height: 0.88;
  letter-spacing: -0.082em;
  color: #f7f7fb;
  text-wrap: balance;
  text-shadow: 0 22px 48px rgba(0, 0, 0, 0.46);
}

.brand-copy h1 span {
  display: block;
}

.brand-copy .subtitle {
  max-width: 28ch;
  margin: 15px auto 0;
  color: rgba(247, 247, 251, 0.74);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  font-size: clamp(0.92rem, 3.2vw, 1.08rem);
  font-weight: 650;
  line-height: 1.22;
  letter-spacing: -0.035em;
}

@media (max-width: 759px) {
  .brand-hero {
    margin-top: 4px;
    padding-top: 48px;
    border-top-left-radius: 34px;
    border-top-right-radius: 34px;
  }
}

@media (max-width: 374px) {
  .brand-hero {
    gap: 15px;
    padding: 38px 14px 36px;
    border-radius: 30px;
  }

  .brand-mark {
    width: 68px;
  }

  .brand-kicker {
    margin-bottom: 8px;
    font-size: 0.7rem;
  }

  .brand-copy h1 {
    font-size: clamp(2.26rem, 12vw, 2.9rem);
  }

  .brand-copy .subtitle {
    font-size: 0.84rem;
  }
}

@media (min-width: 430px) and (max-width: 759px) {
  .brand-hero {
    gap: 20px;
    padding-top: 56px;
    padding-bottom: 50px;
  }

  .brand-copy h1 {
    font-size: clamp(3.15rem, 10.6vw, 5.55rem);
  }
}

@media (min-width: 760px) {
  .brand-hero {
    gap: 28px;
    margin: 20px 0 34px;
    padding: 84px 42px 78px;
    border-radius: 46px;
  }

  .brand-hero::after {
    width: 460px;
    height: 460px;
    filter: blur(78px);
  }

  .brand-mark {
    width: clamp(132px, 15vw, 176px);
  }

  .brand-kicker {
    margin-bottom: 16px;
    font-size: clamp(1.05rem, 1.8vw, 1.38rem);
  }

  .brand-copy h1 {
    max-width: 13ch;
    font-size: clamp(4.25rem, 7.1vw, 7.4rem);
    line-height: 0.9;
  }

  .brand-copy .subtitle {
    margin-top: 20px;
    font-size: clamp(1rem, 1.55vw, 1.26rem);
  }
}
