/* "Try the Call" demo card (replaces the hero video). Inherits position/size
   from .wh-hero-video / .wh-hero-video__card; this file restyles the inside. */

.uh-demo .wh-hero-video__card,
.uh-demo__card {
  background: #fff;
  box-shadow: rgba(18, 18, 46, 0.12) 0 30px 60px -12px, rgba(18, 18, 46, 0.06) 0 8px 24px;
}
.uh-demo__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: 48px;
  padding: 56px 60px;
}
.uh-demo__stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 34px;
}

/* ---- the orb ---- */
.uh-orb {
  position: relative;
  width: 232px;
  height: 232px;
  border-radius: 50%;
  overflow: hidden;
  cursor: pointer;
  isolation: isolate;
  box-shadow: 0 24px 60px rgba(46, 107, 68, 0.22), 0 4px 16px rgba(17, 20, 24, 0.08);
  background: radial-gradient(closest-side, #f3f8f4 0%, #e6f0e9 100%);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.uh-orb:hover { transform: scale(1.03); box-shadow: 0 28px 70px rgba(46, 107, 68, 0.3), 0 4px 16px rgba(17, 20, 24, 0.1); }
.uh-orb__layer { position: absolute; inset: -18%; border-radius: 50%; filter: blur(22px); }
.uh-orb__layer--a {
  background:
    radial-gradient(42% 46% at 30% 28%, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0) 70%),
    radial-gradient(55% 55% at 72% 30%, rgba(46, 107, 68, 0.55) 0%, rgba(46, 107, 68, 0) 75%);
  animation: uh-orb-drift 17s ease-in-out infinite alternate;
}
.uh-orb__layer--b {
  background:
    radial-gradient(50% 55% at 70% 76%, rgba(183, 217, 192, 0.9) 0%, rgba(183, 217, 192, 0) 72%),
    radial-gradient(40% 44% at 24% 70%, rgba(124, 199, 150, 0.55) 0%, rgba(124, 199, 150, 0) 70%);
  animation: uh-orb-drift 23s ease-in-out infinite alternate-reverse;
}
.uh-orb__layer--c {
  background: conic-gradient(from 120deg at 55% 45%,
    rgba(46, 107, 68, 0) 0deg, rgba(46, 107, 68, 0.28) 90deg,
    rgba(183, 217, 192, 0.35) 180deg, rgba(205, 229, 212, 0.4) 260deg,
    rgba(46, 107, 68, 0) 360deg);
  animation: uh-orb-spin 26s linear infinite;
}
@keyframes uh-orb-spin { to { transform: rotate(360deg); } }
@keyframes uh-orb-drift {
  0% { transform: translate(-4%, -2%) scale(1); }
  50% { transform: translate(3%, 4%) scale(1.06); }
  100% { transform: translate(-2%, 3%) scale(0.98); }
}
.uh-orb__play {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.uh-orb__play::before {
  content: "";
  width: 0;
  height: 0;
  margin-left: 10px;
  border-style: solid;
  border-width: 26px 0 26px 42px;
  border-color: transparent transparent transparent #fff;
  filter: drop-shadow(0 4px 14px rgba(17, 20, 24, 0.18));
}

/* ---- CTA under the orb ---- */
.uh-demo__cta {
  padding: 15px 44px;
  border-radius: 999px;
  background: #2e6b44;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
  transition: background 0.2s ease, transform 0.2s ease;
}
.uh-demo__cta:hover { background: #265a39; transform: translateY(-1px); }

/* ---- info box ---- */
.uh-demo__info {
  background: rgba(46, 107, 68, 0.06);
  border: 1px solid rgba(46, 107, 68, 0.12);
  border-radius: 16px;
  padding: 34px 36px;
}
.uh-demo__kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: #2e6b44;
  margin-bottom: 10px;
}
.uh-demo__title {
  font-size: 24px;
  font-weight: 700;
  line-height: 32px;
  color: rgb(51, 51, 51);
  margin-bottom: 18px;
}
.uh-demo__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.uh-demo__list li {
  position: relative;
  padding-left: 30px;
  font-size: 16px;
  line-height: 25px;
  color: rgb(85, 92, 102);
}
.uh-demo__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #2e6b44;
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18 18"><circle cx="9" cy="9" r="9" fill="black"/></svg>') center / contain no-repeat;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18 18"><circle cx="9" cy="9" r="9" fill="black"/></svg>') center / contain no-repeat;
}
.uh-demo__list li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 8px;
  width: 8px;
  height: 5px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}

