:root {
  --bg-primary: #0073ca;
  --bg-secondary: #0f88e4;
  --bg-highlight: rgba(255, 255, 255, 0.18);
  --card-bg: rgba(244, 248, 252, 0.94);
  --card-border: rgba(255, 255, 255, 0.22);
  --text-main: #ffffff;
  --text-soft: rgba(255, 255, 255, 0.96);
  --accent: #f9761a;
  --shadow: 0 24px 64px rgba(0, 37, 84, 0.22);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "Inter", sans-serif;
  background: var(--bg-primary);
}

img {
  display: block;
  max-width: 100%;
}

.banner {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(
      circle at 50% 50%,
      rgba(42, 161, 255, 0.22),
      transparent 28%
    ),
    radial-gradient(
      circle at 50% 50%,
      rgba(255, 255, 255, 0.12),
      transparent 54%
    ),
    linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  display: grid;
  place-items: center;
  padding: 48px 24px;
}

.banner__glow {
  position: absolute;
  width: 150vmax;
  height: 150vmax;
  left: 50%;
  transform: translateX(-50%);
  background: repeating-conic-gradient(
    from 0deg,
    rgba(255, 255, 255, 0.065) 0deg 4deg,
    rgba(255, 255, 255, 0) 4deg 10deg
  );
  opacity: 0.3;
  pointer-events: none;
}

.banner__glow--top {
  top: -108vmax;
}

.banner__glow--bottom {
  bottom: -108vmax;
  transform: translateX(-50%) rotate(180deg);
}

.announcement {
  position: relative;
  z-index: 1;
  width: min(100%, 871px);
  display: grid;
  gap: 48px;
  justify-items: center;
}

.announcement__content {
  width: 100%;
  display: grid;
  gap: 24px;
  text-align: center;
}

.announcement__title {
  margin: 0;
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 700;
  font-size: clamp(2.3rem, 4.7vw, 3.5rem);
  line-height: 1.2;
  color: var(--text-main);
}

.announcement__title-strong {
  font-weight: 700;
}

.announcement__title-soft {
  font-weight: 500;
  font-size: 0.75em;
  margin: 0 0.16em;
}

.announcement__copy {
  width: min(100%, 812px);
  margin: 0 auto;
  color: var(--text-soft);
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: clamp(1rem, 2vw, 1.375rem);
  font-weight: 500;
  line-height: 1.28;
  display: grid;
  gap: 14px;
}

.announcement__copy p {
  margin: 0;
}

.brand-card {
  width: min(100%, 777px);
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.brand-card__panel {
  min-width: 0;
  display: grid;
  place-items: center;
  min-height: 157px;
  padding: 26px 36px;
}

.brand-card__logo {
  width: 100%;
  height: auto;
}

.brand-card__logo--elixir {
  max-width: 166px;
}

.brand-card__logo--lamda {
  max-width: 244px;
}

.brand-card__divider {
  align-self: stretch;
  display: grid;
  grid-template-rows: 1fr auto 1fr;
  justify-items: center;
  align-items: center;
  width: 20px;
}

.brand-card__divider-line {
  width: 2px;
  height: 100%;
  background: rgba(0, 115, 202, 0.9);
}

.brand-card__arrow {
  width: 17px;
  height: 21px;
  display: block;
  background: var(--accent);
  clip-path: polygon(0 0, 100% 50%, 0 100%, 24% 50%);
  margin: 10px 0 10px 0;
}

@media (max-width: 700px) {
  .banner {
    align-items: start;
  }

  .brand-card {
    grid-template-columns: 1fr;
    justify-items: center;
    width: min(100%, 392px);
    gap: 10px;
    border-radius: 16px;
    padding: 10px 0 10px 0px;
  }

  .brand-card__divider {
    grid-template-columns: 1fr auto 1fr;
    grid-template-rows: 1fr;
    width: min(100%, 280px);
    margin-block: 0;
  }

  .brand-card__divider-line {
    width: 100%;
    height: 2px;
  }

  .brand-card__arrow {
    transform: rotate(90deg);
    width: 17px;
    height: 21px;
    margin: 0 10px 0 10px;
  }
}

@media (max-width: 520px) {
  .banner {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .announcement {
    gap: 34px;
  }

  .announcement__content {
    gap: 22px;
  }

  .announcement__title-strong,
  .announcement__title-soft {
    display: block;
  }

  .brand-card__logo--elixir {
    max-width: 170px;
  }

  .brand-card__logo--lamda {
    max-width: 220px;
  }

  .brand-card__panel {
    min-height: 80px;
    padding: 0;
  }
}

@media (max-width: 380px) {
  .banner {
    padding-inline: 14px;
  }

  .announcement__title {
    font-size: 2rem;
  }

  .brand-card__logo--elixir {
    max-width: 150px;
  }

  .brand-card__logo--lamda {
    max-width: 190px;
  }
}

/* Toast styles */
.toast {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  color: #000;
  padding: 12px 20px;
  text-align: center;
  border-radius: 8px;
  font-size: 14px;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.4s ease,
    visibility 0.4s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.toast.show {
  opacity: 1;
  visibility: visible;
}
