/* Homepage: hero + sheet, How it works (product stage with stepping tabs), Security.
   Tokens follow the Churney design system: off-white #f0f0e6, green #9bfa91, ink #282826. */
:root {
  --hx-ink: #282826;
  --hx-muted: rgba(40, 40, 38, .62);
  --hx-faint: rgba(40, 40, 38, .45);
  --hx-line: rgba(40, 40, 38, .1);
  --hx-green: #9bfa91;
  --hx-green-soft: #d8fdd3;
  --hx-green-ink: #143a10;
  --hx-sheet: #fafaf6;
  --hx-ease: cubic-bezier(.2, 0, 0, 1);
}

/* ---------- Hero stays put; the rest of the page slides over it as a sheet ---------- */
@media (min-width: 992px) {
  .home-hero-stick { position: sticky; top: var(--hx-stick, 0px); z-index: 0; }
  .home-hero-stick > * { transform-origin: 50% 0; will-change: transform, opacity; }
}
.home-sheet {
  position: relative;
  z-index: 1;
  background: var(--hx-sheet);
  border-radius: 32px 32px 0 0;
  box-shadow: 0 -1px 0 rgba(12, 11, 10, .05), 0 -28px 56px -36px rgba(12, 11, 10, .28);
}
.home-sheet > section.logos,
.home-sheet > section.cta,
.home-sheet > section.footer,
.home-sheet section.logos .logo-section { background-color: transparent !important; }
.home-sheet > section.logos { padding-top: 12px; }
@media (max-width: 991px) { .home-sheet { border-radius: 24px 24px 0 0; } }