/* ---- modal ---- */
.uh-demo__modal { position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center; }
.uh-demo__modal[hidden] { display: none; }
.uh-demo__backdrop { position: absolute; inset: 0; background: rgba(8, 15, 28, 0.55); backdrop-filter: blur(4px); }
.uh-demo__dialog {
  position: relative;
  width: min(430px, calc(100vw - 40px));
  background: #fff;
  border-radius: 20px;
  padding: 38px 36px 32px;
  box-shadow: 0 40px 90px rgba(8, 15, 28, 0.35);
}
.uh-demo__close {
  position: absolute;
  top: 14px;
  right: 18px;
  font-size: 26px;
  line-height: 1;
  color: rgb(140, 146, 156);
  padding: 4px;
}
.uh-demo__close:hover { color: rgb(51, 51, 51); }
.uh-demo__dialog h3 { font-size: 22px; font-weight: 700; line-height: 30px; color: rgb(51, 51, 51); margin-bottom: 8px; }
.uh-demo__dialog p { font-size: 15px; line-height: 23px; color: rgb(115, 115, 115); }
.uh-demo__form { display: flex; flex-direction: column; gap: 12px; margin: 22px 0 14px; }
.uh-demo__form input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgb(224, 224, 224);
  border-radius: 10px;
  font-family: var(--font-sans);
  font-size: 16px;
  color: rgb(51, 51, 51);
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.uh-demo__form input:focus { border-color: #2e6b44; box-shadow: 0 0 0 3px rgba(46, 107, 68, 0.15); }
.uh-demo__form input.is-invalid { border-color: rgb(214, 69, 69); box-shadow: 0 0 0 3px rgba(214, 69, 69, 0.12); }
.uh-demo__form button {
  padding: 14px 16px;
  border-radius: 10px;
  background: #2e6b44;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 600;
  transition: background 0.2s ease;
}
.uh-demo__form button:hover { background: #265a39; }
.uh-demo__fine { font-size: 13px !important; color: rgb(160, 166, 175) !important; }
.uh-demo__error { color: rgb(214, 69, 69) !important; }
.uh-demo__error[hidden] { display: none; }
.uh-demo__form button:disabled { opacity: 0.7; cursor: wait; }
.uh-demo__done { text-align: center; padding: 10px 0 4px; }
.uh-demo__done-orb {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  margin: 0 auto 20px;
  background:
    radial-gradient(45% 45% at 32% 30%, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0) 70%),
    radial-gradient(closest-side, #b7d9c0 0%, #2e6b44 130%);
  animation: uh-orb-pulse 1.6s ease-in-out infinite;
}
@keyframes uh-orb-pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(46, 107, 68, 0.35); }
  50% { transform: scale(1.06); box-shadow: 0 0 0 16px rgba(46, 107, 68, 0); }
}

/* ---- Underheard mark used inside the animation scenes ---- */
.uh-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff;
  color: #111418;
  box-shadow: 0 0 0 1px rgba(17, 20, 24, 0.08), 0 1px 4px rgba(17, 20, 24, 0.12);
  font-family: var(--font-sans);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
  padding-left: 0.08em;
  user-select: none;
}
.uh-mark i { font-style: normal; color: #2e6b44; }
.uh-mark--bare { width: 100%; height: 100%; box-shadow: none; background: none; }

/* ---- responsive ---- */
@media (max-width: 768px) {
  .uh-demo__inner { grid-template-columns: 1fr; gap: 30px; padding: 34px 22px; }
  .uh-orb { width: 176px; height: 176px; }
  .uh-orb__play::before { border-width: 20px 0 20px 32px; margin-left: 8px; }
  .uh-demo__info { padding: 24px 22px; }
  .uh-demo__title { font-size: 20px; line-height: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  .uh-orb__layer, .uh-demo__done-orb { animation: none !important; }
  .uh-orb, .uh-demo__cta { transition: none; }
}

/* Demo card as a Mac window (owner pick 2026-09-09): three lights, a
   centred window title with the u. mark, and a live dot. The rings are
   gone; the card body stays as it was. */
.uh-demo .wh-hero-video__card { position: relative; overflow: hidden; }
.uh-demo__chrome {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 34px;
  padding: 0 14px;
  background: #f5f7f5;
  border-bottom: 1px solid #e3e8e4;
}
.uh-demo__lights { display: flex; gap: 7px; }
.uh-demo__lights i { width: 11px; height: 11px; border-radius: 50%; display: block; }
.uh-demo__lights i:nth-child(1) { background: #ff5f57; }
.uh-demo__lights i:nth-child(2) { background: #febc2e; }
.uh-demo__lights i:nth-child(3) { background: #28c840; }
.uh-demo__wintitle {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #3a3f45;
  white-space: nowrap;
}
.uh-demo__wintitle .uh-mark { width: 20px; height: 20px; font-size: 11px; }
.uh-demo__live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 26px;
  padding: 0 10px;
  border-radius: 8px;
  background: #e9f1ec;
  color: #2e6b44;
  font-size: 12px;
  font-weight: 600;
}
.uh-demo__live i { width: 7px; height: 7px; border-radius: 50%; background: #2e6b44; animation: uh-live 1.6s infinite; }
@keyframes uh-live { 50% { opacity: .25; } }
.uh-demo__inner { position: relative; padding-top: 44px; padding-bottom: 48px; }
@media (max-width: 768px) {
  .uh-demo .wh-hero-video__card { aspect-ratio: auto; }
  .uh-demo__chrome { height: 30px; padding: 0 12px; }
  .uh-demo__wintitle { font-size: 12px; }
  .uh-demo__inner { padding-top: 30px; }
}
@media (prefers-reduced-motion: reduce) { .uh-demo__live i { animation: none; } }

/* Glass (owner request 2026-09-09): the card is translucent white over the
   city artwork with a backdrop blur, a hairline light edge and a specular
   highlight along the top; the window bar and the info panel follow. */
.uh-demo .wh-hero-video__card,
.uh-demo__card {
  background: rgba(255, 255, 255, .58);
  -webkit-backdrop-filter: blur(28px) saturate(1.5);
          backdrop-filter: blur(28px) saturate(1.5);
  border: 1px solid rgba(255, 255, 255, .75);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .95),
    inset 0 0 0 1px rgba(255, 255, 255, .25),
    rgba(18, 18, 46, .12) 0 30px 60px -12px,
    rgba(18, 18, 46, .06) 0 8px 24px;
}
.uh-demo__chrome {
  background: rgba(255, 255, 255, .45);
  border-bottom: 1px solid rgba(17, 20, 24, .06);
}
.uh-demo__info {
  background: rgba(255, 255, 255, .55);
  border: 1px solid rgba(255, 255, 255, .8);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 6px 20px rgba(17, 20, 24, .04);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .uh-demo .wh-hero-video__card, .uh-demo__card { background: rgba(255, 255, 255, .92); }
}
