/* ==========================================================
   Hero & marquee
   ========================================================== */

/* ---------------------------------------------------------
   Hero
   --------------------------------------------------------- */
.hero {
  position: relative;
  padding-block: clamp(2.5rem, 1.8rem + 3.4vw, 4.75rem) clamp(3rem, 2.2rem + 3.4vw, 5rem);
  overflow: clip;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-bg .glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
}

.hero-bg .g1 {
  width: 46vw;
  height: 46vw;
  max-width: 620px;
  max-height: 620px;
  right: -6vw;
  top: -10vw;
  background: radial-gradient(circle, var(--surface-3), transparent 68%);
}

.hero-bg .g2 {
  width: 34vw;
  height: 34vw;
  max-width: 460px;
  max-height: 460px;
  left: -10vw;
  bottom: -12vw;
  background: radial-gradient(circle, var(--surface-2), transparent 70%);
}

#bubbles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero .wrap {
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: clamp(1.5rem, 0.8rem + 3vw, 3.25rem);
  align-items: center;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
}

.hero h1 {
  font-size: var(--text-hero);
  font-weight: 900;
  line-height: 1.24;
  letter-spacing: 0.005em;
  margin-block: 0.9rem 1.2rem;
}

.hero h1 .accent {
  color: var(--blue);
  position: relative;
  display: inline-block;
}

.hero h1 .accent::after {
  content: '';
  position: absolute;
  left: 0.1em;
  right: 0.1em;
  bottom: 0.06em;
  height: 0.13em;
  border-radius: 999px;
  background: var(--surface-3);
  z-index: -1;
  transform: scaleX(0);
  transform-origin: 0 50%;
  animation: swipe 900ms var(--ease-out-expo) 900ms forwards;
}

@keyframes swipe {
  to {
    transform: scaleX(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero h1 .accent::after {
    transform: scaleX(1);
  }
}

.hero-lede {
  font-size: 1.03rem;
  color: var(--ink-soft);
  max-width: 30em;
  margin-bottom: var(--space-md);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
}

.hero-assure {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.83rem;
  font-weight: 700;
  color: var(--ink-soft);
  margin-top: 0.9rem;
}

.hero-assure svg {
  color: var(--blue);
  flex: none;
}

.assure-link {
  display: inline-block;
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
}

.assure-link:hover {
  color: var(--blue-dark);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: var(--space-md);
}

.hero-meta span {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--blue-deep);
  background: var(--surface-2);
  border: 1px solid var(--line);
  padding: 0.42rem 0.9rem;
  border-radius: 999px;
}

.hero-art {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 300px;
}

.hero-art .halo {
  position: absolute;
  width: min(430px, 94%);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 42%, var(--surface-2) 0%, var(--surface) 55%, transparent 72%);
  animation: breathe 7s ease-in-out infinite;
}

@keyframes breathe {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.9;
  }
  50% {
    transform: scale(1.05);
    opacity: 1;
  }
}

.hero-art .mascot {
  position: relative;
  z-index: 1;
  width: min(370px, 84%);
  height: auto;
  filter: drop-shadow(0 26px 34px rgba(27, 56, 136, 0.24));
  animation: bob 6s ease-in-out infinite;
}

@keyframes bob {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-15px) rotate(-1.6deg);
  }
}

.hero-art .chip {
  position: absolute;
  z-index: 2;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  border-radius: 999px;
  padding: 0.5rem 0.95rem;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--blue-deep);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  animation: bob 5.2s ease-in-out infinite;
}

.hero-art .chip b {
  color: var(--blue);
  font-family: var(--font-display);
  font-size: 0.95rem;
}

.hero-art .chip-1 {
  top: 6%;
  left: -2%;
  animation-delay: -1.4s;
}

.hero-art .chip-2 {
  bottom: 16%;
  right: -3%;
  animation-delay: -3s;
}

@media (max-width: 900px) {
  .hero-art .chip-1 {
    left: 2%;
  }
  .hero-art .chip-2 {
    right: 2%;
  }
}

@media (max-width: 460px) {
  .hero-art .chip {
    font-size: 0.7rem;
    padding: 0.4rem 0.75rem;
  }
}

/* ---------------------------------------------------------
   Marquee
   --------------------------------------------------------- */
.marquee {
  position: relative;
  overflow: hidden;
  padding-block: 0.95rem;
  background: var(--blue);
}

.marquee::before,
.marquee::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 8%;
  z-index: 2;
  pointer-events: none;
}

.marquee::before {
  left: 0;
  background: linear-gradient(90deg, var(--blue), transparent);
}

.marquee::after {
  right: 0;
  background: linear-gradient(270deg, var(--blue), transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: slide 34s linear infinite;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-group {
  display: flex;
  align-items: center;
  gap: 2.4rem;
  padding-right: 2.4rem;
}

.marquee-group span {
  color: var(--on-blue);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 2.4rem;
}

.marquee-group span::after {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--on-blue) 55%, transparent);
}

@keyframes slide {
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation: none;
  }
}

/* ---------------------------------------------------------
