:root {
  --primary: #07808d;
  --primary-dark: #075b68;
  --primary-soft: #dff7f2;
  --dark: #082f3f;
  --ink: #102d39;
  --muted: #5b7180;
  --surface: #ffffff;
  --surface-soft: #f1f8f9;
  --line: rgba(8, 47, 63, 0.12);
  --mint: #a9eadb;
  --shadow-sm: 0 14px 38px rgba(8, 47, 63, 0.09);
  --shadow-lg: 0 30px 90px rgba(8, 47, 63, 0.18);
  --radius-sm: 16px;
  --radius-md: 25px;
  --radius-lg: 36px;
  --content: 1460px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: #f8fbfc;
  font-family: "Manrope", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

.container {
  width: min(calc(100% - 48px), var(--content));
  margin-inline: auto;
}

.top-banner {
  display: flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 8px 20px;
  color: rgba(255, 255, 255, 0.92);
  background: var(--dark);
  font-size: 0.86rem;
  font-weight: 700;
  text-align: center;
}

header {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(8, 47, 63, 0.08);
  background: rgba(255, 255, 255, 0.93);
  box-shadow: 0 8px 30px rgba(8, 47, 63, 0.05);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.nav {
  display: grid;
  grid-template-columns: minmax(250px, auto) 1fr auto auto;
  min-height: 84px;
  align-items: center;
  gap: 22px;
}

.nav-left {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
}

.brand-logo {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  overflow: hidden;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 5px 20px rgba(8, 47, 63, 0.12);
}

.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-text {
  color: var(--dark);
  font-size: 1.03rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  color: #405b69;
  font-size: 0.92rem;
  font-weight: 800;
}

.nav-links > a:not(.btn) {
  position: relative;
  padding: 15px 0;
  white-space: nowrap;
}

.nav-links > a:not(.btn)::after {
  position: absolute;
  right: 0;
  bottom: 8px;
  left: 0;
  height: 2px;
  border-radius: 99px;
  background: var(--primary);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.nav-links > a:not(.btn):hover::after,
.nav-links > a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-contact {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 0.83rem;
  white-space: nowrap;
}

.header-contact a {
  color: var(--dark);
}

.btn {
  display: inline-flex !important;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 21px !important;
  border: 1px solid transparent;
  border-radius: 999px !important;
  font-weight: 800 !important;
  letter-spacing: -0.015em;
  text-align: center;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #fff !important;
  background: var(--primary) !important;
  box-shadow: 0 13px 28px rgba(7, 128, 141, 0.25);
}

.btn-primary:hover {
  background: var(--primary-dark) !important;
}

.btn-outline {
  color: var(--dark) !important;
  border-color: rgba(8, 47, 63, 0.17) !important;
  background: rgba(255, 255, 255, 0.86) !important;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 15px;
  color: var(--dark);
  background: #fff;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 21px;
  height: 2px;
  margin: 4px auto;
  border-radius: 99px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

main > section:not(.hero):not(.provider-strip):not(.how-strip) {
  padding: clamp(80px, 8vw, 132px) 0;
}

main > section:nth-of-type(odd):not(.hero):not(.provider-strip):not(.how-strip) {
  background: #edf7f8;
}

.hero {
  position: relative;
  width: 100%;
  padding: 0;
  overflow: hidden;
  isolation: isolate;
}

.hero-banner {
  position: relative;
  min-height: calc(100svh - 124px);
  display: grid;
  align-items: center;
  overflow: hidden;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

.hero-banner::before {
  position: absolute;
  z-index: -3;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(4, 36, 49, 0.97) 0%, rgba(4, 36, 49, 0.88) 44%, rgba(4, 36, 49, 0.42) 72%, rgba(4, 36, 49, 0.12) 100%),
    url("images/original/community.png") center 42% / cover no-repeat;
}

.page-providers .hero-banner::before {
  background:
    linear-gradient(90deg, rgba(4, 36, 49, 0.97) 0%, rgba(4, 36, 49, 0.88) 45%, rgba(4, 36, 49, 0.40) 72%, rgba(4, 36, 49, 0.12) 100%),
    url("images/original/carehomes.png") center 42% / cover no-repeat;
}

.page-staff .hero-banner::before {
  background:
    linear-gradient(90deg, rgba(4, 36, 49, 0.97) 0%, rgba(4, 36, 49, 0.88) 45%, rgba(4, 36, 49, 0.42) 72%, rgba(4, 36, 49, 0.14) 100%),
    url("images/original/supported.png") center 42% / cover no-repeat;
}

.hero-banner::after {
  position: absolute;
  z-index: -2;
  inset: auto 0 0;
  height: 240px;
  content: "";
  background: linear-gradient(to top, rgba(4, 36, 49, 0.34), transparent);
}

.hero > .container {
  width: 100%;
  max-width: none;
}

.hero-inner {
  width: min(calc(100% - 48px), var(--content));
  min-height: inherit;
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(350px, 0.62fr);
  gap: clamp(48px, 7vw, 105px);
  align-items: center;
  padding: clamp(76px, 9vw, 132px) 0;
}

.hero-inner > div:first-child {
  max-width: 790px;
  color: #fff;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 21px;
  padding: 8px 13px;
  border: 1px solid rgba(169, 234, 219, 0.32);
  border-radius: 999px;
  color: #dff7f2;
  background: rgba(223, 247, 242, 0.12);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-badge::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 6px rgba(169, 234, 219, 0.14);
  content: "";
}

.hero-title {
  max-width: 820px;
  margin: 0;
  color: #fff !important;
  font-size: clamp(3.1rem, 5.35vw, 6.05rem) !important;
  font-weight: 800 !important;
  line-height: 0.99 !important;
  letter-spacing: -0.06em !important;
}

.hero-title span {
  color: var(--mint) !important;
}

.hero-text {
  max-width: 700px;
  margin: 26px 0 0 !important;
  color: rgba(255, 255, 255, 0.79) !important;
  font-size: clamp(1rem, 1.35vw, 1.22rem) !important;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 31px;
}

.hero-cta .btn {
  min-height: 55px;
  padding-inline: 25px !important;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.86rem;
  font-weight: 700;
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-meta span::before {
  display: grid;
  width: 21px;
  height: 21px;
  place-items: center;
  border-radius: 50%;
  color: var(--dark);
  background: var(--mint);
  content: "✓";
  font-size: 0.68rem;
  font-weight: 900;
}

.hero-card,
.page-staff .hero-inner > aside.card {
  align-self: center;
  justify-self: end;
  width: min(100%, 510px);
  padding: 27px !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  border-radius: var(--radius-lg) !important;
  color: #fff;
  background: rgba(4, 36, 49, 0.64) !important;
  box-shadow: var(--shadow-lg) !important;
  backdrop-filter: blur(19px);
  -webkit-backdrop-filter: blur(19px);
}

.hero-card-title,
.hero-card h3,
.page-staff .hero-inner > aside.card h3 {
  color: #fff !important;
  font-size: 1.18rem;
  font-weight: 800;
}

.hero-stat {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.87rem;
}

.hero-stat span:last-child {
  color: #fff;
  font-weight: 800;
  text-align: right;
}

.hero-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  margin-top: 19px;
}

.hero-mini-tile {
  position: relative;
  min-height: 116px;
  overflow: hidden;
  border-radius: 17px;
}

.hero-mini-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-mini-tile::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(3, 28, 39, 0.82), transparent 70%);
  content: "";
}

.hero-mini-label {
  position: absolute;
  z-index: 2;
  right: 9px;
  bottom: 8px;
  left: 9px;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  text-align: center;
}

.page-staff .hero-inner > aside.card p {
  color: rgba(255, 255, 255, 0.72) !important;
}

.page-staff .hero-inner > aside.card .pill {
  color: var(--mint);
  border-color: rgba(169, 234, 219, 0.28);
  background: rgba(169, 234, 219, 0.12);
}

.section-header {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(330px, 0.54fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 47px !important;
}

.section-kicker {
  display: inline-flex;
  grid-column: 1;
  align-items: center;
  gap: 10px;
  margin-bottom: 11px;
  color: var(--primary);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.section-kicker::before {
  width: 29px;
  height: 2px;
  border-radius: 99px;
  background: currentColor;
  content: "";
}

.section-title {
  grid-column: 1;
  margin: 0 !important;
  color: var(--dark) !important;
  font-size: clamp(2.25rem, 4.1vw, 4.75rem) !important;
  font-weight: 800 !important;
  line-height: 1.03 !important;
  letter-spacing: -0.052em !important;
}

.section-subtitle {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: end;
  margin: 0 !important;
  color: var(--muted) !important;
  font-size: 1.02rem !important;
}

.grid {
  display: grid;
  gap: 22px !important;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

.card {
  padding: clamp(25px, 3.2vw, 39px) !important;
  border: 1px solid var(--line) !important;
  border-radius: var(--radius-md) !important;
  background: #fff !important;
  box-shadow: var(--shadow-sm) !important;
}

.card h3 {
  margin: 0 0 10px;
  color: var(--dark);
  font-size: 1.28rem;
  letter-spacing: -0.03em;
}

.card p,
.card li {
  color: var(--muted);
}

.list {
  display: grid;
  gap: 11px;
  padding-left: 1.15rem;
}

.pill {
  display: inline-flex;
  padding: 7px 11px;
  border: 1px solid rgba(7, 128, 141, 0.17);
  border-radius: 999px;
  color: var(--primary-dark);
  background: var(--primary-soft);
  font-size: 0.74rem;
  font-weight: 900;
}

.tile {
  position: relative;
  min-height: 355px !important;
  overflow: hidden;
  border: 0 !important;
  border-radius: var(--radius-md) !important;
  background: var(--dark);
  box-shadow: var(--shadow-sm);
  isolation: isolate;
}

.tile::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(to top, rgba(3, 31, 43, 0.91) 0%, rgba(3, 31, 43, 0.12) 69%);
  content: "";
}

.tile img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform 650ms ease;
}

.tile:hover img {
  transform: scale(1.045);
}

.tile-content {
  position: absolute !important;
  z-index: 2;
  right: 25px !important;
  bottom: 24px !important;
  left: 25px !important;
  color: #fff;
}

.tile-title {
  color: #fff !important;
  font-size: 1.35rem !important;
  font-weight: 800 !important;
  letter-spacing: -0.03em;
}

.tile-sub {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.73) !important;
  font-size: 0.9rem !important;
}

#gallery .tile[style*="320px"],
.page-staff main > section:last-child .tile {
  min-height: 500px !important;
}

.provider-strip {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  background: #e2f6f1;
}

.provider-strip-inner {
  padding: 0 !important;
}

.provider-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  padding: 18px 22px !important;
  border: 1px solid rgba(7, 128, 141, 0.12);
  border-radius: 22px !important;
  background: rgba(255, 255, 255, 0.74) !important;
  box-shadow: var(--shadow-sm);
}

.provider-chip .left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 7px rgba(7, 128, 141, 0.11);
}

