/* ============================================================
   HEALIFY DECK — IMMERSIVE LAYER
   Gate, Anna opener, David arc, live demo, score thread, ask sim
   Namespaced .hx- / #hx- ; consumes tokens from the main deck CSS
   ============================================================ */

/* ------------------------------------------------------------
   1 · NAME GATE (full-viewport overlay, outside deck-stage)
   ------------------------------------------------------------ */
#hx-gate {
  position: fixed; inset: 0; z-index: 1000;
  background:
    radial-gradient(ellipse at 75% 15%, rgba(255,105,66,0.16) 0%, transparent 50%),
    linear-gradient(135deg, #03040d 0%, #0d0b12 55%, #1a1018 100%);
  display: flex; align-items: center; justify-content: center;
  font-family: "SFRounded", -apple-system, system-ui, sans-serif;
  color: #fff;
  opacity: 1;
  transition: opacity 0.7s ease;
  overflow: hidden;
}
#hx-gate.hx-leaving { opacity: 0; pointer-events: none; }
#hx-gate .hx-orb {
  position: absolute; border-radius: 50%;
  filter: blur(60px); pointer-events: none;
}
#hx-gate .hx-orb.o1 { width: 520px; height: 520px; right: -140px; bottom: -160px;
  background: radial-gradient(circle, rgba(255,105,66,0.34) 0%, rgba(253,179,107,0.12) 45%, transparent 70%); }
#hx-gate .hx-orb.o2 { width: 380px; height: 380px; left: -120px; top: -100px;
  background: radial-gradient(circle, rgba(253,179,107,0.18) 0%, transparent 65%); }
#hx-gate .hx-orb.o3 { width: 220px; height: 220px; left: 18%; bottom: 12%;
  background: radial-gradient(circle, rgba(255,105,66,0.14) 0%, transparent 70%); }
@media (prefers-reduced-motion: no-preference) {
  #hx-gate .hx-orb { animation: hxDrift 14s ease-in-out infinite alternate; }
  #hx-gate .hx-orb.o2 { animation-duration: 18s; animation-delay: -6s; }
  #hx-gate .hx-orb.o3 { animation-duration: 11s; animation-delay: -3s; }
}
@keyframes hxDrift {
  from { transform: translate(0, 0); }
  to   { transform: translate(-40px, -30px); }
}
#hx-gate .hx-card {
  position: relative; z-index: 2;
  width: min(520px, calc(100vw - 48px));
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  gap: 0;
}
#hx-gate .hx-logo { height: 34px; margin-bottom: 44px; opacity: 0.9; }
#hx-gate .hx-avatar {
  width: 84px; height: 84px; border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 3px rgba(255,255,255,0.12), 0 12px 36px rgba(255,105,66,0.25);
  margin-bottom: 24px;
}
#hx-gate .hx-bubble {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.10);
  backdrop-filter: blur(12px);
  border-radius: 22px;
  padding: 18px 26px;
  font-size: 19px; line-height: 1.5;
  color: rgba(255,255,255,0.92);
  min-height: 62px;
  display: flex; align-items: center; justify-content: center;
}
#hx-gate .hx-bubble .hx-caret {
  display: inline-block; width: 2px; height: 1.1em;
  background: var(--orange, #FF6942);
  margin-left: 2px; vertical-align: text-bottom;
}
@media (prefers-reduced-motion: no-preference) {
  #hx-gate .hx-bubble .hx-caret { animation: hxBlink 0.9s steps(1) infinite; }
}
@keyframes hxBlink { 50% { opacity: 0; } }
#hx-gate form {
  margin-top: 32px;
  display: flex; gap: 10px; width: 100%;
  opacity: 0; transform: translateY(8px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
}
#hx-gate form.hx-ready { opacity: 1; transform: none; pointer-events: auto; }
#hx-gate input {
  flex: 1;
  font-family: inherit; font-size: 18px;
  padding: 16px 22px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.06);
  color: #fff;
  outline: none;
  min-width: 0;
}
#hx-gate input::placeholder { color: rgba(255,255,255,0.35); }
#hx-gate input:focus { border-color: rgba(255,105,66,0.7); background: rgba(255,255,255,0.09); }
#hx-gate button[type="submit"] {
  font-family: inherit; font-size: 17px; font-weight: 600;
  padding: 16px 30px;
  border-radius: 999px; border: 0;
  background: linear-gradient(95deg, #FF6942 0%, #FDB36B 100%);
  color: #2b1006;
  cursor: pointer;
  flex-shrink: 0;
}
#hx-gate button[type="submit"]:hover { filter: brightness(1.06); }
#hx-gate .hx-skip {
  margin-top: 22px;
  font-size: 14px; color: rgba(255,255,255,0.45);
  background: none; border: none; cursor: pointer;
  font-family: inherit;
  text-decoration: underline; text-underline-offset: 3px;
  opacity: 0; transition: opacity 0.5s ease 0.2s;
  pointer-events: none;
}
#hx-gate .hx-skip.hx-ready { opacity: 1; pointer-events: auto; }
#hx-gate .hx-skip:hover { color: rgba(255,255,255,0.7); }

/* ------------------------------------------------------------
   2 · ANNA OPENER SLIDE  (.hx-open)
   ------------------------------------------------------------ */
