/* Ninth Orbit Pro: the professional side of the site. Light, calm, readable. */
:root {
  --bg: #FFFFFF; --soft: #F5F7FA; --line: #E3E8EF; --text: #14192B; --muted: #545E73;
  --accent: #4B3FD9; --accent-soft: #EEEDFD; --ok: #0F7B53; --ok-soft: #E3F4EC; --warn: #8A5A00; --warn-soft: #FFF3D6;
  --radius: 16px; --shadow: 0 18px 40px -24px rgba(20, 25, 43, .28);
  --font: "Manrope", "Segoe UI", system-ui, sans-serif; --mono: "IBM Plex Mono", Consolas, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: var(--accent); }
h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -.02em; text-wrap: balance; }
p { margin: 0; }
.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 99; background: var(--accent); color: #fff; padding: 10px 14px; border-radius: 10px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* top bar */
.top { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.topin { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); margin-right: auto; }
.brand span { font-weight: 800; font-size: 18px; letter-spacing: -.01em; }
.brand em { font-style: normal; color: var(--accent); }
.links { display: flex; gap: 22px; font-weight: 600; font-size: 14.5px; }
.links a { color: var(--muted); text-decoration: none; }
.links a:hover { color: var(--text); }
.menu { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 10px; background: #fff; padding: 11px 10px; flex-direction: column; justify-content: space-between; cursor: pointer; }
.menu span { display: block; height: 2px; background: var(--text); border-radius: 2px; transition: transform .25s, opacity .25s; }
.menu[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.links .mob { display: none; }

/* buttons and chips */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 10px; border: 1px solid var(--accent); background: var(--accent); color: #fff; font: 700 15px/1.2 var(--font); text-decoration: none; cursor: pointer; transition: background .2s, box-shadow .2s, transform .2s; }
.btn:hover { background: #3A2FC2; box-shadow: 0 10px 24px -12px rgba(75, 63, 217, .7); transform: translateY(-1px); }
.btn.ghost { background: #fff; color: var(--accent); border-color: #C9C4F5; }
.btn.ghost:hover { background: var(--accent-soft); box-shadow: none; }
.btn.small { padding: 9px 14px; font-size: 14px; }
.chip { display: inline-block; padding: 4px 10px; border-radius: 999px; font: 600 12px/1.4 var(--mono); letter-spacing: .02em; white-space: nowrap; }
.chip.live { background: var(--ok-soft); color: var(--ok); }
.chip.dev { background: var(--warn-soft); color: var(--warn); }
.eyebrow { font: 600 12.5px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }

/* hero */
.hero { padding: clamp(48px, 7vw, 96px) 0 clamp(48px, 6vw, 80px); background: linear-gradient(180deg, var(--soft), #fff); border-bottom: 1px solid var(--line); overflow: hidden; }
.herogrid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero h1 { font-size: clamp(44px, 6vw, 86px); font-weight: 800; letter-spacing: -.04em; line-height: 1.02; max-width: 12ch; }
.hero h1 .ln:nth-child(3) { display: block; margin-top: .45em; font-size: .5em; font-weight: 700; letter-spacing: -.01em; color: var(--muted); }
.hero .hl { color: var(--accent); }
.lead { font-size: clamp(18px, 1.45vw, 22px); color: var(--muted); margin-top: 20px; max-width: 54ch; text-wrap: balance; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.facts { list-style: none; padding: 0; margin: 34px 0 0; display: flex; flex-wrap: wrap; gap: 12px; }
.facts li { padding: 12px 16px; border: 1px solid var(--line); border-radius: 12px; background: #fff; display: grid; }
.facts b { font-size: 15px; } .facts span { font-size: 13.5px; color: var(--muted); }
.stack { position: relative; min-height: 420px; }
.win { position: absolute; margin: 0; width: 78%; border-radius: 12px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.win img, .fshot img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; }
.bar { display: flex; align-items: center; gap: 6px; padding: 8px 12px; background: #F0F2F6; border-bottom: 1px solid var(--line); font: 600 12px var(--mono); color: var(--muted); }
.bar i { width: 9px; height: 9px; border-radius: 50%; background: #D3D8E1; }
.bar em { font-style: normal; margin-left: 8px; }
.w1 { top: 0; left: 0; transform: rotate(-2deg); }
.w2 { top: 26%; right: 0; transform: rotate(1.5deg); z-index: 2; }
.w3 { bottom: 0; left: 8%; z-index: 3; }

/* sections */
.sec { padding: clamp(64px, 8vw, 110px) 0; }
.sec.tint { background: var(--soft); border-block: 1px solid var(--line); }
.shead { max-width: 720px; margin-bottom: clamp(30px, 4vw, 48px); }
.shead h2 { font-size: clamp(28px, 3vw, 42px); font-weight: 800; }
.shead p:not(.eyebrow) { color: var(--muted); margin-top: 14px; font-size: 17px; }

/* products */
.products { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.product, .feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 14px; transition: box-shadow .25s, border-color .25s; }
.product:hover { box-shadow: var(--shadow); border-color: #D2D8E2; }
.phead { display: flex; align-items: center; gap: 14px; }
.phead img { border-radius: 12px; flex: none; }
.phead > div { flex: 1; min-width: 0; }
.phead h3 { font-size: 22px; font-weight: 800; }
.kind { color: var(--muted); font-size: 14.5px; }
.pshot { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; border: 1px solid var(--line); background: var(--soft); }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.ticks li { position: relative; padding-left: 26px; color: #2C3448; font-size: 15px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .45em; width: 14px; height: 8px; border-left: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent); transform: rotate(-45deg); }
.meta { font: 500 13px/1.5 var(--mono); color: var(--muted); padding-top: 12px; border-top: 1px dashed var(--line); margin-top: auto; }
.pctas { display: flex; flex-wrap: wrap; gap: 10px; }
.more { font-weight: 600; font-size: 14px; text-decoration: none; }
.more::after { content: " →"; }
.more:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Huddleloft feature */
.feature { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(24px, 4vw, 48px); align-items: center; padding: clamp(24px, 3vw, 36px); }
.ftext { display: flex; flex-direction: column; gap: 16px; }
.ftext > p:not(.kind):not(.meta) { color: #2C3448; }
.ticks b { color: var(--text); margin-right: 4px; }
.hlmark { width: 52px; height: 52px; border-radius: 12px; flex: none; background: #1D4F54 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 52 52'%3E%3Cpath d='M12 27l14-11 14 11' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Ccircle cx='26' cy='29' r='3.4' fill='%23F2A541'/%3E%3Ccircle cx='19' cy='34' r='3' fill='%23fff'/%3E%3Ccircle cx='33' cy='34' r='3' fill='%23fff'/%3E%3C/svg%3E") center / cover; }
.fshot { margin: 0; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: #fff; }
.fshot figcaption { padding: 10px 14px; font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); }

/* utilities */
.soonbox { display: grid; gap: 14px; justify-items: start; max-width: 640px; padding: 28px; border: 1.5px dashed #C9CFDA; border-radius: var(--radius); background: var(--soft); }
.soonbox p { color: #2C3448; }
.feature.wa { margin-bottom: 22px; }
.feature.wa .phead img { border-radius: 12px; }
/* Auxy, the WorkAux fox, stands beside the screenshot and steps a little in front of it */
.wa-stage { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
.wa-stage .fshot { grid-column: 1; grid-row: 1; }
.auxy { grid-column: 2; grid-row: 1; position: relative; z-index: 2; margin-left: -46px; margin-bottom: -10px; width: clamp(110px, 11vw, 158px); }
.auxy img { display: block; width: 100%; height: auto; filter: drop-shadow(0 18px 22px rgba(20, 16, 60, .28)); transform-origin: 50% 100%; animation: auxyIdle 5.5s ease-in-out infinite; }
.auxy::before { content: ""; position: absolute; left: 12%; right: 12%; bottom: 4px; height: 14px; border-radius: 50%; background: radial-gradient(closest-side, rgba(40, 30, 110, .28), transparent); }
.auxy-tag { position: absolute; top: 2%; right: -6px; transform: translateY(-100%); white-space: nowrap; font: 700 12px/1 var(--mono); letter-spacing: .02em; color: #4B3FD9; background: #fff; border: 1px solid #DCD8FB; border-radius: 999px; padding: 6px 10px; box-shadow: 0 6px 16px -8px rgba(75, 63, 217, .45); }
@keyframes auxyIdle { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-4px) rotate(-.6deg); } }
@media (prefers-reduced-motion: reduce) { .auxy img { animation: none; } }
@media (max-width: 560px) { .auxy { width: 92px; margin-left: -30px; } .auxy-tag { font-size: 11px; padding: 5px 8px; } }

/* buying */
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.steps li { counter-increment: s; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; gap: 8px; align-content: start; }
.steps li::before { content: "0" counter(s); font: 600 13px var(--mono); color: var(--accent); }
.steps b { font-size: 18px; } .steps span { color: var(--muted); font-size: 15px; }
.fine { margin-top: 22px; color: var(--muted); font-size: 14px; }

/* contact and footer */
.contact { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: clamp(28px, 4vw, 44px); border-radius: 20px; background: var(--accent-soft); border: 1px solid #DAD7FA; }
.contact h2 { font-size: clamp(26px, 2.6vw, 36px); font-weight: 800; }
.contact p:not(.eyebrow) { color: var(--muted); margin-top: 8px; }
.foot { border-top: 1px solid var(--line); padding: 32px 0 40px; color: var(--muted); font-size: 14px; }
.footin, .footlegal { display: flex; flex-wrap: wrap; gap: 10px 26px; align-items: center; justify-content: space-between; }
.footlegal { margin-top: 14px; }
.footbrand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 600; }
.foot nav { display: flex; gap: 18px; } .foot a { color: var(--muted); } .foot a:hover { color: var(--text); }

/* order ticket dialog (built by /order.js) in the light style */
.getdlg { width: min(480px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 26px; border: 1px solid var(--line); border-radius: 18px; background: #fff; color: var(--text); font-family: var(--font); box-shadow: 0 30px 80px -30px rgba(20, 25, 43, .45); }
.getdlg::backdrop { background: rgba(20, 25, 43, .45); backdrop-filter: blur(3px); }
.getdlg h2 { font-size: 24px; font-weight: 800; } .getdlg h2 em { font-style: normal; color: var(--accent); }
.getdlg h3 { font-size: 15px; margin: 0 0 4px; }
.qform { display: grid; gap: 14px; }
.qform[hidden], .qdone[hidden], .getbtns [hidden] { display: none; }
.qrow { display: grid; gap: 6px; }
.qform label, .qapps legend { font-weight: 700; font-size: 14px; }
.qapps { border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px 12px; display: grid; gap: 6px; }
.qform input:not([type=checkbox]), .qform select, .qform textarea { width: 100%; padding: 11px 13px; border-radius: 10px; border: 1px solid #CDD3DE; background: #fff; color: var(--text); font: 16px/1.4 var(--font); }
.qform input:focus, .qform select:focus, .qform textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(75, 63, 217, .18); }
.qform [aria-invalid="true"] { border-color: #C62828; }
.qcheck { display: flex; align-items: flex-start; gap: 10px; font-weight: 500 !important; cursor: pointer; }
.qcheck input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--accent); flex: none; }
.req { color: #B42318; } .opt { color: var(--muted); font-weight: 500; }
.qhint, .qprivacy, .getlead { color: var(--muted); font-size: 14px; }
.qlegal { font-size: 13.5px; color: var(--muted); display: grid; gap: 6px; padding: 12px; background: var(--soft); border-radius: 10px; }
.qtrap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.qmsg { font-size: 14.5px; color: var(--muted); } .qmsg.err { color: #B42318; } .qmsg.ok { color: var(--ok); }
.getbtns { display: flex; flex-wrap: wrap; gap: 10px; }
.qdone { display: grid; gap: 12px; } .qticket { font: 700 26px var(--mono); color: var(--accent); }

/* ---------------------------------------------------------------- motion */
.hero { position: relative; isolation: isolate; }
.orbits { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.glow { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; }
.g1 { width: 520px; height: 520px; right: -120px; top: -160px; background: radial-gradient(circle, rgba(75, 63, 217, .35), transparent 70%); animation: drift 16s ease-in-out infinite alternate; }
.g2 { width: 460px; height: 460px; left: 30%; bottom: -260px; background: radial-gradient(circle, rgba(47, 163, 160, .28), transparent 70%); animation: drift 20s ease-in-out infinite alternate-reverse; }
@keyframes drift { to { transform: translate3d(-60px, 40px, 0) scale(1.08); } }
.ring { position: absolute; right: 4%; top: 50%; border-radius: 50%; border: 1px solid rgba(75, 63, 217, .14); transform: translateY(-50%); }
.ring b { position: absolute; top: -4px; left: 50%; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px rgba(75, 63, 217, .6); }
.r1 { width: 520px; height: 520px; margin-right: -60px; animation: spin 38s linear infinite; }
.r2 { width: 720px; height: 720px; margin-right: -160px; animation: spin 60s linear infinite reverse; border-style: dashed; }
.r2 b { background: #2FA3A0; box-shadow: 0 0 12px rgba(47, 163, 160, .6); }
.r3 { width: 920px; height: 920px; margin-right: -260px; animation: spin 90s linear infinite; opacity: .7; }
.r3 b { background: #F2A541; box-shadow: 0 0 12px rgba(242, 165, 65, .6); }
@keyframes spin { to { transform: translateY(-50%) rotate(360deg); } }
.ln { display: inline-block; animation: rise .8s cubic-bezier(.2, .8, .2, 1) both; }
.ln:nth-child(2) { animation-delay: .08s; } .ln:nth-child(3) { animation-delay: .16s; }
.herotext .eyebrow, .herotext .lead, .herotext .ctas { animation: rise .8s cubic-bezier(.2, .8, .2, 1) both; }
.herotext .lead { animation-delay: .25s; } .herotext .ctas { animation-delay: .35s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); filter: blur(6px); } }
.stack { --tx: 0deg; --ty: 0deg; perspective: 1200px; }
.stack .win { transition: transform .5s cubic-bezier(.2, .8, .2, 1), box-shadow .3s; animation: winIn .9s cubic-bezier(.2, .8, .2, 1) both; }
.w1 { animation-delay: .15s !important; } .w2 { animation-delay: .3s !important; } .w3 { animation-delay: .45s !important; }
@keyframes winIn { from { opacity: 0; translate: 0 30px; } }
.stack .w1 { transform: rotate(-2deg) rotateY(var(--tx)) rotateX(var(--ty)); }
.stack .w2 { transform: rotate(1.5deg) rotateY(var(--tx)) rotateX(var(--ty)) translateZ(30px); }
.stack .w3 { transform: rotateY(var(--tx)) rotateX(var(--ty)) translateZ(60px); }
.stack .win img { animation: float 7s ease-in-out infinite alternate; }
.w2 img { animation-delay: -2s !important; } .w3 img { animation-delay: -4s !important; }
@keyframes float { to { transform: translateY(-4px); } }
.chip.live { position: relative; padding-left: 22px; }
.chip.live::before { content: ""; position: absolute; left: 9px; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: var(--ok); animation: pulse 2s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(15, 123, 83, .45); } 70%, 100% { box-shadow: 0 0 0 7px rgba(15, 123, 83, 0); } }
.js .rv { opacity: 0; transform: translateY(24px); transition: opacity .8s cubic-bezier(.2, .8, .2, 1) var(--d, 0s), transform .8s cubic-bezier(.2, .8, .2, 1) var(--d, 0s); }
.js .rv.in { opacity: 1; transform: none; }
.product { transition: box-shadow .25s, border-color .25s, transform .25s; }
.product:hover { transform: translateY(-4px); }
.product .pshot { transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.product:hover .pshot { transform: scale(1.02); }
.btn .arrow { transition: transform .2s; } .btn:hover .arrow { transform: translateX(3px); }
.hlmark { display: grid; place-items: center; background: #1F4F55; }
.hlmark img { width: 34px; height: 34px; }

/* ---------------------------------------------------------------- scroll progress, header, active menu */
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 60; pointer-events: none; }
.progress i { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, #4B3FD9, #2FA3A0, #F2A541); }
.top { transition: box-shadow .3s, background .3s; } .topin { transition: min-height .3s; }
.top.scrolled { box-shadow: 0 10px 30px -22px rgba(20, 25, 43, .5); } .top.scrolled .topin { min-height: 58px; }
.links a { position: relative; transition: color .2s; }
.links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; border-radius: 2px; background: var(--accent); transform: scaleX(0); transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
.links a.on { color: var(--text); } .links a.on::after { transform: scaleX(1); }
.btn { --mx: 0px; --my: 0px; translate: var(--mx) var(--my); }

/* ---------------------------------------------------------------- numbers band */
.band { border-bottom: 1px solid var(--line); background: #fff; }
.bandin { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 26px 22px; display: grid; gap: 2px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat b { font-size: clamp(34px, 3.6vw, 48px); font-weight: 800; letter-spacing: -.04em; line-height: 1;
  background: linear-gradient(120deg, #14192B 30%, #4B3FD9); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.stat span { color: var(--muted); font-size: 14.5px; }

/* ---------------------------------------------------------------- dark Huddleloft section */
.sec.dark { position: relative; background: #0D1030; color: #E9EBF7; overflow: hidden; isolation: isolate; border-block: 0; }
.sec.dark::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(50% 40% at 85% 0%, rgba(75, 63, 217, .45), transparent 70%), radial-gradient(40% 35% at 0% 100%, rgba(47, 163, 160, .35), transparent 70%); }
.sec.dark::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px); background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 30%, #000, transparent); mask-image: radial-gradient(70% 60% at 50% 30%, #000, transparent); }
.sec.dark .shead h2 { color: #fff; } .sec.dark .eyebrow { color: #A9A2FF; } .sec.dark .shead p:not(.eyebrow) { color: #B9BEDA; }
.sec.dark .feature, .sec.dark .explore { border-color: rgba(255, 255, 255, .08); box-shadow: 0 30px 70px -40px rgba(0, 0, 0, .8); color: var(--text); }
.sec.dark > .wrap > .fine, .sec.dark .explore .fine { color: var(--muted); }

/* ---------------------------------------------------------------- how a team job flows */
.flow { margin-top: 26px; padding: clamp(22px, 3vw, 34px); border-radius: var(--radius); border: 1px solid rgba(255, 255, 255, .1);
  background: linear-gradient(160deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02)); backdrop-filter: blur(6px); }
.flowhead { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; margin-bottom: 26px; }
.flowhead h3 { font-size: 22px; font-weight: 800; color: #fff; } .flowhead p { color: #B9BEDA; max-width: 70ch; }
.flowline { list-style: none; margin: 0; padding: 0; position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; counter-reset: f; }
.flowline::before { content: ""; position: absolute; left: 10%; right: 10%; top: 32px; height: 2px; background: linear-gradient(90deg, #2FA3A0, #5B8FD8, #D9775A, #D2A86A, #B67DA8); opacity: .45; border-radius: 2px; }
.flowline::after { content: ""; position: absolute; top: 27px; left: 10%; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: #fff;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, .15), 0 0 22px 6px rgba(169, 162, 255, .8); animation: travel 7.5s cubic-bezier(.65, 0, .35, 1) infinite; }
@keyframes travel { 0% { left: 10%; opacity: 0; } 6% { opacity: 1; } 88% { opacity: 1; } 94%, 100% { left: 90%; opacity: 0; } }
.flowline li { --hue: #fff; position: relative; display: grid; justify-items: center; text-align: center; gap: 6px; counter-increment: f; animation: lit 7.5s ease-in-out infinite; }
.flowline li:nth-child(2) { animation-delay: 1.5s; } .flowline li:nth-child(3) { animation-delay: 3s; } .flowline li:nth-child(4) { animation-delay: 4.5s; } .flowline li:nth-child(5) { animation-delay: 6s; }
.flowline img { position: relative; z-index: 1; width: 64px; height: 64px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px #0D1030, 0 0 0 5px color-mix(in srgb, var(--hue) 70%, transparent); transition: box-shadow .3s; }
.flowline li::before { content: "0" counter(f); font: 600 11.5px var(--mono); color: #8F95BE; order: 2; }
.flowline b { order: 3; color: #fff; font-size: 15px; } .flowline span { order: 4; color: #B9BEDA; font-size: 13.5px; max-width: 22ch; }
@keyframes lit { 0%, 18%, 100% { transform: none; filter: none; } 6%, 12% { transform: translateY(-6px); filter: drop-shadow(0 10px 18px color-mix(in srgb, var(--hue) 55%, transparent)); } }

/* ---------------------------------------------------------------- footer */
.foot { background: #0D1030; color: #B9BEDA; border-top: 0; padding: 56px 0 34px; }
.footgrid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 30px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footabout { display: grid; gap: 12px; align-content: start; max-width: 36ch; } .foot .brand span { color: #fff; } .foot .brand em { color: #A9A2FF; }
.foot nav { display: grid; gap: 8px; align-content: start; }
.foot nav h2 { margin: 0 0 6px; font-size: 12.5px; font-family: var(--mono); letter-spacing: .08em; text-transform: uppercase; color: #fff; }
.foot a { color: #B9BEDA; text-decoration: none; } .foot a:hover { color: #fff; } .foot small { color: #8F95BE; }
.foot .footlegal { margin-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 26px; font-size: 13.5px; }
.foot .footlegal a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------------------------------------------------------------- cursor spotlight on cards */
.product, .sample, .explore, .feature { position: relative; }
.product::after, .sample::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(360px circle at var(--sx, 50%) var(--sy, 50%), rgba(75, 63, 217, .09), transparent 45%); }
.product:hover::after, .sample:hover::after { opacity: 1; }

/* ---------------------------------------------------------------- website samples */
.samplegrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.sample { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .25s, transform .25s, border-color .25s; }
.sample:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #D2D8E2; }
.sthumb { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--soft); border-bottom: 1px solid var(--line); }
.sthumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 1.2s cubic-bezier(.2, .8, .2, 1); }
.sample:hover .sthumb img { transform: scale(1.04) translateY(-2%); }
.sbody { padding: 18px 20px 20px; display: grid; gap: 4px; }
.sbody h3 { font-size: 19px; font-weight: 800; }
.slinks { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 8px; }
.like { font-weight: 700; font-size: 14px; color: var(--text); text-decoration: none; }
.like::after { content: " →"; color: var(--accent); } .like:hover { color: var(--accent); }
.samplecta { margin-top: 26px; }
@media (max-width: 980px) { .samplegrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .samplegrid { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- hero stage: agent + apps */
.stage { --tx: 0deg; --ty: 0deg; position: relative; height: 540px; perspective: 1200px; }
.portal { position: absolute; left: 50%; bottom: 20px; width: 430px; height: 430px; margin-left: -215px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #7E73F0, #4B3FD9 45%, #2C8F95 100%); box-shadow: 0 40px 90px -30px rgba(75, 63, 217, .55);
  animation: breathe 9s ease-in-out infinite alternate; }
.portal::after { content: ""; position: absolute; inset: -18px; border-radius: 50%; border: 1px dashed rgba(75, 63, 217, .35); animation: spin2 40s linear infinite; }
@keyframes breathe { to { transform: scale(1.04); } }
@keyframes spin2 { to { transform: rotate(360deg); } }
.stage .win { width: 54%; z-index: 1; animation: winIn .9s cubic-bezier(.2, .8, .2, 1) both; transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.sw1 { top: 26px; left: -4%; transform: rotate(-4deg) rotateY(var(--tx)) rotateX(var(--ty)); animation-delay: .15s !important; }
.sw2 { top: 70px; right: -6%; transform: rotate(3deg) rotateY(var(--tx)) rotateX(var(--ty)); animation-delay: .25s !important; }
.hero-agent { position: absolute; left: 50%; bottom: 20px; width: 430px; height: auto; margin-left: -215px; z-index: 2;
  filter: drop-shadow(0 24px 30px rgba(20, 25, 43, .28)); animation: agentIn 1s cubic-bezier(.2, .8, .2, 1) .1s both;
  -webkit-mask-image: linear-gradient(#000 78%, transparent); mask-image: linear-gradient(#000 78%, transparent);
  transform: rotateY(calc(var(--tx) * -.4)) rotateX(calc(var(--ty) * -.4)); transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
@keyframes agentIn { from { opacity: 0; translate: 0 40px; } }
.tag { position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 9px 14px 9px 10px; border-radius: 14px; background: rgba(255, 255, 255, .94);
  border: 1px solid var(--line); box-shadow: 0 14px 30px -18px rgba(20, 25, 43, .45); text-decoration: none; color: var(--text);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: tagIn .7s cubic-bezier(.2, .8, .2, 1) both, bob 6s ease-in-out infinite alternate;
  transition: box-shadow .2s, border-color .2s; }
.tag:hover { border-color: #C9C4F5; box-shadow: 0 18px 36px -18px rgba(75, 63, 217, .55); }
.tag img { border-radius: 9px; flex: none; } .tag b { display: block; font-size: 14px; line-height: 1.2; } .tag small { color: var(--muted); font-size: 12px; }
@keyframes tagIn { from { opacity: 0; scale: .9; } }
@keyframes bob { to { translate: 0 -8px; } }
.agenttag { left: 50%; bottom: 0; transform: translateX(-50%); background: #1F4F55; border-color: #1F4F55; color: #fff; animation-delay: .6s, 0s; }
.agenttag small { color: #CFE3E4; } .agenttag img { border-radius: 0; }
.a1 { top: 8px; right: 2%; animation-delay: .5s, -1s; }
.a2 { top: 46%; right: -4%; animation-delay: .6s, -3s; }
.a3 { top: 40%; left: -6%; animation-delay: .7s, -2s; }
.a4 { bottom: 70px; left: 2%; animation-delay: .8s, -4s; }

/* ---------------------------------------------------------------- Huddleloft agent explorer */
.explore { margin-top: 26px; padding: clamp(22px, 3vw, 34px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.exhead { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; margin-bottom: 18px; }
.exhead h3 { font-size: 22px; font-weight: 800; } .exhead p { color: var(--muted); }
.agentbar { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.agent { --hue: var(--accent); display: flex; align-items: center; gap: 10px; padding: 10px; border: 1px solid var(--line); border-radius: 14px; background: #fff;
  font: inherit; text-align: left; color: var(--text); cursor: pointer; transition: border-color .2s, box-shadow .2s, transform .2s, background .2s; }
.agent img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px #fff, 0 0 0 4px color-mix(in srgb, var(--hue) 40%, transparent); flex: none; transition: box-shadow .2s; }
.agent b { display: block; font-size: 14px; line-height: 1.25; } .agent small { color: var(--muted); font-size: 12.5px; }
.agent:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--hue) 45%, var(--line)); }
.agent[aria-selected="true"] { border-color: var(--hue); background: color-mix(in srgb, var(--hue) 8%, #fff); box-shadow: 0 10px 24px -16px color-mix(in srgb, var(--hue) 80%, transparent); }
.agent[aria-selected="true"] img { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--hue); }
.agentpanel { --hue: var(--accent); margin-top: 16px; display: grid; grid-template-columns: 220px 1fr; gap: clamp(20px, 3vw, 36px); padding: clamp(18px, 2.5vw, 28px);
  border-radius: 16px; background: linear-gradient(160deg, color-mix(in srgb, var(--hue) 10%, #fff), #fff 55%); border: 1px solid color-mix(in srgb, var(--hue) 28%, var(--line)); }
.agentpanel.swap > * { animation: rise .55s cubic-bezier(.2, .8, .2, 1) both; } .agentpanel.swap > .abody { animation-delay: .06s; }
.apic { position: relative; align-self: start; }
.apic img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 18px; box-shadow: 0 16px 34px -20px color-mix(in srgb, var(--hue) 90%, transparent); }
.apic .code { position: absolute; left: 12px; bottom: 12px; padding: 3px 9px; border-radius: 99px; background: #fff; font: 600 12px var(--mono); color: var(--hue); }
.abody { display: grid; gap: 10px; align-content: start; }
.arole { font: 600 12.5px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--hue); }
.abody h4 { margin: 0; font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.adesc { color: var(--muted); font-size: 16px; }
.abody h5 { margin: 8px 0 2px; font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--text); }
.abody .ticks li::before { border-color: var(--hue); }
.acols { display: grid; grid-template-columns: 1fr 1.4fr; gap: 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; } .chips span { padding: 4px 10px; border-radius: 99px; background: #fff; border: 1px solid var(--line); font-size: 13px; font-weight: 600; }
.asks { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; } .asks li { padding: 8px 12px; border-radius: 10px; background: #fff; border: 1px solid var(--line); font-size: 14px; color: #2C3448; }
.explore .fine { margin-top: 14px; }

/* small screens */
@media (max-width: 1100px) { .agentbar { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 980px) { .stage { max-width: 620px; margin-inline: auto; width: 100%; } }
@media (max-width: 560px) {
  .stage { height: 440px; } .portal, .hero-agent { width: 310px; margin-left: -155px; } .portal { height: 310px; }
  .stage .win { width: 62%; } .tag { padding: 7px 10px 7px 8px; } .tag small { display: none; } .tag img { width: 26px; height: 26px; }
  .a2 { right: 0; } .a3 { left: 0; }
}
@media (max-width: 900px) {
  .bandin { grid-template-columns: repeat(2, 1fr); } .stat:nth-child(3) { border-left: 0; padding-left: 0; } .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .footgrid { grid-template-columns: 1fr 1fr; } .footabout { grid-column: 1 / -1; }
  .flowline { grid-template-columns: 1fr; gap: 18px; padding-left: 4px; }
  .flowline::before { left: 35px; right: auto; top: 20px; bottom: 20px; width: 2px; height: auto; background: linear-gradient(#2FA3A0, #5B8FD8, #D9775A, #D2A86A, #B67DA8); }
  .flowline::after { display: none; }
  .flowline li { grid-template-columns: 64px auto 1fr; justify-items: start; text-align: left; column-gap: 14px; align-items: center; }
  .flowline li::before { order: 0; grid-column: 2; grid-row: 1; } .flowline img { grid-row: 1 / span 2; }
  .flowline b { grid-column: 3; grid-row: 1; } .flowline span { grid-column: 2 / span 2; grid-row: 2; max-width: none; }
}
@media (max-width: 760px) {
  .agentbar { grid-template-columns: repeat(2, 1fr); }
  .agentpanel { grid-template-columns: 1fr; } .apic { max-width: 200px; } .acols { grid-template-columns: 1fr; }
  .ring { display: none; }
}
@media (max-width: 980px) {
  .herogrid, .feature { grid-template-columns: 1fr; }
  .stack { min-height: 340px; max-width: 620px; }
  .products { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .menu { display: flex; }
  .switch { display: none; }
  .topin { flex-wrap: wrap; }
  .links { display: none; order: 5; width: 100%; flex-direction: column; gap: 2px; padding: 6px 0 14px; }
  .links.open { display: flex; }
  .links a { padding: 10px 4px; font-size: 16px; }
  .links .mob { display: block; color: var(--accent); border-top: 1px solid var(--line); margin-top: 6px; padding-top: 14px; }
}
@media (max-width: 520px) {
  .stack { min-height: 260px; }
  .win { width: 86%; }
  .product { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .rv { opacity: 1; transform: none; }
}

/* Launch Bay (2026-11-07, Dan): everything we make, right under the hero, app-store style. Light glass modules with a
   live edge in each app's colour; hover: the screen sharpens, a scan beam sweeps, the core lifts, it tilts to the pointer. */
.bay { position: relative; padding: clamp(40px, 5vw, 64px) 0 clamp(56px, 6vw, 84px); isolation: isolate; overflow: hidden;
  background: radial-gradient(900px 360px at 12% 0%, rgba(75, 63, 217, .10), transparent 70%), radial-gradient(700px 320px at 92% 100%, rgba(14, 165, 198, .10), transparent 70%), var(--soft); border-block: 1px solid var(--line); }
.bay::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .55;
  background-image: linear-gradient(rgba(75, 63, 217, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(75, 63, 217, .07) 1px, transparent 1px); background-size: 44px 44px;
  -webkit-mask: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%); mask: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%); }
.bayhead { display: flex; align-items: end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.bayhead h2 { font-size: clamp(28px, 3.4vw, 42px); }
.bayfilter { display: flex; gap: 4px; padding: 5px; background: rgba(255, 255, 255, .8); border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow); backdrop-filter: blur(8px); }
.bayfilter button { border: 0; background: transparent; padding: 9px 16px; border-radius: 999px; font: 700 14px/1 var(--font); color: var(--muted); cursor: pointer; transition: background .2s, color .2s; }
.bayfilter button b { font: 500 12px/1 var(--mono); margin-left: 5px; color: var(--accent); }
.bayfilter button:hover { color: var(--text); }
.bayfilter button.on { background: var(--text); color: #fff; }
.bayfilter button.on b { color: #B9B3FF; }
.baygrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 28px; perspective: 1200px; }
.mod { --rx: 0deg; --ry: 0deg; --mx: 50%; --my: 50%; position: relative; display: flex; flex-direction: column; min-height: 400px; text-decoration: none; color: var(--text);
  background: rgba(255, 255, 255, .86); border-radius: 20px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 20px 44px -28px rgba(20, 25, 43, .35);
  transform: rotateX(var(--rx)) rotateY(var(--ry)); transform-style: preserve-3d; transition: transform .25s ease-out, box-shadow .3s, opacity .35s, filter .35s; isolation: isolate; }
@property --ang { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
.mod::before { content: ""; position: absolute; inset: 0; z-index: 5; pointer-events: none; border-radius: inherit; padding: 1.5px;
  background: conic-gradient(from var(--ang), color-mix(in srgb, var(--a) 85%, transparent), transparent 25%, rgba(20, 25, 43, .08) 50%, transparent 75%, color-mix(in srgb, var(--a) 85%, transparent));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: .55; transition: opacity .3s; }
.mod:hover::before, .mod:focus-visible::before { opacity: 1; animation: modedge 3s linear infinite; }
@keyframes modedge { to { --ang: 360deg; } }
.mod::after { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; border-radius: inherit; opacity: 0; transition: opacity .3s;
  background: radial-gradient(240px circle at var(--mx) var(--my), color-mix(in srgb, var(--a) 14%, transparent), transparent 70%); }
.mod:hover, .mod:focus-visible { box-shadow: 0 1px 0 #fff inset, 0 28px 60px -26px color-mix(in srgb, var(--a) 55%, rgba(20, 25, 43, .5)); }
.mod:hover::after, .mod:focus-visible::after { opacity: 1; }
.modscreen { position: relative; display: block; height: 150px; margin: 8px 8px 0; overflow: hidden; border-radius: 14px; background: #0D1030; }
.modscreen img { width: 100%; height: 100%; object-fit: cover; filter: blur(2px) saturate(.85) brightness(.8); transform: scale(1.08); transition: filter .45s, transform .6s; }
.modscreen::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .05) 0 1px, transparent 1px 3px), linear-gradient(180deg, transparent 45%, rgba(13, 16, 48, .55)); }
.modscreen.fig { background: radial-gradient(circle at 50% 80%, #4B3FD9, #0D1030 70%); }
.modscreen.fig img { object-fit: contain; object-position: 50% 100%; transform: none; filter: saturate(.9) brightness(.9); }
.mod:hover .modscreen img, .mod:focus-visible .modscreen img { filter: none; transform: scale(1.02); }
.mod:hover .modscreen.fig img { transform: scale(1.06); }
.modscan { position: absolute; left: 8px; right: 8px; top: 8px; height: 40px; z-index: 4; pointer-events: none; opacity: 0; border-radius: 14px 14px 0 0;
  background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--a) 35%, transparent) 85%, color-mix(in srgb, var(--a) 90%, #fff) 100%); }
.mod:hover .modscan, .mod:focus-visible .modscan { animation: modscan 1s ease-out 1; }
@keyframes modscan { 0% { transform: translateY(-40px); opacity: 0; } 15% { opacity: 1; } 100% { transform: translateY(150px); opacity: 0; } }
.modcorners i { position: absolute; z-index: 6; width: 14px; height: 14px; border: 2px solid var(--a); opacity: 0; transition: opacity .3s, transform .3s; }
.modcorners i:nth-child(1) { top: 2px; left: 2px; border-right: 0; border-bottom: 0; border-top-left-radius: 18px; transform: translate(6px, 6px); }
.modcorners i:nth-child(2) { top: 2px; right: 2px; border-left: 0; border-bottom: 0; border-top-right-radius: 18px; transform: translate(-6px, 6px); }
.modcorners i:nth-child(3) { bottom: 2px; left: 2px; border-right: 0; border-top: 0; border-bottom-left-radius: 18px; transform: translate(6px, -6px); }
.modcorners i:nth-child(4) { bottom: 2px; right: 2px; border-left: 0; border-top: 0; border-bottom-right-radius: 18px; transform: translate(-6px, -6px); }
.mod:hover .modcorners i, .mod:focus-visible .modcorners i { opacity: 1; transform: none; }
.modcore { position: relative; z-index: 6; display: grid; place-items: center; width: 76px; height: 76px; margin: -40px 0 0 18px; border-radius: 22px; background: #fff;
  box-shadow: 0 0 0 5px rgba(255, 255, 255, .9), 0 12px 30px -8px color-mix(in srgb, var(--a) 70%, transparent); transform: translateZ(30px); transition: transform .35s, box-shadow .35s; }
.modcore img { width: 58px; height: 58px; object-fit: contain; border-radius: 14px; }
.modcore.hl { background: #1F4F55; }
.modcore.hl img { width: 40px; height: 40px; }
.modcore.site img { width: 48px; height: 48px; }
.modcore .plus { font: 300 38px/1 var(--font); color: var(--muted); }
.mod:hover .modcore, .mod:focus-visible .modcore { transform: translateZ(50px) translateY(-6px); box-shadow: 0 0 0 5px #fff, 0 20px 44px -8px var(--a); }
.modbody { position: relative; z-index: 6; display: grid; gap: 7px; align-content: start; flex: 1; padding: 14px 20px 18px; }
.modstatus { justify-self: start; display: inline-flex; align-items: center; gap: 7px; font: 600 11.5px/1 var(--mono); letter-spacing: .05em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; background: var(--warn-soft); color: var(--warn); }
.modstatus::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.modstatus.live { background: var(--ok-soft); color: var(--ok); }
.modstatus.live::before { animation: modping 1.8s ease-out infinite; }
@keyframes modping { 0% { box-shadow: 0 0 0 0 rgba(15, 123, 83, .5); } 100% { box-shadow: 0 0 0 8px rgba(15, 123, 83, 0); } }
.modname { font-weight: 800; font-size: 21px; letter-spacing: -.02em; line-height: 1.15; }
.modkind { font: 600 12px/1.35 var(--mono); letter-spacing: .03em; color: color-mix(in srgb, var(--a) 80%, var(--text)); }
.modline { color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.modfoot { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 13.5px; color: var(--muted); }
.modfoot b { color: var(--text); }
.modgo { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; font-style: normal; color: var(--a); background: color-mix(in srgb, var(--a) 12%, #fff); transition: background .25s, color .25s, transform .25s; }
.mod:hover .modgo { background: var(--a); color: #fff; transform: translateX(3px); }
.mod.next { background: repeating-linear-gradient(135deg, rgba(20, 25, 43, .035) 0 2px, transparent 2px 12px), rgba(255, 255, 255, .6); box-shadow: none; outline: 1.5px dashed #C9D1DD; outline-offset: -1.5px; }
.mod.next::before { display: none; }
.mod.next .modcore { margin-top: 26px; box-shadow: 0 0 0 1px var(--line); }
.mod.hide { opacity: .15; filter: grayscale(1); pointer-events: none; }
.baygrid.wait .mod { opacity: 0; translate: 0 24px; }
.baygrid.go .mod { animation: modin .7s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--i, 0) * 70ms); }
@keyframes modin { from { opacity: 0; translate: 0 24px; } to { opacity: 1; translate: 0 0; } }
@media (max-width: 1100px) { .baygrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) {
  .bayfilter { width: 100%; justify-content: space-between; gap: 2px; }
  .bayfilter button { flex: 1 1 auto; padding: 9px 6px; font-size: 13px; }
  .bayfilter button b { margin-left: 3px; }
  .baygrid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 20px; gap: 14px; margin-inline: -20px; padding: 6px 20px 22px; scrollbar-width: none; }
  .baygrid::-webkit-scrollbar { display: none; }
  .mod { flex: 0 0 82%; scroll-snap-align: start; min-height: 390px; }
  .mod.hide { display: none; }
}
@media (prefers-reduced-motion: reduce) { .mod, .modcore, .modscreen img { transition: none; } .mod:hover .modscan, .mod:hover::before, .modstatus.live::before, .baygrid.go .mod { animation: none; } }

/* Hero slider (2026-11-07, Dan): the teammates at work on the right, fading into the middle; the line under the lead
   changes with each picture. Slow crossfade with a gentle zoom; pauses on hover; reduced motion = no autoplay. */
.hero { min-height: min(760px, 88vh); display: flex; align-items: center; }
.hero > .wrap { position: relative; z-index: 2; width: min(1160px, 100% - 40px); }
.herogrid { grid-template-columns: minmax(0, 560px) 1fr; }
.heroslides { position: absolute; z-index: 1; top: 0; right: 0; bottom: 0; width: min(64%, 1080px); overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .18) 12%, rgba(0, 0, 0, .7) 30%, #000 48%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .18) 12%, rgba(0, 0, 0, .7) 30%, #000 48%); }
.slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.4s ease; }
.slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 7s ease-out; }
.slide.on { opacity: 1; }
.slide.on img { transform: scale(1); }
.heroslides::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, transparent 78%, #fff); }
.slidetag { position: absolute; z-index: 3; right: clamp(16px, 3vw, 40px); bottom: clamp(24px, 6vh, 56px); display: flex; align-items: center; gap: 10px; margin: 0;
  padding: 9px 14px 9px 10px; border-radius: 14px; background: rgba(255, 255, 255, .88); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, .9); box-shadow: 0 18px 36px -18px rgba(20, 25, 43, .45); }
.slidetag img { width: 28px; height: 28px; padding: 5px; border-radius: 8px; background: #1F4F55; }
.slidetag b { display: block; font-size: 14px; line-height: 1.2; } .slidetag small { color: var(--muted); font-size: 12px; }
.nowline { --hue: var(--accent); display: flex; align-items: flex-start; gap: 12px; margin-top: 22px; max-width: 46ch; min-height: 3.2em; font-size: 17px; line-height: 1.5; color: var(--text); }
.nowline i { flex: none; width: 10px; height: 10px; margin-top: .55em; border-radius: 50%; background: var(--hue); box-shadow: 0 0 0 5px color-mix(in srgb, var(--hue) 22%, transparent); transition: background .6s, box-shadow .6s; }
.nowline b { color: color-mix(in srgb, var(--hue) 70%, var(--text)); transition: color .6s; }
.nowline span { transition: opacity .45s, transform .45s; }
.nowline.out span { opacity: 0; transform: translateY(8px); }
.slidedots { display: flex; gap: 6px; margin-top: 14px; }
.slidedots button { position: relative; width: 34px; height: 4px; padding: 0; border: 0; border-radius: 4px; background: #D9DEE7; cursor: pointer; overflow: hidden; }
.slidedots button::before { content: ""; position: absolute; inset: -10px 0; }
.slidedots button i { position: absolute; inset: 0; transform-origin: left; transform: scaleX(0); background: var(--hue, var(--accent)); }
.slidedots button.on i { animation: dotfill var(--dur, 6s) linear forwards; }
.slidedots.paused button.on i, .slidedots.still button.on i { animation: none; transform: scaleX(1); }
@keyframes dotfill { to { transform: scaleX(1); } }
@media (max-width: 980px) {
  .hero { display: block; min-height: 0; padding-top: 0; }
  .heroslides { position: relative; width: 100%; height: clamp(260px, 56vw, 440px); -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent); mask-image: linear-gradient(180deg, #000 70%, transparent); }
  .slidetag { top: 12px; bottom: auto; right: 12px; padding: 6px 10px 6px 7px; } .slidetag img { width: 22px; height: 22px; padding: 4px; } .slidetag small { display: none; }
  .herogrid { grid-template-columns: 1fr; margin-top: -24px; }
}
@media (prefers-reduced-motion: reduce) { .slide, .slide img, .nowline span { transition: none; } .slide img { transform: none; } }

/* Launch Bay groups: professional tools first, creative apps below */
.baygroup { margin: 30px 0 0; display: flex; align-items: center; gap: 12px; font: 600 12.5px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.baygroup::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--line), transparent); }
.baygroup + .baygrid { margin-top: 14px; }
.baygroup.hide { display: none; }

/* App pop-up card: opens from the module, page behind blurred; all the app's details without scrolling the page */
.appdlg { --a: var(--accent); width: min(780px, calc(100% - 28px)); max-height: min(88vh, 900px); padding: 0; border: 0; border-radius: 24px; overflow: hidden; color: var(--text);
  background: #fff; box-shadow: 0 40px 120px -30px rgba(13, 16, 48, .6), 0 0 0 1px rgba(255, 255, 255, .6); }
.appdlg::backdrop { background: rgba(13, 16, 48, .32); backdrop-filter: blur(10px) saturate(1.1); -webkit-backdrop-filter: blur(10px) saturate(1.1); animation: dlgfade .35s ease both; }
.appdlg[open] { display: flex; flex-direction: column; }
.appdlg.closing::backdrop { animation: dlgfade .25s ease reverse both; }
@keyframes dlgfade { from { opacity: 0; } }
.appdlg .dedge { position: absolute; inset: 0; z-index: 5; pointer-events: none; border-radius: inherit; padding: 2px;
  background: conic-gradient(from var(--ang), var(--a), transparent 30%, transparent 70%, var(--a)); animation: modedge 6s linear infinite;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.dhead { position: relative; flex: none; height: 190px; background: #0D1030; overflow: hidden; }
.dhead > img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.95); }
.dhead::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .05) 0 1px, transparent 1px 3px), linear-gradient(180deg, rgba(13, 16, 48, .05), rgba(13, 16, 48, .75)); }
.dscan { position: absolute; left: 0; right: 0; top: 0; height: 50px; z-index: 2; background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--a) 45%, transparent) 85%, color-mix(in srgb, var(--a) 90%, #fff)); animation: dscan 1.4s ease-out .15s both; opacity: 0; }
@keyframes dscan { 0% { transform: translateY(-50px); opacity: 0; } 20% { opacity: 1; } 100% { transform: translateY(190px); opacity: 0; } }
.dtitle { position: absolute; z-index: 3; left: 24px; right: 70px; bottom: 18px; display: flex; align-items: flex-end; gap: 16px; color: #fff; }
.dtitle .modcore { margin: 0; flex: none; transform: none; width: 72px; height: 72px; }
.dtitle h3 { font-size: clamp(24px, 3.2vw, 32px); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; color: #fff; }
.dtitle .dkind { font: 600 12.5px/1.4 var(--mono); letter-spacing: .03em; color: rgba(255, 255, 255, .85); margin-top: 4px; }
.dtitle .modstatus { margin-bottom: 8px; }
.dclose { position: absolute; z-index: 6; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .5); background: rgba(13, 16, 48, .45); color: #fff; font-size: 20px; line-height: 1; cursor: pointer; backdrop-filter: blur(6px); transition: background .2s, transform .2s; }
.dclose:hover { background: rgba(13, 16, 48, .75); transform: rotate(90deg); }
.dbody { overflow: auto; padding: 22px 26px 8px; display: grid; gap: 14px; overscroll-behavior: contain; }
.dbody > * { animation: dline .5s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(.12s + var(--k, 0) * 50ms); }
@keyframes dline { from { opacity: 0; transform: translateY(10px); } }
.dbody .rv { opacity: 1 !important; transform: none !important; }
.dbody .ticks { margin: 0; }
.dbody .pctas { margin-top: 4px; }
.dbody .samplegrid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
.dbody .sample .sbody { padding: 10px 12px 12px; } .dbody .sample h3 { font-size: 15px; } .dbody .sample .slinks { gap: 4px 12px; font-size: 13px; }
.dfoot { flex: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 26px 18px; border-top: 1px solid var(--line); background: var(--soft); font-size: 14px; color: var(--muted); }
.dfoot a { font-weight: 700; text-decoration: none; color: var(--a); }
.dfoot a:hover { text-decoration: underline; }
@media (max-width: 620px) {
  .appdlg { width: 100%; max-height: 92vh; margin: auto 0 0; border-radius: 22px 22px 0 0; }
  .dhead { height: 150px; } .dtitle { left: 16px; bottom: 14px; gap: 12px; } .dtitle .modcore { width: 58px; height: 58px; } .dtitle .modcore img { width: 44px; height: 44px; }
  .dbody { padding: 18px 18px 6px; } .dfoot { padding: 12px 18px 16px; flex-wrap: wrap; } #dlgNote { display: none; }
  .dbody .samplegrid { grid-template-columns: repeat(2, 1fr); }
}
@media (prefers-reduced-motion: reduce) { .appdlg .dedge, .dscan, .dbody > * { animation: none; } .dscan { display: none; } }

/* ===== 2026-11-08 (Dan): top menu on one line ===== */
.links a, .brand span, .switch { white-space: nowrap; }
.links { gap: 18px; }
@media (min-width: 1241px) { .links small { display: none; } }
@media (max-width: 1240px) {
  .menu { display: flex; }
  .switch { display: none; }
  .topin { flex-wrap: wrap; }
  .links { display: none; order: 5; width: 100%; flex-direction: column; gap: 2px; padding: 6px 0 14px; }
  .links.open { display: flex; }
  .links a { padding: 10px 4px; font-size: 16px; }
  .links a::after { display: none; }
  .links .mob { display: block; color: var(--accent); border-top: 1px solid var(--line); margin-top: 6px; padding-top: 14px; }
}

/* ===== 2026-11-08 (Dan): Launch Bay without cards. Big app logos on their own little orbit, the state and one line. ===== */
.baygrid { gap: clamp(18px, 2.4vw, 34px); }
.mod, .mod.next { min-height: 0; background: none; border: 0; box-shadow: none; outline: 0; overflow: visible; padding: 18px 10px 8px; align-items: center; text-align: center; border-radius: 26px; transform: none; }
.mod::before, .mod::after, .mod .modscreen, .mod .modscan, .mod .modcorners, .mod .modkind, .mod .modfoot { display: none; }
.mod:hover, .mod:focus-visible { box-shadow: none; background: radial-gradient(70% 60% at 50% 30%, color-mix(in srgb, var(--a) 9%, transparent), transparent 75%); }
.mod .modcore, .mod.next .modcore { --L: clamp(104px, 9.5vw, 136px); position: relative; width: var(--L); height: var(--L); margin: 18px auto 26px; border-radius: 30%; display: grid; place-items: center; overflow: visible;
  background: #fff; box-shadow: 0 1px 0 #fff inset, 0 24px 40px -22px color-mix(in srgb, var(--a) 80%, #14192B), 0 0 0 1px rgba(20, 25, 43, .06);
  transform: perspective(700px) rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .5s cubic-bezier(.2, .8, .2, 1), box-shadow .4s; }
.mod .modcore img { width: 78%; height: 78%; object-fit: contain; border-radius: 22%; position: relative; z-index: 1; }
.mod .modcore.hl { background: #1F4F55; } .mod .modcore.hl img { width: 58%; height: 58%; }
.mod .modcore.site img { width: 88%; height: auto; border-radius: 0; }
.mod .modcore::before { content: ""; position: absolute; inset: -22%; border-radius: 50%; border: 1px dashed color-mix(in srgb, var(--a) 45%, transparent); animation: orbspin 26s linear infinite; transition: inset .5s, border-color .4s; }
.mod .modcore::after { content: ""; position: absolute; left: 50%; top: -22%; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--a); box-shadow: 0 0 12px var(--a);
  transform-origin: 5px calc(var(--L) * .72 + 5px); animation: orbspin 9s linear infinite; }
.mod:hover .modcore, .mod:focus-visible .modcore { transform: perspective(700px) rotateX(var(--rx)) rotateY(var(--ry)) translateY(-8px) scale(1.04);
  box-shadow: 0 1px 0 #fff inset, 0 34px 50px -22px color-mix(in srgb, var(--a) 90%, #14192B), 0 0 0 1px rgba(20, 25, 43, .06), 0 0 60px -10px var(--a); }
.mod:hover .modcore::before, .mod:focus-visible .modcore::before { inset: -28%; border-style: solid; border-color: color-mix(in srgb, var(--a) 70%, transparent); animation-duration: 8s; }
.mod:hover .modcore::after, .mod:focus-visible .modcore::after { top: -28%; transform-origin: 5px calc(var(--L) * .78 + 5px); animation-duration: 3s; }
@keyframes orbspin { to { rotate: 360deg; } }
.mod.next .modcore { background: repeating-linear-gradient(135deg, rgba(20, 25, 43, .04) 0 2px, transparent 2px 10px), #fff; box-shadow: 0 0 0 1.5px #C9D1DD inset; }
.mod.next .modcore .plus { font: 300 clamp(48px, 4.5vw, 64px)/1 var(--font); color: var(--muted); transition: transform .4s, color .3s; }
.mod.next:hover .modcore .plus { transform: rotate(90deg); color: var(--accent); }
.mod .modbody { padding: 0; align-items: center; gap: 8px; display: flex; flex-direction: column; }
.mod .modstatus { order: 2; margin: 0; }
.mod .modname { order: 1; font-size: clamp(19px, 1.6vw, 22px); font-weight: 800; letter-spacing: -.02em; }
.mod .modline { order: 3; font-size: 14.5px; line-height: 1.5; color: var(--muted); max-width: 30ch; margin: 2px auto 0; }
.mod .modline::after { content: " \2192"; color: var(--a); font-weight: 700; opacity: 0; transition: opacity .3s; }
.mod:hover .modline::after, .mod:focus-visible .modline::after { opacity: 1; }
.baygrid.go .mod { animation-name: modpop; }
@keyframes modpop { from { opacity: 0; translate: 0 30px; scale: .9; } }
@media (max-width: 1100px) { .baygrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) {
  .baygrid { display: grid; grid-template-columns: repeat(2, 1fr); overflow: visible; margin-inline: 0; padding: 0; gap: 10px 8px; }
  .mod { flex: none; min-height: 0; padding: 10px 4px 6px; }
  .mod .modcore, .mod.next .modcore { --L: 92px; margin: 16px auto 20px; }
  .mod .modline { font-size: 13.5px; }
  .mod .modstatus { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) { .mod .modcore::before, .mod .modcore::after { animation: none; } }

/* ===== 2026-11-08 (Dan): the app pop-up, richer: cinematic header, the logo in orbit, facts at a glance, the real
   screenshot in a window that tilts, features as tiles, buttons always in reach, arrows to the next app. ===== */
.appdlg { width: min(980px, calc(100% - 28px)); max-height: min(92vh, 980px); background: #fff; }
.appdlg .dhead { height: clamp(230px, 34vh, 300px); background: #0B0E2A; }
.appdlg .dhead > img { position: absolute; inset: -6%; width: 112%; height: 112%; object-fit: cover; filter: blur(2px) saturate(1.1) brightness(.75); animation: kenburns 18s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1) translate(0, 0); } to { transform: scale(1.12) translate(-2%, -3%); } }
.appdlg .dhead::after { background: radial-gradient(90% 120% at 12% 100%, color-mix(in srgb, var(--a) 70%, transparent), transparent 60%), linear-gradient(180deg, rgba(11, 14, 42, .15), rgba(11, 14, 42, .88)); }
.dstars { position: absolute; inset: 0; z-index: 2; pointer-events: none; background-image: radial-gradient(1.5px 1.5px at 12% 22%, #fff, transparent), radial-gradient(1px 1px at 38% 68%, #fff, transparent), radial-gradient(1.2px 1.2px at 62% 18%, #fff, transparent), radial-gradient(1px 1px at 82% 44%, #fff, transparent), radial-gradient(1.4px 1.4px at 91% 80%, #fff, transparent), radial-gradient(1px 1px at 24% 86%, #fff, transparent); opacity: .7; animation: twinkle 4s ease-in-out infinite alternate; }
@keyframes twinkle { to { opacity: .25; } }
.appdlg .dtitle { left: 30px; bottom: 26px; gap: 30px; align-items: center; }
.appdlg .dtitle .modcore { --L: 108px; position: relative; width: var(--L); height: var(--L); border-radius: 30%; background: #fff; display: grid; place-items: center; box-shadow: 0 20px 40px -14px rgba(0, 0, 0, .6), 0 0 50px -6px var(--a); animation: dfloat 5s ease-in-out infinite; }
.appdlg .dtitle .modcore img { width: 78%; height: 78%; object-fit: contain; border-radius: 22%; }
.appdlg .dtitle .modcore.hl { background: #1F4F55; } .appdlg .dtitle .modcore.hl img { width: 58%; height: 58%; }
.appdlg .dtitle .modcore.site img { width: 88%; height: auto; border-radius: 0; }
.appdlg .dtitle .modcore::before, .appdlg .dtitle .modcore::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.appdlg .dtitle .modcore::before { inset: -18%; border: 1.5px solid rgba(255, 255, 255, .3); border-top-color: var(--a); border-right-color: var(--a); animation: orbspin 5s linear infinite; }
.appdlg .dtitle .modcore::after { inset: -34%; border: 1px dashed rgba(255, 255, 255, .22); animation: orbspin 18s linear infinite reverse; }
@keyframes dfloat { 50% { translate: 0 -6px; } }
.appdlg .dtitle h3 { font-size: clamp(30px, 4.4vw, 46px); }
.appdlg .dtitle .dkind { font-size: 13.5px; }
.dnav { position: absolute; z-index: 6; top: 14px; right: 64px; display: flex; gap: 8px; }
.dnav button { height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .45); background: rgba(11, 14, 42, .45); color: #fff; font: 600 13px var(--font); cursor: pointer; backdrop-filter: blur(6px); transition: background .2s; white-space: nowrap; }
.dnav button:hover { background: rgba(11, 14, 42, .8); }
.appdlg .dbody { padding: 26px 30px 14px; gap: 22px; }
.dglance { display: flex; flex-wrap: wrap; gap: 10px; }
.dglance span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 13px; border-radius: 12px; background: color-mix(in srgb, var(--a) 8%, #fff); border: 1px solid color-mix(in srgb, var(--a) 22%, #fff); font: 600 13px/1.3 var(--font); color: var(--text); }
.dglance span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--a); flex: none; }
.dlead { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.55; color: var(--text); max-width: 62ch; }
.dshow { margin: 0; perspective: 1100px; }
.dshow .dwin { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: 0 30px 60px -30px color-mix(in srgb, var(--a) 60%, #14192B);
  transform: rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg)); transition: transform .5s cubic-bezier(.2, .8, .2, 1); position: relative; }
.dshow .dwin::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .35) 48%, transparent 60%); transform: translateX(-100%); animation: dshine 1.4s .5s ease-out both; }
@keyframes dshine { to { transform: translateX(100%); } }
.dshow img { width: 100%; height: auto; aspect-ratio: 16 / 8; object-fit: cover; object-position: center 30%; }
.dfeat { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; counter-reset: f; }
.dfeat li { counter-increment: f; position: relative; padding: 16px 16px 16px 60px; border-radius: 14px; background: var(--soft); border: 1px solid var(--line); font-size: 15px; line-height: 1.5; transition: transform .25s, border-color .25s, box-shadow .25s; }
.dfeat li::before { content: counter(f, decimal-leading-zero); position: absolute; left: 14px; top: 14px; width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; font: 600 12px var(--mono); color: #fff; background: var(--a); box-shadow: 0 6px 14px -6px var(--a); }
.dfeat li:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--a) 40%, var(--line)); box-shadow: 0 14px 28px -20px color-mix(in srgb, var(--a) 80%, #000); }
.dfeat li b { color: color-mix(in srgb, var(--a) 65%, var(--text)); }
.appdlg .dfoot { gap: 16px; padding: 16px 30px 20px; background: #fff; box-shadow: 0 -18px 30px -24px rgba(20, 25, 43, .35); }
.dacts { display: flex; flex-wrap: wrap; gap: 10px; }
.dacts .btn { background: var(--a); border-color: var(--a); color: #fff; }
.dacts .btn:hover { filter: brightness(1.08); box-shadow: 0 12px 26px -12px var(--a); }
.dacts .btn.ghost { background: #fff; color: var(--a); border-color: color-mix(in srgb, var(--a) 40%, #fff); }
.appdlg.swapping .dbody > *, .appdlg.swapping .dtitle { animation: dswap .45s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--k, 0) * 40ms); }
@keyframes dswap { from { opacity: 0; transform: translateX(var(--sx, 30px)); } }
@media (max-width: 760px) {
  .dfeat { grid-template-columns: 1fr; }
  .appdlg .dtitle { left: 18px; right: 18px; bottom: 18px; gap: 20px; }
  .appdlg .dtitle .modcore { --L: 72px; }
  .dnav { top: 12px; right: 60px; } .dnav button { padding: 0 12px; } .dnav .dlabel { display: none; }
  .appdlg .dbody { padding: 20px 18px 8px; }
  .appdlg .dfoot { padding: 12px 18px 16px; flex-direction: column; align-items: stretch; }
  .dacts .btn { flex: 1 1 auto; }
}
@media (prefers-reduced-motion: reduce) { .appdlg .dhead > img, .dstars, .appdlg .dtitle .modcore, .appdlg .dtitle .modcore::before, .appdlg .dtitle .modcore::after, .dshow .dwin::after, .appdlg.swapping .dbody > *, .appdlg.swapping .dtitle { animation: none; } }
