/* AIplets home page.
   The Bytellar house style in daylight: the same glass, the same three colours, the same calm motion,
   on a bright sky instead of a night one. One sky runs behind the whole page; the only dark scene is
   the ecosystem, where the apps meet the firm. Chinese text uses the reader's own system font, so
   nothing has to be downloaded; Latin text uses the faces the Bytellar and Nexus sites use. */

@font-face { font-family: "Chakra Petch"; src: url("assets/fonts/chakra-petch-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Chakra Petch"; src: url("assets/fonts/chakra-petch-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Chakra Petch"; src: url("assets/fonts/chakra-petch-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("assets/fonts/geist-mono-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Mona Sans"; src: url("assets/fonts/mona-sans-latin-wght-normal.woff2") format("woff2"); font-weight: 200 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("assets/fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }

:root {
  --bg: #f1f5fb; --ink: #0b1416; --ink-2: #26353c; --muted: #54636c; --dim: #8693a0; --rule: #0b141614;
  /* The family colours, and a deeper cut of each for text on a light ground. */
  --ice: #a9d8ff; --ice-ink: #1a6cc6; --lav: #cdbff0; --lav-ink: #6a4dd6; --mint: #a0e6ce; --mint-ink: #0a8561;
  --night: #080c0d;
  --accent: var(--ice-ink); --accent-2: var(--lav-ink);
  --cjk: "PingFang SC", "HarmonyOS Sans SC", "MiSans", "Noto Sans SC", "Source Han Sans SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-display: "Chakra Petch", var(--cjk);
  --font-body: "Mona Sans", var(--cjk);
  --font-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, var(--cjk);
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --ease: cubic-bezier(.22, .8, .2, 1);
  /* Liquid glass: a bright sheet with a lit top edge and a soft, coloured shadow. */
  --glass: linear-gradient(180deg, #ffffffc9 0%, #ffffff7d 100%);
  --glass-rim: inset 0 1px 0 #fff, inset 0 -1px 0 #ffffff8c, inset 1px 0 0 #ffffffb8, inset -1px 0 0 #ffffffb8, inset 0 -18px 24px -20px #5b7cff40, 0 1px 2px #1c2a4a12, 0 30px 60px -22px #3c4f8a52;
  --iris: #7fc0ff, #b9a9f5, #ffc2a8, #9be8cf, #7fc0ff; --spring: cubic-bezier(.34, 1.56, .64, 1);
  --sp-1: .8rem; --sp-2: 1.3rem; --sp-3: 2.2rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
/* Phone browsers enlarge text by themselves in two cases: Safari when the phone is turned sideways,
   and in-app browsers (WeChat among them) by the reader's own font-size setting, which they write
   on <body>. The layout is sized in rem, so enlarged text runs into its neighbours. The text size is
   therefore pinned, with !important so that it also beats what the in-app browser writes. Readers
   can still zoom the page with two fingers. */
html, body { -webkit-text-size-adjust: 100% !important; text-size-adjust: 100% !important; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1rem/1.7 var(--font-body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }
svg { width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
:focus-visible { outline: 2px solid var(--ice-ink); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.container { width: min(1240px, calc(100% - 112px)); margin-inline: auto; }
.skip-link { position: fixed; top: -80px; left: 20px; z-index: 100; padding: 12px 16px; border-radius: 10px; background: var(--ink); color: #fff; }
.skip-link:focus { top: 10px; }
.scroll-progress { position: fixed; inset: 0 0 auto 0; z-index: 60; height: 2px; background: linear-gradient(90deg, var(--ice-ink), var(--lav-ink), var(--mint-ink)); transform-origin: left; transform: scaleX(0); pointer-events: none; }
@supports (animation-timeline: scroll()) { .scroll-progress { animation: page-progress linear both; animation-timeline: scroll(root block); } }
@keyframes page-progress { to { transform: scaleX(1); } }
@property --angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@property --spin { syntax: "<angle>"; initial-value: 0deg; inherits: true; }
@property --fill { syntax: "<percentage>"; initial-value: 0%; inherits: false; }

/* ---------- One sky behind the whole page ---------- */
/* Four soft lights in the family colours, with a little warmth for daylight. They drift on their own
   and travel as the page is read (--page runs from 0 at the top to 1 at the foot), so the page
   changes mood without ever changing background. A fine grain keeps the gradients from looking flat. */
.canvas { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; background: linear-gradient(180deg, #e9f1fe 0%, #f3f0fc 46%, #eff7f5 100%); }
.canvas i { position: absolute; border-radius: 50%; }
.canvas i:nth-child(1) { width: 78vmax; height: 78vmax; left: -26vmax; top: -34vmax; background: radial-gradient(closest-side, #a9d8fff2, #a9d8ff00); translate: calc(var(--page, 0) * 26vw) calc(var(--page, 0) * 46vh); }
.canvas i:nth-child(2) { width: 68vmax; height: 68vmax; right: -24vmax; top: -26vmax; background: radial-gradient(closest-side, #cdbff0f2, #cdbff000); translate: calc(var(--page, 0) * -30vw) calc(var(--page, 0) * 38vh); }
.canvas i:nth-child(3) { width: 60vmax; height: 60vmax; left: 6vmax; bottom: -34vmax; background: radial-gradient(closest-side, #a0e6cecc, #a0e6ce00); translate: calc(var(--page, 0) * 34vw) calc(var(--page, 0) * -30vh); }
.canvas i:nth-child(4) { width: 46vmax; height: 46vmax; right: -8vmax; bottom: -22vmax; background: radial-gradient(closest-side, #ffd9c7b3, #ffd9c700); translate: calc(var(--page, 0) * -22vw) calc(var(--page, 0) * -24vh); }
.canvas b { position: absolute; inset: 0; opacity: .5; mix-blend-mode: multiply; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .05 0 0 0 0 .08 0 0 0 0 .12 0 0 0 .11 0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E"); }
.motion .canvas i:nth-child(1) { animation: drift-a 27s ease-in-out infinite alternate; }
.motion .canvas i:nth-child(2) { animation: drift-b 33s ease-in-out infinite alternate; }
.motion .canvas i:nth-child(3) { animation: drift-c 24s ease-in-out infinite alternate; }
.motion .canvas i:nth-child(4) { animation: drift-a 36s ease-in-out infinite alternate-reverse; }
@keyframes drift-a { to { transform: translate3d(7vw, 5vh, 0) scale(1.08); } }
@keyframes drift-b { to { transform: translate3d(-8vw, 6vh, 0) scale(1.1); } }
@keyframes drift-c { to { transform: translate3d(6vw, -5vh, 0) scale(.94); } }

.glass { background: var(--glass); box-shadow: var(--glass-rim); backdrop-filter: blur(24px) saturate(180%); -webkit-backdrop-filter: blur(24px) saturate(180%); }
.kicker { display: flex; align-items: center; gap: .6rem; color: var(--accent); font: 500 .8125rem/1.4 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; }
.kicker b { padding: .1rem .45rem; border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent); border-radius: .3rem; font-weight: 500; letter-spacing: .04em; }
.fine { color: var(--dim); font: .8125rem/1.6 var(--font-body); }

/* The second half of a headline carries the colour. In Chinese it stays upright; in English it takes
   the serif italic the Bytellar and Nexus sites use. The two halves break between them, never inside. */
h1 em, h2 em, .closing-line em, .footer-slogan em { font-style: normal; color: var(--accent); }
h2 em, h2 s, .closing-line em, .footer-slogan em { display: inline-block; }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  h1 em, h2 em, .closing-line em, .footer-slogan em { background: linear-gradient(100deg, var(--accent) 0%, var(--accent-2) 52%, var(--accent) 100%); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
  .motion h1 em, .motion h2 em, .motion .closing-line em { animation: sheen 12s ease-in-out infinite; }
}
@keyframes sheen { 0%, 100% { background-position: 0% 0; } 50% { background-position: 100% 0; } }
html[lang="en"] :is(h1, h2, .closing-line, .footer-slogan) em { font: italic 500 1.14em/1 var(--font-serif); letter-spacing: -.01em; padding-right: .06em; }

/* ---------- Header: a glass capsule ---------- */
.site-header { position: fixed; inset: .8rem 0 auto 0; z-index: 40; pointer-events: none; }
.header-inner { position: relative; pointer-events: auto; display: grid; grid-template-columns: minmax(max-content, 1fr) auto minmax(max-content, 1fr); align-items: center; height: 62px; padding: 0 .55rem 0 1.2rem; border-radius: 999px;
  background: linear-gradient(180deg, #ffffffd9 0%, #ffffff99 100%);
  backdrop-filter: blur(24px) saturate(190%); -webkit-backdrop-filter: blur(24px) saturate(190%);
  box-shadow: inset 0 1px 0 #fff, inset 0 0 0 1px #ffffffb3, 0 0 0 1px #0b14160d, 0 14px 40px #2a3a6a1f;
  transition: height .35s var(--ease), background .35s; }
.site-header.is-scrolled .header-inner { height: 54px; background: linear-gradient(180deg, #fffffff2 0%, #ffffffd1 100%); }
.brand { grid-column: 1; justify-self: start; display: inline-flex; align-items: center; gap: .55rem; }
.brand-mark { width: 34px; height: 34px; color: var(--ink); }
.brand-name { font: 600 1.375rem/1 var(--font-display); letter-spacing: -.01em; }
.brand-by { margin-left: .2rem; padding-left: .7rem; border-left: 1px solid var(--rule); color: var(--dim); font: 500 .6875rem/1.2 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; }
.site-nav { grid-column: 2; position: relative; display: flex; padding: .3rem; border-radius: 999px; }
.site-nav::before { content: ""; position: absolute; top: .3rem; bottom: .3rem; left: 0; width: var(--pill-w, 0px); transform: translateX(var(--pill-x, 0px)); border-radius: 999px; background: linear-gradient(180deg, #fff, #eaf3ff); box-shadow: inset 0 0 0 1px #1a6cc61f, 0 4px 14px #2a3a6a1f; opacity: var(--pill-o, 0); transition: transform .5s var(--ease), width .5s var(--ease), opacity .3s; }
.site-nav a { position: relative; padding: .5rem 1.05rem; border-radius: 999px; color: var(--muted); font: 500 .9375rem/1.3 var(--font-display); letter-spacing: .01em; transition: color .25s; }
.site-nav a:hover, .site-nav a[aria-current="true"] { color: var(--ink); }
.header-tools { grid-column: 3; justify-self: end; display: inline-flex; align-items: center; gap: .6rem; }
/* The menu button belongs to phones (see the rules for 760px and below). */
.menu { display: none; }
@keyframes menu-in { from { opacity: 0; transform: translateY(-8px) scale(.98); } }

/* The call to action: ice-blue glass, with a point of light that circles its rim, then rests. */
.button { --beam-gap: 3px; position: relative; display: inline-flex; align-items: center; gap: .5rem; padding: .95rem 1.5rem; border: 0; border-radius: 999px; color: #fff; font: 600 .9375rem/1 var(--font-display); letter-spacing: .01em; white-space: nowrap; text-shadow: 0 1px 1px #1a3f8a59;
  background: radial-gradient(120% 150% at 18% -50%, #ffffff8c, transparent 52%), linear-gradient(180deg, #57a6f2 0%, #2f7fe0 52%, #6c66e6 100%);
  box-shadow: inset 0 1px 0 #ffffff99, inset 0 -1px 0 #3b45b359, 0 10px 26px #2f7fe05c, 0 2px 6px #2f7fe033;
  transition: box-shadow .3s, transform .3s var(--ease); }
.button:hover { transform: translateY(-1px); box-shadow: inset 0 1px 0 #ffffffb3, inset 0 -1px 0 #3b45b359, 0 14px 34px #2f7fe075, 0 2px 6px #2f7fe040; }
.button-sm { padding: .68rem 1.05rem; }
.button::before, .button::after { content: ""; position: absolute; inset: calc(var(--beam-gap) * -1); padding: 1.5px; border-radius: 999px; -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.button::before { background: #2f7fe033; }
.button::after { background: conic-gradient(from var(--angle), transparent 0 60%, #7fc0ff 76%, #fff 86%, #b9a9f5 94%, transparent 100%); opacity: 0; }
.motion .button::after { animation: beam-cycle 7.5s ease-in-out 1.2s infinite; }
.motion .button:is(:hover, :focus-visible)::after { animation: beam-hover 1.7s ease-in-out 1 both; }
@keyframes beam-cycle { 0% { --angle: 0deg; opacity: 0; } 4%, 34% { opacity: 1; } 40%, 100% { --angle: 360deg; opacity: 0; } }
@keyframes beam-hover { 0% { --angle: 0deg; opacity: 0; } 12%, 86% { opacity: 1; } 100% { --angle: 360deg; opacity: 0; } }
.button svg, .text-link svg, .family svg { transition: transform .35s var(--ease); }
.button:hover svg { transform: translateY(2px); }
.button[target="_blank"]:hover svg, .family a:hover svg { transform: translate(2px, -2px); }
.button-ghost { color: var(--ink); text-shadow: none; background: linear-gradient(180deg, #fff, #f3f6fc); box-shadow: inset 0 0 0 1px #0b14161f, 0 6px 18px #2a3a6a14; }
.button-ghost:hover { box-shadow: inset 0 0 0 1px #0b141633, 0 10px 24px #2a3a6a1f; }
.button-ghost::before { background: #0b14160d; }
.text-link { display: inline-flex; align-items: center; gap: .4rem; padding: .5rem 0; color: var(--ink); font: 600 .9375rem/1.3 var(--font-display); background: linear-gradient(var(--ice-ink), var(--lav-ink)) left bottom / 100% 2px no-repeat; }
.text-link:hover svg { transform: translateX(4px); }
.to-top { position: fixed; right: 1.4rem; bottom: 1.4rem; z-index: 45; display: grid; place-items: center; width: 2.9rem; height: 2.9rem; border-radius: 50%; background: #ffffffe6; color: var(--ink); box-shadow: inset 0 0 0 1px #0b14161a, 0 8px 22px #2a3a6a2e; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .3s, transform .3s var(--ease); }
.to-top.is-shown { opacity: 1; transform: none; pointer-events: auto; }
body:has(.site-footer.is-in) .to-top { opacity: 0; pointer-events: none; }

/* ---------- Hero: the promise, and one bar that takes anything you give it ---------- */
.hero { position: relative; display: flex; flex-direction: column; min-height: 100vh; min-height: 100svh; }
.hero-inner { flex: 1 1 auto; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding-top: clamp(5.4rem, 12vh, 7rem); padding-bottom: clamp(1rem, 3vh, 2rem); }
.hero-kicker { padding: .45rem .9rem; border-radius: 99px; background: #ffffffb3; box-shadow: inset 0 0 0 1px #ffffff, 0 0 0 1px #1a6cc61f; text-transform: none; letter-spacing: .03em; }
.hero h1 { margin: clamp(.7rem, 2vh, 1.3rem) 0 clamp(.6rem, 1.6vh, 1rem); font: 600 clamp(2.5rem, min(5.8vw, 9.4vh), 5.5rem)/1.1 var(--font-display); letter-spacing: -.01em; }
.hero h1 > * { display: block; }
html[lang="en"] .hero h1 { line-height: 1; letter-spacing: -.025em; }
html[lang="en"] .hero h1 > * { display: inline-block; }
.hero-lede { max-width: 40rem; color: var(--ink-2); font-size: clamp(1.02rem, 1.3vw, 1.1875rem); line-height: 1.7; }

/* The demo. A bar that takes a sentence, a photo, a file or a recording; the agents' steps; the result. */
.demo { --app: var(--ice-ink); position: relative; width: min(100%, 45rem); margin-top: clamp(1rem, 3vh, 2rem); }
.demo-scenes { display: grid; }
.demo-scene { display: grid; justify-items: center; gap: clamp(.5rem, 1.3vh, .8rem); }
.demo-scene[data-app="skippd"] { --app: #7a6af0; } .demo-scene[data-app="zouba"] { --app: #f0702a; } .demo-scene[data-app="recallio"] { --app: #55657a; } .demo-scene[data-app="voclaris"] { --app: #1fa99c; }
/* All examples share one place, so the demo keeps the height of the tallest. Without the script, only the first shows. */
.js .demo-scene { grid-area: 1 / 1; }
.js .demo-scene:not(.is-active) { visibility: hidden; }
html:not(.js) .demo-scene:not(.is-active) { display: none; }
.saybar { display: flex; align-items: center; gap: .9rem; width: 100%; min-height: 4.1rem; padding: .55rem .6rem .55rem .65rem; border-radius: 999px; text-align: left;
  background: linear-gradient(180deg, #fffffff5, #ffffffc7); box-shadow: inset 0 1px 0 #fff, inset 0 0 0 1px #ffffff, 0 0 0 1px color-mix(in srgb, var(--app) 26%, transparent), 0 24px 60px -16px color-mix(in srgb, var(--app) 46%, transparent), 0 2px 8px #1c2a4a14;
  backdrop-filter: blur(24px) saturate(180%); -webkit-backdrop-filter: blur(24px) saturate(180%); }
.saybar img { flex: none; width: 46px; height: 46px; border-radius: 50%; box-shadow: 0 0 0 1px #0b141614, 0 6px 14px #2a3a6a33; }
.demo-typed { flex: 1 1 auto; min-width: 0; color: var(--ink); font: 500 clamp(1rem, 1.45vw, 1.25rem)/1.4 var(--font-body); }
.demo-typed.is-typing::after { content: ""; display: inline-block; width: 2px; height: 1.05em; margin-left: 2px; vertical-align: -.16em; background: var(--app); animation: caret 1s steps(2) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.modes { flex: none; display: inline-flex; gap: .3rem; }
.modes i { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: #0b14160a; color: #8a97a3; font-size: 1.05rem; transition: background .4s, color .4s, box-shadow .4s; }
/* The way in that this example uses lights up. */
[data-mode="say"] .m-say, [data-mode="snap"] .m-snap, [data-mode="file"] .m-file, [data-mode="rec"] .m-rec { background: var(--app); color: #fff; box-shadow: 0 0 0 4px color-mix(in srgb, var(--app) 22%, transparent), 0 8px 18px color-mix(in srgb, var(--app) 40%, transparent); }
.motion .is-active:is([data-mode="say"] .m-say, [data-mode="snap"] .m-snap, [data-mode="file"] .m-file, [data-mode="rec"] .m-rec), .motion .is-active[data-mode="say"] .m-say, .motion .is-active[data-mode="snap"] .m-snap, .motion .is-active[data-mode="file"] .m-file, .motion .is-active[data-mode="rec"] .m-rec { animation: mode-pulse 2.4s ease-in-out infinite; }
@keyframes mode-pulse { 0%, 100% { box-shadow: 0 0 0 4px color-mix(in srgb, var(--app) 22%, transparent), 0 8px 18px color-mix(in srgb, var(--app) 40%, transparent); } 50% { box-shadow: 0 0 0 9px color-mix(in srgb, var(--app) 0%, transparent), 0 8px 18px color-mix(in srgb, var(--app) 40%, transparent); } }
.demo-steps { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; }
.demo-steps li { display: inline-flex; align-items: center; gap: .4rem; padding: .28rem .75rem .28rem .55rem; border-radius: 99px; background: #ffffffb3; box-shadow: inset 0 0 0 1px #6a4dd633; color: var(--lav-ink); font: 500 .8125rem/1.5 var(--font-body); }
.demo-steps li::before { content: ""; width: .7rem; height: .7rem; border-radius: 50%; background: var(--lav-ink) no-repeat center / .5rem url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.demo-steps li + li { position: relative; margin-left: .7rem; }
.demo-steps li + li::after { content: ""; position: absolute; right: calc(100% + .22rem); top: 50%; width: .5rem; height: 1.5px; background: #6a4dd666; }
.demo-out { display: grid; grid-template-columns: auto 1fr; gap: .15rem 1.2rem; align-items: center; width: min(100%, 38rem); padding: .85rem 1.2rem .9rem; border-radius: 1.3rem; text-align: left; background: var(--glass); box-shadow: var(--glass-rim); backdrop-filter: blur(24px) saturate(180%); -webkit-backdrop-filter: blur(24px) saturate(180%); }
.demo-by { grid-row: 1 / span 2; display: grid; gap: .3rem; justify-items: start; padding-right: 1.2rem; border-right: 1px solid var(--rule); }
.demo-by b { font: 600 1rem/1.2 var(--font-display); }
.demo-by span { padding: .1rem .55rem; border-radius: 99px; background: color-mix(in srgb, var(--app) 13%, transparent); color: color-mix(in srgb, var(--app) 82%, #000); font: 500 .75rem/1.6 var(--font-body); white-space: nowrap; }
.demo-result { font: 600 clamp(1.1rem, 1.6vw, 1.375rem)/1.35 var(--font-display); }
.demo-call { display: flex; align-items: baseline; gap: .55rem; color: var(--ink-2); font-size: .9375rem; line-height: 1.5; }
.demo-call b { flex: none; padding: .1rem .55rem; border-radius: 99px; background: #0a856117; box-shadow: inset 0 0 0 1px #0a856140; color: var(--mint-ink); font: 600 .75rem/1.6 var(--font-body); }
.demo-foot { display: flex; align-items: center; justify-content: center; gap: .7rem; margin-top: clamp(.4rem, 1.2vh, .7rem); color: var(--dim); font: .75rem/1.4 var(--font-body); }
.demo-dots { display: inline-flex; }
/* Each dot is a button with a comfortable area around a small mark. */
.demo-dot { position: relative; width: 1.5rem; height: 1.5rem; margin: 0 -.2rem; padding: 0; border: 0; background: none; }
.demo-dot::before { content: ""; position: absolute; left: 50%; top: 50%; width: 6px; height: 6px; border-radius: 99px; background: #0b14162e; transform: translate(-50%, -50%); transition: width .4s var(--ease), background .4s; }
.demo-dot.is-on::before { width: 16px; background: var(--ice-ink); }
.demo-dot:hover::before { background: var(--ice-ink); }
.demo-toggle { display: grid; place-items: center; width: 1.7rem; height: 1.7rem; padding: 0; border: 0; border-radius: 50%; background: #0b14160f; color: var(--ink-2); font-size: .72rem; }
.demo-toggle:hover { background: #0b14161f; }
/* The family around the bar: the app at work comes forward. */
.demo-float img { position: absolute; z-index: 0; width: 68px; height: 68px; border-radius: 18px; box-shadow: 0 0 0 1px #ffffffe6, 0 16px 32px -8px #2a3a6a52; opacity: .9; rotate: var(--tilt, 0deg); transition: scale .7s var(--ease), opacity .7s, box-shadow .7s, rotate .7s var(--ease); }
.demo-float img:nth-child(1) { right: calc(100% + 3.2rem); top: -1.2rem; --tilt: -9deg; }
.demo-float img:nth-child(2) { left: calc(100% + 3rem); top: -.2rem; --tilt: 8deg; }
.demo-float img:nth-child(3) { right: calc(100% + 7.6rem); top: 5.6rem; --tilt: 6deg; width: 58px; height: 58px; border-radius: 15px; }
.demo-float img:nth-child(4) { left: calc(100% + 7.4rem); top: 6.4rem; --tilt: -7deg; width: 58px; height: 58px; border-radius: 15px; }
.demo-float img:nth-child(5) { right: calc(100% + 2.4rem); top: 10.6rem; --tilt: 5deg; width: 52px; height: 52px; border-radius: 14px; }
.demo-float img:nth-child(6) { left: calc(100% + 2.2rem); top: 11.2rem; --tilt: -5deg; width: 52px; height: 52px; border-radius: 14px; }
.demo-float img.is-on { z-index: 2; opacity: 1; scale: 1.16; rotate: 0deg; box-shadow: 0 0 0 2px #fff, 0 0 0 6px #2f7fe033, 0 20px 40px -8px #2f7fe066; }
.motion .demo-float img { animation: bob 7s ease-in-out infinite; }
.motion .demo-float img:nth-child(2n) { animation-duration: 8.5s; animation-delay: -2s; }
.motion .demo-float img:nth-child(3n) { animation-duration: 9.5s; animation-delay: -4s; }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
/* Playing: the question types itself, the steps tick off, the result settles, the last word is yours. */
.motion .demo-scene.is-active .demo-steps li { animation: fade-up .5s var(--ease) both; animation-delay: calc(var(--i, 0) * .45s + var(--after, 1.4s)); }
.demo-steps li:nth-child(1) { --i: 0; } .demo-steps li:nth-child(2) { --i: 1; } .demo-steps li:nth-child(3) { --i: 2; }
.motion .demo-scene.is-active .demo-out { animation: settle .9s var(--ease) both; animation-delay: calc(var(--after, 1.4s) + 2s); }
@keyframes settle { 0% { opacity: 0; filter: blur(8px); transform: translate3d(0, 16px, 0) scale(.95); } 60% { opacity: 1; filter: none; transform: translate3d(0, -3px, 0) scale(1.012); } 100% { opacity: 1; filter: none; transform: none; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes fade-up { from { opacity: 0; transform: translate3d(0, 8px, 0); } to { opacity: 1; transform: none; } }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .9rem 1.6rem; margin-top: clamp(.8rem, 2.4vh, 1.5rem); }
.hero-status { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.4rem; color: var(--muted); font: .875rem/1.4 var(--font-body); }
.hero-status li { display: inline-flex; align-items: baseline; gap: .35rem; }
.hero-status li::before { content: ""; align-self: center; width: 7px; height: 7px; margin-right: .2rem; border-radius: 50%; background: var(--dot); box-shadow: 0 0 0 3px color-mix(in srgb, var(--dot) 22%, transparent); }
.hero-status b { color: var(--ink); font: 600 1rem/1 var(--font-display); }
.is-live { --dot: var(--mint-ink); } .is-soon { --dot: var(--ice-ink); } .is-dev { --dot: var(--lav-ink); }

/* ---------- Sections: all on the same sky ---------- */
.section { position: relative; padding: 6rem 0 3rem; }
.section-head { display: grid; gap: .8rem; }
.section h2 { font: 600 clamp(2rem, 3.6vw, 3.3rem)/1.16 var(--font-display); letter-spacing: -.01em; }
html[lang="en"] .section h2 { line-height: 1.06; letter-spacing: -.02em; }
.section-lede { max-width: 42rem; color: var(--muted); font-size: 1.125rem; line-height: 1.7; }

/* 1 · Why: one statement crossed out, one put in its place, and the same job done two ways */
.why { --accent: var(--lav-ink); --accent-2: var(--ice-ink); }
.why h2 { font-size: clamp(2.1rem, 4.2vw, 3.9rem); }
.why h2 s { margin-right: .2em; color: #0b141659; text-decoration: line-through; text-decoration-thickness: .055em; text-decoration-color: #0b141680; }
.race { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.2rem; margin-top: 2.2rem; }
.lane { display: grid; grid-template-rows: auto 1fr auto; gap: 1rem; padding: 1.3rem 1.5rem 1.3rem; border-radius: 1.6rem; }
.lane > header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.lane-tag { padding: .16rem .75rem; border-radius: 99px; font: 600 .8125rem/1.6 var(--font-body); }
.lane-num { display: flex; align-items: baseline; gap: .3rem; font: 500 1rem/1 var(--font-body); }
.lane-num b { font: 700 clamp(2.6rem, 4.6vw, 4rem)/.9 var(--font-display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.lane-foot { font: 600 1.1875rem/1.4 var(--font-display); }
.lane-old { background: #ffffff7a; box-shadow: inset 0 0 0 1px #0b141614; color: var(--muted); }
.lane-old .lane-tag { background: #0b14160f; color: var(--muted); }
.lane-old .lane-num b { color: #7b8791; }
.lane-old .lane-foot { color: #6f7b84; }
.taps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; align-content: center; }
.taps li { display: flex; align-items: center; gap: .5rem; padding: .62rem .8rem; border-radius: .85rem; background: #0b14160a; box-shadow: inset 0 0 0 1px #0b14160f; font-size: .9375rem; line-height: 1.4; transition: opacity .35s, background .35s, box-shadow .35s; }
.taps svg { color: var(--dim); font-size: 1.05rem; }
.lane-new { background: linear-gradient(140deg, #ffffff, #f1ecff 55%, #e7f2ff); box-shadow: inset 0 1px 0 #fff, inset 0 0 0 1px #fff, 0 0 0 1px #6a4dd62e, 0 30px 70px -20px #6a4dd657; }
.lane-new .lane-tag { background: var(--lav-ink); color: #fff; }
.lane-new .lane-num { color: var(--lav-ink); }
.lane-new .lane-num b { background: linear-gradient(120deg, var(--lav-ink), var(--ice-ink)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: var(--lav-ink); }
.flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem 1.3rem; align-content: center; }
.flow li { display: grid; justify-items: start; gap: .45rem; padding: .8rem .9rem; border-radius: .95rem; font: 600 1rem/1.4 var(--font-display); transition: opacity .35s, transform .45s var(--ease), box-shadow .35s; }
.flow svg { font-size: 1.25rem; }
.flow-you { background: #0a856114; box-shadow: inset 0 0 0 1px #0a856133; color: #075e45; }
.flow-agents { background: #6a4dd614; box-shadow: inset 0 0 0 1px #6a4dd633; color: #4a31ad; }
.flow-get { background: linear-gradient(120deg, #dcecff, #e7defd); box-shadow: inset 0 0 0 1px #fff, 0 0 0 1px #1a6cc62e; color: #164f96; }
/* While the race runs, each lane lights its steps as it reaches them. Standing still, everything is lit. */
.is-racing .taps li:not(.is-lit), .is-racing .flow li:not(.is-lit) { opacity: .28; }
.is-racing .taps li.is-now { background: #0b141614; box-shadow: inset 0 0 0 1px #0b141633; }
.is-racing .flow li.is-lit { transform: translateY(-2px); }
.is-racing .lane-foot { opacity: .3; transition: opacity .5s; }
.is-racing .lane.is-done .lane-foot { opacity: 1; }
.motion .flow-agents.is-lit .flow-art > svg { animation: pipe-spin 4s ease-in-out infinite; }
.why-foot { display: grid; justify-items: center; gap: .8rem; margin-top: 1.6rem; }

/* The method strip: you ask, agents do the middle, you get the result. The same loop as bytellar.com. */
.pipeline { display: inline-flex; align-items: center; gap: 2.9rem; padding: .34rem; border-radius: 999px; font: 500 .8125rem/1.4 var(--font-body); white-space: nowrap;
  background: linear-gradient(180deg, #ffffffe6, #ffffffad); box-shadow: inset 0 1px 0 #fff, inset 0 0 0 1px #ffffffb3, 0 0 0 1px #0b14160d, 0 12px 30px #2a3a6a1a; backdrop-filter: blur(18px) saturate(170%); -webkit-backdrop-filter: blur(18px) saturate(170%); }
.pipeline > li { position: relative; display: inline-flex; align-items: center; border: 1px solid transparent; border-radius: 999px; }
.pipeline > li:not(:last-child)::after { content: ""; position: absolute; left: calc(100% + .5rem); top: 50%; width: 1.9rem; height: 2px; margin-top: -1px; border-radius: 2px; background: linear-gradient(90deg, transparent, var(--ink), transparent) -100% 0 / 45% 100% no-repeat, linear-gradient(90deg, #0a856166, #6a4dd666); }
.pipeline > li.pipe-agents::after { background: linear-gradient(90deg, transparent, var(--ink), transparent) -100% 0 / 45% 100% no-repeat, linear-gradient(90deg, #6a4dd666, #0a856166); }
.pipe-you { gap: .45rem; padding: .36rem .9rem .36rem .7rem; color: var(--mint-ink); border-color: #0a856140; background-color: #0a85610f; font-weight: 600; }
.pipe-you svg, .pipe-name svg { width: .95rem; height: .95rem; }
.pipe-get svg { stroke-width: 2.6; }
.pipe-agents { gap: .3rem; padding: .24rem .3rem .24rem .8rem; border-color: #6a4dd62e; color: var(--lav-ink); background-color: #6a4dd60a; }
.pipe-name { display: inline-flex; align-items: center; gap: .4rem; margin-right: .4rem; font-weight: 600; }
.pipe-agents i { --a-idle: #8a80b5; --a-on: #fff; --a-done: #6a4dd6; --b-idle: #6a4dd62e; --b-on: #6a4dd6; --b-done: #6a4dd666; --g-idle: #6a4dd600; --g-on: #6a4dd6; --g-done: #6a4dd614;
  display: inline-flex; align-items: center; gap: .4rem; padding: .16rem .65rem .16rem .5rem; border: 1px solid var(--b-idle); border-radius: 999px; color: var(--a-idle); background-color: var(--g-idle); font-style: normal; }
.pipe-agents i::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.motion .pipe-ask { animation: pipe-ask 10s ease-in-out 1.4s infinite; }
.motion .pipe-ask::after { animation: pipe-link-1 10s linear 1.4s infinite; }
.motion .pipe-agents { animation: pipe-agents 10s ease-in-out 1.4s infinite; }
.motion .pipe-agents::after { animation: pipe-link-2 10s linear 1.4s infinite; }
.motion .pipe-name svg { animation: pipe-spin 10s ease-in-out 1.4s infinite; }
.motion .pipe-agents i { animation: 10s ease-in-out 1.4s infinite; }
.motion .pipe-agents i:nth-of-type(1) { animation-name: agent-1; } .motion .pipe-agents i:nth-of-type(2) { animation-name: agent-2; } .motion .pipe-agents i:nth-of-type(3) { animation-name: agent-3; } .motion .pipe-agents i:nth-of-type(4) { animation-name: agent-4; } .motion .pipe-agents i:nth-of-type(5) { animation-name: agent-5; }
.motion .pipe-get { animation: pipe-get 10s ease-in-out 1.4s infinite; }
@keyframes pipe-ask { 0%, 3% { color: var(--mint-ink); border-color: #0a856140; background-color: #0a85610f; box-shadow: 0 0 0 #0a856100; } 6%, 10% { color: #fff; border-color: var(--mint-ink); background-color: var(--mint-ink); box-shadow: 0 0 18px #0a856166; } 15%, 86% { color: var(--mint-ink); border-color: #0a856180; background-color: #0a85611f; box-shadow: 0 0 0 #0a856100; } 92%, 100% { color: var(--mint-ink); border-color: #0a856140; background-color: #0a85610f; box-shadow: 0 0 0 #0a856100; } }
@keyframes pipe-link-1 { 0%, 8% { background-position: -100% 0, 0 0; } 15%, 100% { background-position: 200% 0, 0 0; } }
@keyframes pipe-link-2 { 0%, 51% { background-position: -100% 0, 0 0; } 58%, 100% { background-position: 200% 0, 0 0; } }
@keyframes pipe-agents { 0%, 13% { border-color: #6a4dd62e; background-color: #6a4dd60a; } 16%, 50% { border-color: #6a4dd680; background-color: #6a4dd61a; } 56%, 86% { border-color: #6a4dd64d; background-color: #6a4dd612; } 92%, 100% { border-color: #6a4dd62e; background-color: #6a4dd60a; } }
@keyframes pipe-spin { 0%, 14% { transform: rotate(0deg); } 52%, 100% { transform: rotate(360deg); } }
@keyframes agent-1 { 0%, 14% { color: var(--a-idle); border-color: var(--b-idle); background-color: var(--g-idle); } 16%, 21% { color: var(--a-on); border-color: var(--b-on); background-color: var(--g-on); } 24%, 86% { color: var(--a-done); border-color: var(--b-done); background-color: var(--g-done); } 92%, 100% { color: var(--a-idle); border-color: var(--b-idle); background-color: var(--g-idle); } }
@keyframes agent-2 { 0%, 21% { color: var(--a-idle); border-color: var(--b-idle); background-color: var(--g-idle); } 23%, 28% { color: var(--a-on); border-color: var(--b-on); background-color: var(--g-on); } 31%, 86% { color: var(--a-done); border-color: var(--b-done); background-color: var(--g-done); } 92%, 100% { color: var(--a-idle); border-color: var(--b-idle); background-color: var(--g-idle); } }
@keyframes agent-3 { 0%, 28% { color: var(--a-idle); border-color: var(--b-idle); background-color: var(--g-idle); } 30%, 35% { color: var(--a-on); border-color: var(--b-on); background-color: var(--g-on); } 38%, 86% { color: var(--a-done); border-color: var(--b-done); background-color: var(--g-done); } 92%, 100% { color: var(--a-idle); border-color: var(--b-idle); background-color: var(--g-idle); } }
@keyframes agent-4 { 0%, 35% { color: var(--a-idle); border-color: var(--b-idle); background-color: var(--g-idle); } 37%, 42% { color: var(--a-on); border-color: var(--b-on); background-color: var(--g-on); } 45%, 86% { color: var(--a-done); border-color: var(--b-done); background-color: var(--g-done); } 92%, 100% { color: var(--a-idle); border-color: var(--b-idle); background-color: var(--g-idle); } }
@keyframes agent-5 { 0%, 42% { color: var(--a-idle); border-color: var(--b-idle); background-color: var(--g-idle); } 44%, 49% { color: var(--a-on); border-color: var(--b-on); background-color: var(--g-on); } 52%, 86% { color: var(--a-done); border-color: var(--b-done); background-color: var(--g-done); } 92%, 100% { color: var(--a-idle); border-color: var(--b-idle); background-color: var(--g-idle); } }
@keyframes pipe-get { 0%, 57% { color: var(--mint-ink); border-color: #0a856140; background-color: #0a85610f; box-shadow: 0 0 0 0 #0a856100; } 60% { color: #fff; border-color: var(--mint-ink); background-color: var(--mint-ink); box-shadow: 0 0 0 0 #0a856180; } 69%, 86% { color: #fff; border-color: var(--mint-ink); background-color: var(--mint-ink); box-shadow: 0 0 0 9px #0a856100; } 92%, 100% { color: var(--mint-ink); border-color: #0a856140; background-color: #0a85610f; box-shadow: 0 0 0 0 #0a856100; } }

/* 2 · The apps: filter chips, a shelf that grows, and a stage for the one you picked */
.apps { --accent: var(--ice-ink); --accent-2: var(--lav-ink); }
.chips { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; margin-top: 1.4rem; }
.chip { display: inline-flex; align-items: center; gap: .4rem; padding: .44rem .9rem; border: 0; border-radius: 99px; background: #ffffffa6; box-shadow: inset 0 0 0 1px #0b141614; color: var(--ink-2); font: 500 .875rem/1.3 var(--font-body); white-space: nowrap; transition: background .25s, color .25s, box-shadow .25s; }
.chip small { color: var(--dim); font: 500 .75rem/1 var(--font-mono); transition: color .25s; }
.chip:hover { background: #fff; box-shadow: inset 0 0 0 1px #0b141629; }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; box-shadow: 0 8px 18px -6px #0b141680; }
.chip[aria-pressed="true"] small { color: #ffffffa6; }
.chips .sep { width: 1px; height: 1.2rem; margin: 0 .35rem; background: #0b141624; }
.store { display: grid; grid-template-columns: minmax(0, 25.5rem) minmax(0, 1fr); gap: 1.2rem; align-items: stretch; margin-top: 1rem; }
.shelf { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: minmax(0, 1fr); gap: .6rem; align-content: start; }
/* A long shelf scrolls inside its own frame, so the stage stays beside it. */
.shelf.is-long { max-height: 34rem; overflow-y: auto; padding: .3rem; margin: -.3rem; scrollbar-width: thin; }
.tile { --app: var(--ice-ink); --state: var(--ice-ink); position: relative; display: grid; justify-items: center; align-content: center; gap: .3rem; min-width: 0; padding: .95rem .4rem .8rem; border: 0; border-radius: 1.3rem; background: #ffffff8c; box-shadow: inset 0 0 0 1px #ffffffd9, 0 1px 2px #1c2a4a0d; text-align: center; transition: background .35s, box-shadow .35s, transform .35s var(--ease); }
.tile[data-state="live"] { --state: var(--mint-ink); } .tile[data-state="dev"] { --state: var(--lav-ink); }
.tile-icon { position: relative; display: grid; place-items: center; width: 60px; height: 60px; }
.tile-icon img { width: 60px; height: 60px; border-radius: 16px; box-shadow: 0 0 0 1px #0b141614, 0 10px 20px -6px #2a3a6a47; transition: transform .45s var(--ease), box-shadow .45s; }
.tile-blank { border-radius: 16px; border: 2px dashed color-mix(in srgb, var(--app) 60%, transparent); color: color-mix(in srgb, var(--app) 80%, transparent); font-size: 1.5rem; }
.tile b { max-width: 100%; overflow: hidden; text-overflow: ellipsis; font: 600 .9375rem/1.3 var(--font-display); white-space: nowrap; }
.tile small { display: inline-flex; align-items: center; gap: .3rem; color: var(--muted); font: .75rem/1.4 var(--font-body); white-space: nowrap; }
.tile small::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--state); }
button.tile:hover { background: #fff; transform: translateY(-2px); box-shadow: inset 0 0 0 1px #fff, 0 16px 30px -14px color-mix(in srgb, var(--app) 60%, transparent); }
.tile.is-on { background: #fff; box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--app) 55%, transparent), 0 18px 36px -14px color-mix(in srgb, var(--app) 70%, transparent); }
.tile.is-on .tile-icon img { transform: scale(1.06); }
.tile-next { --app: #8693a0; background: none; box-shadow: inset 0 0 0 1.5px #0b141614; color: var(--muted); }
.tile-next small::before { display: none; }
/* While the shelf plays on its own, a ring fills round the chosen icon. */
.tile-icon::after { content: ""; position: absolute; inset: -6px; border-radius: 21px; padding: 2px; background: conic-gradient(var(--app) var(--fill, 0%), color-mix(in srgb, var(--app) 16%, transparent) 0); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .3s; }
.shelf.is-touring .tile.is-on .tile-icon::after { opacity: 1; animation: ring var(--tour, 9s) linear both; }
@keyframes ring { from { --fill: 0%; } to { --fill: 100%; } }

/* The stage takes the colour of the app on it. */
.stage { --app: #7a6af0; position: relative; overflow: hidden; padding: 1.5rem 1.7rem; border-radius: 1.8rem; background: var(--glass); box-shadow: var(--glass-rim); backdrop-filter: blur(24px) saturate(180%); -webkit-backdrop-filter: blur(24px) saturate(180%); }
.stage::before { content: ""; position: absolute; right: -18%; top: -46%; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--app) 34%, transparent), transparent); pointer-events: none; transition: background 0s; }
.panel { position: relative; display: grid; align-content: start; gap: .7rem; }
/* All apps share one place on the stage, so it keeps the height of the tallest and never jumps.
   Without the script they are simply listed one after another. */
.js .stage { display: grid; }
.js .panel { grid-area: 1 / 1; }
.js .panel:not(.is-on) { visibility: hidden; pointer-events: none; }
html:not(.js) .panel + .panel { margin-top: 1.6rem; padding-top: 1.6rem; border-top: 1px solid var(--rule); }
html:not(.js) .shelf { display: none; }
html:not(.js) .store { grid-template-columns: 1fr; }
.motion .panel.is-on > * { animation: fade-up .55s var(--ease) both; }
.motion .panel.is-on > :nth-child(2) { animation-delay: .05s; } .motion .panel.is-on > :nth-child(3) { animation-delay: .1s; } .motion .panel.is-on > :nth-child(4) { animation-delay: .16s; } .motion .panel.is-on > :nth-child(5) { animation-delay: .24s; }
.panel-id { display: grid; grid-template-columns: auto 1fr auto; gap: 1rem; align-items: center; }
.panel-icon { width: 72px; height: 72px; border-radius: 19px; box-shadow: 0 0 0 1px #0b141614, 0 16px 30px -8px color-mix(in srgb, var(--app) 60%, transparent); }
.panel-blank { display: grid; place-items: center; border: 2px dashed #6a4dd666; color: #6a4dd699; font-size: 2rem; box-shadow: none; }
.panel h3 { font: 600 1.625rem/1.2 var(--font-display); letter-spacing: -.01em; }
.panel-meta { display: flex; flex-wrap: wrap; gap: .2rem .7rem; margin-top: .2rem; color: var(--muted); font-size: .875rem; line-height: 1.5; }
.panel-meta span + span::before { content: "·"; margin-right: .7rem; color: var(--dim); }
.state { align-self: start; display: inline-flex; align-items: center; gap: .35rem; padding: .18rem .7rem; border-radius: 99px; font: 600 .75rem/1.6 var(--font-body); white-space: nowrap; }
.state::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.state-live { background: #0a856117; box-shadow: inset 0 0 0 1px #0a856140; color: var(--mint-ink); }
.state-soon { background: #1a6cc614; box-shadow: inset 0 0 0 1px #1a6cc633; color: var(--ice-ink); }
.state-dev { background: #6a4dd614; box-shadow: inset 0 0 0 1px #6a4dd633; color: var(--lav-ink); }
.panel-line { margin-top: .2rem; font: 600 clamp(1.5rem, 2.3vw, 2.05rem)/1.25 var(--font-display); letter-spacing: -.01em; }
.panel-text { max-width: 40rem; color: var(--ink-2); font-size: 1rem; line-height: 1.7; }
.steps3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; }
.steps3 > div { display: grid; align-content: start; gap: .3rem; padding: .8rem .95rem .9rem; border-radius: 1rem; }
.steps3 dt { font: 600 .8125rem/1.4 var(--font-body); }
.steps3 dd { font-size: .9375rem; line-height: 1.55; }
.s-you { background: #0a856112; box-shadow: inset 0 0 0 1px #0a856129; } .s-you dt { color: var(--mint-ink); }
.s-agents { background: #6a4dd612; box-shadow: inset 0 0 0 1px #6a4dd629; } .s-agents dt { color: var(--lav-ink); }
.s-get { background: linear-gradient(120deg, #e3f0ff, #ece6fd); box-shadow: inset 0 0 0 1px #fff, 0 0 0 1px #1a6cc61f; } .s-get dt { color: var(--ice-ink); } .s-get dd { font: 600 1rem/1.5 var(--font-display); }
/* An app still being built: the same three steps, drawn as empty outlines. */
.steps-ghost > div { background: none; box-shadow: none; border: 1.5px dashed #0b141626; }
.steps-ghost dt { opacity: .55; }
.steps-ghost dd { height: 3rem; border-radius: .5rem; background: repeating-linear-gradient(90deg, #0b14160f 0 2.2rem, transparent 2.2rem 2.8rem); }
.panel-act { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem 1.2rem; margin-top: .3rem; }
.panel-note { flex: 1 1 14rem; color: var(--dim); font-size: .8125rem; line-height: 1.6; }
.wait { display: inline-flex; padding: .6rem 1rem; border-radius: .9rem; background: #0b141608; box-shadow: inset 0 0 0 1px #0b14160f; color: var(--muted); font-size: .875rem; line-height: 1.5; }
.apps .fine { margin-top: .9rem; }

/* 3 · The ecosystem: the one dark scene, an island under the same night sky as bytellar.com */
.eco { --accent: var(--mint); --accent-2: var(--ice); padding-block: 1.2rem; }
.island { position: relative; overflow: hidden; margin-inline: clamp(.6rem, 1.4vw, 1.4rem); padding: clamp(2.1rem, 5.6vh, 4.6rem) 0 clamp(1.5rem, 3.6vh, 2.8rem); border-radius: clamp(1.6rem, 3vw, 2.6rem); background: var(--night); color: #fff; box-shadow: 0 50px 100px -40px #101a3a99, 0 0 0 1px #ffffff14 inset; }
.night { position: absolute; inset: 0; pointer-events: none; background:
  radial-gradient(ellipse 70% 60% at 30% 0%, #1fae8038, transparent 70%),
  radial-gradient(ellipse 60% 55% at 80% 0%, #6f5fe03d, transparent 72%),
  repeating-linear-gradient(92deg, #a0e6ce00 0, #2fd3a02e 90px, #a0e6ce00 190px, #58a9f033 300px, #a0e6ce00 420px, #8f7df02e 520px, #a0e6ce00 640px);
  -webkit-mask-image: linear-gradient(180deg, #000 0, #000 8%, transparent 58%); mask-image: linear-gradient(180deg, #000 0, #000 8%, transparent 58%); }
.motion .night { animation: night-rays 70s linear infinite; }
@keyframes night-rays { to { background-position: 0 0, 0 0, 640px 0; } }
.eco-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(1.4rem, 3.4vh, 2.2rem) clamp(2rem, 5vw, 5rem); align-items: center; }
.eco .kicker b { border-color: #a0e6ce73; }
.eco .section-lede { color: #b8c6c1; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem; margin-top: 1.6rem; }
.facts li { display: grid; align-content: start; gap: .3rem; padding: 1rem 1.05rem 1.1rem; border-radius: 1.1rem; background: linear-gradient(170deg, #ffffff12, #ffffff05); box-shadow: inset 0 1px 0 #ffffff26, inset 0 0 0 1px #ffffff12; }
.facts svg { color: var(--mint); font-size: 1.3rem; }
.facts li:nth-child(2) svg { color: var(--ice); } .facts li:nth-child(3) svg { color: var(--lav); }
.facts b { margin-top: .2rem; font: 600 1.0625rem/1.4 var(--font-display); }
.facts span { color: #b8c6c1; font-size: .875rem; line-height: 1.6; }
.orbit { --r: min(11rem, 30vw, 20vh); position: relative; justify-self: center; width: calc(var(--r) * 2 + 4.6rem); aspect-ratio: 1; }
.orbit-ring { position: absolute; inset: 2.3rem; border-radius: 50%; border: 1px solid #ffffff26; box-shadow: 0 0 60px #2fd3a01f inset; }
.orbit-ring-2 { inset: 28%; border-style: dashed; border-color: #ffffff1f; box-shadow: none; }
.orbit-core { position: absolute; left: 50%; top: 50%; display: grid; justify-items: center; gap: .15rem; width: 9rem; padding: 1rem .6rem .9rem; transform: translate(-50%, -50%); border-radius: 1.6rem; background: linear-gradient(170deg, #ffffff24, #ffffff0a); box-shadow: inset 0 1px 0 #ffffff59, inset 0 0 0 1px #ffffff1f, 0 0 60px #58a9f040; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); text-align: center; }
.orbit-core svg { width: 2.7rem; height: 2.7rem; color: #fff; }
.orbit-core b { font: 600 1.0625rem/1.3 var(--font-display); }
.orbit-core small { color: #b8c6c1; font-size: .8125rem; line-height: 1.4; }
.orbit-apps { position: absolute; inset: 0; }
.orbit-apps li { position: absolute; left: 50%; top: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px; transform: rotate(calc(var(--a) + var(--spin))) translateX(var(--r)) rotate(calc(-1 * (var(--a) + var(--spin)))); }
.orbit-apps img { width: 56px; height: 56px; border-radius: 15px; box-shadow: 0 0 0 1px #ffffff40, 0 10px 26px #00000080, 0 0 26px #58a9f033; }
.motion .orbit.in { animation: orbit 80s linear infinite; }
@keyframes orbit { to { --spin: 360deg; } }
/* How the family is meant to grow: a loop of four steps, with a light that keeps going round it. */
.wheel { grid-column: 1 / -1; display: grid; gap: .8rem; padding-top: clamp(1rem, 2.6vh, 1.6rem); border-top: 1px solid #ffffff1a; }
.wheel-title { display: flex; align-items: center; gap: .6rem; font: 600 clamp(1.1rem, 1.7vw, 1.4rem)/1.35 var(--font-display); }
.wheel-title svg { color: var(--mint); font-size: 1.2em; }
.motion .wheel.in .wheel-title svg { animation: wheel-turn 12s linear infinite; }
@keyframes wheel-turn { to { transform: rotate(360deg); } }
.wheel-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2.2rem; counter-reset: wheel; }
.wheel-steps li { position: relative; display: flex; align-items: center; gap: .7rem; padding: .7rem 1rem; border-radius: 1rem; background: linear-gradient(170deg, #ffffff14, #ffffff05); box-shadow: inset 0 1px 0 #ffffff26, inset 0 0 0 1px #ffffff14; color: #e8efec; font-size: .9375rem; line-height: 1.45; counter-increment: wheel; }
.wheel-steps li::before { content: counter(wheel); flex: none; display: grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: #a0e6ce24; box-shadow: inset 0 0 0 1px #a0e6ce66; color: var(--mint); font: 600 .8125rem/1 var(--font-mono); }
.wheel-steps li::after { content: ""; position: absolute; left: calc(100% + .45rem); top: 50%; width: 1.3rem; height: 2px; margin-top: -1px; border-radius: 2px; background: linear-gradient(90deg, transparent, #fff, transparent) -100% 0 / 60% 100% no-repeat, #ffffff33; }
.wheel-steps li:last-child::after { left: auto; right: calc(100% + .45rem); display: none; }
.motion .wheel.in .wheel-steps li { animation: wheel-node 8s ease-in-out infinite; animation-delay: calc(var(--i) * 2s); }
.motion .wheel.in .wheel-steps li::after { animation: wheel-link 8s linear infinite; animation-delay: calc(var(--i) * 2s); }
.wheel-steps li:nth-child(1) { --i: 0; } .wheel-steps li:nth-child(2) { --i: 1; } .wheel-steps li:nth-child(3) { --i: 2; } .wheel-steps li:nth-child(4) { --i: 3; }
@keyframes wheel-node { 0%, 28%, 100% { box-shadow: inset 0 1px 0 #ffffff26, inset 0 0 0 1px #ffffff14, 0 0 0 #a0e6ce00; background: linear-gradient(170deg, #ffffff14, #ffffff05); } 6%, 20% { box-shadow: inset 0 1px 0 #ffffff59, inset 0 0 0 1px #a0e6ce99, 0 0 26px #a0e6ce47; background: linear-gradient(170deg, #a0e6ce2e, #a0e6ce0f); } }
@keyframes wheel-link { 0%, 18% { background-position: -100% 0, 0 0; } 27%, 100% { background-position: 220% 0, 0 0; } }
.eco .fine { color: #8fa09a; }

/* 4 · The rules, and the way out */
.rules { --accent: var(--mint-ink); --accent-2: var(--ice-ink); }
.rule-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-top: 2.2rem; counter-reset: rule; }
.rule-list li { position: relative; display: grid; align-content: start; gap: .45rem; padding: 1.3rem 1.3rem 1.4rem; border-radius: 1.4rem; background: var(--glass); box-shadow: var(--glass-rim); backdrop-filter: blur(24px) saturate(180%); -webkit-backdrop-filter: blur(24px) saturate(180%); counter-increment: rule; transition: transform .45s var(--ease), box-shadow .45s; }
.rule-list li::after { content: "0" counter(rule); position: absolute; right: 1.2rem; top: 1.15rem; color: #0b141633; font: 500 .8125rem/1 var(--font-mono); }
.rule-list li:hover { transform: translateY(-3px); box-shadow: inset 0 1px 0 #fff, inset 0 0 0 1px #ffffffcc, 0 1px 2px #1c2a4a12, 0 30px 60px -18px #0a856152; }
.rule-list svg { display: grid; width: 2.5rem; height: 2.5rem; padding: .6rem; border-radius: .8rem; background: #0a856114; box-shadow: inset 0 0 0 1px #0a856133; color: var(--mint-ink); }
.rule-list b { margin-top: .35rem; font: 600 1.25rem/1.35 var(--font-display); }
.rule-list span { color: var(--muted); font-size: .9375rem; line-height: 1.7; }
.closing { display: grid; justify-items: center; gap: 1.5rem; margin-top: 3rem; padding-top: 2.6rem; border-top: 1px solid var(--rule); text-align: center; }
.closing-line { font: 600 clamp(1.7rem, 3.2vw, 2.9rem)/1.25 var(--font-display); letter-spacing: -.01em; }
.closing-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .9rem; }

/* ---------- Footer: back under the night sky ---------- */
.site-footer { --accent: var(--ice); --accent-2: var(--lav); position: relative; overflow: hidden; margin-top: 1.2rem; padding-bottom: clamp(4rem, calc(9.4vw + 1.6rem), 11rem); border-radius: clamp(1.6rem, 3vw, 2.6rem) clamp(1.6rem, 3vw, 2.6rem) 0 0; color: #fff; background: radial-gradient(ellipse 70% 30rem at 50% 0%, #14233a 0%, #0a1118 58%, #080c0d 85%), #080c0d; }
.site-footer > .container { position: relative; z-index: 1; }
.footer-beam { position: absolute; inset: 0 8% auto 8%; height: 1px; background: #ffffff1a; overflow: hidden; }
.footer-beam::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 22%; background: linear-gradient(90deg, transparent, var(--ice), var(--lav), transparent); transform: translateX(-100%); }
.motion .site-footer.is-in .footer-beam::after { animation: footer-beam 6.5s cubic-bezier(.4, 0, .2, 1) infinite; }
@keyframes footer-beam { to { transform: translateX(560%); } }
.footer-top { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem; align-items: start; padding-top: 3.2rem; padding-bottom: 1.8rem; }
.site-footer .brand-mark { color: #fff; }
.site-footer .brand-by { display: inline; border-left-color: #ffffff2e; color: #a3afbb; }
.footer-slogan { margin-top: .8rem; font: 600 clamp(1.15rem, 2.4vw, 1.9rem)/1.3 var(--font-display); }
.footer-descriptor { margin-top: .5rem; color: var(--ice); font: .8125rem/1.5 var(--font-mono); letter-spacing: .08em; }
.footer-links { display: grid; gap: 1rem; justify-items: end; }
.site-footer nav { display: flex; gap: .4rem; font: 500 .9375rem var(--font-display); color: #c3ccd6; }
.site-footer nav a { padding: .5rem .9rem; border-radius: 999px; transition: color .25s, background .25s; }
.site-footer nav a:hover { color: #fff; background: #ffffff14; }
.family { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .5rem; }
.family a { display: inline-flex; align-items: center; gap: .45rem; padding: .5rem .95rem; border-radius: 999px; background: #ffffff0f; box-shadow: inset 0 0 0 1px #ffffff24; color: #e6ecf5; font: 500 .875rem/1.4 var(--font-body); transition: background .3s, box-shadow .3s; }
.family a:hover { background: #ffffff1f; box-shadow: inset 0 0 0 1px #ffffff47; }
.family svg { color: var(--ice); }
/* Three columns: copyright left, the filing number in the middle, the note right. The Chinese
   edition must show its ICP number at the bottom centre of the page; the English one has none, and
   the middle stays empty. */
.footer-bottom { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: .8rem 2rem; padding-top: 1.3rem; border-top: 1px solid #ffffff14; color: #93a0ad; font-size: .8125rem; }
.footer-bottom .filings { grid-column: 2; justify-self: center; }
.footer-note { grid-column: 3; justify-self: end; text-align: right; }
.site-footer nav .footer-up { display: inline-flex; align-items: center; gap: .4rem; }
.footer-bottom a { display: inline-flex; align-items: center; gap: .4rem; transition: color .25s; }
.filings { display: inline-flex; flex-wrap: wrap; gap: .3rem 1rem; }
.footer-bottom a:hover { color: #fff; }
.footer-word { position: absolute; left: 50%; bottom: -.16em; transform: translateX(-50%); font: 700 clamp(3.2rem, 12.6vw, 12.4rem)/1 var(--font-display); letter-spacing: -.02em; color: transparent; -webkit-text-stroke: 1px #ffffff1c; white-space: nowrap; pointer-events: none; user-select: none; }

/* ---------- Liquid glass, light and motion ---------- */
/* AIplets moves more than its sister sites. The glass is clearer and catches the pointer, the ask bar
   wears a turning ring of light, and results land with a spring. Under reduced motion all of it
   stands still. */
@property --shine { syntax: "<number>"; initial-value: 0; inherits: false; }
@property --app { syntax: "<color>"; initial-value: #1a6cc6; inherits: true; }
@keyframes iris-spin { to { --angle: 360deg; } }
:is(.header-inner, .saybar, .demo-out, .stage, .rule-list li, .closing, .lane-new, .button):hover { --shine: 1; }
.kicker { letter-spacing: .12em; }

/* A soft light in the sky follows the pointer. */
.canvas::after { content: ""; position: absolute; left: 0; top: 0; width: 46vmax; height: 46vmax; margin: -23vmax 0 0 -23vmax; border-radius: 50%; background: radial-gradient(closest-side, #ffffffc7, #ffffff00); transform: translate3d(var(--cx, 50vw), var(--cy, 30vh), 0); opacity: 0; transition: opacity .9s; }
.has-pointer.motion .canvas::after { opacity: 1; }

/* Header: clear glass with a lit rim, and a dark coat when it floats over a dark scene. */
.header-inner { background: radial-gradient(15rem circle at var(--mx, 50%) var(--my, -10rem), rgb(255 255 255 / calc(var(--shine) * .8)), transparent 62%), linear-gradient(180deg, #ffffff9e 0%, #ffffff4d 100%);
  backdrop-filter: blur(28px) saturate(220%) brightness(1.07); -webkit-backdrop-filter: blur(28px) saturate(220%) brightness(1.07);
  box-shadow: inset 0 1px 0 #fff, inset 0 -1px 0 #ffffff8c, inset 1px 0 0 #ffffffb8, inset -1px 0 0 #ffffffb8, inset 0 -14px 18px -16px #5b7cff4d, 0 0 0 1px #0b14160a, 0 18px 44px -14px #2a3a6a52;
  transition: height .35s var(--ease), box-shadow .45s, color .45s, --shine .45s ease; }
.site-header.is-scrolled .header-inner { background: radial-gradient(15rem circle at var(--mx, 50%) var(--my, -10rem), rgb(255 255 255 / calc(var(--shine) * .8)), transparent 62%), linear-gradient(180deg, #ffffffcc 0%, #ffffff80 100%); }
.site-header.on-dark .header-inner { color: #fff; background: radial-gradient(15rem circle at var(--mx, 50%) var(--my, -10rem), rgb(255 255 255 / calc(var(--shine) * .16)), transparent 62%), linear-gradient(180deg, #ffffff29 0%, #ffffff0a 100%), #0a101173;
  box-shadow: inset 0 1px 0 #ffffff59, inset 0 -1px 0 #ffffff14, inset 1px 0 0 #ffffff24, inset -1px 0 0 #ffffff24, 0 18px 44px -14px #000000b3; }
.brand-mark, .site-nav a, .brand-by { transition: color .45s, background .45s, box-shadow .45s, border-color .45s; }
.on-dark .brand-mark { color: #fff; }
.on-dark .brand-by { color: #a3afbb; border-left-color: #ffffff2e; }
.on-dark .site-nav a { color: #c3ccd6; }
.on-dark .site-nav a:hover, .on-dark .site-nav a[aria-current="true"] { color: #fff; }
.on-dark .site-nav::before { background: linear-gradient(180deg, #ffffff2e, #a9d8ff1a); box-shadow: inset 0 1px 0 #ffffff59, 0 4px 14px #00000052; }

/* Buttons: a drop of blue glass. A gloss across the upper half, a highlight under the pointer, a
   small lift on hover and a squeeze when pressed. */
.button { background: radial-gradient(8rem circle at var(--mx, 30%) var(--my, -40%), rgb(255 255 255 / calc(.22 + var(--shine) * .4)), transparent 62%), linear-gradient(180deg, #ffffff73 0%, #ffffff24 45%, #ffffff00 52%), linear-gradient(180deg, #5aa9f5 0%, #2f7fe0 50%, #6b63e8 100%);
  box-shadow: inset 0 1px 0 #ffffffd9, inset 0 -3px 6px -1px #23288f73, inset 0 0 0 1px #ffffff40, 0 12px 28px -6px #2f7fe08c, 0 2px 6px #2f7fe040;
  transition: box-shadow .3s, transform .4s var(--spring), --shine .4s ease; }
.button:hover { transform: translateY(-2px) scale(1.02); box-shadow: inset 0 1px 0 #ffffffe6, inset 0 -3px 6px -1px #23288f73, inset 0 0 0 1px #ffffff59, 0 18px 36px -8px #2f7fe0a6, 0 2px 6px #2f7fe04d; }
.button:active { transform: translateY(0) scale(.97); transition-duration: .1s; }
.button-ghost { color: var(--ink); text-shadow: none; background: radial-gradient(8rem circle at var(--mx, 30%) var(--my, -40%), rgb(255 255 255 / calc(.5 + var(--shine) * .45)), transparent 62%), linear-gradient(180deg, #ffffffd1, #ffffff80);
  backdrop-filter: blur(20px) saturate(200%); -webkit-backdrop-filter: blur(20px) saturate(200%);
  box-shadow: inset 0 1px 0 #fff, inset 0 -1px 0 #ffffff8c, inset 0 0 0 1px #ffffffb8, 0 0 0 1px #0b141614, 0 12px 26px -10px #2a3a6a4d; }
.button-ghost:hover { box-shadow: inset 0 1px 0 #fff, inset 0 -1px 0 #ffffff8c, inset 0 0 0 1px #ffffffb8, 0 0 0 1px #0b141624, 0 18px 34px -10px #2a3a6a66; }

/* Hero: the headline rises line by line, small lights twinkle, and the family drifts against the pointer. */
.hero { isolation: isolate; }
.hero::before, .hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background-repeat: no-repeat; background-size: 9px 9px; opacity: .5; }
.hero::before { background-image: radial-gradient(circle, #7a63e6 0 1.4px, #7a63e600 3.6px), radial-gradient(circle, #7a63e6 0 1.4px, #7a63e600 3.6px), radial-gradient(circle, #7a63e6 0 1.4px, #7a63e600 3.6px), radial-gradient(circle, #7a63e6 0 1.4px, #7a63e600 3.6px), radial-gradient(circle, #7a63e6 0 1.4px, #7a63e600 3.6px), radial-gradient(circle, #7a63e6 0 1.4px, #7a63e600 3.6px); background-position: 9% 24%, 22% 68%, 41% 11%, 61% 94%, 81% 20%, 93% 61%; }
.hero::after { background-image: radial-gradient(circle, #2f7fe0 0 1.4px, #2f7fe000 3.6px), radial-gradient(circle, #2f7fe0 0 1.4px, #2f7fe000 3.6px), radial-gradient(circle, #2f7fe0 0 1.4px, #2f7fe000 3.6px), radial-gradient(circle, #2f7fe0 0 1.4px, #2f7fe000 3.6px), radial-gradient(circle, #2f7fe0 0 1.4px, #2f7fe000 3.6px), radial-gradient(circle, #2f7fe0 0 1.4px, #2f7fe000 3.6px); background-position: 5% 52%, 17% 14%, 34% 88%, 58% 9%, 74% 70%, 89% 36%; }
.motion .hero::before { animation: twinkle 5.2s ease-in-out infinite alternate; }
.motion .hero::after { animation: twinkle 6.4s ease-in-out -2.6s infinite alternate; }
@keyframes twinkle { from { opacity: .1; } to { opacity: .8; } }
.motion .hero h1 > span { animation: line-up 1s var(--ease) .12s both; }
.motion .hero h1 > em { animation: line-up 1s var(--ease) .3s both, sheen 12s ease-in-out 1.3s infinite; }
@keyframes line-up { from { opacity: 0; transform: translate3d(0, .45em, 0); filter: blur(10px); } to { opacity: 1; transform: none; filter: none; } }
.demo-float img { transform: translate3d(calc(var(--px, 0) * var(--d, 10px)), calc(var(--py, 0) * var(--d, 10px)), 0); transition: scale .7s var(--spring), opacity .7s, box-shadow .7s, rotate .7s var(--ease), transform .9s var(--ease); }
.demo-float img:nth-child(1) { --d: 16px; } .demo-float img:nth-child(2) { --d: -14px; } .demo-float img:nth-child(3) { --d: 9px; } .demo-float img:nth-child(4) { --d: -11px; } .demo-float img:nth-child(5) { --d: 20px; } .demo-float img:nth-child(6) { --d: -8px; }

/* The ask bar wears a ring of light that keeps turning, with its glow behind. */
.demo { isolation: isolate; }
.ask { position: relative; width: 100%; }
.ask::before { content: ""; position: absolute; inset: -5px; z-index: -1; border-radius: 999px; background: conic-gradient(from var(--angle), var(--iris)); filter: blur(20px); opacity: .75; }
.saybar { position: relative; background: radial-gradient(14rem circle at var(--mx, -30rem) var(--my, -30rem), rgb(255 255 255 / calc(var(--shine) * .9)), transparent 60%), linear-gradient(180deg, #fffffff5, #ffffffc4);
  box-shadow: inset 0 1px 0 #fff, inset 0 -1px 0 #ffffffb3, inset 0 -12px 16px -14px #6e8cff3d, 0 20px 44px -20px color-mix(in srgb, var(--app) 60%, transparent), 0 2px 8px #1c2a4a14; transition: --shine .45s ease; }
.saybar::before { content: ""; position: absolute; inset: -2px; padding: 2px; border-radius: inherit; background: conic-gradient(from var(--angle), var(--iris)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.motion .ask::before, .motion .saybar::before { animation: iris-spin 6s linear infinite; }
/* Speaking or recording: a small wave beats while the words arrive. A photo: the bar flashes once. */
.wave { flex: none; display: inline-flex; align-items: center; gap: 3px; height: 1.5rem; opacity: 0; transition: opacity .3s; }
.wave i { width: 3px; height: 28%; border-radius: 3px; background: var(--app); }
.wave i:nth-child(1) { --k: 0; } .wave i:nth-child(2) { --k: 1; } .wave i:nth-child(3) { --k: 2; } .wave i:nth-child(4) { --k: 3; } .wave i:nth-child(5) { --k: 4; }
[data-mode="snap"] .wave, [data-mode="file"] .wave, [data-mode="open"] .wave { display: none; }
.demo-typed.is-typing + .wave { opacity: 1; }
.motion .demo-typed.is-typing + .wave i { animation: wave .9s ease-in-out infinite; animation-delay: calc(var(--k) * -.17s); }
@keyframes wave { 0%, 100% { height: 24%; } 50% { height: 100%; } }
.motion .demo-scene.is-active[data-mode="snap"] .saybar { animation: snap-flash .8s ease-out .15s 1 both; }
@keyframes snap-flash { 0%, 100% { filter: brightness(1); } 14% { filter: brightness(1.7); } }
/* Each step spins while an agent works on it, then ticks. */
.motion .demo-scene.is-active .demo-steps li::before { animation: step-work 1s linear both; animation-delay: calc(var(--i, 0) * .45s + var(--after, 1.4s)); }
@keyframes step-work { 0% { background-color: transparent; background-size: 0 0; border: 2px solid #6a4dd633; border-top-color: #6a4dd6; rotate: 0deg; } 68% { background-color: transparent; background-size: 0 0; border: 2px solid #6a4dd633; border-top-color: #6a4dd6; rotate: 720deg; } 72%, 100% { background-color: #6a4dd6; background-size: .5rem .5rem; border: 0 solid #6a4dd600; rotate: 720deg; } }
/* The result: glass, with one sweep of light as it lands. */
.demo-out { position: relative; overflow: hidden; background: radial-gradient(14rem circle at var(--mx, -30rem) var(--my, -30rem), rgb(255 255 255 / calc(var(--shine) * .8)), transparent 60%), var(--glass); transition: --shine .45s ease; }
.demo-out::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 34%, #ffffffd9 47%, #dce6ffb3 53%, transparent 66%); transform: translateX(-120%); pointer-events: none; }
.motion .demo-scene.is-active .demo-out::after { animation: sweep 1.2s var(--ease) both; animation-delay: calc(var(--after, 1.4s) + 2.5s); }
@keyframes sweep { to { transform: translateX(120%); } }

/* The race: a bar fills along each lane, the counter jumps, and the AIplet lane is stamped done. */
.lane { position: relative; }
.lane > header { justify-content: flex-start; }
.lane-num { margin-left: auto; }
.lane::after { content: ""; position: absolute; left: 1.5rem; right: 1.5rem; bottom: .5rem; height: 3px; border-radius: 3px; background: #0b14162e; transform-origin: left; transform: scaleX(var(--p, 1)); transition: transform .5s linear; }
.lane-new::after { background: linear-gradient(90deg, var(--lav-ink), var(--ice-ink)); }
.lane-new { background: radial-gradient(18rem circle at var(--mx, -30rem) var(--my, -30rem), rgb(255 255 255 / calc(var(--shine) * .8)), transparent 60%), linear-gradient(140deg, #ffffff, #f1ecff 55%, #e7f2ff); transition: --shine .45s ease; }
.lane-stamp { display: inline-flex; align-items: center; gap: .3rem; margin-left: .6rem; padding: .16rem .75rem .16rem .5rem; border-radius: 99px; background: var(--mint-ink); color: #fff; font: 600 .8125rem/1.6 var(--font-body); box-shadow: 0 8px 18px -6px #0a8561b3; }
.lane-stamp svg { stroke-width: 3; }
.is-racing .lane-stamp { opacity: 0; transform: scale(.5); }
.is-racing .lane.is-done .lane-stamp { opacity: 1; transform: none; transition: opacity .25s, transform .55s var(--spring); }
.lane-num b.is-bump { animation: bump .4s var(--spring); }
@keyframes bump { 0% { scale: 1; } 40% { scale: 1.22; } 100% { scale: 1; } }
.motion .is-racing .taps li.is-now svg { animation: press .5s var(--ease); }
@keyframes press { 0%, 100% { scale: 1; } 40% { scale: .7; } }

/* The shelf and the stage: tiles lean toward the pointer and their icons spring; the stage is glass
   that changes colour smoothly from one app to the next. */
.chip { background: linear-gradient(180deg, #ffffffc7, #ffffff80); box-shadow: inset 0 1px 0 #fff, inset 0 0 0 1px #ffffffb3, 0 0 0 1px #0b14160f; backdrop-filter: blur(16px) saturate(180%); -webkit-backdrop-filter: blur(16px) saturate(180%); }
.chip:hover { background: linear-gradient(180deg, #fff, #ffffffc7); box-shadow: inset 0 1px 0 #fff, inset 0 0 0 1px #ffffffb3, 0 0 0 1px #0b141624; }
.chip[aria-pressed="true"] { background: linear-gradient(180deg, #2b3a42, #0b1416); box-shadow: inset 0 1px 0 #ffffff40, 0 10px 20px -8px #0b141699; }
button.tile { background: linear-gradient(180deg, #ffffffb8, #ffffff70); box-shadow: inset 0 1px 0 #fff, inset 0 0 0 1px #ffffffc7, 0 1px 2px #1c2a4a0d; transform: perspective(600px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: background .35s, box-shadow .35s, transform .45s var(--ease); }
button.tile:hover { background: linear-gradient(180deg, #fff, #ffffffc7); transform: perspective(600px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-3px); box-shadow: inset 0 1px 0 #fff, inset 0 0 0 1px #fff, 0 20px 34px -16px color-mix(in srgb, var(--app) 70%, transparent); }
button.tile.is-on { background: linear-gradient(180deg, #fff, #ffffffd9); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--app) 60%, transparent), 0 20px 38px -14px color-mix(in srgb, var(--app) 75%, transparent); }
.motion button.tile:hover .tile-icon img { animation: pop .6s var(--spring) both; }
@keyframes pop { 0% { scale: 1; rotate: 0deg; } 45% { scale: 1.16; rotate: -5deg; } 75% { scale: 1.05; rotate: 3deg; } 100% { scale: 1.08; rotate: 0deg; } }
.stage { background: radial-gradient(22rem circle at var(--mx, -40rem) var(--my, -40rem), rgb(255 255 255 / calc(var(--shine) * .6)), transparent 60%), var(--glass); transition: --app .7s var(--ease), --shine .45s ease; }
.motion .panel.is-on .panel-icon { animation: fade-up .55s var(--ease) both, hover-float 6s ease-in-out .6s infinite; }
@keyframes hover-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -5px; } }

/* The ecosystem: lines of light run from the account to each app, the account breathes, stars twinkle. */
.island::after { content: ""; position: absolute; inset: 0; pointer-events: none; background-repeat: no-repeat; background-size: 7px 7px; background-image: radial-gradient(circle, #fff 0 1px, #ffffff00 3px), radial-gradient(circle, #fff 0 1px, #ffffff00 3px), radial-gradient(circle, #fff 0 1px, #ffffff00 3px), radial-gradient(circle, #fff 0 1px, #ffffff00 3px), radial-gradient(circle, #fff 0 1px, #ffffff00 3px), radial-gradient(circle, #fff 0 1px, #ffffff00 3px), radial-gradient(circle, #fff 0 1px, #ffffff00 3px); background-position: 46% 9%, 54% 27%, 62% 6%, 71% 20%, 80% 5%, 90% 13%, 96% 33%; opacity: .5; }
.motion .island::after { animation: twinkle 4.6s ease-in-out infinite alternate; }
.spoke { position: absolute; left: 50%; top: 50%; width: var(--r); height: 1px; transform-origin: 0 50%; transform: rotate(calc(var(--a) + var(--spin))); background: linear-gradient(90deg, #ffffff00 24%, #ffffff33 44%, #ffffff14); }
.spoke::after { content: ""; position: absolute; left: 26%; top: -2px; width: 5px; height: 5px; border-radius: 50%; background: #fff; box-shadow: 0 0 10px 2px var(--mint); opacity: 0; }
.motion .orbit.in .spoke::after { animation: pulse-out 3.6s ease-in-out infinite; animation-delay: calc(var(--k) * .6s); }
@keyframes pulse-out { 0% { left: 26%; opacity: 0; } 18%, 78% { opacity: 1; } 100% { left: 84%; opacity: 0; } }
.motion .orbit.in .orbit-core { animation: breathe 5s ease-in-out infinite; }
@keyframes breathe { 0%, 100% { box-shadow: inset 0 1px 0 #ffffff59, inset 0 0 0 1px #ffffff1f, 0 0 60px #58a9f040; } 50% { box-shadow: inset 0 1px 0 #ffffff80, inset 0 0 0 1px #ffffff33, 0 0 90px #58a9f080; } }

/* The principles lean toward the pointer; the closing line sits on glass inside a turning ring. */
.rule-list li { background: radial-gradient(16rem circle at var(--mx, -30rem) var(--my, -30rem), rgb(255 255 255 / calc(var(--shine) * .75)), transparent 60%), var(--glass); }
.js.motion .rule-list li.in { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--lift, 0px)); transition: transform .45s var(--ease), box-shadow .45s, --shine .45s ease, opacity .8s var(--ease); }
.rule-list li:hover { --lift: -4px; }
.closing { position: relative; margin-top: 2.4rem; padding: 2rem 1.6rem 2.1rem; border-top: 0; border-radius: 2rem; background: radial-gradient(22rem circle at var(--mx, -40rem) var(--my, -40rem), rgb(255 255 255 / calc(var(--shine) * .7)), transparent 60%), var(--glass); box-shadow: var(--glass-rim); backdrop-filter: blur(24px) saturate(190%); -webkit-backdrop-filter: blur(24px) saturate(190%); }
.closing::before { content: ""; position: absolute; inset: 0; padding: 1.5px; border-radius: inherit; background: conic-gradient(from var(--angle), var(--iris)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; opacity: .9; }
.motion .closing.in::before { animation: iris-spin 9s linear infinite; }

/* The three cards on the stage play the idea out, over and over: you give it something, a light
   crosses to the agents, their steps spin and tick one after another, a light crosses again, and
   the result arrives. Standing still, all three are simply shown complete. */
.steps3 { grid-template-columns: minmax(0, .75fr) minmax(0, 1.35fr) minmax(0, 1.1fr); gap: .5rem 1.5rem; }
.steps3 > div { position: relative; }
.steps3 dt { display: flex; align-items: center; gap: .45rem; }
.steps3 dt svg { width: 1.5rem; height: 1.5rem; padding: .3rem; border-radius: 50%; background: #ffffffb3; box-shadow: inset 0 0 0 1px currentColor; }
.s-get dt svg { stroke-width: 2.8; }
/* The track between two cards, and the light that runs along it. */
.steps3:not(.steps-ghost) > div:not(:last-child)::after { content: ""; position: absolute; left: calc(100% + .3rem); top: 50%; width: .9rem; height: 2px; margin-top: -1px; border-radius: 2px; background: linear-gradient(90deg, transparent, var(--ink), transparent) -120% 0 / 60% 100% no-repeat, linear-gradient(90deg, #0a856166, #6a4dd666); }
.steps3:not(.steps-ghost) > .s-agents::after { background: linear-gradient(90deg, transparent, var(--ink), transparent) -120% 0 / 60% 100% no-repeat, linear-gradient(90deg, #6a4dd666, #1a6cc666); }
/* The agents' steps. */
.s-agents dd:has(i) { display: flex; flex-wrap: wrap; gap: .3rem; }
.s-agents dd i { display: inline-flex; align-items: center; gap: .35rem; padding: .12rem .6rem .12rem .42rem; border-radius: 99px; background: #ffffffb8; box-shadow: inset 0 0 0 1px #6a4dd633; color: #4a31ad; font: 500 .8125rem/1.5 var(--font-body); white-space: nowrap; }
.s-agents dd i::before { content: ""; flex: none; width: .7rem; height: .7rem; border-radius: 50%; background: #6a4dd6 no-repeat center / .5rem url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
/* One loop, eight seconds. */
.motion .panel.is-on .steps3:not(.steps-ghost) .s-you { animation: card-you 8s var(--ease) infinite; }
.motion .panel.is-on .steps3:not(.steps-ghost) .s-you dt svg { animation: badge-you 8s var(--ease) infinite; }
.motion .panel.is-on .steps3:not(.steps-ghost) .s-you::after { animation: card-link-1 8s linear infinite; }
.motion .panel.is-on .steps3:not(.steps-ghost) .s-agents { animation: card-agents 8s var(--ease) infinite; }
.motion .panel.is-on .steps3:not(.steps-ghost) .s-agents dt svg { animation: badge-agents 8s var(--ease) infinite; }
.motion .panel.is-on .steps3:not(.steps-ghost) .s-agents::after { animation: card-link-2 8s linear infinite; }
.motion .panel.is-on .steps3:not(.steps-ghost) .s-agents dd i { animation: step-chip 8s var(--ease) infinite; animation-delay: calc(var(--k, 0) * .55s); }
.motion .panel.is-on .steps3:not(.steps-ghost) .s-agents dd i::before { animation: step-dot 8s linear infinite; animation-delay: calc(var(--k, 0) * .55s); }
.motion .panel.is-on .steps3:not(.steps-ghost) .s-get { animation: card-get 8s var(--ease) infinite; }
.motion .panel.is-on .steps3:not(.steps-ghost) .s-get dt svg { animation: badge-get 8s var(--spring) infinite; }
@keyframes card-you { 0%, 20%, 100% { transform: none; box-shadow: inset 0 0 0 1px #0a856129, 0 0 0 0 #0a856100; } 3%, 14% { transform: translateY(-4px); box-shadow: inset 0 0 0 1.5px #0a8561, 0 18px 30px -16px #0a8561b3; } }
@keyframes badge-you { 0%, 20%, 100% { background: #ffffffb3; color: var(--mint-ink); box-shadow: inset 0 0 0 1px currentColor, 0 0 0 0 #0a856100; } 3% { background: var(--mint-ink); color: #fff; box-shadow: inset 0 0 0 1px #0a8561, 0 0 0 0 #0a856199; } 14% { background: var(--mint-ink); color: #fff; box-shadow: inset 0 0 0 1px #0a8561, 0 0 0 10px #0a856100; } }
@keyframes card-link-1 { 0%, 13% { background-position: -120% 0, 0 0; } 21%, 100% { background-position: 220% 0, 0 0; } }
@keyframes card-agents { 0%, 18%, 58%, 100% { transform: none; box-shadow: inset 0 0 0 1px #6a4dd629, 0 0 0 0 #6a4dd600; } 22%, 52% { transform: translateY(-4px); box-shadow: inset 0 0 0 1.5px #6a4dd6, 0 18px 30px -16px #6a4dd6b3; } }
@keyframes badge-agents { 0%, 18% { background: #ffffffb3; color: var(--lav-ink); rotate: 0deg; } 22% { background: var(--lav-ink); color: #fff; rotate: 0deg; } 52% { background: var(--lav-ink); color: #fff; rotate: 360deg; } 58%, 100% { background: #ffffffb3; color: var(--lav-ink); rotate: 360deg; } }
@keyframes card-link-2 { 0%, 52% { background-position: -120% 0, 0 0; } 60%, 100% { background-position: 220% 0, 0 0; } }
@keyframes step-chip { 0%, 19%, 80%, 100% { background: #ffffffb8; box-shadow: inset 0 0 0 1px #6a4dd633; color: #4a31ad; } 21%, 27% { background: #6a4dd6; box-shadow: inset 0 0 0 1px #6a4dd6, 0 6px 14px -4px #6a4dd699; color: #fff; } 30%, 72% { background: #6a4dd61f; box-shadow: inset 0 0 0 1px #6a4dd666; color: #4a31ad; } }
@keyframes step-dot { 0%, 19% { background-color: transparent; background-size: 0 0; border: 2px solid #6a4dd640; border-top-color: #6a4dd640; rotate: 0deg; } 21% { background-color: transparent; background-size: 0 0; border: 2px solid #ffffff59; border-top-color: #fff; rotate: 0deg; } 27% { background-color: transparent; background-size: 0 0; border: 2px solid #ffffff59; border-top-color: #fff; rotate: 720deg; } 30%, 72% { background-color: #6a4dd6; background-size: .5rem .5rem; border: 0 solid #6a4dd600; rotate: 720deg; } 80%, 100% { background-color: transparent; background-size: 0 0; border: 2px solid #6a4dd640; border-top-color: #6a4dd640; rotate: 720deg; } }
@keyframes card-get { 0%, 58%, 94%, 100% { transform: none; box-shadow: inset 0 0 0 1px #fff, 0 0 0 1px #1a6cc61f, 0 0 0 0 #1a6cc600; } 63% { transform: translateY(-5px) scale(1.035); box-shadow: inset 0 0 0 1px #fff, 0 0 0 2px #1a6cc6, 0 22px 36px -16px #1a6cc6cc; } 68%, 88% { transform: translateY(-4px); box-shadow: inset 0 0 0 1px #fff, 0 0 0 2px #1a6cc6, 0 18px 30px -16px #1a6cc6b3; } }
@keyframes badge-get { 0%, 58%, 94%, 100% { background: #ffffffb3; color: var(--ice-ink); scale: 1; } 63% { background: var(--ice-ink); color: #fff; scale: 1.35; } 68%, 88% { background: var(--ice-ink); color: #fff; scale: 1; } }

/* Each card in the AIplet lane draws its own small picture when the race reaches it: a voice wave
   and a camera for "say it or snap it", three marks filling in for the agents, and two lines of a
   result being written. A light crosses from one card to the next. */
.flow li { position: relative; }
.flow-art { display: inline-flex; align-items: center; gap: .55rem; height: 1.5rem; }
.flow-art > svg:first-child { width: 1.5rem; height: 1.5rem; padding: .28rem; border-radius: 50%; background: #ffffffb3; box-shadow: inset 0 0 0 1px currentColor; }
.flow-get .flow-art > svg:first-child { stroke-width: 2.8; }
.flow-art .bars { display: inline-flex; align-items: center; gap: 3px; height: 1.1rem; }
.flow-art .bars i { width: 3px; height: 40%; border-radius: 3px; background: currentColor; }
.flow-art .bars i:nth-child(1) { --k: 0; height: 40%; } .flow-art .bars i:nth-child(2) { --k: 1; height: 85%; } .flow-art .bars i:nth-child(3) { --k: 2; height: 55%; } .flow-art .bars i:nth-child(4) { --k: 3; height: 100%; } .flow-art .bars i:nth-child(5) { --k: 4; height: 35%; }
.flow-art .cam { font-size: 1.05rem; opacity: .75; }
.flow-art .ticks { display: inline-flex; gap: .3rem; }
.flow-art .ticks i { width: .55rem; height: .55rem; border-radius: 50%; background: currentColor; }
.flow-art .ticks i:nth-child(1) { --k: 0; } .flow-art .ticks i:nth-child(2) { --k: 1; } .flow-art .ticks i:nth-child(3) { --k: 2; }
.flow-art .lines { display: grid; gap: 4px; width: 3.2rem; }
.flow-art .lines i { height: 4px; border-radius: 4px; background: currentColor; opacity: .6; transform-origin: left; }
.flow-art .lines i:nth-child(1) { --k: 0; } .flow-art .lines i:nth-child(2) { --k: 1; width: 62%; }
.flow li:not(:last-child)::after { content: ""; position: absolute; left: calc(100% + .25rem); top: 50%; width: .8rem; height: 2px; margin-top: -1px; border-radius: 2px; background: linear-gradient(90deg, transparent, var(--ink), transparent) -120% 0 / 60% 100% no-repeat, linear-gradient(90deg, #6a4dd666, #1a6cc666); }
.is-racing .flow li:not(.is-lit)::after { opacity: .4; }
.motion .is-racing .flow li.is-lit::after { animation: flow-link .62s linear both; }
@keyframes flow-link { from { background-position: -120% 0, 0 0; } to { background-position: 220% 0, 0 0; } }
.motion .is-racing .flow-you.is-lit .bars i { animation: wave .8s ease-in-out infinite; animation-delay: calc(var(--k) * -.16s); }
.motion .is-racing .flow-you.is-lit .cam { animation: cam-flash 2.2s ease-in-out .35s infinite; }
@keyframes cam-flash { 0%, 62%, 100% { opacity: .75; scale: 1; filter: none; } 72% { opacity: 1; scale: 1.3; filter: drop-shadow(0 0 6px currentColor); } }
.is-racing .flow-agents .ticks i { opacity: .25; scale: .6; }
.motion .is-racing .flow-agents.is-lit .ticks i { animation: tick-fill .45s var(--spring) both; animation-delay: calc(var(--k) * .14s + .08s); }
@keyframes tick-fill { to { opacity: 1; scale: 1; } }
.is-racing .flow-get .lines i { scale: 0 1; }
.motion .is-racing .flow-get.is-lit .lines i { animation: line-draw .5s var(--ease) both; animation-delay: calc(var(--k) * .16s + .12s); }
@keyframes line-draw { to { scale: 1 1; } }
.motion .is-racing .flow-get.is-lit .flow-art > svg:first-child { animation: badge-pop .6s var(--spring) both; }
@keyframes badge-pop { 0% { scale: .4; background: #ffffffb3; color: inherit; } 60% { scale: 1.35; } 100% { scale: 1; background: var(--ice-ink); color: #fff; } }

/* ---------- Arrival: sections ease in as they are reached ---------- */
.js.motion [data-reveal] { opacity: 0; transform: translate3d(0, 18px, 0); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--stagger, 0s); }
.js.motion [data-reveal].in { opacity: 1; transform: none; }
.motion .hero-inner > * { animation: fade-up .9s var(--ease) both; }
.motion .hero-inner > :nth-child(2) { animation-delay: .08s; } .motion .hero-inner > :nth-child(3) { animation-delay: .4s; } .motion .hero-inner > :nth-child(4) { animation: fade-in 1s ease .55s both; } .motion .hero-inner > :nth-child(5) { animation-delay: .7s; }

/* ---------- Desktop: one window per section ---------- */
@media (min-width: 1181px) and (min-height: 700px) {
  :root { --sp-1: clamp(.4rem, 1.1vh, .8rem); --sp-2: clamp(.7rem, 1.9vh, 1.3rem); --sp-3: clamp(1rem, 2.8vh, 2.2rem); }
  .section { display: flex; flex-direction: column; justify-content: center; min-height: min(100svh, 70rem); padding: 5.4rem 0 var(--sp-2); }
  .section-head { gap: var(--sp-1); }
  .race { margin-top: var(--sp-3); }
  .why-foot { margin-top: var(--sp-2); }
  .chips { margin-top: var(--sp-2); }
  .store { margin-top: var(--sp-1); }
  .stage { padding-block: clamp(1rem, 2.4vh, 1.5rem); }
  .panel { gap: clamp(.45rem, 1.2vh, .7rem); }
  .tile { padding-block: clamp(.6rem, 1.6vh, .95rem) clamp(.5rem, 1.3vh, .8rem); }
  .eco { justify-content: center; padding-block: clamp(4.5rem, 9.4vh, 5rem) .7rem; }
  .facts { margin-top: var(--sp-2); }
  .rule-list { margin-top: var(--sp-3); }
  .closing { margin-top: var(--sp-3); padding-block: var(--sp-3); gap: var(--sp-2); }
}

/* A short desktop window (a 768-pixel laptop, say): the two fullest sections tighten a little so the
   longer English lines still fit one window. */
@media (min-width: 1181px) and (min-height: 700px) and (max-height: 800px) {
  .eco .section-lede { font-size: 1rem; line-height: 1.6; }
  .facts li { padding: .75rem .95rem .8rem; }
  .facts span { line-height: 1.5; }
  .wheel { gap: .55rem; padding-top: .8rem; }
  .wheel-steps li { padding-block: .55rem; }
  .panel-text { font-size: .9375rem; line-height: 1.6; }
  .steps3 > div { padding: .6rem .85rem .7rem; }
  .steps3 dd { line-height: 1.45; }
}

/* ---------- Smaller screens ---------- */
@media (max-width: 1320px) {
  .demo-float img:nth-child(3), .demo-float img:nth-child(4) { display: none; }
  .demo-float img:nth-child(1) { right: calc(100% + 1.4rem); } .demo-float img:nth-child(2) { left: calc(100% + 1.4rem); }
  .demo-float img:nth-child(5) { right: calc(100% + 1rem); } .demo-float img:nth-child(6) { left: calc(100% + 1rem); }
}
@media (max-width: 1180px) {
  .container { width: calc(100% - 72px); }
  .rule-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .store { grid-template-columns: 1fr; }
  .shelf { grid-template-columns: repeat(8, minmax(0, 1fr)); }
  .facts { grid-template-columns: 1fr; }
  .wheel-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem 2.2rem; }
  .wheel-steps li:nth-child(2)::after { display: none; }
}
@media (max-width: 1020px) {
  .demo-float { display: none; }
  .race { grid-template-columns: 1fr; }
  .eco-grid { grid-template-columns: 1fr; }
  .orbit { order: -1; --r: min(10rem, 32vw); }
  .shelf { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .pipe-agents { gap: .42rem; padding: .36rem .8rem; }
  .pipe-name { margin-right: .2rem; }
  .pipe-agents i { --a-idle: transparent; --a-on: transparent; --a-done: transparent; --g-idle: #6a4dd633; --g-on: #6a4dd6; --g-done: #6a4dd699; display: block; width: 7px; height: 7px; padding: 0; border: 0; overflow: hidden; text-indent: 3rem; }
  .pipe-agents i::before { display: none; }
  .footer-top { grid-template-columns: 1fr; gap: 1.2rem; }
  .footer-links, .family { justify-items: start; justify-content: flex-start; }
  .site-footer nav { flex-wrap: wrap; margin-left: -.9rem; }
}
@media (max-width: 900px) {
  .header-inner { grid-template-columns: auto 1fr auto; }
  .site-nav { justify-self: center; }
  .site-nav a { padding: .5rem .72rem; }
  .brand-by { display: none; }
}
@media (max-width: 760px) {
  .container { width: calc(100% - 40px); }
  .site-header { inset: .5rem 0 auto 0; }
  .header-inner, .site-header.is-scrolled .header-inner { height: 54px; padding: 0 .4rem 0 .9rem; }
  /* The bar holds the logo and one menu button. The page links and the ways on move into the menu's
     sheet. */
  .site-nav, .header-tools { display: none; }
  .menu { display: block; grid-column: 3; justify-self: end; }
  .menu summary { list-style: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; cursor: pointer; background: #0b14160a; box-shadow: inset 0 0 0 1px #0b14161a; transition: background .45s, box-shadow .45s; -webkit-tap-highlight-color: transparent; }
  .menu summary::-webkit-details-marker { display: none; }
  .menu summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
  /* Two bars that cross into a close mark. */
  .menu summary i { grid-area: 1 / 1; width: 18px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .3s var(--ease), background .45s; }
  .menu summary i:first-child { transform: translateY(-3.5px); }
  .menu summary i:last-child { transform: translateY(3.5px); }
  .menu[open] summary i:first-child { transform: rotate(45deg); }
  .menu[open] summary i:last-child { transform: rotate(-45deg); }
  .on-dark .menu summary { background: #ffffff1a; box-shadow: inset 0 0 0 1px #ffffff33; }
  .on-dark .menu summary i { background: #fff; }
  /* While the menu is open the page behind dims, and a tap on it closes the menu. */
  .site-header:has(.menu[open])::before { content: ""; position: fixed; inset: 0; z-index: -1; background: #0b141640; pointer-events: auto; }
  /* The sheet hangs under the bar, as wide as the bar. It is solid: glass inside glass does not blur
     what is behind it. */
  .menu-sheet { position: absolute; top: calc(100% + .55rem); left: 0; right: 0; padding: .55rem; border-radius: 1.5rem; color: var(--ink); background: linear-gradient(180deg, #fff, #f4f7fd); box-shadow: inset 0 0 0 1px #0b141614, 0 24px 60px #1a2a5a47; }
  .motion .menu[open] .menu-sheet { animation: menu-in .3s var(--ease) both; }
  .menu-links a { display: flex; align-items: baseline; gap: .9rem; min-height: 3.25rem; padding: .95rem .9rem; border-radius: 1rem; color: var(--ink); font: 600 1.25rem/1.2 var(--font-display); letter-spacing: -.005em; }
  .menu-links a + a { box-shadow: 0 -1px 0 #0b14160f; }
  .menu-links b { color: var(--accent); font: 500 .75rem/1 var(--font-mono); letter-spacing: .06em; }
  .menu-links a[aria-current="true"] { background: #eaf3ff; box-shadow: inset 0 0 0 1px #1a6cc61f; }
  .menu-links a[aria-current="true"] + a { box-shadow: none; }
  .menu-exits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; margin-top: .55rem; padding-top: .55rem; border-top: 1px solid #0b14161a; }
  .menu-exits > :only-child { grid-column: 1 / -1; }
  .menu-exit { display: grid; gap: .45rem; padding: .85rem .9rem .9rem; border-radius: 1rem; color: #fff; text-shadow: 0 1px 1px #1a3f8a59;
    background: radial-gradient(120% 150% at 18% -50%, #ffffff8c, transparent 52%), linear-gradient(180deg, #57a6f2 0%, #2f7fe0 52%, #6c66e6 100%);
    box-shadow: inset 0 1px 0 #ffffff99, inset 0 -1px 0 #3b45b359, 0 8px 20px #2f7fe047; }
  .menu-exit-ghost { color: var(--ink); text-shadow: none; background: linear-gradient(180deg, #fff, #f3f6fc); box-shadow: inset 0 0 0 1px #0b14161f, 0 6px 18px #2a3a6a14; }
  .menu-exit small { font: 500 .6875rem/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; opacity: .85; }
  .menu-exit span { display: inline-flex; align-items: center; justify-content: space-between; gap: .4rem; font: 600 1rem/1.1 var(--font-display); }
  .menu-exit svg { width: 1rem; height: 1rem; flex: none; }
  .hero-inner { padding-top: 5.4rem; justify-content: flex-start; }
  .hero h1 { font-size: clamp(2.15rem, 9.6vw, 3.2rem); }
  html[lang="en"] .hero h1 > * { display: block; }
  .saybar { gap: .6rem; min-height: 3.6rem; padding: .45rem .5rem; border-radius: 1.4rem; }
  .saybar img { width: 38px; height: 38px; }
  .ask::before { border-radius: 1.7rem; }
  .hero::before, .hero::after { display: none; }
  .lane-stamp { margin-left: .4rem; }
  .modes i { display: none; width: 2.3rem; height: 2.3rem; }
  [data-mode="say"] .m-say, [data-mode="snap"] .m-snap, [data-mode="file"] .m-file, [data-mode="rec"] .m-rec { display: grid; }
  .demo-steps li + li { margin-left: 0; } .demo-steps li + li::after { display: none; }
  .demo-out { grid-template-columns: 1fr; gap: .4rem; }
  .demo-by { grid-row: auto; display: flex; align-items: center; gap: .6rem; padding: 0 0 .5rem; border-right: 0; border-bottom: 1px solid var(--rule); }
  .hero-actions { width: 100%; flex-direction: column; }
  .hero-actions .button { width: 100%; justify-content: center; padding-block: 1.05rem; font-size: 1rem; }
  .pipeline { gap: 1.3rem; padding: .25rem; }
  .pipeline > li:not(:last-child)::after { left: calc(100% + .28rem); width: .74rem; }
  .pipe-you { padding: .34rem .6rem; }
  .pipe-you svg, .pipe-agents i { display: none; }
  .pipe-agents { padding: .34rem .6rem; }
  .pipe-name { margin-right: 0; }
  .section { padding: 5rem 0 2.6rem; }
  .taps { grid-template-columns: 1fr 1fr; }
  .flow { grid-template-columns: 1fr; }
  .flow li { grid-template-columns: auto 1fr; align-items: center; gap: .8rem; }
  .flow li::after { display: none; }
  /* The filter chips and the shelf each become a row you swipe. */
  .chips { flex-wrap: nowrap; margin-inline: -20px; padding: .2rem 20px .4rem; overflow-x: auto; scrollbar-width: none; }
  .chips::-webkit-scrollbar, .shelf::-webkit-scrollbar { display: none; }
  .shelf, .shelf.is-long { display: flex; gap: .5rem; max-height: none; margin: 0 -20px; padding: .4rem 20px .9rem; overflow-x: auto; overflow-y: visible; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .tile { flex: none; width: 6.4rem; scroll-snap-align: center; }
  .stage { padding: 1.2rem 1.1rem; border-radius: 1.4rem; }
  .panel-id { grid-template-columns: auto 1fr; }
  .panel-icon { width: 60px; height: 60px; border-radius: 16px; }
  .state { grid-column: 1 / -1; justify-self: start; }
  .steps3 { grid-template-columns: 1fr; gap: 1.3rem; }
  .steps3:not(.steps-ghost) > div:not(:last-child)::after { left: 50%; top: calc(100% + .25rem); width: 2px; height: .8rem; margin: 0 0 0 -1px; background: linear-gradient(180deg, #0a856166, #6a4dd666); animation: none !important; }
  .panel-act .button { width: 100%; justify-content: center; }
  .island { margin-inline: .5rem; }
  .wheel-steps { grid-template-columns: 1fr; gap: .5rem; }
  .wheel-steps li::after { display: none; }
  .rule-list { grid-template-columns: 1fr; }
  .closing-actions { width: 100%; flex-direction: column; }
  .closing-actions .button { justify-content: center; }
  .footer-bottom { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .footer-bottom > *, .footer-bottom .filings, .footer-note { grid-column: 1; justify-self: center; text-align: center; }
  .to-top { right: .9rem; bottom: .9rem; }
}

/* ---------- Reduced motion: nothing moves on its own ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .site-nav::before, .header-inner, .tile, .tile-icon img, .demo-float img, .taps li, .flow li { transition: none; }
}
