/* The home page. Its layouts, and Orbit's interface rebuilt in HTML and CSS (no screenshots): everything inside .ui
   is the app's own dark theme and tokens, as in the launch film's kit (social/kit/launch/ui.css). The lead Moon's
   colour is the page's --moon / --accent, so the colour picker in #colour recolours every recreation at once.
   No style="" in the markup (the site's CSP refuses it): colours come from the c-* classes below. */

/* ---------- Hero: the Moon, the words, then the film ---------- */
.hero.home-hero { text-align: center; padding-block: clamp(16px, 2.4vw, 28px) clamp(72px, 9vw, 120px); background: radial-gradient(46% 26% at 50% 12%, color-mix(in srgb, var(--moon) 24%, transparent), transparent 72%), var(--space); }
.hero.home-hero .hero-orb { width: min(210px, 50vw); margin: 0 auto; }
.hero-stage { position: relative; width: min(880px, 100%); margin: 0 auto; }
.hero-stage::before, .hero-stage::after { content: ''; position: absolute; left: 50%; top: 46%; width: 74%; aspect-ratio: 3.1; translate: -50% -50%; rotate: -7deg; border-radius: 50%; border: 1px solid rgba(214, 224, 255, .13); pointer-events: none; }
.hero-stage::after { width: 100%; rotate: 5deg; border-color: rgba(214, 224, 255, .07); }
.hero-stage .hero-orb { position: relative; z-index: 1; }
.mate { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 9px; padding: 6px 14px 6px 6px; border-radius: 999px; background: rgba(19, 21, 27, .78); box-shadow: 0 0 0 1px rgba(214, 224, 255, .14), 0 14px 30px -14px rgba(0, 0, 0, .8); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-size: 14px; white-space: nowrap; animation: bob 6s ease-in-out infinite; }
.mate .orb-host { width: 32px; aspect-ratio: 1; }
.mate b { font-weight: 600; color: var(--moonlight); }
.mate em { font-style: normal; color: var(--dust); font-size: 13px; }
.mate.t1 { left: 13%; top: 2%; } .mate.t2 { left: 1%; top: 40%; animation-delay: -2s; } .mate.t3 { left: 15%; top: 68%; animation-delay: -4s; }
.mate.t4 { right: 13%; top: 2%; animation-delay: -1s; } .mate.t5 { right: 1%; top: 40%; animation-delay: -3s; } .mate.t6 { right: 15%; top: 68%; animation-delay: -5s; }
@keyframes bob { 0%, 100% { transform: translateY(-5px); } 50% { transform: translateY(5px); } }
@media (prefers-reduced-motion: reduce) { .mate { animation: none; } }
@media (max-width: 760px) {
  .mate { padding: 4px; } .mate b, .mate em { display: none; } .mate .orb-host { width: 30px; }
  .mate.t1 { left: 9%; top: 6%; } .mate.t2 { left: 0; } .mate.t3 { left: 11%; top: 74%; } .mate.t4 { right: 9%; top: 6%; } .mate.t5 { right: 0; } .mate.t6 { right: 11%; top: 74%; }
}
.hero.home-hero h1 { font-size: clamp(33px, 4.7vw, 62px); line-height: 1.04; white-space: normal; margin: 18px auto 0; max-width: 16em; }
.hero.home-hero h1 span { display: block; }
.hero.home-hero .lede { margin: 22px auto 0; max-width: 35em; font-size: clamp(17px, 1.5vw, 20px); }
.hero.home-hero .cta-row { justify-content: center; margin-top: 30px; }
.hero.home-hero .small { margin-top: 18px; }
.hero.home-hero .shot { margin-top: clamp(40px, 5vw, 60px); text-align: center; }

/* The sixth chip: room for a Moon of your own. */
.mate.add { background: rgba(19, 21, 27, .5); box-shadow: 0 0 0 1px rgba(214, 224, 255, .22) inset; }
.mate.add .plus { position: relative; width: 32px; aspect-ratio: 1; border-radius: 50%; border: 1.5px dashed rgba(214, 224, 255, .4); flex-shrink: 0; }
.mate.add .plus::before, .mate.add .plus::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; translate: -50% -50%; border-radius: 2px; background: var(--dust); }
.mate.add .plus::after { rotate: 90deg; }
@media (max-width: 760px) { .mate.add .plus { width: 30px; } }