.how-strip {
  padding: clamp(72px, 7vw, 110px) 0;
  color: #fff;
  background: var(--dark);
}

.how-strip .section-title {
  color: #fff !important;
}

.how-strip .section-subtitle {
  color: rgba(255, 255, 255, 0.65) !important;
}

.how-strip .section-kicker {
  color: var(--mint);
}

.how-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.how-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 17px;
  padding: 27px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.07);
}

.how-num {
  display: grid;
  width: 43px;
  height: 43px;
  place-items: center;
  border-radius: 14px;
  color: var(--dark);
  background: var(--mint);
  font-weight: 900;
}

.how-step h4 {
  margin: 2px 0 7px;
  color: #fff;
  font-size: 1.08rem;
}

.how-step p {
  margin: 0;
  color: rgba(255, 255, 255, 0.63);
  font-size: 0.9rem;
}

footer {
  padding: 70px 0 28px;
  color: #fff;
  background: #031f2a;
}

.footer-inner {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 45px !important;
}

.footer-block,
.footer-inner > div {
  min-width: 0;
}

.footer-title {
  margin-bottom: 15px;
  color: var(--mint);
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-line {
  margin: 7px 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.86rem;
}

.footer-line a {
  color: rgba(255, 255, 255, 0.83);
}

.footer-line a:hover {
  color: #fff;
}

/* Policies page */
.page-policies main {
  padding: clamp(65px, 7vw, 105px) 0;
  background: #eef7f8;
}

.page-policies main > .container {
  width: min(calc(100% - 48px), 1180px);
}

.page-policies main .hero {
  padding: clamp(35px, 5vw, 62px);
  border-radius: var(--radius-lg);
  color: #fff;
  background:
    linear-gradient(130deg, rgba(4, 42, 57, 0.97), rgba(7, 128, 141, 0.82)),
    url("images/original/community.png") center / cover no-repeat;
  box-shadow: var(--shadow-lg);
}

.page-policies main .hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(3.2rem, 7vw, 6.8rem);
  line-height: 0.95;
  letter-spacing: -0.065em;
}