/* ---------- Shared section frame ---------- */
.hx-wrap { max-width: 1440px; margin: 0 auto; padding: 0 100px; box-sizing: border-box; }
.hx-eye { margin: 0 0 14px; font-size: 14px; line-height: 1.2; letter-spacing: .08em; text-transform: uppercase; color: rgba(40, 40, 38, .6); }
.hx-h2 { margin: 0; font-size: 44px; line-height: 1.08; letter-spacing: -.02em; font-weight: 400; color: var(--hx-ink); }
.hx-btn {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; padding: 12px 22px;
  border-radius: 999px; background: var(--hx-ink); color: #fff !important; text-decoration: none !important;
  font-size: 15px; line-height: 1; transition: background-color .15s;
}
.hx-btn::after { content: "\2192"; }
.hx-btn:hover { background: #000; }

/* ---------- How it works ---------- */
.hx { padding: 120px 0 112px; color: var(--hx-ink); }
.hx-head, .sx-head { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; margin-bottom: 48px; }
.hx-side p { margin: 0; max-width: 470px; font-size: 18px; line-height: 1.5; color: var(--hx-ink); }

.hx-stage {
  position: relative; height: 580px; border-radius: 28px; overflow: hidden; isolation: isolate;
  background-color: #e9e9df;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='69.282' viewBox='0 0 120 69.282'%3E%3Cpath d='M0 0L120 69.282M0 69.282L120 0' stroke='%23282826' stroke-opacity='.08' stroke-width='1' fill='none'/%3E%3C/svg%3E");
  background-size: 120px 69.282px;
  background-position: center top;
}
.hx-stage::before { /* green tiles on the floor, as in the brand illustrations */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='960' height='554.256' viewBox='0 0 960 554.256'%3E%3Cg fill='%239bfa91' fill-opacity='.3'%3E%3Cpath d='M60 34.641L120 69.282L60 103.923L0 69.282Z'/%3E%3Cpath d='M420 242.487L480 277.128L420 311.769L360 277.128Z'/%3E%3Cpath d='M840 103.923L900 138.564L840 173.205L780 138.564Z'/%3E%3Cpath d='M660 415.692L720 450.333L660 484.974L600 450.333Z'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 960px 554.256px; background-position: center top;
}
.hx-app {
  position: absolute; left: 50%; top: 64px; width: min(1000px, calc(100% - 96px)); height: 600px;
  transform: translateX(-50%); display: grid; grid-template-columns: 208px 1fr;
  background: #fff; border: 1px solid rgba(12, 11, 10, .08); border-radius: 16px;
  box-shadow: 0 2px 6px rgba(12, 11, 10, .06), 0 30px 60px -30px rgba(12, 11, 10, .35);
  font-size: 13px; line-height: 1.35; overflow: hidden;
}
.hx-nav { border-right: 1px solid var(--hx-line); padding: 16px 12px; background: #fcfcf9; }
.hx-ws { display: flex; flex-direction: column; gap: 10px; padding: 4px 8px 16px; border-bottom: 1px solid var(--hx-line); margin-bottom: 14px; }
.hx-ws img { width: 92px; height: auto; }
.hx-ws span { font-size: 12px; color: var(--hx-muted); }
.hx-nav-h { margin: 0 8px 6px; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--hx-faint); }
.hx-ni { display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 8px; color: var(--hx-muted); transition: background-color .3s, color .3s; }
.hx-ni svg, .sx-list svg, .sx-badge svg { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.hx-stage[data-step="0"] .hx-ni[data-for="0"],
.hx-stage[data-step="1"] .hx-ni[data-for="1"],
.hx-stage[data-step="2"] .hx-ni[data-for="2"],
.hx-stage[data-step="3"] .hx-ni[data-for="3"] { background: #f0f0e6; color: var(--hx-ink); }

.hx-main { position: relative; }
.hx-pane {
  position: absolute; inset: 0; padding: 20px 24px; opacity: 0; visibility: hidden;
  transform: translateY(8px); transition: opacity .45s var(--hx-ease), transform .45s var(--hx-ease), visibility 0s linear .45s;
}
.hx-stage[data-step="0"] [data-pane="0"], .hx-stage[data-step="1"] [data-pane="1"],
.hx-stage[data-step="2"] [data-pane="2"], .hx-stage[data-step="3"] [data-pane="3"] {
  opacity: 1; visibility: visible; transform: none; transition: opacity .45s var(--hx-ease) .08s, transform .45s var(--hx-ease) .08s, visibility 0s;
}
.hx-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding-bottom: 16px; margin-bottom: 16px; border-bottom: 1px solid var(--hx-line); }
.hx-top small { display: block; font-size: 11px; color: var(--hx-faint); margin-bottom: 3px; }
.hx-top b { font-weight: 400; font-size: 17px; color: var(--hx-ink); }
.hx-chip, .hx-live { flex: none; font-size: 12px; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--hx-line); color: var(--hx-ink); }
.hx-live { display: inline-flex; align-items: center; gap: 7px; }
.hx-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #3fbf3a; box-shadow: 0 0 0 3px rgba(155, 250, 145, .45); animation: hxPulse 1.8s ease-in-out infinite; }
@keyframes hxPulse { 50% { box-shadow: 0 0 0 6px rgba(155, 250, 145, 0); } }

/* pane 0: sources */
.hx-table { border: 1px solid var(--hx-line); border-radius: 12px; overflow: hidden; }
.hx-tr { display: grid; grid-template-columns: 1.6fr .7fr .9fr .8fr; gap: 12px; padding: 11px 14px; border-top: 1px solid var(--hx-line); align-items: center; color: var(--hx-ink); }
.hx-tr:first-child { border-top: 0; }
.hx-th { background: #fafaf6; font-size: 11px; color: var(--hx-faint); letter-spacing: .02em; }
.hx-tr code { font-family: "IBM Plex Sans", ui-monospace, monospace; font-size: 12.5px; background: none; padding: 0; color: var(--hx-ink); }
.hx-ok { display: inline-flex; align-items: center; gap: 7px; }
.hx-ok::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #3fbf3a; }
.hx-accts { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.hx-accts span { display: inline-flex; align-items: center; gap: 8px; padding: 9px 12px; border: 1px solid var(--hx-line); border-radius: 10px; color: var(--hx-ink); }
.hx-accts img, .hx-d > img { width: 16px; height: 16px; }
.hx-accts i { font-style: normal; font-size: 11px; color: var(--hx-green-ink); background: var(--hx-green-soft); padding: 2px 7px; border-radius: 999px; }

/* pane 1: predictions */
.hx-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.hx-stats > div { border: 1px solid var(--hx-line); border-radius: 12px; padding: 12px 14px; }
.hx-stats small { display: block; font-size: 11px; color: var(--hx-faint); margin-bottom: 6px; }
.hx-stats b { font-weight: 400; font-size: 24px; letter-spacing: -.01em; color: var(--hx-ink); font-variant-numeric: tabular-nums; }
.hx-feed { border: 1px solid var(--hx-line); border-radius: 12px; overflow: hidden; }
.hx-row { display: grid; grid-template-columns: 76px 1fr 64px 40px; gap: 12px; align-items: center; padding: 10px 14px; border-top: 1px solid var(--hx-line); color: var(--hx-ink); }
.hx-row:first-child { border-top: 0; }
.hx-row b { font-weight: 400; text-align: right; font-variant-numeric: tabular-nums; }
.hx-row em { font-style: normal; text-align: right; color: var(--hx-faint); font-size: 12px; }
.hx-tag { justify-self: start; font-size: 11px; padding: 2px 8px; border-radius: 999px; background: #f0f0e6; color: var(--hx-muted); white-space: nowrap; }
.hx-tag.is-top { background: var(--hx-green); color: #000; }
.hx-row.is-new { animation: hxRowIn .6s var(--hx-ease); }
@keyframes hxRowIn { from { opacity: 0; transform: translateY(-8px); background: #f6fff4; } }

/* pane 2: destinations */
.hx-dest { display: grid; gap: 10px; }
.hx-d { display: grid; grid-template-columns: 16px 150px 1fr 120px 92px; gap: 16px; align-items: center; border: 1px solid var(--hx-line); border-radius: 12px; padding: 14px 16px; color: var(--hx-ink); }
.hx-d b { display: block; font-weight: 400; font-size: 14px; }
.hx-d small { display: block; font-size: 11px; color: var(--hx-faint); }
.hx-dm b { font-size: 17px; font-variant-numeric: tabular-nums; }
.hx-flow { position: relative; height: 0; border-top: 2px dotted rgba(40, 40, 38, .18); }
.hx-flow i { position: absolute; top: -5px; left: -10px; width: 8px; height: 8px; border-radius: 50%; background: var(--hx-green); box-shadow: 0 0 0 2px #fff; animation: hxFlow 2.4s linear infinite; }
.hx-flow i:nth-child(2) { animation-delay: .8s; }
.hx-flow i:nth-child(3) { animation-delay: 1.6s; }
@keyframes hxFlow { to { left: 100%; } }

/* pane 3: experiment */
.hx-chart { position: relative; border: 1px solid var(--hx-line); border-radius: 12px; padding: 18px 18px 12px; }
.hx-chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.hx-grid line { stroke: var(--hx-line); stroke-width: 1; }
.hx-area { fill: var(--hx-green); opacity: 0; }
.hx-stage[data-step="3"] .hx-area { animation: hxArea 1.2s var(--hx-ease) .6s forwards; }
@keyframes hxArea { to { opacity: .22; } }
.hx-l1, .hx-l2 { fill: none; stroke-width: 2.5; stroke-linecap: round; }
.hx-l1 { stroke: #2f9e2a; stroke-dasharray: 1; stroke-dashoffset: 1; }
.hx-l2 { stroke: rgba(40, 40, 38, .38); stroke-dasharray: 5 5; }
.hx-stage[data-step="3"] .hx-l1 { animation: hxDraw 1.6s var(--hx-ease) .25s forwards; }
@keyframes hxDraw { to { stroke-dashoffset: 0; } }
.hx-axis { display: flex; justify-content: space-between; margin-top: 8px; font-size: 11px; color: var(--hx-faint); }
.hx-legend { display: flex; gap: 18px; margin-top: 12px; font-size: 12px; color: var(--hx-muted); }
.hx-legend span::before { content: ""; display: inline-block; width: 14px; height: 0; border-top: 2px dashed rgba(40, 40, 38, .38); vertical-align: middle; margin-right: 7px; }
.hx-legend .is-c::before { border-top: 2.5px solid #2f9e2a; }
.hx-legend .hx-ylab { margin-left: auto; }
.hx-legend .hx-ylab::before { display: none; }
.hx-read { display: flex; align-items: center; gap: 8px; margin-top: 14px; }
.hx-read small { font-size: 12px; color: var(--hx-faint); margin-right: 4px; }
.hx-read span { font-size: 12px; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--hx-line); color: var(--hx-muted); }
.hx-read .is-on { background: var(--hx-green); border-color: var(--hx-green); color: #000; }

/* code card */
.hx-code {
  position: absolute; right: 48px; bottom: 40px; width: 280px; z-index: 2;
  background: #141413; color: #e9e9df; border-radius: 14px; padding: 14px 18px 18px;
  box-shadow: 0 24px 48px -20px rgba(12, 11, 10, .55);
  opacity: 0; transform: translateY(12px); transition: opacity .45s var(--hx-ease), transform .45s var(--hx-ease);
}
.hx-stage[data-step="0"] .hx-code { opacity: 1; transform: none; transition-delay: .15s; }
.hx-code-h { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; color: rgba(233, 233, 223, .5); margin-bottom: 12px; }
.hx-code-s::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--hx-green); margin-right: 6px; vertical-align: middle; }
.hx-code pre { margin: 0; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13px; line-height: 1.7; white-space: pre; overflow: hidden; color: #f0f0e6; background: none; border: 0; padding: 0; }
.hx-code .k { color: var(--hx-green); }
.hx-code .c { color: rgba(233, 233, 223, .45); }
.hx-cap { display: none; }
.hx-note { position: absolute; left: 22px; bottom: 16px; margin: 0; font-size: 12px; color: var(--hx-muted); z-index: 2; }

/* stepping tabs */
.hx-tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 32px; }
.hx-tab {
  display: flex; flex-direction: column; justify-content: flex-start; align-self: start; text-align: left; background: none; border: 0; padding: 0; margin: 0; cursor: pointer;
  font: inherit; color: var(--hx-faint); -webkit-appearance: none; appearance: none;
}
.hx-bar { display: block; height: 2px; background: var(--hx-line); margin-bottom: 18px; overflow: hidden; border-radius: 2px; }
.hx-bar i { display: block; height: 100%; width: 0; background: var(--hx-ink); }
.hx-tab.is-active .hx-bar i { animation: hxProg var(--hx-dur, 6.5s) linear forwards; }
.hx-tabs.is-paused .hx-tab.is-active .hx-bar i { animation-play-state: paused; }
@keyframes hxProg { to { width: 100%; } }
.hx-tab b { display: block; font-weight: 400; font-size: 19px; line-height: 1.25; margin-bottom: 8px; color: inherit; transition: color .3s; }
.hx-tab span:not(.hx-bar) { display: block; font-size: 15px; line-height: 1.5; transition: color .3s; }
.hx-tab.is-active, .hx-tab:hover { color: var(--hx-ink); }
.hx-tab.is-active span:not(.hx-bar) { color: var(--hx-muted); }
.hx-tab:focus-visible { outline: 2px solid #1f9d3f; outline-offset: 6px; border-radius: 4px; }

/* ---------- Security ---------- */
.sx { padding: 112px 0; color: var(--hx-ink); }
.sx-head { margin-bottom: 40px; }
.sx-badge {
  justify-self: end; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px;
  border-radius: 999px; border: 1px solid var(--hx-line); background: #fff; color: var(--hx-ink) !important;
  text-decoration: none !important; font-size: 14px; transition: border-color .15s;
}
.sx-badge svg { color: #2f9e2a; }
.sx-badge:hover { border-color: rgba(40, 40, 38, .35); }
.sx-card { display: grid; grid-template-columns: 1.1fr 1fr; border: 1px solid var(--hx-line); border-radius: 24px; overflow: hidden; background: #fff; }
.sx-visual { position: relative; min-height: 440px; display: grid; place-items: center; background-color: #ecece2; }
.sx-visual img { width: min(62%, 340px); height: auto; mix-blend-mode: multiply; }
.sx-tag { position: absolute; font-size: 13px; padding: 7px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--hx-line); box-shadow: 0 8px 20px -12px rgba(12, 11, 10, .35); color: var(--hx-ink); }
.sx-tag::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--hx-green); margin-right: 8px; vertical-align: middle; }
.sx-t1 { left: 12%; top: 22%; }
.sx-t2 { right: 10%; bottom: 20%; }
.sx-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.sx-list li { display: grid; grid-template-columns: 22px 1fr; gap: 16px; padding: 32px 36px; border-top: 1px solid var(--hx-line); flex: 1; align-items: start; }
.sx-list li:first-child { border-top: 0; }
.sx-list svg { width: 20px; height: 20px; margin-top: 2px; color: var(--hx-ink); }
.sx-list b { display: block; font-weight: 400; font-size: 19px; line-height: 1.3; margin-bottom: 6px; }
.sx-list p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--hx-muted); }
.sx-list a { color: var(--hx-ink); text-decoration: underline; text-decoration-color: var(--hx-green); text-decoration-thickness: 2px; text-underline-offset: 3px; }

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
  .hx-wrap { padding: 0 48px; }
  .hx-code { width: 340px; right: 24px; }
  .hx-d { grid-template-columns: 16px 130px 1fr 110px 80px; gap: 12px; }
}
@media (max-width: 991px) {
  .hx, .sx { padding: 88px 0; }
  .hx-head, .sx-head { grid-template-columns: 1fr; gap: 20px; align-items: start; }
  .sx-badge { justify-self: start; }
  .hx-h2 { font-size: 36px; }
  .hx-stage { height: auto; padding: 28px 20px 64px; }
  .hx-app { position: relative; left: auto; top: auto; transform: none; width: 100%; height: 520px; grid-template-columns: 1fr; }
  .hx-nav { display: none; }
  .hx-code { position: relative; right: auto; bottom: auto; width: auto; margin-top: -60px; margin-left: 24px; margin-right: 24px; display: none; }
  .hx-stage[data-step="0"] .hx-code { display: block; }
  .hx-tabs { grid-template-columns: 1fr 1fr; gap: 28px 24px; }
  .sx-card { grid-template-columns: 1fr; }
  .sx-visual { min-height: 300px; }
}
@media (max-width: 767px) {
  .hx .hx-wrap { display: flex; flex-direction: column; }
  .hx-head { order: 1; margin-bottom: 32px; }
  .hx-tabs { order: 2; grid-template-columns: repeat(4, 1fr) !important; gap: 10px !important; margin: 0 0 6px; }
  .hx-cap { order: 3; display: block; margin: 0 0 18px; min-height: 4.5em; font-size: 15px; line-height: 1.5; color: var(--hx-muted); }
  .hx-stage { order: 4; }
  .hx-tab b { font-size: 15px; margin: 0; }
  .hx-bar { margin-bottom: 10px; }
  .hx-tab span:not(.hx-bar) { display: none; }
}
@media (max-width: 600px) {
  .hx-wrap { padding: 0 20px; }
  .hx-h2 { font-size: 32px; }
  .hx-stage { border-radius: 20px; padding: 16px 12px 52px; }
  .hx-app { height: 470px; border-radius: 12px; }
  .hx-pane { padding: 16px 14px; }
  .hx-tr { grid-template-columns: 1.5fr .7fr .9fr; }
  .hx-tr > :nth-child(3) { display: none; }
  .hx-stats { grid-template-columns: 1fr 1fr; }
  .hx-stats > div:nth-child(2) { display: none; }
  .hx-row { grid-template-columns: 70px 1fr 48px; }
  .hx-row em { display: none; }
  .hx-d { grid-template-columns: 16px 1fr 70px; }
  .hx-d > :nth-child(3), .hx-d > :nth-child(4) { display: none; }
  .hx-legend .hx-ylab { display: none; }
  .hx-code { margin: -48px 8px 0; }
  .hx-code pre { font-size: 10px; }
  .hx-tabs { grid-template-columns: 1fr; gap: 22px; }
  .sx-list li { padding: 24px 22px; }
  .sx-t1 { left: 6%; } .sx-t2 { right: 6%; }
}
@media (prefers-reduced-motion: reduce) {
  .hx-pane, .hx-code, .hx-ni { transition: none !important; }
  .hx-flow i, .hx-live::before { animation: none; }
  .hx-flow i:not(:first-child) { display: none; }
  .hx-flow i:first-child { left: 50%; }
  .hx-l1 { stroke-dashoffset: 0; animation: none !important; }
  .hx-area { opacity: .22; animation: none !important; }
  .hx-tab.is-active .hx-bar i { animation: none; width: 100%; }
}

/* ---------- Results (one experiment from the Churney app, anonymized) ---------- */
.pf { padding: 40px 0 120px; color: var(--hx-ink); }
.pf-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 40px; }
.pf-note { margin: 0; font-size: 15px; color: var(--hx-muted); }
.pf-card { position: relative; background: #fff; border: 1px solid var(--hx-line); border-radius: 28px; padding: 36px 40px 28px; }
.pf-legend { display: flex; gap: 22px; justify-content: flex-end; font-size: 13px; color: var(--hx-muted); margin-bottom: 8px; }
.pf-legend span::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 8px; vertical-align: -1px; }
.pf-legend .is-b::before { background: #d6d6cb; }
.pf-legend .is-c::before { background: var(--hx-green); }
.pf-chart { display: block; width: 100%; height: auto; overflow: visible; }
.rs-axis { stroke: rgba(40, 40, 38, .14); stroke-width: 1; }
.rs-b { fill: #d6d6cb; }
.rs-c { fill: var(--hx-green); }
.rs-p { font-size: 15px; fill: var(--hx-ink); font-family: inherit; }
.rs-x { font-size: 13px; fill: var(--hx-muted); font-family: inherit; }
.pf.is-armed .rs-b, .pf.is-armed .rs-c { transform: scaleY(0); transform-box: fill-box; transform-origin: 50% 100%; transition: transform 1s var(--hx-ease); transition-delay: calc(var(--i) * 70ms); }
.pf.is-armed .rs-c { transition-delay: calc(var(--i) * 70ms + 120ms); }
.pf.is-armed .rs-p { opacity: 0; transition: opacity .6s var(--hx-ease); transition-delay: calc(var(--i) * 70ms + 700ms); }
.pf.is-in .rs-b, .pf.is-in .rs-c { transform: none; }
.pf.is-in .rs-p { opacity: 1; }
@media (max-width: 767px) {
  .pf-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .pf-card { padding: 22px 14px 14px; border-radius: 20px; overflow-x: auto; }
  .pf-chart { min-width: 620px; }
  .pf-legend { justify-content: flex-start; padding-left: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  .pf.is-armed .rs-b, .pf.is-armed .rs-c, .pf.is-armed .rs-p { transform: none !important; opacity: 1 !important; transition: none !important; }
}

/* ---------- Homepage: fewer sections (injected extras hidden) ---------- */
.ia-doors, .ia-pov, section.tms { display: none !important; }

/* ---------- The problem: three illustrated cards ---------- */
.wy { padding: 112px 0 40px; color: var(--hx-ink); }
.wy-head { margin-bottom: 48px; }
.wy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.wy-card { margin: 0; }
.wy-img { aspect-ratio: 4 / 3; border-radius: 24px; background: #ececE2; display: grid; place-items: center; overflow: hidden; }
.wy-img img { width: 62%; height: auto; max-height: 78%; object-fit: contain; animation: wyFloat 7s ease-in-out infinite; }
.wy-card:nth-child(2) .wy-img img { animation-delay: -2.3s; }
.wy-card:nth-child(3) .wy-img img { animation-delay: -4.6s; }
@keyframes wyFloat { 50% { transform: translateY(-8px); } }
.wy-card figcaption { padding: 18px 4px 0; text-align: left; }
.wy-card b { display: block; font-weight: 400; font-size: 19px; line-height: 1.3; margin-bottom: 4px; }
.wy-card span { font-size: 15px; line-height: 1.5; color: var(--hx-muted); }
@media (max-width: 767px) { .wy { padding: 80px 0 24px; } .wy-grid { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Reveal on scroll (fade up, like trajectory.ai) ---------- */
html.rv-ready [data-rv] { opacity: 0; transform: translateY(24px); transition: opacity .9s cubic-bezier(.16, 1, .3, 1), transform .9s cubic-bezier(.16, 1, .3, 1); transition-delay: var(--rv-d, 0ms); }
html.rv-ready [data-rv].rv-in { opacity: 1; transform: none; }

/* ---------- Product stage: tilts flat as it scrolls in; code card floats on its own layer ---------- */
@media (min-width: 992px) {
  .hx-stage { perspective: 1600px; }
  .hx-app { transform: translateX(-50%) translateY(var(--hx-lift, 0px)) rotateX(var(--hx-tilt, 0deg)) scale(var(--hx-sc, 1)); transform-origin: 50% 0; will-change: transform; }
  .hx-code { translate: 0 var(--hx-cy, 0px); }
  .hx-stage::before { translate: 0 var(--hx-fy, 0px); }
}
@media (prefers-reduced-motion: reduce) {
  html.rv-ready [data-rv] { opacity: 1; transform: none; transition: none; }
  .wy-img img { animation: none; }
}