/* ---------- Meet your team: one card per starter Moon (face, name, role, a line in their voice, day one) ---------- */
.team-band { padding-top: clamp(8px, 2vw, 24px); }
.team-band .head { margin-bottom: clamp(36px, 5vw, 60px); }
.team-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 20px); }
.mcard { --c: var(--moon); position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "face who" "line line" "day day"; grid-template-rows: auto auto 1fr; column-gap: 16px; align-items: center; padding: clamp(20px, 2.2vw, 28px); border-radius: 24px; background: var(--surface); box-shadow: 0 0 0 1px var(--rule), 0 24px 60px -40px rgba(0, 0, 0, .7); transition: box-shadow .3s var(--ease), translate .3s var(--ease); }
.mcard:hover { translate: 0 -3px; box-shadow: 0 0 0 1px var(--rule-2), 0 30px 70px -40px rgba(0, 0, 0, .8); }
.mcard .mc-face { grid-area: face; width: 64px; aspect-ratio: 1; }
.mcard .mc-who { grid-area: who; min-width: 0; }
.mcard h3 { font: 600 22px/1.1 var(--display); letter-spacing: -0.03em; color: var(--fg); }
.mcard .mc-role { margin-top: 5px; font-size: 15px; color: var(--fg-2); display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.mcard .mc-tag { font-style: normal; font-size: 12px; font-weight: 650; padding: 2px 9px; border-radius: 999px; color: color-mix(in srgb, var(--accent) 60%, #fff); background: color-mix(in srgb, var(--accent) 14%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent); }
.mcard .mc-line { grid-area: line; margin-top: 18px; font-size: 17px; line-height: 1.45; color: var(--fg); text-wrap: pretty; }
.mcard .mc-day { grid-area: day; align-self: end; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--rule); font-size: 15px; line-height: 1.5; color: var(--fg-2); text-wrap: pretty; }
.mcard .mc-day b { display: block; margin-bottom: 4px; font: 600 11.5px/1.2 var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--dust); }
.mcard.lead { box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 40%, transparent), 0 24px 60px -40px rgba(0, 0, 0, .7); }
/* Cards side by side share row heights, so the quote and the day-one line start level across a row. */
@supports (grid-template-rows: subgrid) {
  .team-grid { row-gap: 0; }
  .mcard { grid-row: span 3; grid-template-rows: subgrid; row-gap: 0; margin-bottom: clamp(14px, 1.6vw, 20px); }
  .mcard .mc-day { align-self: start; }
}
.team-note { max-width: 44em; margin: clamp(28px, 4vw, 44px) auto 0; text-align: center; font-size: 16px; line-height: 1.55; color: var(--fg-2); text-wrap: pretty; }
@media (max-width: 980px) { .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) {
  .team-grid { grid-template-columns: 1fr; gap: 12px; }
  .mcard { padding: 18px 18px 20px; border-radius: 20px; column-gap: 14px; }
  .mcard .mc-face { width: 52px; }
  .mcard h3 { font-size: 20px; }
  .mcard .mc-line { margin-top: 14px; font-size: 16px; }
  .mcard .mc-day { margin-top: 12px; padding-top: 12px; font-size: 14.5px; }
  .team-note { font-size: 15px; text-align: left; }
}
@media (prefers-reduced-motion: reduce) { .mcard { transition: none; } .mcard:hover { translate: none; } }

/* ---------- Layouts ---------- */
.duo { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: clamp(36px, 6vw, 88px); align-items: center; }
.duo.flip > .words { order: 2; }
.duo .words h2 { font-size: clamp(30px, 3.5vw, 46px); line-height: 1.06; }
.duo .words p { color: var(--fg-2); font-size: 18px; margin-top: 18px; max-width: 30em; text-wrap: pretty; }
.duo .words p + p { margin-top: 12px; }
@media (max-width: 900px) { .duo { grid-template-columns: 1fr; gap: 44px; } .duo.flip > .words { order: 0; } }
.uticks { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 12px; }
.uticks li { display: flex; gap: 12px; align-items: flex-start; font-size: 16.5px; color: var(--fg-2); }
.uticks li b { color: var(--fg); font-weight: 600; }
.uticks .i { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: color-mix(in srgb, var(--moon) 16%, transparent); color: var(--accent-text); margin-top: 1px; }
.twoup { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 3vw, 40px); align-items: start; }
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(22px, 2.6vw, 32px); align-items: start; }
.trio.two { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: clamp(56px, 7vw, 88px); }
@media (max-width: 980px) { .trio { grid-template-columns: 1fr; gap: 48px; max-width: 560px; margin-inline: auto; } }
@media (max-width: 860px) { .twoup, .trio.two { grid-template-columns: 1fr; gap: 48px; } .trio.two { max-width: none; } }
.cardfig { margin: 0; min-width: 0; }
.cardfig figcaption, .spot > p { margin-top: 18px; font-size: 16px; line-height: 1.5; color: var(--fg-2); text-wrap: pretty; }
.cardfig figcaption b { color: var(--fg); font-weight: 600; }
.spot { min-width: 0; }
.spot h3 { font: 600 clamp(20px, 2vw, 24px)/1.15 var(--display); letter-spacing: -0.03em; margin-top: 26px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.spot > p { margin-top: 10px; }
.facts4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; margin-top: clamp(48px, 6vw, 72px); }
.who5 { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; }
.facts4 > div, .who5 > div { padding-top: 18px; border-top: 1px solid var(--rule-2); }
.facts4 b, .who5 b { display: block; font-size: 17px; margin-bottom: 6px; }
.who5 b { font: 600 18px/1.2 var(--display); letter-spacing: -0.03em; margin-bottom: 10px; }
.facts4 span, .who5 span { color: var(--fg-2); font-size: 15px; line-height: 1.5; display: block; }
@media (max-width: 1040px) { .who5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 980px) { .facts4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .who5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .facts4, .who5 { grid-template-columns: 1fr; gap: 20px; } }
.store-row { display: flex; justify-content: center; margin-top: clamp(28px, 4vw, 44px); }
.store-row .store-badges { justify-content: center; }
.download .store-row { margin-top: 26px; }

