/* motherboard.build: one stylesheet for every page. The page reads as one day, morning to night. */
:root {
  --bg: #ffffff; --wash: #f6f5f2; --card: #ffffff; --line: #ebe9e4;
  --ink: #121214; --ink2: #4a4a52; --ink3: #75757d;
  --sun: #ee5a3b; --gold: #ffb347; --ok: #16a34a; --wait: #a35f00; --blue: #2f6fe0;
  --shadow: 0 1px 2px rgba(18,18,20,.05), 0 18px 50px -20px rgba(18,18,20,.22);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-pop: cubic-bezier(.34, 1.56, .64, 1);
  /* the Mac app's own tokens (apps/desktop/src/ui/styles.css), for the buttons and the app's screens */
  --a-canvas: oklch(.955 0 0); --a-pane: #fff; --a-pane-line: oklch(.3 0 0 / .08);
  --a-pane-shadow: 0 1px 2px oklch(0 0 0 / .025), 0 4px 12px -4px oklch(0 0 0 / .03);
  --a-fg: #333; --a-muted: #777; --a-line: #ebebeb; --a-soft: oklch(.3 0 0 / .05); --a-hover: oklch(.55 .02 70 / .095);
  --a-blue: #1a7cf0; --a-blue-hover: #1a6ad6; --a-ok: oklch(.6 .13 150); --a-wait: oklch(.62 .16 50); --a-stop: oklch(.57 .19 25);
  --a-primary-shadow: inset 0 1px 0 oklch(1 0 0 / .18), 0 0 0 1px oklch(0 0 0 / .08), 0 1px 2px oklch(0 0 0 / .12);
  --a-secondary: #fff; --a-secondary-hover: #f7f7f7; --a-secondary-shadow: 0 0 0 1px oklch(0 0 0 / .08), 0 1px 2px oklch(0 0 0 / .05);
  --a-outline: #fff; --a-outline-ring: inset 0 0 0 1px #ebebeb, 0 1px 2px oklch(0 0 0 / .04);
  --a-window: 0 0 0 1px oklch(0 0 0 / .06), 0 24px 60px -24px oklch(0 0 0 / .22);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0d0d10; --wash: #17171b; --card: #141418; --line: #26262c;
    --ink: #f3f3f5; --ink2: #b0b0b8; --ink3: #8a8a93; --wait: #f2a33a; --ok: #3fbf6d;
    --shadow: 0 1px 2px rgba(0,0,0,.4), 0 18px 50px -20px rgba(0,0,0,.7);
    --a-canvas: oklch(.14 .003 277); --a-pane: oklch(.93 .004 277 / .025); --a-pane-line: oklch(.93 .004 277 / .06); --a-pane-shadow: none;
    --a-fg: oklch(.93 .004 277); --a-muted: oklch(.64 .008 277); --a-line: oklch(.255 .007 277); --a-soft: oklch(.93 .004 277 / .05); --a-hover: oklch(1 0 0 / .06);
    --a-ok: oklch(.74 .14 150); --a-wait: oklch(.76 .13 55); --a-stop: oklch(.7 .17 25);
    --a-primary-shadow: inset 0 1px 0 oklch(1 0 0 / .16), 0 0 0 1px oklch(0 0 0 / .4), 0 1px 2px oklch(0 0 0 / .4);
    --a-secondary: oklch(.93 .004 277 / .06); --a-secondary-hover: oklch(.93 .004 277 / .09); --a-secondary-shadow: none;
    --a-outline: oklch(.93 .004 277 / .04); --a-outline-ring: inset 0 0 0 1px oklch(.93 .004 277 / .08);
    --a-window: 0 0 0 1px oklch(1 0 0 / .08), 0 24px 60px -24px oklch(0 0 0 / .7);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0d0d10; --wash: #17171b; --card: #141418; --line: #26262c;
  --ink: #f3f3f5; --ink2: #b0b0b8; --ink3: #8a8a93; --wait: #f2a33a; --ok: #3fbf6d;
  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 18px 50px -20px rgba(0,0,0,.7);
  --a-canvas: oklch(.14 .003 277); --a-pane: oklch(.93 .004 277 / .025); --a-pane-line: oklch(.93 .004 277 / .06); --a-pane-shadow: none;
  --a-fg: oklch(.93 .004 277); --a-muted: oklch(.64 .008 277); --a-line: oklch(.255 .007 277); --a-soft: oklch(.93 .004 277 / .05); --a-hover: oklch(1 0 0 / .06);
  --a-ok: oklch(.74 .14 150); --a-wait: oklch(.76 .13 55); --a-stop: oklch(.7 .17 25);
  --a-primary-shadow: inset 0 1px 0 oklch(1 0 0 / .16), 0 0 0 1px oklch(0 0 0 / .4), 0 1px 2px oklch(0 0 0 / .4);
  --a-secondary: oklch(.93 .004 277 / .06); --a-secondary-hover: oklch(.93 .004 277 / .09); --a-secondary-shadow: none;
  --a-outline: oklch(.93 .004 277 / .04); --a-outline-ring: inset 0 0 0 1px oklch(.93 .004 277 / .08);
  --a-window: 0 0 0 1px oklch(1 0 0 / .08), 0 24px 60px -24px oklch(0 0 0 / .7);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 450 16.5px/1.55 "Host Grotesk", system-ui, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: inherit; text-decoration-color: color-mix(in srgb, currentColor 30%, transparent); text-underline-offset: 3px; transition: text-decoration-color .24s; }
