/* The Mesh home page: two halves (Mesh Bot, Mesh Helm), "Which one?", one job in five moments, the engine in 3D.
   It builds on site.css. Made from the concepts in website-concepts/mesh-home/ (B, with parts of A and C). */
:root {
  --bot: #5a3fd8; --bot-d: #4630b0; --bot-l: #ece8fd; --bot-glow: #a493ff;
  --helm: #19c37d; --helm-d: #0b8f59; --helm-l: #d3f2e2; --helm-glow: #2fe39a;
}
/* Product marks and chips */
.pmark { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--bot); color: #fff; flex: none; }
.pmark svg { width: 21px; height: 21px; }
.pmark.helm { background: var(--helm); color: var(--ink); }
.pname { display: inline-flex; align-items: center; gap: 10px; font-weight: 780; font-stretch: 84%; font-size: 22px; letter-spacing: -0.01em; }
.tag { display: inline-flex; align-items: center; gap: 7px; min-height: 26px; padding: 0 11px 0 9px; border-radius: 999px; font-size: 13.5px; font-weight: 680; background: var(--bot); color: #fff; white-space: nowrap; }
.tag::before { content: ''; width: 8px; height: 8px; border-radius: 2px; transform: rotate(45deg); background: currentColor; opacity: .85; }
.tag.helm { background: var(--helm); color: var(--ink); }
.btn.bot:not(.mh *) { background: var(--bot); border-color: var(--bot); color: #fff; }
.btn.helm:not(.mh *) { background: var(--helm); border-color: var(--helm); color: var(--ink); }
.on-ink .btn.quiet:not(.mh *) { color: #fff; border-color: rgba(255, 255, 255, .7); }
.on-ink .btn.quiet:not(.mh *):hover { background: #fff; color: var(--ink); border-color: #fff; }
.textlink { font-weight: 650; text-underline-offset: 4px; text-decoration-thickness: 2px; }

/* The Helm app window, drawn at its full size and scaled to fit its box */
.winfit { position: relative; width: 100%; overflow: hidden; border-radius: 16px; }
.winfit > .mh.win { position: absolute; left: 0; top: 0; width: 1120px; height: 700px; transform-origin: 0 0; transform: scale(var(--s, .5)); border-radius: 16px; }

/* Early access: which app */
.which { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.which legend { width: 100%; margin-bottom: 10px; font-weight: 650; font-size: 16px; }
.which label { position: relative; display: inline-flex; align-items: center; gap: 9px; min-height: 46px; padding: 0 18px; border-radius: 13px; box-shadow: inset 0 0 0 2px var(--line); font-weight: 620; cursor: pointer; transition: box-shadow .16s ease, background-color .16s ease; }
.which input { position: absolute; opacity: 0; pointer-events: none; }
.which label i { width: 11px; height: 11px; border-radius: 3px; transform: rotate(45deg); background: var(--ink); }
.which label.b i { background: var(--bot); } .which label.h i { background: var(--helm); }
.which label:has(input:checked) { box-shadow: inset 0 0 0 2.5px var(--ink); background: var(--cool); }
.which label:has(input:focus-visible) { outline: 3px solid var(--ink); outline-offset: 3px; }
.which input { min-height: 0; width: 1px; height: 1px; padding: 0; border: 0; flex: none; }
.close .which { margin-top: 22px; }

/* The hero */
.bhero { display: flex; flex-direction: column; min-height: calc(100svh - 64px); }
.bline { text-align: center; padding: clamp(12px, 2vh, 22px) 24px; }
.bline h1 { font-size: clamp(23px, 2.5vw, 38px); line-height: 1.05; font-weight: 780; font-stretch: 82%; letter-spacing: -0.015em; }
.btabs { display: none; }
.halves { flex: 1; display: flex; min-height: 0; }
.half { position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; display: flex; flex-direction: column; padding: clamp(24px, 3vw, 46px) clamp(24px, 3.4vw, 56px) 0; transition: flex-grow .6s cubic-bezier(.3, .7, .2, 1); }
.half.bot { background: var(--bot-l); }
.half.helm { background: var(--ink); color: #fff; }
.halves[data-active='bot'] .half.bot, .halves[data-active='helm'] .half.helm { flex-grow: 1.5; }
.half h2 { margin-top: 14px; font-size: clamp(44px, 4.9vw, 80px); line-height: .92; font-weight: 800; font-stretch: 76%; letter-spacing: -0.03em; white-space: nowrap; }
.half .hs { margin-top: 16px; font-size: clamp(17px, 1.3vw, 19.5px); line-height: 1.45; max-width: 29em; }
.half.helm .hs { color: rgba(255, 255, 255, .86); }
.hin .who { margin-top: 8px; font-weight: 680; font-size: 16.5px; }
.half.bot .hin .who { color: var(--bot-d); } .half.helm .hin .who { color: var(--helm-glow); }
.half .go { margin-top: 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }

/* The seam between the halves, with the Mesh mark */
.seam { flex: 0 0 0; position: relative; z-index: 3; }
.seam span { position: absolute; left: 0; top: clamp(22px, 2.8vw, 42px); transform: translateX(-50%); width: 54px; height: 54px; border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; box-shadow: 0 0 0 5px rgba(18, 22, 43, .12), 0 10px 24px -10px rgba(18, 22, 43, .6); }
.seam svg { width: 30px; height: 30px; }

/* The two demos, tilted toward the seam */
.demo { position: relative; flex: 1; min-height: 250px; margin-top: clamp(20px, 3.2vh, 38px); perspective: 1500px; }
.tilt { position: absolute; left: 0; right: 0; top: 0; transform-style: preserve-3d; transform-origin: 50% 0; transform: rotateX(calc(7deg + var(--tx, 0deg))) rotateY(calc(var(--base) + var(--ty, 0deg))); transition: transform .3s ease-out; }
.half.bot .tilt { --base: 9deg; } .half.helm .tilt { --base: -9deg; }

/* Mesh Bot: a chat window, drawn from the app's look */
.bwin { width: min(580px, 100%); border-radius: 16px; background: #f3f5f1; color: var(--ink); box-shadow: 0 0 0 1px rgba(18, 22, 43, .12), 0 34px 70px -34px rgba(70, 48, 176, .7); overflow: hidden; }
.bbar { display: flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; font-size: 13px; font-weight: 600; color: var(--dim); }
.bbar i { width: 11px; height: 11px; border-radius: 50%; background: #d3d7dd; }
.bbar span { margin-left: 8px; }
.bchat { margin: 0 10px 10px; padding: 18px 20px 22px; border-radius: 12px; background: #fff; display: grid; gap: 10px; font-size: 15.5px; line-height: 1.4; }
.bchat .you { justify-self: end; max-width: 80%; padding: 9px 14px; border-radius: 14px; background: var(--bot-l); }
.bchat .who2 { display: flex; align-items: center; gap: 9px; font-size: 14.5px; }
.bchat .who2 span:last-child { color: var(--dim); }
.bchat .who2 .av { width: 26px; height: 26px; border-radius: 8px; background: #fbe0ea; color: #b0124a; display: grid; place-items: center; font-weight: 800; font-size: 14px; }
.bchat .steps2 { display: grid; gap: 6px; padding-left: 35px; }
.bchat .steps2 li { position: relative; padding-left: 26px; }
.bchat .steps2 li::before { content: ''; position: absolute; left: 0; top: .12em; width: 18px; height: 18px; border-radius: 5px; background: var(--bot) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 12.8l5 5L19.8 6.6'/%3E%3C/svg%3E") center / 11px no-repeat; }
.bchat code { font: 500 .9em var(--mono); background: var(--bot-l); padding: 1px 6px; border-radius: 6px; }
.bchat .ask2 { margin-left: 35px; padding: 12px 14px 14px; border-radius: 12px; box-shadow: inset 0 0 0 2px var(--amber); background: #fff8e8; }
.bchat .ask2 .acts { margin-top: 10px; display: flex; gap: 8px; }
.bchat .ask2 button { min-height: 36px; padding: 0 14px; border-radius: 10px; border: 2px solid var(--ink); background: var(--ink); color: #fff; font-weight: 650; font-size: 14.5px; transition: transform .14s ease, background-color .14s ease; }
.bchat .ask2 button.no { background: transparent; color: var(--ink); }
.bchat .ask2 button:hover { transform: translateY(-1px); }
.bchat .ask2 button.pressed { transform: scale(.94); }
.bchat .ask2.done { box-shadow: inset 0 0 0 1.5px var(--line); background: var(--cool); }
.bchat .ask2.done .acts { display: none; }
.rcpt { margin-left: 35px; padding: 10px 14px; border-radius: 12px; background: var(--helm-l); font-weight: 520; }
.moves .bchat [data-s] { opacity: 0; transform: translateY(8px); transition: opacity .35s ease, transform .35s ease; }
.moves .bchat [data-s].on { opacity: 1; transform: none; }

/* Mesh Helm: the app window, and a receipt that prints in front of it */
.hwinbox { margin-left: clamp(40px, 7vw, 96px); width: min(660px, 100% - 40px); box-shadow: 0 34px 70px -30px rgba(0, 0, 0, .8); background: #fff; }
.rslot { position: absolute; left: 0; top: 34px; width: min(290px, 62%); padding: 0 6px 40px; margin: 0; transform: translateZ(60px) rotate(-3deg); filter: drop-shadow(0 22px 26px rgba(0, 0, 0, .55)); }
.rslot .paper { --p: 1; transition: transform 1.3s cubic-bezier(.2, .7, .2, 1); padding-bottom: 60px; }
.moves .rslot .paper.wait { --p: 0; transition: none; }
.rslot .stamp { right: 10px; bottom: 30px; }
.hwinbox .need.hit { box-shadow: 0 0 0 3px var(--amber); transition: box-shadow .4s ease; }

/* Phones: the halves stack, a two-tab switch stays in view */
@media (max-width: 860px) {
  .bhero { min-height: 0; }
  .bline { text-align: left; }
  .btabs { display: flex; position: sticky; top: 64px; z-index: 30; margin: 0; background: #fff; box-shadow: 0 1px 0 var(--line); }
  .btabs a { flex: 1; text-align: center; padding: 11px 0; font-weight: 700; text-decoration: none; border-bottom: 4px solid var(--bot); }
  .btabs a + a { border-bottom-color: var(--helm); }
  .halves { display: block; }
  .half { transition: none; scroll-margin-top: 112px; padding-bottom: 0; }
  .half h2 { white-space: normal; font-size: clamp(44px, 13vw, 64px); }
  .seam { display: none; }
  .demo { flex: none; height: 320px; }
  .tilt { transform: none; }
  .half.bot .demo { height: auto; min-height: 0; padding-bottom: 28px; }
  .half.bot .tilt { position: static; }
  .hwinbox { margin-left: 28px; }
  .rslot { width: 230px; }
}

/* Screen 2: which one */
.asks2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.q { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 16px; align-items: start; text-align: left; border: 0; border-radius: 24px; padding: clamp(20px, 2.6vw, 32px); background: #fff; box-shadow: inset 0 0 0 2px var(--line); transition: background-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.q:hover { transform: translateY(-3px); }
.q .pmark { grid-row: span 2; width: 44px; height: 44px; border-radius: 13px; }
.q .pmark svg { width: 26px; height: 26px; }
.q b { font-size: clamp(22px, 2.3vw, 32px); line-height: 1.08; font-weight: 760; font-stretch: 82%; letter-spacing: -0.012em; }
.q > span:last-child { grid-column: 2; font-size: 16.5px; color: var(--dim); }
.q.bot[aria-pressed='true'] { background: var(--bot-l); box-shadow: inset 0 0 0 3px var(--bot); }
.q.helm[aria-pressed='true'] { background: var(--helm-l); box-shadow: inset 0 0 0 3px var(--helm-d); }
.answer { margin-top: 14px; min-height: 132px; }
.answer .a0 { padding: 20px 4px; color: var(--dim); }
.answer .a { border-radius: 24px; padding: clamp(20px, 2.6vw, 32px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px 32px; align-items: center; }
.answer .a[hidden] { display: none; }
.answer .a.bot { background: var(--bot-l); } .answer .a.helm { background: var(--helm-l); }
.answer .a p { font-size: 18px; max-width: 58ch; }
.answer .go { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.btable { margin-top: clamp(28px, 4vw, 48px); box-shadow: 0 0 0 1px var(--line); }
.btable.tt td { width: 41%; background: #f6f3fe; }
.btable.tt td:last-child { width: 41%; background: #e8f8ef; }
.btable.tt tbody th { width: 18%; }
@media (max-width: 860px) { .asks2 { grid-template-columns: 1fr; } .answer .a { grid-template-columns: 1fr; } }

/* The story: one job, five moments */
.story { background: var(--ink); color: #fff; }
.story .head { padding-top: clamp(72px, 9vw, 120px); padding-bottom: clamp(20px, 3vw, 40px); }
.story .head .sub { margin-top: 18px; color: rgba(255, 255, 255, .8); }
.rail { display: none; }
.st { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 24px clamp(24px, 5vw, 80px); align-items: center; padding: clamp(36px, 5vw, 60px) 0; border-top: 1px solid rgba(255, 255, 255, .16); }
.st .meta { display: flex; align-items: center; gap: 12px; }
.st .cn { font: 500 15px/1 var(--mono); color: rgba(255, 255, 255, .62); }
.st h3 { margin-top: 16px; font-size: clamp(30px, 3.4vw, 54px); line-height: .98; font-weight: 780; font-stretch: 80%; letter-spacing: -0.02em; text-wrap: balance; }
.st .stxt { margin-top: 16px; font-size: clamp(17px, 1.35vw, 20px); line-height: 1.5; color: rgba(255, 255, 255, .84); max-width: 32em; }
.cscene { min-width: 0; display: grid; justify-items: center; }
.endnote { padding: clamp(28px, 4vw, 48px) 0 clamp(72px, 9vw, 120px); border-top: 1px solid rgba(255, 255, 255, .16); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.4; max-width: 44em; color: rgba(255, 255, 255, .84); }
.endnote b { color: #fff; }
@media (max-width: 860px) { .st { grid-template-columns: 1fr; } .cscene { justify-items: start; } }

/* The story, pinned: one moment at a time, and a rail with the job on it */
.story.pin .ctrack { height: 330vh; }
.story.pin .cstage { position: sticky; top: 64px; height: calc(100vh - 64px); padding-bottom: 40px; }
.story.pin .cstage > .wrap { height: 100%; display: grid; grid-template-rows: auto minmax(0, 1fr); }
.story.pin .rail { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); padding-top: 46px; margin-top: 8px; --i: 0; }
.story.pin .rail::before { content: ''; position: absolute; left: calc(100% / 10); right: calc(100% / 10); top: 61px; height: 2px; background: rgba(255, 255, 255, .22); }
.stop { position: relative; border: 0; background: none; color: rgba(255, 255, 255, .62); font-size: 14.5px; font-weight: 600; padding: 34px 4px 8px; text-align: center; transition: color .2s ease; }
.stop::before { content: ''; position: absolute; left: 50%; top: 8px; width: 14px; height: 14px; margin-left: -7px; border-radius: 4px; transform: rotate(45deg); background: var(--ink); box-shadow: inset 0 0 0 2.5px var(--bot-glow); transition: background-color .2s ease; }
.stop.helm::before { box-shadow: inset 0 0 0 2.5px var(--helm-glow); }
.stop.past::before, .stop.now::before { background: var(--bot-glow); }
.stop.helm.past::before, .stop.helm.now::before { background: var(--helm-glow); }
.stop.now, .stop:hover { color: #fff; }
.token { position: absolute; top: 0; left: calc((var(--i) + .5) / 5 * 100%); transform: translateX(-50%); padding: 6px 13px; border-radius: 10px; background: #fff; color: var(--ink); font-size: 14.5px; font-weight: 720; white-space: nowrap; transition: left .55s cubic-bezier(.3, .7, .2, 1); }
.token::after { content: ''; position: absolute; left: 50%; bottom: -5px; width: 10px; height: 10px; margin-left: -5px; background: #fff; transform: rotate(45deg); }
.story.pin .steps7 { position: relative; }
.story.pin .st { position: absolute; inset: 0; border: 0; padding: 0; opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity .3s ease, transform .3s ease, visibility 0s .3s; }
.story.pin .st.on { opacity: 1; visibility: visible; transform: none; transition: opacity .35s ease .08s, transform .35s ease .08s; }
.story.pin .endnote { border-top: 0; }

/* The scenes */
.ccard { width: min(480px, 100%); border-radius: 18px; background: #fff; color: var(--ink); padding: 22px 24px 24px; display: grid; gap: 12px; font-size: 16px; line-height: 1.42; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7); }
.ccard .you { justify-self: end; max-width: 86%; padding: 10px 15px; border-radius: 14px; background: var(--bot-l); }
.ccard .who2 { display: flex; align-items: center; gap: 9px; font-size: 15px; }
.ccard .who2 span:last-child { color: var(--dim); }
.ccard .who2 .av { width: 28px; height: 28px; border-radius: 8px; background: #fbe0ea; color: #b0124a; display: grid; place-items: center; font-weight: 800; font-size: 15px; }
.ccard code { font: 500 .9em var(--mono); background: var(--bot-l); padding: 1px 6px; border-radius: 6px; }
.ccard .steps2 { display: grid; gap: 9px; }
.ccard .steps2 li { position: relative; padding-left: 30px; }
.ccard .steps2 li::before { content: ''; position: absolute; left: 0; top: .1em; width: 20px; height: 20px; border-radius: 6px; background: var(--bot) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 12.8l5 5L19.8 6.6'/%3E%3C/svg%3E") center / 12px no-repeat; }
.moves .st .ccard .steps2 li { opacity: 0; transform: translateY(8px); transition: opacity .35s ease, transform .35s ease; }
.moves .st.live .ccard .steps2 li { opacity: 1; transform: none; }
.moves .st.live .ccard .steps2 li:nth-child(2) { transition-delay: .45s; } .moves .st.live .ccard .steps2 li:nth-child(3) { transition-delay: .9s; } .moves .st.live .ccard .steps2 li:nth-child(4) { transition-delay: 1.35s; }
.ccard .ask2 { padding: 14px 16px 16px; border-radius: 12px; box-shadow: inset 0 0 0 2px var(--amber); background: #fff8e8; }
.ccard .ask2 .acts { margin-top: 12px; display: flex; gap: 8px; }
.ccard .ask2 button { min-height: 40px; padding: 0 16px; border-radius: 11px; border: 2px solid var(--ink); background: var(--ink); color: #fff; font-weight: 650; font-size: 15px; transition: transform .14s ease; }
.ccard .ask2 button.no { background: transparent; color: var(--ink); }
.ccard .ask2 button:hover { transform: translateY(-1px); }
.ccard .ask2.done { box-shadow: inset 0 0 0 1.5px var(--line); background: var(--cool); }
.ccard .ask2.done .acts button { background: transparent; color: var(--ink); border-color: var(--line); font-weight: 560; }
.slot.one { width: min(330px, 100%); filter: drop-shadow(0 26px 28px rgba(0, 0, 0, .5)); }
.slot.one .paper { padding-bottom: 64px; }
.moves .st .paper { --p: 0; transition: transform 1.1s cubic-bezier(.2, .7, .2, 1); }
.moves .st.live .paper { --p: 1; }
.moves .st .stamp { opacity: 0; }
.moves .st.live .stamp { opacity: 1; animation: thump .34s 1.15s cubic-bezier(.5, 0, .9, .4) backwards; }
.cbrake .brow { display: flex; align-items: center; gap: 12px; font-size: 18px; }
.cbrake .brow span { color: var(--dim); }
.cbrake [role=switch] { position: relative; width: 54px; height: 32px; border-radius: 16px; border: 0; background: #c9cfdb; transition: background-color .2s ease; }
.cbrake [role=switch] i { position: absolute; left: 4px; top: 4px; width: 24px; height: 24px; border-radius: 50%; background: #fff; transition: transform .2s ease; }
.cbrake [role=switch][aria-checked='true'] { background: var(--helm-d); }
.cbrake [role=switch][aria-checked='true'] i { transform: translateX(22px); }
.cbrake .cbig { font-size: 17px; }
.cbrake .cbig b { display: block; font-size: clamp(64px, 7vw, 96px); line-height: .9; font-weight: 800; font-stretch: 76%; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.cbrake .res { padding: 10px 14px; border-radius: 12px; background: var(--helm-l); font-weight: 560; }
.cbrake.off .res { background: #ffe1e9; }
.cbrake .note { font-size: 14.5px; color: var(--dim); }
.story .frame.mh { width: min(540px, 100%); display: grid; gap: 10px; color: var(--ink); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7); }


/* The top line of the hero: the Mesh promise over the two halves */
.bline { padding: clamp(18px, 2.6vh, 30px) 24px clamp(14px, 2vh, 22px); }
.bline h1 { font-size: clamp(30px, 3.9vw, 60px); line-height: .95; font-weight: 800; font-stretch: 76%; letter-spacing: -0.028em; text-wrap: balance; }
.bline p { margin-top: 8px; font-size: clamp(16px, 1.25vw, 18.5px); color: var(--dim); }
.half h2 { font-size: clamp(40px, 4.3vw, 68px); }
.home .top nav a.pl { display: inline-flex; align-items: center; gap: 8px; font-weight: 680; }
.home .top nav a.pl i { width: 10px; height: 10px; border-radius: 3px; transform: rotate(45deg); background: var(--bot); }
.home .top nav a.pl.helm i { background: var(--helm); }
@media (max-width: 860px) { .bline { text-align: left; } .half h2 { font-size: clamp(42px, 12vw, 60px); } }

/* The engine: one 3D scene with a Mesh Bot side and a Mesh Helm side. It shows only with the class "fly" on <html>. */
.engine { background: var(--ink); color: #fff; padding-top: clamp(72px, 9vw, 120px); overflow: hidden; }
.engine .sub { margin-top: 18px; color: rgba(255, 255, 255, .82); max-width: 60ch; }
.estage { position: relative; margin-top: clamp(12px, 2vw, 28px); display: grid; grid-template-rows: minmax(0, 1fr) auto; }
.fly .estage { height: clamp(540px, 76vh, 720px); }
.estage canvas, .alabels, .ashade { position: absolute; inset: 0; width: 100%; height: 100%; display: none; }
.fly .estage canvas, .fly .alabels { display: block; }
.fly .ashade { display: block; width: 50%; pointer-events: none; opacity: 0; transition: opacity .5s ease; background: linear-gradient(90deg, rgba(18, 22, 43, .78), rgba(18, 22, 43, 0)); }
.fly .ashade.r { left: auto; right: 0; background: linear-gradient(270deg, rgba(18, 22, 43, .78), rgba(18, 22, 43, 0)); }
.estage[data-focus='helm'] .ashade.l, .estage[data-focus='bot'] .ashade.r { opacity: 1; }
.alabels { pointer-events: none; z-index: 1; }
.alabels span { position: absolute; left: 0; top: 0; white-space: nowrap; font-size: 13.5px; font-weight: 600; color: rgba(255, 255, 255, .78); will-change: transform; }
.alabels span.verdict { padding: 4px 10px; border-radius: 8px; background: var(--amber); color: var(--ink); font-weight: 680; opacity: 0; transition: opacity .25s ease; }
.alabels span.verdict.pink { background: var(--pink); color: #fff; }
.alabels span.verdict.on { opacity: 1; }
.astill { position: relative; z-index: 1; grid-row: 1; width: min(820px, 100% - 32px); margin: 0 auto; align-self: center; }
.fly .astill { display: none; }
.astill .dots circle { fill: #c9c0ff; }
.astill .dots circle.g { fill: #7ff0c0; }
.adoors { position: relative; z-index: 2; grid-row: 2; width: var(--wrap); margin-inline: auto; display: flex; justify-content: space-between; align-items: end; gap: 16px; padding: 18px 0 clamp(28px, 4vw, 48px); }
.door { width: min(380px, 100%); padding: 20px 22px 22px; border-radius: 22px; background: rgba(18, 22, 43, .74); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .17); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: box-shadow .2s ease, transform .2s ease; }
.door.bot:hover, .door.bot:focus-within { box-shadow: inset 0 0 0 2.5px var(--bot-glow); transform: translateY(-3px); }
.door.helm:hover, .door.helm:focus-within { box-shadow: inset 0 0 0 2.5px var(--helm-glow); transform: translateY(-3px); }
.door .pname { font-size: 19px; }
.door .pmark { width: 30px; height: 30px; border-radius: 9px; }
.door .pmark svg { width: 18px; height: 18px; }
.door p + p { margin-top: 10px; font-size: 16px; color: rgba(255, 255, 255, .84); }
.door .textlink { display: inline-block; margin-top: 12px; color: #fff; }
@media (max-width: 700px) { .astill .lbl { display: none; } .adoors { flex-direction: column; align-items: stretch; } .door { width: auto; } }

/* The two demos show in full: the hero grows past one window height when it must. */
@media (min-width: 861px) { .demo { min-height: 500px; } }