.page-policies .subtitle {
  max-width: 880px;
  margin-top: 23px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.02rem;
}

.page-policies .meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 25px;
}

.page-policies main .hero .pill {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.10);
}

.page-policies .small {
  color: rgba(255, 255, 255, 0.64);
}

.toc {
  margin: 28px 0;
  padding: 27px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.toc-title {
  margin-bottom: 15px;
  color: var(--dark);
  font-weight: 900;
}

.toc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
}

.toc-grid a {
  padding: 11px 13px;
  border-radius: 12px;
  color: var(--primary-dark);
  background: var(--surface-soft);
  font-size: 0.85rem;
  font-weight: 700;
}

.toc-grid a:hover {
  background: var(--primary-soft);
}

.policy {
  scroll-margin-top: 118px;
  margin-top: 22px;
  padding: clamp(27px, 4vw, 48px);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.policy h2 {
  margin: 0 0 17px;
  color: var(--dark);
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  line-height: 1.15;
  letter-spacing: -0.04em;
}

.policy h3 {
  margin: 27px 0 9px;
  color: var(--primary-dark);
  font-size: 1.08rem;
}

.policy p,
.policy li {
  color: var(--muted);
}

.policy ul {
  display: grid;
  gap: 8px;
}

.note {
  margin-top: 22px;
  padding: 18px 20px;
  border-left: 4px solid var(--primary);
  border-radius: 12px;
  color: var(--muted);
  background: var(--primary-soft);
}

/* Motion */
.reveal-ready {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 560ms ease, transform 560ms ease;
}

.reveal-ready.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1320px) {
  .nav {
    grid-template-columns: minmax(235px, auto) 1fr auto;
  }

  .header-contact {
    display: none;
  }
}

