/* ==========================================================================
   Home page (index.html) — page-only styles, scoped under .page-home / .hm-*
   ========================================================================== */

/* ---------- Hero ---------- */
.page-home .hm-hero { padding-top: clamp(2.5rem, 1.5rem + 4vw, 5.5rem); }
.page-home .hm-hero__inner { margin-inline: auto; align-items: center; text-align: center; max-width: 60rem; }
.page-home .hm-hero__inner .lead { margin-inline: auto; }
.page-home .hm-hero__inner .hero-ctas,
.page-home .hm-hero__inner .hero-meta { justify-content: center; }
.page-home .hm-hero__tag { gap: .4rem; }
.page-home .hm-hero__tag .icon { width: 14px; height: 14px; }

.page-home .hm-hero__visual { position: relative; max-width: 1080px; margin: clamp(2.5rem, 2rem + 3vw, 4.5rem) auto 0; }
/* soft glow pooled under the app window */
.page-home .hm-hero__visual::before {
  content: ""; position: absolute; z-index: -1; inset: 8% 6% -6%; border-radius: 40px;
  background: radial-gradient(60% 60% at 50% 40%, rgba(81, 59, 244, .28), transparent 70%);
  filter: blur(30px); pointer-events: none;
}
.page-home .hm-hero__visual .float-chip { display: none; }
@media (min-width: 1180px) {
  .page-home .hm-hero__visual .float-chip { display: inline-flex; }
  .page-home .hm-fc-1 { left: -3rem; top: -2.1rem; }
  .page-home .hm-fc-2 { right: -3rem; top: -2.1rem; }
  .page-home .hm-fc-3 { left: 50%; bottom: -1.1rem; transform: translateX(-50%); }
}


/* ---------- Marquee ---------- */
.page-home .hm-marquee { padding-top: clamp(3rem, 2rem + 3vw, 5rem); }
.page-home .hm-marquee__label {
  margin-bottom: 1.25rem; text-align: center;
  font-family: var(--font-mono); font-size: var(--fs-micro); letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
}

