/* Home hero product stage (partials/home-stage.html + js/home-stage.js).
   A vanilla port of the Stageshow kit: stage tokens, the macOS cursor and touch dot, Collapse, Roll,
   Button label/icon change, edge fade. A taste, not the whole app: a cropped window (top bar, a slice of the
   sidebar, the one panel the story happens in) that fades out at its foot. Three designs: wide 980 x 440,
   medium 740 x 440 (both scale to fit), compact (the phone column's own width) x 420: one card per scene,
   no app chrome. Scene tabs sit ABOVE the window, so tabs and stage share the first screen. Scoped under .hs. */

/* Tokens shared with the home benefit visuals (.bv, home-benefits.css) */
.hs, .bv {
  --hs-illustration-visibility: visible;
  --hs-ink: #1C2724;
  --hs-ink-2: #34403B;
  --hs-muted: #66706C;
  --hs-faint: #8A928E;
  --hs-icon: #44504B;
  --hs-line: #E7E7E1;
  --hs-line-2: #DCDCD5;
  --hs-canvas: #FBFBF9;
  --hs-fill: #F1F1EC;
  --hs-hover: #F4F4F0;
  --hs-spruce: #0B4637;
  --hs-spruce-2: #093B2E;
  --hs-blue: #B5CEC9;
  --hs-blue-soft: #E2ECE9;
  --hs-sand: #E6E5CB;
  --hs-sand-soft: #F0EFDF;
  --hs-pink: #E8C4C4;
  --hs-clay: #C9503B;
  --hs-bar-2: rgba(28, 39, 36, .07);
  --hs-bar-3: rgba(28, 39, 36, .11);
  --hs-radius: 14px;
  /* The kit's curves: travel, arrival from nowhere, a soft settle */
  --hs-travel: cubic-bezier(.45, 0, .1, 1);
  --hs-arrive: cubic-bezier(.25, .8, .25, 1);
  --hs-soft: cubic-bezier(.22, 1, .36, 1);
  --hs-fade: 92px;
}
.hs {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(12px, .5rem + .6vw, 16px);
  width: 100%;
  text-align: left;
}

/* ------------------------------------------------------------------ the fit and the stage */
.hs-fit { position: relative; width: 100%; height: 440px; }
.hs-stage {
  position: absolute; top: 0; left: 0;
  width: 980px; height: 440px;
  transform-origin: 0 0;
  overflow: hidden;
  border-radius: 14px 14px 0 0;
  /* Fade crop: the window dissolves at its foot over filler; top and sides stay hard */
  -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - var(--hs-fade)), transparent);
  mask-image: linear-gradient(to bottom, #000 calc(100% - var(--hs-fade)), transparent);
  font-family: var(--font-sans);
  font-size: 14px; line-height: 1.4; font-weight: 400;
  color: var(--hs-ink);
  -webkit-font-smoothing: antialiased;
  user-select: none; -webkit-user-select: none;
  pointer-events: none;
}
.hs-stage *, .hs-stage *::before, .hs-stage *::after { box-sizing: border-box; }
.hs-stage p, .hs-stage ol { margin: 0; }
.hs-stage img { max-width: none; }
.hs-i { display: block; flex: none; }
.hs-stage[data-instant] *, .hs-stage [data-instant], .hs-stage [data-instant] * { transition: none !important; animation: none !important; }
.hs-stage[data-still] *, .hs-stage[data-still] *::before, .hs-stage[data-still] *::after { transition: none !important; animation: none !important; }

/* No JS: the wide design, zoomed in steps (JS scales it exactly and swaps designs) */
.no-js .hs-fit { height: auto; aspect-ratio: 980 / 440; overflow: hidden; }
.no-js .hs-stage { position: relative; margin-inline: auto; }
@media (max-width: 1080px) { .no-js .hs-stage { zoom: .8; } }
@media (max-width: 860px) { .no-js .hs-stage { zoom: .6; } }
@media (max-width: 620px) { .no-js .hs-stage { zoom: .36; } }

/* First paint with JS and motion: the Ask scene starts before its replies arrive (no rewind on load) */
@media (prefers-reduced-motion: no-preference) {
  .js .hs:not([data-ready]) :is([data-k="reply1"], [data-k="reply2"]) { grid-template-rows: 0fr; opacity: 0; transition: none; }
  .js .hs:not([data-ready]) [data-roll="comments"] { visibility: hidden; }
}

