/* Cardinal Engage go-live countdown overlay. Self-contained: every rule is scoped to .ge-cd.
   Tokens mirror css/sign-in-v2.css. The sign-in page underneath is never restyled. */
.ge-cd {
  --ge-t: #5cbdb4; --ge-t2: #3a9b92; --ge-t4: #7dd9d0;
  --ge-navy: #1a252e; --ge-navy3: #0f1822;
  --ge-fs: "Montserrat", sans-serif; --ge-fb: "Nunito Sans", system-ui, sans-serif;
  position: fixed; inset: 0; z-index: 2147483000;
  display: flex; align-items: center; justify-content: center;
  padding: 24px clamp(16px, 4vw, 48px); overflow: auto; box-sizing: border-box;
  background:
    radial-gradient(900px 520px at 85% 0%, rgba(92,189,180,.26), transparent 60%),
    radial-gradient(700px 450px at 0% 100%, rgba(92,189,180,.13), transparent 60%),
    linear-gradient(160deg, var(--ge-navy) 0%, var(--ge-navy3) 100%);
  color: #fff; font-family: var(--ge-fb); font-size: 15px;
  transition: opacity .45s ease, transform .45s ease, visibility .45s;
}
.ge-cd *, .ge-cd *::before, .ge-cd *::after { box-sizing: border-box; }
.ge-cd.ge-cd--closed { opacity: 0; transform: scale(1.03); visibility: hidden; pointer-events: none; }

.ge-cd__brand { position: absolute; top: 22px; left: 24px; display: flex; align-items: center; gap: 10px; z-index: 2; }
.ge-cd__mark { width: 34px; height: 34px; border-radius: 9px; background: var(--ge-t); color: var(--ge-navy); display: grid; place-items: center; font: 800 12px var(--ge-fs); }
.ge-cd__brand span { font: 700 14px var(--ge-fs); }

.ge-cd__x { position: absolute; top: 16px; right: 16px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.06); color: #fff; font: 400 22px/1 var(--ge-fb); cursor: pointer; }
.ge-cd__x:hover { background: rgba(255,255,255,.14); }
.ge-cd button:focus-visible { outline: 2px solid var(--ge-t); outline-offset: 2px; }

.ge-cd__inner { position: relative; width: 100%; max-width: 740px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 28px; margin-block: auto; padding-top: 28px; }
.ge-cd__eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 700 11px var(--ge-fs); letter-spacing: .18em; text-transform: uppercase; color: var(--ge-t4); }
.ge-cd__eyebrow b { width: 8px; height: 8px; border-radius: 50%; background: var(--ge-t); animation: ge-cd-pulse 2s infinite; }
@keyframes ge-cd-pulse { 0% { box-shadow: 0 0 0 0 rgba(92,189,180,.6); } 70%, 100% { box-shadow: 0 0 0 10px rgba(92,189,180,0); } }
.ge-cd__title { color: #fff; font: 800 clamp(34px, 6vw, 62px)/1.05 var(--ge-fs); margin: 16px 0 0; letter-spacing: -.02em; text-wrap: balance; }
.ge-cd__title em { font-style: normal; color: var(--ge-t); }
.ge-cd__sub { color: rgba(255,255,255,.7); margin: 16px auto 0; max-width: 48ch; line-height: 1.6; }

.ge-cd__clock { width: 100%; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(8px, 2.2vw, 22px); }
.ge-cd__unit { position: relative; aspect-ratio: 1; display: grid; place-items: center; min-width: 0; }
.ge-cd__unit svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.ge-cd__unit circle { fill: none; stroke-width: 2.6; }
.ge-cd__tr { stroke: rgba(255,255,255,.09); }
.ge-cd__pr { stroke: var(--ge-t); stroke-linecap: round; transition: stroke-dashoffset .9s cubic-bezier(.4,0,.2,1); }
.ge-cd__num { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.ge-cd__num strong { font: 700 clamp(26px, 5.6vw, 58px)/1 var(--ge-fs); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.ge-cd__num span { font: 600 clamp(8px, 1.3vw, 10px) var(--ge-fs); letter-spacing: .16em; text-transform: uppercase; color: var(--ge-t4); }
.ge-cd__unit.ge-cd--tick strong { animation: ge-cd-tick .35s ease-out; }
@keyframes ge-cd-tick { from { transform: translateY(-6px); opacity: .3; } to { transform: none; opacity: 1; } }

.ge-cd__runway { width: 100%; max-width: 520px; display: flex; flex-direction: column; gap: 10px; }
.ge-cd__rail { height: 6px; border-radius: 99px; background: rgba(255,255,255,.09); overflow: hidden; }
.ge-cd__fill { height: 100%; width: 0; background: linear-gradient(90deg, var(--ge-t2), var(--ge-t4)); border-radius: 99px; transition: width 1s; }
.ge-cd__meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; font: 600 11px var(--ge-fs); color: rgba(255,255,255,.55); }
.ge-cd__meta b { color: #fff; font-weight: 700; }

.ge-cd__cta { font: 700 14px var(--ge-fs); background: var(--ge-t); color: var(--ge-navy); border: 0; border-radius: 8px; padding: 14px 28px; cursor: pointer; }
.ge-cd__cta:hover { background: var(--ge-t4); }
.ge-cd__hint { font: 400 12px var(--ge-fb); color: rgba(255,255,255,.5); margin-top: -14px; }

.ge-cd__live { display: none; flex-direction: column; align-items: center; gap: 14px; }
.ge-cd__live strong { font: 800 clamp(36px, 7vw, 68px)/1 var(--ge-fs); color: var(--ge-t); letter-spacing: -.02em; }
.ge-cd--done .ge-cd__clock, .ge-cd--done .ge-cd__runway, .ge-cd--done .ge-cd__teaser { display: none; }
.ge-cd--done .ge-cd__live { display: flex; }

@media (prefers-reduced-motion: reduce) { .ge-cd, .ge-cd * { animation: none !important; transition: none !important; } }
