All your AI agent sessions in one place — browse, search, resume. Rust + GPUI.
Rust
/* Wake — the site. The palette is the app icon's: a night sky turning to dawn over the
sea, and the path of light on the water that gives Wake its name. */
:root {
/* Night and sea, from the icon's sky and sea gradients */
--night: #0b1730;
--night-raised: #10203f;
--abyss: #071024;
--sky: #1f3c63;
/* Dawn, from the horizon band and the sun */
--mauve: #8a5b5e;
--ember: #e8935f;
--gold: #ffb273;
--sun: #fff0d0;
/* Text */
--foam: #eef2f8;
--mist: #a3b3cb;
--dim: #7d8fab;
--line: rgb(163 179 203 / 0.14);
--line-strong: rgb(163 179 203 / 0.26);
/* The app's own dark theme, for the window in the demo (crates/wake/src/theme.rs) */
--app-sidebar: #1b1b1a;
--app-bg: #242422;
--app-list: #20201f;
--app-hover: #2a2a28;
--app-active: #303b4c;
--app-popover: #2c2c2a;
--app-muted: #323230;
--app-fg: #f0efed;
--app-fg-muted: #a9a8a2;
--app-border: #353431;
--app-primary: #4c8dff;
--display: 'Bricolage Grotesque Variable', 'PingFang SC', 'Hiragino Sans GB', system-ui, sans-serif;
--body: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB',
'Microsoft YaHei', 'Noto Sans SC', system-ui, sans-serif;
--mono: 'JetBrains Mono Variable', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
--gutter: clamp(16px, 4vw, 40px);
--page: 1160px;
--radius: 10px;
color-scheme: dark;
}
*,
*::before,
*::after {
box-sizing: border-box;
}
html {
-webkit-text-size-adjust: 100%;
scroll-behavior: smooth;
scroll-padding-top: 80px;
}
body {
margin: 0;
background: var(--night);
color: var(--foam);
font-family: var(--body);
font-size: 17px;
line-height: 1.6;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
overflow-x: hidden;
}
:lang(zh-Hans) body {
line-height: 1.75;
}
/* Chinese headings break at spaces and punctuation only, never inside a word like 什么 */
:lang(zh-Hans) :is(h1, h2, h3) {
word-break: keep-all;
overflow-wrap: break-word;
}
img,
svg,
canvas {
display: block;
max-width: 100%;
}
a {
color: inherit;
text-decoration-color: rgb(255 178 115 / 0.5);
text-underline-offset: 3px;
}
a:hover {
text-decoration-color: var(--gold);
}
:focus-visible {
outline: 2px solid var(--gold);
outline-offset: 3px;
border-radius: 4px;
}
::selection {
background: rgb(255 178 115 / 0.32);
}
code,
kbd,
pre {
font-family: var(--mono);
}
.wrap {
width: min(100% - 2 * var(--gutter), var(--page));
margin-inline: auto;
}
.visually-hidden {
position: absolute;
width: 1px;
height: 1px;
overflow: hidden;
clip: rect(0 0 0 0);
white-space: nowrap;
}
/* ---------- Buttons ---------- */
.btn {
display: inline-flex;
align-items: center;
gap: 10px;
height: 46px;
padding: 0 22px;
border-radius: 999px;
font: 600 16px/1 var(--body);
text-decoration: none;
white-space: nowrap;
cursor: pointer;
border: 1px solid transparent;
transition: transform 0.15s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.btn svg {
width: 18px;
height: 18px;
flex: none;
}
/* The primary action is the sun itself */
.btn-sun {
color: #1a1206;
background: radial-gradient(120% 160% at 50% 0%, var(--sun) 0%, var(--gold) 55%, #ffa95e 100%);
box-shadow: 0 0 0 1px rgb(255 240 208 / 0.4) inset, 0 8px 32px -8px rgb(255 169 94 / 0.6);
}
.btn-sun:hover {
transform: translateY(-1px);
box-shadow: 0 0 0 1px rgb(255 240 208 / 0.5) inset, 0 12px 40px -8px rgb(255 169 94 / 0.8);
}
.btn-ghost {
color: var(--foam);
border-color: var(--line-strong);
background: rgb(11 23 48 / 0.35);
backdrop-filter: blur(8px);
}
.btn-ghost:hover {
background: rgb(31 60 99 / 0.5);
}
.btn:active {
transform: translateY(0);
}
/* ---------- Navigation ---------- */
.nav {
position: fixed;
inset: 0 0 auto;
z-index: 50;
transition: background-color 0.3s ease, border-color 0.3s ease;
border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
background: rgb(7 16 36 / 0.78);
backdrop-filter: blur(14px) saturate(140%);
border-bottom-color: var(--line);
}
.nav-inner {
display: flex;
align-items: center;
height: 64px;
}
.brand {
display: inline-flex;
align-items: center;
gap: 10px;
font: 650 21px/1 var(--display);
letter-spacing: -0.01em;
text-decoration: none;
}
.brand img {
width: 30px;
height: 30px;
}
/* Left: where to go on the site. Right: language, then the two actions, GitHub last. */
.nav-primary {
display: flex;
align-items: center;
gap: 26px;
margin-left: 40px;
font-size: 15px;
}
.nav-primary a {
color: var(--mist);
text-decoration: none;
transition: color 0.15s ease;
}
.nav-primary a:hover,
.nav-primary a[aria-current='page'] {
color: var(--foam);
}
.nav-primary a[aria-current='page'] {
font-weight: 500;
}
.nav-actions {
display: flex;
align-items: center;
gap: 10px;
margin-left: auto;
}
.nav-actions .btn {
height: 36px;
padding: 0 16px;
font-size: 14px;
}
.nav-actions .btn-sun {
color: #1a1206;
}
.gh-star {
gap: 8px;
}
.gh-star svg {
flex: none;
}
.gh-star .gh-mark {
width: 17px;
height: 17px;
}
.gh-count {
display: inline-flex;
align-items: center;
gap: 5px;
margin-left: 2px;
padding-left: 10px;
border-left: 1px solid var(--line-strong);
font-variant-numeric: tabular-nums;
}
.gh-star .gh-star-ico {
width: 14px;
height: 14px;
color: var(--gold);
transition: fill 0.2s ease, transform 0.25s ease;
}
.gh-star:hover {
border-color: rgb(255 178 115 / 0.6);
}
.gh-star:hover .gh-star-ico {
fill: var(--gold);
transform: rotate(-12deg) scale(1.08);
}
@media (max-width: 860px) {
.nav-primary {
display: none;
}
}
@media (max-width: 600px) {
.gh-word {
display: none;
}
.nav-actions {
gap: 8px;
}
.nav-actions .btn {
padding: 0 13px;
}
}
/* Phones: the download button matters more than the star count */
@media (max-width: 480px) {
.gh-count {
display: none;
}
}
/* ---------- Hero: the dawn ---------- */
.hero {
position: relative;
isolation: isolate;
min-height: max(760px, 100svh);
padding-top: clamp(104px, 14vh, 160px);
text-align: center;
/* What shows before the canvas paints, or without script */
background: linear-gradient(180deg, #081429 0%, #10234a 30%, #1f3c63 50%, #3b3f62 62%, var(--night) 100%);
}
.horizon {
/* 1px, not 0: a zero-height block lets its margin collapse into the demo's */
height: 1px;
margin-top: clamp(96px, 13vh, 140px);
}
.hero-canvas {
position: absolute;
inset: 0;
z-index: -1;
width: 100%;
height: 100%;
}
.hero h1 {
max-width: 12.5em;
margin: 0 auto;
font: 640 clamp(42px, 6.4vw, 86px) / 0.98 var(--display);
font-variation-settings: 'wdth' 92, 'opsz' 96;
letter-spacing: -0.035em;
text-wrap: balance;
color: var(--foam);
text-shadow: 0 2px 40px rgb(11 23 48 / 0.5);
}
:lang(zh-Hans) .hero h1 {
max-width: 14em;
font-weight: 650;
font-size: clamp(36px, 5.6vw, 68px);
line-height: 1.18;
letter-spacing: 0;
}
.hero .lede {
max-width: 40em;
margin: 28px auto 0;
font-size: clamp(17px, 1.6vw, 19px);
color: var(--mist);
text-wrap: pretty;
}
.hero-actions {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 12px;
margin-top: 36px;
}
.hero-meta {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 8px;
margin: 22px 0 0;
padding: 0;
list-style: none;
font-size: 13px;
color: var(--mist);
}
.hero-meta li {
padding: 4px 11px;
border: 1px solid var(--line);
border-radius: 999px;
background: rgb(11 23 48 / 0.3);
}
/* ---------- Demo window ---------- */
.demo {
position: relative;
z-index: 2;
margin-top: clamp(110px, 14vh, 150px);
padding-bottom: 8px;
text-align: left;
}
.window {
--win-h: 600px;
position: relative;
display: grid;
grid-template-columns: 210px 300px 1fr;
height: var(--win-h);
border-radius: 14px;
overflow: hidden;
background: var(--app-bg);
color: var(--app-fg);
font: 14px/1.45 var(--body);
box-shadow:
0 0 0 1px rgb(255 255 255 / 0.08) inset,
0 0 0 1px rgb(0 0 0 / 0.6),
0 40px 120px -20px rgb(0 0 0 / 0.75),
0 -20px 120px -40px rgb(255 178 115 / 0.35);
}
.win-sidebar {
background: var(--app-sidebar);
border-right: 1px solid #292927;
padding: 14px 12px;
overflow: hidden;
}
.lights {
display: flex;
gap: 8px;
padding: 2px 4px 18px;
}
.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;
}
.win-title {
padding: 0 6px 12px;
font-weight: 650;
font-size: 16px;
}
.win-search {
display: flex;
align-items: center;
gap: 8px;
width: 100%;
height: 30px;
margin-bottom: 14px;
padding: 0 9px;
border: 0;
border-radius: 7px;
background: var(--app-muted);
color: var(--app-fg-muted);
font: inherit;
font-size: 13px;
text-align: left;
cursor: text;
}
.win-search kbd {
margin-left: auto;
font: 12px var(--body);
color: var(--app-fg-muted);
}
.win-search svg,
.palette-input svg {
width: 14px;
height: 14px;
flex: none;
}
.side-row {
display: flex;
align-items: center;
gap: 8px;
height: 28px;
padding: 0 8px;
border-radius: 6px;
font-size: 13px;
color: #d3d2ce;
white-space: nowrap;
}
.side-row.is-current {
background: #343432;
color: #f5f4f1;
}
.side-row img {
width: 16px;
height: 16px;
flex: none;
}
.side-row .count {
margin-left: auto;
font-size: 12px;
color: var(--app-fg-muted);
}
.side-group {
margin: 16px 0 4px;
padding: 0 8px;
font-size: 12px;
color: var(--app-fg-muted);
}
.win-list {
display: flex;
flex-direction: column;
background: var(--app-list);
border-right: 1px solid #292927;
min-width: 0;
}
.list-head {
display: flex;
align-items: baseline;
justify-content: space-between;
padding: 22px 16px 12px;
}
.list-head strong {
font-size: 19px;
font-weight: 700;
}
.list-head span {
font-size: 12px;
color: var(--app-fg-muted);
}
.list-rows {
flex: 1;
overflow: hidden;
padding: 0 8px;
}
.list-row {
display: block;
width: 100%;
padding: 9px 10px;
border: 0;
border-radius: 7px;
background: none;
color: inherit;
font: inherit;
text-align: left;
cursor: pointer;
}
.list-row:hover {
background: var(--app-hover);
}
.list-row.is-current {
background: var(--app-active);
}
.list-row .t {
display: block;
overflow: hidden;
font-size: 13.5px;
white-space: nowrap;
text-overflow: ellipsis;
}
.row-meta {
display: flex;
align-items: center;
gap: 6px;
margin-top: 5px;
font-size: 12px;
color: var(--app-fg-muted);
}
.row-meta img {
width: 14px;
height: 14px;
}
.row-meta .proj {
padding: 1px 6px;
border-radius: 4px;
background: var(--app-muted);
}
.row-meta .age {
margin-left: auto;
}
.win-detail {
display: flex;
flex-direction: column;
min-width: 0;
background: var(--app-bg);
}
.detail-head {
padding: 18px 24px 14px;
border-bottom: 1px solid var(--app-border);
}
.detail-ctx {
display: flex;
align-items: center;
gap: 8px;
font-size: 12.5px;
color: var(--app-fg-muted);
}
.detail-ctx img {
width: 15px;
height: 15px;
}
.detail-ctx .proj {
padding: 1px 7px;
border-radius: 5px;
background: var(--app-muted);
}
.detail-title {
margin: 10px 0 8px;
overflow: hidden;
font-size: 20px;
font-weight: 700;
line-height: 1.25;
white-space: nowrap;
text-overflow: ellipsis;
}
.detail-meta {
display: flex;
flex-wrap: wrap;
gap: 8px;
align-items: center;
font-size: 12px;
color: var(--app-fg-muted);
}
.model-badge {
padding: 1px 7px;
border: 1px solid #d97757;
border-radius: 5px;
color: #e8a080;
}
.detail-body {
flex: 1;
overflow: hidden;
position: relative;
padding: 18px 24px;
}
.msgs {
display: flex;
flex-direction: column;
gap: 14px;
transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.msg {
max-width: 100%;
border-radius: 10px;
transition: background-color 0.6s ease, box-shadow 0.6s ease;
}
.msg-user {
align-self: flex-end;
max-width: 82%;
padding: 10px 14px;
background: var(--app-muted);
}
.msg-assistant {
padding: 2px 0;
}
.msg-tool {
display: flex;
align-items: center;
gap: 6px;
font-size: 13px;
color: var(--app-fg-muted);
}
.msg-tool::before {
content: '';
width: 6px;
height: 6px;
border-right: 1.5px solid currentColor;
border-bottom: 1.5px solid currentColor;
transform: rotate(-45deg);
margin-right: 4px;
}
.msg.is-hit {
box-shadow: 0 0 0 2px rgb(76 141 255 / 0.55);
background: rgb(76 141 255 / 0.12);
}
.msg-assistant.is-hit {
padding: 8px 10px;
margin: -6px -10px;
}
.window mark {
padding: 0 1px;
border-radius: 3px;
background: rgb(255 204 0 / 0.28);
color: inherit;
}
/* The ⌘K palette */
.palette-layer {
position: absolute;
inset: 0;
display: flex;
justify-content: center;
align-items: flex-start;
padding-top: 64px;
background: rgb(0 0 0 / 0.42);
opacity: 0;
pointer-events: none;
transition: opacity 0.25s ease;
}
.window.is-searching .palette-layer {
opacity: 1;
pointer-events: auto;
}
.palette {
width: min(640px, 100% - 32px);
max-height: calc(100% - 96px);
display: flex;
flex-direction: column;
border-radius: 12px;
background: var(--app-popover);
border: 1px solid #3a3a37;
box-shadow: 0 24px 64px rgb(0 0 0 / 0.5);
transform: translateY(-6px) scale(0.985);
transition: transform 0.25s ease;
}
.window.is-searching .palette {
transform: none;
}
.palette-input {
display: flex;
align-items: center;
gap: 10px;
padding: 14px 16px;
border-bottom: 1px solid var(--app-border);
color: var(--app-fg-muted);
}
.palette-input input {
flex: 1;
min-width: 0;
border: 0;
outline: 0;
background: none;
color: var(--app-fg);
font: 16px var(--body);
}
.palette-input input::placeholder {
color: #7f7e79;
}
.palette-results {
overflow: hidden;
padding: 6px;
min-height: 72px;
}
.hit {
display: block;
width: 100%;
padding: 10px 12px;
border: 0;
border-radius: 8px;
background: none;
color: inherit;
font: inherit;
text-align: left;
cursor: pointer;
}
.hit.is-current {
background: var(--app-active);
}
.hit-top {
display: flex;
align-items: center;
gap: 8px;
font-size: 14px;
}
.hit-top img {
width: 16px;
height: 16px;
flex: none;
}
.hit-top .t {
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.hit-top .where {
margin-left: auto;
padding-left: 12px;
flex: none;
font-size: 12.5px;
color: var(--app-fg-muted);
}
.hit-snip {
margin-top: 4px;
padding-left: 24px;
overflow: hidden;
font-size: 13px;
color: var(--app-fg-muted);
white-space: nowrap;
text-overflow: ellipsis;
}
.hit-snip mark {
color: var(--app-fg);
}
.palette-empty {
padding: 18px 12px;
font-size: 14px;
color: var(--app-fg-muted);
}
.palette-foot {
display: flex;
gap: 16px;
padding: 10px 16px;
border-top: 1px solid var(--app-border);
font-size: 12px;
color: var(--app-fg-muted);
}
.palette-foot span:first-child {
margin-right: auto;
}
.demo-try {
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: center;
gap: 8px;
margin-top: 22px;
font-size: 14px;
color: var(--mist);
}
.demo-try button {
padding: 5px 12px;
border: 1px solid var(--line-strong);
border-radius: 999px;
background: rgb(16 32 63 / 0.6);
color: var(--foam);
font: 14px var(--body);
cursor: pointer;
transition: border-color 0.15s ease, background-color 0.15s ease;
}
.demo-try button:hover {
border-color: var(--gold);
}
.demo-try button code {
font-size: 13px;
}
@media (max-width: 1020px) {
.window {
grid-template-columns: 250px 1fr;
}
.win-sidebar {
display: none;
}
}
@media (max-width: 680px) {
.window {
--win-h: 520px;
grid-template-columns: 1fr;
}
.win-list {
display: none;
}
.palette-layer {
padding-top: 12px;
}
.palette {
max-height: calc(100% - 24px);
}
.hit-top .where {
display: none;
}
.palette-foot span:not(:first-child) {
display: none;
}
}
/* ---------- Sections ---------- */
.section {
padding-block: clamp(96px, 14vw, 168px) 0;
}
.section-head {
max-width: 44rem;
}
.section h2,
.download h2 {
margin: 0;
font: 620 clamp(32px, 4.4vw, 52px) / 1.04 var(--display);
font-variation-settings: 'wdth' 94, 'opsz' 72;
letter-spacing: -0.028em;
text-wrap: balance;
}
:lang(zh-Hans) .section h2,
:lang(zh-Hans) .download h2 {
font-size: clamp(28px, 3.6vw, 42px);
line-height: 1.25;
letter-spacing: 0;
}
.section-head p {
margin: 20px 0 0;
max-width: 38em;
color: var(--mist);
text-wrap: pretty;
}
/* The agent manifest: where Wake looks, one line per agent */
.manifest {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 0 48px;
margin: 56px 0 0;
padding: 0;
list-style: none;
}
.manifest li {
display: grid;
grid-template-columns: 28px 9.5rem minmax(0, 1fr);
align-items: center;
gap: 14px;
padding: 13px 0;
border-top: 1px solid var(--line);
}
.manifest img {
width: 24px;
height: 24px;
}
.manifest .name {
font-weight: 600;
font-size: 16px;
}
.manifest code {
overflow: hidden;
font-size: 13px;
color: var(--dim);
white-space: nowrap;
text-overflow: ellipsis;
transition: color 0.15s ease;
}
.manifest li:hover code {
color: var(--gold);
}
.footnote {
margin: 28px 0 0;
max-width: 44em;
font-size: 14px;
color: var(--dim);
}
@media (max-width: 860px) {
.manifest {
grid-template-columns: 1fr;
}
}
@media (max-width: 520px) {
.manifest li {
grid-template-columns: 24px 1fr;
row-gap: 2px;
}
.manifest code {
grid-column: 2;
}
}
/* Split sections: words on one side, the thing itself on the other */
.split {
display: grid;
grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
gap: clamp(32px, 6vw, 88px);
align-items: center;
}
.split.reverse > :first-child {
order: 2;
}
@media (max-width: 900px) {
.split {
grid-template-columns: 1fr;
}
.split.reverse > :first-child {
order: 0;
}
}
.panel {
border-radius: 12px;
background: var(--app-bg);
color: var(--app-fg);
font: 14px/1.5 var(--body);
box-shadow: 0 0 0 1px rgb(255 255 255 / 0.07) inset, 0 30px 80px -24px rgb(0 0 0 / 0.7);
overflow: hidden;
}
/* Resume */
.resume-head {
display: flex;
align-items: center;
gap: 10px;
padding: 16px 18px;
border-bottom: 1px solid var(--app-border);
}
.resume-head img {
width: 16px;
height: 16px;
}
.resume-head .t {
overflow: hidden;
font-weight: 650;
white-space: nowrap;
text-overflow: ellipsis;
}
.open-in {
position: relative;
margin-left: auto;
flex: none;
}
.open-in-btn {
display: inline-flex;
align-items: center;
gap: 6px;
height: 28px;
padding: 0 10px;
border-radius: 6px;
background: var(--app-primary);
color: #fff;
font-size: 13px;
font-weight: 600;
}
.open-in-menu {
position: absolute;
right: 0;
top: 34px;
z-index: 2;
width: 180px;
padding: 5px;
border-radius: 9px;
background: var(--app-popover);
border: 1px solid #3a3a37;
box-shadow: 0 16px 40px rgb(0 0 0 / 0.5);
font-size: 13px;
}
.open-in-menu div {
display: flex;
align-items: center;
gap: 8px;
padding: 6px 9px;
border-radius: 6px;
}
.open-in-menu .is-current {
background: var(--app-primary);
color: #fff;
}
.open-in-menu hr {
margin: 4px 6px;
border: 0;
border-top: 1px solid var(--app-border);
}
.term {
margin: 0;
padding: 18px 20px 22px;
min-height: 236px;
background: #11100f;
font: 13px/1.7 var(--mono);
color: #d8d6d0;
white-space: pre-wrap;
overflow-wrap: anywhere;
}
.term .p {
color: var(--gold);
}
.term .c {
color: #7f7e79;
}
.term .ok {
color: #56c789;
}
.term .cursor {
display: inline-block;
width: 8px;
height: 1.1em;
vertical-align: -0.2em;
background: #d8d6d0;
animation: blink 1.1s steps(1) infinite;
}
@keyframes blink {
50% {
opacity: 0;
}
}
/* Connect: an agent asking Wake */
.chat {
padding: 20px;
display: flex;
flex-direction: column;
gap: 14px;
}
.chat .ask {
align-self: flex-end;
max-width: 86%;
padding: 10px 14px;
border-radius: 10px;
background: var(--app-muted);
}
.chat .call {
display: flex;
flex-direction: column;
gap: 6px;
padding: 10px 12px;
border: 1px solid var(--app-border);
border-radius: 8px;
font: 12.5px/1.55 var(--mono);
color: var(--app-fg-muted);
}
.chat .call b {
color: #9db8ff;
font-weight: 500;
}
.chat .call .ref {
color: var(--gold);
}
.chat .from {
display: flex;
align-items: center;
gap: 6px;
font-size: 12.5px;
color: var(--app-fg-muted);
}
.chat .from img {
width: 14px;
height: 14px;
}
.setup {
margin-top: 36px;
}
.tabs {
display: flex;
flex-wrap: wrap;
gap: 4px;
padding: 4px;
border: 1px solid var(--line);
border-radius: 10px;
width: fit-content;
}
.tabs button {
padding: 6px 12px;
border: 0;
border-radius: 7px;
background: none;
color: var(--mist);
font: 500 14px var(--body);
cursor: pointer;
}
.tabs button[aria-selected='true'] {
background: var(--night-raised);
color: var(--foam);
box-shadow: 0 0 0 1px var(--line-strong) inset;
}
.snippet {
position: relative;
margin-top: 12px;
}
.snippet pre {
margin: 0;
padding: 16px 92px 16px 18px;
border: 1px solid var(--line);
border-radius: 10px;
background: var(--abyss);
font-size: 13px;
line-height: 1.65;
color: var(--foam);
white-space: pre-wrap;
overflow-wrap: anywhere;
}
.copy-btn {
position: absolute;
top: 10px;
right: 10px;
height: 30px;
padding: 0 12px;
border: 1px solid var(--line-strong);
border-radius: 7px;
background: var(--night-raised);
color: var(--foam);
font: 500 13px var(--body);
cursor: pointer;
}
.copy-btn:hover {
border-color: var(--gold);
}
.setup-links {
display: flex;
gap: 20px;
margin-top: 14px;
font-size: 14px;
color: var(--mist);
}
/* More: a list, with the one feature that has a picture showing it */
.more {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 0 48px;
margin-top: 56px;
}
.more-item {
padding: 24px 0 28px;
border-top: 1px solid var(--line);
}
.more-item h3 {
margin: 0 0 8px;
font: 600 21px/1.3 var(--display);
letter-spacing: -0.01em;
}
.more-item p {
margin: 0;
color: var(--mist);
font-size: 16px;
}
.chips {
display: flex;
flex-wrap: wrap;
gap: 6px;
margin: 16px 0 0 !important;
}
.chip {
padding: 2px 9px;
border: 1px solid var(--line-strong);
border-radius: 6px;
font-size: 13px;
color: var(--mist);
}
.chip.mono {
font: 12.5px/1.6 var(--mono);
}
@media (max-width: 900px) {
.more {
grid-template-columns: 1fr;
}
}
/* ---------- Insights panel (the app's Insights page, on made-up data) ---------- */
.ins {
margin-top: 48px;
padding: 22px 28px 30px;
}
.ins-head {
display: flex;
align-items: flex-start;
gap: 18px;
margin: -4px 0 26px;
}
.ins-head .lights {
padding: 6px 0 0;
}
.ins-title {
font-size: 22px;
font-weight: 650;
line-height: 1.2;
}
.ins-sub {
margin-top: 2px;
font-size: 11.5px;
color: var(--app-fg-muted);
}
.ins h3 {
margin: 0;
font: 600 14px/1.4 var(--body);
color: var(--app-fg);
}
.ins dl,
.ins dd {
margin: 0;
}
.ins-overview {
display: flex;
flex-wrap: wrap;
gap: 18px 44px;
}
.ins-overview dd {
font-size: 28px;
font-weight: 650;
line-height: 1.15;
font-variant-numeric: tabular-nums;
}
.ins-overview dt,
.ins-week dt {
font-size: 12px;
color: var(--app-fg-muted);
}
.ins-block {
margin-top: 32px;
}
.ins-week {
display: flex;
flex-wrap: wrap;
gap: 16px 56px;
margin-top: 10px;
}
.ins-week dd {
font-size: 16px;
font-weight: 650;
font-variant-numeric: tabular-nums;
}
.ins-delta {
display: block;
font-size: 11.5px;
color: var(--app-fg-muted);
}
.ins-delta.is-up {
color: var(--app-primary);
}
.ins-row {
display: grid;
grid-template-columns: minmax(0, 688px) minmax(0, 1fr);
gap: 48px;
}
.ins-main,
.ins-side {
min-width: 0;
}
.ins-scroll {
overflow-x: auto;
scrollbar-width: none;
}
.ins-scroll::-webkit-scrollbar {
display: none;
}
.ins-heat {
width: 688px;
margin-top: 12px;
}
.ins-months {
position: relative;
height: 16px;
font-size: 11px;
color: var(--app-fg-muted);
}
.ins-months span {
position: absolute;
top: 0;
white-space: nowrap;
}
.ins-heat-body {
display: flex;
}
.ins-dows {
display: grid;
grid-template-rows: repeat(7, 9px);
row-gap: 3px;
width: 26px;
flex: none;
font-size: 10px;
line-height: 9px;
color: var(--app-fg-muted);
}
.ins-cells {
display: grid;
grid-auto-flow: column;
grid-template-rows: repeat(7, 9px);
grid-auto-columns: 9px;
gap: 3px;
}
.ins i[data-l] {
display: block;
width: 9px;
height: 9px;
border-radius: 2px;
background: var(--app-muted);
}
.ins i[data-l='1'] {
background: rgb(76 141 255 / 0.25);
}
.ins i[data-l='2'] {
background: rgb(76 141 255 / 0.5);
}
.ins i[data-l='3'] {
background: rgb(76 141 255 / 0.75);
}
.ins i[data-l='4'] {
background: var(--app-primary);
}
.ins-cells .is-future {
width: 9px;
height: 9px;
}
.ins-heat-foot {
display: flex;
justify-content: space-between;
gap: 16px;
margin: 10px 0 0 26px;
font-size: 11px;
color: var(--app-fg-muted);
}
.ins-legend-scale {
display: inline-flex;
align-items: center;
gap: 3px;
flex: none;
}
.ins-legend-scale i[data-l] {
margin: 0 1px;
}
.ins-caption {
margin: 2px 0 0;
font-size: 11.5px;
color: var(--app-fg-muted);
}
.ins-bars {
display: flex;
align-items: flex-end;
gap: 3px;
width: 688px;
height: 80px;
margin-top: 12px;
padding-left: 26px;
}
.ins-bar {
display: flex;
flex-direction: column-reverse;
width: 9px;
flex: none;
}
.ins-bar i {
display: block;
width: 9px;
}
.ins-bar i:last-child {
border-radius: 2px 2px 0 0;
}
.ins-bar .is-other {
background: rgb(169 168 162 / 0.35);
}
.ins-bar .is-zero {
height: 2px;
background: var(--app-muted);
}
.ins-series {
display: flex;
flex-wrap: wrap;
gap: 6px 16px;
margin: 12px 0 0 26px;
padding: 0;
list-style: none;
font-size: 11px;
color: var(--app-fg-muted);
}
.ins-series li {
display: inline-flex;
align-items: center;
gap: 6px;
}
.ins-series i {
width: 9px;
height: 9px;
border-radius: 2px;
}
.ins-series .is-other {
background: rgb(169 168 162 / 0.35);
}
.ins-block-head {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 12px;
}
.ins-block-head.is-board {
align-items: center;
}
.ins-switch {
display: inline-flex;
align-items: center;
flex: none;
}
.ins-switch button {
width: 26px;
height: 24px;
border: 0;
border-radius: 6px;
background: none;
color: var(--app-fg-muted);
font: 18px/1 var(--body);
cursor: pointer;
}
.ins-switch button:hover {
background: var(--app-hover);
color: var(--app-fg);
}
.ins-switch span {
width: 64px;
text-align: center;
font-size: 12px;
color: var(--app-fg-muted);
}
.ins-dist {
--gap: 4px;
display: flex;
align-items: flex-end;
gap: var(--gap);
flex: 1;
min-height: 112px;
margin-top: 16px;
}
/* Beside the heatmap, the distribution chart grows to the height of the two charts */
.ins-side {
display: flex;
flex-direction: column;
}
.ins-side > .ins-block[data-dist] {
display: flex;
flex: 1;
flex-direction: column;
}
.ins-dist[data-n='7'] {
--gap: 8px;
}
.ins-dist[data-n='12'] {
--gap: 6px;
}
.ins-dist span {
display: flex;
align-items: flex-end;
flex: 1;
height: 100%;
}
.ins-dist i {
display: block;
width: 100%;
border-radius: 2px 2px 0 0;
background: rgb(76 141 255 / 0.55);
}
.ins-dist i.is-peak {
background: var(--app-primary);
}
.ins-dist i.is-zero {
height: 2px;
background: var(--app-muted);
}
.ins-dist-labels {
display: flex;
gap: 4px;
margin-top: 6px;
font-size: 10.5px;
color: var(--app-fg-muted);
}
.ins-dist-labels span {
flex: 1;
min-width: 0;
text-align: center;
white-space: nowrap;
}
.ins-dist-labels[data-sparse='true'] span {
text-align: left;
overflow: visible;
}
.ins-boards {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 0 40px;
}
.ins-rank {
margin: 10px 0 0;
padding: 0;
list-style: none;
}
.ins-rank li {
display: flex;
align-items: center;
gap: 6px;
height: 24px;
font-size: 13px;
}
.ins-rank img,
.ins-rank svg {
width: 15px;
height: 15px;
flex: none;
}
.ins-rank svg {
fill: none;
stroke: var(--app-fg-muted);
stroke-width: 1.8;
stroke-linejoin: round;
}
.ins-name {
width: 112px;
flex: none;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.ins-track {
flex: 1;
height: 6px;
border-radius: 3px;
background: var(--app-muted);
overflow: hidden;
}
.ins-track i {
display: block;
height: 100%;
border-radius: 3px;
background: var(--app-primary);
}
.ins-val {
width: 56px;
flex: none;
text-align: right;
font-size: 12px;
color: var(--app-fg-muted);
font-variant-numeric: tabular-nums;
}
@media (max-width: 1120px) {
.ins-row {
grid-template-columns: minmax(0, 1fr);
gap: 0;
}
.ins-dist {
flex: none;
height: 140px;
}
}
@media (max-width: 900px) {
.ins-boards {
grid-template-columns: 1fr;
}
}
@media (max-width: 600px) {
.ins {
padding: 18px 16px 24px;
}
.ins-overview {
gap: 14px 28px;
}
.ins-overview dd {
font-size: 22px;
}
.ins-week {
gap: 12px 28px;
}
}
/* Principles */
.principles {
margin: 48px 0 0;
padding: 0;
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: 32px;
}
.principles div {
padding-top: 20px;
border-top: 2px solid var(--gold);
}
.principles div:nth-child(2) {
border-top-color: var(--ember);
}
.principles div:nth-child(3) {
border-top-color: var(--mauve);
}
.principles div:nth-child(4) {
border-top-color: var(--sky);
}
.principles dt {
font: 600 20px/1.3 var(--display);
}
.principles dd {
margin: 10px 0 0;
font-size: 15.5px;
color: var(--mist);
}
@media (max-width: 960px) {
.principles {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
}
@media (max-width: 520px) {
.principles {
grid-template-columns: 1fr;
}
}
/* Download: a second, smaller sunrise closes the page */
.download {
position: relative;
margin-top: clamp(96px, 14vw, 168px);
padding: clamp(80px, 10vw, 120px) 0 clamp(64px, 8vw, 96px);
overflow: hidden;
border-top: 1px solid var(--line);
background:
radial-gradient(70% 60% at 50% 100%, rgb(232 147 95 / 0.32), rgb(138 91 94 / 0.12) 45%, transparent 75%),
linear-gradient(180deg, transparent, rgb(31 60 99 / 0.45));
}
/* The page closes on the same sunrise it opened with, smaller */
.download::after {
content: '';
position: absolute;
left: 50%;
bottom: 0;
width: 132px;
height: 66px;
translate: -50% 0;
border-radius: 132px 132px 0 0;
background: radial-gradient(circle at 50% 100%, var(--sun), var(--gold) 55%, #ffa95e);
box-shadow: 0 0 80px 20px rgb(255 169 94 / 0.35);
pointer-events: none;
}
body:has(.download) .footer {
border-top: 1px solid rgb(255 200 150 / 0.5);
}
.download h2 {
text-align: center;
}
.download .rel {
margin: 14px 0 0;
text-align: center;
color: var(--mist);
font-size: 15px;
}
.platforms {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 16px;
margin-top: 48px;
}
.platform {
display: flex;
flex-direction: column;
gap: 4px;
padding: 24px;
border: 1px solid var(--line);
border-radius: 14px;
background: rgb(16 32 63 / 0.55);
}
.platform.is-yours {
border-color: rgb(255 178 115 / 0.55);
box-shadow: 0 0 0 1px rgb(255 178 115 / 0.25) inset;
}
.platform h3 {
margin: 0;
font: 600 22px/1.2 var(--display);
}
.platform .req {
margin: 0 0 16px;
font-size: 14px;
color: var(--mist);
}
.platform .files {
display: flex;
flex-direction: column;
gap: 8px;
}
.file {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
padding: 10px 14px;
border: 1px solid var(--line-strong);
border-radius: 9px;
font-size: 14px;
text-decoration: none;
transition: border-color 0.15s ease, background-color 0.15s ease;
}
.file:hover {
border-color: var(--gold);
background: rgb(255 178 115 / 0.06);
}
.file span {
flex: none;
white-space: nowrap;
}
.file code {
min-width: 0;
overflow: hidden;
font-size: 12px;
color: var(--dim);
white-space: nowrap;
text-overflow: ellipsis;
}
.platform .note {
margin: 14px 0 0;
font-size: 13px;
color: var(--dim);
}
.platform .note code {
font-size: 12px;
color: var(--mist);
overflow-wrap: anywhere;
}
@media (max-width: 900px) {
.platforms {
grid-template-columns: 1fr;
}
}
/* FAQ */
.faq {
margin-top: 40px;
max-width: 50rem;
}
.faq details {
border-top: 1px solid var(--line);
}
.faq details:last-child {
border-bottom: 1px solid var(--line);
}
.faq summary {
display: flex;
align-items: center;
justify-content: space-between;
gap: 16px;
padding: 20px 0;
font-size: 18px;
font-weight: 600;
cursor: pointer;
list-style: none;
}
.faq summary::-webkit-details-marker {
display: none;
}
.faq summary::after {
content: '';
flex: none;
width: 9px;
height: 9px;
border-right: 1.5px solid var(--mist);
border-bottom: 1.5px solid var(--mist);
transform: rotate(45deg) translateY(-3px);
transition: transform 0.2s ease;
}
.faq details[open] summary::after {
transform: rotate(225deg) translateY(-3px);
}
.faq details p {
margin: -4px 0 22px;
max-width: 42em;
color: var(--mist);
}
/* Footer */
.footer {
padding: 48px 0 56px;
border-top: 1px solid var(--line);
font-size: 14px;
color: var(--dim);
}
.footer-inner {
display: flex;
flex-wrap: wrap;
gap: 24px 48px;
justify-content: space-between;
}
.footer .brand {
font-size: 18px;
color: var(--foam);
}
.footer .brand img {
width: 24px;
height: 24px;
}
.footer p {
margin: 10px 0 0;
}
.footer nav {
display: flex;
flex-wrap: wrap;
gap: 10px 22px;
align-items: flex-start;
}
.footer nav a {
color: var(--mist);
text-decoration: none;
}
.footer nav a:hover {
color: var(--foam);
}
/* ---------- Docs and changelog ---------- */
.doc-page {
padding: 120px 0 96px;
}
.doc-layout {
display: grid;
grid-template-columns: 220px minmax(0, 1fr);
gap: 56px;
align-items: start;
}
.doc-toc {
position: sticky;
top: 96px;
max-height: calc(100vh - 120px);
overflow-y: auto;
font-size: 14px;
}
.doc-toc p {
margin: 0 0 10px;
font-weight: 600;
color: var(--foam);
}
.doc-toc a {
display: block;
padding: 4px 0;
color: var(--mist);
text-decoration: none;
}
.doc-toc a:hover,
.doc-toc a[aria-current='page'] {
color: var(--foam);
}
.doc-toc .sub {
padding-left: 12px;
font-size: 13px;
}
.doc-toc hr {
margin: 14px 0;
border: 0;
border-top: 1px solid var(--line);
}
@media (max-width: 900px) {
.doc-layout {
grid-template-columns: 1fr;
}
.doc-toc {
position: static;
max-height: none;
}
.doc-toc .sub {
display: none;
}
}
.prose {
max-width: 46rem;
font-size: 16.5px;
}
.lang-note {
margin: 0 0 28px !important;
padding: 10px 14px;
border: 1px solid var(--line-strong);
border-radius: 9px;
background: rgb(16 32 63 / 0.6);
font-size: 14.5px;
color: var(--mist) !important;
}
.prose h1 {
margin: 0 0 24px;
font: 620 clamp(32px, 4vw, 44px) / 1.1 var(--display);
letter-spacing: -0.025em;
}
.prose h2 {
margin: 56px 0 16px;
padding-top: 24px;
border-top: 1px solid var(--line);
font: 600 27px/1.25 var(--display);
letter-spacing: -0.015em;
}
.prose h3 {
margin: 36px 0 12px;
font: 600 20px/1.3 var(--display);
}
.prose p,
.prose li {
color: #cdd6e4;
}
.prose a {
color: var(--foam);
}
.prose code {
padding: 1px 5px;
border-radius: 5px;
background: rgb(163 179 203 / 0.12);
font-size: 0.86em;
}
.prose pre {
margin: 20px 0;
padding: 16px 18px;
border: 1px solid var(--line);
border-radius: 10px;
font-size: 13px;
line-height: 1.65;
overflow-x: auto;
}
.prose pre code {
padding: 0;
background: none;
font-size: inherit;
}
.prose table {
width: 100%;
margin: 20px 0;
border-collapse: collapse;
font-size: 14.5px;
display: block;
overflow-x: auto;
}
.prose th,
.prose td {
padding: 9px 12px;
border-bottom: 1px solid var(--line);
text-align: left;
vertical-align: top;
}
.prose th {
color: var(--foam);
font-weight: 600;
}
.prose blockquote {
margin: 20px 0;
padding: 2px 0 2px 18px;
border-left: 2px solid var(--gold);
color: var(--mist);
}
.prose hr {
margin: 40px 0;
border: 0;
border-top: 1px solid var(--line);
}
.changelog h2 {
font-family: var(--mono);
font-size: 20px;
letter-spacing: 0;
}
.changelog li {
margin: 8px 0;
}
.tag {
display: inline-block;
min-width: 4.4em;
margin-right: 6px;
padding: 0 6px;
border-radius: 4px;
font: 600 12px/1.7 var(--mono);
text-align: center;
}
.tag-new {
background: rgb(255 178 115 / 0.16);
color: var(--gold);
}
.tag-fix {
background: rgb(76 141 255 / 0.16);
color: #9db8ff;
}
.tag-update {
background: rgb(163 179 203 / 0.14);
color: var(--mist);
}
@media (prefers-reduced-motion: reduce) {
html {
scroll-behavior: auto;
}
*,
*::before,
*::after {
transition-duration: 0.01ms !important;
animation-duration: 0.01ms !important;
animation-iteration-count: 1 !important;
}
}