@media (max-width: 1120px) {
  .nav {
    grid-template-columns: 1fr auto auto;
  }

  .menu-toggle {
    display: block;
    grid-column: 2;
    grid-row: 1;
  }

  .nav > .btn {
    grid-column: 3;
    grid-row: 1;
  }

  .nav-links {
    position: fixed;
    top: 132px;
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: calc(100vh - 150px);
    overflow-y: auto;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 25px;
    background: #fff;
    box-shadow: var(--shadow-lg);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links > a:not(.btn) {
    padding: 13px 10px;
  }

  .nav-links > .btn {
    margin-top: 8px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-card,
  .page-staff .hero-inner > aside.card {
    justify-self: start;
    width: min(100%, 780px);
  }

  .section-header {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .section-subtitle {
    grid-column: 1;
    grid-row: auto;
  }

  .toc-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 820px) {
  .container,
  .hero-inner,
  .page-policies main > .container {
    width: min(calc(100% - 28px), var(--content));
  }

  .top-banner {
    display: none;
  }

  .nav {
    min-height: 74px;
  }

  .brand-logo {
    width: 41px;
    height: 41px;
  }

  .brand-text {
    font-size: 0.92rem;
  }

  .nav-links {
    top: 84px;
    right: 14px;
    left: 14px;
  }

  .hero-banner {
    min-height: auto;
  }

  .hero-banner::before,
  .page-providers .hero-banner::before,
  .page-staff .hero-banner::before {
    background-position: 58% center;
    background-image:
      linear-gradient(180deg, rgba(4, 36, 49, 0.97) 0%, rgba(4, 36, 49, 0.75) 66%, rgba(4, 36, 49, 0.91) 100%),
      url("images/original/community.png");
  }

  .page-providers .hero-banner::before {
    background-image:
      linear-gradient(180deg, rgba(4, 36, 49, 0.97) 0%, rgba(4, 36, 49, 0.75) 66%, rgba(4, 36, 49, 0.91) 100%),
      url("images/original/carehomes.png");
  }

  .page-staff .hero-banner::before {
    background-image:
      linear-gradient(180deg, rgba(4, 36, 49, 0.97) 0%, rgba(4, 36, 49, 0.75) 66%, rgba(4, 36, 49, 0.91) 100%),
      url("images/original/supported.png");
  }

  .hero-inner {
    padding: 78px 0 42px;
  }

  .hero-title {
    font-size: clamp(2.8rem, 12vw, 4.8rem) !important;
  }

  .grid-2,
  .grid-3,
  .how-inner {
    grid-template-columns: 1fr !important;
  }

  .tile {
    min-height: 390px !important;
  }

  .provider-chip {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-inner {
    flex-direction: column !important;
  }

  .footer-inner > div[style*="text-align:right"] {
    text-align: left !important;
  }

  .toc-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .nav > .btn {
    display: none !important;
  }

  .nav {
    grid-template-columns: 1fr auto;
  }

  .menu-toggle {
    grid-column: 2;
  }

  .brand-text {
    max-width: 205px;
    white-space: normal;
    line-height: 1.15;
  }

  .hero-cta {
    display: grid;
  }

  .hero-cta .btn {
    width: 100%;
  }

  .hero-meta {
    display: grid;
  }

  .hero-card,
  .page-staff .hero-inner > aside.card {
    padding: 21px !important;
  }

  .hero-mini-grid {
    grid-template-columns: 1fr;
  }

  .hero-mini-tile {
    min-height: 155px;
  }

  .tile {
    min-height: 330px !important;
  }

  .page-policies main .hero {
    padding: 29px;
  }

  .policy,
  .toc {
    padding: 23px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal-ready {
    opacity: 1;
    transform: none;
  }
}

/* Larger three-dimensional brand block */
.nav {
  min-height: 96px;
}

.brand-home {
  color: inherit;
}

.brand-logo {
  position: relative;
  width: 64px;
  height: 64px;
  padding: 8px;
  overflow: visible;
  border: 1px solid rgba(8, 47, 63, 0.12);
  border-radius: 19px;
  background:
    linear-gradient(145deg, #ffffff 0%, #edf8fa 58%, #d9edf1 100%);
  box-shadow:
    0 8px 0 #cfe4e8,
    0 18px 32px rgba(8, 47, 63, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  transform: perspective(700px) rotateX(2deg) rotateY(-3deg);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.brand-home:hover .brand-logo {
  box-shadow:
    0 5px 0 #cfe4e8,
    0 13px 25px rgba(8, 47, 63, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  transform: perspective(700px) translateY(3px) rotateX(0deg) rotateY(0deg);
}

.brand-logo img {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  object-fit: contain;
}

.brand-text {
  font-size: 1.08rem;
}

/* Dedicated contact page */
.contact-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(82px, 9vw, 135px) 0;
  color: #fff;
  background:
    linear-gradient(105deg, rgba(4, 36, 49, 0.98), rgba(4, 36, 49, 0.73)),
    url("images/original/community.png") center 42% / cover no-repeat;
}

.contact-hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 190px;
  content: "";
  background: linear-gradient(to top, rgba(4, 36, 49, 0.35), transparent);
  pointer-events: none;
}

.contact-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.72fr);
  gap: clamp(45px, 7vw, 105px);
  align-items: center;
}

.contact-hero h1 {
  max-width: 830px;
  margin: 0;
  color: #fff;
  font-size: clamp(3.15rem, 5.5vw, 6.25rem);
  line-height: 0.98;
  letter-spacing: -0.062em;
}

.contact-hero p {
  max-width: 720px;
  margin: 25px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1rem, 1.4vw, 1.2rem);
}

.contact-hero-card {
  padding: 29px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-lg);
  background: rgba(4, 36, 49, 0.68);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.contact-hero-card h2 {
  margin: 17px 0 20px;
  color: #fff;
  font-size: 1.35rem;
  letter-spacing: -0.035em;
}

.contact-detail {
  display: grid;
  gap: 4px;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.contact-detail strong {
  color: var(--mint);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.contact-detail span,
.contact-detail a {
  color: rgba(255, 255, 255, 0.79);
  font-size: 0.91rem;
}

.contact-section {
  padding: clamp(80px, 8vw, 130px) 0;
  background: #eef7f8;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.68fr) minmax(0, 1.32fr);
  gap: clamp(30px, 5vw, 72px);
  align-items: start;
}

.contact-intro {
  position: sticky;
  top: 126px;
}

.contact-intro h2 {
  margin: 0;
  color: var(--dark);
  font-size: clamp(2.5rem, 4.4vw, 4.6rem);
  line-height: 1;
  letter-spacing: -0.055em;
}

.contact-intro > p {
  margin: 20px 0 0;
  color: var(--muted);
}

.contact-support-card {
  margin-top: 23px;
  padding: 23px;
  border: 1px solid var(--line);
  border-radius: 21px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-sm);
}

.contact-support-card h3 {
  margin: 0 0 10px;
  color: var(--dark);
}

.contact-support-card p {
  margin: 0;
  color: var(--muted);
}

.contact-support-card ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 1.15rem;
  color: var(--muted);
}

.contact-form-card {
  padding: clamp(28px, 4.4vw, 55px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-lg);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 17px;
}

.form-field {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.form-field label {
  color: var(--dark);
  font-size: 0.86rem;
  font-weight: 800;
}

.form-field label span {
  color: #b23a48;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 15px;
  border: 1px solid rgba(8, 47, 63, 0.16);
  border-radius: 15px;
  color: var(--ink);
  background: #fbfdfe;
  outline: none;
  transition: border-color 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.form-field textarea {
  min-height: 185px;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(7, 128, 141, 0.11);
}

.form-consent {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  padding: 17px;
  border-radius: 15px;
  color: var(--muted);
  background: var(--surface-soft);
  font-size: 0.86rem;
}

.form-consent input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--primary);
}

.form-consent a {
  color: var(--primary-dark);
  font-weight: 800;
  text-decoration: underline;
}

.form-submit-row {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 23px;
}

.form-submit-row .btn:disabled {
  cursor: wait;
  opacity: 0.65;
  transform: none;
}

.form-status {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.form-status.is-success {
  color: #176b4d;
  font-weight: 700;
}

.form-status.is-error {
  color: #a12d3a;
  font-weight: 700;
}

.form-honeypot {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

@media (max-width: 1120px) {
  .nav-links {
    top: 144px;
  }

  .contact-hero-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-hero-card {
    max-width: 780px;
  }

  .contact-intro {
    position: static;
  }
}

@media (max-width: 820px) {
  .nav {
    min-height: 82px;
  }

  .brand-logo {
    width: 54px;
    height: 54px;
    border-radius: 17px;
    box-shadow:
      0 6px 0 #cfe4e8,
      0 13px 25px rgba(8, 47, 63, 0.16);
  }

  .nav-links {
    top: 92px;
  }

  .contact-hero {
    padding: 76px 0 58px;
  }

  .contact-hero h1 {
    font-size: clamp(2.9rem, 12vw, 4.7rem);
  }

  .form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .brand-logo {
    width: 50px;
    height: 50px;
  }

  .brand-text {
    max-width: 185px;
    font-size: 0.88rem;
  }

  .contact-form-card {
    padding: 23px;
    border-radius: 25px;
  }

  .form-submit-row {
    align-items: stretch;
    flex-direction: column;
  }

  .form-submit-row .btn {
    width: 100%;
  }
}

/* =========================================================
   Attractive motion and visual-polish update
   ========================================================= */

/* Animated announcement banner */
.top-banner {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(
      100deg,
      #052f40 0%,
      #07596a 28%,
      #07808d 50%,
      #07596a 72%,
      #052f40 100%
    );
  background-size: 240% 100%;
  animation: announcementFlow 11s ease-in-out infinite;
}

.top-banner::before {
  position: absolute;
  z-index: -1;
  top: -70%;
  bottom: -70%;
  left: -18%;
  width: 18%;
  content: "";
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.16),
    transparent
  );
  transform: skewX(-18deg);
  animation: announcementShine 7.5s ease-in-out infinite;
}

.top-banner::after {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-left: 10px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow:
    0 0 0 0 rgba(169, 234, 219, 0.42),
    0 0 16px rgba(169, 234, 219, 0.65);
  content: "";
  animation: bannerSignal 2.8s ease-out infinite;
}

/* Circular embossed Unity logo */
.brand-logo {
  position: relative;
  width: 68px;
  height: 68px;
  padding: 8px;
  overflow: visible;
  border: 1px solid rgba(8, 47, 63, 0.13);
  border-radius: 50%;
  background:
    radial-gradient(circle at 31% 25%, #ffffff 0 22%, #edf8fa 52%, #d3e9ed 100%);
  box-shadow:
    inset 5px 5px 12px rgba(255, 255, 255, 0.95),
    inset -7px -8px 13px rgba(8, 47, 63, 0.13),
    0 7px 0 #c7e0e5,
    0 18px 34px rgba(8, 47, 63, 0.19);
  transform: perspective(700px) rotateX(3deg) rotateY(-3deg);
}

.brand-logo::before {
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  content: "";
  box-shadow:
    inset 0 0 0 1px rgba(8, 47, 63, 0.06),
    inset 0 8px 15px rgba(255, 255, 255, 0.5);
  pointer-events: none;
}

.brand-logo::after {
  position: absolute;
  top: 10px;
  left: 15px;
  width: 25px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.58);
  filter: blur(3px);
  content: "";
  transform: rotate(-24deg);
  pointer-events: none;
}

.brand-home:hover .brand-logo {
  box-shadow:
    inset 5px 5px 12px rgba(255, 255, 255, 0.95),
    inset -7px -8px 13px rgba(8, 47, 63, 0.13),
    0 4px 0 #c7e0e5,
    0 13px 27px rgba(8, 47, 63, 0.17);
  transform: perspective(700px) translateY(3px) rotateX(0deg) rotateY(0deg);
}

.brand-logo img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: contain;
}

/* Slow cinematic hero movement */
.hero-banner::before {
  will-change: transform;
  animation: heroImageDrift 18s ease-in-out infinite alternate;
}

.hero-inner {
  position: relative;
  z-index: 2;
}

.hero-inner::after {
  position: absolute;
  z-index: -1;
  top: 5%;
  left: 42%;
  width: clamp(260px, 32vw, 560px);
  height: clamp(260px, 32vw, 560px);
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(169, 234, 219, 0.11),
    rgba(7, 128, 141, 0.035) 52%,
    transparent 72%
  );
  content: "";
  filter: blur(4px);
  animation: heroGlow 7s ease-in-out infinite alternate;
  pointer-events: none;
}

/* Lower the at-a-glance card so it clears facial areas */
.hero-card,
.page-staff .hero-inner > aside.card {
  transform: translateY(66px);
}

/* Provider call-to-action becomes a gentle live/breathing card */
.provider-strip {
  position: relative;
  overflow: hidden;
}

.provider-strip::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    radial-gradient(circle at 12% 50%, rgba(169, 234, 219, 0.27), transparent 28%),
    radial-gradient(circle at 88% 50%, rgba(7, 128, 141, 0.12), transparent 30%);
  animation: providerBackdrop 7s ease-in-out infinite alternate;
  pointer-events: none;
}

.provider-chip {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border-color: rgba(7, 128, 141, 0.25) !important;
  background:
    linear-gradient(112deg, rgba(255, 255, 255, 0.93), rgba(231, 250, 246, 0.94)) !important;
  box-shadow:
    0 12px 30px rgba(7, 128, 141, 0.11),
    0 0 0 0 rgba(7, 128, 141, 0.16);
  animation: providerBreath 4.8s ease-in-out infinite;
}

.provider-chip::after {
  position: absolute;
  top: -100%;
  bottom: -100%;
  left: -25%;
  width: 15%;
  content: "";
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.78),
    transparent
  );
  transform: skewX(-16deg);
  animation: providerShine 6.5s ease-in-out infinite;
  pointer-events: none;
}

