Record your screen, ship a demo. Free and open-source, GPU-accelerated, no watermarks, no subscriptions. Windows, macOS, Linux. Actively maintained.
TypeScript cross-platformelectronffmpegopen-sourceproduct-demorustscreen-capturescreen-recorderscreen-recordingscreen-studioscreencastspeech-to-texttypescriptvideo-editingvideo-editorwaylandwgpuwhisper
/**
* Four claims, four drawn panels.
*
* Two kinds of colour live in here and they are not interchangeable:
*
* The section's own chrome — headings, rules, kickers — is --os-* and swaps
* with the theme, like the rest of the page.
*
* The panels are pictures of an interface, and a few of their colours are
* properties of the thing depicted rather than of this page: the macOS window
* controls are the system's three, and the caption plate is the same
* translucent black the app burns into the render. Those stay literal in both
* themes, because a light-theme traffic light is not a traffic light.
*
* Everything in between — the placeholder bars standing in for a page, the
* progress track, the record button's red — is a tint of the surface it sits
* on, so it is a local custom property here with a light-theme value beside it.
* The design ships only the dark half; white at 8% alpha is invisible on white.
*/
.section {
/* Explicit: the dark-theme document canvas resolves to Infima's own #1b1b1d,
and `html, body { height: 100% }` means the body paints only the first
viewport — so a section without a background sits on the wrong grey. */
background: var(--os-bg);
color: var(--os-fg);
padding: 130px 28px 0;
/* The glow behind each panel bleeds 50px past its box. Clip, not hidden:
`clip` trims the bleed without making the section a scroll container. */
overflow-x: clip;
--ph-a: rgba(255, 255, 255, 0.14);
--ph-b: rgba(255, 255, 255, 0.08);
--ph-dot: rgba(255, 255, 255, 0.25);
--ph-track: rgba(255, 255, 255, 0.1);
--panel-elev: 0 24px 64px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.04);
--win-elev: 0 18px 40px rgba(0, 0, 0, 0.45);
--rec-fg: #f87171;
--rec-bg: rgba(239, 68, 68, 0.13);
--rec-border: rgba(239, 68, 68, 0.32);
}
:global([data-theme="light"]) .section {
--ph-a: rgba(15, 23, 32, 0.13);
--ph-b: rgba(15, 23, 32, 0.07);
--ph-dot: rgba(15, 23, 32, 0.2);
--ph-track: rgba(15, 23, 32, 0.09);
--panel-elev: var(--os-elev-pop);
--win-elev: 0 18px 40px -14px rgba(15, 23, 32, 0.28);
--rec-fg: var(--os-danger);
--rec-bg: var(--os-danger-soft);
--rec-border: rgba(220, 38, 38, 0.28);
}
.inner {
max-width: 1080px;
margin: 0 auto;
}
.title {
margin: 0 auto;
max-width: 640px;
text-align: center;
font-size: clamp(30px, 3.4vw, 40px);
font-weight: 750;
letter-spacing: -0.03em;
line-height: 1.12;
color: var(--os-fg-emphasis);
}
/* ---- the bands ---- */
.band {
display: grid;
grid-template-columns: 1fr 1.14fr;
gap: 60px;
align-items: center;
margin-top: 120px;
text-align: left;
/* The navbar is 60px and sticky; without this an anchor jump parks the
band's heading underneath it. */
scroll-margin-top: 76px;
}
.band:first-of-type {
margin-top: 100px;
}
.band[data-band="captions"] {
grid-template-columns: 1fr 1.25fr;
}
/* Assigning columns and rows, not `order`: the tracks are asymmetric, and
reordering auto-placed items moves the panel into the narrow track instead of
swapping the two sides. Pinning only the column is not enough either —
auto-placement refuses to go backwards, so the figure drops to a second row
and the band silently becomes two stacked halves. The DOM keeps the copy
first either way, so reading order never depends on it. */
.flip {
grid-template-columns: 1.14fr 1fr;
}
.flip .copy {
grid-column: 2;
grid-row: 1;
}
.flip .figure {
grid-column: 1;
grid-row: 1;
}
/* ---- copy ---- */
.itemKicker {
margin: 0;
font-family: var(--ifm-font-family-monospace);
font-size: 11px;
font-weight: 600;
letter-spacing: 0.16em;
text-transform: uppercase;
color: var(--os-accent);
}
.claim {
margin: 14px 0 0;
font-size: clamp(24px, 2.6vw, 31px);
font-weight: 750;
letter-spacing: -0.025em;
line-height: 1.15;
color: var(--os-fg-emphasis);
text-wrap: pretty;
}
.body {
margin: 16px 0 0;
max-width: 46ch;
font-size: 15px;
line-height: 1.75;
color: var(--os-fg);
text-wrap: pretty;
}
.fact {
margin: 24px 0 0;
padding-top: 16px;
border-top: 1px solid var(--os-border-soft);
font-family: var(--ifm-font-family-monospace);
font-size: 12px;
line-height: 1.7;
color: var(--os-muted);
}
/* ---- the panel shell ---- */
.figure {
position: relative;
margin: 0;
min-width: 0;
}
.glow {
position: absolute;
inset: -40px -50px;
background: radial-gradient(ellipse 62% 56% at 50% 44%, var(--os-accent-wash), transparent 68%);
pointer-events: none;
}
.panel {
position: relative;
border-radius: 16px;
border: 1px solid var(--os-border);
background: var(--os-surface);
box-shadow: var(--panel-elev);
overflow: hidden;
}
.panelBar {
display: flex;
align-items: center;
gap: 6px;
height: 36px;
padding: 0 13px;
background: var(--os-surface-1);
border-bottom: 1px solid var(--os-border-soft);
}
.panelName {
flex: 1;
text-align: center;
font-size: 11.5px;
color: var(--os-muted);
}
/* Balances the three window controls so the title sits on the panel's centre
line and not on the centre of what is left of it. */
.panelPad {
width: 38px;
}
.dot,
.dotSm {
border-radius: 50%;
}
.dot {
width: 8px;
height: 8px;
}
.dotSm {
width: 7px;
height: 7px;
}
.dotRed {
background: #ff5f57;
}
.dotAmber {
background: #febc2e;
}
.dotGreen {
background: #28c840;
}
/* The bars standing in for a page nobody is meant to read. */
.phA {
background: var(--ph-a);
}
.phB {
background: var(--ph-b);
}
/* ---- record ---- */
.recBody {
padding: 18px;
}
.targets {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 12px;
}
.target {
position: relative;
aspect-ratio: 16 / 10;
border-radius: 12px;
overflow: hidden;
}
.targetOn {
border: 1.5px solid var(--os-accent);
box-shadow: 0 0 0 3px var(--os-accent-ring);
}
.targetOff {
border: 1px solid var(--os-border);
background: var(--os-surface-1);
}
.targetShot {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
object-fit: cover;
}
.targetFoot {
position: absolute;
left: 0;
right: 0;
bottom: 0;
display: flex;
align-items: center;
justify-content: space-between;
padding: 8px 11px;
}
/* The selected tile's label sits on a photograph, so it carries its own scrim
rather than trusting whichever wallpaper is underneath. */
.targetFootOn {
background: linear-gradient(transparent, rgba(8, 10, 13, 0.85));
}
.targetNameOn {
font-size: 12px;
font-weight: 600;
color: #fff;
}
.targetNameOff {
font-size: 12px;
font-weight: 500;
color: var(--os-muted);
}
.targetTick {
color: var(--os-accent);
}
.miniWin {
position: absolute;
left: 17%;
right: 17%;
top: 20%;
bottom: 24%;
border-radius: 8px;
background: var(--os-surface-2);
border: 1px solid var(--os-border-soft);
overflow: hidden;
}
.miniBar {
display: flex;
align-items: center;
gap: 4px;
height: 16px;
padding: 0 7px;
background: var(--os-surface-3);
}
.miniDot {
width: 5px;
height: 5px;
border-radius: 50%;
background: var(--ph-dot);
}
.miniBody {
padding: 9px 10px;
display: flex;
flex-direction: column;
gap: 6px;
}
.miniLine {
height: 6px;
border-radius: 3px;
}
.chips {
margin-top: 14px;
display: flex;
gap: 7px;
flex-wrap: wrap;
}
.chip {
padding: 4px 10px;
border-radius: 999px;
border: 1px solid var(--os-border-soft);
font-family: var(--ifm-font-family-monospace);
font-size: 10.5px;
color: var(--os-muted);
}
.recFoot {
margin-top: 16px;
display: flex;
align-items: center;
justify-content: space-between;
}
.toggles {
display: flex;
gap: 7px;
}
.toggle {
width: 30px;
height: 30px;
display: grid;
place-items: center;
border-radius: 9px;
border: 1px solid var(--os-border);
color: var(--os-fg);
}
.toggleOff {
color: var(--os-muted);
}
.recStart {
display: inline-flex;
align-items: center;
gap: 8px;
padding: 8px 15px;
border-radius: 999px;
background: var(--rec-bg);
border: 1px solid var(--rec-border);
color: var(--rec-fg);
font-size: 12.5px;
font-weight: 600;
}
.recDot {
width: 8px;
height: 8px;
border-radius: 50%;
background: var(--rec-fg);
}
/* ---- export ---- */
.expBody {
padding: 22px;
display: flex;
flex-direction: column;
gap: 16px;
}
.expHead {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
}
.expFile {
font-family: var(--ifm-font-family-monospace);
font-size: 12px;
color: var(--os-fg);
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.expContainer {
flex-shrink: 0;
padding: 3px 10px;
border-radius: 999px;
border: 1px solid var(--os-accent-border);
background: var(--os-accent-soft);
color: var(--os-accent);
font-family: var(--ifm-font-family-monospace);
font-size: 10.5px;
font-weight: 600;
}
/* A row of one-click choices, the app's ChoiceRow: equal cells, one pressed. */
.pills {
display: grid;
grid-auto-columns: minmax(0, 1fr);
grid-auto-flow: column;
gap: 4px;
}
.pill {
padding: 6px 4px;
overflow: hidden;
border-radius: 8px;
text-align: center;
white-space: nowrap;
text-overflow: ellipsis;
border: 1px solid var(--os-border);
font-size: 11.5px;
font-weight: 500;
color: var(--os-muted);
}
.pillOn {
border-color: var(--os-accent-border);
background: var(--os-accent-soft);
color: var(--os-accent);
font-weight: 600;
}
.track {
position: relative;
height: 8px;
border-radius: 999px;
background: var(--ph-track);
overflow: hidden;
}
.fill {
position: absolute;
left: 0;
top: 0;
bottom: 0;
width: 62%;
border-radius: 999px;
background: var(--os-accent);
}
.trackFoot {
margin-top: 9px;
display: flex;
justify-content: space-between;
font-family: var(--ifm-font-family-monospace);
font-size: 11.5px;
}
.frames {
color: var(--os-muted);
}
.pct {
color: var(--os-accent);
font-weight: 600;
}
/* --os-meta is the page's faintest grey, and body copy is not allowed to use
it. This is not body copy: it is a line inside a drawing of a dialog, the
drawing is labelled, and the sentence it repeats — no queue, no account, no
watermark — is made in full size in the paragraph beside the panel. */
.expNote {
font-family: var(--ifm-font-family-monospace);
font-size: 10.5px;
color: var(--os-meta);
}
/* ---- filmed bands ----
Captions and the agent are shown by the app itself, not drawn: the loop
fills the same panel shell, edge to edge. */
.filmPanel figure {
margin: 0;
}
.filmPanel figure > div {
border: 0;
border-radius: 0;
}
/* ---- narrow ---- */
@media (max-width: 900px) {
.section {
padding-top: 72px;
}
.band,
.flip,
.band[data-band="captions"] {
grid-template-columns: 1fr;
gap: 28px;
margin-top: 72px;
}
/* The explicit placement above has to be undone with it, or the single
column inherits `grid-column: 2` and collapses to nothing. */
.flip .copy,
.flip .figure {
grid-column: 1;
grid-row: auto;
}
}
@media (max-width: 600px) {
.section {
padding-left: 18px;
padding-right: 18px;
}
.glow {
inset: -30px -20px;
}
}
@media print {
.section {
padding: 24px 0;
}
}