@font-face {
  font-family: "Geist";
  src: url("images/geist.woff2") format("woff2");
  font-display: swap;
}

@font-face {
  font-family: "Geist Mono";
  src: url("images/geist-mono.woff2") format("woff2");
  font-display: swap;
}

@font-face {
  font-family: "Fraunces";
  src: url("images/fraunces.woff2") format("woff2");
  font-display: swap;
}

:root {
  --navy-950: #061924;
  --navy-900: #082230;
  --navy-800: #0b3042;
  --cyan: #24aee4;
  --cyan-bright: #63d1f5;
  --ice: #f2f6f8;
  --paper: #fafbfb;
  --ink: #0c202b;
  --muted: #5c707b;
  --line-dark: rgba(180, 222, 239, 0.16);
  --line: rgba(12, 32, 43, 0.13);
  --shadow-deep: 0 24px 80px rgba(1, 15, 23, 0.34);
  --radius: 18px;
  --radius-subtle: 12px;
  --accent-border-shine-opacity: 0.9;
  --accent-border-shine-speed: 9s;
  --dock-action-hover-scale: 1.06;
  --dock-ink: rgba(4, 21, 31, 0.985);
  --dock-icon-video-accent: #31c8ff;
  --dock-icon-schedule-accent: #4d9fff;
  --dock-icon-chat-accent: #a472ff;
  --dock-icon-claim-accent: #ff4d5e;
  --dock-icon-offer-accent: #2ecc71;
}

@property --dock-shine-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

* { box-sizing: border-box; }

html,
body { min-height: 100%; }

body {
  margin: 0;
  color: var(--ink);
  font-family: "Geist", "Segoe UI", sans-serif;
  background: var(--ice);
}

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

button { color: inherit; }

.page-public button:focus-visible,
.page-public input:focus-visible,
.page-public textarea:focus-visible,
.page-public iframe:focus-visible {
  outline: 3px solid var(--cyan-bright);
  outline-offset: 3px;
}

[hidden] { display: none !important; }

/* Prospect preview */

#attentionCard,
#controlDock,
#miniTimer,
.expired-panel,
#actionModal .modal-card {
  border-radius: var(--radius-subtle);
}

.attention-card,
.expired-panel,
#actionModal .modal-card {
  isolation: isolate;
}

.attention-card > *,
.expired-panel > *,
#actionModal .modal-card > * {
  position: relative;
  z-index: 2;
}

.page-public {
  height: 100vh;
  overflow: hidden;
  background: var(--navy-950);
}

.page-public.controls-hidden chat-widget,
.page-public.modal-open chat-widget { display: none !important; }

.preview-stage {
  position: relative;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(rgba(43, 161, 205, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(43, 161, 205, 0.06) 1px, transparent 1px),
    radial-gradient(circle at 76% 12%, rgba(24, 139, 184, 0.24), transparent 34%),
    var(--navy-950);
  background-size: 118px 118px, 118px 118px, auto, auto;
}

.preview-stage > iframe {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: #fff;
}

.admin-preview-banner {
  position: fixed;
  z-index: 100000030;
  top: 14px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 9px;
  width: max-content;
  max-width: calc(100vw - 28px);
  padding: 9px 13px;
  border: 1px solid rgba(255, 191, 92, 0.72);
  border-radius: 999px;
  color: #fff4df;
  background: rgba(50, 27, 4, 0.94);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.32);
  font-size: 0.76rem;
  line-height: 18px;
  white-space: nowrap;
  transform: translateX(-50%);
}

