.qh {
  --qh-accent: #b17aff;
  --qh-accent-hover: #d4b5ff;
  --qh-muted: #bcb2c8;
  --qh-top: 98px;
  position: relative;
  padding-top: var(--qh-top);
  color: #f7f4fc;
  color-scheme: dark;
}
.qh *, .qh *::before, .qh *::after { box-sizing: border-box; }
.qh.is-enhanced { height: auto; }
.qh-stage { position: relative; height: max(480px, calc(100svh - var(--qh-top) - 20px)); }
.qh.is-enhanced .qh-stage { position: relative; }
.qh-frame {
  --qh-gap: 20px;
  --qh-radius: 28px;
  position: absolute;
  inset: 0;
  overflow: clip;
  isolation: isolate;
  clip-path: inset(0 var(--qh-gap) round var(--qh-radius));
  background: #000;
}
.qh-visual, .qh-veil { position: absolute; inset: 0; pointer-events: none; }
.qh-topline, .qh-bottomline { position: absolute; left: clamp(28px, 4.8vw, 92px); right: clamp(28px, 4.8vw, 92px); display: flex; align-items: center; justify-content: space-between; z-index: 6; }
.qh-topline { top: 27px; }
.qh-studio { display: inline-flex; align-items: center; gap: 10px; font-size: 10px; font-weight: 500; line-height: 1.5; letter-spacing: .15em; color: #d8cce8; }
.qh-live-dot { height: 5px; width: 5px; border-radius: 50%; background: var(--qh-accent); box-shadow: 0 0 12px #b17aff80; }
.qh-playback { display: flex; align-items: center; gap: 18px; }
.qh-playback[hidden] { display: none; }
.qh .qh-toggle, .qh .qh-skip { display: inline-flex; justify-content: center; align-items: center; background: #1a122466; color: var(--qh-muted); cursor: pointer; border: 0; padding: 0; font: inherit; }
.qh .qh-toggle { border: 1px solid #c5aaff44; border-radius: 50%; width: 32px; height: 32px; }
.qh .qh-toggle:hover { color: var(--qh-accent-hover); border-color: var(--qh-accent); }
.qh-toggle svg { width: 18px; height: 18px; }
.qh-toggle .qh-icon-pause, .qh-toggle .qh-icon-play { display: none; }
.qh[data-state="playing"] .qh-icon-pause, .qh[data-state="paused"] .qh-icon-play { display: block; }
.qh[data-state="playing"] .qh-icon-replay, .qh[data-state="paused"] .qh-icon-replay { display: none; }
.qh .qh-skip { gap: 8px; font-size: 10px; }
.qh[data-state="finished"] .qh-skip { display: none; }
.qh a:focus-visible, .qh button:focus-visible { outline: 2px solid var(--qh-accent); outline-offset: 5px; }
.qh-visual { z-index: 1; opacity: .2; filter: blur(18px); }
.qh.is-enhanced .qh-visual { opacity: 1; filter: none; }
.qh-laptop { position: absolute; width: min(100%, 1500px, calc(160svh - 180px)); aspect-ratio: 2880 / 1450; overflow: clip; left: 50%; top: 49%; transform: translate(-50%, -50%); transform-origin: center; }
.qh.is-enhanced[data-state="playing"] .qh-laptop { will-change: transform; }
.qh .qh-device-image { position: absolute; top: 0; left: 0; display: block; width: 100%; max-width: none; height: auto; filter: grayscale(1) brightness(.9); }
.qh-screen { position: absolute; left: 23.506944%; top: 1.37931%; width: 52.986111%; height: 68.62069%; overflow: hidden; border-radius: 2.3% 2.3% 1.5% 1.5% / 3.5% 3.5% 2.4% 2.4%; background: #121314; }
.qh .qh-code-reference, .qh-code { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.qh .qh-code-reference { max-width: none; object-fit: fill; }
.qh-code { z-index: 1; }
.qh-camera { position: absolute; z-index: 2; left: 48.4%; top: .6%; width: 3.2%; height: 2.6%; border-radius: 999px; background: #000; }
.qh-camera::after { content: ""; position: absolute; left: 54%; top: 35%; width: 8%; aspect-ratio: 1; border-radius: 50%; background: #11161e; }
.qh.is-loading .qh-visual { opacity: 0 !important; }
.qh-playback { padding: 5px 6px 5px 13px; border-radius: 999px; background: #000b; backdrop-filter: blur(10px); }
.qh-veil {
  z-index: 2;
  opacity: 1;
  background:
    radial-gradient(ellipse at 50% 76%, #6c2eb05c, transparent 52%),
    radial-gradient(ellipse at 50% 36%, #32184ee8, #180d2a99 64%, #12091f40),
    linear-gradient(transparent 75%, #12091fa0);
}
.qh.is-enhanced .qh-veil { opacity: 0; }
.qh-copy { position: absolute; width: min(1120px, calc(100% - 100px)); top: 48%; left: 50%; z-index: 4; text-align: center; transform: translate(-50%, -50%); }
.qh.is-enhanced .qh-copy { opacity: 0; }
.qh .qh-eyebrow { margin: 0 0 24px; color: #bda6df; font-size: 10px; font-weight: 500; line-height: 1.5; letter-spacing: .2em; }
.qh #qh-heading { color: #f7f4fc; font-family: var(--font-inter-tight, "Inter Tight", Arial, sans-serif); font-size: clamp(40px, 5vw, 84px); font-weight: 500; font-style: normal; font-synthesis: none; font-kerning: normal; letter-spacing: 0; line-height: 1.16; margin: 0; }
.qh-heading-line { display: block; }
.qh #qh-heading em { color: var(--qh-accent); font-style: normal; font-weight: 500; }
.qh .qh-description { color: var(--qh-muted); font-size: clamp(13px, 1.13vw, 18px); line-height: 1.75; margin: 26px auto 28px; max-width: 750px; }
.qh-actions { display: flex; align-items: center; justify-content: center; gap: 28px; }
.qh .qh-cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 25px;
  padding: 15px 23px; border: 1px solid #b17aff70; border-radius: 100px;
  background: linear-gradient(110deg, #ffffff12, transparent 70%), #7737d2;
  box-shadow: 0 8px 24px #803bd44d;
  color: #fff; font-size: 13px; font-weight: 600; line-height: 1.5; text-decoration: none;
  transition: background-color .2s, box-shadow .2s, transform .2s;
}
.qh-cta svg { width: 20px; height: 20px; }
.qh .qh-cta:hover { background-color: #823fd9; box-shadow: 0 10px 28px #803bd466; transform: translateY(-2px); }
.qh .qh-work { display: inline-flex; align-items: center; gap: 10px; color: #dbd1e9; font-size: 13px; line-height: 1.5; text-decoration: none; }
.qh .qh-work:hover { color: var(--qh-accent); }
.qh-work > span { font-size: 18px; }
.qh-disciplines { display: flex; justify-content: center; align-items: center; gap: 12px; margin-top: 27px; color: #a99ab9; font-size: 10px; line-height: 1.5; }
.qh-disciplines i { width: 3px; height: 3px; border-radius: 50%; background: #ad8bd9; }
.qh-bottomline { bottom: 30px; min-height: 35px; }
.qh-sequence { display: flex; align-items: center; gap: 24px; }
.qh-chapter { font: 9px ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .05em; color: #b3a0ca; min-width: 105px; }
.qh-timeline { display: flex; gap: 4px; }
.qh-timeline > span { display: block; width: 27px; height: 2px; background: #c5aaff30; position: relative; }
.qh-timeline > span::after { content: ""; position: absolute; inset: 0; background: var(--qh-accent); transform-origin: left; transform: scaleX(var(--progress, 0)); }
.qh .qh-scroll { display: flex; position: absolute; left: 50%; transform: translateX(-50%); align-items: center; gap: 12px; color: var(--qh-muted); font-size: 10px; text-decoration: none; white-space: nowrap; line-height: 1.5; }
.qh-scroll-icon { display: grid; place-items: center; width: 27px; height: 35px; border: 1px solid #c5aaff44; border-radius: 18px; color: var(--qh-accent-hover); font-size: 16px; }
.qh.is-reduced { height: auto; }
.qh.is-reduced .qh-stage { position: relative; top: auto; }
.qh.is-reduced .qh-playback { display: none; }
@media (max-width: 1100px) and (min-width: 761px) {
  .qh-laptop { width: min(115%, 1400px, calc(160svh - 180px)); }
  .qh-sequence { gap: 12px; }
  .qh-timeline { display: none; }
  .qh #qh-heading { font-size: clamp(42px, 6vw, 66px); }
}
@media (max-width: 760px) {
  .qh { --qh-top: 86px; }
  .qh-stage { height: max(480px, calc(100svh - var(--qh-top) - 12px)); }
  .qh-frame { --qh-gap: 10px; --qh-radius: 22px; }
  .qh-topline, .qh-bottomline { left: 25px; right: 25px; }
  .qh-topline { top: 21px; }
  .qh-studio { font-size: 8px; letter-spacing: .12em; gap: 7px; }
  .qh-playback { gap: 10px; }
  .qh .qh-skip { font-size: 9px; gap: 5px; }
  .qh .qh-toggle { width: 29px; height: 29px; }
  .qh-laptop { width: 138%; }
  .qh-copy { width: calc(100% - 52px); top: 46%; }
  .qh .qh-eyebrow { font-size: 8px; letter-spacing: .14em; margin-bottom: 22px; }
  .qh #qh-heading { font-size: clamp(26px, 7.4vw, 51px); line-height: 1.18; letter-spacing: 0; }
  .qh .qh-description { font-size: 13px; line-height: 1.7; margin-top: 22px; margin-bottom: 25px; max-width: 450px; }
  .qh-desktop-break { display: none; }
  .qh-actions { gap: 19px; }
  .qh .qh-cta { font-size: 11px; padding: 13px 16px; gap: 12px; }
  .qh .qh-work { font-size: 11px; gap: 5px; }
  .qh-disciplines { font-size: 8px; gap: 9px; margin-top: 24px; }
  .qh-bottomline { bottom: 92px; }
  .qh-sequence { display: none; }
  .qh-chapter { font-size: 8px; }
  .qh-timeline { display: none; }
  .qh .qh-scroll { font-size: 9px; gap: 9px; }
}
@media (max-width: 359px) {
  .qh-copy { width: calc(100% - 42px); }
  .qh .qh-eyebrow { font-size: 7px; }
  .qh #qh-heading { font-size: 25px; }
  .qh-actions { gap: 12px; }
  .qh .qh-cta { padding: 12px 13px; gap: 8px; }
  .qh .qh-work { font-size: 10px; }
  .qh-disciplines { font-size: 7px; gap: 7px; }
}
@media (prefers-reduced-motion: reduce) {
  .qh *, .qh *::before, .qh *::after { scroll-behavior: auto !important; transition: none !important; }
}
