/* ---------- one typeface: no mono and no handwriting on this page ---------- */
body.hm { --font-mono: var(--font-body); }

/* ---------- the room window ---------- */
.hm .p2-room { gap: 20px; }
.p2-room-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 2px 4px 0; }
.p2-logo { display: block; width: clamp(168px, 17vw, 206px); aspect-ratio: 924 / 138; color: var(--accent); }
:root[data-theme="dark"] .p2-logo { color: #fff; }
.p2-logo svg { display: block; width: 100%; height: 100%; overflow: visible; }
.p2-here { display: flex; padding-left: 8px; }
.p2-here span { display: grid; place-items: center; width: 34px; height: 34px; margin-left: -8px; border-radius: 50%; background: #fff; color: #35104f; box-shadow: 0 0 0 2px rgba(255, 255, 255, .9), 0 2px 8px rgba(74, 60, 140, .16); }
.p2-here svg { width: 15px; height: 15px; fill: currentColor; }
:root[data-theme="dark"] .p2-here span { background: #43304f; color: #fff; box-shadow: 0 0 0 2px #1e132a; }
.hm .p2-layout.p2-layout-chat { grid-template-columns: minmax(0, 1.32fr) minmax(0, 1fr); gap: 18px; }
.hm .p2-layout-chat .p2-feed { justify-content: space-between; gap: 12px; padding: 22px; border-radius: 28px; background: linear-gradient(180deg, rgba(214, 238, 255, .60), rgba(240, 246, 255, .45)); }
:root[data-theme="dark"] .hm .p2-layout-chat .p2-feed { background: rgba(255, 255, 255, .05); }
.hm .p2-layout-chat .p2-msg { gap: 10px; }
.hm .p2-chip { width: 30px; height: 30px; background: #fff; box-shadow: 0 1px 4px rgba(74, 60, 140, .14); color: #35104f; }
.hm .p2-layout-chat .p2-msg p { padding: 10px 16px; border-radius: 8px 20px 20px 20px; background: rgba(255, 255, 255, .88); font-size: 14.5px; line-height: 1.4; color: var(--ink); box-shadow: 0 1px 3px rgba(74, 60, 140, .06); }
.hm .p2-layout-chat .p2-msg.is-me p { border-radius: 20px 8px 20px 20px; background: linear-gradient(180deg, #7a43b4, #4b1b6f); color: #fff; }
.hm .p2-layout-chat .p2-msg.is-key p { padding: 14px 18px; background: linear-gradient(180deg, rgba(214, 242, 255, .98), rgba(160, 219, 255, .92)); color: #12061a; font-size: 15.5px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 8px 22px rgba(110, 190, 255, .28); }
:root[data-theme="dark"] .hm .p2-layout-chat .p2-msg:not(.is-me, .is-key) p { background: rgba(255, 255, 255, .09); box-shadow: none; }
.hm .p2-call { margin: -4px 0 -2px 40px; font-size: 12px; color: var(--muted-card); }
.hm .p2-call span { color: var(--muted-card); }
.hm .p2-call em { padding: 2px 9px; background: rgba(255, 255, 255, .7); font-size: 11.5px; }
:root[data-theme="dark"] .hm .p2-call em { background: rgba(255, 255, 255, .1); }
.hm .p2-layout-chat .p2-stack { gap: 10px; align-content: stretch; grid-auto-rows: auto; }
.hm .p2-layout-chat .p2-tile, .hm .p2-gw-name { display: flex; align-items: center; gap: 14px; }
.hm .p2-layout-chat .p2-tile { padding: 13px 16px 13px 13px; border-radius: 26px; background: rgba(255, 255, 255, .80); box-shadow: 0 1px 2px rgba(45, 16, 67, .04), 0 6px 18px rgba(74, 60, 140, .07); }
:root[data-theme="dark"] .hm .p2-layout-chat .p2-tile { background: rgba(255, 255, 255, .07); box-shadow: none; }
.p2-ico2 { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(180deg, #eef7ff, #d9ecff); }
:root[data-theme="dark"] .p2-ico2 { background: rgba(174, 229, 255, .14); }
.p2-txt { display: flex; flex-direction: column; min-width: 0; }
.p2-txt b { font-size: 16px; line-height: 1.25; font-weight: 400; letter-spacing: -.01em; color: var(--ink); }
.p2-txt small { font-size: 13px; line-height: 1.35; color: var(--muted-card); }
.hm .p2-layout-chat .p2-tile.is-gw { align-items: stretch; gap: 14px; }
.hm .p2-gw-parts { gap: 8px; }
.hm .p2-gw-parts > span { gap: 7px; padding: 11px 13px; border-radius: 18px; background: rgba(222, 238, 255, .55); }
:root[data-theme="dark"] .hm .p2-gw-parts > span { background: rgba(255, 255, 255, .06); }
.hm .p2-gw-parts small { font-size: 11.5px; letter-spacing: 0; text-transform: none; color: var(--muted-card); }

/* ---------- story: figures ---------- */
.hm .st-lead { font-size: clamp(17px, 1.45vw, 19px); line-height: 1.45; letter-spacing: -.01em; }
.hm .st-chart h4 { font-size: 16px; font-weight: 400; }
.hm .st-base i { left: 0; bottom: 6px; padding: 3px 9px; border-radius: 999px; background: #fff; box-shadow: 0 1px 4px rgba(74, 60, 140, .16); font-size: 11.5px; line-height: 1.2; letter-spacing: 0; text-transform: none; color: #35104f; }
:root[data-theme="dark"] .hm .st-base i { background: #4d3d5b; color: #fff; }
.hm .st-bar em { font-size: 12px; } .hm .st-bar i { font-size: 12px; }
.hm .st-base { border-top-color: color-mix(in srgb, var(--ink) 45%, transparent); border-top-width: 1.5px; }
/* the bar's body is its own layer, so it can sway while its labels stay put */
.hm .st-bar, .hm .st-bar.is-now { background: none; box-shadow: none; }
.hm .st-bar::before { content: ""; position: absolute; inset: 0; border-radius: 12px 12px 5px 5px; transform-origin: 50% 100%; background: linear-gradient(180deg, color-mix(in srgb, #8a4fc0 42%, transparent), color-mix(in srgb, #8a4fc0 16%, transparent)); }
.hm .st-bar.is-now::before { background: linear-gradient(180deg, #8a4fd8, #4b1b6f); box-shadow: 0 8px 22px rgba(138, 79, 216, .28); }
:root[data-theme="dark"] .hm .st-bar.is-now::before { background: linear-gradient(180deg, #d0a6ff, #8a4fd8); }
.hm .rg-story.is-visible .st-panel[data-panel="0"].is-on .st-bar { animation: none; }
@media (prefers-reduced-motion: no-preference) {
  .hm .rg-story.is-visible .st-panel[data-panel="0"].is-on .st-bar::before { animation: hm-pop 1.5s cubic-bezier(.3, .7, .2, 1) calc(var(--n, 0) * .12s) both, hm-sway 4.6s ease-in-out calc(1.5s + var(--n, 0) * .35s) infinite; }
  .hm .rg-story.is-visible .v2-viz { animation: hm-rock 5.2s ease-in-out infinite; }
  .hm .v2-row:nth-of-type(3) .v2-viz, .hm .v2-row:last-child .v2-viz { animation-delay: -2.1s !important; }
  .hm .rg-story.is-visible .st-panel[data-panel="2"].is-on .st-donut-fg { animation: st-donut 1.4s cubic-bezier(.3, .7, .2, 1) .3s both, hm-breathe 4.8s ease-in-out 1.8s infinite; }
  .hm .rg-story.is-visible .st-panel[data-panel="2"].is-on .st-bars rect { animation: st-grow .9s cubic-bezier(.2, .8, .2, 1) .3s both, hm-sway 4.6s ease-in-out 1.4s infinite; }
  .hm .rg-story.is-visible .st-spark-dot { transform-box: fill-box; transform-origin: center; animation: hm-dot 2.4s ease-in-out infinite; }
  .hm .rg-story.is-visible .st-agent { animation: hm-bob 4.4s ease-in-out infinite; } .hm .rg-story.is-visible .st-person { animation: hm-bob 5.2s ease-in-out infinite reverse; }
  .hm .st-agent:nth-child(3), .hm .st-person:nth-child(2) { animation-delay: -1.1s !important; } .hm .st-agent:nth-child(5), .hm .st-person:nth-child(3) { animation-delay: -2.3s !important; } .hm .st-agent:nth-child(7), .hm .st-person:nth-child(4) { animation-delay: -3.2s !important; }
}
.hm .st-bar:nth-child(3) { --n: 1; } .hm .st-bar:nth-child(4) { --n: 2; } .hm .st-bar:nth-child(5) { --n: 3; }
@keyframes hm-pop { 0% { transform: scaleY(0); } 48% { transform: scaleY(1.1) scaleX(.94); } 66% { transform: scaleY(.95) scaleX(1.03); } 82% { transform: scaleY(1.025); } 100% { transform: none; } }
@keyframes hm-sway { 0%, 100% { transform: none; } 28% { transform: scaleY(1.022) scaleX(.985) skewX(-.7deg); } 62% { transform: scaleY(.985) scaleX(1.01) skewX(.7deg); } }
@keyframes hm-rock { 0%, 100% { transform: rotate(-2.2deg); } 50% { transform: rotate(2.6deg) translateY(-1.5px); } }
@keyframes hm-breathe { 50% { stroke-width: 5.8; } }
@keyframes hm-dot { 50% { transform: scale(1.5); } }
@keyframes hm-bob { 0%, 100% { transform: none; } 50% { transform: translateY(-3px) rotate(1.2deg); } }

/* ---------- story: the blocked diagram ---------- */
.hm .st-row-label { font-size: 15px; letter-spacing: -.01em; text-transform: none; color: var(--ink); }
.hm .st-diagram { padding-inline: clamp(20px, 3vw, 36px); }

/* ---------- story: the three outcomes ---------- */
.hm .st-v2.is-final { gap: 18px; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
.hm .st-v2.is-final .v2-card { gap: 12px; padding: 26px 22px 22px; border-radius: 32px; border: 1px solid var(--hm-edge); background: var(--hm-card); box-shadow: var(--hm-lift); }
.hm .st-v2.is-final .v2-card + .v2-card { border-left: 1px solid var(--hm-edge); }
.hm .v2-card.is-under { --tone: #7a43c4; } .hm .v2-card.is-cost { --tone: #2b86d6; } .hm .v2-card.is-risk { --tone: #b93d86; }
:root[data-theme="dark"] .hm .v2-card.is-under { --tone: #c9a5ff; } :root[data-theme="dark"] .hm .v2-card.is-cost { --tone: #8cc8ff; } :root[data-theme="dark"] .hm .v2-card.is-risk { --tone: #ff9fd0; }
.hm .st-v2.is-final .v2-head { margin: 0 4px 8px; font-family: var(--font-display); font-weight: 300; font-size: clamp(20px, 1.7vw, 23px); line-height: 1.12; letter-spacing: -.025em; text-transform: none; color: var(--ink); text-wrap: balance; min-height: 2.24em; display: flex; align-items: flex-end; }
.hm .st-v2.is-final .v2-row { grid-template-columns: 96px minmax(0, 1fr); flex: 1; gap: 16px; padding: 18px 18px 18px 12px; border-radius: 24px; background: color-mix(in srgb, var(--tone) 7%, transparent); }
.hm .v2-row b { font-size: 38px; letter-spacing: -.03em; color: var(--tone); }
.hm .v2-row small { margin-top: 5px; font-size: 14.5px; line-height: 1.35; color: var(--body); }
.hm .v2-viz svg { max-width: 100%; height: auto; } .hm .v2-viz .st-donut { width: 72px; height: 72px; }
.hm .st-bars text { font-size: 11px; }

/* ---------- rooms carousel ---------- */
.hm .rg-ring.rc { margin-top: 30px; cursor: grab; }
.hm .rc.is-drag, .hm .rc.is-drag a { cursor: grabbing; }
.hm .rc .rg-photo { -webkit-user-drag: none; }
.hm .rc .rg-photo img { filter: none; }
.rc-nav { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 30px; }
.rc-pills { position: relative; display: flex; gap: 2px; padding: 5px; border-radius: 999px; background: var(--hm-card); border: 1px solid var(--hm-edge); box-shadow: var(--hm-lift); overflow-x: auto; scrollbar-width: none; }
.rc-pills::-webkit-scrollbar { display: none; }
.rc-pill { flex: none; min-height: 44px; padding: 0 20px; border: 0; border-radius: 999px; background: none; font: inherit; font-size: 14.5px; color: var(--body); cursor: pointer; transition: color .3s ease, background-color .3s ease, box-shadow .3s ease; }
.rc-pill.is-on { color: #12061a; background: linear-gradient(180deg, rgba(214, 242, 255, .96), rgba(143, 211, 255, .80)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .75), 0 6px 18px rgba(110, 190, 255, .28); }
.rc-arrow { flex: none; display: grid; place-items: center; width: 54px; height: 54px; border: 1px solid var(--hm-edge); border-radius: 50%; background: var(--hm-card); box-shadow: var(--hm-lift); color: var(--ink); cursor: pointer; transition: transform .3s var(--hm-ease), background-color .3s ease; }
.rc-arrow svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.rc-arrow:active { transform: scale(.92); }
@media (hover: hover) and (pointer: fine) { .rc-arrow:hover { background: rgba(174, 229, 255, .45); } .rc-pill:not(.is-on):hover { background: color-mix(in srgb, var(--ink) 5%, transparent); } }

/* ---------- open to every agent: plates ---------- */
.hm .hm-band .tile { padding: 22px 22px 26px; border-color: rgba(255, 255, 255, .75); background: rgba(250, 251, 255, .66); -webkit-backdrop-filter: blur(22px) saturate(1.3); backdrop-filter: blur(22px) saturate(1.3); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .85), 0 10px 30px rgba(60, 70, 120, .12); }
.hm .hm-band .tile h3 { display: flex; flex-direction: column; gap: 18px; margin-bottom: 8px; font-size: 17px; letter-spacing: -.01em; color: #2d1043; }
.hm .hm-band .tile p { font-size: 14.5px; line-height: 1.45; color: #4a3b58; }
.hm .hm-band .tile .tile-icon { box-sizing: border-box; width: 44px; height: 44px; margin: 0; padding: 11px; border-radius: 50%; background: linear-gradient(180deg, #f4faff, #d9ecff); color: #4b1b6f; }
@media (hover: hover) and (pointer: fine) { .hm .hm-band .tile:hover { background: rgba(255, 255, 255, .84); } }

/* ---------- narrower screens ---------- */
@media (max-width: 1000px) { .hm .st-v2.is-final { grid-template-columns: minmax(0, 1fr); } .hm .st-v2.is-final .v2-head { min-height: 0; } }
@media (max-width: 860px) {
  .hm .p2-layout.p2-layout-chat { grid-template-columns: minmax(0, 1fr); }
  .hm .p2-layout-chat .p2-stack { grid-template-columns: minmax(0, 1fr); }
  .hm .p2-layout-chat .p2-tile:nth-child(3) { grid-column: auto; }
}
@media (max-width: 640px) {
  .hm .p2-layout-chat .p2-feed { padding: 14px; border-radius: 22px; gap: 10px; }
  .hm .p2-layout-chat .p2-msg p { font-size: 14px; padding: 9px 13px; } .hm .p2-layout-chat .p2-msg.is-key p { font-size: 14.5px; }
  .hm .p2-room { gap: 14px; } .p2-logo { width: 158px; } .p2-here span { width: 28px; height: 28px; } .p2-here svg { width: 13px; height: 13px; }
  .hm .p2-layout-chat .p2-tile { border-radius: 22px; }
  .rc-nav { flex-wrap: wrap; gap: 12px; margin-top: 22px; } .rc-pills { order: -1; max-width: 100%; width: 100%; box-sizing: border-box; }
  .rc-pill { padding: 0 16px; }
  .hm .st-v2.is-final .v2-row { grid-template-columns: 84px minmax(0, 1fr); } .hm .v2-row b { font-size: 33px; }
  .hm .hm-band .tile { display: block; padding: 18px 20px 20px 76px; background: rgba(248, 250, 255, .86); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .hm .hm-band .tile h3 { margin-bottom: 3px; font-size: 16px; } .hm .hm-band .tile .tile-icon { position: absolute; left: 18px; top: 18px; width: 42px; height: 42px; }
}
.hm .rc .rg-photo .rg-photo-tag { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(40, 46, 70, .42); }
@media (max-width: 1000px) { .hm .p2-layout.p2-layout-chat .p2-stack { grid-template-columns: minmax(0, 1fr); } .hm .p2-layout-chat .p2-tile:nth-child(n) { grid-column: auto; } }

/* ================= round 4 ================= */
/* ---------- a lighter violet everywhere a shape or a heading used the dark one ---------- */
body.hm { --vio: #8f63d6; --vio-2: #a988e4; --vio-3: #7b4fc6; }
:root[data-theme="light"] body.hm { --two-tone: #6a41a8; --two-tone-2: #a890c9; --display: #6a41a8; --accent: #7347b5; --accent-text: #6a41a8; }
:root[data-theme="light"] .hm .hero h1 { color: #5a3596; }
:root[data-theme="light"] .hm .hero .hm-glow { background-image: linear-gradient(95deg, #6d35c9 0%, #8f43d4 52%, #b044c0 100%); }
:root[data-theme="light"] .hm main h2 { color: #6a41a8; } :root[data-theme="light"] .hm .rg-story h2 span { color: #a890c9; }
:root[data-theme="light"] .hm .hm-final h2 { color: #effaff; }
.hm .st-bar.is-now::before { background: linear-gradient(180deg, #b493ee, #8658cf); box-shadow: 0 8px 22px rgba(134, 88, 207, .24); }
.hm .st-bar::before { background: linear-gradient(180deg, rgba(180, 147, 238, .50), rgba(180, 147, 238, .20)); }
.hm .p2-layout-chat .p2-msg.is-me p { background: linear-gradient(180deg, #9a70dc, #7d51c8); }
.hm .p2-here span, .hm .p2-chip, .hm .p2-agent { color: #6a41a8; }
:root[data-theme="dark"] .hm .p2-here span { color: #fff; } :root[data-theme="dark"] .hm .p2-agent { color: #fff; }
.hm .hm-band .tile .tile-icon { color: #7347b5; } .hm .hm-band .tile h3 { color: #3f2a63; }
.hm .st-base i { color: #6a41a8; } :root[data-theme="dark"] .hm .st-base i { color: #fff; }
/* ---------- blocked by human infra: circles ---------- */
.hm .st-agent, .hm .st-person, .hm .st-comm { border-radius: 50%; }
.hm .st-agent { background: linear-gradient(180deg, #b08bea, #8658cf); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 10px 22px rgba(134, 88, 207, .26); }
.hm .st-person { background: #fff; color: #7347b5; box-shadow: inset 0 0 0 1px rgba(143, 99, 214, .28), 0 6px 16px rgba(134, 88, 207, .10); }
.hm .st-comm { width: 44px; height: 44px; background: #fff; color: #7347b5; box-shadow: inset 0 0 0 1px rgba(143, 99, 214, .28), 0 4px 12px rgba(134, 88, 207, .10); }
:root[data-theme="dark"] .hm .st-person, :root[data-theme="dark"] .hm .st-comm { background: #3a2a4a; color: #e3d2ff; }
.hm .st-links i { background: #b79be6; }
.hm .st-rail { border: 0; background: linear-gradient(#b79be6, #b79be6) 0 0 / 2px 100% no-repeat, linear-gradient(#b79be6, #b79be6) 25% 0 / 2px 100% no-repeat, linear-gradient(#b79be6, #b79be6) 50% 0 / 2px 100% no-repeat, linear-gradient(#b79be6, #b79be6) 75% 0 / 2px 100% no-repeat, linear-gradient(#b79be6, #b79be6) 100% 0 / 2px 100% no-repeat, linear-gradient(#b79be6, #b79be6) 0 100% / 100% 2px no-repeat; }
.hm .st-pulse { background: #8f63d6; }
/* ---------- the three outcomes: centred, quieter ---------- */
.hm .st-v2.is-final .v2-card { padding: 22px 18px 18px; text-align: center; }
.hm .st-v2.is-final .v2-head { justify-content: center; min-height: 0; margin: 0 4px 6px; font-size: clamp(17px, 1.36vw, 19px); letter-spacing: -.02em; }
.hm .st-v2.is-final .v2-row { grid-template-columns: minmax(0, 1fr); justify-items: center; align-content: center; gap: 10px; padding: 18px 16px; }
.hm .st-v2.is-final .v2-row p { align-items: center; }
.hm .v2-row b { font-size: 30px; } .hm .v2-row small { max-width: 24ch; margin-top: 4px; font-size: 13.5px; text-wrap: balance; }
.hm .v2-viz { height: 66px; } .hm .v2-viz .st-donut { width: 62px; height: 62px; } .hm .v2-viz svg:not(.st-donut) { height: 56px; width: auto; }
/* ---------- carousel: the names come first, under the heading ---------- */
.hm .rc-nav { margin-top: 30px; }
/* ---------- open to every agent: the chalkboard in the hero's two tones ---------- */
.hm-band { background: #a9cdE6; box-shadow: 0 50px 100px -40px rgba(90, 120, 160, .42); }
.hm-band-bg { top: -4%; height: 108%; object-position: 0 40%; }
.hm-band > .hv-hue { position: absolute; z-index: -1; display: block; } .hm-band > .hv-grain { position: absolute; z-index: -1; display: block; opacity: .34; }
.hm-band::after { background: radial-gradient(52% 46% at 72% 20%, rgba(246, 251, 255, .84) 0%, rgba(246, 251, 255, .66) 48%, rgba(246, 251, 255, 0) 100%), linear-gradient(180deg, rgba(246, 250, 255, .05), rgba(246, 250, 255, .10) 55%, rgba(250, 251, 255, .62) 100%); }
:root[data-theme] .hm .hm-band h2 { align-self: flex-end; font-size: clamp(30px, 3.53vw, 50px); color: #5a3596; } :root[data-theme] .hm .hm-band h2 span { color: #8a55cf; }
.hm .hm-band .tile { background: rgba(250, 252, 255, .72); }
@media (max-width: 1100px) { .hm-band-bg { height: 620px; top: 0; -webkit-mask-image: linear-gradient(#000 58%, transparent); mask-image: linear-gradient(#000 58%, transparent); object-position: 30% 0; } .hm-band { background: linear-gradient(#b4d5ea, #e4ecf8 64%); } }
@media (max-width: 640px) {
  .hm .rc-nav { flex-wrap: nowrap; gap: 8px; margin-top: 22px; } .hm .rc-pills { order: 0; flex: 1; width: auto; min-width: 0; } .hm .rc-arrow { width: 46px; height: 46px; }
  .hm-band-bg { height: 520px; object-position: 36% 0; }
  .hm-band::after { background: linear-gradient(180deg, rgba(246, 251, 255, .80) 0%, rgba(246, 251, 255, .66) 26%, rgba(246, 251, 255, 0) 46%); }
  :root[data-theme] .hm .hm-band h2 { align-self: flex-start; font-size: min(35px, 8.83vw); } .hm-band-in { gap: 200px; }
}
.hm .st-note { font-family: 'Caveat', 'Segoe Print', 'Bradley Hand', cursive; }
@media (min-width: 1001px) { .hm .st-v2.is-final .v2-head { min-height: 2.3em; align-items: center; } }
@media (min-width: 1101px) { .hm-band-bg { top: -6%; height: 113%; } .hm-band::after { background: radial-gradient(46% 42% at 76% 17%, rgba(244, 250, 255, .80) 0%, rgba(244, 250, 255, .58) 48%, rgba(244, 250, 255, 0) 100%), linear-gradient(180deg, rgba(246, 250, 255, 0) 60%, rgba(250, 251, 255, .5) 100%); } }

/* ================= round 5 ================= */
/* ---------- blocked by human infrastructure ---------- */
.hm .st-diagram > * { z-index: 1; } .hm .st-diagram .dg { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.dg-lane { fill: color-mix(in srgb, #a988e4 9%, transparent); }
.dg-line { fill: none; stroke: #c3acec; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.dg-dots { fill: none; stroke: #c9bddb; stroke-width: 3; stroke-linecap: round; stroke-dasharray: .1 9; }
.dg-xb { fill: #fff; stroke: #f3cfd0; stroke-width: 1.5; }
.dg-run { fill: none; stroke: #8f63d6; stroke-width: 3.5; stroke-linecap: round; stroke-dasharray: 4 100; stroke-dashoffset: 4; opacity: 0; }
:root[data-theme="dark"] .dg-lane { fill: rgba(199, 178, 255, .07); } :root[data-theme="dark"] .dg-line { stroke: #7d63a8; } :root[data-theme="dark"] .dg-dots { stroke: #6d5a86; } :root[data-theme="dark"] .dg-xb { fill: #3a2a4a; stroke: #7a4a5c; }
.hm .st-diagram .st-agents, .hm .st-diagram .st-people, .hm .st-diagram .st-rail { position: relative; }
.hm .st-diagram .st-agents { padding-right: 4px; } .hm .st-diagram .st-people { padding-right: 4px; }
.hm .st-links { padding-right: 35px; } .hm .st-rail { margin-right: 35px; }
.hm .st-links i, .hm .st-rail { background: none !important; border: 0 !important; } .hm .st-pulse { display: none; }
.hm .st-links { height: 56px; } .hm .st-rail { height: 64px; }
.hm .st-x { background: none; font-size: 13.5px; line-height: 1; color: #d0525a; }
.hm .st-x::before { content: none; }
.hm .st-row-label { font-size: 16px; color: #6a41a8; } :root[data-theme="dark"] .hm .st-row-label { color: #e3d2ff; }
.hm .st-agent svg, .hm .st-person svg { width: 26px; height: 26px; }
.hm .st-note { font-size: 22px; line-height: 1.12; color: #c8434b; } .hm .st-arrow { stroke: #d0525a; stroke-width: 2.2; }
:root[data-theme="dark"] .hm .st-note { color: #ff9aa2; } :root[data-theme="dark"] .hm .st-arrow { stroke: #ff9aa2; }
/* the circles stand still here: only the notes and one signal move */
.hm .rg-story.is-visible .st-agent, .hm .rg-story.is-visible .st-person, .hm .rg-story.is-visible .st-x { animation: none !important; }
@media (prefers-reduced-motion: no-preference) { .hm .rg-story.is-visible .st-panel[data-panel="1"].is-on .dg-run { animation: dg-run 5.2s cubic-bezier(.45, .1, .5, .95) 1s infinite; } }
@keyframes dg-run { 0% { stroke-dashoffset: 4; opacity: 0; } 8% { opacity: 1; } 88% { opacity: 1; } 96%, 100% { stroke-dashoffset: -98; opacity: 0; } }
/* ---------- the three outcomes: white at the top, colour rising from the foot of the card ---------- */
.hm .st-v2.is-final .v2-card { position: relative; isolation: isolate; overflow: hidden; gap: 0; padding: 26px 22px 12px; border: 1px solid rgba(255, 255, 255, .9);
  background: radial-gradient(120% 46% at 50% 112%, color-mix(in srgb, var(--tone) 34%, transparent), transparent 100%), linear-gradient(180deg, #fff 0%, #fff 34%, color-mix(in srgb, var(--tone) 17%, #fff) 100%);
  box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(45, 16, 67, .04), 10px 18px 40px rgba(74, 60, 140, .12), 3px 4px 12px rgba(74, 60, 140, .05); }
:root[data-theme="dark"] .hm .st-v2.is-final .v2-card { border-color: rgba(255, 255, 255, .10); background: radial-gradient(120% 46% at 50% 112%, color-mix(in srgb, var(--tone) 34%, transparent), transparent 100%), linear-gradient(180deg, #2a1f36 0%, #2a1f36 34%, color-mix(in srgb, var(--tone) 22%, #22182e) 100%); box-shadow: var(--hm-lift); }
.hm .st-v2.is-final .v2-card.is-under { --tone: #a07be6; --num: #7b4fc6; } .hm .st-v2.is-final .v2-card.is-cost { --tone: #62b4f5; --num: #2783d0; } .hm .st-v2.is-final .v2-card.is-risk { --tone: #f08fb4; --num: #cc4a82; }
:root[data-theme="dark"] .hm .st-v2.is-final .v2-card { --num: color-mix(in srgb, var(--tone) 70%, #fff); }
.hm .st-v2.is-final .v2-head { margin-bottom: 4px; }
.hm .st-v2.is-final .v2-row { padding: 22px 12px; border-radius: 0; background: none; }
.hm .st-v2.is-final .v2-row + .v2-row { background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--tone) 38%, transparent) 30% 70%, transparent) top / 100% 1px no-repeat; }
.hm .v2-row b { font-size: 35px; color: var(--num, var(--tone)); }
/* ---------- open to every agent: lower, words in the middle ---------- */
.hm-band-in { min-height: min(660px, calc(100svh - 170px)); gap: 48px; padding-block: clamp(34px, 3.4vw, 48px) clamp(18px, 2vw, 28px); }
:root[data-theme] .hm .hm-band h2 { align-self: center; text-align: center; font-size: clamp(30px, 3.83vw, 54px); }
.hm .hm-band .tile { padding: 18px 20px 20px; } .hm .hm-band .tile h3 { gap: 14px; margin-bottom: 6px; } .hm .hm-band .tile p { font-size: 14px; }
@media (min-width: 1101px) {
  .hm main section#trust { scroll-margin-top: 92px; }
  .hm-band-bg { object-position: 0 30%; }
  .hm-band::after { background: radial-gradient(44% 40% at 50% 16%, rgba(240, 248, 255, .86) 0%, rgba(240, 248, 255, .60) 50%, rgba(240, 248, 255, 0) 100%), linear-gradient(180deg, rgba(246, 250, 255, 0) 60%, rgba(250, 251, 255, .45) 100%); }
}
@media (max-width: 1100px) and (min-width: 641px) { .hm-band::after { background: radial-gradient(60% 26% at 50% 13%, rgba(240, 248, 255, .84), rgba(240, 248, 255, 0) 100%); } }
@media (max-width: 640px) { .hm-band-in { min-height: 0; gap: 170px; padding: 34px 12px 12px; } .hm .hm-band .tile { padding: 16px 18px 18px 74px; } .hm .hm-band .tile h3 { margin-bottom: 3px; }
  .hm .st-row-label { font-size: 14.5px; } .hm .st-links { height: 40px; padding-inline: 22px; } .hm .st-agent svg, .hm .st-person svg { width: 20px; height: 20px; } .hm .st-x { font-size: 10px; } .hm .st-note { font-size: 20px; }
  .hm .st-diagram .st-agents, .hm .st-diagram .st-people { padding-right: 0; } .hm .st-comm { width: 36px; height: 36px; } }

/* ---------- chart figures ---------- */
.hm .st-bar i { z-index: 2; } .hm .st-base { z-index: 1; }
.hm .st-bar i.is-in { bottom: auto; top: 7px; color: #5b3a94; } :root[data-theme="dark"] .hm .st-bar i.is-in { color: #efe4ff; }
.hm .st-base i { font-size: 11px; padding: 2px 8px; bottom: 5px; left: -4px; }
/* ---------- open to every agent: rounder, lower plates ---------- */
.hm-band-in { min-height: min(580px, calc(100svh - 190px)); }
.hm .hm-band .tile-grid.rg-five { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.hm .hm-band .tile { position: relative; flex: 1 1 0; min-width: 0; padding: 14px 16px 16px; border-radius: 34px; background: rgba(250, 252, 255, .80); }
.hm .hm-band .tile h3 { flex-direction: row; align-items: center; gap: 10px; margin: 0 0 6px; font-size: 15px; line-height: 1.2; text-wrap: balance; }
.hm .hm-band .tile .tile-icon { flex: none; width: 36px; height: 36px; padding: 9px; }
.hm .hm-band .tile p { padding: 0 6px 0 4px; font-size: 13.5px; line-height: 1.4; color: #453757; text-wrap: pretty; }
@media (max-width: 1240px) { .hm .hm-band .tile, .hm .hm-band .tile:last-child { flex: 0 1 calc((100% - 20px) / 3); grid-column: auto; } }
@media (max-width: 860px) { .hm .hm-band .tile, .hm .hm-band .tile:last-child { flex-basis: calc((100% - 10px) / 2); } .hm .hm-band .tile:last-child { flex-basis: 100%; } }
@media (max-width: 640px) {
  .hm-band-in { min-height: 0; gap: 190px; } .hm .hm-band .tile-grid.rg-five { gap: 8px; }
  .hm .hm-band .tile, .hm .hm-band .tile:last-child { flex: 1 1 100%; padding: 13px 18px 14px 64px; border-radius: 30px; background: rgba(248, 251, 255, .88); }
  .hm .hm-band .tile h3 { margin-bottom: 2px; font-size: 15px; } .hm .hm-band .tile .tile-icon { left: 14px; top: 50%; translate: 0 -50%; width: 38px; height: 38px; } .hm .hm-band .tile p { padding: 0; }
}
/* the same small print in Safari as elsewhere */
.hm .p2-txt small, .hm .p2-gw-parts small, .hm .v2-row small, .hm .st-bar i, .hm .st-bar em { font-weight: 400; }

/* Safari flattens the carousel's depth when the same element carries a mask: the edges fade under two overlays instead */
.hm .rg-ring.rc { -webkit-mask-image: none; mask-image: none; }
.hm .rg-ring.rc::before, .hm .rg-ring.rc::after { content: ""; position: absolute; z-index: 300; top: 0; bottom: 0; width: 13%; pointer-events: none; }
.hm .rg-ring.rc::before { left: 0; background: linear-gradient(90deg, var(--canvas), color-mix(in srgb, var(--canvas) 0%, transparent)); }
.hm .rg-ring.rc::after { right: 0; background: linear-gradient(270deg, var(--canvas), color-mix(in srgb, var(--canvas) 0%, transparent)); }
@media (min-width: 961px) and (max-width: 1100px) { .hm .st-note { font-size: 18px; } .hm .st-note.is-isolated { max-width: 230px; right: 33%; } .hm .st-note.is-silo { max-width: 250px; } }

@media (max-width: 960px) { .hm .st-row-label { justify-self: start; padding: 1px 8px 1px 0; background: var(--hm-card); border-radius: 8px; } :root[data-theme="light"] .hm .st-row-label { background: #fff; } }

/* Helvetica Neue Regular in every browser: Safari would otherwise swap in the Light and Medium cuts */
.hm .site-header { --font-body: "Rooms Helvetica", "Helvetica Neue", Helvetica, Arial, sans-serif; }
/* the label on a photo is the chosen button from above, centred */
.hm .rc .rg-photo .rg-photo-tag { top: 18px; left: 50%; translate: -50% 0; display: grid; place-items: center; box-sizing: border-box; min-height: 44px; padding: 0 20px; border-radius: 999px; font-family: var(--font-body); font-size: 14.5px; font-weight: inherit; letter-spacing: normal; line-height: 1.2; white-space: nowrap; color: #12061a; background: linear-gradient(180deg, #d8f3ff, #a5dcff); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .75), 0 6px 18px rgba(110, 190, 255, .28); }

.hm main .btn { font-size: 13.5px; }

/* The agents wear their own colours; ChatGPT's and Grok's marks are black, white on dark */
.hm .is-claude { color: #d97757 !important; } .hm .is-gpt, .hm .is-grok { color: #0a0a0a !important; }
:root[data-theme="dark"] .hm .is-gpt, :root[data-theme="dark"] .hm .is-grok { color: #fff !important; }

/* The manifesto's living threads: fade in halfway between the band and the closing card and run down under the footer */
body.hm { position: relative; }
.hm-threads { position: absolute; left: 0; bottom: 0; z-index: 0; width: 100%; height: 900px; pointer-events: none; -webkit-mask-image: linear-gradient(180deg, transparent 0, rgba(0, 0, 0, .3) 40px, rgba(0, 0, 0, .75) 90px, #000 140px); mask-image: linear-gradient(180deg, transparent 0, rgba(0, 0, 0, .3) 40px, rgba(0, 0, 0, .75) 90px, #000 140px); }
:root[data-theme="dark"] .hm .p2-chip .is-gpt, :root[data-theme="dark"] .hm .p2-chip .is-grok { color: #0a0a0a !important; }