.provider-chip .dot {
  animation: providerDot 2.5s ease-out infinite;
}

.provider-chip .btn,
.provider-chip a[href*="providers"],
.provider-chip a[href*="app.unityhealthcarestaffing"] {
  animation: providerButtonPulse 3.8s ease-in-out infinite;
}

/* Refined interaction on content cards */
.card,
.tile,
.policy,
.contact-support-card,
.contact-form-card {
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.card:hover,
.policy:hover,
.contact-support-card:hover {
  border-color: rgba(7, 128, 141, 0.2) !important;
  box-shadow: 0 22px 52px rgba(8, 47, 63, 0.13) !important;
  transform: translateY(-5px);
}

.tile:hover {
  box-shadow: 0 25px 58px rgba(8, 47, 63, 0.18);
  transform: translateY(-5px);
}

/* Give each major page a more distinct visual identity */
.page-contact .contact-hero {
  background:
    linear-gradient(105deg, rgba(4, 36, 49, 0.98), rgba(4, 36, 49, 0.66)),
    url("images/original/pictures.png") center 40% / cover no-repeat;
}

.page-policies main .hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 84% 20%, rgba(169, 234, 219, 0.22), transparent 25%),
    radial-gradient(circle at 12% 82%, rgba(7, 128, 141, 0.28), transparent 32%),
    linear-gradient(125deg, #062e3d 0%, #075968 52%, #087f8c 100%);
  background-size: 120% 120%;
  animation: policyGradient 10s ease-in-out infinite alternate;
}