a:hover { text-decoration-color: currentColor; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 500; text-wrap: balance; }
h2 { font-size: clamp(32px, 3.9vw, 54px); line-height: 1.04; letter-spacing: -0.042em; }
h3 { font-size: 20px; line-height: 1.25; letter-spacing: -0.025em; font-weight: 550; }
code, .mono { font-family: "Azeret Mono", ui-monospace, monospace; }
code { font-size: .86em; background: var(--wash); padding: 1px 5px; border-radius: 5px; }
.wrap { max-width: 1208px; margin: 0 auto; padding: 0 24px; }
.gap { height: 140px; }
:focus-visible { outline: 2px solid var(--sun); outline-offset: 3px; border-radius: 8px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 12px; z-index: 50; background: var(--card); padding: 8px 12px; }

/* The hour stamp over each part of the day. */
.hour { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; font: 500 12.5px/1 "Azeret Mono", monospace; color: var(--ink2); }
.hour::before { content: ""; width: 8px; height: 8px; background: var(--c, var(--gold)); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 999px; border: 0; font: 500 15px/1 "Inter", system-ui, sans-serif; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background-color .15s, box-shadow .15s, filter .15s; }
.btn:active { filter: brightness(.95); }
.btn.primary { background: var(--a-blue); color: #fff; box-shadow: var(--a-primary-shadow); }
.btn.primary:hover { background: var(--a-blue-hover); }
.btn.secondary { background: var(--a-secondary); color: var(--a-fg); box-shadow: var(--a-secondary-shadow); }
.btn.secondary:hover { background: var(--a-secondary-hover); }
.btn.outline { background: var(--a-outline); color: var(--a-fg); box-shadow: var(--a-outline-ring); }
.btn.outline:hover { background: var(--a-secondary-hover); }
.btn.sm { height: 36px; padding: 0 14px; font-size: 14px; }
.btn.xs { height: 32px; padding: 0 12px; border-radius: 10px; font-size: 13px; }
.go { display: inline-flex; gap: 6px; font-weight: 500; text-decoration: none; }
.go .arrow { display: inline-block; transition: translate .25s var(--ease-pop); }
.go:hover .arrow { translate: 3px 0; }

/* heads: the art reaches past the head for its acts, so the box is the head and the svg overflows */
i.px { position: relative; display: inline-block; width: var(--px, 32px); height: var(--px, 32px); vertical-align: middle; font-style: normal; line-height: 0; flex: none; cursor: default; }
i.px .px-svg { position: absolute; inset: -50%; width: 200%; height: 200%; overflow: visible; pointer-events: none; }
.px-ping { animation: ping 1s steps(1) infinite; }
.px-twinkle { animation: ping 2.4s steps(1) infinite; }
@keyframes ping { 50%, 100% { opacity: .3; } }
.px-cloud { animation: drift 11s ease-in-out infinite alternate; }
@keyframes drift { to { translate: var(--drift, 4px) 0; } }
[data-scene] { position: relative; overflow: hidden; isolation: isolate; }
.px-scene { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }

/* nav */
.bar { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); }
.bar .wrap { display: flex; align-items: center; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 550; font-size: 17px; letter-spacing: -0.02em; text-decoration: none; }
.logo img { width: 26px; height: 26px; }
.bar nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.bar nav a:not(.btn) { padding: 8px 12px; border-radius: 999px; font-size: 15px; font-weight: 500; text-decoration: none; color: var(--ink2); transition: color .2s, background-color .2s; }
.bar nav a:not(.btn):hover, .bar nav a[aria-current] { color: var(--ink); background: var(--wash); }

/* hero */
.hero { padding: 64px 24px 0; text-align: center; }
.avail { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: var(--wash); font-size: 14px; color: var(--ink2); }
.avail b { font-weight: 500; color: var(--ink); }
.avail i.dot { width: 3px; height: 3px; border-radius: 50%; background: var(--ink3); }
.hero h1 { margin: 24px auto 0; font-size: clamp(46px, 7.2vw, 102px); line-height: .96; letter-spacing: -0.052em; font-weight: 450; max-width: 13em; }
.hero h1 i.px { margin: 0 .04em; vertical-align: -.04em; }
.lede { max-width: 700px; margin: 22px auto 0; font-size: 19px; line-height: 1.6; color: var(--ink2); }
.lede b { color: var(--ink); font-weight: 550; }