/* ------------------------------------------------------------------ app shell */
.hs-app {
  position: absolute; inset: 0;
  display: grid;
  grid-template-columns: 224px minmax(0, 1fr);
  grid-template-rows: 56px minmax(0, 1fr);
  overflow: hidden;
  border-radius: inherit;
  background: #fff;
}
.hs-top {
  grid-column: 1 / -1;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 0 16px 0 20px;
  border-bottom: 1px solid var(--hs-line);
  background: #fff;
}
.hs-top__brand img { display: block; width: auto; height: 28px; }
.hs-top__nav { display: flex; gap: 2px; }
.hs-nav {
  padding: 7px 13px; border-radius: 9px;
  font-size: 14.5px; font-weight: 500; letter-spacing: -.005em; color: #4F5955;
  transition: background-color .15s ease, color .15s ease;
}
.hs-app[data-top="home"] .hs-nav[data-nav="home"],
.hs-app[data-top="events"] .hs-nav[data-nav="events"] { background: var(--hs-fill); color: var(--hs-ink); }
.hs-nav[data-hover] { background: var(--hs-hover); }
.hs-top__icons { justify-self: end; display: flex; align-items: center; gap: 4px; color: var(--hs-icon); }
.hs-top__ic { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; }
.hs-top__me { margin-left: 8px; }