.hx-open { position: relative; overflow: hidden; }
.hx-open .glow {
  position: absolute; right: -180px; bottom: -200px;
  width: 800px; height: 800px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,105,66,0.30) 0%, rgba(253,179,107,0.10) 40%, transparent 68%);
  filter: blur(50px); pointer-events: none;
}
.hx-open .hx-thread {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 1080px;
  display: flex; flex-direction: column; gap: 26px;
}
.hx-open .hx-msg {
  display: flex; gap: 20px; align-items: flex-end;
  max-width: 880px;
}
.hx-open .hx-msg img {
  width: 64px; height: 64px; border-radius: 50%;
  object-fit: cover; flex-shrink: 0;
  box-shadow: 0 0 0 2px rgba(255,255,255,0.14);
}
.hx-open .hx-msg .hx-b {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 28px 28px 28px 8px;
  padding: 26px 34px;
  font-size: 31px; line-height: 1.45;
  color: rgba(255,255,255,0.94);
}
.hx-open .hx-msg .hx-b strong { color: #FDB36B; font-weight: 600; }
.hx-open .hx-typing {
  display: inline-flex; gap: 7px; align-items: center;
  padding: 4px 2px;
}
.hx-open .hx-typing i {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,0.55);
}
@media (prefers-reduced-motion: no-preference) {
  .hx-open .hx-typing i { animation: hxDot 1.1s ease-in-out infinite; }
  .hx-open .hx-typing i:nth-child(2) { animation-delay: 0.15s; }
  .hx-open .hx-typing i:nth-child(3) { animation-delay: 0.3s; }
}
@keyframes hxDot { 0%, 60%, 100% { transform: none; opacity: 0.5; } 30% { transform: translateY(-6px); opacity: 1; } }
.hx-open .hx-hint {
  position: absolute; bottom: 70px; left: 50%; transform: translateX(-50%);
  font-size: 24px; letter-spacing: 1px; color: rgba(255,255,255,0.4);
}
/* JS sequencing: messages start hidden ONLY when js + active; base = visible */
.hx-js .hx-open .hx-msg { opacity: 0; transform: translateY(14px); transition: opacity 0.45s ease, transform 0.45s ease; }
.hx-js .hx-open .hx-msg.hx-shown { opacity: 1; transform: none; }
.hx-js .hx-open .hx-hint { opacity: 0; transition: opacity 0.6s ease; }
.hx-js .hx-open .hx-hint.hx-shown { opacity: 1; }

/* ------------------------------------------------------------
   3 · DAVID INTERLUDES  (.hx-david1 / .hx-david2)
   ------------------------------------------------------------ */
