/* ==========================================================================
   Wize AI Agent page: hero ("Wize AI Agent that gets customer work done.") + the homepage's Wize showcase on a stage.
   Markup: template-parts/rc-v4-wize-ai-agent/hero.php. Behaviour: js/rc-v4-wize-ai-agent/hero.js.
   ========================================================================== */

.rc-wize .rc-wize-hero {
  position: relative; isolation: isolate; overflow: hidden; color: var(--rc-ink);
  padding: clamp(40px, 4.6vw, 64px) 0 clamp(48px, 5.5vw, 72px);
  background: linear-gradient(180deg, #f1efff 0%, #f6f4ff 55%, #fbfaff 100%);
}
/* quiet blueprint grid (64px lines) behind both columns */
.rc-wize-hero .rc-wize-hero-grid { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.rc-wize-hero .rc-wize-hero-grid b {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(60, 40, 160, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(60, 40, 160, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 85% 85% at 50% 40%, #000 15%, transparent 78%);
  mask-image: radial-gradient(ellipse 85% 85% at 50% 40%, #000 15%, transparent 78%);
}
.rc-wize-hero .rc-wize-hero-glow {
  position: absolute; inset: -20% -10% auto 35%; height: 90%; pointer-events: none;
  background: radial-gradient(50% 55% at 60% 30%, rgba(124, 92, 255, 0.18), transparent 70%), radial-gradient(40% 40% at 85% 70%, rgba(77, 125, 255, 0.12), transparent 70%);
}

.rc-wize-hero .rc-wize-hero-inner {
  position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(32px, 5vw, 72px); align-items: center;
}
.rc-wize-hero .rc-wize-hero-copy { gap: 18px; }
.rc-wize-hero .rc-wize-hero-title {
  margin: 0; color: var(--rc-ink); font-family: var(--rc-font);
  font-size: clamp(38px, 4.6vw, 64px); font-weight: 500; line-height: 1.05; letter-spacing: -0.025em; text-wrap: balance;
}
.rc-wize-hero .rc-wize-hero-title em { font-size: 1.08em; color: var(--rc-wize-violet); }
.rc-wize-hero .rc-wize-hero-subtitle {
  margin: 0; max-width: 32.94em; /* the design's 54ch in Manrope, as vercel resolves it */
  font-family: var(--rc-font-text); font-size: clamp(16px, 1.2vw, 18px); line-height: 1.55; color: var(--rc-ink-2);
}

/* the lavender stage with 16px around the 590 x 366 showcase (scaled by js/rc-v4-wize-ai-agent/hero.js) */
.rc-wize-hero .rc-wize-hero-visual {
  padding: 16px; border-radius: 28px;
  background: radial-gradient(70% 90% at 90% 0%, rgba(150, 130, 230, 0.16) 0%, transparent 62%), linear-gradient(160deg, #f1eefa 0%, #e9e6f4 100%);
  box-shadow: inset 0 0 0 1px rgba(90, 70, 170, 0.1);
}
.rc-wize-hero .rc-wize-show-slot {
  position: relative; width: 100%; aspect-ratio: 590 / 366; overflow: hidden; border-radius: 14px;
  box-shadow: 0 24px 50px -28px rgba(50, 35, 120, 0.4), 0 0 0 1px rgba(90, 70, 170, 0.12);
}
.rc-wize-hero .rc-wize-show-frame {
  position: absolute; left: 0; top: 0; width: 590px; max-width: none; height: 366px; border: 0;
  background: transparent; transform-origin: 0 0; pointer-events: none;
}

@media (max-width: 1000px) {
  .rc-wize-hero .rc-wize-hero-inner { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 700px) {
  .rc-wize-hero .rc-wize-hero-title { font-size: 38px; }
}

/* V4 79dae6a: more room above and below, a wider visual column (the motion scales up), the title kept within three lines,
   and on desktop the hero fills the first screen: banner + header + hero + "Trusted by" strip (~268px of chrome) = one viewport */
.rc-wize .rc-wize-hero { padding: clamp(56px, 6.4vw, 96px) 0 clamp(64px, 7.4vw, 104px); }
.rc-wize-hero .rc-wize-hero-inner { grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr); gap: clamp(28px, 4vw, 56px); }
.rc-wize-hero .rc-wize-hero-title { font-size: clamp(36px, 3.9vw, 56px); text-wrap: balance; }
.rc-wize-hero .rc-wize-cta { margin-top: 14px; }
.rc-wize .rc-wize-hero + .rc-proof { position: relative; z-index: 0; }
@media (max-width: 1000px) { .rc-wize-hero .rc-wize-hero-inner { grid-template-columns: minmax(0, 1fr); } }
@media (min-width: 1001px) {
  .rc-wize .rc-wize-hero { display: flex; align-items: center; padding-block: clamp(24px, 3vw, 44px); min-height: max(520px, calc(100svh - 268px)); }
  .rc-wize-hero .rc-wize-hero-inner { width: 100%; }
}