.page-policies main .hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(to bottom, black, transparent);
}

/* Keyframes */
@keyframes announcementFlow {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes announcementShine {
  0%, 58% { left: -20%; opacity: 0; }
  67% { opacity: 1; }
  88%, 100% { left: 118%; opacity: 0; }
}

@keyframes bannerSignal {
  0% {
    box-shadow:
      0 0 0 0 rgba(169, 234, 219, 0.42),
      0 0 16px rgba(169, 234, 219, 0.65);
  }
  70%, 100% {
    box-shadow:
      0 0 0 11px rgba(169, 234, 219, 0),
      0 0 16px rgba(169, 234, 219, 0.15);
  }
}

@keyframes heroImageDrift {
  0% { transform: scale(1.015) translate3d(0, 0, 0); }
  100% { transform: scale(1.065) translate3d(-0.7%, -0.4%, 0); }
}

@keyframes heroGlow {
  0% { opacity: 0.45; transform: scale(0.92); }
  100% { opacity: 0.9; transform: scale(1.08); }
}

@keyframes providerBreath {
  0%, 100% {
    box-shadow:
      0 12px 30px rgba(7, 128, 141, 0.11),
      0 0 0 0 rgba(7, 128, 141, 0.15);
    transform: translateY(0) scale(1);
  }
  50% {
    box-shadow:
      0 18px 42px rgba(7, 128, 141, 0.17),
      0 0 0 9px rgba(7, 128, 141, 0);
    transform: translateY(-3px) scale(1.006);
  }
}

@keyframes providerShine {
  0%, 62% { left: -25%; opacity: 0; }
  70% { opacity: 1; }
  90%, 100% { left: 120%; opacity: 0; }
}

@keyframes providerDot {
  0% { box-shadow: 0 0 0 0 rgba(7, 128, 141, 0.36); }
  70%, 100% { box-shadow: 0 0 0 10px rgba(7, 128, 141, 0); }
}

@keyframes providerButtonPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.025); }
}