.hx-david1, .hx-david2 { position: relative; overflow: hidden; }
.hx-david1 .glow {
  position: absolute; left: -160px; top: -180px;
  width: 760px; height: 760px; border-radius: 50%;
  background: radial-gradient(circle, rgba(253,179,107,0.16) 0%, transparent 65%);
  filter: blur(60px); pointer-events: none;
}
.hx-david2 .glow {
  position: absolute; right: -160px; top: -160px;
  width: 800px; height: 800px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,105,66,0.22) 0%, transparent 65%);
  filter: blur(60px); pointer-events: none;
}
.hx-chapter {
  font-family: "SFRounded", -apple-system, system-ui, sans-serif;
  font-size: 24px; letter-spacing: 2.5px; text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
.hx-chapter .hx-ch-dot {
  display: inline-block; width: 10px; height: 10px; border-radius: 50%;
  background: var(--orange, #FF6942); margin-right: 14px;
  vertical-align: 2px;
}

.hx-david1 .frame {
  position: absolute; inset: 0; padding: 110px 100px;
  display: grid; grid-template-columns: 1fr 640px; gap: 80px;
  align-items: center;
}
.hx-david1 .hx-copy h2 {
  font-family: "Rebond", system-ui, sans-serif;
  font-weight: 500; font-size: 110px; letter-spacing: -3px; line-height: 1.02;
  margin: 36px 0 30px;
}
.hx-david1 .hx-copy h2 em {
  font-style: normal;
  background: linear-gradient(95deg, #FF6942 0%, #FDB36B 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hx-david1 .hx-copy .hx-bio {
  font-size: 32px; line-height: 1.5; color: rgba(255,255,255,0.78);
  max-width: 760px;
}
.hx-david1 .hx-copy .hx-quote {
  margin-top: 44px;
  font-family: "Rebond", system-ui, sans-serif;
  font-weight: 300; font-size: 44px; letter-spacing: -0.5px;
  color: rgba(255,255,255,0.92);
}
.hx-david1 .hx-copy .hx-quote span { color: rgba(255,255,255,0.45); font-size: 26px; display: block; margin-top: 12px; font-family: "SFRounded", sans-serif; letter-spacing: 0; }
.hx-foot {
  position: absolute; left: 100px; right: 100px; bottom: 64px;
  display: flex; align-items: center; gap: 18px;
  font-size: 25px; color: rgba(255,255,255,0.55);
  border-top: 1px solid rgba(255,255,255,0.10);
  padding-top: 26px;
}
.hx-foot strong { color: #fff; font-weight: 600; }

/* Dial */
.hx-dialwrap { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.hx-dial { position: relative; width: 440px; height: 440px; }
.hx-dial svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.hx-dial .hx-track { stroke: rgba(255,255,255,0.10); }
.hx-dial .hx-arc { stroke: url(#hxGradArc); stroke-linecap: round; }
.hx-dial .hx-val {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-family: "Rebond", system-ui, sans-serif;
}
.hx-dial .hx-val .n { font-size: 130px; font-weight: 500; letter-spacing: -4px; line-height: 1; }
.hx-dial .hx-val .c { font-size: 24px; color: rgba(255,255,255,0.55); margin-top: 10px; font-family: "SFRounded", sans-serif; }
.hx-dial-caption { font-size: 25px; color: rgba(255,255,255,0.6); text-align: center; }

.hx-markers { display: flex; flex-direction: column; gap: 14px; margin-top: 6px; width: 440px; }
.hx-markers .m {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 14px 22px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  font-size: 24px;
}
.hx-markers .m .k { color: rgba(255,255,255,0.7); }
.hx-markers .m .v { font-weight: 600; color: #fff; white-space: nowrap; }
.hx-markers .m .v.bad  { color: #ff8a6b; }
.hx-markers .m .v.good { color: #92eda3; }

/* David II — centered */
.hx-david2 .frame {
  position: absolute; inset: 0; padding: 70px 100px 110px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: 0;
}
.hx-david2 h2 {
  font-family: "Rebond", system-ui, sans-serif;
  font-weight: 500; font-size: 88px; letter-spacing: -2.5px;
  margin: 22px 0 38px;
}
.hx-david2 .hx-journeyline {
  display: flex; align-items: center; gap: 30px; margin: 10px 0 26px;
}
.hx-david2 .hx-startscore { display: flex; flex-direction: column; align-items: center; }
.hx-david2 .hx-startscore .sn { font-family: "Rebond", sans-serif; font-weight: 300; font-size: 80px; line-height: 1; color: rgba(255,255,255,0.5); letter-spacing: -2px; }
.hx-david2 .hx-startscore .sl { font-size: 20px; color: rgba(255,255,255,0.45); margin-top: 8px; letter-spacing: 0.5px; }
.hx-david2 .hx-gain { display: flex; flex-direction: column; }
.hx-david2 .hx-gain .gn { font-family: "Rebond", sans-serif; font-weight: 500; font-size: 76px; line-height: 0.95; color: #92eda3; letter-spacing: -2px; }
.hx-david2 .hx-gain .gl { font-size: 21px; color: rgba(255,255,255,0.6); margin-top: 6px; line-height: 1.25; }
.hx-david2 .hx-dial { width: 280px; height: 280px; }
.hx-david2 .hx-dial .hx-val .n { font-size: 84px; }
.hx-david2 .hx-arrow { font-size: 60px; color: rgba(255,255,255,0.4); font-family: "Rebond", sans-serif; }
.hx-david2 .hx-deltas { display: flex; gap: 20px; margin-top: 26px; }
.hx-david2 .hx-deltas .d {
  padding: 22px 28px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 20px;
  min-width: 260px;
}
.hx-david2 .hx-deltas .d .v {
  font-family: "Rebond", sans-serif; font-weight: 500;
  font-size: 44px; letter-spacing: -1px; color: #92eda3;
}
.hx-david2 .hx-deltas .d .k { font-size: 22px; color: rgba(255,255,255,0.6); margin-top: 8px; }
.hx-david2 .hx-deltas .d .cause {
  margin-top: 16px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.10);
  font-size: 19px; line-height: 1.4; color: rgba(255,255,255,0.6); text-wrap: pretty;
}
.hx-david2 .hx-deltas .d .cause .who { color: var(--orange, #FF6942); font-weight: 600; }
.hx-david2 .hx-annaline {
  margin-top: 40px;
  display: flex; align-items: center; gap: 18px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 999px;
  padding: 16px 34px 16px 18px;
  font-size: 27px; color: rgba(255,255,255,0.9);
}
.hx-david2 .hx-annaline img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }

/* ------------------------------------------------------------
   4 · LIVE DEMO SLIDE  (.hx-demo)
   ------------------------------------------------------------ */
.hx-demo .frame {
  position: absolute; inset: 0; padding: 130px 90px 70px;
  display: grid; grid-template-columns: 360px 1fr; gap: 52px;
  align-items: center;
}
.hx-demo .hx-left .label { margin-bottom: 20px; }
.hx-demo .hx-left .title { max-width: 860px; font-size: 58px; line-height: 1.04; }
.hx-demo .hx-left .lead { margin-top: 20px; max-width: 780px; font-size: 24px; line-height: 1.45; }
.hx-demo .hx-tips { margin-top: 26px; display: flex; flex-direction: column; gap: 10px; max-width: 700px; }
.hx-demo .hx-tip { padding: 14px 22px; font-size: 22px; }
.hx-demo .hx-tip .n { width: 38px; height: 38px; font-size: 19px; }
.hx-demo .hx-reset { margin-top: 24px; font-size: 21px; padding: 13px 26px; }
.hx-demo .hx-tip {
  display: flex; align-items: center; gap: 20px;
  background: var(--surface, #fff);
  border-radius: 18px;
  padding: 18px 26px;
  font-size: 27px; color: var(--fg-2, #57585d);
  box-shadow: 0 4px 24px rgba(49,31,105,0.08);
}
.hx-demo .hx-tip .n {
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(95deg, #FF6942 0%, #FDB36B 100%);
  color: #fff; font-weight: 600; font-size: 23px;
  flex-shrink: 0;
}
.hx-demo .hx-reset {
  margin-top: 34px;
  font-family: inherit; font-size: 24px; font-weight: 500;
  color: var(--fg-2, #57585d);
  background: none; border: 1.5px solid var(--ink-12, rgba(3,4,13,0.12));
  border-radius: 999px;
  padding: 14px 30px;
  cursor: pointer;
}
.hx-demo .hx-reset:hover { border-color: var(--orange, #FF6942); color: var(--orange, #FF6942); }
.hx-demo .hx-stage {
  display: flex; align-items: center; justify-content: center;
  gap: 40px; position: relative;
}
.hx-demo .iphone { width: 300px; height: 618px; }
.hx-demo .iphone .screen { border-radius: 40px; }
.hx-demo .iphone iframe { pointer-events: auto; }
/* web browser window — the parallel “Healify web” view */
.hx-demo .hx-web {
  width: 760px; height: 624px; flex-shrink: 0;
  background: #fff; border-radius: 16px; overflow: hidden;
  box-shadow: 0 40px 90px rgba(3,4,13,0.22), 0 6px 20px rgba(3,4,13,0.12);
  display: flex; flex-direction: column;
}
.hx-demo .hx-web-bar {
  height: 46px; flex-shrink: 0; display: flex; align-items: center; gap: 9px;
  padding: 0 18px; background: #ECE7E0; border-bottom: 1px solid rgba(3,4,13,0.07);
}
.hx-demo .hx-wd { width: 12px; height: 12px; border-radius: 50%; }
.hx-demo .hx-wd.r { background: #FF5F57; }
.hx-demo .hx-wd.y { background: #FEBC2E; }
.hx-demo .hx-wd.g { background: #28C840; }
.hx-demo .hx-url {
  margin-left: 14px; flex: 1; max-width: 420px;
  display: flex; align-items: center; gap: 8px;
  background: #fff; border-radius: 8px; padding: 7px 16px;
  font-family: "SFRounded", sans-serif; font-size: 16px; color: var(--fg-2, #3a3a42);
}
.hx-demo .hx-url .lock { font-size: 12px; opacity: 0.5; }
.hx-demo .hx-web-body {
  flex: 1; position: relative; overflow: hidden;
  background: radial-gradient(120% 90% at 50% 0%, #FFF6EE 0%, #F4F1ED 60%);
  display: flex; align-items: stretch; justify-content: center;
}
.hx-demo .hx-web-body iframe {
  border: 0; width: 430px; height: 100%; background: transparent;
  box-shadow: 0 0 0 1px rgba(3,4,13,0.05);
}
.hx-demo .hx-livechip {
  position: absolute; top: -34px; right: 0; z-index: 6;
  display: flex; align-items: center; gap: 10px;
  background: var(--ink, #03040D); color: #fff;
  border-radius: 999px;
  padding: 12px 24px;
  font-size: 21px; font-weight: 500;
  z-index: 40;
  box-shadow: 0 8px 24px rgba(3,4,13,0.25);
}
.hx-demo .hx-livechip i {
  width: 10px; height: 10px; border-radius: 50%;
  background: #44c55c;
}
@media (prefers-reduced-motion: no-preference) {
  .hx-demo[data-deck-active] .hx-livechip i { animation: hxPulse 1.6s ease-in-out infinite; }
}
@keyframes hxPulse { 50% { opacity: 0.35; } }

/* ------------------------------------------------------------
   5 · SCORE THREAD PILL  (#hx-pill, viewport overlay)
   ------------------------------------------------------------ */
#hx-pill {
  position: fixed; right: 24px; bottom: 86px; z-index: 500;
  display: flex; align-items: center; gap: 15px;
  background: rgba(3,4,13,0.82);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  padding: 10px 20px 10px 12px;
  font-family: "SFRounded", -apple-system, system-ui, sans-serif;
  color: #fff;
  opacity: 0; transform: translateY(10px);
  transition: opacity 0.45s ease, transform 0.45s ease;
  pointer-events: none;
  user-select: none;
}
#hx-pill.hx-on { opacity: 1; transform: none; }
#hx-pill .hx-minidial { position: relative; width: 52px; height: 52px; }
#hx-pill .hx-minidial svg { width: 100%; height: 100%; transform: rotate(-90deg); }
#hx-pill .hx-minidial .t { stroke: rgba(255,255,255,0.18); }
#hx-pill .hx-minidial .a { stroke: #FF6942; stroke-linecap: round; transition: stroke-dashoffset 0.9s cubic-bezier(0.22,1,0.36,1); }
#hx-pill .hx-lbl { font-size: 13px; letter-spacing: 1.5px; color: rgba(255,255,255,0.55); }
#hx-pill .hx-num { font-size: 30px; font-weight: 600; letter-spacing: -0.3px; min-width: 38px; }
#hx-pill .hx-delta { font-size: 15px; color: #92eda3; font-weight: 600; }

/* ------------------------------------------------------------
   6 · ASK SLIDE — RAISE SIMULATOR  (.hx-sim)
   ------------------------------------------------------------ */
.hx-sim {
  margin-top: 24px;
  background: var(--surface, #fff);
  border-radius: 20px;
  padding: 20px 28px 22px;
  box-shadow: 0 4px 20px rgba(49,31,105,0.07);
  max-width: 800px;
}
.hx-sim .hx-sim-top {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 2px;
}
.hx-sim .hx-sim-label {
  font-size: 18px; letter-spacing: 1.6px; text-transform: uppercase;
  color: var(--fg-3, #9b97aa);
}
.hx-sim .hx-sim-amount {
  font-family: "Rebond", system-ui, sans-serif;
  font-weight: 500; font-size: 40px; letter-spacing: -1.2px;
  color: var(--ink, #03040D);
}
.hx-sim input[type="range"] {
  width: 100%; margin: 12px 0 4px;
  -webkit-appearance: none; appearance: none;
  height: 8px; border-radius: 999px;
  background: linear-gradient(90deg, #FF6942 0%, #FDB36B var(--hx-fill, 33%), rgba(3,4,13,0.08) var(--hx-fill, 33%));
  outline: none; cursor: pointer;
}
.hx-sim input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 28px; height: 28px; border-radius: 50%;
  background: #fff;
  border: 3px solid var(--orange, #FF6942);
  box-shadow: 0 4px 14px rgba(255,105,66,0.4);
  cursor: grab;
}
.hx-sim input[type="range"]::-moz-range-thumb {
  width: 26px; height: 26px; border-radius: 50%;
  background: #fff; border: 3px solid var(--orange, #FF6942);
  box-shadow: 0 4px 14px rgba(255,105,66,0.4);
  cursor: grab;
}
.hx-sim .hx-sim-row {
  display: flex; gap: 44px; margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--ink-08, rgba(3,4,13,0.08));
}
.hx-sim .hx-sim-stat .v {
  font-family: "Rebond", system-ui, sans-serif;
  font-weight: 500; font-size: 32px; letter-spacing: -0.8px;
  color: var(--ink, #03040D);
}
.hx-sim .hx-sim-stat .v em { font-style: normal; font-size: 22px; color: var(--fg-2); letter-spacing: 0; }
.hx-sim .hx-sim-stat .k { font-size: 18px; color: var(--fg-3, #9b97aa); margin-top: 2px; }
.hx-sim .hx-sim-unlock {
  margin-top: 14px;
  display: flex; align-items: center; gap: 11px;
  font-size: 20px; color: var(--fg-2, #57585d);
}
.hx-sim .hx-sim-unlock .dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--orange, #FF6942); flex-shrink: 0;
}
.hx-sim .hx-sim-unlock strong { color: var(--ink, #03040D); font-weight: 600; }

/* ------------------------------------------------------------
   7 · VISION — DAVID EPILOGUE CHIP
   ------------------------------------------------------------ */
.hx-epilogue {
  display: inline-flex; align-items: flex-start; gap: 16px;
  width: fit-content; max-width: 1180px; align-self: flex-start;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 22px;
  padding: 20px 32px 20px 20px;
  font-size: 26px; line-height: 1.45; color: rgba(255,255,255,0.85);
  margin-bottom: 44px;
}
.hx-epilogue .hx-minidial { position: relative; width: 46px; height: 46px; flex-shrink: 0; margin-top: 1px; }
.hx-epilogue .hx-minidial svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.hx-epilogue .hx-minidial .t { stroke: rgba(255,255,255,0.18); }
.hx-epilogue .hx-minidial .a { stroke: #92eda3; stroke-linecap: round; }
.hx-epilogue strong { color: #fff; font-weight: 600; }

/* ------------------------------------------------------------
   8 · ENTRY ANIMATIONS (gated on active slide + motion pref)
   Base state = final state; animation runs FROM hidden.
   ------------------------------------------------------------ */
@media (prefers-reduced-motion: no-preference) {
  [data-deck-active] .hx-rise,
  [data-deck-active] .stat-row .item,
  [data-deck-active] .ministats .row,
  [data-deck-active] .hx-deltas .d,
  [data-deck-active] .hx-markers .m {
    animation: hxRise 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
  }
  [data-deck-active] .hx-rise:nth-child(2),
  [data-deck-active] .stat-row .item:nth-child(2),
  [data-deck-active] .ministats .row:nth-child(2),
  [data-deck-active] .hx-deltas .d:nth-child(2),
  [data-deck-active] .hx-markers .m:nth-child(2) { animation-delay: 0.12s; }
  [data-deck-active] .hx-rise:nth-child(3),
  [data-deck-active] .stat-row .item:nth-child(3),
  [data-deck-active] .ministats .row:nth-child(3),
  [data-deck-active] .hx-deltas .d:nth-child(3),
  [data-deck-active] .hx-markers .m:nth-child(3) { animation-delay: 0.24s; }
}
@keyframes hxRise {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: none; }
}

/* ------------------------------------------------------------
   9 · ASK SLIDE — compacted to make room for the simulator
   ------------------------------------------------------------ */
.ask .left .title { font-size: 72px; margin: 22px 0 16px; }
.ask .left .lead { margin-bottom: 22px; font-size: 30px; }
.ask .uses { gap: 10px; }
.ask .uses .u { padding-top: 12px; }
.ask .uses .pct { font-size: 40px; }
.ask .uses .lbl { font-size: 22px; }

/* ============================================================
   10 · CONCIERGE INTAKE — multi-step, Claude-personalized
   Extends the #hx-gate overlay defined in section 1.
   ============================================================ */
/* progress dots */
#hx-gate .hx-steps {
  display: flex; gap: 9px; margin-bottom: 30px;
  opacity: 0.9;
}
#hx-gate .hx-steps i {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.16);
  transition: background 0.4s ease, width 0.4s ease;
}
#hx-gate .hx-steps i.on { background: var(--orange, #FF6942); width: 26px; border-radius: 999px; }
#hx-gate .hx-steps i.done { background: rgba(255,255,255,0.45); }

/* the typed question now larger + multi-line friendly */
#hx-gate .hx-bubble { max-width: 480px; min-height: 70px; text-align: left; }

/* chips row for the thesis step */
#hx-gate .hx-chips {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
  margin-top: 26px; width: 100%; max-width: 480px;
  opacity: 0; transform: translateY(8px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
}
#hx-gate .hx-chips.hx-ready { opacity: 1; transform: none; pointer-events: auto; }
#hx-gate .hx-chip {
  font-family: inherit; font-size: 16px;
  padding: 11px 20px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.05); color: rgba(255,255,255,0.85);
  cursor: pointer; transition: all 0.2s ease;
}
#hx-gate .hx-chip:hover { border-color: rgba(255,105,66,0.6); color: #fff; }
#hx-gate .hx-chip.sel {
  background: linear-gradient(95deg, #FF6942 0%, #FDB36B 100%);
  border-color: transparent; color: #2b1006; font-weight: 600;
}

/* "Anna is preparing your deck" loader */
#hx-gate .hx-prep {
  display: none; flex-direction: column; align-items: center;
  margin-top: 30px; width: 100%;
}
#hx-gate .hx-prep.on { display: flex; }
#hx-gate .hx-prep .hx-ring {
  width: 56px; height: 56px; border-radius: 50%;
  border: 3px solid rgba(255,255,255,0.12);
  border-top-color: var(--orange, #FF6942);
  margin-bottom: 22px;
}
@media (prefers-reduced-motion: no-preference) {
  #hx-gate .hx-prep .hx-ring { animation: hxSpin 0.9s linear infinite; }
}
@keyframes hxSpin { to { transform: rotate(360deg); } }
#hx-gate .hx-prep .hx-status {
  font-size: 16px; color: rgba(255,255,255,0.6);
  min-height: 22px; letter-spacing: 0.2px;
  transition: opacity 0.3s ease;
}

/* form holds input + button; in the optional steps a skip-step link appears */
#hx-gate .hx-stepskip {
  margin-top: 16px; font-size: 14px; color: rgba(255,255,255,0.4);
  background: none; border: none; cursor: pointer; font-family: inherit;
  text-decoration: underline; text-underline-offset: 3px;
  opacity: 0; transition: opacity 0.4s ease; pointer-events: none;
}
#hx-gate .hx-stepskip.hx-ready { opacity: 1; pointer-events: auto; }
#hx-gate .hx-stepskip:hover { color: rgba(255,255,255,0.7); }

/* ============================================================
   11 · BUILT-FOR YOU SLIDE  (.builtfor) — personalized closer
   ============================================================ */
.builtfor { position: relative; overflow: hidden; }
.builtfor .glow {
  position: absolute; right: -180px; top: -160px;
  width: 820px; height: 820px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,105,66,0.26) 0%, rgba(253,179,107,0.08) 42%, transparent 68%);
  filter: blur(55px); pointer-events: none;
}
.builtfor .frame {
  position: absolute; inset: 0; padding: 150px 100px 96px;
  display: flex; flex-direction: column; justify-content: center;
}
.builtfor .label {
  font-family: "SFRounded", sans-serif;
  font-size: 24px; letter-spacing: 2.5px; text-transform: uppercase;
  color: rgba(255,255,255,0.5); margin-bottom: 26px;
  display: flex; align-items: center; gap: 14px;
}
.builtfor .label .hx-spark {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 15px; letter-spacing: 1.5px;
  background: rgba(255,105,66,0.16); color: #FDB36B;
  border: 1px solid rgba(255,105,66,0.3);
  border-radius: 999px; padding: 6px 14px;
}
.builtfor h2 {
  font-family: "Rebond", system-ui, sans-serif;
  font-weight: 500; font-size: 84px; letter-spacing: -2.5px; line-height: 1.04;
  max-width: 1500px; margin-bottom: 56px;
}
.builtfor h2 em {
  font-style: normal;
  background: linear-gradient(95deg, #FF6942 0%, #FDB36B 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.builtfor .beats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
  max-width: 1600px;
}
.builtfor .beat {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 24px; padding: 34px 34px 38px;
  display: flex; flex-direction: column; gap: 18px;
}
.builtfor .beat .n {
  width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,105,66,0.14); color: var(--orange, #FF6942);
  font-family: "Rebond", sans-serif; font-weight: 600; font-size: 26px;
}
.builtfor .beat p {
  font-size: 28px; line-height: 1.45; color: rgba(255,255,255,0.86);
  text-wrap: pretty;
}
.builtfor .annaline {
  margin-top: 50px;
  display: inline-flex; align-items: flex-start; gap: 18px; width: fit-content; max-width: 1300px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 26px; padding: 18px 34px 18px 18px;
  font-size: 26px; line-height: 1.4; color: rgba(255,255,255,0.9);
}
.builtfor .annaline img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.builtfor .annaline strong { color: #fff; font-weight: 600; }

/* ============================================================
   12 · CINEMATIC ACT DIVIDERS  (.hx-act)
   ============================================================ */
.hx-act { position: relative; overflow: hidden; }
.hx-act .glow {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 1100px; height: 1100px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,105,66,0.18) 0%, rgba(253,179,107,0.05) 40%, transparent 66%);
  filter: blur(70px); pointer-events: none;
}
.hx-act .frame {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: 0; padding: 100px;
}
.hx-act .actnum {
  font-family: "Rebond", system-ui, sans-serif;
  font-weight: 300; font-size: 40px; letter-spacing: 6px;
  color: var(--orange, #FF6942);
  text-transform: uppercase; margin-bottom: 30px;
}
.hx-act h2 {
  font-family: "Rebond", system-ui, sans-serif;
  font-weight: 500; font-size: 120px; letter-spacing: -3px; line-height: 1.0;
  max-width: 1500px;
}
.hx-act h2 em {
  font-style: normal;
  background: linear-gradient(95deg, #FF6942 0%, #FDB36B 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hx-act .sub {
  margin-top: 34px; font-size: 30px; color: rgba(255,255,255,0.6);
  max-width: 900px; line-height: 1.5;
}
/* entry: divider content fades up when active (hidden base only when motion is allowed) */
@media (prefers-reduced-motion: no-preference) {
  .hx-js .hx-act .frame > * { opacity: 0; transform: translateY(20px); }
  .hx-js .hx-act[data-deck-active] .frame > * {
    animation: hxRise 0.7s cubic-bezier(0.22,1,0.36,1) both;
  }
  .hx-js .hx-act[data-deck-active] .actnum { animation-delay: 0.05s; }
  .hx-js .hx-act[data-deck-active] h2 { animation-delay: 0.16s; }
  .hx-js .hx-act[data-deck-active] .sub { animation-delay: 0.3s; }
}

/* ============================================================
   13 · DEEP PERSONALIZATION — market callout
   ============================================================ */
.market .market-fit {
  margin-top: 18px;
  display: flex; align-items: baseline; gap: 14px;
  max-width: 1180px;
  background: rgba(255,105,66,0.07);
  border: 1px solid rgba(255,105,66,0.22);
  border-radius: 18px;
  padding: 16px 24px;
  font-size: 24px; line-height: 1.45; color: var(--fg-1, #03040D);
  text-wrap: pretty;
}
.market .market-fit::before { content: none; }
.market .market-fit .mf-tag {
  display: inline-block; vertical-align: baseline; flex-shrink: 0;
  font-size: 13px; letter-spacing: 1.4px; font-weight: 600; text-transform: uppercase;
  color: var(--orange, #FF6942);
  background: rgba(255,105,66,0.12);
  border-radius: 999px; padding: 5px 12px;
  margin-right: 0;
}
.market .market-fit strong { font-weight: 600; }

/* ============================================================
   14 · GENERATED CINEMATIC IMAGERY + CURSOR PARALLAX
   Hero stills on cover + act dividers, product photos on
   problem + market. All Higgsfield-generated, dark orange-orb motif.
   ============================================================ */
/* --- hero background layer (cover + act dividers + vision) --- */
.cover, .hx-act, .vision { position: relative; isolation: isolate; }
.cover .hx-herobg, .hx-act .hx-herobg, .vision .hx-herobg {
  position: absolute; inset: -4%; z-index: -2;
  background-size: cover; background-position: center;
  pointer-events: none;
  transform: scale(1.06) translate(var(--hx-px, 0px), var(--hx-py, 0px));
  transition: transform 0.35s cubic-bezier(0.22,1,0.36,1);
  will-change: transform;
}

.cover .hx-herobg { background-image: url("assets/hero-cover.png"); opacity: 0.5; z-index: -3; }
/* ambient video loop sits above the still (which is the poster/fallback) */
.cover .hx-herovid {
  position: absolute; inset: -4%; z-index: -2;
  width: 108%; height: 108%; object-fit: cover;
  opacity: 0.5; pointer-events: none;
  transform: scale(1.06) translate(var(--hx-px, 0px), var(--hx-py, 0px));
  transition: transform 0.35s cubic-bezier(0.22,1,0.36,1);
}
.cover .hx-herovid::after {
  content: ""; position: absolute; inset: 0;
}
.cover .hx-heroscrim {
  position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background: linear-gradient(95deg, rgba(3,4,13,0.9) 26%, rgba(3,4,13,0.5) 58%, rgba(3,4,13,0.2) 100%);
}
.hx-act-1 .hx-herobg { background-image: url("assets/hero-act1.png"); }
.hx-act-2 .hx-herobg { background-image: url("assets/hero-act2.png"); }
.hx-act-3 .hx-herobg { background-image: url("assets/hero-act3.png"); }
.hx-act .hx-herobg { opacity: 0.66; }
.hx-herobg-vision { background-image: url("assets/hero-act3.png"); opacity: 0.42; }
.vision .hx-herobg::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 70% at 50% 46%, rgba(3,4,13,0.28) 0%, rgba(3,4,13,0.74) 80%);
}

/* readability scrims */
.cover .hx-herobg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(95deg, rgba(3,4,13,0.9) 26%, rgba(3,4,13,0.5) 58%, rgba(3,4,13,0.2) 100%);
}
.hx-act .hx-herobg::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(3,4,13,0.32) 0%, rgba(3,4,13,0.72) 78%);
}

/* fade hero in + slow “breathing” brightness pulse when active */
@media (prefers-reduced-motion: no-preference) {
  .hx-js .cover .hx-herobg, .hx-js .hx-act .hx-herobg, .hx-js .vision .hx-herobg { opacity: 0; transition: opacity 1.1s ease, transform 0.35s cubic-bezier(0.22,1,0.36,1); }
  .hx-js .cover[data-deck-active] .hx-herobg { opacity: 0.5; animation: hxBreathe 9s ease-in-out infinite; }
  .hx-js .hx-act[data-deck-active] .hx-herobg { opacity: 0.66; }
  .hx-js .vision[data-deck-active] .hx-herobg { opacity: 0.42; animation: hxBreathe 10s ease-in-out infinite; }
}
@keyframes hxBreathe { 0%, 100% { filter: brightness(0.96) saturate(1); } 50% { filter: brightness(1.14) saturate(1.08); } }

/* --- foreground bokeh orbs (cursor parallax depth) --- */
.hx-fg-orbs { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.hx-fg-orb {
  position: absolute; border-radius: 50%;
  background: radial-gradient(circle at 38% 34%, rgba(255,170,120,0.5), rgba(255,105,66,0.18) 55%, rgba(255,105,66,0) 72%);
  box-shadow: 0 0 40px rgba(255,105,66,0.25);
  transform: translate(var(--ox, 0px), var(--oy, 0px));
  transition: transform 0.5s cubic-bezier(0.22,1,0.36,1);
  will-change: transform;
}
@media (prefers-reduced-motion: no-preference) {
  .hx-fg-orb { animation: hxDrift var(--dur, 14s) ease-in-out infinite alternate; }
}
@keyframes hxDrift {
  from { transform: translate(var(--ox, 0px), var(--oy, 0px)); }
  to   { transform: translate(calc(var(--ox, 0px) + var(--dx, 12px)), calc(var(--oy, 0px) + var(--dy, -14px))); }
}

/* --- product photos on problem (dark) + market (light) --- */
.problem, .market { position: relative; isolation: isolate; }
.problem .hx-photobg, .market .hx-photobg {
  position: absolute; inset: 0; z-index: -2;
  background-size: cover; pointer-events: none;
}

.hx-photobg-problem {
  background-image: url("assets/photo-problem.png");
  background-position: right center; opacity: 0.42;
}
.hx-photobg-problem::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(95deg, rgba(3,4,13,0.96) 32%, rgba(3,4,13,0.62) 62%, rgba(3,4,13,0.28) 100%);
}
.hx-photobg-market {
  background-image: url("assets/photo-market.png");
  background-position: right center; opacity: 0.5;
  -webkit-mask-image: linear-gradient(90deg, transparent 40%, #000 88%);
  mask-image: linear-gradient(90deg, transparent 40%, #000 88%);
}
.hx-photobg-market::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(240,243,245,1) 30%, rgba(240,243,245,0.55) 60%, rgba(240,243,245,0.12) 100%);
}

/* --- Anna living-portrait hero on the opener --- */
.hx-open { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 40px; padding: 104px 120px; }
.hx-open .hx-thread { position: static; left: auto; top: auto; transform: none; }
.hx-anna-hero { position: relative; width: 156px; height: 156px; flex-shrink: 0; }
.hx-anna-vid {
  width: 156px; height: 156px; border-radius: 50%; object-fit: cover; display: block;
  box-shadow: 0 16px 60px rgba(0,0,0,0.55);
}
.hx-anna-ring {
  position: absolute; inset: -8px; border-radius: 50%;
  border: 2px solid rgba(255,105,66,0.55); pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
  .hx-anna-ring { animation: hxPulseRing 3.4s ease-in-out infinite; }
}
@keyframes hxPulseRing {
  0%, 100% { transform: scale(1); opacity: 0.55; }
  50% { transform: scale(1.06); opacity: 0.25; }
}
.hx-anna-live {
  position: absolute; bottom: -14px; left: 50%; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 7px; white-space: nowrap;
  background: rgba(3,4,13,0.82); border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px; padding: 5px 13px;
  font-family: "SFRounded", sans-serif; font-size: 15px; color: rgba(255,255,255,0.9);
}
.hx-anna-live .d { width: 8px; height: 8px; border-radius: 50%; background: #44C55C; box-shadow: 0 0 8px #44C55C; }
.hx-js .hx-open .hx-anna-hero { opacity: 0; transform: translateY(12px) scale(0.96); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22,1,0.36,1); }
.hx-js .hx-open[data-deck-active] .hx-anna-hero { opacity: 1; transform: none; }

/* ============================================================
   15 · EVIDENCE — visual proof layout (replaces dense text)
   ============================================================ */
.evidence .ev-proof {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
  margin-bottom: 30px;
}
.evidence .ev-stat {
  background: #fff; border-radius: 28px; padding: 40px 40px 44px;
  box-shadow: var(--shadow-card);
  display: flex; flex-direction: column; gap: 8px;
}
.evidence .ev-stat .n {
  font-family: var(--font-display); font-weight: 500;
  font-size: 92px; line-height: 0.95; letter-spacing: -3px; color: var(--orange);
}
.evidence .ev-stat .k {
  font-family: var(--font-display); font-weight: 500;
  font-size: 30px; letter-spacing: -0.4px; color: var(--fg-1); margin-top: 6px;
}
.evidence .ev-stat .s { font-size: 23px; color: var(--fg-3); line-height: 1.35; }
.evidence .ev-bottom { display: grid; grid-template-columns: 1.25fr 1fr; gap: 28px; }
.evidence .ev-block {
  background: #fff; border-radius: 28px; padding: 32px 36px;
  box-shadow: var(--shadow-card);
  display: flex; flex-direction: column; gap: 20px;
}
.evidence .ev-h {
  font-family: var(--font-body); font-size: 22px; letter-spacing: 2px;
  text-transform: uppercase; color: var(--orange); font-weight: 500;
}
.evidence .ev-pills, .evidence .ev-chips { display: flex; flex-wrap: wrap; gap: 12px; }
.evidence .ev-pill {
  font-family: var(--font-display); font-weight: 500; font-size: 24px;
  padding: 12px 20px; border-radius: 999px; letter-spacing: -0.2px;
}
.evidence .ev-pill.done { background: rgba(68,197,92,0.14); color: var(--success); }
.evidence .ev-pill.done::before { content: "\2713  "; }
.evidence .ev-pill.now { background: rgba(255,105,66,0.14); color: var(--orange); }
.evidence .ev-pill.plan { background: var(--ink-06); color: var(--fg-3); }
.evidence .ev-chip {
  background: var(--bg-warm); border-radius: 16px; padding: 16px 24px;
  font-family: var(--font-display); font-weight: 500; font-size: 26px;
  letter-spacing: -0.4px; color: var(--fg-1);
}

/* ============================================================
   16 · AI COMMERCE ENGINE  (.commerce)
   ============================================================ */
.commerce { background: var(--bg-app); }
.commerce .head { max-width: 1500px; margin-bottom: 32px; }
.commerce .head .title { font-size: 76px; }
.commerce .cm-flow {
  display: flex; align-items: stretch; gap: 18px; margin-bottom: 30px;
}
.commerce .cm-step {
  flex: 1; background: #fff; border-radius: 24px; padding: 30px 32px;
  box-shadow: var(--shadow-card); display: flex; flex-direction: column; gap: 10px;
}
.commerce .cm-step .cm-i {
  font-family: var(--font-display); font-weight: 600; font-size: 22px; color: var(--orange);
}
.commerce .cm-step h3 {
  font-family: var(--font-display); font-weight: 500; font-size: 32px;
  letter-spacing: -0.5px; color: var(--fg-1);
}
.commerce .cm-step p { font-size: 23px; line-height: 1.4; color: var(--fg-3); }
.commerce .cm-step.cm-earn {
  background: linear-gradient(160deg, #03040d 0%, #1a1018 100%); color: #fff;
  box-shadow: 0 18px 50px rgba(255,105,66,0.26);
}
.commerce .cm-step.cm-earn p { color: rgba(255,255,255,0.72); }
.commerce .cm-arrow {
  align-self: center; font-family: "Rebond", sans-serif; font-size: 44px;
  color: var(--orange); flex-shrink: 0;
}
.commerce .cm-cats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 28px;
}
.commerce .cm-cat {
  background: #fff; border: 1px solid var(--ink-06); border-radius: 18px;
  padding: 22px 26px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  box-shadow: var(--shadow-card);
}
.commerce .cm-cat .cm-name {
  font-family: var(--font-display); font-weight: 500; font-size: 26px;
  letter-spacing: -0.4px; color: var(--fg-1);
}
.commerce .cm-cat .cm-rate {
  font-family: var(--font-body); font-weight: 600; font-size: 20px;
  color: var(--orange); background: rgba(255,105,66,0.12);
  border-radius: 999px; padding: 7px 14px; white-space: nowrap; flex-shrink: 0;
}

/* ============================================================
   17 · ECOSYSTEM — data converging into Healify (animation)
   ============================================================ */
.ecosystem .diagram .eco-wave {
  position: absolute; left: 50%; top: 50%;
  width: 76%; aspect-ratio: 1 / 1; border-radius: 50%;
  border: 1.5px solid rgba(255,105,66,0.4);
  transform: translate(-50%, -50%) scale(1); opacity: 0;
  pointer-events: none; z-index: 1;
}
@media (prefers-reduced-motion: no-preference) {
  .hx-js .ecosystem[data-deck-active] .diagram .eco-wave {
    animation: ecoConverge 3.4s cubic-bezier(0.5,0,0.5,1) infinite;
  }
  .hx-js .ecosystem[data-deck-active] .diagram .eco-wave:nth-child(2) { animation-delay: 1.13s; }
  .hx-js .ecosystem[data-deck-active] .diagram .eco-wave:nth-child(3) { animation-delay: 2.26s; }
  .hx-js .ecosystem[data-deck-active] .diagram .center { animation: ecoHub 3.4s ease-in-out infinite; }
  .hx-js .ecosystem[data-deck-active] .diagram .node .ico { animation: ecoEmit 3.4s ease-in-out infinite; }
  .hx-js .ecosystem[data-deck-active] .diagram .node.ah .ico { animation-delay: 0.4s; }
  .hx-js .ecosystem[data-deck-active] .diagram .node.oura .ico { animation-delay: 0.8s; }
  .hx-js .ecosystem[data-deck-active] .diagram .node.whoop .ico { animation-delay: 1.2s; }
  .hx-js .ecosystem[data-deck-active] .diagram .node.garmin .ico { animation-delay: 1.6s; }
  .hx-js .ecosystem[data-deck-active] .diagram .node.with .ico { animation-delay: 2.0s; }
  .hx-js .ecosystem[data-deck-active] .diagram .node.cgm .ico { animation-delay: 2.4s; }
  .hx-js .ecosystem[data-deck-active] .diagram .node.fitbit .ico { animation-delay: 2.8s; }
}
@keyframes ecoConverge {
  0%   { transform: translate(-50%, -50%) scale(1.12); opacity: 0; }
  18%  { opacity: 0.75; }
  100% { transform: translate(-50%, -50%) scale(0.16); opacity: 0; }
}
@keyframes ecoHub {
  0%, 100% { box-shadow: 0 10px 30px rgba(0,0,0,0.10); }
  50%      { box-shadow: 0 0 46px rgba(255,105,66,0.5); }
}
@keyframes ecoEmit {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.12); box-shadow: 0 0 18px rgba(255,105,66,0.45); }
}
