/* First screen only. The comet shares the hemisphere's center and radius. */
.hero-refined h1 { max-width: 1220px; }
.hero-refined .hero-title-line { display: inline-block; position: relative; margin-top: .08em; }
/* Inter Tight's visible letter centre sits below the middle of its line box. */
.hero-refined .hero-ai-addon { position: absolute; left: calc(100% + 24px); top: 58%; transform: translateY(-50%); display: inline-flex; font-size: clamp(16px, 1.65vw, 24px); white-space: nowrap; }
.hero-refined .hero-ai-badge {
  display: inline-flex;
  align-items: center;
  gap: .45em;
  padding: .42em .65em;
  border: 1px solid #7899ff;
  border-radius: var(--ui-radius-control, 12px);
  background: #315bff;
  color: #fff;
  font-size: inherit;
  font-weight: 550;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
}
.hero-ai-addon .ai-sparkles { width: 1.1em; height: 1.1em; overflow: visible; color: #e0efff; }
.ai-sparkles path { transform-box: fill-box; transform-origin: center; }
body[data-motion=on] .ai-spark-main { animation: ai-twinkle 3s ease-in-out infinite; }
body[data-motion=on] .ai-spark-small { animation: ai-twinkle 3s -1.5s ease-in-out infinite; }
@keyframes ai-twinkle { 0%, 100% { opacity: .65; transform: scale(.85); } 50% { opacity: 1; transform: scale(1.08); } }
body[data-motion=off] .ai-sparkles path { animation: none !important; }
.promo-ticker { height: 52px; }
.promo-ticker .ticker-window { height: 100%; overflow: hidden; }
.promo-ticker .ticker-track { height: 100%; }
.promo-ticker .ticker-group { display: flex; align-items: center; flex-shrink: 0; gap: 32px; padding-right: 32px; white-space: nowrap; }
body[data-motion=on] .promo-ticker .ticker-track { animation-duration: 50s; }
.promo-ticker:focus-within .ticker-track { animation-play-state: paused; }
.promo-ticker:has(.promo-copy:focus-visible) .ticker-track { animation: none !important; transform: none; }
.promo-copy { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 44px; padding: 8px 0; background: transparent; color: inherit; border: 0; border-radius: 0; font: inherit; line-height: 1.4; letter-spacing: inherit; cursor: pointer; }
.promo-copy strong { font-weight: inherit; letter-spacing: inherit; }
.promo-copy svg { width: 18px; height: 18px; flex-shrink: 0; }
.promo-copy:hover { color: #164a7e; }
.promo-copy:focus-visible { outline: 2px solid #164a7e; outline-offset: 3px; }
.promo-copy .promo-copied-icon, .promo-copy.is-copied .promo-copy-icon { display: none; }
.promo-copy.is-copied .promo-copied-icon { display: block; }
.promo-copy.is-copied { color: #145b55; }
@media (width > 900px) {
  .promo-ticker {
    height: 36px;
    background: #111b2d;
    color: #a6b6ce;
    border-bottom-color: #25334b;
    font-size: 13px;
    letter-spacing: .05em;
  }
  .promo-ticker .ticker-group { gap: 24px; padding-right: 24px; }
  .promo-ticker .ticker-track i { color: #7895bb; font-size: 15px; }
  .promo-ticker .promo-copy { min-height: 35px; gap: 8px; padding: 0 4px; }
  .promo-ticker .promo-copy svg { width: 14px; height: 14px; }
  .promo-ticker .promo-copy:hover { color: #d3e6ff; }
  .promo-ticker .promo-copy:focus-visible { outline-color: #b6d4fe; outline-offset: -2px; }
  .promo-ticker .promo-copy.is-copied { color: #9cddcc; }
}
.promo-enroll-note { padding: 12px 14px; border: 1px solid #638fff66; border-radius: 12px; color: #c9ddff; background: #2758df1c; font-size: 13px; line-height: 1.5; }
.hero-refined .hero-description { max-width: 640px; }
.hero-refined .hero-bottom .small-text { color: #bcc9e4; }
@media (min-width: 701px) {
  .winter-horizon:has(> .planet-comet) { margin-top: 40px; }
}
.winter-horizon > .planet-comet {
  position: absolute;
  inset: -42px;
  width: calc(100% + 84px);
  height: calc(100% + 84px);
  overflow: visible;
  pointer-events: none;
  --orbit-start: -64deg;
  --orbit-end: 72deg;
}
.planet-comet .comet-orbiter {
  transform-box: view-box;
  transform-origin: 50% 50%;
  transform: rotate(-24deg);
  opacity: 1;
}
body[data-motion=on] .planet-comet .comet-orbiter {
  animation: planet-comet-orbit 12s -2.5s linear infinite;
}
@keyframes planet-comet-orbit {
  0% { transform: rotate(var(--orbit-start)); opacity: 0; }
  5% { opacity: 1; }
  80% { opacity: 1; }
  91%, 100% { transform: rotate(var(--orbit-end)); opacity: 0; }
}
body[data-motion=off] .planet-comet .comet-orbiter { animation: none !important; }
/* Staggered colors travel through the tail; the small nucleus stays white. */
body[data-motion=on] .planet-comet .comet-spectrum {
  animation: comet-spectrum 5.4s ease-in-out infinite;
}
body[data-motion=on] .planet-comet .spectrum-violet { animation-delay: -3.6s; }
body[data-motion=on] .planet-comet .spectrum-blue { animation-delay: -1.8s; }
body[data-motion=on] .planet-comet .spectrum-cyan { animation-delay: 0s; }
@keyframes comet-spectrum {
  0%, 100% { stop-color: #76e8ff; }
  33% { stop-color: #6085ff; }
  66% { stop-color: #bd8cff; }
}
.planet-comet .comet-shimmer { opacity: 0; }
.planet-comet .comet-wave { stroke-dasharray: 16 84; stroke-dashoffset: 0; }
body[data-motion=on] .planet-comet .comet-shimmer { opacity: 1; }
body[data-motion=on] .planet-comet .comet-wave {
  animation: comet-tail-wave 2.8s linear infinite;
}
.planet-comet .wave-glow { opacity: .65; }
.planet-comet .wave-core { opacity: .85; }
body[data-motion=on] .planet-comet .wave-secondary {
  animation-delay: -1.4s;
  stroke-dasharray: 10 90;
  opacity: .7;
}
@keyframes comet-tail-wave {
  from { stroke-dashoffset: 0; }
  to { stroke-dashoffset: -100; }
}
body[data-motion=off] .planet-comet .comet-spectrum,
body[data-motion=off] .planet-comet .comet-wave { animation: none !important; }
@media (max-width: 1180px) {
  .hero-refined h1 { max-width: 1020px; }
  .hero-refined .hero-description { max-width: 560px; }
}
@media (max-width: 900px) {
  .hero-refined .hero-description { max-width: 460px; }
  .hero-refined h1 { position: relative; padding-bottom: 60px; }
  .hero-refined .hero-title-line { position: static; }
  .hero-refined .hero-ai-addon { top: auto; bottom: 0; left: 50%; transform: translateX(-50%); font-size: 16px; }
}
@media (max-width: 700px) {
  .winter-horizon > .planet-comet {
    inset: -28px;
    width: calc(100% + 56px);
    height: calc(100% + 56px);
    --orbit-start: -40deg;
    --orbit-end: 52deg;
  }
  .planet-comet .comet-orbiter { transform: rotate(-12deg); }
}
@media (max-width: 620px) {
  .promo-ticker { height: 52px; }
  .promo-ticker .ticker-group { gap: 24px; padding-right: 24px; }
  .promo-copy { gap: 8px; }
  .promo-copy svg { width: 16px; height: 16px; }
  .hero-refined .hero-description { max-width: 345px; }
  .hero-refined .hero-bottom .small-text { max-width: 290px; margin-inline: auto; font-size: 12px; line-height: 1.55; }
  .hero-refined .hero-stage { height: 170px; }
}
@media (prefers-reduced-motion: reduce) {
  body[data-motion=on] .ai-sparkles path { animation: none !important; }
  body[data-motion=on] .planet-comet .comet-orbiter { animation: none !important; }
  body[data-motion=on] .planet-comet .comet-spectrum,
  body[data-motion=on] .planet-comet .comet-wave { animation: none !important; }
  body[data-motion=on] .planet-comet .comet-shimmer { opacity: 0; }
}