/* ---------- The map: the lead Moon and everything it reaches ---------- */
.omap { position: relative; aspect-ratio: 1; width: min(100%, 520px); margin: 0 auto 26px; }
.map-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.map-lines .ring { fill: none; stroke: var(--rule-2); stroke-width: 1; }
.map-lines .ring.in { stroke: var(--rule); }
.map-lines .spokes path { fill: none; stroke: color-mix(in srgb, var(--moon) 55%, transparent); stroke-width: 1.4; stroke-dasharray: 2 7; stroke-linecap: round; animation: flow 1.6s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -18; } }
.omap .map-moon { position: absolute; left: 36%; top: 36%; width: 28%; }
.omap .node { position: absolute; width: 50px; height: 50px; margin: -25px 0 0 -25px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); color: var(--accent-text); box-shadow: 0 0 0 1px var(--rule), 0 12px 24px -12px rgba(14, 18, 28, .35); }
.omap .node .i { width: 21px; height: 21px; }
.omap .node b { position: absolute; top: 100%; left: 50%; translate: -50% 0; margin-top: 6px; white-space: nowrap; font-size: 13px; font-weight: 600; color: var(--fg); }
.omap .n1 { left: 50%; top: 10.5%; } .omap .n2 { left: 73.2%; top: 18%; } .omap .n3 { left: 87.6%; top: 37.8%; } .omap .n4 { left: 87.6%; top: 62.2%; } .omap .n5 { left: 73.2%; top: 82%; }
.omap .n6 { left: 50%; top: 89.5%; } .omap .n7 { left: 26.8%; top: 82%; } .omap .n8 { left: 12.4%; top: 62.2%; } .omap .n9 { left: 12.4%; top: 37.8%; } .omap .n10 { left: 26.8%; top: 18%; }
@media (max-width: 480px) { .omap .node { width: 42px; height: 42px; margin: -21px 0 0 -21px; } .omap .node .i { width: 18px; height: 18px; } .omap .node b { font-size: 12px; margin-top: 4px; } }
@media (prefers-reduced-motion: reduce) { .map-lines .spokes path { animation: none; } }