/* ---------- Testimonial highlight ---------- */
.page-home .hm-proof { padding-top: 0; }
.page-home .hm-proof__grid {
  display: grid; gap: clamp(1.5rem, 1rem + 2vw, 2.5rem); grid-template-columns: 1fr;
  padding: clamp(1.25rem, .75rem + 2vw, 2.5rem); border-radius: var(--r-xl);
  background: linear-gradient(180deg, #fff, var(--canvas)); border: 1px solid var(--border); box-shadow: var(--sh-sm);
}
@media (min-width: 1024px) { .page-home .hm-proof__grid { grid-template-columns: minmax(0, 22rem) minmax(0, 1fr); align-items: center; } }
.page-home .hm-proof__intro { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; }
.page-home .hm-proof__intro .eyebrow { margin: 0; }
.page-home .hm-proof__intro .h3 { font-size: var(--fs-h4); line-height: 1.35; font-weight: 500; color: var(--fg-2); letter-spacing: -.01em; }
.page-home .hm-proof__score { display: flex; align-items: center; gap: .9rem; }
.page-home .hm-proof__num { font-size: clamp(2.75rem, 2rem + 2.5vw, 3.75rem); font-weight: 600; letter-spacing: -.05em; line-height: 1; color: var(--fg); }
.page-home .hm-proof__num small { font-size: .42em; font-weight: 500; letter-spacing: -.02em; color: var(--muted); margin-left: .05em; }
.page-home .hm-proof__meta { display: grid; gap: .3rem; font-size: var(--fs-xs); color: var(--muted); line-height: 1.35; max-width: 11rem; }
.page-home .hm-proof__faces { display: flex; padding-left: 6px; }
.page-home .hm-proof__faces .avatar { width: 40px; height: 40px; margin-left: -8px; font-size: .75rem; }
.page-home .hm-proof__quotes { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 900px) { .page-home .hm-proof__quotes { grid-template-columns: 1.45fr 1fr; align-items: stretch; } }
.page-home .hm-proof__lead { box-shadow: none; background: var(--indigo-50); border-color: rgba(81, 59, 244, .12); padding: clamp(1.25rem, 1rem + 1.5vw, 2rem); justify-content: space-between; }
.page-home .hm-proof__lead .testi__quote { font-size: clamp(1.2rem, 1.05rem + .6vw, 1.5rem); }
.page-home .hm-proof__lead .avatar { box-shadow: 0 0 0 2px var(--indigo-50), 0 0 0 3px rgba(81, 59, 244, .2); }
.page-home .hm-proof__side { box-shadow: none; justify-content: space-between; }
/* Rotating featured testimonials (home.js initProofRotator) */
.page-home .hm-proof__rotator { display: grid; gap: .9rem; min-width: 0; }
.page-home .hm-proof__rotator .testi { transition: opacity .28s ease, transform .28s ease; }
.page-home .hm-proof__rotator.is-swapping .testi { opacity: 0; transform: translateY(6px); }
.page-home .hm-proof__rotator.is-swapping .testi + .testi { transition-delay: .06s; }
@media (max-width: 899px) { .page-home .hm-proof__rotator.is-rotating .hm-proof__side { display: none; } }
.page-home .hm-proof__controls { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.page-home .hm-proof__controls[hidden] { display: none; }
.page-home .hm-proof__dots { display: flex; align-items: center; gap: 2px; }
.page-home .hm-proof__dot { position: relative; width: 36px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; }
.page-home .hm-proof__dot::before { content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 999px; background: #cbd5e1; transition: width .3s ease, margin .3s ease, background-color .3s ease; }
.page-home .hm-proof__dot:hover::before { background: #94a3b8; }
.page-home .hm-proof__dot[aria-current="true"]::before { width: 24px; margin-left: -12px; background: var(--indigo, #513bf4); }
.page-home .hm-proof__dot:focus-visible { outline: 2px solid var(--indigo, #513bf4); outline-offset: 1px; border-radius: 6px; }
.page-home .hm-proof__pause { display: inline-flex; align-items: center; gap: .4rem; min-height: 32px; padding: .25rem .7rem; border: 1px solid var(--line, #e6e8f2); border-radius: 999px; background: #fff; color: var(--muted, #5b6172); font: inherit; font-size: var(--fs-xs, .8125rem); cursor: pointer; }
.page-home .hm-proof__pause:hover { color: var(--fg, #0d0f1a); border-color: #cbd0e0; }
.page-home .hm-proof__pause:focus-visible { outline: 2px solid var(--indigo, #513bf4); outline-offset: 2px; }
.page-home .hm-proof__pause .icon { width: 12px; height: 12px; fill: currentColor; stroke: none; }
@media (prefers-reduced-motion: reduce) {
  .page-home .hm-proof__rotator .testi, .page-home .hm-proof__dot::before { transition: none; }
  .page-home .hm-proof__rotator.is-swapping .testi { opacity: 1; transform: none; }
}

/* ---------- How it works ---------- */
.page-home .hm-how__switch { margin-bottom: clamp(1rem, .5rem + 2vw, 2rem); }
.page-home .hm-mini-row { --gap: .5rem; }
.page-home .hm-fake-btn { justify-self: start; }

/* ---------- Section heads with an aside ---------- */
.page-home .hm-head-aside { display: flex; flex-direction: column; align-items: flex-start; gap: .9rem; max-width: 30rem; }
.page-home p.hm-head-aside { display: block; }
.page-home .hm-head-aside .lead { font-size: var(--fs-base, 1rem); }

/* ---------- Bento visuals ---------- */
.page-home .hm-features .bento__card { gap: 0; }
.page-home .hm-bento-icon { margin-bottom: .85rem; }
.page-home .hm-bv { display: grid; place-items: center; padding: 1.5rem; min-height: 210px; }
.page-home .hm-bento-meta { margin-top: .75rem; font-family: var(--font-mono); font-size: .6875rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.page-home .hm-bv__panel { width: min(100%, 460px); }
.page-home .hm-bv__chips { margin-top: .75rem; }
.page-home .hm-bv__tag { position: absolute; top: .75rem; right: .75rem; }

.page-home .hm-bv__doc {
  width: min(100%, 220px); display: grid; gap: .75rem; padding: 1rem; border-radius: 12px;
  background: #fff; border: 1px solid rgba(13, 15, 26, .07); box-shadow: 0 18px 40px -22px rgba(40, 28, 150, .45);
  transform: rotate(-2deg);
}
.page-home .hm-bv__doc-title { font-family: var(--font-mono); font-size: .625rem; letter-spacing: .08em; text-transform: uppercase; color: #646a7c; }
.page-home .hm-bv__doc .chip { font-size: .625rem; }

/* security lock with pulsing rings */
.page-home .hm-bv--secure { gap: .9rem; align-content: center; }
.page-home .hm-lock { position: relative; display: grid; place-items: center; width: 120px; height: 120px; }
.page-home .hm-lock__tile { position: relative; z-index: 1; width: 64px; height: 64px; border-radius: 18px; }
.page-home .hm-lock__tile .icon { width: 30px; height: 30px; }
.page-home .hm-lock__ring { position: absolute; inset: 14px; border-radius: 50%; border: 1px solid rgba(11, 122, 96, .28); animation: hm-ring 3.2s var(--ease-out) infinite; }
.page-home .hm-lock__ring--2 { animation-delay: 1.6s; }
@keyframes hm-ring { from { transform: scale(.7); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }
.page-home .hm-bv__caption { font-family: var(--font-mono); font-size: .6875rem; color: var(--mint-700); letter-spacing: .02em; }

/* handwriting -> text */
.page-home .hm-scan { display: grid; grid-template-columns: 1fr; gap: 1rem; align-items: center; width: min(100%, 560px); }
@media (min-width: 560px) { .page-home .hm-scan { grid-template-columns: minmax(0, .8fr) auto minmax(0, 1fr); } }
.page-home .hm-scan__paper {
  position: relative; overflow: hidden; display: grid; gap: .35rem; padding: 1rem 1rem 1.1rem;
  border-radius: 10px; background: #fffdf6; border: 1px solid #efe6c8; transform: rotate(-1.5deg);
  background-image: repeating-linear-gradient(transparent 0 23px, rgba(81, 59, 244, .09) 23px 24px);
  box-shadow: 0 16px 30px -20px rgba(13, 15, 26, .35);
}
.page-home .hm-scan__hand { font-family: var(--font-serif); font-style: italic; font-size: 1.05rem; line-height: 1.4; color: #2d3148; white-space: nowrap; }
.page-home .hm-scan__beam {
  position: absolute; left: 0; right: 0; top: 0; height: 36%;
  background: linear-gradient(180deg, transparent, rgba(81, 59, 244, .16) 70%, rgba(81, 59, 244, .55) 98%, transparent);
  animation: hm-beam 3.4s var(--ease-in-out) infinite;
}
@keyframes hm-beam { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(290%); } }
.page-home .hm-scan__arrow { width: 20px; height: 20px; color: var(--indigo); justify-self: center; }
@media (max-width: 559px) { .page-home .hm-scan__arrow { transform: rotate(90deg); } }
.page-home .hm-scan__out { display: grid; gap: .6rem; min-width: 0; }
.page-home .hm-scan__text { padding: .7rem .8rem; border-radius: 10px; background: #fff; border: 1px solid rgba(13, 15, 26, .07); font-size: .78rem; line-height: 1.5; color: #2d3148; }

/* customize toggles */
.page-home .hm-custom { width: min(100%, 300px); display: grid; gap: .45rem; }
.page-home .hm-custom__row {
  display: flex; align-items: center; gap: .6rem; padding: .55rem .7rem; border-radius: 10px;
  background: #fff; border: 1px solid rgba(13, 15, 26, .07); font-size: .78rem; color: var(--ink);
}
.page-home .hm-custom__row b { flex: 1; font-weight: 500; }
.page-home .hm-custom__row.is-off b { color: #6b7183; }
.page-home .hm-custom__grip { width: 8px; height: 12px; flex: none; background: radial-gradient(circle, #b9bdcc 1.2px, transparent 1.5px) 0 0 / 4px 4px; }
.page-home .hm-toggle { position: relative; width: 28px; height: 16px; flex: none; border-radius: 999px; background: #d5d8e6; }
.page-home .hm-toggle::after { content: ""; position: absolute; top: 2px; left: 2px; width: 12px; height: 12px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .2); transition: transform var(--dur-2, .25s) var(--ease-out); }
.page-home .hm-toggle.is-on { background: var(--indigo); }
.page-home .hm-toggle.is-on::after { transform: translateX(12px); }

/* multilingual bubbles */
.page-home .hm-lang { position: relative; width: min(100%, 330px); display: grid; gap: .6rem; padding-top: 1.4rem; }
.page-home .hm-lang .sample-tag { position: absolute; top: -.25rem; right: 0; }
.page-home .hm-lang__bubble {
  display: flex; gap: .6rem; align-items: flex-start; padding: .65rem .8rem; border-radius: 14px 14px 14px 4px;
  background: #fff; border: 1px solid rgba(13, 15, 26, .07); font-size: .78rem; line-height: 1.45; color: #2d3148; max-width: 92%;
}
.page-home .hm-lang__bubble--out { justify-self: end; border-radius: 14px 14px 4px 14px; background: var(--indigo-50); border-color: rgba(81, 59, 244, .18); color: var(--ink); }
.page-home .hm-lang__code { flex: none; font-family: var(--font-mono); font-size: .625rem; font-weight: 600; padding: .15rem .35rem; border-radius: 5px; background: var(--mist); color: #4a5064; }
.page-home .hm-lang__bubble--out .hm-lang__code { background: #fff; color: var(--indigo-700); }

/* Without JS, dialogs render inline: give them breathing room */
html:not(.js) .page-home .hm-dialogs { display: grid; gap: 1.5rem; margin-top: 2.5rem; }

/* ---------- Template switcher (ink) ---------- */
.page-home .hm-templates__copy { --gap: 1.25rem; }
.page-home .hm-templates .link-arrow { color: var(--lilac); }

/* ---------- Toolkit ---------- */
.page-home .hm-tools { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; grid-template-columns: 1fr; }
@media (min-width: 600px) { .page-home .hm-tools { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .page-home .hm-tools { grid-template-columns: repeat(4, 1fr); gap: 1rem; } }
.page-home .hm-tools > li { display: flex; }
.page-home .hm-tool {
  position: relative; flex: 1; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto 1fr; column-gap: .9rem; row-gap: .3rem;
  padding: 1.1rem 1.1rem 1.25rem; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border);
  color: var(--fg); text-decoration: none; box-shadow: var(--sh-xs);
  transition: transform var(--dur-2, .25s) var(--ease-out), box-shadow var(--dur-2, .25s) var(--ease-out), border-color var(--dur-2, .25s);
}
@media (min-width: 1024px) { .page-home .hm-tool { grid-template-columns: 1fr; grid-template-rows: auto auto 1fr; row-gap: .5rem; padding: 1.35rem 1.35rem 1.5rem; } .page-home .hm-tool .icon-tile { margin-bottom: .6rem; } }
.page-home .hm-tool .icon-tile { grid-row: span 2; align-self: start; }
@media (min-width: 1024px) { .page-home .hm-tool .icon-tile { grid-row: auto; } }
.page-home .hm-tool__name { font-weight: 600; letter-spacing: -.01em; padding-right: 1.5rem; }
.page-home .hm-tool__text { font-size: var(--fs-sm); line-height: 1.5; color: var(--muted); }
.page-home .hm-tool__go { position: absolute; top: 1.1rem; right: 1.1rem; width: 16px; height: 16px; color: var(--muted); transition: transform var(--dur-2, .25s) var(--ease-out), color var(--dur-2, .25s); }
.page-home .hm-tool:hover { transform: translateY(-3px); border-color: rgba(81, 59, 244, .35); box-shadow: 0 20px 40px -24px rgba(81, 59, 244, .45); }
.page-home .hm-tool:hover .hm-tool__go { color: var(--indigo); transform: translate(2px, -2px); }
.page-home .hm-tool:hover .hm-tool__name { color: var(--indigo-700); }

/* ---------- Stats ---------- */
.page-home .hm-stats { padding-top: 0; }

/* ---------- Security teaser ---------- */
.page-home .hm-security__copy { --gap: 1.25rem; }
.page-home .hm-security__links { --gap: 1rem 1.5rem; margin-top: .5rem; align-items: center; }
.page-home .hm-vault {
  position: relative; isolation: isolate; overflow: hidden; display: grid; place-items: center; min-height: 420px; padding: 2rem;
  border-radius: var(--r-xl); background: radial-gradient(70% 70% at 50% 45%, rgba(25, 195, 156, .12), transparent 70%), linear-gradient(180deg, #fff, #f7f8fc);
  border: 1px solid var(--border); box-shadow: var(--sh-sm);
}
.page-home .hm-vault__orbit { position: absolute; width: 260px; height: 260px; border-radius: 50%; border: 1px dashed rgba(11, 122, 96, .3); animation: hm-spin 40s linear infinite; }
.page-home .hm-vault__orbit--2 { width: 360px; height: 360px; border-style: solid; border-color: rgba(81, 59, 244, .12); animation-duration: 70s; animation-direction: reverse; }
@keyframes hm-spin { to { transform: rotate(360deg); } }
.page-home .hm-vault__core {
  position: relative; z-index: 1; display: grid; justify-items: center; gap: .5rem; padding: 1.4rem 1.6rem; border-radius: 26px;
  background: #fff; border: 1px solid rgba(25, 195, 156, .3); box-shadow: 0 0 0 8px rgba(25, 195, 156, .07), 0 30px 60px -30px rgba(11, 122, 96, .55);
}
.page-home .hm-vault__lock { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; color: #fff; background: linear-gradient(160deg, var(--mint), var(--mint-700)); }
.page-home .hm-vault__lock .icon { width: 30px; height: 30px; }
.page-home .hm-vault__label { font-family: var(--font-mono); font-size: .75rem; font-weight: 600; letter-spacing: .06em; color: var(--mint-700); }
.page-home .hm-vault__packet {
  position: absolute; z-index: 1; display: inline-flex; align-items: center; gap: .4rem; padding: .4rem .65rem; border-radius: 9px;
  background: #fff; border: 1px solid var(--border); box-shadow: var(--sh-sm); font-family: var(--font-mono); font-size: .6875rem; color: var(--ink);
}
.page-home .hm-vault__packet .icon { width: 14px; height: 14px; color: var(--indigo); }
.page-home .hm-vault__packet--1 { top: 16%; left: 8%; animation: hm-packet 5s var(--ease-in-out) infinite; }
.page-home .hm-vault__packet--2 { top: 26%; right: 7%; animation: hm-packet 5s var(--ease-in-out) 2.5s infinite; }
@keyframes hm-packet {
  0%, 12% { transform: translate(0, 0); opacity: 1; }
  45% { transform: translate(var(--tx, 60px), var(--ty, 60px)) scale(.8); opacity: 0; }
  46%, 70% { transform: translate(0, 0); opacity: 0; }
  100% { opacity: 1; }
}
.page-home .hm-vault__packet--1 { --tx: 90px; --ty: 70px; }
.page-home .hm-vault__packet--2 { --tx: -90px; --ty: 50px; }
.page-home .hm-vault__badges { position: absolute; z-index: 1; left: 0; right: 0; bottom: 1.5rem; display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; padding-inline: 1rem; }

/* ---------- Testimonials carousel (parity with the old TestimonialsCarousel) ---------- */
.page-home .testi-carousel__track { display: grid; gap: 1rem; grid-template-columns: 1fr; align-items: stretch; }
@media (min-width: 768px) { .page-home .testi-carousel__track { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .page-home .testi-carousel__track { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; } }
.page-home .testi-carousel__item.is-entering { animation: hm-testi-in .6s var(--ease-out, ease) both; animation-delay: calc(var(--i, 0) * .1s); }
@keyframes hm-testi-in { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
.page-home .testi-carousel__dots { display: none; justify-content: center; gap: .25rem; margin-top: clamp(1.75rem, 1.25rem + 2vw, 3rem); }
.page-home .testi-carousel.is-ready .testi-carousel__dots { display: flex; }
.page-home .testi-carousel__dot { position: relative; width: 24px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; border-radius: 50%; }
.page-home .testi-carousel__dot::before { content: ""; position: absolute; inset: 8px; border-radius: 50%; background: #cbd5e1; transition: background-color .3s ease, transform .3s ease; }
.page-home .testi-carousel__dot:hover::before { background: #94a3b8; }
.page-home .testi-carousel__dot[aria-current="true"]::before { background: #4f5ff4; transform: scale(1.15); }
.page-home .testi-carousel__dot:focus-visible { outline: 2px solid var(--indigo, #513bf4); outline-offset: 1px; }
@media (prefers-reduced-motion: reduce) { .page-home .testi-carousel__item.is-entering { animation: none; } }
.page-home .hm-wall__more { margin-top: clamp(2rem, 1.5rem + 2vw, 3rem); }

/* ---------- Pricing teaser ---------- */
.page-home .hm-pricing__copy { --gap: 1.25rem; }
.page-home .hm-pricing__copy .cluster { --gap: 1rem 1.5rem; align-items: center; margin-top: .5rem; }
.page-home .hm-plans { display: grid; gap: 1rem; grid-template-columns: 1fr; align-items: stretch; }
@media (min-width: 640px) { .page-home .hm-plans { grid-template-columns: .85fr 1fr; } }
.page-home .hm-plans .plan .checklist { flex: 1; align-content: start; }
.page-home .hm-plan-free { background: rgba(255, 255, 255, .7); }
.page-home .hm-plans .plan--featured .btn { margin-top: auto; }
.page-home .hm-from { width: 100%; font-size: var(--fs-xs); font-family: var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: .35rem; }

/* ---------- Founders teaser ---------- */
.page-home .hm-founders__copy { --gap: 1.25rem; }
.page-home .hm-duo { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; }
.page-home .hm-founder { display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--sh-sm); }
.page-home .hm-founder__photo { aspect-ratio: 1 / 1; overflow: hidden; background: linear-gradient(180deg, var(--indigo-50), var(--mist)); }
.page-home .hm-founder__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
/* Esmali portrait is a white-background cutout: blend it onto the tinted card */
.page-home .hm-founder__photo--cutout img { mix-blend-mode: multiply; object-fit: contain; object-position: 50% 100%; }
.page-home .hm-founder__body { display: grid; gap: .2rem; padding: 1rem 1.1rem 1.2rem; }
.page-home .hm-founder__name { font-size: var(--fs-h4); font-weight: 600; letter-spacing: -.015em; }
.page-home .hm-founder__role { font-family: var(--font-mono); font-size: .6875rem; letter-spacing: .06em; text-transform: uppercase; color: var(--indigo-700); }
.page-home .hm-founder__bio { margin-top: .4rem; font-size: var(--fs-sm); line-height: 1.5; color: var(--muted); }
@media (max-width: 479px) {
  .page-home .hm-duo { grid-template-columns: 1fr; }
  .page-home .hm-founder { flex-direction: row; }
  .page-home .hm-founder__photo { width: 112px; flex: none; aspect-ratio: auto; }
  .page-home .hm-founder__body { padding: .9rem 1rem; align-content: center; }
  .page-home .hm-founder__photo--cutout img { object-fit: cover; object-position: 50% 12%; }
}

/* ---------- Final CTA ---------- */
.page-home .hm-cta__note { position: relative; margin-top: 1.25rem; font-size: var(--fs-sm); color: var(--slate-ink); }
.page-home .hm-cta__note a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.page-home .hm-cta__note a:hover { color: var(--lilac); }

/* ---------- Reduced motion: stop page-local loops ---------- */
@media (prefers-reduced-motion: reduce) {
  .page-home .hm-lock__ring, .page-home .hm-scan__beam, .page-home .hm-vault__orbit, .page-home .hm-vault__packet { animation: none; }
  .page-home .hm-lock__ring--2, .page-home .hm-scan__beam { display: none; }
}

/* Keep the With / Without voice switch reachable while the step sequence is pinned */
@media (min-width: 1024px) and (prefers-reduced-motion: no-preference) {
  html.js .page-home .hm-how__switch { position: sticky; top: calc(var(--header-h) + 14px); z-index: 5; }
}

/* ==========================================================================
   Flask port — parity additions (content restored from the previous home page)
   ========================================================================== */
/* Product demo video (was the hero's right column) */
.page-home .hm-demo__media { position: relative; }
.page-home .hm-demo__media::before {
  content: ""; position: absolute; z-index: -1; inset: 6% 4% -6%; border-radius: 32px;
  background: radial-gradient(60% 60% at 50% 40%, rgba(81, 59, 244, .22), transparent 70%);
  filter: blur(26px); pointer-events: none;
}
.page-home .hm-demo__copy .cluster { gap: 1rem 1.5rem; }
/* The demo thumbnail carries its own title and name badges: no caption shade over them */
.page-home .hm-demo__thumb::after { display: none; }
/* ...and its faces sit mid-frame, so the play button drops to the suits below them */
.page-home .hm-demo__media .video-card__play { top: 72%; }
@media (max-width: 600px) {
  .page-home .hm-demo__media .video-card__play { top: 70%; width: 48px; height: 48px; margin: -24px 0 0 -24px; }
}
/* Wall avatars: <picture> (webp + original blob fallback) must not become an extra flex item box */
.page-home .hm-avatar-pic { display: contents; }
/* Feature dialog example title ("Real-World Example" …) */
.example__title {
  margin: 0; padding: .8rem 1.25rem; border-bottom: 1px solid var(--line);
  font-weight: 600; font-size: var(--fs-sm); color: var(--fg); background: var(--canvas, #f7f7fb);
}