/* the hero's two ways in */
.ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 34px; }
.ctas .btn { min-width: 196px; }
.hero .fine { margin-top: 16px; font-size: 14.5px; color: var(--ink2); }
.hero .fine a { color: var(--ink); }

/* the install prompt in full, on the install and join pages */
.prompt { max-width: 640px; margin: 32px auto 0; text-align: left; background: var(--wash); border-radius: 22px; padding: 6px; }
.prompt .top { display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 14px; font-size: 14.5px; font-weight: 500; }
.prompt .top span { color: var(--ink2); font-weight: 450; }
.prompt .top .btn { margin-left: auto; }
.prompt p { background: var(--card); border-radius: 16px; padding: 14px 16px; font: 13px/1.6 "Azeret Mono", monospace; color: var(--ink2); }

/* the app's own screens: its canvas, panes, rows and marks, drawn the way the Mac app draws them */
.ui { font: 400 14px/1.5 "Inter", system-ui, sans-serif; color: var(--a-fg); letter-spacing: -0.006em; }
.ui b { font-weight: 500; }
.canvas { background: var(--a-canvas); border-radius: 14px; box-shadow: var(--a-window); }
.pane { background: var(--a-pane); border-radius: 12px; box-shadow: inset 0 0 0 1px var(--a-pane-line), var(--a-pane-shadow); min-width: 0; overflow: hidden; }
.toolbar { display: flex; align-items: center; gap: 8px; height: 48px; padding: 0 16px; border-bottom: 1px solid var(--a-line); font-size: 14px; font-weight: 500; }
.toolbar small { font-size: 12.5px; font-weight: 400; color: var(--a-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.toolbar .tail { margin-left: auto; flex: none; }
.lights { display: flex; gap: 8px; }
.lights i { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; }
.lights i:nth-child(2) { background: #febc2e; } .lights i:nth-child(3) { background: #28c840; }
/* the marks beside an agent: working spins, idle is a quiet ring, waiting on you says so */
.spin { width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid var(--a-ok); border-top-color: transparent; animation: spin 1s linear infinite; }
@keyframes spin { to { rotate: 1turn; } }
.idle { width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid color-mix(in oklab, var(--a-fg) 30%, transparent); }
.you { padding: 0 6px; border-radius: 999px; background: color-mix(in oklab, var(--a-wait) 15%, transparent); color: var(--a-wait); font-size: 10.5px; line-height: 16px; font-weight: 600; }
/* todo state rings, 14px, as on the Todos page */
.st { position: relative; flex: none; width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid color-mix(in oklab, var(--a-fg) 35%, transparent); }
.st.doing { border-color: var(--a-wait); background: conic-gradient(var(--a-wait) 0 50%, transparent 0) content-box; padding: 2px; }
.st.needs { border: 1.5px dashed var(--a-wait); }
.st.needs::after { content: ""; position: absolute; inset: 3.5px; border-radius: 50%; background: var(--a-wait); }

/* the window, a live demo */
.stage { max-width: 1208px; margin: 64px auto 0; padding: 0 24px; }
.app { position: relative; display: grid; grid-template-columns: 232px 1fr; grid-template-rows: 48px 1fr; overflow: hidden; }
.app > .lights { grid-column: 1 / -1; align-self: center; padding-left: 18px; }
.stage-hint { margin-top: 14px; text-align: center; font-size: 13.5px; color: var(--ink2); }
/* the sidebar: space, nav, Needs you, Projects, New agent, as pages-nav.tsx lays them out */
.side { display: flex; flex-direction: column; padding: 0 12px 16px; min-width: 0; }
.side .group { display: flex; flex-direction: column; gap: 1px; }
.side .label { padding: 20px 10px 6px; font-size: 12px; font-weight: 500; color: var(--a-muted); }
.side .row { display: flex; align-items: center; gap: 10px; height: 32px; padding: 0 10px; border: 0; border-radius: 8px; background: none; font: inherit; font-size: 13.5px; color: inherit; text-align: left; transition: background-color .1s; }
.side button.row { cursor: pointer; }
.side .row:hover { background: color-mix(in oklab, var(--a-fg) 4%, transparent); }
.side .row[aria-pressed="true"] { background: color-mix(in oklab, var(--a-fg) 6%, transparent); font-weight: 500; }
.side .name { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.side small { font-size: 12px; color: var(--a-muted); font-variant-numeric: tabular-nums; }
.side .pi { flex: none; width: 16px; height: 16px; }
.side .space { margin-bottom: 8px; font-weight: 500; }
.side .space svg:last-child { color: var(--a-muted); }
.side .folder { gap: 8px; font-weight: 500; }
.side .folder svg { flex: none; color: var(--a-muted); }
.side .folder.shut svg { rotate: -90deg; }
.side .kids .row { padding-left: 26px; }
.side .new { margin-top: auto; color: var(--a-muted); }
.side .new .name { color: var(--a-fg); }
/* the page: an agent's conversation and its question card, or Today */
.app .pane { margin: 0 16px 16px 0; display: flex; flex-direction: column; min-height: 600px; }
.app .toolbar b { font-size: 15px; font-weight: 600; }
.tray { margin-left: auto; display: flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 999px; background: color-mix(in oklab, var(--a-wait) 10%, transparent); color: var(--a-wait); font-size: 12.5px; font-weight: 500; }
.tray i, .live.wait i { width: 6px; height: 6px; border-radius: 50%; background: var(--a-wait); }
.chat { flex: 1; display: flex; flex-direction: column; gap: 12px; width: 100%; max-width: 688px; margin: 0 auto; padding: 24px 24px 16px; min-width: 0; }
.msgs { flex: 1; display: flex; flex-direction: column; gap: 12px; font-size: 13.5px; line-height: 22px; }
.msgs > *, .ask { animation: rise .35s var(--ease-out) both; }
@keyframes rise { from { opacity: 0; translate: 0 6px; } }
.msgs .said { align-self: flex-start; max-width: 85%; padding: 8px 14px; border-radius: 12px; background: color-mix(in oklab, var(--a-fg) 5%, transparent); }
.msgs .me { align-self: flex-end; max-width: 80%; padding: 8px 14px; border-radius: 12px; border: 1px solid var(--a-line); background: color-mix(in oklab, var(--a-fg) 3%, transparent); }
.ask { border-radius: 12px; background: color-mix(in oklab, var(--a-wait) 8%, transparent); }
.ask-top { display: flex; align-items: center; gap: 8px; padding: 4px 4px 4px 16px; }
.ask-top b { flex: 1; min-width: 0; padding: 6px 0; font-size: 13px; font-weight: 600; }
.ask-top small { font-size: 12px; color: var(--a-muted); }
.ask .ic { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; color: var(--a-muted); }
.ask-body { padding: 0 16px 12px; font-size: 13.5px; line-height: 1.65; }
.ask .answers { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.ask .say { flex: 1 1 180px; display: flex; gap: 8px; }
.ask .say > span:first-child { flex: 1; display: flex; align-items: center; height: 32px; padding: 0 12px; border-radius: 8px; background: var(--a-pane); box-shadow: var(--a-outline-ring); font-size: 13.5px; color: var(--a-muted); white-space: nowrap; overflow: hidden; }
.compose { display: flex; align-items: center; padding: 4px 4px 4px 14px; border-radius: 12px; border: 1px solid var(--a-line); background: var(--a-pane); box-shadow: 0 1px 2px rgba(0,0,0,.04); font-size: 13.5px; color: var(--a-muted); }
.compose .send { margin-left: auto; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; color: var(--a-muted); }
.today { width: 100%; max-width: 688px; margin: 0 auto; padding: 32px 24px 24px; }
.today .date { font-size: 13px; color: var(--a-muted); }
.today h3 { margin: 2px 0 24px; font-size: 28px; font-weight: 600; letter-spacing: -0.4px; line-height: 1.2; }
.today ol { display: flex; flex-direction: column; gap: 18px; padding: 0; list-style: none; }
.today .obj { display: flex; align-items: center; gap: 12px; margin: 0 -8px; padding: 6px 8px; border-radius: 8px; }
.today li.lit .obj { background: color-mix(in oklab, var(--a-wait) 12%, transparent); }
.today .rank { width: 16px; font-size: 14px; color: var(--a-muted); }
.today .ring { flex: none; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid color-mix(in oklab, var(--a-fg) 30%, transparent); }
.today .ring.full { border-color: var(--a-ok); background: var(--a-ok); color: var(--a-pane); }
.today .obj b { flex: 1; min-width: 0; font-size: 18px; font-weight: 600; letter-spacing: -0.2px; }
.today .obj b.struck { text-decoration: line-through; color: var(--a-muted); }
.live { flex: none; display: flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 500; color: var(--a-muted); }
.live.wait { color: var(--a-wait); }
.live.ok { color: var(--a-ok); }
.today .sub { display: flex; flex-direction: column; gap: 6px; padding: 4px 0 0 46px; font-size: 13px; color: var(--a-muted); }
.today .owner { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 6px; }
.today .owner b { color: var(--a-fg); font-weight: 500; }
.today .bar { display: flex; align-items: center; gap: 8px; font-variant-numeric: tabular-nums; }
.today .bar > span { width: 96px; height: 4px; border-radius: 99px; background: color-mix(in oklab, var(--a-fg) 8%, transparent); overflow: hidden; }
.today .bar i { display: block; height: 100%; background: var(--a-ok); }
.today .foot { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin-top: 40px; font-size: 13px; color: var(--a-muted); }
.today .ghost { display: flex; align-items: center; gap: 4px; height: 28px; padding: 0 10px; border-radius: 99px; }
.today .foot small { margin-left: auto; font-size: 12.5px; }

/* todos and dates: one agent's follow up, and the list it lands on */
.later .canvas { display: grid; grid-template-columns: 1fr 1.15fr; gap: 16px; margin-top: 48px; padding: 16px; }
.thread { display: flex; flex-direction: column; gap: 14px; padding: 20px; line-height: 22px; }
.thread .day-mark { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 500; color: var(--a-muted); }
.thread .day-mark::after { content: ""; flex: 1; height: 1px; background: var(--a-line); }
.thread .woke { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: var(--a-ok); }
.saved { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; box-shadow: var(--a-outline-ring); font-size: 13.5px; }
.saved svg { flex: none; color: var(--a-blue); }
.saved small { margin-left: auto; font-size: 12px; color: var(--a-muted); white-space: nowrap; }
.seg { display: flex; padding: 3px; border-radius: 9px; background: var(--a-soft); }
.seg span { display: grid; place-items: center; height: 28px; padding: 0 12px; border-radius: 7px; font-size: 13px; font-weight: 500; color: var(--a-muted); }
.seg span:first-child { background: var(--a-secondary); color: var(--a-fg); box-shadow: 0 1px 2px oklch(0 0 0 / .08); }
.todos { padding: 8px; isolation: isolate; }
.todos .group { display: flex; align-items: center; height: 36px; padding: 0 12px; border-radius: 10px; background: color-mix(in oklab, var(--a-fg) 3.5%, transparent); font-size: 13px; font-weight: 500; }
.todo { position: relative; display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 12px; font-size: 13.5px; }
.todo::before { content: ""; position: absolute; inset: 3px 6px; z-index: -1; border-radius: 10px; transition: background-color .15s; }
.todo:hover::before { background: var(--a-hover); }
.todo > span:nth-child(2) { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.todo.hl > span:nth-child(2) { font-weight: 500; }
.todo .chip { display: inline-flex; align-items: center; gap: 5px; height: 20px; padding: 0 8px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--a-line); font-size: 11.5px; color: var(--a-muted); }
.todo .chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--a-ok); }
.todo .chip.ads::before { background: var(--a-blue); }
.todo time { width: 82px; flex: none; text-align: right; font-size: 12px; color: var(--a-muted); }
.todo.hl time { color: var(--a-fg); }

/* a day with your team: the sun crosses as you scroll */
.day-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; }
.day-head > p, .split > p { color: var(--ink2); font-size: 18.5px; }
.day { position: relative; margin-top: 48px; border-radius: 30px; overflow: hidden; isolation: isolate; height: 380px; --t: .5; }
.day .px-scene { z-index: -2; }
.day .sun { position: absolute; z-index: -1; width: 54px; height: 54px; left: calc(4% + var(--t) * 88%); top: calc(60% - sin(var(--t) * 3.1416) * 48%); translate: -50% -50%; background: radial-gradient(circle, var(--gold) 0 58%, transparent 60%); filter: drop-shadow(0 0 18px color-mix(in srgb, var(--gold) 70%, transparent)); }
.day ol { list-style: none; margin: 0; padding: 0 3%; position: absolute; inset: auto 0 26px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.day li { background: color-mix(in srgb, #fff 92%, transparent); color: #121214; border-radius: 16px; padding: 12px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; line-height: 1.35; transition: translate .35s var(--ease-pop); }
.day li:hover { translate: 0 -4px; }
.day li header { display: flex; align-items: center; gap: 10px; }
.day li time { font: 500 12px/1 "Azeret Mono", monospace; color: #5c5c64; }
.day li b { font-weight: 550; }

/* team sheet on a scene */
.poster { position: relative; border-radius: 32px; padding: 110px 120px; }
.sheet { position: relative; background: var(--card); border-radius: 24px; padding: 40px 44px 38px; box-shadow: var(--shadow); }
.sheet > p { margin-top: 12px; color: var(--ink2); font-size: 17.5px; max-width: 40em; }
.roles { list-style: none; padding: 0; margin: 34px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 28px 44px; }
.roles li { display: grid; grid-template-columns: 36px 1fr; gap: 16px; }
.roles b { font-weight: 550; font-size: 16.5px; }
.roles b em { font-style: normal; font: 500 10.5px/1 "Azeret Mono", monospace; margin-left: 8px; padding: 3px 6px; border-radius: 6px; background: color-mix(in srgb, var(--gold) 30%, transparent); vertical-align: 2px; }
.roles p { color: var(--ink2); font-size: 15.5px; margin-top: 2px; }

/* features */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; }
.feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 48px; }
.feat { background: var(--wash); border-radius: 22px; padding: 24px; display: flex; flex-direction: column; }
.feat > p { margin-top: 8px; color: var(--ink2); font-size: 15.5px; }
.feat .mock { margin-top: auto; padding-top: 22px; display: flex; flex-direction: column; gap: 6px; }
.row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; background: var(--card); font-size: 14px; transition: translate .35s var(--ease-pop); }
.feat:hover .row:nth-child(1) { translate: 0 -3px; }
.feat:hover .row:nth-child(2) { translate: 0 -3px; transition-delay: .04s; }
.feat:hover .row:nth-child(3) { translate: 0 -3px; transition-delay: .08s; }
.row .t { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.row .t b { font-weight: 500; }
.row .t small { font-size: 12.5px; color: var(--ink2); }
.row time, .row .tag { margin-left: auto; flex: none; font: 500 12px/1 "Azeret Mono", monospace; color: var(--ink2); }
.row .tag.w { color: var(--wait); } .row .tag.ok { color: var(--ok); }

/* the menu bar Queue */
.queue { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.queue ul { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-direction: column; gap: 14px; font-size: 17px; }
.queue li { display: flex; gap: 14px; align-items: baseline; }
.queue li span { font: 500 12.5px/1 "Azeret Mono", monospace; color: var(--ink2); width: 18px; }
.menu { position: relative; border-radius: 30px; padding: 0 0 46px; }
.menu .strip { display: flex; align-items: center; gap: 18px; height: 34px; padding: 0 18px; background: color-mix(in srgb, #fff 70%, transparent); color: #121214; font-size: 13px; font-weight: 500; }
.menu .strip img { margin-left: auto; width: 18px; height: 18px; }
.drop { width: min(400px, calc(100% - 24px)); margin: 6px 14px 0 auto; background: var(--card); border-radius: 18px; padding: 10px; box-shadow: var(--shadow); font-size: 14px; }
.drop .label { padding: 8px 8px 4px; font: 500 11.5px/1 "Azeret Mono", monospace; color: var(--ink2); }
.drop .row { background: none; padding: 8px; }
.drop .row.hl { background: var(--wash); }
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 64px; }
.trio > div { border-top: 1px solid var(--line); padding-top: 20px; }
.trio p { color: var(--ink2); margin-top: 6px; }

/* morning, noon and night */
.ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 48px; }
.way .art { position: relative; height: 340px; border-radius: 24px; padding: 84px 0 0 40px; }
.way .panel { position: relative; height: 100%; background: color-mix(in srgb, var(--card) 95%, transparent); border-radius: 18px 0 24px 0; padding: 12px 12px 10px; display: flex; flex-direction: column; gap: 2px; font-size: 13.5px; transition: translate .5s var(--ease-pop); }
.way:hover .panel { translate: -4px -4px; }
.way .r { display: grid; grid-template-columns: 26px 1fr auto; gap: 10px; align-items: start; padding: 8px 6px; }
.way .r b { display: block; font-weight: 500; }
.way .r small { color: var(--ink2); font-size: 13px; }
.way .r time { font: 500 11.5px/1.6 "Azeret Mono", monospace; color: var(--ink2); }
.way h3 { margin-top: 22px; }
.way > p { margin-top: 6px; color: var(--ink2); }

/* setup: one line down the left, three stops on it */
.setup { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; }
.stops { list-style: none; margin: 0; padding: 0; position: relative; display: flex; flex-direction: column; gap: 34px; }
.stops::before { content: ""; position: absolute; left: 19px; top: 10px; bottom: 10px; width: 2px; background: var(--line); }
.stops li { position: relative; display: grid; grid-template-columns: 40px 1fr; gap: 20px; }
.stops .n { position: relative; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--bg); font-weight: 550; transition: scale .3s var(--ease-pop); }
.stops li:hover .n { scale: 1.12; }
.stops p { color: var(--ink2); margin-top: 4px; }
.stops .card { margin-top: 14px; background: var(--wash); border-radius: 14px; padding: 12px 14px; font-size: 14px; display: flex; flex-direction: column; gap: 4px; }
.stops .card small { color: var(--ink2); }

/* plans */
.bill { display: flex; width: fit-content; gap: 4px; padding: 4px; margin-top: 40px; border-radius: 999px; background: var(--wash); }
.bill label { position: relative; display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 16px; border-radius: 999px; font: 500 14.5px/1 "Inter", system-ui, sans-serif; color: var(--ink2); cursor: pointer; transition: background-color .15s, color .15s; }
.bill label:hover { color: var(--ink); }
.bill input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.bill label:has(:checked) { background: var(--card); color: var(--ink); box-shadow: 0 1px 2px rgba(18,18,20,.06); }
.bill label:has(:focus-visible) { outline: 2px solid var(--sun); outline-offset: 2px; }
.bill small { font-size: 12.5px; color: var(--ok); }
.price.mo, .page-hero:has(#bill-month:checked) .price.yr { display: none; }
.page-hero:has(#bill-month:checked) .price.mo { display: flex; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 20px; }
.plan { position: relative; background: var(--wash); border-radius: 26px; padding: 10px 10px 28px; transition: translate .35s var(--ease-pop); }
.plan:hover { translate: 0 -4px; }
.plan .art { height: 132px; border-radius: 18px; }
.plan .art i.px { position: absolute; left: 24px; bottom: 16px; }
.plan .in { padding: 24px 20px 0; }
.plan h2 { font-size: 24px; line-height: 1.2; letter-spacing: -0.025em; font-weight: 550; }
.plan .in > p { color: var(--ink2); margin-top: 4px; }
.price { display: flex; align-items: baseline; gap: 10px; margin: 24px 0 20px; }
.price b { font-size: 54px; font-weight: 500; letter-spacing: -0.05em; line-height: 1; }
.price span { color: var(--ink2); font-size: 14.5px; }
.plan .btn { width: 100%; background: var(--card); color: var(--ink); }
.plan .btn:hover { background: color-mix(in srgb, var(--card) 88%, var(--ink)); }
.plan .btn[aria-disabled] { color: var(--ink2); cursor: default; }
.plan ul { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-direction: column; gap: 10px; font-size: 15.5px; }
.plan li { display: flex; gap: 12px; }
.plan li::before { content: "✓"; font-size: 13px; width: 14px; }
.plan li.no { color: var(--ink2); }
.plan li.no::before { content: "–"; }
.free-line { display: flex; align-items: center; justify-content: space-between; gap: 30px; background: var(--wash); border-radius: 26px; padding: 30px 34px; }
.free-line h2 { font-size: clamp(26px, 2.8vw, 38px); }
.free-line p { color: var(--ink2); margin-top: 6px; }

/* faq */
.faq { max-width: 860px; margin: 0 auto; }
.faq-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.faq-top p { color: var(--ink2); margin-top: 10px; }
.qs { display: flex; flex-direction: column; margin-top: 30px; border-top: 1px solid var(--line); }
.qs details { border-bottom: 1px solid var(--line); }
.qs summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 4px; font-size: 18px; font-weight: 550; letter-spacing: -0.015em; }
.qs summary::-webkit-details-marker { display: none; }
.qs summary .plus { flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--wash); display: grid; place-items: center; font-size: 19px; font-weight: 400; transition: rotate .35s var(--ease-pop), background-color .2s; }
.qs summary:hover .plus { background: color-mix(in srgb, var(--wash) 85%, var(--ink)); }
.qs details[open] .plus { rotate: 45deg; }
.qs details > div { padding: 0 4px 22px; color: var(--ink2); max-width: 46em; }

/* the end of the day: the sky darkens as it scrolls in */
.end { position: relative; margin-top: 140px; height: 760px; text-align: center; color: #fff; padding-top: 140px; overflow: hidden; isolation: isolate; --t: .5; }
.end .px-scene { z-index: -2; }
.end::after { content: ""; position: absolute; inset: 0; z-index: -1; background: #070b1f; opacity: calc(var(--t) * .55); pointer-events: none; }
.end h2 { font-size: clamp(44px, 6.6vw, 94px); letter-spacing: -0.05em; line-height: .98; }
.end p { margin-top: 16px; font-size: 19px; color: rgba(255,255,255,.88); }
.end .ctas { display: flex; justify-content: center; gap: 10px; margin-top: 28px; flex-wrap: wrap; }
.end .crowd { position: absolute; left: 0; right: 0; bottom: 64px; display: flex; justify-content: space-around; align-items: flex-end; padding: 0 5%; }
.js .end .crowd i.px { translate: 0 140px; transition: translate .9s var(--ease-pop); transition-delay: calc(var(--i, 0) * 80ms + .2s); }
.js .end .crowd.in i.px { translate: none; }

/* inner pages */
.page-hero { padding-top: 72px; }
.page-hero h1 { font-size: clamp(42px, 5.6vw, 78px); line-height: 1; letter-spacing: -0.05em; font-weight: 450; max-width: 13em; }
.page-hero .lede { margin: 20px 0 0; }
.doc > * { max-width: 760px; }
.doc h2 { font-size: 30px; margin: 44px 0 12px; }
.doc h3 { margin: 30px 0 8px; }
.doc p, .doc li { color: var(--ink2); }
.doc p + p { margin-top: 12px; }
.doc ul, .doc ol { padding-left: 22px; margin: 10px 0; display: flex; flex-direction: column; gap: 8px; }
.doc b { color: var(--ink); font-weight: 550; }
.raw { display: inline-flex; gap: 8px; align-items: center; margin-top: 26px; }
ul.changes { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-direction: column; gap: 10px; }
.changes li { display: grid; grid-template-columns: 210px 1fr; gap: 16px; padding: 14px 16px; background: var(--wash); border-radius: 14px; font-size: 15px; }
.changes code { background: none; padding: 0; font-size: 13px; color: var(--ink); }
.changes span { color: var(--ink2); }

footer { padding: 46px 0 34px; font-size: 15px; }
.foot-in { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 30px; }
.foot-in > div:first-child p { margin-top: 14px; color: var(--ink2); max-width: 18em; }
.foot-in h4 { margin: 0 0 16px; font: 500 12.5px/1 "Azeret Mono", monospace; color: var(--ink2); }
.foot-in a:not(.logo) { display: block; text-decoration: none; margin-bottom: 10px; color: var(--ink2); transition: color .2s; }
.foot-in a:hover { color: var(--ink); }
.fine2 { margin-top: 40px; font: 12.5px/1.6 "Azeret Mono", monospace; color: var(--ink2); }

/* entrances */
.js [data-r] { opacity: 0; translate: 0 24px; transition: opacity .8s var(--ease-out), translate .8s var(--ease-out); }
.js [data-r].in { opacity: 1; translate: none; }
.js [data-r="each"], .js [data-r="words"], .js [data-r="wipe"] { opacity: 1; translate: none; }
.js [data-r="each"] > * { opacity: 0; translate: 0 24px; transition: opacity .7s var(--ease-out), translate .7s var(--ease-out); transition-delay: calc(var(--i, 0) * 70ms); }
.js [data-r="each"].in > * { opacity: 1; translate: none; }
.w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .02em .1em; margin: 0 -.02em -.1em; }
.w > span { display: inline-block; }
.js [data-r="words"] .w > span { translate: 0 115%; transition: translate .9s var(--ease-out); transition-delay: calc(var(--i, 0) * 30ms); }
.js [data-r="words"].in .w > span { translate: none; }
.js [data-r="wipe"] { clip-path: inset(18% 4% 0 4% round 36px); transition: clip-path 1.1s var(--ease-out); }
.js [data-r="wipe"].in { clip-path: inset(0 0 0 0 round 36px); }
.still [data-r], .still [data-r] > *, .still [data-r] .w > span, .still .end .crowd i.px { opacity: 1 !important; translate: none !important; clip-path: none !important; transition: none !important; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-r], .js [data-r] > *, .js [data-r] .w > span, .js .end .crowd i.px { opacity: 1; translate: none; clip-path: none; transition: none; }
  .px-ping, .px-twinkle, .px-cloud, .msgs > *, .spin { animation: none; }
}

@media (max-width: 1000px) {
  .later .canvas { grid-template-columns: 1fr; }
  .poster { padding: 80px 44px; }
  .feats { grid-template-columns: 1fr 1fr; }
  .plans { grid-template-columns: 1fr; }
  .day ol { grid-template-columns: repeat(3, 1fr); }
  .day ol li:nth-child(n+4) { display: none; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 82px; }
  .gap { height: 92px; }
  .bar .wrap { height: 62px; }
  .bar nav a:not(.btn) { display: none; }
  .hero { padding-top: 48px; }
  .hero h1 { font-size: 46px; }
  .hero h1 .px-svg { width: 160%; height: 160%; inset: -30%; }
  .lede { font-size: 17px; }
  .ctas { max-width: 340px; margin-inline: auto; }
  .ctas .btn { flex: 1 1 100%; }
  .prompt .top span { display: none; }
  .stage { margin-top: 44px; padding: 0 16px; }
  .app { grid-template-columns: 1fr; grid-template-rows: 40px 1fr; }
  .app .pane { margin: 0 8px 8px; min-height: 520px; }
  .side { padding: 0 8px 12px; }
  .side .space, .side .projects, .side .new, .side [data-nav="systems"], .side [data-nav="notes"] { display: none; }
  .chat { padding: 16px 14px 12px; }
  .today { padding: 24px 14px 16px; }
  .today h3 { font-size: 24px; }
  .today .obj b { font-size: 16px; }
  .today .rank { display: none; }
  .today .sub { padding-left: 30px; }
  .today .live { gap: 0; font-size: 0; }
  .today .owner b, .today .bar { white-space: nowrap; }
  .today .foot small { margin-left: 0; }
  .later .canvas { padding: 8px; gap: 8px; }
  .todo .chip, .todo .px { display: none; }
  .todo time { width: auto; }
  .day-head, .split, .queue, .setup, .roles, .feats, .ways, .trio, .plans, .foot-in { grid-template-columns: 1fr; }
  .day-head, .split { gap: 14px; }
  .day-head > p, .split > p { font-size: 17px; }
  .day { height: 520px; border-radius: 24px; }
  .day ol { grid-template-columns: 1fr; inset: auto 0 16px; padding: 0 12px; gap: 8px; }
  .day ol li:nth-child(n+4) { display: flex; }
  .day ol li:nth-child(n+5) { display: none; }
  .day li { flex-direction: row; align-items: center; padding: 10px 12px; }
  .day li header { flex-direction: column; gap: 4px; align-items: center; flex: none; width: 54px; }
  .poster { padding: 56px 12px; border-radius: 24px; }
  .sheet { padding: 26px 20px; }
  .feat { padding: 20px 16px 16px; }
  .queue { gap: 30px; }
  .way .art { height: 320px; padding: 68px 0 0 22px; }
  .setup { gap: 30px; }
  .free-line { flex-direction: column; align-items: flex-start; padding: 24px 20px; }
  .faq-top i.px { display: none; }
  .qs summary { font-size: 17px; }
  .end { height: 640px; padding-top: 104px; margin-top: 92px; }
  .end p { font-size: 17px; padding: 0 16px; }
  .end .crowd i.px:nth-child(n+6) { display: none; }
  .page-hero { padding-top: 48px; }
  .changes li { grid-template-columns: 1fr; gap: 4px; }
}