@keyframes providerBackdrop {
  0% { transform: translateX(-1.5%); }
  100% { transform: translateX(1.5%); }
}

@keyframes policyGradient {
  0% { background-position: 0% 20%; }
  100% { background-position: 100% 80%; }
}

@media (max-width: 1120px) {
  .hero-card,
  .page-staff .hero-inner > aside.card {
    transform: translateY(28px);
  }
}

@media (max-width: 820px) {
  .brand-logo {
    width: 58px;
    height: 58px;
    padding: 7px;
  }

  .hero-card,
  .page-staff .hero-inner > aside.card {
    transform: none;
  }
}

@media (max-width: 560px) {
  .brand-logo {
    width: 53px;
    height: 53px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .top-banner,
  .top-banner::before,
  .top-banner::after,
  .hero-banner::before,
  .hero-inner::after,
  .provider-strip::before,
  .provider-chip,
  .provider-chip::after,
  .provider-chip .dot,
  .provider-chip .btn,
  .provider-chip a,
  .page-policies main .hero {
    animation: none !important;
  }

  .hero-card,
  .page-staff .hero-inner > aside.card {
    transform: none;
  }
}

/* =========================================================
   Homepage live provider registration card
   ========================================================= */

.provider-live-section {
  position: relative;
  overflow: hidden;
  padding: 22px 0 28px;
  background:
    radial-gradient(circle at 8% 50%, rgba(169, 234, 219, 0.25), transparent 29%),
    radial-gradient(circle at 92% 40%, rgba(7, 128, 141, 0.13), transparent 31%),
    #edf8f8;
}

.provider-live-section::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(
      110deg,
      transparent 0%,
      rgba(255, 255, 255, 0.24) 42%,
      transparent 62%
    );
  background-size: 230% 100%;
  animation: providerSectionFlow 8s ease-in-out infinite;
  pointer-events: none;
}

.client-banner {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 106px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  overflow: hidden;
  padding: 22px 24px;
  border: 1px solid rgba(7, 128, 141, 0.23);
  border-radius: 25px;
  background:
    linear-gradient(
      112deg,
      rgba(255, 255, 255, 0.97) 0%,
      rgba(238, 251, 248, 0.97) 58%,
      rgba(225, 247, 243, 0.96) 100%
    );
  box-shadow:
    0 15px 38px rgba(7, 128, 141, 0.13),
    0 0 0 0 rgba(7, 128, 141, 0.14);
  animation: clientBannerBreath 4.6s ease-in-out infinite;
}

