/* LINE consultation buttons only; dark green for white-text contrast. */
.cohort-hero-pair a.cohort-opening,
.cohort-hero-pair a.cohort-opening:visited,
a.line-contact.terminal-action.line-live,
a.line-contact.terminal-action.line-live:visited,
#after-application a.button[href="https://lin.ee/ONVKSBG"],
#after-application a.button[href="https://lin.ee/ONVKSBG"]:visited {
  background: #06C755 !important;
  border-color: #06C755 !important;
  color: #fff !important;
  text-decoration: none;
}
.cohort-hero-pair a.cohort-opening > span,
.cohort-hero-pair a.cohort-opening > small,
a.line-contact.terminal-action.line-live > strong,
a.line-contact.terminal-action.line-live > small {
  color: inherit !important;
}
.cohort-hero-pair a.cohort-opening:hover,
a.line-contact.terminal-action.line-live:hover,
#after-application a.button[href="https://lin.ee/ONVKSBG"]:hover {
  background: #06C755 !important;
  border-color: #06C755 !important;
  color: #fff !important;
  filter: none;
}
.cohort-hero-pair a.cohort-opening:focus-visible,
a.line-contact.terminal-action.line-live:focus-visible,
#after-application a.button[href="https://lin.ee/ONVKSBG"]:focus-visible {
  outline: 3px solid #103857;
  outline-offset: 3px;
}

/* Exact LINE Green. A dark outline preserves contrast around white glyphs. */
.cohort-hero-pair a.cohort-opening,
.cohort-hero-pair a.cohort-opening > span,
.cohort-hero-pair a.cohort-opening > small,
a.line-contact.terminal-action.line-live,
a.line-contact.terminal-action.line-live > strong,
a.line-contact.terminal-action.line-live > small,
#after-application a.button[href="https://lin.ee/ONVKSBG"] {
  -webkit-text-stroke: 2.2px #064a27;
  paint-order: stroke fill;
}
.cohort-hero-pair a.cohort-opening:hover,
a.line-contact.terminal-action.line-live:hover,
#after-application a.button[href="https://lin.ee/ONVKSBG"]:hover {
  box-shadow: inset 0 0 0 2px #064a27;
}
.cohort-hero-pair .cohort-recruit > strong { white-space: normal; text-wrap: balance; }
/* One whole-logo entrance only; transform never changes document layout. */
.hero-journey .brand-whole {
  animation: aiquest-logo-entrance .88s cubic-bezier(.22,.71,.28,1) both;
  transform-origin: 45% center;
}
@keyframes aiquest-logo-entrance {
  0% { opacity: .3; transform: translate3d(0,28px,0) scale(.56) rotate(-7deg); }
  48% { opacity: 1; transform: translate3d(0,-3px,0) scale(1.09) rotate(1.4deg); }
  70% { opacity: 1; transform: translate3d(0,1px,0) scale(.975) rotate(-.6deg); }
  100% { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-journey .brand-whole { animation: none !important; opacity: 1; transform: none !important; }
}
