/* Recene website. Colours, radii, type sizes and timings are the GPUI app's
   (apps/desktop-gpui/src/theme.rs, ui.rs); token names follow theme.rs. */
@font-face { font-family: Geist; src: url(/web/fonts/Geist-Regular.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: Geist; src: url(/web/fonts/Geist-Medium.woff2) format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: Geist; src: url(/web/fonts/Geist-SemiBold.woff2) format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: Lucide; src: url(/web/fonts/Lucide.woff2) format('woff2'); font-display: block; }
@property --spin { syntax: '<angle>'; inherits: false; initial-value: 70deg; }

:root {
  color-scheme: dark;
  --bg: #0E0F11; --field: #18191B; --panel-top: #1D1E21; --panel-bottom: #141517;
  --popover-top: #232428; --popover-bottom: #1B1C1F; --track: #00000038;
  --text: #EDEDEF; --label: #D4D4D8; --soft: #C9C9CF; --icon-strong: #A1A1AA; --icon: #9D9DA6; --muted: #8B8B94; --faint: #7A7A83;
  --line: #FFFFFF0F; --divider: #FFFFFF14;
  --accent: #FF5C8A; --partner: #8E7CFF; --ok: #46A758;
  --r-item: 6px; --r-control: 8px; --r-track: 9px; --r-card: 10px; --r-panel: 12px;
  --hover-in: 160ms; --hover-out: 260ms; --segment: 260ms; --panel-in: 360ms; --stage: 700ms;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --wrap: 1200px; --gutter: 24px;
}

* { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: var(--bg); color: var(--text);
  font: 400 16px/1.6 Geist, system-ui, -apple-system, 'Segoe UI', sans-serif; -webkit-font-smoothing: antialiased; overflow-x: clip; }
main { flex: 1; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, figure, ul { margin: 0; }
ul { padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
:focus-visible { outline: 2px solid color-mix(in srgb, var(--accent) 75%, transparent); outline-offset: 3px; border-radius: var(--r-control); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.i { font-family: Lucide; font-style: normal; font-weight: 400; font-size: 15px; line-height: 1; color: var(--icon); display: inline-flex; width: 16px; justify-content: center; flex: none; transition: color var(--hover-out); }
.dim { color: var(--faint); }
.grow { flex: 1; min-width: 0; }
[hidden] { display: none !important; }
.meta { font-size: 12.5px; color: var(--muted); }
.fine { font-size: 13px; line-height: 1.5; color: var(--faint); }
.fine a, .link { color: var(--soft); text-decoration: underline; text-decoration-color: #FFFFFF33; text-underline-offset: 3px; transition: color var(--hover-out), text-decoration-color var(--hover-out); }
.fine a:hover, .link:hover { color: var(--text); text-decoration-color: color-mix(in srgb, var(--accent) 70%, transparent); transition-duration: var(--hover-in); }

/* The Recene mark: the sidebar's ring (ui::brand_mark) and the large ring (ui::logo_mark) */
.wordmark { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: 19px; letter-spacing: -.01em; color: var(--text); }
.wordmark.small { font-size: 15px; gap: 8px; }
.mark { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--accent); display: inline-grid; place-items: center; flex: none; }
.mark::after { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.wordmark.small .mark { width: 14px; height: 14px; }
.wordmark.small .mark::after { width: 4px; height: 4px; }
.mark.big { width: 72px; height: 72px; border: 0; padding: 10px; background: linear-gradient(135deg, var(--accent), var(--partner));
  box-shadow: 0 0 48px color-mix(in srgb, var(--accent) 28%, transparent); position: relative; }
.mark.big::before { content: ''; position: absolute; inset: 10px; border-radius: 50%; background: var(--popover-bottom); }
.mark.big::after { width: 22px; height: 22px; position: relative; }

/* Buttons (ui.rs button, button_primary) */
.btn { height: 32px; padding: 0 12px; display: inline-flex; align-items: center; gap: 6px; border-radius: var(--r-control);
  border: 1px solid #FFFFFF17; background: linear-gradient(#FFFFFF0E, #FFFFFF05); color: var(--label); font-size: 13px; font-weight: 500; white-space: nowrap;
  transition: background var(--hover-out), border-color var(--hover-out), color var(--hover-out); }
.btn:hover { background: linear-gradient(#FFFFFF17, #FFFFFF0A); border-color: #FFFFFF2C; color: var(--text); transition-duration: var(--hover-in); }
.btn:hover .i { color: var(--text); }
.btn.sm { height: 28px; padding: 0 8px 0 10px; font-size: 12.5px; }
.btn-primary { height: 40px; padding: 0 18px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: var(--r-control);
  border: 1px solid #FFFFFF24; color: #19060D; font-weight: 500; font-size: 14px; white-space: nowrap;
  background: linear-gradient(var(--accent), color-mix(in srgb, var(--accent) 84%, #000));
  box-shadow: 0 4px 14px color-mix(in srgb, var(--accent) 14%, transparent);
  transition: box-shadow var(--hover-out), border-color var(--hover-out), filter var(--hover-out), background var(--segment); }
.btn-primary .i { color: inherit; }
.btn-primary:hover { border-color: #FFFFFF40; filter: brightness(1.07); box-shadow: 0 4px 22px color-mix(in srgb, var(--accent) 28%, transparent); transition-duration: var(--hover-in); }
.btn-primary:disabled { cursor: default; filter: saturate(.6); }

/* Top bar */
.topbar { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; height: 72px; padding: 0 var(--gutter); display: flex; align-items: center; gap: 24px; position: relative; z-index: 2; }
.topbar nav { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.topbar nav a:not(.btn) { padding: 6px 10px; border-radius: var(--r-item); color: var(--soft); font-size: 14px; transition: color var(--hover-out), background var(--hover-out); }
.topbar nav a:not(.btn):hover, .topbar nav a[aria-current] { color: var(--text); background: #FFFFFF0A; transition-duration: var(--hover-in); }

/* Hero */
.hero { position: relative; padding: 72px var(--gutter) 40px; display: flex; flex-direction: column; align-items: center; text-align: center; overflow-x: clip; }
.state { display: inline-flex; align-items: center; gap: 9px; height: 32px; padding: 0 14px 0 12px; border-radius: 99px; border: 1px solid var(--divider);
  background: #FFFFFF06; color: var(--soft); font-size: 13.5px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); flex: none; }
h1 { margin-top: 28px; font-weight: 600; font-size: clamp(40px, 6.6vw, 84px); line-height: 1.02; letter-spacing: -.042em; max-width: 12.5em; text-wrap: balance; }
.lede { margin-top: 24px; max-width: 34em; color: var(--muted); font-size: 18px; line-height: 1.55; text-wrap: pretty; }
.stage { position: relative; width: 100%; max-width: var(--wrap); margin-top: 72px; }

/* The empty states' orbits (onboarding::rings, arcs with a moon at each head) */
.orbits { position: absolute; left: 50%; top: 50%; width: clamp(900px, 118vw, 1700px); height: auto; aspect-ratio: 1; translate: -50% -50%; pointer-events: none; z-index: 0; overflow: visible; }
.orbits .rings circle { fill: none; stroke: #FFFFFF; stroke-opacity: .055; stroke-width: 1; vector-effect: non-scaling-stroke; }
.orbits .arc path { fill: none; stroke-width: 1.6; stroke-linecap: round; filter: drop-shadow(0 0 6px color-mix(in srgb, var(--accent) 55%, transparent)); }
.orbits .moon { fill: var(--accent); filter: drop-shadow(0 0 6px var(--accent)); }
.orbits .arc { transform-origin: 0 0; animation: sway 14s ease-in-out infinite alternate; }
.orbits .a2 { animation-duration: 18s; animation-delay: -6s; }
@keyframes sway { from { rotate: -7deg; } to { rotate: 7deg; } }

/* The library window (library.rs, sidebar.rs) */
.app { position: relative; z-index: 1; display: flex; gap: 8px; padding: 8px; height: 620px; border-radius: 14px; background: var(--bg); border: 1px solid #FFFFFF12;
  font-size: 13px; line-height: 1.4; text-align: left;
  box-shadow: 0 40px 120px #000000A6, 0 0 0 1px #00000080, 0 -1px 0 #FFFFFF10 inset, 0 0 80px color-mix(in srgb, var(--partner) 6%, transparent);
  animation: appear 1100ms var(--ease) 120ms both; }
@keyframes appear { from { opacity: 0; translate: 0 28px; } }
.sidebar { width: 220px; flex: none; display: flex; flex-direction: column; gap: 2px; padding: 6px 4px; }
.side-head { display: flex; align-items: center; justify-content: space-between; padding: 6px 8px 14px; }
.nav { display: flex; flex-direction: column; gap: 2px; }
.nav-item { height: 32px; display: flex; align-items: center; gap: 10px; padding: 0 10px; border-radius: var(--r-control); color: var(--soft); text-align: left; border: 1px solid transparent; width: 100%;
  transition: background var(--hover-out), color var(--hover-out), border-color var(--hover-out); }
button.nav-item:hover, a.nav-item:hover { background: #FFFFFF0A; color: var(--text); transition-duration: var(--hover-in); }
.nav-item.static { cursor: default; }
.nav-item.on { background: linear-gradient(color-mix(in srgb, var(--accent) 16%, transparent), color-mix(in srgb, var(--accent) 7%, transparent)); border-color: color-mix(in srgb, var(--accent) 22%, transparent); color: var(--text); }
.nav-item.on .i { color: var(--accent); }
.nav-item .count { font-size: 12px; color: var(--faint); font-variant-numeric: tabular-nums; }
.nav-item.on .count { color: var(--soft); }
.beta, .badge { margin-left: auto; font-size: 11.5px; font-weight: 500; line-height: 1; padding: 3px 6px; border-radius: 5px; color: var(--accent);
  border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent); background: color-mix(in srgb, var(--accent) 8%, transparent); }
.pill { font-size: 11.5px; font-weight: 500; padding: 2px 6px; border-radius: 5px; color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent); }
.section-label { display: flex; justify-content: space-between; font-size: 12px; color: var(--faint); padding: 20px 10px 6px; }
.side-foot { margin-top: auto; padding-top: 8px; border-top: 1px solid var(--line); }
.gtile { width: 18px; height: 18px; border-radius: 5px; flex: none; display: inline-grid; place-items: center; font-size: 10.5px; font-weight: 600; line-height: 1;
  color: var(--h); background: color-mix(in srgb, var(--h) 16%, #16171A); box-shadow: 0 0 0 1px color-mix(in srgb, var(--h) 45%, transparent) inset; }
.g-apex { --h: #EC6A58; } .g-cs2 { --h: #E0A044; } .g-cp77 { --h: #E8E05A; } .g-eft { --h: #B9AE8A; } .g-ow2 { --h: #F99E1A; }
.panel { flex: 1; min-width: 0; border-radius: var(--r-panel); background: linear-gradient(var(--panel-top), var(--panel-bottom)); box-shadow: 0 14px 36px #0000004D; display: flex; flex-direction: column; overflow: hidden; }
.panel-head { height: 60px; flex: none; display: flex; align-items: center; gap: 12px; padding: 0 10px 0 16px; }
.page-icon { width: 34px; height: 34px; border-radius: var(--r-control); border: 1px solid var(--divider); background: linear-gradient(#FFFFFF10, #FFFFFF05); display: grid; place-items: center; }
.page-icon .i { color: var(--label); }
.page-title { display: flex; flex-direction: column; min-width: 0; }
.page-title strong { font-weight: 600; font-size: 15px; }
.page-title span { font-size: 12px; color: var(--muted); white-space: nowrap; }
.window-btns { display: flex; gap: 2px; padding-left: 8px; margin-left: 4px; border-left: 1px solid var(--divider); }
.window-btns .i { width: 30px; height: 30px; align-items: center; border-radius: var(--r-control); color: var(--icon-strong); }
.banner { margin: 2px 16px 0; height: 42px; flex: none; display: flex; align-items: center; gap: 10px; padding: 0 8px 0 12px; border-radius: var(--r-card); border: 1px solid var(--line); background: #FFFFFF05; font-size: 13px; }
.banner > .i { color: var(--accent); }
.banner strong { font-weight: 500; }
.banner .btn { margin-left: 4px; }
.grid-wrap { flex: 1; min-height: 0; overflow: auto; padding: 14px 16px 20px; scrollbar-width: none; position: relative;
  -webkit-mask-image: linear-gradient(#000 calc(100% - 56px), transparent); mask-image: linear-gradient(#000 calc(100% - 56px), transparent); }
.grid-wrap::-webkit-scrollbar { display: none; }
.grid-label { font-size: 12.5px; font-weight: 500; color: var(--soft); padding: 0 2px 10px; }
.sessions { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px; margin-bottom: 22px; }
.session { display: flex; gap: 12px; align-items: center; padding: 6px; border-radius: var(--r-card); border: 1px solid var(--line); background: #FFFFFF05; min-width: 0; }
.session img { width: 104px; aspect-ratio: 16 / 9; height: auto; object-fit: cover; border-radius: 6px; flex: none; }
.session > span { display: flex; flex-direction: column; min-width: 0; font-size: 12.5px; color: var(--muted); line-height: 1.45; }
.session strong { font-size: 13.5px; font-weight: 500; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px 14px; }
.clip { min-width: 0; display: flex; flex-direction: column; gap: 6px; animation: rise var(--panel-in) var(--ease) both; }
.clip:nth-child(2) { animation-delay: 30ms; } .clip:nth-child(3) { animation-delay: 60ms; } .clip:nth-child(4) { animation-delay: 90ms; }
.clip:nth-child(5) { animation-delay: 120ms; } .clip:nth-child(6) { animation-delay: 150ms; } .clip:nth-child(n+7) { animation-delay: 180ms; }
@keyframes rise { from { opacity: 0; translate: 0 12px; } }
.thumbbox { position: relative; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: #000; box-shadow: 0 4px 10px #0000001A;
  transition: box-shadow var(--hover-out), translate var(--hover-out) var(--ease); }
.thumbbox img { width: 100%; height: 100%; object-fit: cover; transition: scale 600ms var(--ease); }
.clip:hover .thumbbox { box-shadow: 0 12px 28px #0000004D; translate: 0 -2px; transition-duration: var(--hover-in); }
.clip:hover .thumbbox img { scale: 1.04; }
.dur { position: absolute; right: 7px; bottom: 7px; padding: 1px 6px; border-radius: 5px; background: #000000A6; font-size: 12px; font-weight: 500; font-variant-numeric: tabular-nums; }
.clip-title { font-weight: 500; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 0 1px; margin-top: 2px; }
.clip-meta { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 12.5px; padding: 0 1px; margin-top: -3px; min-width: 0; white-space: nowrap; }
.clip-meta .gtile { width: 14px; height: 14px; font-size: 8.5px; border-radius: 4px; }
.clip-meta > span:nth-child(2) { overflow: hidden; text-overflow: ellipsis; }
.sep { width: 2px; height: 2px; border-radius: 50%; background: var(--faint); flex: none; }
.empty { padding: 40px 0; text-align: center; color: var(--muted); }

/* Glow search (search.rs) */
.glow-search { --h: 34px; --gx: 12px; --gy: 3px; position: relative; width: 280px; height: var(--h); --spin: 70deg; transition: --spin 2000ms cubic-bezier(.16, 1, .3, 1); }
.glow-search .glow { position: absolute; left: var(--gx); right: var(--gx); top: var(--gy); bottom: var(--gy); display: flex; opacity: .3; pointer-events: none;
  transition: opacity 700ms ease-in-out, left 700ms ease-in-out, right 700ms ease-in-out, top 700ms ease-in-out, bottom 700ms ease-in-out; }
.glow-search .glow i { flex: 1; border-radius: 10px; filter: blur(16px); transition: background 700ms ease-in-out; }
.glow-search .glow i:first-child { background: color-mix(in srgb, var(--partner) 50%, transparent); translate: -18px 0; }
.glow-search .glow i:last-child { background: color-mix(in srgb, var(--accent) 60%, transparent); translate: 18px 0; }
.glow-search .field { position: absolute; inset: 0; border-radius: 9px; display: flex; align-items: center; gap: 8px; padding: 0 10px 0 11px; cursor: text;
  background: conic-gradient(from var(--spin), #FFFFFF14 0deg, var(--accent) 24deg, #FFFFFF14 64deg, #FFFFFF14 180deg, var(--partner) 204deg, #FFFFFF14 244deg, #FFFFFF14 360deg); }
.glow-search .field::before { content: ''; position: absolute; inset: 1px; border-radius: 8px; background: linear-gradient(#19191C, #111214); }
.glow-search .field > * { position: relative; }
.glow-search input { flex: 1; min-width: 0; height: 100%; background: none; border: 0; outline: 0; font-size: 13px; color: var(--text); }
.glow-search input::placeholder { color: var(--muted); }
.glow-search input::-webkit-search-cancel-button { display: none; }
.glow-search:hover { --spin: 250deg; }
.glow-search:hover .glow { opacity: .7; }
.glow-search:focus-within { --spin: 430deg; --gx: 4px; --gy: 1px; }
.glow-search:focus-within .glow { opacity: 1; }
.glow-search:hover .field .i, .glow-search:focus-within .field .i { color: var(--label); }

/* Feature sections */
.feature { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 120px var(--gutter) 0;
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 48px; align-items: center; }
.feature .copy { grid-column: 1 / span 4; }
.feature > figure, .feature > .sorter { grid-column: 6 / span 7; }
.feature.flip .copy { grid-column: 9 / span 4; grid-row: 1; }
.feature.flip > figure, .feature.flip > .sorter { grid-column: 1 / span 7; grid-row: 1; }
h2 { font-weight: 600; font-size: clamp(30px, 3.6vw, 44px); line-height: 1.08; letter-spacing: -.032em; text-wrap: balance; }
.copy p { margin-top: 18px; color: var(--muted); font-size: 17px; line-height: 1.6; max-width: 31em; text-wrap: pretty; }
.copy p + p { margin-top: 12px; }

/* Real screenshots, at most their own pixel size, with cut edges faded */
.shot { justify-self: center; width: 100%; }
.shot img { margin: 0 auto; }
#find .shot img { width: min(100%, 868px);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent), linear-gradient(transparent, #000 4%, #000 92%, transparent);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent), linear-gradient(transparent, #000 4%, #000 92%, transparent); mask-composite: intersect; }
#record .shot, #private .shot { border-radius: var(--r-panel); border: 1px solid #FFFFFF12; padding: 14px 14px 0; overflow: hidden; box-shadow: 0 30px 80px #00000080; }
#record .shot { background: linear-gradient(#222124, #18191B); max-width: 815px; }
#private .shot { background: linear-gradient(#1D1D20, #1B1B1E); max-width: 815px; }
#record .shot img, #private .shot img { width: 100%; -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }

/* Capture apps (ui::app_mark: the owner's mark on one neutral disc) */
.apps { grid-column: 1 / -1; }
.marks { display: flex; flex-wrap: wrap; gap: 10px 8px; }
.marks li { display: inline-flex; align-items: center; gap: 9px; height: 40px; padding: 0 14px 0 5px; border-radius: 99px; border: 1px solid var(--line); background: #FFFFFF05; font-size: 13.5px; color: var(--soft); white-space: nowrap; }
.disc { width: 30px; height: 30px; border-radius: 50%; border: 1px solid #FFFFFF14; background: linear-gradient(#FFFFFF10, #FFFFFF05); display: grid; place-items: center; flex: none; }
.disc img { width: 60%; height: auto; }
.disc img.s86 { width: 86%; } .disc img.s80 { width: 80%; } .disc img.s64 { width: 64%; } .disc img.s60 { width: 60%; }
.disc .i { font-size: 14px; }
.apps .fine { margin-top: 16px; }

/* Sort clips window (pages/sort.rs) */
.sorter { container-type: inline-size; border-radius: 14px; border: 1px solid #FFFFFF12; background: linear-gradient(var(--panel-top), var(--panel-bottom)); box-shadow: 0 30px 80px #00000080; overflow: hidden; font-size: 13px; line-height: 1.4; }
.sorter-head { position: relative; height: 52px; display: flex; align-items: center; gap: 12px; padding: 0 18px; }
.sorter-head strong { font-weight: 600; font-size: 14px; }
.divider-v { width: 1px; height: 16px; background: var(--divider); }
.progress { position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--line); }
.progress i { position: absolute; inset: 0 auto 0 0; width: 34%; background: linear-gradient(90deg, var(--partner), var(--accent)); transition: width var(--stage) var(--ease); }
.sorter.filed .progress i { width: 67%; }
.sorter-body { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 18px; padding: 18px; }
.picks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-content: start; }
.pick { position: relative; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: #000;
  transition: opacity var(--stage) var(--ease), scale var(--stage) var(--ease), filter var(--stage) var(--ease); }
.pick.big { grid-column: 1 / -1; }
.pick img { width: 100%; height: 100%; object-fit: cover; }
.pick .tick { position: absolute; left: 8px; top: 8px; width: 18px; height: 18px; border-radius: 5px; background: var(--accent); display: grid; place-items: center; }
.pick .tick::after { content: '\e06c'; font-family: Lucide; font-size: 12px; color: #19060D; }
.pick.more { display: grid; place-items: center; background: #FFFFFF06; border: 1px solid var(--line); color: var(--soft); font-weight: 500; font-size: 14px; }
.sorter.filed .pick { opacity: .35; scale: .97; filter: saturate(.4); }
.verdict { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.looks { display: flex; align-items: center; gap: 12px; }
.looks .gtile { width: 36px; height: 36px; font-size: 16px; border-radius: var(--r-control); }
.looks > span:last-child { display: flex; flex-direction: column; }
.looks strong { font-size: 16px; font-weight: 600; line-height: 1.25; }
.why { color: var(--soft); font-size: 13px; line-height: 1.5; }
.btn-primary.block { width: 100%; height: 36px; font-size: 13px; padding: 0 12px; margin-top: 4px; }
.btn-primary kbd { font: 500 11px Geist, sans-serif; padding: 2px 5px; border-radius: 4px; border: 1px solid #19060D40; color: #19060DB0; }
.sorter.filed .btn-primary.block { background: linear-gradient(color-mix(in srgb, var(--ok) 90%, #fff), var(--ok)); box-shadow: 0 4px 18px color-mix(in srgb, var(--ok) 25%, transparent); }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pair .btn { justify-content: center; cursor: default; min-width: 0; overflow: hidden; }
@container (max-width: 560px) { .sorter-body { grid-template-columns: 1fr; } }

/* Release */
.release { padding: 160px var(--gutter) 140px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px; position: relative; }
.release::before { content: ''; position: absolute; left: 50%; top: 110px; width: min(760px, 100%); height: 460px; translate: -50% 0; pointer-events: none;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 9%, transparent), transparent); }
.release > * { position: relative; }
.release h2 { font-size: clamp(36px, 4.6vw, 56px); margin-top: 8px; }
.release > p { color: var(--muted); font-size: 17px; max-width: 30em; }
.contact { color: var(--soft); font-size: 16px; }
.contact a { color: var(--text); border-bottom: 1px solid color-mix(in srgb, var(--accent) 55%, transparent); transition: border-color var(--hover-out); }
.contact a:hover { border-color: var(--accent); transition-duration: var(--hover-in); }
.notify { width: min(100%, 460px); display: none; }
.js .notify { display: block; }
.notify-row { display: flex; gap: 8px; }
.notify input { flex: 1; min-width: 0; height: 40px; padding: 0 12px; border-radius: var(--r-control); border: 1px solid #FFFFFF1C; background: var(--field); color: var(--text); outline: 0; transition: border-color var(--hover-out); }
.notify input:focus { border-color: color-mix(in srgb, var(--accent) 60%, transparent); }
.notify-status { min-height: 1.5em; margin-top: 8px; font-size: 13.5px; color: var(--muted); }
.notify-status.ok { color: var(--ok); }

/* Footer */
.footer { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 28px var(--gutter) 40px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; }
.foot-row { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.foot-row nav { margin-left: auto; display: flex; gap: 20px; font-size: 14px; color: var(--muted); }
.foot-row nav a:hover { color: var(--text); }

/* Privacy and other text pages */
.prose { width: 100%; max-width: calc(720px + 2 * var(--gutter)); margin: 0 auto; padding: 56px var(--gutter) 96px; }
.prose h1 { margin: 0; font-size: clamp(36px, 5vw, 52px); letter-spacing: -.035em; }
.prose .lede { margin-top: 18px; font-size: 18px; }
.prose > .meta { margin-top: 14px; font-size: 13.5px; }
.prose section { padding-top: 48px; scroll-margin-top: 16px; }
.prose h2 { font-size: 26px; letter-spacing: -.02em; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.prose h2 .badge { margin: 0; font-size: 12px; letter-spacing: 0; }
.prose h3 { margin-top: 28px; font-size: 17px; font-weight: 600; }
.prose p, .prose li { color: var(--soft); font-size: 16px; line-height: 1.65; }
.prose section p, .prose section ul { margin-top: 12px; }
.prose ul { display: flex; flex-direction: column; gap: 8px; }
.prose li { position: relative; padding-left: 18px; }
.prose li::before { content: ''; position: absolute; left: 2px; top: .72em; width: 5px; height: 5px; border-radius: 50%; background: color-mix(in srgb, var(--accent) 70%, transparent); }
.prose strong { color: var(--text); font-weight: 600; }
.prose a:not(.btn) { color: var(--text); text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--accent) 55%, transparent); text-underline-offset: 3px; }
.prose code { font: 500 .88em Geist, sans-serif; color: var(--label); padding: 1px 5px; border-radius: 5px; background: #FFFFFF0B; border: 1px solid var(--line); }
.operator { margin-top: 32px; padding: 14px 18px; border-radius: var(--r-card); border: 1px solid var(--line); background: linear-gradient(#FFFFFF08, #FFFFFF03); }
.operator p { font-size: 15px; }
.toc { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 8px; }
.toc a { font-size: 13.5px; padding: 5px 11px; border-radius: 99px; border: 1px solid var(--line); background: #FFFFFF05; color: var(--soft) !important; text-decoration: none !important;
  transition: border-color var(--hover-out), color var(--hover-out); }
.toc a:hover { border-color: color-mix(in srgb, var(--accent) 45%, transparent); color: var(--text) !important; transition-duration: var(--hover-in); }
details { margin-top: 18px; border-radius: var(--r-card); border: 1px solid var(--line); background: linear-gradient(var(--panel-top), var(--panel-bottom)); }
summary { cursor: pointer; padding: 12px 16px; font-weight: 500; color: var(--label); list-style: none; display: flex; align-items: center; gap: 10px; }
summary::-webkit-details-marker { display: none; }
summary::before { content: '\e06f'; font-family: Lucide; font-size: 14px; color: var(--icon); transition: rotate var(--segment) var(--ease); }
details[open] summary::before { rotate: 90deg; }
details::details-content { block-size: 0; overflow: clip; transition: block-size var(--stage) var(--ease), content-visibility var(--stage) allow-discrete; }
details[open]::details-content { block-size: auto; }
@supports (interpolate-size: allow-keywords) { :root { interpolate-size: allow-keywords; } }
.table-wrap { overflow-x: auto; padding: 0 16px 14px; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; vertical-align: top; padding: 8px 10px 8px 0; border-top: 1px solid var(--line); color: var(--soft); }
th { color: var(--muted); font-weight: 500; font-size: 13px; }
td:first-child { white-space: nowrap; }

/* 404 */
.lost { padding: 120px var(--gutter) 140px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; }
.lost h1 { margin-top: 8px; font-size: clamp(32px, 4.6vw, 48px); }
.lost p { color: var(--muted); font-size: 17px; }
.lost .btn-primary { margin-top: 10px; }
.mark.big.broken { background: conic-gradient(from 210deg, var(--accent), var(--partner) 55%, transparent 56% 70%, var(--accent) 71%); }

@media (max-width: 1080px) {
  .sidebar { display: none; }
  .feature { padding-top: 96px; }
}
@media (max-width: 1100px) {
  #sessions-block { display: none; }
  .feature .copy, .feature.flip .copy { grid-column: 1 / -1; grid-row: auto; justify-self: center; width: min(100%, 720px); }
  .feature > figure, .feature > .sorter, .feature.flip > figure, .feature.flip > .sorter { grid-column: 1 / -1; grid-row: auto; justify-self: center; width: min(100%, 720px); }
  .apps { justify-self: center; width: min(100%, 720px); }
}
@media (max-width: 720px) {
  :root { --gutter: 16px; }
  .topbar { height: 60px; }
  .hero { padding-top: 40px; }
  h1 { margin-top: 22px; }
  .lede { font-size: 16.5px; margin-top: 18px; }
  .stage { margin-top: 44px; }
  .app { height: 540px; padding: 6px; border-radius: 12px; }
  .panel-head { height: 56px; padding: 0 12px; }
  .glow-search, .window-btns { display: none; }
  .banner { margin: 2px 10px 0; height: auto; min-height: 42px; padding: 8px 6px 8px 10px; flex-wrap: wrap; row-gap: 6px; }
  .banner strong { flex: 1; min-width: 0; }
  .grid-wrap { padding: 12px 10px 16px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 10px; }
  .clip-title { font-size: 12.5px; }
  .clip-meta { font-size: 11.5px; }
  .clip-meta .sep, .clip-meta > span:last-child { display: none; }
  /* Desktop screenshots stay legible: show their left part larger, the rest fades */
  .shot { overflow: hidden; }
  .shot img { max-width: none; }
  #find .shot img { width: 165%; margin: 0;
    -webkit-mask-image: linear-gradient(90deg, #000 70%, transparent 94%), linear-gradient(transparent, #000 4%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, #000 70%, transparent 94%), linear-gradient(transparent, #000 4%, #000 92%, transparent); }
  #record .shot img, #private .shot img { width: 160%; margin: 0;
    -webkit-mask-image: linear-gradient(90deg, #000 72%, transparent 96%), linear-gradient(#000 70%, transparent); -webkit-mask-composite: source-in;
    mask-image: linear-gradient(90deg, #000 72%, transparent 96%), linear-gradient(#000 70%, transparent); mask-composite: intersect; }
  .feature { padding-top: 80px; row-gap: 32px; }
  .copy p { font-size: 16px; }
  .marks li { height: 36px; font-size: 13px; padding-right: 12px; gap: 8px; }
  .disc { width: 26px; height: 26px; }
  .sorter-body { padding: 14px; }
  .sorter-head { padding: 0 14px; }
  #record .shot, #private .shot { padding: 10px 10px 0; }
  .release { padding: 120px var(--gutter) 100px; }
  .notify-row { flex-direction: column; }
  .notify input { flex: none; font-size: 16px; }
  .footer { padding-bottom: 32px; }
  .foot-row nav { margin-left: 0; width: 100%; }
  .prose { padding-top: 36px; }
  .prose section { padding-top: 40px; }
}
@media (max-width: 400px) {
  .grid { grid-template-columns: 1fr 1fr; }
  .state { font-size: 12.5px; padding: 0 12px 0 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; }
}
