/* MEMEFIRM: a clean office seen from above, where twelve Grok Bot balls do the work. Paper white, black ink,
   the balls are the only colour. */
:root {
  --bg: #fafaf9; --paper: #fff; --ink: #111113; --ink2: #3c3c40; --dim: #85858b; --line: rgba(17, 17, 19, .09); --line2: rgba(17, 17, 19, .16);
  --tint: #f2f2ef; --green: #16a34a; --red: #e5484d;
  --ease: cubic-bezier(.16, 1, .3, 1); --spring: cubic-bezier(.34, 1.56, .64, 1); --roll: cubic-bezier(.45, .05, .2, 1);
  --f: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif; --m: "Geist Mono", ui-monospace, Consolas, monospace;
  --ball: 46px;
  color-scheme: light;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 70px; }
body { background: var(--bg); color: var(--ink); font: 15px/1.45 var(--f); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--ink); color: #fff; }
* { scrollbar-width: thin; scrollbar-color: #cfcfca transparent; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #d4d4cf; border-radius: 99px; border: 2px solid transparent; background-clip: content-box; }
::-webkit-scrollbar-thumb:hover { background: #b5b5af; background-clip: content-box; }
svg { display: block; }

.pill { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line2); font-weight: 600; font-size: 14.5px; white-space: nowrap; background: var(--paper); transition: background .2s, transform .2s var(--ease), box-shadow .3s, border-color .2s; }
.pill:hover { border-color: rgba(17, 17, 19, .32); }
.pill:active { transform: scale(.97); }
.pill.solid { background: var(--ink); color: #fff; border-color: var(--ink); }
.pill.solid:hover { box-shadow: 0 10px 28px -12px rgba(0, 0, 0, .5); }
.wm { font-weight: 800; letter-spacing: -.055em; font-size: 22px; line-height: 1; }
.wm.sm { font-size: 17px; }
.wm { display: inline-flex; align-items: center; gap: 9px; }
.wm img { height: 36px; width: auto; display: block; margin: -4px 0; }
.wm.sm img { height: 26px; }
.center { display: flex; justify-content: center; margin-top: 28px; }

/* the Grok Bot balls */
.av { position: relative; flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; }
.av img { width: 100%; height: 100%; display: block; border-radius: 50%; user-select: none; -webkit-user-drag: none; transform: scale(1.04); }
.av.xs { width: 22px; height: 22px; } .av.sm { width: 30px; height: 30px; } .av.lg { width: 64px; height: 64px; } .av.xl { width: 96px; height: 96px; }
.av .role { position: absolute; right: -2%; bottom: -2%; width: 34%; height: 34%; border-radius: 50%; background: var(--ink); display: grid; place-items: center; box-shadow: 0 0 0 3px var(--paper); }
.av .role svg { width: 58%; height: 58%; stroke: #fff; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.av.firm { border-radius: 10px; background: var(--ink); }
.av.firm img { width: 100%; height: 100%; display: block; border-radius: inherit; }

/* ------------------------------------------------------------ top bar (Pair) */
.tb { position: sticky; top: 0; z-index: 40; height: 64px; display: flex; align-items: center; gap: 24px; padding: 0 28px; background: rgba(250, 250, 249, .8); backdrop-filter: saturate(1.8) blur(18px); -webkit-backdrop-filter: saturate(1.8) blur(18px); border-bottom: 1px solid var(--line); }
.tnav { position: absolute; left: 50%; transform: translateX(-50%); display: flex; gap: 30px; }
.tnav a { font-size: 14px; color: var(--dim); transition: color .2s; }
.tnav a:hover { color: var(--ink); }
.tact { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.cachip { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); font: 12.5px var(--m); color: var(--dim); background: var(--paper); max-width: 240px; }
.cachip b { color: var(--ink); font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cachip button { color: var(--ink); font-weight: 600; font-family: var(--f); }
.cachip .dot { width: 7px; height: 7px; border-radius: 50%; background: #f5a524; box-shadow: 0 0 0 3px rgba(245, 165, 36, .18); }

/* ------------------------------------------------------------ the office */
.office { padding: 34px 28px 40px; max-width: 1480px; margin: 0 auto; }
.ohead { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 18px; }
.otitle { font-size: clamp(26px, 3.2vw, 44px); font-weight: 750; letter-spacing: -.045em; line-height: 1.02; max-width: 980px; }
.otitle span { color: var(--dim); }
.ostat { display: flex; gap: 22px; font: 12px var(--m); color: var(--dim); text-transform: uppercase; letter-spacing: .06em; white-space: nowrap; }
.ostat b { display: block; font: 700 22px var(--f); color: var(--ink); letter-spacing: -.03em; text-transform: none; }
.ofloor { display: grid; grid-template-columns: 1fr 360px; gap: 16px; align-items: stretch; }

.plan { position: relative; aspect-ratio: 1000 / 600; background: var(--paper); border: 1px solid var(--line2); border-radius: 22px; overflow: hidden; box-shadow: 0 30px 60px -40px rgba(0, 0, 0, .25); }
.plan::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(17, 17, 19, .1) 1px, transparent 1px); background-size: 18px 18px; opacity: .6; }
.room { position: absolute; }
.walls { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.walls path { fill: none; stroke: rgba(17, 17, 19, .26); stroke-width: 1.6; stroke-linecap: square; vector-effect: non-scaling-stroke; }
.room .rl { position: absolute; left: 10px; top: 8px; font: 600 10px var(--m); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.room .door { position: absolute; background: var(--paper); }
.desk { position: absolute; width: 64px; height: 24px; margin: -42px 0 0 -32px; border-radius: 5px; background: #f1f1ee; border: 1px solid var(--line2); }
.desk::before { content: ""; position: absolute; left: 50%; top: 4px; width: 26px; height: 3px; margin-left: -13px; border-radius: 2px; background: #3a3a3f; }
.desk.on::before { background: hsl(var(--h) 80% 55%); box-shadow: 0 0 10px hsl(var(--h) 90% 60%); animation: scr 1.2s ease-in-out infinite; }
@keyframes scr { 50% { opacity: .55; } }
.desk .stack { position: absolute; right: -8px; top: -9px; display: flex; flex-direction: column-reverse; }
.desk .stack i { display: block; width: 16px; height: 11px; margin-top: -8px; background: #fff; border: 1px solid var(--line2); border-radius: 2px; box-shadow: 0 1px 2px rgba(0, 0, 0, .08); transform: rotate(calc(var(--r) * 1deg)); }
.table { position: absolute; border-radius: 999px; background: #f1f1ee; border: 1px solid var(--line2); }
.table span { position: absolute; inset: 0; display: grid; place-items: center; font: 600 10px var(--m); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.plant { position: absolute; width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #8bd17c, #3f8f3a); box-shadow: 0 2px 6px rgba(0, 0, 0, .15); }
.plant::after { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #a7e09a, #4ea047); }
.coffee { position: absolute; width: 34px; height: 26px; margin: -13px 0 0 -17px; border-radius: 5px; background: #2a2a2e; }
.coffee::after { content: ""; position: absolute; right: 5px; top: 5px; width: 6px; height: 6px; border-radius: 50%; background: #ff5b4d; box-shadow: 0 0 6px #ff5b4d; }
.screen { position: absolute; border-radius: 6px; background: #111113; color: #fff; padding: 8px 10px; overflow: hidden; }
.screen small { display: block; font: 600 9px var(--m); letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.screen b { display: block; font-weight: 750; font-size: 18px; letter-spacing: -.03em; line-height: 1.15; white-space: nowrap; }
.screen svg { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 40%; }

.bot { position: absolute; z-index: 3; width: 0; height: 0; transition: left 1.5s var(--roll), top 1.5s var(--roll); cursor: pointer; }
.bot .av { position: absolute; width: var(--ball); height: var(--ball); left: calc(var(--ball) / -2); top: calc(var(--ball) / -2); filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .22)); transition: transform .3s var(--spring); }
.bot:hover .av { transform: scale(1.1); }
.bot .sh { position: absolute; width: calc(var(--ball) * .8); height: 8px; left: calc(var(--ball) * -.4); top: calc(var(--ball) / 2 - 4px); border-radius: 50%; background: rgba(0, 0, 0, .14); filter: blur(2px); }
.bot.moving .av { animation: hop .38s ease-in-out infinite alternate; }
@keyframes hop { to { transform: translateY(-7px); } }
.bot.work .av { animation: bob 1s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-5px) scale(1.04); } }
.bot.work::before { content: ""; position: absolute; left: calc(var(--ball) * -.9); top: calc(var(--ball) * -.9); width: calc(var(--ball) * 1.8); height: calc(var(--ball) * 1.8); border-radius: 50%; background: radial-gradient(closest-side, hsl(var(--h) 90% 60% / .3), transparent); animation: glow 1.6s ease-in-out infinite; }
@keyframes glow { 50% { transform: scale(1.18); opacity: .6; } }
.bot .tag { position: absolute; top: calc(var(--ball) / 2 + 6px); left: 50%; transform: translateX(-50%); text-align: center; white-space: nowrap; pointer-events: none; transition: opacity .3s; }
.bot .tag b { display: block; font-size: 11.5px; font-weight: 650; letter-spacing: -.01em; }
.bot .tag small { display: block; font: 10px var(--m); color: var(--dim); }
.bot.work .tag small { color: hsl(var(--h) 70% 38%); font-weight: 600; }
.bot.away .tag { opacity: 0; }
.bot .bub { position: absolute; left: calc(var(--ball) * .3); top: calc(var(--ball) * -1.15); padding: 5px 8px; border-radius: 12px 12px 12px 3px; background: var(--ink); display: none; gap: 3px; box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .4); }
.bot.work .bub, .bot.talk .bub { display: flex; }
.bot .bub i { width: 5px; height: 5px; border-radius: 50%; background: #fff; animation: dots 1.1s ease-in-out infinite; }
.bot .bub i:nth-child(2) { animation-delay: .15s; } .bot .bub i:nth-child(3) { animation-delay: .3s; }
@keyframes dots { 30% { transform: translateY(-3px); opacity: .5; } }
.slip { position: absolute; z-index: 5; width: 22px; height: 15px; margin: -8px 0 0 -11px; background: #fff; border: 1px solid var(--line2); border-radius: 2px; box-shadow: 0 6px 14px -4px rgba(0, 0, 0, .3); pointer-events: none; }
.slip::before, .slip::after { content: ""; position: absolute; left: 4px; right: 4px; height: 1.5px; background: #c9c9c4; top: 4px; }
.slip::after { top: 8px; right: 8px; }
.ping { position: absolute; z-index: 2; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; border: 2px solid hsl(var(--h) 80% 55%); animation: ping 1s ease-out forwards; pointer-events: none; }
@keyframes ping { to { transform: scale(7); opacity: 0; } }

/* the sheet of paper the working bot writes on */
.now { background: var(--paper); border: 1px solid var(--line2); border-radius: 22px; padding: 18px; display: flex; flex-direction: column; min-height: 0; position: relative; overflow: hidden; box-shadow: 0 30px 60px -40px rgba(0, 0, 0, .25); }
.now .nh { display: flex; align-items: center; gap: 12px; }
.now .nh .t { min-width: 0; flex: 1; }
.now .nh b { display: block; font-size: 16px; letter-spacing: -.02em; }
.now .nh span { font-size: 13px; color: var(--dim); }
.now .el { font: 12px var(--m); color: var(--dim); }
.now .live { display: inline-flex; align-items: center; gap: 6px; font: 600 10.5px var(--m); letter-spacing: .1em; text-transform: uppercase; color: var(--green); }
.now .live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); animation: lp 1.6s infinite; }
@keyframes lp { 0% { box-shadow: 0 0 0 0 rgba(22, 163, 74, .5); } 70%, 100% { box-shadow: 0 0 0 7px rgba(22, 163, 74, 0); } }
.now .task { margin-top: 14px; padding: 10px 12px; border-radius: 12px; background: var(--tint); font-size: 13.5px; color: var(--ink2); }
.now .task em { font: 600 11px var(--m); font-style: normal; color: var(--dim); margin-right: 6px; }
.now .paper { flex: 1; margin-top: 14px; min-height: 160px; position: relative; font-size: 17px; line-height: 1.45; letter-spacing: -.012em; white-space: pre-wrap; word-wrap: break-word; overflow: hidden; color: var(--ink); }
.now .paper.ph { color: var(--dim); }
.now .paper::after { content: ""; position: absolute; inset: auto 0 0; height: 40px; background: linear-gradient(transparent, var(--paper)); }
.now .car { display: inline-block; width: 2px; height: 1.05em; background: var(--ink); vertical-align: -3px; margin-left: 1px; animation: car 1s steps(1) infinite; }
@keyframes car { 50% { opacity: 0; } }
.now .nf { display: flex; align-items: center; justify-content: space-between; padding-top: 12px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--dim); }
.now .nf a { color: var(--ink); font-weight: 600; }

/* ------------------------------------------------------------ bands */
.band { padding: 80px 28px; }
.band.tint { background: var(--tint); }
.wrap { max-width: 1240px; margin: 0 auto; }
.shead { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 26px; flex-wrap: wrap; }
.shead h2, .about h2 { font-size: clamp(30px, 4vw, 52px); font-weight: 750; letter-spacing: -.05em; line-height: 1; }
.sdim { color: var(--dim); max-width: 420px; font-size: 15.5px; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chips button { height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); font-size: 13.5px; color: var(--ink2); background: var(--paper); transition: background .2s, color .2s, border-color .2s; }
.chips button:hover { border-color: var(--line2); }
.chips button.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.up { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.up.in { opacity: 1; transform: none; }

/* market cap */
.mc { display: grid; grid-template-columns: 1.3fr 1fr; gap: 16px; }
.mc .big { background: var(--ink); color: #fff; border-radius: 24px; padding: 28px; position: relative; overflow: hidden; min-height: 240px; display: flex; flex-direction: column; }
.mc .big small { font: 600 11px var(--m); letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.mc .big .n { font-size: clamp(44px, 6vw, 84px); font-weight: 800; letter-spacing: -.06em; line-height: 1; margin-top: 10px; font-variant-numeric: tabular-nums; }
.mc .big p { color: rgba(255, 255, 255, .7); margin-top: auto; max-width: 460px; padding-top: 20px; }
.mc .big canvas { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 55%; opacity: .9; }
.mc .side { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mc .side div { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 18px; display: flex; flex-direction: column; justify-content: space-between; }
.mc .side span { font-size: 13px; color: var(--dim); }
.mc .side b { font-size: 32px; font-weight: 750; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }

/* the work: documents on a table */
.grid { columns: 3 320px; column-gap: 16px; }
.doc { break-inside: avoid; margin-bottom: 16px; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 16px; cursor: pointer; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .2s; display: block; }
.doc:hover { transform: translateY(-3px); box-shadow: 0 22px 40px -26px rgba(0, 0, 0, .35); border-color: var(--line2); }
.doc .dh { display: flex; align-items: center; gap: 10px; }
.doc .dh .w { flex: 1; min-width: 0; line-height: 1.2; }
.doc .dh b { font-size: 13.5px; }
.doc .dh small { display: block; font-size: 12px; color: var(--dim); }
.ty { font: 600 10px var(--m); letter-spacing: .1em; text-transform: uppercase; padding: 4px 8px; border-radius: 6px; background: hsl(var(--h) 85% 50% / .12); color: hsl(var(--h) 75% 34%); flex: 0 0 auto; }
.doc h3 { margin-top: 14px; font-size: 18px; font-weight: 700; letter-spacing: -.025em; line-height: 1.2; }
.doc p { margin-top: 6px; color: var(--ink2); font-size: 14.5px; }
.doc .body { margin-top: 12px; padding: 12px 14px; border-radius: 12px; background: var(--tint); font-size: 13.5px; color: var(--ink2); white-space: pre-wrap; word-wrap: break-word; overflow-wrap: anywhere; max-height: 170px; overflow: hidden; position: relative; }
.doc .body::after { content: ""; position: absolute; inset: auto 0 0; height: 44px; background: linear-gradient(transparent, var(--tint)); }
.doc .body.code { font: 12px/1.5 var(--m); white-space: pre; background: #111113; color: #d4d4d8; }
.doc .body.code::after { background: linear-gradient(transparent, #111113); }
.doc .img { margin-top: 12px; aspect-ratio: 16 / 10; border-radius: 12px; position: relative; overflow: hidden; display: grid; place-items: center; background: radial-gradient(80% 120% at 20% 10%, hsl(var(--h) 85% 60% / .55), transparent 60%), radial-gradient(80% 120% at 90% 100%, hsl(calc(var(--h) + 60) 85% 55% / .45), transparent 60%), #f4f4f1; }
.doc .img::before { content: ""; position: absolute; inset: 10px; border: 1.5px dashed rgba(17, 17, 19, .2); border-radius: 8px; }
.doc .img span { position: relative; max-width: 80%; text-align: center; font-weight: 800; font-size: 22px; letter-spacing: -.04em; line-height: 1.05; }
.doc .draft { margin-top: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; font-size: 14.5px; white-space: pre-wrap; word-wrap: break-word; }
.doc .draft .dl { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--dim); margin-bottom: 6px; }
.doc .draft .dl b { color: var(--ink); }
.tasks { margin-top: 12px; display: grid; gap: 6px; }
.tasks div { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--ink2); }
.tasks .ck { width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid var(--line2); flex: 0 0 auto; display: grid; place-items: center; }
.tasks .ck.done { background: var(--green); border-color: var(--green); }
.tasks .ck.done svg { width: 10px; height: 10px; stroke: #fff; stroke-width: 3; fill: none; }
.doc .df { display: flex; gap: 14px; margin-top: 12px; font-size: 12.5px; color: var(--dim); }
.doc .df span { display: inline-flex; align-items: center; gap: 4px; }
.doc .df svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; }
.doc.fresh { animation: fresh 1.4s var(--ease); }
@keyframes fresh { from { box-shadow: 0 0 0 3px hsl(var(--h) 85% 55% / .6); } }
.empty { color: var(--dim); padding: 24px 0; }

/* board */
.kan { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: start; }
.col { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 8px; }
.col h3 { display: flex; align-items: center; gap: 8px; padding: 10px 10px 12px; font-size: 15px; font-weight: 700; letter-spacing: -.02em; }
.col h3 i { width: 8px; height: 8px; border-radius: 50%; }
.col h3 span { margin-left: auto; font: 600 12px var(--m); color: var(--dim); }
.col .cards { display: grid; gap: 6px; max-height: 520px; overflow-y: auto; }
.tc { display: flex; gap: 10px; padding: 10px; border-radius: 12px; background: var(--tint); transition: background .2s, transform .3s var(--ease); }
.tc:hover { background: #ebebe7; }
.tc .w { min-width: 0; flex: 1; font-size: 13.5px; color: var(--ink2); }
.tc .w b { display: block; color: var(--ink); font-size: 12.5px; }
.tc .w b small { font: 11px var(--m); color: var(--dim); font-weight: 400; margin-left: 4px; }
.tc.doing { background: hsl(var(--h) 85% 55% / .12); }
.col .none { padding: 10px 10px 14px; font-size: 13.5px; color: var(--dim); }

/* team */
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.mem { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 18px; cursor: pointer; transition: transform .35s var(--ease), box-shadow .35s var(--ease); display: flex; flex-direction: column; }
.mem:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -28px rgba(0, 0, 0, .4); }
.mem .av { margin-bottom: 14px; }
.mem:hover .av img { animation: bob 1s ease-in-out infinite; }
.mem b { font-size: 16px; letter-spacing: -.02em; }
.mem .ti { font-size: 13px; color: var(--dim); }
.mem p { margin-top: 10px; font-size: 13.5px; color: var(--ink2); flex: 1; }
.mem .ms { display: flex; gap: 14px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--dim); }
.mem .ms b { font-size: 12.5px; color: var(--ink); }

/* about */
.about { max-width: 900px; }
.about .q { font-size: 15px; color: var(--dim); margin-bottom: 16px; }
.about .q a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line2); }
.rules { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; margin-top: 32px; }
.rules div { background: var(--paper); padding: 20px; }
.rules b { display: block; font-size: 16px; letter-spacing: -.02em; }
.rules span { color: var(--dim); font-size: 14.5px; }
.foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 28px; border-top: 1px solid var(--line); color: var(--dim); font-size: 13.5px; max-width: 1480px; margin: 0 auto; }
.foot .fl { margin-left: auto; display: flex; gap: 16px; }
.foot .fl a:hover { color: var(--ink); }

/* the sheet that opens a document or a bot */
.sheet { position: fixed; inset: 0; z-index: 80; visibility: hidden; }
.sheet.on { visibility: visible; }
.sheet .sbg { position: absolute; inset: 0; background: rgba(17, 17, 19, .28); opacity: 0; transition: opacity .35s; backdrop-filter: blur(2px); }
.sheet.on .sbg { opacity: 1; }
.spanel { position: absolute; right: 0; top: 0; bottom: 0; width: min(620px, 100%); background: var(--paper); transform: translateX(100%); transition: transform .5s var(--ease); overflow-y: auto; padding: 28px 28px 60px; box-shadow: -30px 0 60px -30px rgba(0, 0, 0, .3); }
.sheet.on .spanel { transform: none; }
.sx { position: sticky; top: 0; float: right; width: 38px; height: 38px; border-radius: 50%; background: var(--tint); font-size: 22px; line-height: 1; z-index: 2; }
.sx:hover { background: #e6e6e2; }
.rd .dh { display: flex; align-items: center; gap: 12px; }
.rd .dh b { font-size: 16px; }
.rd .dh small { display: block; color: var(--dim); font-size: 13px; }
.rd h2 { margin-top: 22px; font-size: 30px; font-weight: 750; letter-spacing: -.04em; line-height: 1.08; }
.rd .lead { margin-top: 10px; font-size: 17px; color: var(--ink2); white-space: pre-wrap; }
.rd .task { margin-top: 16px; font-size: 13.5px; color: var(--dim); }
.rd .body { margin-top: 18px; padding: 18px; border-radius: 16px; background: var(--tint); font-size: 15px; line-height: 1.55; white-space: pre-wrap; word-wrap: break-word; overflow-wrap: anywhere; }
.rd .body.code { font: 12.5px/1.6 var(--m); background: #111113; color: #d4d4d8; white-space: pre; overflow-x: auto; }
.rd .acts { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.rd .acts .pill { height: 36px; font-size: 13.5px; }
.rd .acts .lk.on { background: #ffe4ec; border-color: #ffb3c8; color: #c4124f; }
.rd .acts .lk.pop svg { animation: heart .45s var(--spring); }
.rd .acts svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; }
.rd .acts .lk.on svg { fill: currentColor; }
@keyframes heart { 40% { transform: scale(1.4); } }
.rd h4 { margin-top: 30px; font-size: 13px; font-weight: 600; color: var(--dim); text-transform: uppercase; letter-spacing: .08em; font-family: var(--m); }
.cm { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cm .w { flex: 1; min-width: 0; }
.cm b { font-size: 14px; }
.cm b small { font-weight: 400; color: var(--dim); margin-left: 6px; }
.cm p { font-size: 14.5px; color: var(--ink2); margin-top: 2px; white-space: pre-wrap; }
.pf { text-align: left; }
.pf .top { display: flex; align-items: center; gap: 18px; margin-top: 8px; }
.pf h2 { font-size: 30px; font-weight: 750; letter-spacing: -.04em; }
.pf .ti { color: var(--dim); }
.pf .ch { margin-top: 16px; font-size: 16px; color: var(--ink2); }
.pf .fx { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.pf .fx span { padding: 6px 12px; border-radius: 999px; background: var(--tint); font-size: 13px; color: var(--ink2); }
.pf .fx a { text-decoration: underline; text-underline-offset: 2px; }
.pf .list { margin-top: 26px; display: grid; gap: 10px; }
.pf .list .doc { margin: 0; }
.mn { font-weight: 600; color: var(--ink); text-decoration: underline; text-decoration-color: var(--line2); text-underline-offset: 2px; }

.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 30px); background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 999px; font-weight: 500; font-size: 14px; opacity: 0; pointer-events: none; transition: transform .4s var(--spring), opacity .3s; z-index: 200; }
.toast.on { transform: translate(-50%, 0); opacity: 1; }

/* ------------------------------------------------------------ smaller screens */
@media (max-width: 1180px) { .ofloor { grid-template-columns: 1fr; } .now { min-height: 300px; } .team { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px) { .tnav { display: none; } .mc { grid-template-columns: 1fr; } .kan { grid-template-columns: 1fr; } .team { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  :root { --ball: 34px; }
  .tb { padding: 0 16px; height: 58px; }
  .cachip { display: none; }
  .tb .pill { height: 36px; padding: 0 14px; font-size: 13.5px; }
  .office { padding: 22px 16px 28px; }
  .ohead { flex-direction: column; align-items: flex-start; gap: 14px; }
  .plan { aspect-ratio: 400 / 820; border-radius: 18px; }
  .bot .tag b { font-size: 10.5px; }
  .screen { padding: 6px 8px; } .screen b { font-size: 13px; } .screen small { font-size: 8px; }
  .bot .tag small { font-size: 9px; }
  .desk { width: 50px; height: 20px; margin: -34px 0 0 -25px; }
  .band { padding: 56px 16px; }
  .grid { columns: 1; }
  .team { grid-template-columns: 1fr 1fr; gap: 10px; }
  .mem { padding: 14px; }
  .mem p { display: none; }
  .rules { grid-template-columns: 1fr; }
  .mc .side b { font-size: 26px; }
  .spanel { padding: 20px 18px 50px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }

/* ============================================================ the way in: the office is built in front of you
   (html.boot hides the plan's parts until intro.js builds them; html.ui-hidden hides the rest of the page) */
html.boot .walls path { stroke-dasharray: 1; stroke-dashoffset: 1; }
html.boot .rl, html.boot .desk, html.boot .table, html.boot .coffee, html.boot .screen,
html.boot .bot .av, html.boot .bot .sh, html.boot .bot .tag, html.boot .bot .bub { opacity: 0; }
html.ui-hidden .ohead, html.ui-hidden .now, html.ui-hidden .tnav, html.ui-hidden .tact { opacity: 0; transform: translateY(14px); }
.ohead, .now, .tnav, .tact { transition: opacity .9s var(--ease), transform .9s var(--ease); }
.now { transition-delay: .12s; } .tact { transition-delay: .08s; }
html.ui-hidden .tnav { transform: translate(-50%, 14px); }
.desk.flick::before { background: hsl(var(--h) 85% 58%); box-shadow: 0 0 12px hsl(var(--h) 90% 60%); }
.land { position: absolute; z-index: 2; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; border: 1.5px solid hsl(var(--h) 70% 50% / .7); pointer-events: none; animation: land .8s var(--ease) forwards; }
@keyframes land { from { transform: scale(1); opacity: 1; } to { transform: scale(6) scaleY(.55); opacity: 0; } }
.skiphint { position: fixed; right: 18px; bottom: 18px; z-index: 60; height: 32px; padding: 0 14px; border-radius: 999px; background: rgba(255, 255, 255, .9); border: 1px solid var(--line); font-size: 12.5px; color: var(--dim); transition: opacity .4s; }
.skiphint:hover { color: var(--ink); }

/* the real world: X status, real images, the lab */
.xb { display: inline-flex; align-items: center; gap: 4px; margin-left: auto; font: 600 10.5px var(--m); letter-spacing: .06em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; background: #f1f1ee; color: var(--dim); white-space: nowrap; }
.xb svg { width: 11px; height: 11px; }
.xb.wait { background: #fff4dc; color: #9a6400; }
.xb.go { background: #e6f0ff; color: #1d4ed8; }
.xb.on { background: #111113; color: #fff; }
.xb.no { background: #fde8ea; color: #b4232f; }
.xb.lab { background: #ecfdf3; color: #127a3e; margin-left: 0; }
.doc .df .xb + .xb { margin-left: 0; }
.doc .df { flex-wrap: wrap; align-items: center; }
a.xb:hover { filter: brightness(1.1); }
.doc .img.real { aspect-ratio: 1; background: #f4f4f1; }
.doc .img.real::before { display: none; }
.doc .img.real img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rd .pic { display: block; width: 100%; margin-top: 18px; border-radius: 16px; border: 1px solid var(--line); }
.xbox { margin-top: 18px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.xbox .xh { display: flex; align-items: center; gap: 10px; }
.xbox .xh small { display: block; color: var(--dim); font-size: 12.5px; }
.xbox p { margin: 10px 0 0; font-size: 16px; line-height: 1.45; white-space: pre-wrap; overflow-wrap: anywhere; }
.xbox .why { margin-top: 10px; font-size: 13.5px; color: #b4232f; }
.xbox .xm { display: flex; gap: 14px; margin-top: 10px; font-size: 13px; color: var(--dim); }
.xbox.no p { color: var(--dim); text-decoration: line-through; text-decoration-color: rgba(180, 35, 47, .4); }
.labf { margin-top: 18px; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: #fff; }
.labf .lh { padding: 12px 16px; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; }
.labf .lh span { font-size: 12.5px; color: var(--dim); }
.labf iframe { display: block; width: 100%; height: 420px; border: 0; background: #fff; }
.mc .side a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
