/* Home hero — the reveal's morph lands exactly on this section. Colours are fixed (not themed). */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: max(620px, calc(100svh - var(--header-h)));
  color: #fff;
  background: linear-gradient(180deg, #3b5876 0%, #5a7fa3 55%, #75a2c4 100%);
}
.hero__sky { position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background: radial-gradient(800px 520px at 12% 82%, rgba(16,30,52,.42), transparent 70%), linear-gradient(90deg, rgba(16,30,52,.62) 0%, rgba(16,30,52,.5) 38%, rgba(16,30,52,0) 62%), radial-gradient(900px 500px at 78% 30%, rgba(255,255,255,.16), transparent 60%); }
.hero__mascot, .hero__smear {
  position: absolute; z-index: -1; pointer-events: none; user-select: none;
  height: min(88%, 760px); width: auto; right: max(2vw, calc(50% - 640px)); bottom: -4%;
}
.hero__smear { transform-origin: 100% 50%; transform: translateX(-22%) scaleX(1.8); opacity: .32; filter: url(#smear-blur);
  /* trail fades out before it reaches the copy, keeping the text at AA contrast */
  -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000 75%); mask-image: linear-gradient(90deg, transparent 30%, #000 75%); }
.hero__inner { position: relative; min-height: inherit; display: flex; flex-direction: column; justify-content: center; gap: 40px; padding-top: 72px; padding-bottom: 104px; }
.hero__copy { display: grid; gap: 22px; max-width: 600px; }
.hero__headline { font-size: clamp(42px, 5.2vw, 63px); font-weight: 700; letter-spacing: -0.045em; line-height: 1.02; }
.hero__headline .line { display: block; }
.hero__lede { font-size: clamp(18px, 1.7vw, 23px); line-height: 1.45; color: #fff; max-width: 30ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .btn--primary { background: #fff; color: #0b1626; }
.hero .btn--primary:hover { background: #e8eef5; }
.hero .btn--ghost { color: #fff; border-color: rgba(255,255,255,.4); }
.hero .btn--ghost:hover { background: rgba(255,255,255,.1); }
.hero__features { justify-self: start; list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 12px; color: #fff; font-size: 15px; }
.hero__features li { display: flex; align-items: center; gap: 10px; }
.hero__features svg { width: 18px; height: 18px; flex: none; }
.hero__marks { position: absolute; left: 16px; bottom: 32px; display: flex; gap: 28px; font: 600 13px/1 var(--font-mono); letter-spacing: .14em; color: rgba(255,255,255,.5); }
@media (min-width: 760px) { .hero__marks { left: 24px; } }
.hero :focus-visible { outline-color: #fff; }

@media (max-width: 899px) {
  .hero__inner { justify-content: flex-start; padding-top: 48px; padding-bottom: min(70vw, 420px); }
  .hero__mascot { height: auto; width: min(64vw, 380px); right: max(4vw, calc(50% - 230px)); bottom: -6%; }
  .hero__smear { display: none; }
  .hero__marks { display: none; }
}