/* ---------- Orbit's interface, rebuilt ---------- */
.ui {
  --u-bg: #0b0b0c; --u-panel: #141415; --u-side: #111112; --u-raised: #1c1c1e; --u-raised-2: #26262a; --u-line: rgba(255, 255, 255, .08); --u-line-2: rgba(255, 255, 255, .14);
  --u-text: #ededed; --u-text-2: #b9b9be; --u-muted: #94949b; --u-bubble: #262628; --bub: var(--home-bub, #2f6bf0); --bub-ink: var(--home-bub-ink, #fff); --c: var(--moon);
  font: 400 13.5px/1.4 -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif; color: var(--u-text); text-align: left; container-type: inline-size; -webkit-font-smoothing: antialiased;
}
.ui b { font-weight: 650; } .ui em { font-style: normal; } .ui p { margin: 0; }
.ui .i { width: 16px; height: 16px; flex: none; }
.ui .orb-host { flex: none; display: inline-block; }
/* The starter team (Luna follows the page's Moon colour, as the lead Moon does in the app). */
.c-luna { --c: var(--moon); } .c-nova { --c: #b06cff; } .c-vega { --c: #36d6c3; } .c-orion { --c: #ff9a6b; } .c-juno { --c: #5fdc8f; } .c-lyra { --c: #ff7ac8; }
 .c-brew { --c: #ff6b7d; } .c-quill { --c: #36d6c3; } .c-petal { --c: #ff7ac8; }
.g-claude { --c: #e0896a; } .g-grok { --c: #8fb4ff; } .g-openai { --c: #e9e9ea; }
.win { background: var(--u-bg); border-radius: 16px; overflow: hidden; }
.dark .win, .dark .ui.approve, .dark .ui.mods { box-shadow: 0 0 0 1px rgba(214, 224, 255, .15), 0 44px 110px -50px color-mix(in srgb, var(--moon) 55%, transparent), 0 40px 80px -40px rgba(0, 0, 0, .85); }
.light .win { box-shadow: 0 0 0 1px rgba(14, 18, 28, .6), 0 40px 80px -42px rgba(14, 18, 28, .6); }
.win-top { height: 42px; display: flex; align-items: center; gap: 10px; padding: 0 14px; border-bottom: 1px solid var(--u-line); color: var(--u-muted); font-size: 13px; }
.win-top .ttl { display: flex; align-items: center; gap: 8px; min-width: 0; white-space: nowrap; }
.win-top .ttl b { color: var(--u-text); font-size: 14px; }
.win-top .ttl .orb-host { width: 22px; }
.win-top .ttl .on { color: var(--u-muted); }
.win-top .ttl .on::before { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #5fd18b; margin-right: 6px; }
.win-top > :last-child:not(:first-child) { margin-left: auto; }
.utools { display: flex; gap: 14px; }
.rpill, .pill { font-style: normal; font-size: 11.5px; font-weight: 650; padding: 2px 8px; border-radius: 999px; white-space: nowrap; color: var(--u-text-2); background: var(--u-raised-2); }
.rpill, .pill.ac { color: color-mix(in srgb, var(--accent) 60%, #fff); border: 1px solid color-mix(in srgb, var(--accent) 55%, transparent); background: color-mix(in srgb, var(--accent) 14%, transparent); }
.pill.warn { color: #ffd08a; background: rgba(255, 159, 67, .16); }
.seg2 { display: inline-flex; background: var(--u-raised); border-radius: 999px; padding: 3px; font-size: 12px; font-weight: 650; color: var(--u-text-2); white-space: nowrap; }
.seg2 span { padding: 3px 10px; border-radius: 999px; }
.seg2 span.on { background: var(--bub); color: var(--bub-ink); }
.ubtn { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 9px; background: var(--u-raised-2); color: #fff; font-weight: 650; font-size: 12.5px; white-space: nowrap; }
.ubtn.pri { background: var(--bub); color: var(--bub-ink); }
.acts { display: flex; flex-wrap: wrap; gap: 8px; }
.utick { width: 18px; height: 18px; flex: none; border-radius: 50%; border: 1.5px solid var(--u-line-2); display: grid; place-items: center; }
.done .utick { background: var(--bub); border-color: var(--bub); color: var(--bub-ink); }
.ui .utick .i { width: 11px; height: 11px; stroke-width: 3; }
.mdot, .who i { width: 14px; height: 14px; flex: none; border-radius: 50%; display: inline-block; background: radial-gradient(circle at 35% 30%, color-mix(in srgb, var(--c) 55%, #fff), var(--c) 55%, color-mix(in srgb, var(--c) 60%, #000)); }
.who { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--u-text-2); }
.av { width: 26px; height: 26px; flex: none; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 12px; font-weight: 700; color: #14151a; }
.av.a1 { background: #f2c879; } .av.a2 { background: #9fc3ff; } .av.a3 { background: #f29bb7; } .av.a4 { background: #8fd3a8; }
.dh { display: flex; align-items: center; gap: 9px; font-size: 13.5px; }
.dh .orb-host { width: 24px; }

/* chat */
.uchat { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.msgs { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 11px; padding: 18px 20px 14px; }
.m { display: flex; align-items: flex-end; gap: 8px; max-width: 86%; }
.m .orb-host { width: 24px; margin-bottom: 2px; }
.m p { background: var(--u-bubble); border-radius: 17px; padding: 9px 13px; font-size: 14.5px; line-height: 1.42; }
.m.you { align-self: flex-end; }
.m.you p { background: var(--bub); color: var(--bub-ink); border-bottom-right-radius: 6px; }
.m.moon p { border-bottom-left-radius: 6px; }
.wchip { align-self: flex-start; margin-left: 32px; display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; padding: 5px 12px 5px 7px; border-radius: 999px; border: 1px solid var(--u-line-2); white-space: nowrap; }
.wchip i { width: 17px; height: 17px; border-radius: 50%; background: color-mix(in srgb, var(--accent) 30%, transparent); color: var(--accent-glow); display: grid; place-items: center; }
.ui .wchip .i { width: 10px; height: 10px; stroke-width: 3; }
.wchip span { color: var(--u-muted); }
.uday { align-self: center; font-size: 12px; font-weight: 650; color: var(--u-muted); }
.comp { margin: 0 16px 16px; display: flex; align-items: center; gap: 10px; }
.comp .add { width: 36px; height: 36px; flex: none; border-radius: 50%; background: var(--u-raised); display: grid; place-items: center; color: var(--u-text-2); font-size: 19px; }
.comp .in { flex: 1; height: 42px; border-radius: 21px; border: 1px solid var(--u-line-2); background: var(--u-panel); display: flex; align-items: center; justify-content: space-between; padding: 0 16px; color: var(--u-muted); font-size: 14px; }
.comp .send { width: 36px; height: 36px; flex: none; border-radius: 50%; background: var(--bub); color: var(--bub-ink); display: grid; place-items: center; }

/* the Moons page */
.moons-win .win-top .ttl { margin-inline: auto; padding-left: 80px; }
.moons-win .win-body { display: flex; min-height: 470px; }
.mlist { width: 304px; flex: none; padding: 10px 8px; display: flex; flex-direction: column; gap: 2px; border-right: 1px solid var(--u-line); }
.mrow { display: flex; align-items: center; gap: 11px; padding: 8px 10px; border-radius: 13px; min-width: 0; }
.mrow.on, .mrow.lead { background: var(--u-raised); }
.mrow .orb-host { width: 38px; }
.mrow > div { min-width: 0; }
.mrow b { display: block; font-size: 14.5px; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mrow b span { font-weight: 450; font-size: 12.5px; color: var(--u-muted); margin-left: 4px; }
.mrow em { display: block; font-size: 12.5px; color: var(--u-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mhead { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--u-muted); padding: 10px 10px 4px; }
.mhead > span { margin-left: auto; font-size: 17px; line-height: 1; }
.mhead.grp > span { margin-left: 2px; font-size: 12.5px; }
.ui .mhead .i { width: 12px; height: 12px; }
@container (max-width: 700px) {
  .moons-win .win-top .ttl { margin-inline: 0; padding-left: 0; }
  .moons-win .win-top .rpill { display: none; }
  .moons-win .win-body { flex-direction: column; min-height: 0; }
  .mlist { width: auto; flex-direction: row; gap: 4px; padding: 12px 8px 10px; border-right: 0; border-bottom: 1px solid var(--u-line); overflow: hidden; }
  .mlist .mhead { display: none; }
  .mlist .mrow { flex-direction: column; gap: 5px; padding: 7px 6px; flex: 1 0 52px; }
  .mlist .mrow .orb-host { width: 36px; }
  .mlist .mrow b { font-size: 11.5px; text-align: center; }
  .mlist .mrow b span, .mlist .mrow em { display: none; }
  .msgs { padding: 16px 12px 12px; }
  .m { max-width: 92%; }
  .m p { font-size: 14px; }
  .comp { margin: 0 12px 12px; }
}

/* a project */
.proj-head { display: flex; align-items: center; gap: 12px; padding: 16px 16px 12px; }
.proj-head .orb-host { width: 42px; }
.proj-head b { display: block; font-size: 17px; color: #fff; }
.proj-head em { font-size: 13px; color: var(--u-muted); }
.proj-head .pill { margin-left: auto; }
.utabs { display: flex; gap: 4px; padding: 0 10px; border-bottom: 1px solid var(--u-line); }
.utabs button { display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 9px; border: 0; background: none; color: var(--u-muted); font: 600 13.5px/1 inherit; font-family: inherit; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.utabs button span { font-weight: 500; font-size: 12px; opacity: .8; }
.utabs button[aria-selected="true"] { color: #fff; border-bottom-color: var(--accent); }
.utabs button:hover { color: var(--u-text); }
.urows { padding: 8px; min-height: 252px; }
.urows[hidden] { display: none; }
.row { display: flex; align-items: center; gap: 12px; padding: 11px 10px; border-radius: 11px; }
.row + .row { margin-top: 2px; }
.row:first-child { background: var(--u-raised); }
.row > .i { color: var(--u-muted); width: 18px; height: 18px; }
.row .orb-host { width: 26px; margin: 0 -4px; }
.row b { display: block; font-size: 14px; color: #fff; }
.row em { font-size: 12.5px; color: var(--u-muted); }
.row.done b { color: var(--u-muted); text-decoration: line-through; }
@container (max-width: 400px) { .utabs button .i { display: none; } .utabs { gap: 0; } }

/* board */
.kb { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding: 14px; }
.kcol h4 { margin: 0 0 9px 2px; font: 650 12.5px/1 inherit; font-family: inherit; color: var(--u-text-2); }
.kcol h4 span { color: var(--u-muted); margin-left: 4px; font-weight: 500; }
.kc { background: var(--u-raised); border: 1px solid var(--u-line); border-radius: 12px; padding: 11px; display: grid; gap: 3px; }
.kc + .kc { margin-top: 8px; }
.kc.hot { border-color: color-mix(in srgb, var(--accent) 60%, transparent); }
.kc b { font-size: 13.5px; color: #fff; line-height: 1.25; }
.kc em { font-size: 12px; color: var(--u-muted); }
.kc .who { margin-top: 6px; }
.prog, .mini-bar { height: 4px; border-radius: 2px; background: var(--u-raised-2); margin-top: 5px; overflow: hidden; display: block; }
.prog i, .mini-bar i { display: block; height: 100%; width: 71%; border-radius: 2px; background: var(--accent); }
@container (max-width: 430px) { .kb { grid-template-columns: repeat(2, minmax(0, 1fr)); } .kcol:nth-child(1) { display: none; } }

/* planner */
.pl { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.ucal { padding: 12px 12px 12px 10px; }
.hr { position: relative; height: 44px; border-top: 1px solid var(--u-line); padding-left: 44px; }
.hr > span { position: absolute; left: 0; top: 4px; font-size: 11px; color: var(--u-muted); }
.ev { background: color-mix(in srgb, var(--c) 22%, var(--u-bg)); border-left: 3px solid var(--c); border-radius: 7px; padding: 4px 8px; margin-top: 3px; height: 37px; overflow: hidden; }
.ev.tall { height: 81px; position: relative; z-index: 1; }
.ev b { display: block; font-size: 12.5px; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.25; }
.ev em { display: block; font-size: 11px; color: var(--u-text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tlist { padding: 14px; border-left: 1px solid var(--u-line); }
.tlist h4, .pad-main h4 { margin: 0 0 10px; font: 650 13.5px/1 inherit; font-family: inherit; color: #fff; }
.t { display: flex; align-items: center; gap: 9px; padding: 7px 0; font-size: 13px; }
.t.done { color: var(--u-muted); text-decoration: line-through; }
@container (max-width: 430px) { .pl { grid-template-columns: 1fr; } .tlist { display: none; } }
@media (min-width: 861px) { .board-win, .plan-win { height: 322px; } .pc-win, .web-win { height: 318px; } }

/* a doc */
.dpage { padding: 20px 22px 22px; }
.dpage h3 { font: 700 21px/1.2 inherit; font-family: inherit; color: #fff; letter-spacing: -0.01em; margin: 0; }
.dpage .meta { font-size: 12.5px; color: var(--u-muted); margin-top: 4px; }
.dpage h4 { font: 650 14.5px/1.2 inherit; font-family: inherit; color: #fff; margin: 18px 0 6px; }
.dpage p { font-size: 13.5px; color: var(--u-text-2); }
.chk { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; font-size: 13.5px; }
.chk li { display: flex; align-items: center; gap: 9px; }
.chk li.done { color: var(--u-muted); text-decoration: line-through; }

/* inbox */
.umail { padding: 8px; }
.ml { display: flex; gap: 11px; padding: 10px; border-radius: 12px; align-items: center; }
.ml.on { background: var(--u-raised); }
.ml > div { min-width: 0; }
.ml b { display: flex; align-items: center; gap: 7px; font-size: 13.5px; color: #fff; white-space: nowrap; }
.ml em { display: block; font-size: 12.5px; color: var(--u-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.draft, .await { margin: 8px 2px 4px; padding: 13px; border-radius: 14px; border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent); background: color-mix(in srgb, var(--accent) 8%, var(--u-panel)); display: grid; gap: 10px; }
.draft p { font-size: 13.5px; color: var(--u-text-2); line-height: 1.45; }

/* team chat */
.ufaces { display: flex; align-items: center; }
.ufaces > * { margin-left: -6px; box-shadow: 0 0 0 2px var(--u-bg); }
.ufaces .av { width: 22px; height: 22px; font-size: 10.5px; }
.ufaces .mdot { width: 22px; height: 22px; }
.tc { padding: 16px 14px; display: grid; gap: 14px; }
.tm { display: flex; gap: 10px; align-items: flex-start; }
.tm .orb-host { width: 26px; }
.tm b { display: flex; align-items: center; gap: 7px; font-size: 13px; color: #fff; }
.tm p { font-size: 13.5px; color: var(--u-text-2); margin-top: 1px; }
.at { color: color-mix(in srgb, var(--c, #b06cff) 70%, #fff); font-weight: 650; --c: #b06cff; }
.dlink { display: inline-flex; align-items: center; gap: 7px; margin-top: 7px; padding: 6px 10px; border-radius: 9px; background: var(--u-raised); border: 1px solid var(--u-line); font-size: 12.5px; font-weight: 600; color: var(--u-text); }
.ui .dlink .i { width: 14px; height: 14px; color: var(--u-muted); }
@media (min-width: 981px) { .doc-win, .inbox-win, .team-win { height: 372px; } }

/* a Moon's computer */
.pc-win .win-top .ubtn, .web-win .win-top .seg2 { flex: none; }
.udesk { position: relative; height: 276px; background: radial-gradient(120% 90% at 20% 0%, #2a1c14, #101014 70%); overflow: hidden; }
.dwin { position: absolute; border-radius: 10px; background: #17171a; box-shadow: 0 0 0 1px var(--u-line-2), 0 18px 40px -12px rgba(0, 0, 0, .7); overflow: hidden; }
.dwin.w1 { left: 5%; top: 22px; width: 56%; }
.dwin.w2 { right: 5%; top: 92px; width: 46%; }
.dbar { height: 26px; display: flex; align-items: center; gap: 8px; padding: 0 10px; border-bottom: 1px solid var(--u-line); font-size: 11.5px; color: var(--u-text-2); }
.dbar i { width: 8px; height: 8px; border-radius: 50%; background: var(--u-raised-2); }
.dwin pre { margin: 0; padding: 12px; font: 400 12px/1.6 var(--mono); color: var(--u-text-2); white-space: pre-wrap; }
.dwin pre .ok { color: #5fd18b; }
.sk { padding: 14px 12px 18px; display: grid; gap: 9px; }
.sk i { height: 7px; border-radius: 4px; background: var(--u-raised-2); }
.sk i.l1 { width: 55%; height: 10px; background: #3a3a40; } .sk i.l2 { width: 70%; }
.ptr { position: absolute; display: inline-flex; align-items: flex-start; filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .5)); animation: nudge 5s ease-in-out infinite; z-index: 2; }
.ptr svg { width: 20px; height: 20px; fill: var(--c); stroke: #fff; stroke-width: 1.4; stroke-linejoin: round; }
.ptr b { margin: 14px 0 0 -2px; padding: 2px 8px; border-radius: 999px; background: var(--c); color: #14151a; font-size: 11px; }
.udesk .ptr { left: 52%; top: 150px; }
.wpage .ptr { left: 44%; top: 150px; }
@keyframes nudge { 0%, 100% { transform: none; } 40% { transform: translate(26px, -18px); } 70% { transform: translate(-10px, 8px); } }
@media (prefers-reduced-motion: reduce) { .ptr { animation: none; } }

/* browser */
.wtabs { display: flex; gap: 4px; min-width: 0; }
.wtab { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: 8px; font-size: 12.5px; white-space: nowrap; }
.wtab.on { background: var(--u-raised); color: var(--u-text); }
.ui .wtab .i { width: 13px; height: 13px; }
.addr { margin: 9px 12px; height: 30px; border-radius: 15px; background: var(--u-raised); display: flex; align-items: center; gap: 8px; padding: 0 12px; font-size: 12.5px; color: var(--u-text-2); min-width: 0; }
.addr span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ui .addr .i { width: 12px; height: 12px; color: var(--u-muted); }
.wpage { position: relative; margin: 0 12px; height: 228px; border-radius: 10px 10px 0 0; background: #f7f1e8; color: #2a211a; overflow: hidden; }
.pg-hero { padding: 18px 16px 14px; background: #2f4a3a; color: #f7f1e8; }
.pg-hero b { display: block; font: 700 22px/1.1 Georgia, 'Times New Roman', serif; }
.pg-hero em { font-size: 12px; opacity: .85; }
.pg-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 14px; }
.pg-cards div { background: #fff; border-radius: 8px; padding: 8px; box-shadow: 0 1px 0 rgba(42, 33, 26, .12); }
.pg-cards i { display: block; height: 58px; border-radius: 5px; background: linear-gradient(135deg, #d9b98c, #b8875a); margin-bottom: 7px; }
.pg-cards div:nth-child(2) i { background: linear-gradient(135deg, #e8cf9a, #c99a4d); } .pg-cards div:nth-child(3) i { background: linear-gradient(135deg, #e0a05c, #a8602c); }
.pg-cards b { font-size: 11.5px; color: #2a211a; }

/* apps */
.apps-win { padding-bottom: 14px; }
.apps-win .msgs { padding-bottom: 6px; }
.app-card { margin: 10px 16px 0 48px; padding: 16px; border-radius: 16px; background: var(--u-raised); border: 1px solid var(--u-line-2); }
.ac-top { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: #fff; }
.ac-top .pill { margin-left: auto; }
.aic { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 28%, transparent); color: color-mix(in srgb, var(--c) 65%, #fff); }
.cdown { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; }
.cdown div { background: var(--u-bg); border-radius: 12px; padding: 12px 6px 10px; text-align: center; }
.cdown b { display: block; font: 600 30px/1 var(--display); letter-spacing: -0.04em; color: #fff; }
.cdown em { font-size: 11.5px; color: var(--u-muted); }
.app-card .mini-bar { margin-top: 14px; height: 6px; border-radius: 3px; }
.app-card p { margin-top: 8px; font-size: 12.5px; color: var(--u-muted); }
.app-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 16px 2px 48px; }
.app-row span { display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 11px; border-radius: 10px; background: var(--u-panel); border: 1px solid var(--u-line); font-size: 12.5px; color: var(--u-text-2); white-space: nowrap; }
.ui .app-row .i { width: 14px; height: 14px; }
@container (max-width: 400px) { .app-card, .app-row { margin-left: 16px; } }

/* colour */
.theme-band { background: radial-gradient(50% 60% at 75% 50%, color-mix(in srgb, var(--moon) 20%, transparent), transparent 72%), var(--space); }
.swatches { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.swatches button { width: 40px; height: 40px; border-radius: 50%; border: 0; padding: 0; cursor: pointer; background: radial-gradient(circle at 35% 30%, color-mix(in srgb, var(--c) 55%, #fff), var(--c) 55%, color-mix(in srgb, var(--c) 62%, #000)); box-shadow: 0 0 0 2px var(--space), 0 0 0 3px transparent; transition: transform .2s var(--ease), box-shadow .2s; }
.swatches button:hover { transform: scale(1.08); }
.swatches button[aria-pressed="true"] { box-shadow: 0 0 0 3px var(--space), 0 0 0 5px var(--c); }
.theme-win { display: flex; min-height: 330px; }
.uside { width: 176px; flex: none; margin: 8px 0 8px 8px; border-radius: 14px; background: var(--u-side); border: 1px solid var(--u-line-2); padding: 12px 8px; display: flex; flex-direction: column; gap: 1px; }
.ubrand { display: flex; align-items: center; gap: 9px; padding: 0 6px 12px; font-size: 16px; font-weight: 700; color: #fff; }
.ulogo { width: 28px; height: 28px; border-radius: 9px; background: linear-gradient(160deg, color-mix(in srgb, var(--accent) 70%, #fff), var(--accent)); display: grid; place-items: center; }
.ulogo .orb-host { width: 22px; }
.it { position: relative; height: 33px; display: flex; align-items: center; gap: 10px; padding: 0 9px; border-radius: 9px; color: var(--u-text-2); font-size: 13.5px; font-weight: 500; }
.it .orb-host { width: 18px; margin: 0 -1px; }
.it.on { color: #fff; font-weight: 650; background: linear-gradient(90deg, color-mix(in srgb, var(--accent) 24%, transparent), transparent 75%); }
.it.on::before { content: ''; position: absolute; left: -8px; top: 7px; bottom: 7px; width: 3px; border-radius: 0 3px 3px 0; background: var(--accent); }
.bdg { margin-left: auto; min-width: 18px; height: 18px; border-radius: 9px; background: var(--bub); color: var(--bub-ink); font-style: normal; font-size: 11px; font-weight: 700; display: grid; place-items: center; padding: 0 5px; }
@container (max-width: 430px) { .uside { width: 132px; } .ubrand { font-size: 14.5px; } }

/* phones and tablets: sized by the device's own width (cqw), so they scale as one */
.devices { display: grid; grid-template-columns: 200fr 310fr 400fr 196fr; gap: clamp(14px, 2vw, 26px); align-items: end; max-width: 1180px; }
.dv { position: relative; background: #050506; box-shadow: 0 0 0 2px #2b2d33, 0 0 0 3px #111, 0 30px 60px -24px rgba(14, 18, 28, .7); overflow: hidden; }
.dv .sc { position: absolute; inset: 3.2cqw; background: var(--u-bg); overflow: hidden; display: flex; flex-direction: column; font-size: 5.5cqw; }
.dv.iphone { aspect-ratio: 200 / 412; border-radius: 15% / 7.3%; } .dv.iphone .sc { border-radius: 12.5cqw; }
.dv.iphone .sc::before { content: ''; position: absolute; left: 50%; top: 2.6cqw; width: 28cqw; height: 7.5cqw; margin-left: -14cqw; border-radius: 4cqw; background: #000; z-index: 3; }
.dv.android { aspect-ratio: 196 / 404; border-radius: 11% / 5.3%; } .dv.android .sc { border-radius: 8.6cqw; }
.dv.android .sc::before { content: ''; position: absolute; left: 50%; top: 3.4cqw; width: 4.4cqw; height: 4.4cqw; margin-left: -2.2cqw; border-radius: 50%; background: #000; z-index: 3; }
.dv.fold { aspect-ratio: 310 / 350; border-radius: 6% / 5.3%; } .dv.fold .sc { inset: 2cqw; border-radius: 4.4cqw; flex-direction: row; font-size: 3.5cqw; }
.dv.fold .sc::after { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 4cqw; margin-left: -2cqw; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .05) 45%, rgba(0, 0, 0, .4) 50%, rgba(255, 255, 255, .05) 55%, transparent); pointer-events: none; }
.dv.ipad { aspect-ratio: 400 / 296; border-radius: 4.6% / 6.2%; } .dv.ipad .sc { inset: 2cqw; border-radius: 3cqw; flex-direction: row; font-size: 2.8cqw; }
.ph-top { display: flex; align-items: center; gap: .6em; padding: 2.6em 1em .7em; border-bottom: 1px solid var(--u-line); font-size: 1em; }
.ph-top .orb-host { width: 1.9em; }
.ui .ph-top .i { width: 1.3em; height: 1.3em; color: var(--u-muted); }
.ph-top b { color: #fff; }
.ph-top em { margin-left: auto; font-size: .82em; color: var(--u-muted); }
.dv .msgs { padding: .9em .8em 5.2em; gap: .6em; }
.dv .m { max-width: 90%; }
.dv .m p { font-size: 1em; padding: .55em .8em; border-radius: 1.2em; line-height: 1.35; }
.dv .m.you p { border-bottom-right-radius: .4em; } .dv .m.moon p { border-bottom-left-radius: .4em; }
.udock { position: absolute; left: .8em; right: .8em; bottom: .8em; height: 3.5em; border-radius: 1.75em; background: rgba(30, 31, 36, .86); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14), 0 10px 30px rgba(0, 0, 0, .5); display: flex; align-items: center; justify-content: space-around; color: #e8e8ea; }
.ui .udock .i { width: 1.35em; height: 1.35em; }
.udock .mid { width: 2.9em; height: 2.9em; margin-top: -1.4em; border-radius: 50%; background: var(--bub); display: grid; place-items: center; box-shadow: 0 0 0 .18em rgba(255, 255, 255, .16); }
.udock .mid .orb-host { width: 2.1em; }
.dv .ucal { padding: .9em .8em; display: grid; gap: .55em; align-content: start; }
.dv .ev { height: auto; margin: 0; padding: .55em .7em; border-radius: .6em; border-left-width: .25em; }
.dv .ev b { font-size: 1em; } .dv .ev em { font-size: .84em; }
.fold-l { width: 50%; padding: 1.2em .7em; display: grid; gap: .3em; align-content: start; border-right: 1px solid var(--u-line); }
.fold-r { width: 50%; display: flex; }
.dv .mrow { gap: .7em; padding: .6em .6em; border-radius: 1em; }
.dv .mrow .orb-host { width: 2.6em; }
.dv .mrow b { font-size: 1em; } .dv .mrow em { font-size: .86em; }
.fold-r .msgs { padding: 1.2em .9em; justify-content: flex-start; }
.pad-side { width: 27%; margin: 1em 0 1em 1em; padding: 1em .6em; border-radius: 1.2em; background: var(--u-side); border: 1px solid var(--u-line-2); display: grid; gap: .1em; align-content: start; }
.dv .it { height: 2.5em; font-size: 1em; gap: .7em; padding: 0 .6em; border-radius: .7em; }
.dv .it .orb-host { width: 1.4em; } .ui.dv .it .i { width: 1.25em; height: 1.25em; }
.dv .it.on::before { left: -.6em; top: .5em; bottom: .5em; width: .25em; }
.pad-main { flex: 1; min-width: 0; padding: 1.6em 1.3em; }
.dv .pad-main h4 { font-size: 1.25em; margin-bottom: .9em; }
.dv .await { margin: 0 0 .8em; padding: 1em; border-radius: 1em; gap: .8em; }
.dv .dh { font-size: 1em; gap: .6em; } .dv .dh .orb-host { width: 1.9em; }
.dv .ubtn { height: 2.3em; padding: 0 .9em; border-radius: .7em; font-size: .95em; }
.dv .acts { gap: .6em; }
@media (max-width: 860px) {
  .devices { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 16px; max-width: 460px; margin-inline: auto; align-items: start; }
  .dv.fold, .dv.ipad { grid-column: 1 / -1; }
  .dv.android { order: 1; } .dv.fold { order: 2; width: 82%; justify-self: center; } .dv.ipad { order: 3; }
}

/* calls and other computers */
.call-mock, .pcs { display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: 18px; background: var(--u-bg); box-shadow: 0 0 0 1px rgba(14, 18, 28, .6), 0 30px 60px -36px rgba(14, 18, 28, .6); min-height: 120px; }
.call-mock .orb-host { width: 54px; }
.call-mock b { display: block; font-size: 16px; color: #fff; }
.call-mock em { font-size: 13px; color: var(--u-muted); white-space: nowrap; }
.waves { margin-left: auto; display: flex; align-items: center; gap: 4px; height: 40px; }
.waves i { width: 4px; border-radius: 2px; background: var(--accent); height: 30%; animation: wave 1.1s ease-in-out infinite; }
.waves i:nth-child(2) { animation-delay: -.2s; } .waves i:nth-child(3) { animation-delay: -.5s; } .waves i:nth-child(4) { animation-delay: -.8s; } .waves i:nth-child(5) { animation-delay: -.35s; } .waves i:nth-child(6) { animation-delay: -.65s; } .waves i:nth-child(7) { animation-delay: -.1s; }
@keyframes wave { 0%, 100% { height: 22%; } 50% { height: 100%; } }
@media (prefers-reduced-motion: reduce) { .waves i { animation: none; height: 60%; } .waves i:nth-child(odd) { height: 30%; } }
.hang { width: 42px; height: 42px; flex: none; border-radius: 50%; background: #e5484d; color: #fff; display: grid; place-items: center; }
.ui .hang .i { width: 19px; height: 19px; transform: rotate(135deg); }
.pcs { gap: 0; }
.pc { flex: 1; min-width: 0; display: grid; justify-items: center; gap: 2px; padding: 4px; text-align: center; }
.ui .pc .i { width: 30px; height: 30px; color: var(--u-text-2); margin-bottom: 4px; }
.pc.main .i { color: var(--accent); }
.pc b { font-size: 13.5px; color: #fff; }
.pc em { font-size: 12px; color: var(--u-muted); }
.link-line { flex: 0 1 90px; height: 2px; background-image: linear-gradient(90deg, var(--accent) 50%, transparent 50%); background-size: 10px 2px; animation: dash 1s linear infinite; }
@keyframes dash { to { background-position: 10px 0; } }
@media (prefers-reduced-motion: reduce) { .link-line { animation: none; } }
@media (max-width: 420px) { .waves i:nth-child(n+6) { display: none; } .call-mock { gap: 11px; padding: 16px 14px; } }

/* approvals and models */
.ui.approve, .ui.mods { border-radius: 18px; background: var(--u-bg); padding: 18px; display: grid; gap: 14px; min-height: 316px; align-content: center; }
.approve .dh { font-size: 15px; } .approve .dh .orb-host { width: 30px; }
.letter { padding: 14px; border-radius: 12px; background: var(--u-raised); border: 1px solid var(--u-line); }
.letter em { display: block; font-size: 12.5px; color: var(--u-muted); margin-bottom: 6px; }
.letter p { font-size: 14px; color: var(--u-text-2); line-height: 1.45; }
.approve .ubtn { height: 34px; padding: 0 14px; font-size: 13.5px; }
.ui.mods { gap: 8px; }
.mo { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 13px; background: var(--u-raised); border: 1px solid var(--u-line); }
.mo.on { border-color: color-mix(in srgb, var(--accent) 65%, transparent); background: color-mix(in srgb, var(--accent) 10%, var(--u-raised)); }
.mo .mdot { width: 22px; height: 22px; }
.mo b { display: block; font-size: 14.5px; color: #fff; }
.mo em { font-size: 12.5px; color: var(--u-muted); }
.radio { margin-left: auto; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--u-line-2); }
.mo.on .radio { border: 5px solid var(--bub); background: #fff; }