.admin-preview-banner strong {
  flex: 0 0 auto;
  font-family: "Geist Mono", monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.admin-preview-banner span { min-width: 0; overflow: hidden; text-overflow: ellipsis; color: rgba(255, 244, 223, 0.82); }

.admin-preview-credential-expired { max-width: min(520px, calc(100vw - 28px)); white-space: normal; text-align: center; }
.admin-preview-credential-expired span { overflow: visible; text-overflow: clip; }

.page-public.is-admin-preview .timer-dot {
  background: #ffbf5c;
  box-shadow: 0 0 16px rgba(255, 191, 92, 0.72);
}

.page-public.is-admin-preview .dock-timer strong {
  color: #ffd28d;
  font-size: 0.66rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

@media (max-width: 760px) {
  /* Reserve wrapper space: the badge must never cover the demo's hero. */
  .page-public.is-admin-preview .admin-preview-banner { top: calc(8px + env(safe-area-inset-top, 0px)); }
  .page-public.is-admin-preview .preview-stage > iframe {
    top: calc(54px + env(safe-area-inset-top, 0px));
    height: calc(100% - 54px - env(safe-area-inset-top, 0px));
  }
  .page-public.is-admin-preview-expired .dock-timer span:not(.timer-dot)::after {
    content: "Expired —";
  }
}

.frame-fallback {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  text-align: center;
  color: rgba(226, 241, 247, 0.7);
  font-family: "Geist Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.frame-fallback img { width: 145px; margin-bottom: 24px; }

.stage-paused {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  padding: 24px;
  color: var(--ice);
  background:
    linear-gradient(rgba(65, 167, 207, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(65, 167, 207, 0.055) 1px, transparent 1px),
    radial-gradient(circle at 70% 18%, rgba(20, 141, 186, 0.25), transparent 36%),
    var(--navy-950);
  background-size: 110px 110px, 110px 110px, auto, auto;
}

.stage-paused-card {
  width: min(520px, 100%);
  padding: clamp(30px, 6vw, 54px);
  border: 1px solid rgba(96, 199, 237, 0.28);
  background: linear-gradient(145deg, rgba(10, 48, 65, 0.97), rgba(6, 26, 38, 0.98));
  box-shadow: var(--shadow-deep);
  text-align: center;
}

.stage-paused-card img { width: 118px; }

.stage-paused-card p { margin: 18px 0 0; color: rgba(226, 241, 247, 0.82); line-height: 1.6; }

.stage-paused-card .stage-paused-kicker {
  margin-top: 24px;
  color: var(--cyan);
  font-family: "Geist Mono", monospace;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.fallback-mark {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.fallback-mark span {
  width: 6px;
  height: 6px;
  background: var(--cyan);
  animation: loading 900ms ease-in-out infinite alternate;
}

.fallback-mark span:nth-child(2) { animation-delay: 180ms; }
.fallback-mark span:nth-child(3) { animation-delay: 360ms; }

@keyframes loading {
  from { opacity: 0.2; transform: translateY(3px); }
  to { opacity: 1; transform: translateY(-3px); }
}

.attention-card {
  position: fixed;
  z-index: 100000021;
  inset: 0;
  width: min(600px, calc(100vw - 48px));
  height: max-content;
  max-height: calc(100vh - 36px);
  max-height: calc(100dvh - 36px);
  margin: auto;
  overflow-y: auto;
  padding: 25px 27px 27px;
  color: var(--ice);
  border: 1px solid rgba(99, 208, 245, 0.66);
  border-radius: var(--radius-subtle);
  background:
    linear-gradient(rgba(84, 187, 225, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(84, 187, 225, 0.06) 1px, transparent 1px),
    linear-gradient(145deg, rgba(5, 23, 34, 0.995), rgba(7, 39, 53, 0.985));
  background-size: 68px 68px, 68px 68px, auto;
  box-shadow:
    0 0 0 1px rgba(1, 13, 20, 0.88),
    0 24px 60px rgba(0, 8, 13, 0.52),
    0 0 36px rgba(36, 174, 228, 0.2),
    inset 0 0 0 1px rgba(235, 250, 255, 0.035);
  animation: attention-in 600ms cubic-bezier(.2,.8,.2,1) both;
  transform-origin: var(--modal-origin-x, 50%) var(--modal-origin-y, 50%);
}

.attention-close {
  position: absolute;
  z-index: 5;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border-radius: 9px;
  border: 1px solid rgba(117, 205, 238, 0.26);
  color: rgba(231, 246, 251, 0.72);
  background: rgba(2, 17, 25, 0.68);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.attention-close:hover {
  color: #fff;
  border-color: var(--cyan);
  background: rgba(36, 174, 228, 0.1);
}

.attention-card.is-dismissed {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.attention-card.is-motion-settled { animation: none; }

.attention-card.is-emerging,
.attention-card.is-auto-emerging,
.attention-card.is-collapsing {
  visibility: visible;
  contain: layout paint;
  isolation: isolate;
  backface-visibility: hidden;
  will-change: opacity, transform;
}

.attention-card.is-emerging { animation: modal-emerge 280ms cubic-bezier(.16, .84, .28, 1) both; }
.attention-card.is-auto-emerging { animation: attention-in 600ms cubic-bezier(.2,.8,.2,1) both; }
.attention-card.is-collapsing { animation: modal-collapse 280ms cubic-bezier(.55, .06, .74, .22) both; }
.attention-card.is-collapsing.is-auto-collapsing {
  animation: attention-auto-fade-out 400ms ease both;
  transform: none;
}

@keyframes attention-in {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes attention-auto-fade-out {
  from { opacity: 1; }
  to { opacity: 0; }
}

.attention-topline,
.modal-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 17px;
  border-bottom: 1px solid var(--line-dark);
}

.attention-topline { padding-right: 42px; }

.attention-topline img { width: 114px; height: auto; }

.attention-topline span,
.modal-brand span {
  color: rgba(220, 238, 245, 0.58);
  font-family: "Geist Mono", monospace;
  font-size: 0.63rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.attention-kicker,
.modal-kicker {
  margin: 22px 0 11px;
  color: var(--cyan-bright);
  font-family: "Geist Mono", monospace;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.attention-kicker strong { color: inherit; }

.attention-card h1,
.expired-panel h2,
.modal-card h2 {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(2rem, 3vw, 2.9rem);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.attention-card > p:not(.attention-kicker),
.attention-details > p {
  margin: 18px 0 0;
  color: rgba(229, 240, 245, 0.74);
  font-size: 0.95rem;
  line-height: 1.55;
}

.attention-video { margin-top: 17px; }
.attention-expand,
.mobile-site-hint,
.dock-mobile-toggle { display: none; }

.attention-actions,
.expired-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
}

.control-button {
  min-height: 47px;
  padding: 0 18px;
  border: 1px solid rgba(156, 207, 226, 0.3);
  border-radius: 0;
  color: var(--ice);
  background: transparent;
  font-weight: 620;
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.control-button:hover { border-color: var(--cyan); transform: translateY(-1px); }

.control-button--primary {
  border-color: var(--cyan);
  color: #041822;
  background: var(--cyan);
}

.control-button--primary:hover { background: var(--cyan-bright); }

.control-button span { margin-left: 10px; }

.text-button {
  padding: 4px 0;
  border: 0;
  border-bottom: 1px solid rgba(100, 206, 245, 0.45);
  color: var(--cyan-bright);
  background: transparent;
  font-size: 0.84rem;
  cursor: pointer;
}

.control-dock {
  --dock-bottom-offset: 18px;
  --dock-peek-height: 8px;
  --dock-timer-width: 167px;
  --dock-timer-half-width: calc(var(--dock-timer-width) / 2);
  position: fixed;
  z-index: 100000010;
  right: 18px;
  left: 18px;
  bottom: var(--dock-bottom-offset);
  display: grid;
  grid-template-columns: auto auto auto auto;
  align-items: stretch;
  width: fit-content;
  max-width: min(1120px, calc(100vw - 36px));
  min-height: 76px;
  color: var(--ice);
  border: 1px solid rgba(99, 208, 245, 0.56);
  background: var(--dock-ink);
  box-shadow:
    0 0 0 1px rgba(1, 12, 18, 0.82),
    0 20px 58px rgba(0, 7, 11, 0.56),
    0 0 30px rgba(36, 174, 228, 0.18),
    inset 0 0 0 1px rgba(235, 250, 255, 0.03);
  backdrop-filter: blur(18px);
  margin-inline: auto;
  transform: translateY(0);
  transition:
    opacity 240ms ease,
    transform 240ms ease,
    visibility 240ms ease,
    border-color 190ms ease,
    box-shadow 190ms ease;
}

.control-dock::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 20px;
  right: 20px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(36, 174, 228, 0.95), transparent);
  box-shadow: 0 0 18px rgba(36, 174, 228, 0.72);
  pointer-events: none;
  transition: filter 190ms ease, box-shadow 190ms ease;
}

@keyframes dock-border-shine {
  /* Travel one full round while visible, fade out, then hold hidden (the pause). */
  0%   { --dock-shine-angle: 0deg;   opacity: 0; }
  5%   { opacity: 1; }
  55%  { --dock-shine-angle: 360deg; opacity: 1; }
  61%  { --dock-shine-angle: 360deg; opacity: 0; }
  100% { --dock-shine-angle: 360deg; opacity: 0; }
}

@supports (background: conic-gradient(from 0deg, transparent, #000)) {
  .attention-card::before,
  #actionModal .modal-card::before,
  #expiredScreen .expired-panel::before {
    --dock-shine-angle: 0deg;
    content: "";
    position: absolute;
    z-index: 3;
    inset: 0;
    padding: 2px;
    border-radius: inherit;
    background: conic-gradient(
      from var(--dock-shine-angle),
      transparent 0deg,
      transparent 258deg,
      rgba(52, 183, 232, 0.08) 286deg,
      rgba(99, 209, 245, 0.72) 324deg,
      rgba(52, 183, 232, 0.12) 348deg,
      transparent 360deg
    );
    opacity: var(--accent-border-shine-opacity);
    filter: drop-shadow(0 0 5px rgba(36, 174, 228, 0.28));
    pointer-events: none;
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask-composite: exclude;
  }

  @media (prefers-reduced-motion: no-preference) {
    .control-dock::before {
      --dock-shine-angle: 0deg;
      inset: -1px;
      height: auto;
      padding: 2px;
      border-radius: inherit;
      background: conic-gradient(
        from var(--dock-shine-angle),
        transparent 0deg,
        transparent 258deg,
        rgba(52, 183, 232, 0.08) 286deg,
        rgba(99, 209, 245, 0.72) 324deg,
        rgba(52, 183, 232, 0.12) 348deg,
        transparent 360deg
      );
      box-shadow: none;
      filter: drop-shadow(0 0 5px rgba(36, 174, 228, 0.28));
      -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
      -webkit-mask-composite: xor;
      mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
      mask-composite: exclude;
      animation: dock-border-shine 9s linear infinite;
    }

    .attention-card::before,
    #actionModal .modal-card::before,
    #expiredScreen .expired-panel::before {
      animation: dock-border-shine var(--accent-border-shine-speed) linear infinite;
    }
  }
}

.control-dock:is(:hover, :focus-within) {
  border-color: rgba(116, 221, 255, 0.86);
  box-shadow:
    0 0 0 1px rgba(1, 12, 18, 0.9),
    0 22px 62px rgba(0, 7, 11, 0.6),
    0 0 38px rgba(49, 200, 255, 0.27),
    inset 0 0 0 1px rgba(235, 250, 255, 0.07);
}

.control-dock:is(:hover, :focus-within)::before {
  filter: drop-shadow(0 0 8px rgba(49, 200, 255, 0.48));
}

.control-dock--slide-down.is-hidden {
  opacity: 1;
  visibility: visible;
  pointer-events: none;
  transform: translateY(calc(100% + var(--dock-bottom-offset) - var(--dock-peek-height)));
}

.control-dock.is-expired {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(14px);
}

.dock-brand,
.dock-timer,
.dock-actions,
.dock-hide {
  border-right: 1px solid var(--line-dark);
}

.dock-brand {
  position: relative;
  display: flex;
  align-items: stretch;
  min-width: 250px;
  color: inherit;
  background: transparent;
  font: inherit;
  transition:
    color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease,
    transform 450ms cubic-bezier(.2, .78, .22, 1);
}

.dock-brand-logo,
.dock-brand-concept {
  min-width: 0;
  min-height: 44px;
  border: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.dock-brand-logo {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  padding: 14px 14px 14px 19px;
}

.dock-brand-concept {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 15px 14px 13px;
  border-left: 1px solid rgba(126, 214, 245, 0.13);
  text-align: left;
}

.dock-brand-logo:is(:hover, :focus-visible),
.dock-brand-concept:is(:hover, :focus-visible) {
  color: #fff;
  background: rgba(36, 174, 228, 0.07);
  box-shadow: inset 0 0 22px rgba(36, 174, 228, 0.06);
}

.dock-brand-logo:focus-visible,
.dock-brand-concept:focus-visible { outline-offset: -3px; }

.dock-brand-logo img { width: 75px; height: auto; }

.dock-brand-copy,
.dock-timer div { display: grid; gap: 3px; }

.dock-brand span,
.dock-timer span:not(.timer-dot) {
  color: rgba(220, 237, 243, 0.54);
  font-family: "Geist Mono", monospace;
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.dock-brand-concept strong {
  max-width: 150px;
  overflow: hidden;
  font-size: 0.82rem;
  font-weight: 580;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dock-brand-short { display: none; }

.dock-brand-hint {
  margin-left: auto;
  color: rgba(99, 208, 245, 0.46) !important;
  font-size: 0.78rem !important;
  opacity: 0.58;
  transform: translate(-2px, 2px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.dock-brand-concept:is(:hover, :focus-visible) .dock-brand-hint {
  opacity: 1;
  transform: translate(0, 0);
}

.dock-timer {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 0;
  min-width: 0;
  max-width: 0;
  overflow: hidden;
  padding: 12px 0;
  border-right-color: transparent;
  opacity: 0;
  visibility: hidden;
  transform: scaleX(0.6);
  transform-origin: center;
  transition:
    width 450ms cubic-bezier(.2, .78, .22, 1),
    min-width 450ms cubic-bezier(.2, .78, .22, 1),
    max-width 450ms cubic-bezier(.2, .78, .22, 1),
    padding 450ms cubic-bezier(.2, .78, .22, 1),
    opacity 260ms ease 120ms,
    transform 450ms cubic-bezier(.2, .78, .22, 1),
    visibility 0ms linear 450ms;
}

.control-dock.is-timer-revealed .dock-timer {
  width: var(--dock-timer-width);
  min-width: var(--dock-timer-width);
  max-width: var(--dock-timer-width);
  padding: 12px 18px;
  border-right-color: var(--line-dark);
  opacity: 1;
  visibility: visible;
  transform: scaleX(1);
  transition-delay: 0ms, 0ms, 0ms, 0ms, 120ms, 0ms, 0ms;
}

/* The dock is content-width and centered, so revealing the timer widens the
   bar and pushes brand left / actions right symmetrically via layout — no
   per-element transform shift needed. */

.timer-dot {
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(36, 174, 228, 0.1), 0 0 15px rgba(36, 174, 228, 0.7);
}

.dock-timer strong {
  font-family: "Geist Mono", monospace;
  font-size: 1.08rem;
  letter-spacing: 0.04em;
}

.dock-timer.is-urgent .timer-dot { background: #ffb45c; box-shadow: 0 0 16px rgba(255, 180, 92, 0.85); }
.dock-timer.is-urgent strong { color: #ffc47f; }

.dock-nudge {
  position: fixed;
  z-index: 100000011;
  bottom: calc(var(--dock-bottom-offset, 18px) + 92px);
  right: clamp(18px, 8vw, 118px);
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: min(370px, calc(100vw - 36px));
  padding: 9px 15px;
  color: var(--ice);
  border: 1px solid rgba(99, 208, 245, 0.5);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(7, 42, 57, 0.97), rgba(4, 24, 35, 0.97));
  box-shadow: 0 12px 32px rgba(0, 10, 16, 0.4), inset 0 1px rgba(238, 252, 255, 0.08);
  font-family: "Geist Mono", monospace;
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  animation: dock-nudge-in 280ms ease-out both;
}

.dock-nudge.is-leaving { animation: dock-nudge-out 240ms ease-in both; }
.dock-nudge-arrow { color: var(--cyan-bright); font-size: 1rem; line-height: 1; }

@keyframes dock-nudge-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes dock-nudge-out { from { opacity: 1; transform: translateY(0); } to { opacity: 0; transform: translateY(8px); } }

.offer-banner {
  --offer-pill-x: 50%;
  position: absolute;
  z-index: 3;
  bottom: calc(100% + 11px);
  left: var(--offer-pill-x);
  display: grid;
  place-items: center;
  width: max-content;
  max-width: calc(100vw - 24px);
  height: 48px;
  min-width: 250px;
  padding: 0 17px;
  /* hidden so the diagonal shimmer ::before (inset:-90%, animated) is masked
     inside the pill — same as .modal-offer-summary / .expired-offer. It was
     'visible', so the shine bled outside the pill. */
  overflow: hidden;
  border: 1px solid rgba(74, 222, 140, 0.68);
  border-radius: 999px;
  color: #effff6;
  background: linear-gradient(125deg, rgba(5, 45, 30, 0.97), rgba(6, 30, 29, 0.97));
  box-shadow: 0 10px 30px rgba(0, 15, 11, 0.46), 0 0 20px rgba(45, 205, 117, 0.17), inset 0 1px rgba(233, 255, 243, 0.1);
  backdrop-filter: blur(16px);
  font: 650 0.72rem/1 "Geist Mono", monospace;
  letter-spacing: 0.035em;
  white-space: nowrap;
  cursor: pointer;
  touch-action: manipulation;
  transform: translateX(-50%);
  transition: opacity 240ms ease, transform 180ms ease, visibility 240ms ease, border-color 180ms ease, box-shadow 180ms ease;
  animation: offer-banner-in 300ms ease-out both;
}

.offer-banner::before,
.modal-offer-summary::before,
.expired-offer::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: -90%;
  background: linear-gradient(
    115deg,
    transparent 43%,
    rgba(224, 250, 255, 0.015) 47%,
    rgba(224, 250, 255, 0.16) 50%,
    rgba(224, 250, 255, 0.025) 53%,
    transparent 57%
  );
  opacity: 0;
  pointer-events: none;
  transform: translate3d(-32%, -32%, 0);
}


.offer-banner > *,
.modal-offer-summary > *,
.expired-offer > * {
  position: relative;
  z-index: 1;
}

.offer-banner::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  width: 10px;
  height: 6px;
  background: rgba(5, 45, 30, 0.98);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  transform: translateX(-50%);
}

.offer-banner[hidden] { display: none; }

.offer-banner:focus-visible {
  outline: 3px solid #8af0b8;
  outline-offset: 3px;
  border-color: rgba(138, 240, 184, 0.92);
  box-shadow: 0 10px 30px rgba(0, 15, 11, 0.46), 0 0 28px rgba(45, 205, 117, 0.4), inset 0 1px rgba(233, 255, 243, 0.14);
}

@media (hover: hover) and (pointer: fine) {
  .offer-banner:hover {
    border-color: rgba(138, 240, 184, 0.88);
    box-shadow: 0 12px 32px rgba(0, 15, 11, 0.48), 0 0 28px rgba(45, 205, 117, 0.3), inset 0 1px rgba(233, 255, 243, 0.14);
    transform: translateX(-50%) translateY(-2px);
  }
}

.offer-banner:active {
  border-color: rgba(138, 240, 184, 0.96);
  box-shadow: 0 8px 24px rgba(0, 15, 11, 0.46), 0 0 20px rgba(45, 205, 117, 0.34), inset 0 1px rgba(233, 255, 243, 0.16);
  transform: translateX(-50%) translateY(1px);
}

/* The pill is a child of the dock, so it rides with the dock and disappears
   with it. These states finish the hide before the dock's small peek remains. */
.page-public.controls-collapsed .offer-banner,
.page-public.controls-hidden .offer-banner {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translateX(-50%) translateY(16px) !important;
}

.offer-pill-content {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 216px;
  height: 28px;
}

.offer-pill-frame {
  grid-area: 1 / 1;
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 7px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity 260ms ease, transform 260ms ease;
}

.offer-pill-frame.is-active {
  opacity: 1;
  transform: translateY(0);
}

.offer-pill-limited { gap: 8px; letter-spacing: 0.06em; text-transform: uppercase; }
.offer-pill-limited strong,
.offer-pill-reduced-discount {
  padding: 5px 7px;
  border: 1px solid rgba(138, 240, 184, 0.3);
  border-radius: 999px;
  color: #8af0b8;
  background: rgba(27, 127, 73, 0.24);
  font-size: 0.65rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.offer-pill-spark { color: #8af0b8; font-size: 0.9rem; }
.offer-pill-prices { gap: 10px; }
.offer-pill-price { display: inline-flex; align-items: baseline; gap: 5px; }
.offer-pill-price > span { font-size: 0.52rem; letter-spacing: 0.1em; text-transform: uppercase; }
.offer-pill-price--was > span,
.offer-pill-price--was del { color: #ff8f84; }
.offer-pill-price--was del { font-size: 0.82rem; text-decoration-color: rgba(255, 143, 132, 0.7); }
.offer-pill-price--now > span { color: rgba(214, 245, 226, 0.68); }
.offer-pill-price--now strong { color: #8af0b8; font-size: 1rem; letter-spacing: -0.02em; }
.offer-price-arrow { color: rgba(138, 240, 184, 0.52); }
.offer-pill-countdown,
.offer-pill-reduced-countdown {
  padding: 7px 10px;
  border: 1px solid rgba(255, 133, 113, 0.36);
  border-radius: 999px;
  color: #ffd2c9;
  background: rgba(119, 39, 32, 0.27);
  letter-spacing: 0.025em;
}
.offer-pill-countdown > span { font-size: 0.72rem; }
.offer-pill-reduced { display: none; gap: 9px; }
.offer-pill-reduced-countdown { font-size: 0.62rem; }
.offer-clock {
  position: relative;
  display: inline-block;
  width: 11px;
  height: 11px;
  flex: 0 0 11px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
}
.offer-clock::before { content: ""; position: absolute; left: 4px; top: 2px; width: 1px; height: 3px; background: currentColor; }
.offer-clock::after { content: ""; position: absolute; left: 4px; top: 5px; width: 3px; height: 1px; background: currentColor; transform: rotate(25deg); transform-origin: left center; }
@keyframes offer-banner-in { from { opacity: 0; transform: translate(-50%, 8px); } }

@media (prefers-reduced-motion: reduce) {
  .dock-nudge, .dock-nudge.is-leaving, .offer-banner { animation: none; }
  /* Reduced-motion users still get the ROTATING offer slides — just as an
     instant swap (no fade/slide) rather than the crammed all-in-one pill,
     which overflowed the phone on both edges. JS rotates regardless of the
     motion preference; this only removes the transition. */
  .offer-pill-frame { transition: none; }
  .offer-banner:hover,
  .offer-banner:active { transform: translateX(-50%); }
}

@media (max-width: 760px) {
  .dock-nudge {
    bottom: calc(var(--dock-bottom-offset, 12px) + 86px);
    left: 12px; right: 12px; max-width: none;
    justify-content: center; text-align: center; font-size: 0.56rem;
  }
  .offer-banner { max-width: calc(100vw - 24px); }
}

@media (max-width: 640px) {
  .offer-banner {
    bottom: calc(100% + 9px);
    height: 44px;
    min-width: 228px;
    padding-inline: 12px;
    font-size: 0.66rem;
  }
  .offer-pill-content { min-width: 204px; }
}

.dock-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  padding: 10px;
  transition: transform 450ms cubic-bezier(.2, .78, .22, 1);
}

.dock-mobile-toggle {
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 78px;
  padding: 0 12px;
  border: 0;
  border-left: 1px solid var(--line-dark);
  color: rgba(230, 244, 249, 0.72);
  background: transparent;
  font-family: "Geist Mono", monospace;
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.dock-action {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 43px;
  padding: 0 13px;
  border: 1px solid transparent;
  border-radius: calc(var(--radius-subtle) - 5px);
  color: rgba(235, 246, 249, 0.78);
  background: transparent;
  font-size: 0.75rem;
  font-weight: 560;
  white-space: nowrap;
  cursor: pointer;
  transform: translateZ(0) scale(1);
  backface-visibility: hidden;
  transition:
    transform 180ms cubic-bezier(0.2, 0.82, 0.24, 1.14),
    color 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease,
    text-shadow 180ms ease;
}

.dock-action:is(:hover, :focus-visible) {
  z-index: 1;
  color: #fff;
  border-color: rgba(113, 194, 224, 0.24);
  background: rgba(69, 171, 211, 0.08);
  box-shadow: 0 7px 18px rgba(0, 9, 14, 0.32), 0 0 14px rgba(36, 174, 228, 0.1);
  text-shadow: -0.3px 0 currentColor, 0.3px 0 currentColor;
  transform: translateZ(0) scale(var(--dock-action-hover-scale));
}

.dock-action--accent {
  border-color: rgba(36, 174, 228, 0.58);
  color: #dff7ff;
  background: rgba(36, 174, 228, 0.12);
}

.dock-action--accent:is(:hover, :focus-visible) {
  border-color: rgba(99, 208, 245, 0.72);
  background: rgba(36, 174, 228, 0.18);
}

.dock-action.just-collapsed {
  color: #fff;
  border-color: rgba(99, 208, 245, 0.52);
  background: rgba(36, 174, 228, 0.2);
}

.action-icon {
  display: block;
  width: 21px;
  height: 21px;
  flex: 0 0 21px;
  transition: color 180ms ease;
}

.action-icon__outline,
.action-icon__solid {
  transition: opacity 180ms ease;
}

.action-icon__solid {
  opacity: 0;
  fill: currentColor;
  stroke: none;
}

.dock-action[data-action="video"] { --dock-icon-accent: var(--dock-icon-video-accent); }
.dock-action[data-action="schedule"] { --dock-icon-accent: var(--dock-icon-schedule-accent); }
.dock-action[data-action="chat"] { --dock-icon-accent: var(--dock-icon-chat-accent); }
.dock-action[data-action="claim"] { --dock-icon-accent: var(--dock-icon-claim-accent); }
.dock-action[data-action="offer"] { --dock-icon-accent: var(--dock-icon-offer-accent); }

.dock-action:is(:hover, :focus-visible) .action-icon {
  color: var(--dock-icon-accent);
}

.dock-action:is(:hover, :focus-visible) .action-icon__outline {
  opacity: 0;
}

.dock-action:is(:hover, :focus-visible) .action-icon__solid {
  opacity: 1;
}

.dock-hide {
  display: grid;
  place-content: center;
  min-width: 62px;
  border: 0;
  border-right: 0;
  color: rgba(222, 239, 245, 0.5);
  background: transparent;
  cursor: pointer;
}

.dock-hide:hover { color: #fff; background: rgba(255, 255, 255, 0.035); }

.dock-hide-label {
  margin-top: 3px;
  font-family: "Geist Mono", monospace;
  font-size: 0.54rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.control-reveal-cluster {
  position: fixed;
  z-index: 100000010;
  right: 18px;
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.dock-bottom-hover-zone {
  position: fixed;
  z-index: 100000009;
  right: 0;
  bottom: 0;
  left: 0;
  height: max(18px, env(safe-area-inset-bottom));
  visibility: hidden;
  pointer-events: none;
}

.page-public.controls-collapsed .dock-bottom-hover-zone {
  visibility: visible;
  pointer-events: auto;
}

.page-public.controls-collapsed .control-reveal-cluster {
  right: 92px;
  left: 18px;
  bottom: max(0px, env(safe-area-inset-bottom));
  width: max-content;
  margin-inline: auto;
}

.mini-timer-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 8px 13px;
  border: 1px solid rgba(99, 208, 245, 0.42);
  color: var(--ice);
  background: rgba(5, 24, 35, 0.93);
  box-shadow: 0 12px 40px rgba(0, 11, 18, 0.3), inset 0 0 0 1px rgba(235, 250, 255, 0.025);
  backdrop-filter: blur(14px);
  white-space: nowrap;
}

.mini-timer-pill[hidden] { display: none; }

.mini-timer-pill.is-timer-revealed {
  animation: mini-timer-reveal 320ms ease-out both;
}

@keyframes mini-timer-reveal {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.mini-timer-logo {
  width: 40px;
  height: auto;
  flex: 0 0 auto;
}

.mini-timer-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px rgba(36, 174, 228, 0.7);
}

.mini-timer-preview-label,
.mini-timer-label {
  color: rgba(220, 237, 243, 0.58);
  font-family: "Geist Mono", monospace;
  font-size: 0.56rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.mini-timer-pill strong {
  font-family: "Geist Mono", monospace;
  font-size: 0.92rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
}

.mini-timer-pill.is-urgent {
  border-color: rgba(255, 139, 101, 0.72);
  background: rgba(48, 24, 23, 0.95);
}

.mini-timer-pill.is-urgent .mini-timer-dot {
  background: #ff8b65;
  box-shadow: 0 0 12px rgba(255, 107, 82, 0.64);
}

.mini-timer-pill.is-urgent strong { color: #ffc0aa; }

.page-public.controls-collapsed .mini-timer-pill {
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.page-public.controls-collapsed .mini-timer-pill:hover,
.page-public.controls-collapsed .mini-timer-pill:focus-visible {
  border-color: rgba(99, 208, 245, 0.72);
  background: rgba(7, 37, 51, 0.97);
  box-shadow: 0 12px 40px rgba(0, 11, 18, 0.3), 0 0 22px rgba(36, 174, 228, 0.18);
}

.expired-screen {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: 16px;
  overflow-y: auto;
  overscroll-behavior: contain;
  color: var(--ice);
  background:
    linear-gradient(rgba(65, 167, 207, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(65, 167, 207, 0.06) 1px, transparent 1px),
    radial-gradient(circle at 74% 18%, rgba(20, 141, 186, 0.26), transparent 32%),
    rgba(4, 21, 31, 0.97);
  background-size: 110px 110px, 110px 110px, auto, auto;
  opacity: 0;
  transition: opacity 280ms ease;
}

.expired-screen.is-visible { opacity: 1; }

.expired-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 46fr) minmax(0, 54fr);
  align-items: stretch;
  width: min(1140px, 100%);
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  margin-block: auto;
  overflow: hidden;
  border: 1px solid rgba(96, 199, 237, 0.23);
  background:
    linear-gradient(180deg, rgba(235, 250, 255, 0.055), transparent 1px),
    linear-gradient(rgba(84, 187, 225, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(84, 187, 225, 0.035) 1px, transparent 1px),
    linear-gradient(145deg, rgba(10, 48, 65, 0.97), rgba(6, 26, 38, 0.98));
  background-size: auto, 72px 72px, 72px 72px, auto;
  box-shadow: var(--shadow-deep);
}

.expired-panel:has(.expired-showcase[hidden]) {
  grid-template-columns: minmax(0, 650px);
  width: min(650px, 100%);
}

.expired-media {
  display: grid;
  place-items: center;
  min-width: 0;
  padding: clamp(30px, 3.4vw, 48px);
  border-right: 1px solid rgba(126, 214, 245, 0.16);
  background:
    radial-gradient(circle at 48% 45%, rgba(36, 174, 228, 0.14), transparent 58%),
    rgba(2, 18, 27, 0.18);
}

.expired-media:has(.expired-showcase[hidden]) { display: none; }

.expired-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: clamp(30px, 3.5vw, 46px);
}

.expired-logo {
  display: block;
  width: 108px;
  height: auto;
}

.expired-showcase {
  display: block;
  width: 100%;
  max-height: min(460px, calc(100dvh - 112px));
  height: auto;
  object-fit: contain;
  border: 1px solid rgba(126, 214, 245, 0.3);
  border-radius: var(--radius-subtle);
  background: #eef4f6;
  opacity: 0;
  box-shadow:
    0 18px 46px rgba(0, 8, 13, 0.42),
    0 0 24px rgba(36, 174, 228, 0.12),
    inset 0 1px rgba(255, 255, 255, 0.7);
  transition: opacity 180ms ease;
}

.expired-showcase.is-loaded { opacity: 1; }

.expired-body > .attention-kicker { margin-top: 20px; }

.expired-panel h2 {
  font-size: clamp(2.35rem, 3.5vw, 3.15rem);
  line-height: 1;
  white-space: nowrap;
}

.expired-body > p:not(.attention-kicker) {
  max-width: 570px;
  margin: 14px 0 0;
  color: rgba(226, 240, 245, 0.72);
  font-size: 0.94rem;
  line-height: 1.52;
}

.expired-offer {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(138px, 0.54fr);
  grid-template-areas:
    "kicker kicker"
    "prices action"
    "detail action"
    "countdown action";
  gap: 12px 20px;
  width: 100%;
  margin-top: 18px;
  padding: 20px;
  border: 1px solid rgba(74, 222, 140, 0.48);
  border-radius: var(--radius-subtle);
  background:
    linear-gradient(135deg, rgba(29, 126, 76, 0.24), rgba(11, 55, 39, 0.1)),
    rgba(18, 85, 54, 0.17);
  box-shadow: inset 0 1px rgba(229, 255, 240, 0.07);
  overflow: hidden;
}
.expired-offer[hidden] { display: none; }
.expired-offer-kicker {
  grid-area: kicker;
  color: #6de5a4;
  font: 600 0.62rem "Geist Mono", monospace;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.expired-offer-prices {
  grid-area: prices;
  display: flex;
  align-items: center;
  gap: clamp(10px, 2vw, 18px);
  min-width: 0;
}
.expired-offer-detail {
  grid-area: detail;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  color: rgba(231, 248, 238, 0.82);
  font-size: 0.78rem;
}
.expired-offer-detail span:not([hidden])::after { content: "\2022"; margin-left: 7px; color: rgba(109, 229, 164, 0.55); }
.expired-offer-detail strong { color: #6de5a4; }
#expiredOfferCountdown {
  grid-area: countdown;
  justify-self: start;
}
.expired-offer-action {
  grid-area: action;
  align-self: stretch;
  width: 100%;
  min-height: 0;
  border-color: rgba(74, 222, 140, 0.48);
  color: #8af0b8;
  background: rgba(5, 38, 25, 0.26);
}
.expired-offer-action:hover { border-color: #6de5a4; background: rgba(27, 127, 73, .22); }

.expired-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.expired-actions .control-button { min-height: 44px; padding-inline: 14px; }

.expired-actions .text-button {
  grid-column: 1 / -1;
  justify-self: start;
  margin-top: 1px;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 100000030;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  place-items: start center;
  padding: 20px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: rgba(2, 15, 23, 0.74);
  backdrop-filter: blur(9px);
  opacity: 1;
}

.modal-card {
  position: relative;
  z-index: 1;
  width: min(620px, 100%);
  min-width: 0;
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  margin-block: auto;
  padding: 0;
  color: var(--ice);
  border: 1px solid rgba(126, 214, 245, 0.28);
  background:
    linear-gradient(180deg, rgba(235, 250, 255, 0.07), transparent 1px),
    linear-gradient(rgba(84, 187, 225, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(84, 187, 225, 0.045) 1px, transparent 1px),
    linear-gradient(145deg, #0a3041, #071f2d 52%, #061a26);
  background-size: auto, 72px 72px, 72px 72px, auto;
  box-shadow:
    0 1px 0 rgba(226, 248, 255, 0.1) inset,
    0 28px 90px rgba(0, 10, 16, 0.5),
    0 0 0 1px rgba(1, 13, 20, 0.65);
  opacity: 1;
  transform: translate(0, 0) scale(1);
  transform-origin: var(--modal-origin-x, 50%) var(--modal-origin-y, 50%);
}

.modal.is-emerging .modal-card {
  animation: modal-emerge 280ms cubic-bezier(.16, .84, .28, 1) both;
}

.modal.is-collapsing .modal-card {
  animation: modal-collapse 280ms cubic-bezier(.55, .06, .74, .22) both;
}

.modal.is-emerging .modal-backdrop { animation: modal-backdrop-in 280ms ease-out both; }
.modal.is-collapsing .modal-backdrop { animation: modal-backdrop-out 280ms ease-in both; }

.modal[data-modal-variant="meeting-nudge"].is-emerging .modal-card {
  animation: meeting-nudge-in 400ms cubic-bezier(.2, .8, .2, 1) both;
}

.modal[data-modal-variant="meeting-nudge"].is-emerging .modal-backdrop {
  animation-duration: 400ms;
}

@keyframes modal-emerge {
  from {
    opacity: 0;
    transform: translate(var(--modal-shift-x, 0), var(--modal-shift-y, 0)) scale(var(--modal-start-scale, 0.12));
  }
  to { opacity: 1; transform: translate(0, 0) scale(1); }
}

@keyframes modal-collapse {
  from { opacity: 1; transform: translate(0, 0) scale(1); }
  to {
    opacity: 0;
    transform: translate(var(--modal-shift-x, 0), var(--modal-shift-y, 0)) scale(var(--modal-start-scale, 0.12));
  }
}

@keyframes meeting-nudge-in {
  from { opacity: 0; transform: translateY(18px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes modal-backdrop-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes modal-backdrop-out { from { opacity: 1; } to { opacity: 0; } }

.modal-header {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  min-height: 70px;
  padding: 14px 20px 14px clamp(22px, 3vw, 32px);
  border-bottom: 1px solid rgba(126, 214, 245, 0.2);
  background: rgba(3, 20, 30, 0.64);
}

.modal-header .modal-brand {
  flex: 1 1 auto;
  justify-content: flex-start;
  padding: 0;
  border-bottom: 0;
}

.modal-brand img { width: 95px; }
.modal-brand span { padding-left: 16px; border-left: 1px solid var(--line-dark); }
.modal-layout { display: block; min-width: 0; padding: 28px; }
.modal-content-column,
.modal-copy-column { min-width: 0; }
.modal-copy-column > .modal-kicker { margin-top: 0; }

.modal[data-modal-action="video"] .modal-card,
.modal[data-modal-action="schedule"] .modal-card {
  width: min(1100px, 100%);
}

.modal[data-modal-action="about"] .modal-card { width: min(760px, 100%); }

.modal[data-modal-action="video"] .modal-layout {
  flex: 1 1 auto;
  display: grid;
  grid-template-areas: "content media";
  grid-template-columns: minmax(0, 42fr) minmax(0, 58fr);
  grid-template-rows: minmax(0, 1fr);
  align-items: stretch;
  min-height: 0;
  padding: 0;
}

.modal[data-modal-action="video"] .modal-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.modal[data-modal-action="video"] .modal-content-column,
.modal[data-modal-action="schedule"] .modal-content-column {
  grid-area: content;
  display: flex;
  flex-direction: column;
  justify-content: safe center;
  min-height: 0;
  overflow-y: auto;
  padding: clamp(32px, 4vw, 48px);
  border-right: 1px solid rgba(126, 214, 245, 0.16);
}

.modal[data-modal-action="video"] .modal-video-column,
.modal[data-modal-action="schedule"] .modal-calendar-column {
  grid-area: media;
  align-self: stretch;
}

.modal[data-modal-action="schedule"] .modal-card {
  max-height: none;
}

.modal[data-modal-action="schedule"] .modal-layout {
  display: grid;
  grid-template-areas: "content media";
  grid-template-columns: minmax(0, 40fr) minmax(0, 60fr);
  align-items: stretch;
  padding: 0;
}

@media (min-width: 761px) {
  .modal[data-modal-action="claim"] .modal-card,
  .modal[data-modal-action="offer"] .modal-card {
    width: min(1100px, 100%);
  }

  .modal[data-modal-action="claim"] .modal-layout,
  .modal[data-modal-action="offer"] .modal-layout {
    padding: 0;
  }

  .modal[data-modal-action="claim"] .modal-content-column,
  .modal[data-modal-action="offer"] .modal-content-column {
    display: grid;
    grid-template-columns: minmax(0, 45fr) minmax(0, 55fr);
    align-items: stretch;
  }

  .modal[data-modal-action="claim"] .modal-copy-column,
  .modal[data-modal-action="offer"] .modal-copy-column {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(40px, 4vw, 50px);
    border-right: 1px solid rgba(126, 214, 245, 0.16);
  }

  .modal[data-modal-action="claim"] .modal-form,
  .modal[data-modal-action="offer"] .modal-form {
    align-content: center;
    margin: 0;
    padding: clamp(40px, 4vw, 50px);
    background: rgba(2, 18, 27, 0.18);
  }

  .modal[data-modal-action="claim"] .modal-success,
  .modal[data-modal-action="offer"] .modal-success {
    align-self: center;
    margin: clamp(40px, 4vw, 50px);
  }

  .modal[data-modal-action="seo"] .modal-card {
    width: min(1100px, 100%);
  }

  .modal[data-modal-action="seo"] .modal-layout {
    padding: 0;
  }

  .modal[data-modal-action="seo"] .modal-content-column {
    display: grid;
    grid-template-columns: minmax(0, 40fr) minmax(0, 60fr);
    align-items: stretch;
  }

  .modal[data-modal-action="seo"] #seoReportIntro {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(36px, 3.5vw, 46px);
    border-right: 1px solid rgba(126, 214, 245, 0.16);
  }

  .modal[data-modal-action="seo"] #seoReportView {
    align-content: center;
    margin: 0;
    padding: clamp(30px, 3vw, 40px);
    background: rgba(2, 18, 27, 0.18);
  }
}

.modal-controls {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}

.modal-close {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--line-dark);
  color: rgba(233, 245, 249, 0.7);
  background: rgba(4, 19, 28, 0.75);
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}

.modal-close:hover {
  color: #fff;
  border-color: rgba(99, 209, 245, 0.7);
  background: rgba(36, 174, 228, 0.12);
}

.modal-controls button:focus-visible { outline-offset: -3px; }

.modal-card h2 { font-size: clamp(2.15rem, 5vw, 3.5rem); }

.modal[data-modal-action="video"] .modal-card h2,
.modal[data-modal-action="schedule"] .modal-card h2,
.modal[data-modal-action="claim"] .modal-card h2,
.modal[data-modal-action="offer"] .modal-card h2 {
  font-size: clamp(2.35rem, 4vw, 3.75rem);
}

.modal-copy-column > p:not(.modal-kicker) {
  margin: 17px 0 0;
  color: rgba(226, 240, 245, 0.7);
  line-height: 1.6;
}

.modal-offer-summary {
  position: relative;
  display: grid;
  gap: 14px;
  margin-top: 24px;
  padding: 21px 22px;
  border: 1px solid rgba(74, 222, 140, 0.48);
  border-radius: var(--radius-subtle);
  background:
    linear-gradient(135deg, rgba(29, 126, 76, 0.22), rgba(11, 55, 39, 0.12)),
    rgba(18, 85, 54, 0.16);
  box-shadow: inset 0 1px rgba(229, 255, 240, 0.07);
  overflow: hidden;
}

@keyframes offer-card-shimmer {
  0%, 3% { opacity: 0; transform: translate3d(-32%, -32%, 0); }
  6%, 24% { opacity: 0.72; }
  27%, 100% { opacity: 0; transform: translate3d(32%, 32%, 0); }
}

@keyframes offer-price-pop {
  0%, 27% { transform: scale(1); }
  30% { transform: scale(1.06); }
  35%, 100% { transform: scale(1); }
}

@media (prefers-reduced-motion: no-preference) {
  .offer-banner::before,
  .modal-offer-summary::before,
  .expired-offer::before {
    animation: offer-card-shimmer 8s ease-in-out infinite;
  }

  #offerPrice,
  #offerReducedPrice,
  #modalOfferPrice,
  #expiredOfferPrice {
    transform-origin: center;
    animation: offer-price-pop 8s cubic-bezier(0.22, 1, 0.36, 1) infinite;
  }
}

.modal-offer-summary-heading,
.modal-offer-summary-prices {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.modal-offer-summary-kicker,
.modal-offer-summary-discount {
  color: #6de5a4;
  font: 600 0.64rem "Geist Mono", monospace;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.modal-offer-summary-discount {
  padding: 4px 7px;
  border: 1px solid rgba(109, 229, 164, 0.28);
  background: rgba(27, 127, 73, 0.2);
  white-space: nowrap;
}

.modal-offer-summary-prices { justify-content: flex-start; gap: clamp(12px, 2.2vw, 20px); }

.offer-price-unit {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.offer-price-unit > span {
  color: rgba(218, 238, 228, 0.62);
  font: 650 0.59rem "Geist Mono", monospace;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.offer-price-unit--was > span { color: #ff9b90; }
.offer-price-unit--was del {
  color: #ff8f84;
  font-size: clamp(1.45rem, 2.6vw, 1.9rem);
  font-weight: 620;
  line-height: 1;
  text-decoration-color: rgba(255, 143, 132, 0.62);
  text-decoration-thickness: 1.5px;
}
.offer-price-unit--now strong {
  color: #8af0b8;
  font-size: clamp(2.45rem, 4.5vw, 3.15rem);
  line-height: 0.9;
  letter-spacing: -0.045em;
}
.modal-offer-summary-prices > .offer-price-arrow,
.expired-offer-prices > .offer-price-arrow {
  color: rgba(138, 240, 184, 0.55);
  font-size: 1.15rem;
}

.modal-offer-summary-label {
  margin: 0;
  color: rgba(231, 248, 238, 0.82);
  font-size: 0.8rem;
}

.modal-offer-summary-countdown {
  justify-self: start;
}

.offer-urgency {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 35px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 133, 113, 0.38);
  border-radius: 999px;
  color: #ffd1c8;
  background: linear-gradient(110deg, rgba(120, 38, 32, 0.34), rgba(77, 28, 27, 0.22));
  box-shadow: inset 0 1px rgba(255, 226, 220, 0.055);
  font: 650 0.76rem "Geist Mono", monospace;
  letter-spacing: 0.025em;
}

.about-modal-content {
  display: grid;
  gap: 20px;
  margin-top: 16px;
}

.about-modal-content > p {
  margin: 0;
  color: rgba(226, 240, 245, 0.7);
  line-height: 1.6;
}

.about-modal-cta { justify-self: start; }

.modal-video-column {
  min-width: 0;
  margin: 20px 0 0;
}

.modal[data-modal-action="video"] .modal-video-column {
  display: flex;
  align-items: stretch;
  min-height: 0;
  margin: 0;
  background:
    radial-gradient(circle at 42% 38%, rgba(36, 174, 228, 0.17), transparent 36%),
    #04151f;
}

.video-frame {
  width: 100%;
  height: 100%;
  min-height: 100%;
  overflow: hidden;
  background: #03131c;
}

.video-player,
.video-embed {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #020d13;
}

.video-player { object-fit: cover; }

.modal-calendar-column {
  display: flex;
  align-items: stretch;
  min-width: 0;
  min-height: 720px;
  overflow: hidden;
  background: #fff;
}

.calendar-embed {
  display: flex;
  align-items: stretch;
  width: 100%;
  height: 100%;
  min-height: 720px;
  overflow: hidden;
  background: #fff;
}

.calendar-embed iframe {
  display: block;
  flex: 1 1 auto;
  width: 100%;
  height: 100%;
  min-height: 720px;
  border: 0;
  overflow: hidden;
}

.calendar-embed iframe:focus-visible { outline-offset: -3px; }

.video-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 100%;
  padding: 24px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 44%, rgba(36, 174, 228, 0.22), transparent 30%),
    linear-gradient(135deg, #0a3548, #041721);
}

.video-placeholder-glyph {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  padding-left: 4px;
  border: 1px solid rgba(109, 210, 247, 0.55);
  border-radius: 50%;
  color: var(--cyan-bright);
  background: rgba(36, 174, 228, 0.08);
}

.video-placeholder p {
  margin: 15px 0 0;
  color: rgba(226, 240, 245, 0.78);
  font-size: 0.9rem;
  letter-spacing: 0.01em;
}

.modal-form { display: grid; gap: 15px; margin-top: 24px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }

.modal-form label,
.grid-form label,
.result-block label {
  display: grid;
  gap: 7px;
  color: rgba(223, 239, 245, 0.68);
  font-family: "Geist Mono", monospace;
  font-size: 0.64rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.modal-form input,
.modal-form textarea {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid var(--line-dark);
  border-radius: 0;
  outline: 0;
  color: var(--ice);
  background: rgba(2, 18, 27, 0.62);
  font-family: "Geist", sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0;
  text-transform: none;
}

.modal-form input:focus,
.modal-form textarea:focus { border-color: var(--cyan); }

.modal-form-error {
  margin: 0;
  padding: 10px 12px;
  border-left: 2px solid #ff8b65;
  color: #ffd6ca;
  background: rgba(158, 51, 31, 0.18);
  font-size: 0.82rem;
  line-height: 1.45;
}

.modal-success {
  display: grid;
  gap: 22px;
  margin-top: 26px;
  padding: 22px;
  border-left: 2px solid var(--cyan);
  background: rgba(36, 174, 228, 0.08);
}

@keyframes modal-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes modal-fade-out {
  from { opacity: 1; }
  to { opacity: 0; }
}

.toast {
  position: fixed;
  z-index: 40;
  top: 18px;
  left: 50%;
  padding: 13px 18px;
  color: var(--ice);
  border: 1px solid rgba(93, 203, 242, 0.38);
  background: rgba(5, 30, 42, 0.96);
  box-shadow: 0 14px 42px rgba(1, 14, 21, 0.3);
  opacity: 0;
  transform: translate(-50%, -8px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* Private builder */

.page-admin {
  min-height: 100vh;
  color: var(--ink);
  background:
    linear-gradient(rgba(12, 32, 43, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(12, 32, 43, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 84% 2%, rgba(36, 174, 228, 0.13), transparent 28%),
    #eff2f3;
  background-size: 88px 88px, 88px 88px, auto, auto;
}

.page-shell {
  width: min(1240px, calc(100% - 36px));
  margin: 0 auto;
  padding: 34px 0 60px;
}

.topbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  margin: 0 0 8px;
  color: #187ca2;
  font-family: "Geist Mono", monospace;
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.topbar h1,
.panel h2,
.panel h3 {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 440;
  letter-spacing: -0.035em;
}

.topbar h1 { font-size: clamp(2.2rem, 5vw, 4.2rem); line-height: 0.95; }

.topbar-link {
  padding: 12px 15px;
  border: 1px solid var(--line);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.42);
  font: inherit;
  cursor: pointer;
  text-decoration: none;
}

.topbar-actions { display: flex; flex-wrap: wrap; gap: 9px; }

.admin-layout { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 18px; }

.panel {
  padding: 24px;
  border: 1px solid var(--line);
  background: rgba(250, 251, 251, 0.9);
  box-shadow: 0 18px 50px rgba(15, 42, 55, 0.07);
}

.preview-panel { grid-column: 1 / -1; }
.panel h2 { font-size: 1.75rem; }

.grid-form { display: grid; gap: 14px; margin-top: 20px; }

.grid-form label,
.result-block label { color: #596d77; }

.grid-form input,
.grid-form select,
.grid-form textarea,
.result-block input {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: 0;
  outline: 0;
  color: var(--ink);
  background: #fff;
  font-family: "Geist", sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0;
  text-transform: none;
}

.grid-form input:focus,
.grid-form select:focus,
.grid-form textarea:focus,
.result-block input:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(36, 174, 228, 0.08); }

.grid-form textarea { resize: vertical; }

.toggle-group {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 15px;
  border: 1px solid var(--line);
}

.toggle-group legend { padding: 0 8px; font-size: 0.8rem; font-weight: 650; }

.toggle-group label {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  font-family: "Geist", sans-serif;
  font-size: 0.84rem;
  letter-spacing: 0;
  text-transform: none;
}

.toggle-group input { width: auto; }

.form-actions,
.result-block,
.cta-row,
.panel-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.form-actions { margin-top: 4px; }
.result-block { align-items: end; margin-top: 18px; }
.result-block label { flex: 1 1 260px; }
.panel-head { justify-content: space-between; margin-bottom: 18px; }

.btn {
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 0;
  color: var(--ink);
  background: #fff;
  font-weight: 620;
  cursor: pointer;
}

.btn:hover { border-color: #1689b4; }
.btn:disabled { opacity: 0.55; cursor: wait; }
.btn.primary { border-color: var(--navy-900); color: #fff; background: var(--navy-900); }
.btn.small { min-height: 36px; padding: 0 12px; font-size: 0.8rem; }
.btn.danger { color: #9e331f; border-color: rgba(158, 51, 31, 0.24); }
.btn.danger:hover { color: #fff; border-color: #9e331f; background: #9e331f; }

.status-pill {
  padding: 7px 10px;
  color: #176d8f;
  border: 1px solid rgba(26, 133, 175, 0.24);
  background: rgba(36, 174, 228, 0.07);
  font-family: "Geist Mono", monospace;
  font-size: 0.62rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.cards { display: grid; gap: 11px; }

.demo-card {
  padding: 17px;
  border: 1px solid var(--line);
  background: #fff;
}

.demo-card h3 { font-size: 1.2rem; }
.demo-card p { margin: 6px 0 0; color: var(--muted); font-size: 0.78rem; overflow-wrap: anywhere; }
.demo-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }

.demo-card .stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 14px;
  border: 1px solid var(--line);
  background: var(--line);
}

.demo-card .stats div { display: grid; gap: 3px; padding: 10px; background: #f8fafb; }
.demo-card .stats span { color: var(--muted); font-size: 0.68rem; }
.demo-card .cta-row { margin-top: 12px; }
.demo-card .stats.stats-wide { grid-template-columns: repeat(6, minmax(0, 1fr)); }

.demo-meta { display: flex; flex-wrap: wrap; gap: 7px 18px; margin-top: 11px; color: var(--muted); font-size: 0.72rem; }
.demo-meta strong { color: var(--ink); font-weight: 620; }
.extension-alert { padding: 10px 12px; border-left: 3px solid var(--cyan); color: var(--ink) !important; background: rgba(36, 174, 228, 0.08); }
.status-expired { color: #7a4c1a; border-color: rgba(122, 76, 26, 0.25); background: rgba(184, 124, 45, 0.08); }
.status-pending { color: #8c3b22; border-color: rgba(140, 59, 34, 0.25); background: rgba(184, 78, 45, 0.08); }

.form-error { margin: 0; padding: 10px 12px; border-left: 3px solid #9e331f; color: #7f2919; background: rgba(158, 51, 31, 0.07); font-size: 0.82rem; }

.admin-login { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.admin-login-card { width: min(440px, 100%); padding: 34px; border: 1px solid var(--line); background: rgba(250, 251, 251, 0.96); box-shadow: 0 24px 70px rgba(15, 42, 55, 0.14); }
.admin-login-card > img { width: 102px; margin-bottom: 28px; }
.admin-login-card h1 { margin: 0; font-family: "Fraunces", Georgia, serif; font-size: clamp(2rem, 7vw, 3rem); font-weight: 440; line-height: 1; letter-spacing: -0.04em; }
.admin-login-card > .muted { margin: 13px 0 0; line-height: 1.55; }

.preview-frame {
  width: 100%;
  min-height: 650px;
  border: 1px solid var(--line);
  background: #fff;
}

.muted { color: var(--muted); font-size: 0.82rem; }

@media (max-width: 1050px) {
  .control-dock { grid-template-columns: auto auto auto auto; }
  .dock-brand { min-width: 0; }
  .dock-brand-copy { display: none; }
  .dock-brand-short { display: block; }
  .dock-brand-logo img { width: 68px; }
  .dock-actions { overflow-x: auto; justify-content: flex-start; }
  .admin-layout { grid-template-columns: 1fr; }
  .preview-panel { grid-column: auto; }
  .demo-card .stats.stats-wide { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 761px) and (max-width: 900px) {
  .modal[data-modal-action="video"] .field-row { grid-template-columns: 1fr; }
}

@media (max-width: 879px) {
  .expired-screen {
    place-items: start center;
    padding: 10px;
  }

  .expired-panel,
  .expired-panel:has(.expired-showcase[hidden]) {
    grid-template-columns: minmax(0, 1fr);
    width: min(620px, 100%);
    max-height: none;
    margin-block: 0;
    overflow: visible;
  }

  .expired-media {
    padding: 16px 20px 0;
    border-right: 0;
    background: radial-gradient(circle at 50% 50%, rgba(36, 174, 228, 0.13), transparent 65%);
  }

  .expired-showcase {
    width: min(430px, 100%);
    max-height: 230px;
  }

  .expired-body { padding: 20px 24px 24px; }
  .expired-logo { width: 96px; }
  .expired-body > .attention-kicker { margin: 15px 0 8px; font-size: 0.61rem; }
  .expired-panel h2 { font-size: clamp(2rem, 8.4vw, 2.65rem); }
  .expired-body > p:not(.attention-kicker) { margin-top: 12px; font-size: 0.88rem; line-height: 1.46; }
  .expired-offer { margin-top: 15px; }
  .expired-actions { margin-top: 15px; }
}

@media (max-width: 760px) {
  .attention-card {
    width: calc(100vw - 20px);
    max-height: calc(100dvh - 20px);
    padding: 17px 18px 18px;
  }

  .attention-topline { padding: 0 42px 13px 0; }
  .attention-topline img { width: 88px; }
  .attention-close { top: 10px; right: 10px; width: 32px; height: 32px; }
  .attention-kicker { margin: 15px 0 8px; font-size: 0.61rem; }
  .attention-card h1 { font-size: clamp(1.72rem, 7.8vw, 2.2rem); line-height: 1.02; }
  .mobile-site-hint {
    display: block;
    margin: 10px 0 0 !important;
    color: rgba(228, 242, 247, 0.7) !important;
    font-size: 0.8rem !important;
    line-height: 1.4 !important;
  }
  .attention-details { display: none; }
  .attention-card.is-expanded .attention-details { display: block; }
  .attention-details > p { margin-top: 13px; font-size: 0.84rem; line-height: 1.48; }
  .attention-video { margin-top: 12px; }
  .attention-actions {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 12px;
    margin-top: 15px;
  }
  .attention-actions .control-button { min-height: 43px; padding: 0 14px; font-size: 0.82rem; }
  .attention-expand { display: inline-block; font-size: 0.72rem; }

  .control-dock {
    --dock-bottom-offset: calc(12px + env(safe-area-inset-bottom));
    --dock-peek-height: calc(8px + env(safe-area-inset-bottom, 0px));
    left: 12px;
    right: 12px;
    bottom: var(--dock-bottom-offset);
    width: calc(100vw - 24px);
    min-height: 0;
    /* brand + timer hug the left; the 1fr slack sits in the toggle column so
       the flexible gap falls between the timer and the Controls/Hide group,
       not as a dead space after the logo. */
    grid-template-columns: auto auto minmax(0, 1fr) 44px;
    transform: translateY(0);
  }

  .control-dock--slide-down.is-hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(calc(100% + var(--dock-bottom-offset)));
  }

  .page-public.controls-collapsed .dock-bottom-hover-zone {
    visibility: hidden;
    pointer-events: none;
    touch-action: pan-y;
  }

  .control-reveal-cluster {
    top: auto;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    align-items: flex-end;
    flex-direction: column;
    gap: 8px;
  }
  .page-public.controls-collapsed .control-reveal-cluster {
    top: auto;
    right: 12px;
    left: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    opacity: 1;
    pointer-events: none;
  }
  .page-public.controls-collapsed .mini-timer-pill {
    pointer-events: auto;
    touch-action: manipulation;
  }
  .page-public.controls-collapsed .mini-timer-label { display: none; }
  .mini-timer-pill { min-height: 38px; padding: 7px 11px; }
  .page-public.controls-collapsed .mini-timer-pill { gap: 5px; padding-inline: 7px; }
  .page-public.controls-collapsed .mini-timer-logo { width: 32px; }
  .page-public.controls-collapsed .mini-timer-dot { width: 5px; height: 5px; }
  .page-public.controls-collapsed .mini-timer-preview-label { font-size: 0.5rem; letter-spacing: 0.07em; }
  .page-public.controls-collapsed .mini-timer-pill strong { font-size: 0.82rem; }
  .dock-brand { padding: 0; }
  /* 481-760px: show the compact "Concept" label (not the full personalized
     copy, which overflowed the 1fr brand column into the timer at ~500px).
     Full copy is desktop-only (>1050px) where there is room. */
  .dock-brand-copy { display: none; }
  .dock-brand-short { display: block; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
  .dock-brand-logo { padding: 12px 12px 12px 15px; }
  .dock-brand-concept { padding: 12px; min-width: 0; overflow: hidden; }
  .dock-brand-logo img { width: 65px; }
  .dock-timer,
  .control-dock.is-timer-revealed .dock-timer {
    grid-column: 2;
    display: flex;
    width: auto;
    min-width: 0;
    max-width: none;
    gap: 6px;
    padding: 8px;
    border-right-color: var(--line-dark);
  }
  .dock-timer span:not(.timer-dot) { font-size: 0; letter-spacing: 0; }
  .dock-timer span:not(.timer-dot)::after {
    content: "Preview";
    font-size: 0.48rem;
    letter-spacing: 0.08em;
  }
  .dock-timer strong { font-size: 0.9rem; letter-spacing: 0.02em; }
  .timer-dot { width: 5px; height: 5px; }
  .dock-mobile-toggle { display: flex; grid-column: 3; justify-self: end; }
  .dock-actions {
    grid-row: 2;
    grid-column: 1 / -1;
    display: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: visible;
    border-top: 1px solid var(--line-dark);
    border-right: 0;
  }
  .control-dock.is-mobile-expanded .dock-actions { display: grid; }
  .dock-hide {
    position: static;
    grid-row: 1;
    grid-column: 4;
    min-width: 44px;
    height: auto;
    border: 0;
    border-left: 1px solid var(--line-dark);
    background: transparent;
  }
  .dock-hide-label { display: none; }
  .dock-action { width: 100%; }

  .field-row { grid-template-columns: 1fr; }
  .modal-card { padding: 0; }
  .modal-header {
    min-height: 62px;
    padding: 11px 13px 11px 18px;
  }
  .modal-header .modal-brand { gap: 12px; }
  .modal-header .modal-brand img { width: 82px; }
  .modal-header .modal-brand span { padding-left: 12px; }
  .modal-close { width: 36px; height: 36px; }
  .modal-layout { padding: 22px 22px calc(22px + env(safe-area-inset-bottom)); }
  .modal-offer-summary-heading { align-items: center; }
  .modal-offer-summary-kicker { min-width: 0; }

  #actionForm { display: contents; }
  #actionForm .field-row { margin-top: 24px; }
  #phoneField,
  #messageField,
  .modal-form-error { margin-top: 15px; }

  #actionModal #modalSubmit {
    position: static;
    width: 100%;
    margin-top: 20px;
  }

  .modal[data-modal-action="video"],
  .modal[data-modal-action="schedule"],
  .modal[data-modal-action="claim"],
  .modal[data-modal-action="offer"],
  .modal[data-modal-action="about"] {
    padding: 10px;
  }

  .modal[data-modal-action="video"] .modal-card,
  .modal[data-modal-action="schedule"] .modal-card,
  .modal[data-modal-action="claim"] .modal-card,
  .modal[data-modal-action="offer"] .modal-card,
  .modal[data-modal-action="about"] .modal-card {
    width: 100%;
    max-height: calc(100vh - 20px);
    max-height: calc(100dvh - 20px);
    margin: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .modal[data-modal-action="video"] .modal-card { display: block; }

  .modal[data-modal-action="video"] .modal-layout,
  .modal[data-modal-action="schedule"] .modal-layout {
    display: grid;
    grid-template-areas: "media" "content";
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto;
    max-height: none;
    min-height: 0;
    padding: 0;
  }

  .modal[data-modal-action="schedule"][data-modal-variant="meeting-nudge"] .modal-layout {
    grid-template-areas: "content" "media";
  }

  .modal[data-modal-action="video"] .modal-content-column,
  .modal[data-modal-action="schedule"] .modal-content-column {
    overflow: visible;
    padding: 26px 22px calc(30px + env(safe-area-inset-bottom));
    border-top: 1px solid rgba(126, 214, 245, 0.16);
    border-right: 0;
  }

  .modal[data-modal-action="video"] .modal-video-column,
  .modal[data-modal-action="video"] .video-frame {
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .modal[data-modal-action="video"] .video-placeholder {
    height: auto;
    min-height: 0;
    aspect-ratio: auto;
  }

  .modal[data-modal-action="video"] .modal-video-column.has-placeholder,
  .modal[data-modal-action="video"] .modal-video-column.has-placeholder .video-frame {
    aspect-ratio: auto;
  }

  .modal[data-modal-action="video"] .modal-video-column.has-placeholder .video-placeholder {
    min-height: clamp(140px, 38vw, 168px);
  }

  #actionModal .modal-card h2 {
    font-size: clamp(1.5rem, 6.2vw, 1.85rem);
    line-height: 1.03;
  }

  .modal-calendar-column,
  .calendar-embed,
  .calendar-embed iframe { min-height: 660px; }

  .page-shell { width: min(100% - 24px, 1240px); padding-top: 22px; }
  .topbar { align-items: flex-start; flex-direction: column; }
  .panel { padding: 18px; }
  .preview-frame { min-height: 540px; }
}

@media (max-width: 480px) {
  .attention-topline span { font-size: 0.54rem; }
  .attention-actions { grid-template-columns: 1fr; align-items: stretch; }
  .attention-expand { justify-self: start; }
  /* Narrow phones: collapse the brand to the P.O.G. logo only. The short
     "Concept" label (white-space:nowrap) overflowed the squeezed
     minmax(0,1fr) brand column and printed on top of the timer/clock. The
     logo carries the brand; the concept intro still auto-shows on first
     visit. overflow:hidden is a hard guarantee nothing bleeds into column 2. */
  .dock-brand-copy { display: none; }
  .dock-brand-short { display: none; }
  .dock-brand-concept { display: none; }
  .dock-brand { min-width: 0; padding: 0; overflow: hidden; }
  .dock-brand-logo { padding: 8px 12px; }
  .dock-brand-hint { display: none; }
  .dock-brand-logo img { width: 50px; }
  .dock-timer { justify-content: flex-end; }
  .dock-mobile-toggle { min-width: 68px; gap: 4px; padding-inline: 8px; font-size: 0; }
  .dock-mobile-toggle::before { content: "Controls"; font-size: 0.68rem; }
  .control-dock.is-mobile-expanded .dock-mobile-toggle::before { content: "Hide"; }
  .dock-mobile-toggle > span { font-size: 0.8rem; }
  .dock-actions { padding: 7px; }
  .dock-action { padding: 0 10px; font-size: 0.7rem; }
  .expired-media { padding: 12px 14px 0; }
  .expired-showcase { max-height: 180px; }
  .expired-body { padding: 17px 18px calc(20px + env(safe-area-inset-bottom)); }
  .expired-logo { width: 88px; }
  .expired-panel h2 { font-size: clamp(1.9rem, 8.4vw, 2.25rem); }
  .expired-offer {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "kicker" "prices" "detail" "countdown" "action";
    gap: 6px;
    padding: 14px;
  }
  .expired-offer-prices { gap: clamp(6px, 2.2vw, 10px); }
  .expired-offer-prices .offer-price-unit--was { flex: 1 1 42%; }
  .expired-offer-prices .offer-price-unit--now { flex: 1 1 52%; min-width: 0; }
  .expired-offer-prices del { font-size: clamp(0.9rem, 4.2vw, 1.15rem); white-space: nowrap; }
  .expired-offer-prices strong {
    display: block;
    max-width: 100%;
    font-size: clamp(1.25rem, 5.8vw, 1.4rem);
    white-space: nowrap;
  }
  .expired-offer-action { min-height: 42px; margin-top: 5px; }
  .expired-actions { align-items: stretch; }
  .expired-actions .control-button { min-height: 42px; padding-inline: 10px; font-size: 0.78rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }

  .offer-banner::before,
  .modal-offer-summary::before,
  .expired-offer::before,
  #offerPrice,
  #offerReducedPrice,
  #modalOfferPrice,
  #expiredOfferPrice { animation: none !important; }

  .fallback-mark span { animation: none !important; }
  .attention-card { animation: modal-fade-in 120ms ease both !important; }
  .attention-card.is-motion-settled { animation: none !important; }
  .attention-card.is-auto-emerging { animation: modal-fade-in 120ms ease-out both !important; transform: none !important; }
  .attention-card.is-emerging { animation: modal-fade-in 120ms ease-out both !important; transform: none !important; }
  .attention-card.is-collapsing { animation: modal-fade-out 120ms ease-in both !important; transform: none !important; }
  .attention-card.is-collapsing.is-auto-collapsing { animation: none !important; opacity: 0; }
  .modal.is-emerging .modal-card { animation: modal-fade-in 120ms ease-out both !important; transform: none !important; }
  .modal.is-collapsing .modal-card { animation: modal-fade-out 120ms ease-in both !important; transform: none !important; }
  .modal.is-emerging .modal-backdrop { animation: modal-fade-in 120ms ease-out both !important; }
  .modal.is-collapsing .modal-backdrop { animation: modal-fade-out 120ms ease-in both !important; }
  .modal[data-modal-variant="meeting-nudge"].is-emerging .modal-card {
    animation: modal-fade-in 0.01ms linear both !important;
  }
  .modal[data-modal-variant="meeting-nudge"].is-collapsing .modal-card {
    animation: modal-fade-out 0.01ms linear both !important;
  }
  .modal[data-modal-variant="meeting-nudge"].is-emerging .modal-backdrop {
    animation: modal-fade-in 0.01ms linear both !important;
  }
  .modal[data-modal-variant="meeting-nudge"].is-collapsing .modal-backdrop {
    animation: modal-fade-out 0.01ms linear both !important;
  }
  .attention-card.is-dismissed,
  .control-dock.is-expired { transform: none; }
  .control-dock.is-timer-revealed .dock-timer { transition: none; }
  .dock-action,
  .dock-action:is(:hover, :focus-visible) { transform: none; }
  .page-public .control-button:hover { transform: none; }
  .toast,
  .toast.is-visible { transform: translateX(-50%); }
}
.seo-score-table{width:100%;border-spacing:0;border-collapse:separate;overflow:hidden;border:1px solid rgba(149,190,209,.2);border-radius:12px}.seo-score-table :is(th,td){padding:7px 10px;border-bottom:1px solid rgba(149,190,209,.16);text-align:center}.seo-score-table tbody th{text-align:left;font-weight:600}.seo-score-table tr:last-child :is(th,td){border-bottom:0}.seo-score-table :is(th,td):nth-child(3){border-inline:1px solid rgba(12,206,107,.26);background:rgba(12,206,107,.075)}.seo-score-table thead th:nth-child(3){color:#83e8ae}.seo-score-table th:last-child,.seo-score-table td:last-child{width:42px;padding-inline:5px}.seo-score-ring{--ring-color:#ff4e42;width:64px;aspect-ratio:1;display:grid;place-items:center;margin:auto;border-radius:50%;background:radial-gradient(circle closest-side,#0b192a 76%,transparent 78% 99%),conic-gradient(var(--ring-color) calc(var(--score,0)*1%),rgba(255,255,255,.1) 0)}.seo-score-ring strong{font-size:1.15rem}.seo-score-ring.score-good{--ring-color:#0cce6b;color:#0cce6b}.seo-score-ring.score-average{--ring-color:#ffa400;color:#ffa400}.seo-score-ring.score-poor{--ring-color:#ff4e42;color:#ff4e42}.seo-score-ring.score-missing{--ring-color:#8190a2;color:#aebccd;background:rgba(129,144,162,.1)}.seo-score-cell>span{display:block;margin-top:3px;color:#8d9aaa;font-size:.63rem;line-height:1.1}.seo-score-delta{color:#8d9aaa;font-weight:700}.seo-score-delta.is-positive{color:#0cce6b}.seo-report-measured{margin:9px 0 0;color:rgba(226,240,245,.5);font-size:.72rem}
html.is-compare-active,html.is-compare-active body{height:100%;overflow:hidden}.compare-stage{position:fixed;inset:0;z-index:1;height:100vh;height:100dvh;overflow:hidden;background:#fff}.compare-stage[hidden]{display:none}.compare-panes{display:grid;grid-template-columns:1fr;height:100%;min-height:0;overflow:hidden}.compare-pane{position:relative;min-width:0;min-height:0;overflow:hidden;background:#fff}.compare-pane iframe,.compare-pane>.demo-frame{display:block;width:100%;height:100%;border:0}.compare-pane-label{position:absolute;top:8px;left:8px;z-index:2;padding:5px 9px;border-radius:99px;background:#071321dd;color:#fff;font-size:.75rem}.compare-divider{position:relative;display:none;width:10px;height:100%;background:var(--dock-ink);pointer-events:none}.compare-divider::after{content:"";position:absolute;inset-block:0;left:50%;width:1px;background:rgba(255,255,255,.18);transform:translateX(-50%)}.compare-capture{height:100%;overflow:hidden}.compare-capture img{display:block;width:100%;height:auto}.compare-capture p{display:grid;min-height:100vh;margin:0;padding:30px;place-items:center;color:#526173;text-align:center}.compare-current{display:none}.compare-stage:not(.is-split) .compare-pane-label{display:none}.compare-stage.is-split .compare-panes{grid-template-columns:calc(50% - 5px) 10px calc(50% - 5px)}.compare-stage.is-split .compare-current,.compare-stage.is-split .compare-divider{display:block}
.compare-launcher,.compare-mobile-scores{position:fixed;z-index:10000002;left:var(--compare-left,18px);bottom:var(--compare-bottom,106px);display:flex;align-items:center;color:var(--ice);border:1px solid rgba(126,214,245,.32);border-radius:12px;background:rgba(4,25,36,.94);backdrop-filter:blur(18px);box-shadow:0 16px 45px rgba(0,7,11,.45);font-size:.72rem}.compare-launcher{overflow:hidden;transition:opacity 260ms ease,transform 260ms ease,visibility 260ms ease}.compare-launcher button{padding:9px 11px;border:0;background:transparent;color:inherit}.compare-launcher button+button{border-left:1px solid #ffffff28}.compare-launcher button:hover{background:#ffffff12}.compare-launcher button.is-active{background:#176b87;color:#fff}.page-public.controls-collapsed .compare-launcher,.page-public.controls-hidden .compare-launcher,.page-public.controls-collapsed .compare-mobile-scores,.page-public.controls-hidden .compare-mobile-scores{opacity:0;visibility:hidden;pointer-events:none;transform:translateY(16px)}.compare-score-button{display:none}
@media(max-width:760px){.compare-stage,.compare-mobile-scores{display:none!important}.compare-launcher{right:12px;bottom:var(--compare-mobile-bottom,100px);left:auto}.compare-launcher #compareOpen{display:none!important}.compare-launcher button{padding:9px 12px}.seo-score-table :is(th,td){padding:7px 4px;font-size:.72rem}.seo-score-table th:last-child,.seo-score-table td:last-child{width:28px}.seo-score-ring{width:46px}.seo-score-ring strong{font-size:.92rem}}
@media(prefers-reduced-motion:reduce){.compare-stage *{animation:none!important;transition:none!important}}
.compare-launcher{transition-duration:240ms}

/* Item 80: fresh-link form on the expired screen */
.expired-link { margin-top: 1.1rem; display: grid; gap: .5rem; }
.expired-link label { font-size: .85rem; opacity: .8; }
.expired-link-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.expired-link-row input { flex: 1 1 220px; min-width: 0; padding: .6rem .75rem; border: 1px solid rgba(255,255,255,.25); border-radius: 6px; background: rgba(255,255,255,.06); color: inherit; font: inherit; }
.expired-link-status { margin: 0; font-size: .85rem; opacity: .85; }