.hs-side {
  position: relative;
  padding: 12px 12px 0 10px;
  border-right: 1px solid var(--hs-line);
  background: #fff;
  overflow: hidden;
}
.hs-side__scroll { position: absolute; top: 6px; right: 3px; width: 4px; height: 52%; border-radius: 4px; background: rgba(28, 39, 36, .2); }
.hs-row {
  display: flex; align-items: center; gap: 10px;
  height: 32px; padding: 0 10px;
  border-radius: 8px;
  font-size: 13.5px; color: #2F3935;
  white-space: nowrap;
  transition: background-color .15s ease, color .15s ease;
}
.hs-row--feed { height: 36px; font-size: 14px; font-weight: 500; }
.hs-row__ic { color: var(--hs-icon); }
.hs-row__l { overflow: hidden; text-overflow: ellipsis; }
.hs-row[data-hover] { background: var(--hs-hover); }
.hs-row[data-active] { background: var(--hs-fill); color: var(--hs-ink); font-weight: 500; }
.hs-tile { display: grid; place-items: center; flex: none; width: 20px; height: 20px; border-radius: 6px; color: var(--hs-spruce); }
.hs-tile--mint { background: #EDF3F1; }
.hs-grp { display: flex; align-items: center; height: 28px; margin-top: 10px; padding: 0 10px; font-size: 13px; font-weight: 600; color: #3A4440; }
.hs-count { margin-left: auto; display: grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 7px; box-shadow: inset 0 0 0 1px var(--hs-line-2); font-size: 12px; font-weight: 500; color: var(--hs-ink-2); }

/* main column: views stacked in one cell; a swap crossfades the body with an 8px rise */
.hs-main { position: relative; overflow: hidden; background: var(--hs-canvas); }
.hs-view {
  position: absolute; inset: 0;
  padding: 20px 28px 0;
  display: flex; flex-direction: column; gap: 14px;
  opacity: 0; visibility: hidden;
  transform: translateY(8px);
  transition: opacity .14s ease, transform .2s ease, visibility 0s linear .2s;
}
.hs-view[data-on] { opacity: 1; visibility: visible; transform: none; transition: opacity .22s ease .1s, transform .34s var(--hs-arrive) .1s, visibility 0s; }

/* ------------------------------------------------------------------ parts */
.hs-card { background: #fff; border: 1px solid var(--hs-line); border-radius: var(--hs-radius); }
.hs-muted { color: var(--hs-muted); }
.hs-bar { display: block; border-radius: 99px; background: var(--hs-bar-2); }
.hs-bar--3 { background: var(--hs-bar-3); }

.hs-av {
  --av: 36px;
  position: relative; flex: none;
  display: inline-grid; place-items: center;
  width: var(--av); height: var(--av);
  border-radius: 50%;
  overflow: hidden;
  font-size: calc(var(--av) * .36); font-weight: 600; letter-spacing: .01em;
  color: var(--hs-spruce);
}
.hs-av > span { line-height: 1; text-box: trim-both cap alphabetic; }
.hs-av--blue { background: var(--hs-blue); }
.hs-av--sand { background: var(--hs-sand); }
.hs-av--pink { background: var(--hs-pink); color: #6E2E22; }
.hs-av--blank { opacity: .55; }
.hs-av--photo img { display: block; width: 100%; height: 100%; object-fit: cover; }

.hs-pile { display: inline-flex; align-items: center; }
.hs-pile > * + * { margin-left: -5px; }
.hs-pile .hs-av { box-shadow: 0 0 0 2px #fff; }

/* button: label crossfades in place and the width eases; an icon opens its own slot */
.hs-btn {
  display: inline-flex; flex: none; align-items: center; justify-content: center;
  height: 36px; padding: 0 14px;
  border-radius: 9px;
  background: #fff; box-shadow: inset 0 0 0 1px var(--hs-line-2);
  font-size: 14px; font-weight: 600; letter-spacing: -.005em; color: var(--hs-spruce);
  white-space: nowrap;
  will-change: transform;
  transition: transform .18s cubic-bezier(.2, .8, .2, 1), background-color .16s ease, color .16s ease, box-shadow .16s ease, padding .22s var(--hs-soft);
}
.hs-btn[data-hover] { background: #F7F7F3; }
.hs-btn[data-pressed] { transform: scale(.97); }
.hs-btn--primary { background: var(--hs-spruce); color: #fff; box-shadow: none; }
.hs-btn--primary[data-hover] { background: var(--hs-spruce-2); }
.hs-btn--going { background: var(--hs-blue-soft); color: var(--hs-spruce); box-shadow: inset 0 0 0 1px rgba(11, 70, 55, .14); }
.hs-btn__lead {
  display: grid; place-items: center; flex: none;
  width: 0; margin-right: 0; opacity: 0; scale: .6;
  transition: width .22s var(--hs-soft), margin .22s var(--hs-soft), opacity .16s ease, scale .22s var(--hs-soft);
}
.hs-btn__lead[data-open] { width: 15px; margin-right: 6px; opacity: 1; scale: 1; }
.hs-btn:has(.hs-btn__lead[data-open]) { padding-left: 11px; }
.hs-btn__label { display: inline-grid; clip-path: inset(-8px 0); transition: width .4s var(--hs-soft); }
.hs-lbl { grid-area: 1 / 1; white-space: nowrap; text-box: trim-both cap alphabetic; }
.hs-lbl[data-in] { animation: hs-fade-in .35s ease .12s both; }
.hs-lbl[data-out] { animation: hs-fade-out .16s ease both; }
@keyframes hs-fade-in { from { opacity: 0; filter: blur(2px); transform: translateY(3px); } }
@keyframes hs-fade-out { to { opacity: 0; filter: blur(2px); transform: translateY(-3px); } }

.hs-ibtn { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 9px; box-shadow: inset 0 0 0 1px var(--hs-line-2); color: var(--hs-icon); background: #fff; }
.hs-ibtn--quiet { box-shadow: none; background: var(--hs-canvas); }

/* roll: only the changed text rolls, old and new on one curve; the box eases to the new width */
.hs-roll { display: inline-grid; vertical-align: bottom; overflow: hidden; padding-block: .3em; margin-block: -.3em;
  -webkit-mask-image: linear-gradient(transparent, #000 .3em, #000 calc(100% - .3em), transparent);
  mask-image: linear-gradient(transparent, #000 .3em, #000 calc(100% - .3em), transparent);
  transition: width .5s var(--hs-soft); }
.hs-roll > span { grid-area: 1 / 1; justify-self: start; width: max-content; white-space: pre; }
.hs-roll > [data-in] { animation: hs-roll-in .42s cubic-bezier(.32, .72, 0, 1) both; }
.hs-roll > [data-out] { animation: hs-roll-out .42s cubic-bezier(.32, .72, 0, 1) both; }
@keyframes hs-roll-in { from { opacity: 0; transform: translateY(100%); } }
@keyframes hs-roll-out { to { opacity: 0; transform: translateY(-100%); } }

/* collapse (kit): the space and the content move together; drop arrives whole from just above */
.hs-collapse { display: grid; grid-template-rows: 0fr; opacity: 0;
  transition: grid-template-rows .42s cubic-bezier(.4, 0, .2, 1) .05s, opacity .42s cubic-bezier(0, .8, .5, 1); }
.hs-collapse[data-open] { grid-template-rows: 1fr; opacity: 1; transition: grid-template-rows .46s cubic-bezier(.4, 0, .2, 1), opacity .24s ease-out .15s; }
.hs-collapse__in { min-height: 0; overflow: clip; overflow-clip-margin: 3px; }
.hs-collapse[data-drop] > .hs-collapse__in { overflow: visible; }
.hs-collapse__glide { display: grid; min-width: 0; }
.hs-collapse[data-drop] .hs-collapse__glide { transform: translateY(-10px); will-change: transform; transition: transform .3s ease; }
.hs-collapse[data-drop][data-open] .hs-collapse__glide { transform: none; transition: transform .6s var(--hs-soft) .2s; }
.hs-collapse[data-drop][data-open] { transition: grid-template-rows .5s cubic-bezier(.45, 0, .2, 1), opacity .3s ease .24s; }

/* fields: focus ring never moves the text; caret solid while typing, blinking at rest */
.hs-field {
  position: relative; display: flex; align-items: center;
  height: 40px; padding: 0 12px;
  border-radius: 10px; background: #fff; box-shadow: inset 0 0 0 1px var(--hs-line-2);
  font-size: 14px; color: var(--hs-ink);
  transition: box-shadow .15s ease;
}
.hs-field[data-focus] { box-shadow: inset 0 0 0 1px var(--hs-spruce), 0 0 0 3px rgba(11, 70, 55, .12); }
.hs-field__ph { position: absolute; left: 12px; top: 50%; translate: 0 -50%; color: var(--hs-faint); white-space: nowrap; transition: opacity .12s ease; }
.hs-field[data-filled] .hs-field__ph { opacity: 0; }
.hs-field__v { white-space: pre; }
.hs-caret { width: 1.5px; height: 17px; margin-left: 1px; background: var(--hs-ink); opacity: 0; }
.hs-field[data-focus] .hs-caret { opacity: 1; animation: hs-blink 1.06s steps(1) infinite; }
.hs-field[data-typing] .hs-caret { animation: none; opacity: 1; }
@keyframes hs-blink { 50% { opacity: 0; } }


/* ------------------------------------------------------------------ 1. ask the community */
.hs-head__t { font-size: 20px; font-weight: 600; letter-spacing: -.02em; color: var(--hs-ink); line-height: 1.2; }
.hs-post { padding: 16px 22px 14px; }
.hs-post__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.hs-post__title { font-size: 19px; font-weight: 700; letter-spacing: -.02em; line-height: 1.25; color: var(--hs-ink); }
.hs-post__tools { display: inline-flex; align-items: center; gap: 14px; padding-top: 3px; color: var(--hs-icon); }
.hs-by { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.hs-by__txt { display: flex; flex-direction: column; gap: 2px; font-size: 13px; line-height: 1.3; }
.hs-by__txt b { font-weight: 600; font-size: 14px; color: var(--hs-ink); }
.hs-post__body { margin-top: 10px !important; font-size: 15px; line-height: 1.5; color: var(--hs-ink-2); }
.hs-post__foot { display: flex; align-items: center; gap: 18px; margin-top: 10px; padding: 8px 0; border-top: 1px solid var(--hs-line); border-bottom: 1px solid var(--hs-line); font-size: 13.5px; font-weight: 500; color: var(--hs-ink-2); }
.hs-post__foot > span { display: inline-flex; align-items: center; gap: 6px; }
.hs-post__count { margin-left: auto; color: var(--hs-muted); font-weight: 400; }
.hs-reply { display: flex; gap: 10px; padding-top: 12px; }
.hs-reply__b { min-width: 0; }
.hs-reply__n { font-size: 13.5px; line-height: 1.3; }
.hs-reply__n b { font-weight: 600; color: var(--hs-ink); }
.hs-reply p { margin-top: 2px !important; font-size: 14px; line-height: 1.45; color: var(--hs-ink-2); }
.hs-reply__acts { display: flex; gap: 14px; margin-top: 5px; font-size: 12.5px; font-weight: 500; color: var(--hs-muted); }
.hs-like { display: inline-flex; align-items: center; gap: 5px; margin: -3px -6px; padding: 3px 6px; border-radius: 6px; transition: color .15s ease, background-color .15s ease; }
.hs-like[data-hover] { background: var(--hs-hover); }
.hs-like[data-on] { color: var(--hs-spruce); }
.hs-like .hs-i { transition: fill .15s ease; }
.hs-like[data-on] .hs-i { fill: var(--hs-blue); }

/* ------------------------------------------------------------------ 2. peer group */
.hs-session { padding: 18px 22px 20px; }
.hs-session__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--hs-line); font-size: 13px; }
.hs-session__name { margin-bottom: 2px; font-size: 18px; font-weight: 600; letter-spacing: -.018em; color: var(--hs-ink); }
.hs-session__next { display: flex; align-items: center; gap: 10px; margin-top: 14px; font-size: 13px; }
.hs-session__next b { font-size: 14.5px; font-weight: 600; color: var(--hs-ink); }
.hs-session__cal { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: var(--hs-blue-soft); color: var(--hs-spruce); }
.hs-agenda { margin-top: 8px; }
.hs-agenda__row { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 6px 0; font-size: 14px; color: var(--hs-ink); }
.hs-agenda__row > .hs-muted { font-size: 13px; }
.hs-addrow { display: flex; gap: 10px; margin-top: 10px; }
.hs-addrow .hs-field { flex: 1; }
.hs-addrow .hs-btn { height: 40px; }

/* ------------------------------------------------------------------ 3. events */
.hs-events { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hs-evc { overflow: hidden; }
.hs-evc__img { position: relative; height: 128px; overflow: hidden; background: var(--hs-sand); }
.hs-evc__img img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hs-evc__img--cover { display: flex; flex-direction: column; justify-content: flex-end; padding: 16px 18px 44px; background: var(--hs-spruce); color: #F3F2DE; }
.hs-evc__mono { position: absolute; top: 14px; right: 16px; width: 26px !important; height: 26px !important; opacity: .85; }
.hs-evc__cover { position: relative; max-width: 80%; font-family: var(--font-serif); font-size: 26px; line-height: 1; }
.hs-tag { position: absolute; left: 12px; bottom: 11px; display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 10px 0 8px; border-radius: 99px; font-size: 12px; font-weight: 600; color: var(--hs-spruce); }
.hs-tag--sand { background: #F3F2DE; }
.hs-tag--blue { background: var(--hs-blue); }
.hs-evc__body { display: flex; align-items: center; gap: 12px; padding: 14px 16px 4px; font-size: 12.5px; }
.hs-evc__t { font-size: 15px; font-weight: 600; letter-spacing: -.012em; line-height: 1.3; color: var(--hs-ink); }
.hs-evc__foot { display: flex; align-items: center; gap: 10px; padding: 10px 16px 14px; font-size: 12.5px; }
.hs-evc__foot .hs-btn { margin-left: auto; min-width: 84px; height: 34px; }
.hs-date {
  display: flex; flex-direction: column; align-items: center; justify-content: center; flex: none;
  width: 42px; height: 44px; border-radius: 9px; background: #fff; box-shadow: inset 0 0 0 1px var(--hs-line-2);
  font-size: 11px; line-height: 1.15; color: var(--hs-muted);
}
.hs-date b { font-size: 15px; font-weight: 600; color: var(--hs-ink); }
.hs-pile__me { display: inline-grid; overflow: hidden; width: 0; margin-left: 0 !important; margin-right: 0; opacity: 0; scale: .6; transition: width .3s var(--hs-soft), margin .3s var(--hs-soft), opacity .2s ease, scale .3s var(--hs-soft); }
.hs-pile__me[data-on] { width: 26px; margin-right: -5px; opacity: 1; scale: 1; overflow: visible; }
.hs-pile__me + * { margin-left: 0 !important; }

/* ------------------------------------------------------------------ 4. resource library */
.hs-libhead { display: flex; align-items: center; justify-content: space-between; height: 34px; }
.hs-req { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 500; color: var(--hs-ink-2); }
.hs-lib { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.hs-res { overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s ease, transform .3s var(--hs-soft); }
.hs-res[data-hover] { box-shadow: 0 10px 24px -12px rgba(20, 40, 34, .3); transform: translateY(-2px); }
.hs-res[data-pressed] { transform: translateY(-1px) scale(.99); }
.hs-res__t { min-height: 58px; padding: 12px 14px 8px; font-size: 14px; font-weight: 600; letter-spacing: -.01em; line-height: 1.3; color: var(--hs-ink); }
.hs-res__f { display: flex; align-items: center; gap: 5px; margin: 0 14px; padding: 9px 0 11px; border-top: 1px solid var(--hs-line); font-size: 12.5px; color: var(--hs-muted); }
.hs-res__gap { width: 8px; }

/* covers, built in CSS (no portraits): wordmark + serif title over the monogram pattern, the library
   index card on a dark shelf, a sage card with a clay swash */
.hs-cover { position: relative; height: 124px; overflow: hidden; isolation: isolate; flex: none; }
.hs-cover--talk { display: flex; flex-direction: column; padding: 13px 15px; background: var(--hs-spruce); color: #F3F2DE; }
.hs-cover--talk::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url("/assets/monogram-ivory.svg") 0 0 / 30px 30px; opacity: .06; }
.hs-cover__wm { display: block; width: auto !important; height: 16px !important; opacity: .92; }
.hs-cover__t { margin-top: auto; max-width: 90%; font-family: var(--font-serif); font-size: 26px; line-height: .98; }
.hs-cover--card {
  display: grid; place-items: center;
  background:
    linear-gradient(180deg, rgba(3, 26, 20, .55), rgba(3, 26, 20, 0) 30%, rgba(3, 26, 20, 0) 70%, rgba(3, 26, 20, .6)),
    linear-gradient(180deg, transparent 49%, #041d16 49% 53%, transparent 53%),
    repeating-linear-gradient(90deg, #0B3F32 0 9px, #0F4A3B 9px 16px, #082F25 16px 21px, #145343 21px 33px, #0A382C 33px 38px, #11483A 38px 47px, #072A21 47px 51px);
}
.hs-idx {
  position: relative; display: flex; flex-direction: column; gap: 3px;
  width: 74%; padding: 9px 13px 12px;
  background-color: #F1EBD4;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .3 0 0 0 0 .2 0 0 0 .16 0'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
  border-radius: 3px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .5) inset, 0 10px 24px rgba(0, 0, 0, .4), 0 2px 4px rgba(0, 0, 0, .3);
  transform: rotate(-2deg);
  color: var(--hs-spruce);
}
.hs-idx__k { padding-bottom: 4px; border-bottom: 3px double rgba(11, 70, 55, .75); font-size: 8.5px; font-weight: 700; letter-spacing: .16em; }
.hs-idx__l { margin-top: 2px; font-size: 8px; font-weight: 700; letter-spacing: .12em; opacity: .7; }
.hs-idx__t { font-family: var(--font-serif); font-size: 18px; line-height: 1.02; }
.hs-cover--sage { display: flex; align-items: center; padding: 14px 18px; background: var(--hs-blue); }
.hs-cover__big { font-family: var(--font-serif); font-size: 25px; line-height: 1.02; color: var(--hs-spruce); }
.hs-cover__big span { padding-bottom: 6px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 12' preserveAspectRatio='none'%3E%3Cpath d='M2 8c40-6 90-7 196-3' fill='none' stroke='%23C94F3B' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") 0 100% / 100% 10px no-repeat; }
.hs-cover--wide { height: 132px; }
.hs-cover--wide .hs-idx { width: 46%; padding: 11px 18px 15px; }
.hs-cover--wide .hs-idx__k { font-size: 10px; }
.hs-cover--wide .hs-idx__l { font-size: 9.5px; }
.hs-cover--wide .hs-idx__t { font-size: 25px; }

/* the opened resource over the whole window, as Circle opens a post; held by its top edge */
.hs-scrim { position: absolute; inset: 0; z-index: 20; background: rgba(20, 30, 27, .3); opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility 0s linear .3s; }
.hs-scrim[data-on] { opacity: 1; visibility: visible; transition: opacity .22s ease, visibility 0s; }
.hs-modal {
  position: absolute; z-index: 21; top: 72px; left: 50%;
  width: 580px; margin-left: -290px;
  overflow: hidden; border-radius: 14px; background: #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .06), 0 30px 60px -14px rgba(10, 30, 24, .4), 0 12px 24px -12px rgba(0, 0, 0, .18);
  opacity: 0; visibility: hidden; transform: translateY(10px) scale(.97); transform-origin: 50% 0;
  transition: opacity .2s ease, transform .24s cubic-bezier(.4, 0, 1, 1), visibility 0s linear .24s;
}
.hs-modal[data-on] { opacity: 1; visibility: visible; transform: none; transition: opacity .2s ease, transform .5s var(--hs-soft), visibility 0s; }
.hs-modal__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 52px; padding: 0 12px 0 20px; }
.hs-modal__t { overflow: hidden; font-size: 16px; font-weight: 700; letter-spacing: -.018em; white-space: nowrap; text-overflow: ellipsis; }
.hs-modal__tools { display: inline-flex; align-items: center; gap: 14px; color: var(--hs-muted); }
.hs-modal__x { display: grid; place-items: center; width: 30px; height: 30px; margin-left: -4px; border-radius: 8px; color: var(--hs-ink-2); transition: background-color .15s ease; }
.hs-modal__x[data-hover] { background: var(--hs-fill); }
.hs-modal__body { padding: 14px 22px 20px; font-size: 14.5px; line-height: 1.5; color: var(--hs-ink-2); }
.hs-modal__body ol { margin-top: 6px; padding-left: 22px; }
.hs-modal__body li + li { margin-top: 2px; }
.hs-modal__body b { color: var(--hs-ink); }

/* ------------------------------------------------------------------ cursor (kit port: macOS glyphs, press dip, touch dot) */
.hs-cursor { position: absolute; top: 0; left: 0; z-index: 100; pointer-events: none; will-change: transform; transition: opacity .25s ease; }
.hs-cursor[data-idle], .hs-cursor[data-off] { opacity: 0; transition-duration: .6s; }
.hs-cursor__press { display: grid; transform-origin: 0 0; transition: transform .26s cubic-bezier(.22, 1, .36, 1); }
.hs-cursor[data-pressed] .hs-cursor__press { transform: scale(.9); transition: transform .08s ease-out; }
.hs-cursor__g { grid-area: 1 / 1; transform: scale(0); opacity: 0; transition: transform .2s ease, opacity .2s ease; }
.hs-cursor__g svg { display: block; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .3)); }
.hs-cursor__g[data-g="pointer"] { margin: -5.25px 0 0 -7.5px; transform-origin: 7.5px 5.25px; }
.hs-cursor__g[data-g="hand"] { margin: -3.25px 0 0 -9.75px; transform-origin: 9.75px 3.25px; }
.hs-cursor__g[data-g="ibeam"] { margin: -8px 0 0 -5px; transform-origin: 5px 8px; }
.hs-cursor[data-kind="pointer"] [data-g="pointer"], .hs-cursor[data-kind="hand"] [data-g="hand"], .hs-cursor[data-kind="ibeam"] [data-g="ibeam"] { transform: scale(1); opacity: 1; }
.hs-cursor__dot { display: none; grid-area: 1 / 1; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; background: rgba(118, 118, 128, .16); opacity: 0; transform: scale(.7); transition: opacity .4s ease, transform .45s cubic-bezier(.22, 1, .36, 1); }
.hs-cursor[data-style="touch"] .hs-cursor__g { display: none; }
.hs-cursor[data-style="touch"] .hs-cursor__dot { display: block; }
.hs-cursor[data-style="touch"][data-touching] .hs-cursor__dot { opacity: 1; transform: scale(1); transition: opacity .14s ease, transform .16s cubic-bezier(.22, 1, .36, 1); }
.hs-cursor[data-style="touch"][data-pressed] .hs-cursor__dot { background: rgba(118, 118, 128, .24); transform: scale(.82); transition: background-color .08s ease, transform .1s ease-out; }
.hs-cursor[data-style="touch"][data-pressed] .hs-cursor__press { transform: none; }

/* ------------------------------------------------------------------ scene tabs (accessible; above the stage, on the spruce band) */
.hs-tabs {
  display: flex; gap: 2px; max-width: 100%; padding: 4px;
  border-radius: 999px; background: rgba(243, 242, 222, .07); box-shadow: inset 0 0 0 1px rgba(243, 242, 222, .12);
  overflow-x: auto; scrollbar-width: none; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
}
.hs-tabs::-webkit-scrollbar { display: none; }
/* A tab row wider than the column scrolls; its edges fade only where tabs are hidden */
.hs-tabs[data-edges="r"] { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); }
.hs-tabs[data-edges="l"] { -webkit-mask-image: linear-gradient(90deg, transparent, #000 28px); mask-image: linear-gradient(90deg, transparent, #000 28px); }
.hs-tabs[data-edges="lr"] { -webkit-mask-image: linear-gradient(90deg, transparent, #000 28px, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(90deg, transparent, #000 28px, #000 calc(100% - 28px), transparent); }
.hs-tab {
  position: relative; flex: none; scroll-snap-align: center;
  padding: 10px 18px 11px; border-radius: 999px;
  background: transparent; color: rgba(243, 242, 222, .8);
  font: inherit; font-size: .9375rem; font-weight: 600; line-height: 1.2; letter-spacing: -.005em; white-space: nowrap;
  cursor: pointer;
  transition: background-color .3s var(--hs-arrive), color .3s;
}
.hs-tab:hover { background: rgba(243, 242, 222, .08); color: #F3F2DE; }
.hs-tab[aria-selected="true"] { background: #F3F2DE; color: var(--hs-spruce); }
.hs-tab:focus-visible { outline: 2px solid #F3F2DE; outline-offset: 2px; }
.hs-tab__bar { position: absolute; left: 18px; right: 18px; bottom: 4px; height: 2px; border-radius: 2px; overflow: hidden; }
.hs-tab__bar > span { display: block; height: 100%; background: rgba(11, 70, 55, .35); transform-origin: 0 50%; transform: scaleX(0); }
.hs-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }


.hs-tabs { order: -1; }

/* ================================================================== medium design: 740 x 440 */
.hs-stage[data-layout="medium"] .hs-app { grid-template-columns: 196px minmax(0, 1fr); }
.hs-stage[data-layout="medium"] .hs-top { grid-template-columns: auto 1fr auto; gap: 10px; padding: 0 14px 0 18px; }
.hs-stage[data-layout="medium"] .hs-top__nav { justify-self: center; }
.hs-stage[data-layout="medium"] .hs-nav { padding: 7px 10px; font-size: 14px; }
.hs-stage[data-layout="medium"] .hs-nav:nth-child(4) { display: none; }
.hs-stage[data-layout="medium"] .hs-row { gap: 9px; padding: 0 8px; font-size: 13px; }
.hs-stage[data-layout="medium"] .hs-grp { padding: 0 8px; font-size: 12.5px; }
.hs-stage[data-layout="medium"] .hs-view { padding: 18px 20px 0; }
.hs-stage[data-layout="medium"] .hs-session__head .hs-pile .hs-av:nth-child(n+4) { display: none; }
.hs-stage[data-layout="medium"] .hs-events { gap: 12px; }
.hs-stage[data-layout="medium"] .hs-evc__img { height: 108px; }
.hs-stage[data-layout="medium"] .hs-evc__cover { font-size: 21px; }
.hs-stage[data-layout="medium"] .hs-evc__body { padding: 12px 12px 2px; }
.hs-stage[data-layout="medium"] .hs-evc__t { font-size: 14px; }
.hs-stage[data-layout="medium"] .hs-evc__foot { padding: 10px 12px 12px; gap: 8px; }
.hs-stage[data-layout="medium"] .hs-evc__foot > .hs-muted { display: none; }
.hs-stage[data-layout="medium"] .hs-lib { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hs-stage[data-layout="medium"] .hs-lib > :nth-child(3) { display: none; }
.hs-stage[data-layout="medium"] .hs-modal { width: 500px; margin-left: -250px; }

/* ================================================================== compact: the phone column, one card per scene, no app chrome */
.hs-stage[data-layout="compact"] { --hs-fade: 60px; border-radius: 0; font-size: 13.5px; overflow: hidden; }
.hs-stage[data-layout="compact"] .hs-app { display: block; background: transparent; border-radius: 0; }
.hs-stage[data-layout="compact"] :is(.hs-top, .hs-side) { display: none; }
.hs-stage[data-layout="compact"] .hs-main { position: absolute; inset: 0; background: transparent; }
.hs-stage[data-layout="compact"] .hs-view { padding: 2px 0 0; gap: 10px; }
.hs-stage[data-layout="compact"] .hs-card { border-color: transparent; border-radius: 14px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .06), 0 18px 40px -22px rgba(0, 0, 0, .45); }
.hs-stage[data-layout="compact"] .hs-post { padding: 16px 16px 12px; }
.hs-stage[data-layout="compact"] .hs-post__title { font-size: 17px; }
.hs-stage[data-layout="compact"] .hs-post__tools { display: none; }
.hs-stage[data-layout="compact"] .hs-post__body { font-size: 14px; }
.hs-stage[data-layout="compact"] .hs-post__foot { gap: 14px; font-size: 13px; }
.hs-stage[data-layout="compact"] .hs-reply p { font-size: 13.5px; }
.hs-stage[data-layout="compact"] .hs-session { padding: 16px; }
.hs-stage[data-layout="compact"] .hs-session__head .hs-pile { display: none; }
.hs-stage[data-layout="compact"] .hs-session__name { font-size: 16.5px; }
.hs-stage[data-layout="compact"] .hs-session__next { flex-wrap: wrap; row-gap: 0; }
.hs-stage[data-layout="compact"] .hs-session__next > .hs-muted { flex-basis: 100%; padding-left: 42px; margin-top: -6px; }
.hs-stage[data-layout="compact"] .hs-agenda__row { grid-template-columns: 26px minmax(0, 1fr); font-size: 13.5px; }
.hs-stage[data-layout="compact"] .hs-agenda__row > .hs-muted { display: none; }
.hs-stage[data-layout="compact"] .hs-events { grid-template-columns: minmax(0, 1fr); gap: 10px; }
.hs-stage[data-layout="compact"] .hs-evc__img { height: 66px; }
.hs-stage[data-layout="compact"] .hs-evc__img--cover { padding: 0; }
.hs-stage[data-layout="compact"] :is(.hs-evc__cover, .hs-evc__mono) { display: none; }
.hs-stage[data-layout="compact"] .hs-tag { bottom: 50%; translate: 0 50%; }
.hs-stage[data-layout="compact"] .hs-evc__body { padding: 12px 14px 2px; }
.hs-stage[data-layout="compact"] .hs-evc__foot { padding: 8px 14px 12px; }
.hs-stage[data-layout="compact"] .hs-libhead { display: none; }
.hs-stage[data-layout="compact"] .hs-lib { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.hs-stage[data-layout="compact"] .hs-cover { height: 100px; }
.hs-stage[data-layout="compact"] .hs-cover__t { font-size: 20px; }
.hs-stage[data-layout="compact"] .hs-cover__wm { height: 13px !important; }
.hs-stage[data-layout="compact"] .hs-idx { width: 82%; padding: 7px 9px 9px; }
.hs-stage[data-layout="compact"] .hs-idx__k { font-size: 7px; }
.hs-stage[data-layout="compact"] .hs-idx__l { font-size: 6.5px; }
.hs-stage[data-layout="compact"] .hs-idx__t { font-size: 15px; }
.hs-stage[data-layout="compact"] .hs-res__t { min-height: 0; padding: 10px 11px 8px; font-size: 13px; }
.hs-stage[data-layout="compact"] .hs-res__f { margin: 0 11px; padding: 8px 0 10px; font-size: 12px; }
.hs-stage[data-layout="compact"] .hs-scrim { background: transparent; }
.hs-stage[data-layout="compact"] .hs-modal { top: 22px; left: 10px; right: 10px; width: auto; margin-left: 0; }
.hs-stage[data-layout="compact"] .hs-modal__bar { height: 48px; padding: 0 8px 0 14px; }
.hs-stage[data-layout="compact"] .hs-modal__t { font-size: 14.5px; }
.hs-stage[data-layout="compact"] .hs-modal__tools > .hs-i { display: none; }
.hs-stage[data-layout="compact"] .hs-cover--wide { height: 116px; }
.hs-stage[data-layout="compact"] .hs-cover--wide .hs-idx { width: 64%; padding: 9px 12px 12px; }
.hs-stage[data-layout="compact"] .hs-cover--wide .hs-idx__k { font-size: 8.5px; }
.hs-stage[data-layout="compact"] .hs-cover--wide .hs-idx__l { font-size: 8px; }
.hs-stage[data-layout="compact"] .hs-cover--wide .hs-idx__t { font-size: 20px; }
.hs-stage[data-layout="compact"] .hs-modal__body { padding: 12px 14px 16px; font-size: 13.5px; }

@media (max-width: 599.98px) {
  .hs-tab { padding: 10px 15px 11px; font-size: .875rem; }
  .hs-tab__bar { left: 15px; right: 15px; }
}

/* ------------------------------------------------------------------ home benefit 03 (Nov 27): toned down.
   No invented counts. One real thread carries its real count ("AI in your practice", 29 comments). */
.hs-thread { display: flex; align-items: center; gap: 10px; padding: 10px 14px; }
.hs-thread__t { display: flex; align-items: baseline; gap: 8px; min-width: 0; font-size: 13.5px; }
.hs-thread__t b { font-weight: 600; color: var(--hs-ink); white-space: nowrap; }
.hs-thread__t .hs-muted { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hs-thread__n { margin-left: auto; flex: none; font-size: 12.5px; color: var(--hs-muted); }
.hs-res__t { min-height: 0; padding-bottom: 14px; }
.hs-stage[data-layout="compact"] .hs-thread { padding: 10px 12px; }
.hs-stage[data-layout="compact"] .hs-thread__t .hs-muted { display: none; }
