/* TempoLegal — Premium hero actions, shared by all four homepages. */
.hero .hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}
.hero .hero-actions > a {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 17px;
  min-height: 56px;
  padding: 15px 27px;
  border-radius: 999px;
  font-weight: 600;
  font-size: clamp(13px, .9vw, 16px);
  line-height: 1.3;
  text-decoration: none;
  white-space: normal;
  overflow: hidden;
  transition: transform .32s cubic-bezier(.2,.7,.2,1),
              box-shadow .32s ease, background .32s ease,
              border-color .32s ease, color .32s ease;
}
.hero .hero-actions > a::after {
  content: '↗';
  display: inline-block;
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
  transition: transform .28s ease;
}
.hero .hero-actions > a:hover::after,
.hero .hero-actions > a:focus-visible::after { transform: translate(3px,-3px); }
.hero .hero-actions > a:hover,
.hero .hero-actions > a:focus-visible { transform: translateY(-3px); }
/* Primary action: teal with a subtle moving light. */
.hero .hero-actions > .button-primary {
  background: linear-gradient(125deg,#00799a 0%,#006e8c 64%,#09536b 100%);
  border: 1px solid rgba(167,237,248,.4);
  color: #fff;
  box-shadow: 0 9px 24px rgba(0,21,33,.18), inset 0 1px rgba(255,255,255,.18);
}
.hero .hero-actions > .button-primary::before {
  content: '';
  position: absolute;
  z-index: -1;
  width: 54%;
  height: 250%;
  left: -90%;
  top: -70%;
  transform: rotate(22deg);
  background: linear-gradient(90deg,transparent,rgba(255,255,255,.22),transparent);
  transition: left .65s cubic-bezier(.2,.7,.2,1);
  pointer-events: none;
}
.hero .hero-actions > .button-primary:hover::before,
.hero .hero-actions > .button-primary:focus-visible::before { left: 140%; }
.hero .hero-actions > .button-primary:hover,
.hero .hero-actions > .button-primary:focus-visible {
  background: linear-gradient(125deg,#0085a5,#006b88);
  box-shadow: 0 15px 35px rgba(0,36,48,.3),0 0 22px rgba(119,224,242,.2);
  color: #fff;
}
/* Secondary action: lightly translucent pill, no underlined square link. */
.hero .hero-actions > .text-link {
  background: rgba(229,248,252,.07);
  border: 1px solid rgba(185,229,238,.57);
  color: #f4fcff;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: inset 0 1px rgba(255,255,255,.06);
}
.hero .hero-actions > .text-link:hover,
.hero .hero-actions > .text-link:focus-visible {
  color: #fff;
  background: rgba(144,218,234,.19);
  border-color: #b2edfa;
  box-shadow: 0 10px 28px rgba(0,15,24,.2),0 0 0 3px rgba(181,240,248,.09);
}
.hero .hero-actions > a:focus-visible { outline: 2px solid #a7ebf6; outline-offset: 4px; }
@media (max-width: 620px) {
  .hero .hero-actions { align-items: stretch; gap: 11px; }
  .hero .hero-actions > a { min-height: 51px; padding: 13px 21px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero .hero-actions > a,
  .hero .hero-actions > a::after,
  .hero .hero-actions > a::before { transition: none !important; }
}