.client-banner::after {
  position: absolute;
  top: -100%;
  bottom: -100%;
  left: -22%;
  width: 13%;
  content: "";
  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(255, 255, 255, 0.84),
      transparent
    );
  transform: skewX(-17deg);
  animation: clientBannerShine 6.8s ease-in-out infinite;
  pointer-events: none;
}

.client-banner-copy {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 17px;
}

.client-live-icon {
  position: relative;
  display: grid;
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 1px solid rgba(7, 128, 141, 0.18);
  border-radius: 17px;
  background:
    linear-gradient(145deg, #ffffff, #dff7f2);
  box-shadow:
    inset 0 1px 0 #fff,
    0 9px 20px rgba(7, 128, 141, 0.13);
}

.client-live-dot {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow:
    0 0 0 0 rgba(7, 128, 141, 0.38),
    0 0 17px rgba(7, 128, 141, 0.5);
  animation: clientLiveSignal 2.5s ease-out infinite;
}

.client-banner-label {
  display: block;
  margin-bottom: 2px;
  color: var(--primary-dark);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.client-banner p {
  margin: 0;
  color: var(--ink);
  font-size: clamp(0.96rem, 1.35vw, 1.12rem);
}

.client-banner-action {
  position: relative;
  z-index: 2;
  display: inline-flex;
  flex: 0 0 auto;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 22px;
  border-radius: 999px;
  color: #fff;
  background:
    linear-gradient(135deg, var(--primary), var(--primary-dark));
  box-shadow:
    0 12px 27px rgba(7, 128, 141, 0.25);
  font-weight: 900;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-position 180ms ease;
  animation: clientActionPulse 3.8s ease-in-out infinite;
}

.client-banner-action span {
  font-size: 1.15rem;
  transition: transform 180ms ease;
}

.client-banner-action:hover {
  color: #fff;
  box-shadow:
    0 16px 34px rgba(7, 128, 141, 0.32);
  transform: translateY(-2px);
}

.client-banner-action:hover span {
  transform: translateX(4px);
}

@keyframes clientBannerBreath {
  0%,
  100% {
    box-shadow:
      0 15px 38px rgba(7, 128, 141, 0.13),
      0 0 0 0 rgba(7, 128, 141, 0.15);
    transform: translateY(0) scale(1);
  }

  50% {
    box-shadow:
      0 20px 48px rgba(7, 128, 141, 0.19),
      0 0 0 9px rgba(7, 128, 141, 0);
    transform: translateY(-3px) scale(1.004);
  }
}

@keyframes clientBannerShine {
  0%,
  61% {
    left: -22%;
    opacity: 0;
  }

  70% {
    opacity: 1;
  }

  91%,
  100% {
    left: 119%;
    opacity: 0;
  }
}

@keyframes clientLiveSignal {
  0% {
    box-shadow:
      0 0 0 0 rgba(7, 128, 141, 0.42),
      0 0 17px rgba(7, 128, 141, 0.52);
  }

  72%,
  100% {
    box-shadow:
      0 0 0 12px rgba(7, 128, 141, 0),
      0 0 17px rgba(7, 128, 141, 0.12);
  }
}

@keyframes clientActionPulse {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.025);
  }
}

@keyframes providerSectionFlow {
  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

@media (max-width: 760px) {
  .client-banner {
    align-items: stretch;
    flex-direction: column;
  }

  .client-banner-action {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .provider-live-section {
    padding: 18px 0 22px;
  }

  .client-banner {
    padding: 20px;
    border-radius: 21px;
  }

  .client-banner-copy {
    align-items: flex-start;
  }

  .client-live-icon {
    width: 45px;
    height: 45px;
    border-radius: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .provider-live-section::before,
  .client-banner,
  .client-banner::after,
  .client-live-dot,
  .client-banner-action {
    animation: none !important;
  }
}

/* =========================================================
   Even spacing for the animated top announcement banner
   ========================================================= */

.top-banner {
  flex-wrap: wrap;
  column-gap: 0.52rem;
  row-gap: 0.12rem;
  letter-spacing: 0.012em;
  word-spacing: 0.075em;
}

.top-banner-copy,
.top-banner-highlight,
.top-banner-divider {
  display: inline-block;
  line-height: 1.35;
}

.top-banner-highlight {
  color: var(--mint);
  font-weight: 900;
}

.top-banner-divider {
  margin-inline: 0.08rem;
  color: rgba(255, 255, 255, 0.68);
  font-weight: 800;
}

@media (max-width: 1050px) and (min-width: 821px) {
  .top-banner {
    padding-inline: 28px;
    column-gap: 0.42rem;
    font-size: 0.82rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .top-banner {
    background-position: 50% 50%;
  }
}

