A small, open-source Mac dictation app that uses your ChatGPT sign-in. Speak into T3 Code, your editor, or any text field.
/* GPT Voice website. Display: FT Regola Neue. Body: the visitor's system font, never bundled. */
@font-face { font-family: "FT Regola Neue"; src: url("fonts/FTRegolaNeue-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "FT Regola Neue"; src: url("fonts/FTRegolaNeue-Medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "FT Regola Neue"; src: url("fonts/FTRegolaNeue-Semibold.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
/* ---------- Tokens ---------- */
:root {
--font-display: "FT Regola Neue", -apple-system, BlinkMacSystemFont, system-ui, "Segoe UI", Helvetica, Arial, sans-serif;
--font-body: -apple-system, BlinkMacSystemFont, system-ui, "Segoe UI", Helvetica, Arial, sans-serif;
--font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
--ease-out: cubic-bezier(.165, .84, .44, 1);
--ease-in-out: cubic-bezier(.77, 0, .175, 1);
--ease-spring: cubic-bezier(.34, 1.4, .64, 1);
--d1: 120ms;
--d2: 180ms;
--d3: 240ms;
--d4: 420ms;
--wrap: 1120px;
--gutter: clamp(16px, 4vw, 32px);
--cell-pad: clamp(20px, 2.4vw, 28px);
/* Accent: graphite by default (the app's default). Each accent has light and dark roles. */
--a-fill-l: #1C1C1E; --a-fill-d: #ECECEC;
--a-fg-l: #1C1C1E; --a-fg-d: #ECECEC;
--a-on-l: #FFFFFF; --a-on-d: #1C1C1E;
}
[data-accent="blue"] { --a-fill-l:#2563EB; --a-fill-d:#2563EB; --a-fg-l:#2563EB; --a-fg-d:#60A5FA; --a-on-l:#fff; --a-on-d:#fff; }
[data-accent="violet"] { --a-fill-l:#7C3AED; --a-fill-d:#7C3AED; --a-fg-l:#7C3AED; --a-fg-d:#A78BFA; --a-on-l:#fff; --a-on-d:#fff; }
[data-accent="rose"] { --a-fill-l:#E11D48; --a-fill-d:#E11D48; --a-fg-l:#E11D48; --a-fg-d:#FB7185; --a-on-l:#fff; --a-on-d:#fff; }
[data-accent="amber"] { --a-fill-l:#B45309; --a-fill-d:#B45309; --a-fg-l:#B45309; --a-fg-d:#FBBF24; --a-on-l:#fff; --a-on-d:#fff; }
[data-accent="green"] { --a-fill-l:#15803D; --a-fill-d:#15803D; --a-fg-l:#15803D; --a-fg-d:#4ADE80; --a-on-l:#fff; --a-on-d:#fff; }
[data-accent="teal"] { --a-fill-l:#0F766E; --a-fill-d:#0F766E; --a-fg-l:#0F766E; --a-fg-d:#2DD4BF; --a-on-l:#fff; --a-on-d:#fff; }
/* Light roles (the app's palette) */
:root,
.demo[data-theme="light"] {
--bg: #FFFFFF;
--bg-2: #F4F4F3;
--surface: #FFFFFF;
--well: #E6E6E4;
--ink: #1C1C1E;
--ink-2: #5E5E63;
--ink-3: #75757A;
--line: rgba(0, 0, 0, .08);
--line-2: rgba(0, 0, 0, .14);
--rec: #D5432B;
--ok: #2C7A4B;
--warn: #935400;
--shadow: 0 1px 2px rgba(0,0,0,.05), 0 8px 24px -8px rgba(0,0,0,.14);
--shadow-lg: 0 2px 4px rgba(0,0,0,.04), 0 28px 64px -24px rgba(0,0,0,.28);
--accent: var(--a-fill-l);
--accent-fg: var(--a-fg-l);
--on-accent: var(--a-on-l);
--desk: #E9E9E7;
--key-top: #FFFFFF;
--key-side: #CFCFCD;
color-scheme: light;
}
@media (prefers-color-scheme: dark) {
:root,
.demo[data-theme="system"] {
--bg: #111112;
--bg-2: #1A1A1C;
--surface: #252527;
--well: #303033;
--ink: #ECECEC;
--ink-2: #A1A1A6;
--ink-3: #8E8E93;
--line: rgba(255, 255, 255, .08);
--line-2: rgba(255, 255, 255, .15);
--rec: #FF6A50;
--ok: #62C48C;
--warn: #E6AE4A;
--shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px -8px rgba(0,0,0,.5);
--shadow-lg: 0 2px 4px rgba(0,0,0,.3), 0 28px 64px -24px rgba(0,0,0,.8);
--accent: var(--a-fill-d);
--accent-fg: var(--a-fg-d);
--on-accent: var(--a-on-d);
--desk: #19191B;
--key-top: #2C2C2E;
--key-side: #0B0B0C;
color-scheme: dark;
}
}
.demo[data-theme="dark"] {
--bg: #111112;
--bg-2: #1A1A1C;
--surface: #252527;
--well: #303033;
--ink: #ECECEC;
--ink-2: #A1A1A6;
--ink-3: #8E8E93;
--line: rgba(255, 255, 255, .08);
--line-2: rgba(255, 255, 255, .15);
--rec: #FF6A50;
--ok: #62C48C;
--warn: #E6AE4A;
--shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px -8px rgba(0,0,0,.5);
--shadow-lg: 0 2px 4px rgba(0,0,0,.3), 0 28px 64px -24px rgba(0,0,0,.8);
--accent: var(--a-fill-d);
--accent-fg: var(--a-fg-d);
--on-accent: var(--a-on-d);
--desk: #19191B;
--key-top: #2C2C2E;
--key-side: #0B0B0C;
color-scheme: dark;
}
/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
-webkit-text-size-adjust: 100%;
text-size-adjust: 100%;
scroll-behavior: smooth;
scroll-padding-top: 72px;
}
body {
margin: 0;
background: var(--bg);
color: var(--ink);
font-family: var(--font-body);
font-size: 17px;
line-height: 1.5;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 600; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
code, kbd { font-family: var(--font-mono); font-size: .88em; }
/* The hidden attribute must win over any authored display value. */
[hidden] { display: none !important; }
::selection { background: color-mix(in srgb, var(--accent-fg) 24%, transparent); }
:focus-visible {
outline: 2px solid var(--accent-fg);
outline-offset: 2px;
border-radius: 8px;
}
.sr-only {
position: absolute !important;
width: 1px; height: 1px;
padding: 0; margin: -1px;
overflow: hidden; clip: rect(0 0 0 0);
white-space: nowrap; border: 0;
}
.skip {
position: absolute; left: 12px; top: -48px; z-index: 100;
padding: 10px 14px; border-radius: 10px;
background: var(--ink); color: var(--bg);
text-decoration: none; font-weight: 600;
transition: top var(--d2) var(--ease-out);
}
.skip:focus { top: 12px; }
.wrap {
width: 100%;
max-width: var(--wrap);
margin: 0 auto;
padding-inline: var(--gutter);
}
.i { width: 1em; height: 1em; fill: currentColor; flex: none; }
kbd {
display: inline-flex; align-items: center; justify-content: center;
min-width: 1.6em; height: 1.55em; padding: 0 .4em; margin-inline: .08em;
border-radius: 5px;
border: 1px solid var(--line-2);
border-bottom-width: 2px;
background: var(--surface);
font-family: var(--font-body);
font-size: .82em; font-weight: 600; line-height: 1;
vertical-align: .08em;
color: var(--ink);
}
/* ---------- Type ---------- */
.display {
font-family: var(--font-display);
font-weight: 500;
letter-spacing: -.024em;
line-height: 1.04;
text-wrap: balance;
}
.h-md { font-size: clamp(32px, 4.4vw, 52px); line-height: 1.04; }
.section-title { text-align: center; margin-bottom: clamp(32px, 5vw, 56px); }
/* ---------- Buttons ---------- */
.btn {
--h: 44px;
display: inline-flex; align-items: center; justify-content: center; gap: 8px;
height: var(--h); padding: 0 18px;
border-radius: 999px;
border: 1px solid transparent;
font-size: 15px; font-weight: 600; letter-spacing: -.005em;
text-decoration: none; white-space: nowrap;
cursor: pointer;
transition:
transform var(--d1) var(--ease-out),
background-color var(--d2) var(--ease-out),
border-color var(--d2) var(--ease-out);
-webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.97); }
.btn .i { width: 18px; height: 18px; }
.btn-sm { --h: 36px; padding: 0 14px; font-size: 14px; gap: 6px; }
.btn-sm .i { width: 16px; height: 16px; }
.btn-icon-sm { width: 36px; padding: 0; }
.btn-icon-sm .i { width: 18px; height: 18px; }
.btn-lg { --h: 48px; padding: 0 22px; font-size: 16px; }
.btn-ink { background: var(--ink); color: var(--bg); }
.btn-ink:hover { background: color-mix(in srgb, var(--ink) 86%, var(--bg)); }
.btn-quiet { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-quiet:hover { background: var(--bg-2); }
.dl:hover .dl-icon, .dl:focus-visible .dl-icon { animation: dl-drop var(--d4) var(--ease-out); }
@keyframes dl-drop { 45% { transform: translateY(3px); } }
/* Star appears and fills on hover */
.star-icon { position: relative; width: 0; height: 18px; display: inline-block; opacity: 0; transition: width var(--d3) var(--ease-out), opacity var(--d2) var(--ease-out); }
.star-icon .i { position: absolute; inset: 0; width: 18px; height: 18px; transition: transform var(--d3) var(--ease-spring), opacity var(--d2) var(--ease-out); }
.star-icon .i-fill { opacity: 0; transform: scale(.6) rotate(-30deg); color: #E8A317; }
.star:hover .star-icon, .star:focus-visible .star-icon { width: 18px; opacity: 1; }
.star:hover .star-icon .i-fill, .star:focus-visible .star-icon .i-fill { opacity: 1; transform: rotate(-12deg); }
.star:hover .star-icon .i:not(.i-fill), .star:focus-visible .star-icon .i:not(.i-fill) { opacity: 0; }
/* ---------- Header ---------- */
.site-header {
position: sticky; top: 0; z-index: 50;
background: color-mix(in srgb, var(--bg) 82%, transparent);
-webkit-backdrop-filter: saturate(1.6) blur(16px);
backdrop-filter: saturate(1.6) blur(16px);
border-bottom: 1px solid transparent;
transition: border-color var(--d3) var(--ease-out);
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
@media (prefers-reduced-transparency: reduce) {
.site-header { background: var(--bg); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
.header-row { display: flex; align-items: center; gap: 24px; height: 60px; }
.brand {
display: inline-flex; align-items: center; gap: 10px;
text-decoration: none;
font-family: var(--font-display); font-weight: 600; font-size: 18px; letter-spacing: -.01em;
}
.brand-mark { width: 26px; height: 26px; }
.brand-mark > rect:first-child { fill: #232325; }
.brand-mark .b { fill: #EBEBEB; transform-box: fill-box; transform-origin: center; }
@media (prefers-color-scheme: dark) { .brand-mark > rect:first-child { fill: #2C2C2E; } }
.brand:hover .b, .brand:focus-visible .b { animation: bar-wave 600ms var(--ease-in-out); }
.brand .b:nth-of-type(3) { animation-delay: 60ms; }
.brand .b:nth-of-type(4) { animation-delay: 120ms; }
.brand .b:nth-of-type(5) { animation-delay: 180ms; }
.brand .b:nth-of-type(6) { animation-delay: 240ms; }
@keyframes bar-wave { 40% { transform: scaleY(.55); } 70% { transform: scaleY(1.12); } }
.nav { display: flex; gap: 4px; }
.nav a {
padding: 6px 10px; border-radius: 8px;
font-size: 14px; color: var(--ink-2); text-decoration: none;
transition: color var(--d2) var(--ease-out), background-color var(--d2) var(--ease-out);
}
.nav a:hover { color: var(--ink); background: var(--bg-2); }
.header-actions { margin-left: auto; display: flex; gap: 8px; }
/* ---------- Hero ---------- */
.hero { padding: clamp(20px, 3.5vh, 40px) 0 clamp(56px, 8vw, 96px); }
.hero-head { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero-icon {
width: 56px; height: 56px; margin-bottom: 14px;
filter: drop-shadow(0 8px 16px rgba(0,0,0,.18));
transition: transform var(--d4) var(--ease-spring);
}
.hero-icon:hover { transform: rotate(-6deg) scale(1.05); }
.hero h1 {
font-size: clamp(40px, min(6vw, 8vh), 72px);
line-height: 1;
letter-spacing: -.035em;
}
.lede {
margin-top: 12px;
font-size: clamp(17px, 1.5vw, 19px);
color: var(--ink-2);
max-width: 46ch;
text-wrap: balance;
}
.cta-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 22px; }
.tokens { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 14px; }
.tokens li, .tokens a {
display: inline-flex; align-items: center; gap: 7px;
height: 28px; padding: 0 11px;
border-radius: 999px;
font-size: 13px; font-weight: 500; color: var(--ink-2);
text-decoration: none;
}
.tokens li { border: 1px solid var(--line); }
.tokens li:has(a) { padding: 0; }
.tokens a:hover { color: var(--ink); }
.tokens .i { width: 15px; height: 15px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--warn); flex: none; }
/* ---------- Demo ---------- */
.demo { position: relative; max-width: 880px; margin: clamp(22px, 3.5vh, 36px) auto 0; color: var(--ink); --pill-h: 40px; }
.stage {
position: relative;
display: flex; flex-direction: column;
border-radius: 24px;
border: 1px solid var(--line);
overflow: hidden;
/* The desktop picks up a hint of the chosen accent. */
background:
radial-gradient(color-mix(in srgb, var(--ink) 8%, transparent) 1px, transparent 1.2px) 0 0 / 16px 16px,
linear-gradient(180deg, var(--desk), color-mix(in srgb, var(--desk) 88%, var(--accent-fg)));
transition: background-color var(--d3) var(--ease-out);
}
/* Menu bar */
.menubar {
position: relative; z-index: 3;
display: flex; align-items: center; justify-content: space-between;
height: 30px; padding: 0 10px 0 16px;
background: color-mix(in srgb, var(--surface) 62%, transparent);
-webkit-backdrop-filter: blur(20px) saturate(1.4);
backdrop-filter: blur(20px) saturate(1.4);
border-bottom: 1px solid var(--line);
font-size: 12.5px;
}
.mb-left { display: inline-flex; gap: 16px; color: var(--ink-2); }
.mb-left b { color: var(--ink); font-weight: 700; }
.mb-right { display: inline-flex; align-items: center; gap: 4px; }
.mb-app { width: 26px; height: 22px; display: grid; place-items: center; border-radius: 6px; }
.mb-app svg { width: 15px; height: 15px; }
.mb-app .b { fill: var(--ink); transform-box: fill-box; transform-origin: center; transition: fill var(--d2) var(--ease-out); }
.demo[data-state="recording"] .mb-app { background: color-mix(in srgb, var(--rec) 16%, transparent); }
.demo[data-state="recording"] .mb-app .b { fill: var(--rec); animation: bar-wave 900ms var(--ease-in-out) infinite; }
.demo[data-state="recording"] .mb-app .b:nth-child(2) { animation-delay: 90ms; }
.demo[data-state="recording"] .mb-app .b:nth-child(3) { animation-delay: 180ms; }
.demo[data-state="recording"] .mb-app .b:nth-child(4) { animation-delay: 270ms; }
.demo[data-state="recording"] .mb-app .b:nth-child(5) { animation-delay: 360ms; }
.mb-btn {
position: relative;
width: 28px; height: 22px; padding: 0; border: 0; border-radius: 6px;
display: inline-grid; place-items: center;
background: transparent; color: var(--ink);
cursor: pointer;
transition: background-color var(--d2) var(--ease-out);
}
.mb-btn::after { content: ""; position: absolute; inset: -10px -4px; }
.mb-btn .i { width: 15px; height: 15px; }
.mb-btn:hover, .mb-btn[aria-expanded="true"] { background: color-mix(in srgb, var(--ink) 12%, transparent); }
#demo-reset .i { transition: transform var(--d4) var(--ease-out); }
#demo-reset:hover .i { transform: rotate(-120deg); }
.mb-clock { padding: 0 4px 0 8px; font-weight: 500; font-variant-numeric: tabular-nums; }
/* Settings popover, like a menu bar extra */
.settings {
position: absolute; z-index: 4;
top: 36px; right: 10px;
width: min(268px, calc(100% - 20px));
padding: 6px 14px;
border-radius: 14px;
border: 1px solid var(--line-2);
background: color-mix(in srgb, var(--surface) 92%, transparent);
-webkit-backdrop-filter: blur(24px);
backdrop-filter: blur(24px);
box-shadow: var(--shadow-lg);
transform-origin: top right;
animation: pop-menu var(--d3) var(--ease-out);
}
@keyframes pop-menu { from { opacity: 0; transform: scale(.96) translateY(-4px); } }
.set-row {
display: flex; align-items: center; justify-content: space-between; gap: 12px;
min-height: 46px;
}
.set-row + .set-row { border-top: 1px solid var(--line); }
.set-label { font-size: 13px; font-weight: 600; }
.seg { display: inline-flex; padding: 2px; gap: 2px; border-radius: 9px; background: var(--well); }
.seg button {
height: 28px; min-width: 34px; padding: 0 8px;
border: 0; border-radius: 7px; background: transparent;
display: inline-grid; place-items: center;
color: var(--ink-2); cursor: pointer;
transition: background-color var(--d2) var(--ease-out), color var(--d2) var(--ease-out);
}
.seg .i { width: 16px; height: 16px; }
.seg button[aria-checked="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.14); }
.switch {
position: relative; flex: none;
width: 38px; height: 22px; border-radius: 999px; border: 0; padding: 0;
background: var(--well); cursor: pointer;
transition: background-color var(--d2) var(--ease-out);
}
.switch span {
position: absolute; top: 2px; left: 2px;
width: 18px; height: 18px; border-radius: 50%;
background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25);
transition: transform var(--d3) var(--ease-spring);
}
.switch[aria-checked="true"] { background: var(--accent); }
.switch[aria-checked="true"] span { transform: translateX(16px); background: var(--on-accent); }
.swatches { display: flex; gap: 7px; }
.swatches button, .mini-swatches button {
position: relative;
width: 20px; height: 20px; border-radius: 50%;
border: 0; padding: 0; cursor: pointer;
background: var(--sw);
transition: transform var(--d1) var(--ease-out), box-shadow var(--d2) var(--ease-out);
}
.swatches button::after { content: ""; position: absolute; inset: -6px -3px; }
.swatches button:active, .mini-swatches button:active { transform: scale(.88); }
.swatches button[aria-checked="true"],
.mini-swatches button[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--sw); }
[data-accent-choice="graphite"], [data-accent-try="graphite"] { --sw: #1C1C1E; }
[data-accent-choice="blue"], [data-accent-try="blue"] { --sw: #2563EB; }
[data-accent-choice="violet"], [data-accent-try="violet"] { --sw: #7C3AED; }
[data-accent-choice="rose"], [data-accent-try="rose"] { --sw: #E11D48; }
[data-accent-choice="amber"], [data-accent-try="amber"] { --sw: #B45309; }
[data-accent-choice="green"], [data-accent-try="green"] { --sw: #15803D; }
[data-accent-choice="teal"], [data-accent-try="teal"] { --sw: #0F766E; }
@media (prefers-color-scheme: dark) {
.demo[data-theme="system"] [data-accent-choice="graphite"], [data-accent-try="graphite"] { --sw: #ECECEC; }
}
.demo[data-theme="dark"] [data-accent-choice="graphite"] { --sw: #ECECEC; }
/* Window */
.ws {
position: relative; z-index: 1;
width: min(560px, calc(100% - 32px));
margin: 14px auto 0;
background: var(--bg-2);
border: 1px solid var(--line-2);
border-radius: 14px;
box-shadow: var(--shadow-lg);
overflow: hidden;
}
.ws-chrome { height: 32px; padding: 0 13px; display: flex; align-items: center; background: var(--surface); border-bottom: 1px solid var(--line); }
.lights { display: inline-flex; gap: 7px; }
.lights i { width: 11px; height: 11px; border-radius: 50%; background: #FF5F57; }
.lights i:nth-child(2) { background: #FEBC2E; }
.lights i:nth-child(3) { background: #28C840; }
.ws-body { padding: 12px; display: grid; gap: 10px; }
.bubble {
justify-self: start;
max-width: 85%;
padding: 8px 13px;
border-radius: 16px 16px 16px 5px;
background: var(--well);
font-size: 14px;
}
.bubble code { font-size: .9em; }
.composer {
background: var(--surface);
border: 1px solid var(--line-2);
border-radius: 14px;
transition: border-color var(--d2) var(--ease-out), box-shadow var(--d2) var(--ease-out);
}
.composer:focus-within { border-color: color-mix(in srgb, var(--accent-fg) 60%, var(--line-2)); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent-fg) 14%, transparent); }
.composer-text {
min-height: 52px; max-height: 80px; overflow-y: auto;
padding: 12px 14px 4px;
font-size: 14.5px; line-height: 1.5;
white-space: pre-wrap; overflow-wrap: anywhere;
outline: none;
}
.placeholder { color: var(--ink-3); margin-left: 2px; }
.caret {
display: inline-block; width: 1.5px; height: 1.1em; margin-left: 1px;
vertical-align: -0.18em;
background: var(--accent-fg);
animation: caret 1.1s steps(1) infinite;
}
@keyframes caret { 50% { opacity: 0; } }
.pasted { border-radius: 4px; animation: pasted-flash 1.4s var(--ease-out); }
@keyframes pasted-flash { from { background: color-mix(in srgb, var(--accent-fg) 26%, transparent); } to { background: transparent; } }
.composer-bar { display: flex; align-items: center; justify-content: flex-end; gap: 8px; padding: 6px 8px 8px; }
.paste-btn {
display: inline-flex; align-items: center; gap: 6px;
height: 30px; padding: 0 10px 0 9px;
border-radius: 8px; border: 1px solid var(--line-2);
background: var(--bg-2);
font-size: 13px; font-weight: 600;
cursor: pointer;
animation: pop-in var(--d3) var(--ease-out);
}
.paste-btn .i { width: 15px; height: 15px; }
.paste-btn kbd { font-size: 11px; height: 18px; }
.paste-btn:hover { background: var(--well); }
.send-wrap { position: relative; display: inline-flex; }
.send {
width: 30px; height: 30px; border-radius: 50%;
display: inline-grid; place-items: center;
border: 0; cursor: not-allowed;
background: var(--well); color: var(--ink-3);
}
.send .i { width: 16px; height: 16px; }
.send-tip {
position: absolute; right: 0; bottom: calc(100% + 8px);
width: max-content;
padding: 6px 9px; border-radius: 8px;
background: var(--ink); color: var(--bg);
font-size: 12px; font-weight: 600;
opacity: 0; transform: translateY(4px); pointer-events: none;
transition: opacity var(--d2) var(--ease-out), transform var(--d2) var(--ease-out);
}
.send-wrap:hover .send-tip, .send:focus-visible + .send-tip, .send-wrap:focus-within .send-tip { opacity: 1; transform: none; }
/* What the voice is saying */
.voice {
flex: none;
display: flex; align-items: flex-end; justify-content: center; gap: 8px;
/* Fixed height: the newest words stay visible and older lines slide off the top, so the stage never jumps. */
height: 52px; overflow: hidden;
padding: 8px 24px 0;
font-size: 15px; line-height: 1.45;
-webkit-mask-image: linear-gradient(to bottom, transparent, #000 45%);
mask-image: linear-gradient(to bottom, transparent, #000 45%);
opacity: 0;
transition: opacity var(--d3) var(--ease-out);
}
.demo[data-state="recording"] .voice { opacity: 1; }
.voice-quote { width: 18px; height: 18px; color: var(--accent-fg); margin-bottom: 2px; }
.voice-text { display: block; color: var(--ink); max-width: 46ch; text-wrap: pretty; }
.voice-text .w { animation: word-in var(--d3) var(--ease-out); }
@keyframes word-in { from { opacity: 0; } }
/* Dock + pill (mirrors the app's recording bar) */
.dock { position: relative; height: calc(var(--pill-h) + 24px); }
.pill {
position: absolute; left: 50%; bottom: 12px;
translate: -50% 0;
height: var(--pill-h);
border-radius: 999px;
background: color-mix(in srgb, var(--surface) 97%, transparent);
border: 1px solid color-mix(in srgb, var(--ink) 12%, transparent);
box-shadow: 0 8px 24px -8px rgba(0,0,0,.3), 0 1px 2px rgba(0,0,0,.08);
overflow: hidden;
transition:
width 260ms var(--ease-out),
height 260ms var(--ease-out),
border-radius 260ms var(--ease-out),
opacity var(--d2) var(--ease-out),
transform var(--d3) var(--ease-out);
}
.pill.is-hidden {
opacity: 0; transform: translateY(10px) scale(.96); visibility: hidden; pointer-events: none;
transition: opacity var(--d2) var(--ease-out), transform var(--d2) var(--ease-out), visibility 0s linear var(--d2);
}
.pill.is-card { border-radius: 16px; }
.pill-inner {
display: flex; align-items: center; gap: 10px;
height: var(--pill-h);
padding: 0 8px 0 14px;
white-space: nowrap;
width: max-content;
}
.pill-inner.enter { animation: content-in var(--d3) var(--ease-out); }
@keyframes content-in { from { opacity: 0; filter: blur(2px); transform: scale(.98); } }
.rec-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--rec); flex: none; }
.meter { display: inline-flex; align-items: center; justify-content: center; gap: 3px; width: 36px; height: 18px; flex: none; }
.meter i {
width: 3px; border-radius: 3px;
background: var(--accent-fg);
height: max(3px, calc(18px * var(--h, .2)));
transition: height 80ms linear;
}
.time { font-size: 13px; font-variant-numeric: tabular-nums; color: var(--ink-2); min-width: 2.6em; }
.label { font-size: 13.5px; font-weight: 500; color: var(--ink); }
.label-min { min-width: 96px; }
.p-btn {
position: relative;
width: 24px; height: 24px; flex: none;
border-radius: 50%; border: 0;
display: inline-grid; place-items: center;
background: color-mix(in srgb, var(--ink) 10%, transparent);
color: var(--ink);
cursor: pointer;
transition: transform var(--d1) var(--ease-out), background-color var(--d2) var(--ease-out);
}
.p-btn::after { content: ""; position: absolute; inset: -8px; }
.p-btn .i { width: 11px; height: 11px; }
.p-btn:hover { background: color-mix(in srgb, var(--ink) 16%, transparent); }
.p-btn:active { transform: scale(.9); }
.p-btn-stop { background: var(--accent); color: var(--on-accent); }
.p-btn-stop:hover { background: color-mix(in srgb, var(--accent) 88%, var(--ink)); }
.p-btn-stop .i { width: 10px; height: 10px; }
.spinner {
width: 13px; height: 13px; margin: 1.5px; flex: none;
border-radius: 50%;
border: 2px solid color-mix(in srgb, var(--ink) 18%, transparent);
border-top-color: var(--ink-2);
animation: spin 800ms linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.ok { color: var(--ok); width: 17px; height: 17px; }
.muted-icon { color: var(--ink-2); width: 17px; height: 17px; }
.pill .ok { animation: pop-in 320ms var(--ease-spring); }
@keyframes pop-in { from { transform: scale(.6); opacity: 0; } }
.pill-inner.notice { height: auto; }
.notice {
display: grid; grid-template-columns: auto 1fr; gap: 2px 10px;
padding: 11px 18px 11px 14px;
white-space: normal;
}
.notice .muted-icon { grid-row: span 2; margin-top: 1px; }
.notice strong { font-size: 13.5px; font-weight: 600; }
.notice span { font-size: 12.5px; color: var(--ink-2); }
/* Keycaps */
.keys-row {
display: flex; align-items: center; justify-content: center; gap: 14px;
margin-top: 14px;
}
.keys {
display: inline-flex; gap: 7px;
padding: 0; border: 0; background: none;
cursor: pointer;
border-radius: 14px;
-webkit-tap-highlight-color: transparent;
}
.key {
position: relative;
display: inline-grid; place-items: center;
width: 50px; height: 46px;
border-radius: 10px;
background: var(--key-top);
border: 1px solid var(--line-2);
box-shadow: 0 3px 0 var(--key-side), 0 6px 14px -6px rgba(0,0,0,.3);
font-size: 19px; color: var(--ink);
transition: transform 90ms var(--ease-out), box-shadow 90ms var(--ease-out), border-color var(--d2) var(--ease-out);
}
.key-space { width: 160px; }
.keys:hover .key { border-color: color-mix(in srgb, var(--accent-fg) 45%, var(--line-2)); }
.keys:active .key, .keys.is-down .key {
transform: translateY(3px);
box-shadow: 0 0 0 var(--key-side), 0 1px 3px -1px rgba(0,0,0,.25);
}
.demo[data-state="recording"] .key { border-color: color-mix(in srgb, var(--accent-fg) 60%, var(--line-2)); }
.demo[data-state="recording"] .key-space::after {
content: ""; position: absolute; inset: -5px; border-radius: 14px;
border: 2px solid var(--accent-fg);
animation: nudge 2.2s var(--ease-out) infinite;
}
@keyframes nudge { 0% { opacity: .55; transform: scale(.98); } 60%, 100% { opacity: 0; transform: scale(1.06); } }
.keys-hint {
font-size: 14px; font-weight: 600; color: var(--ink-2);
display: inline-flex; align-items: center; gap: 6px;
}
.keys-hint::before { content: "←"; font-weight: 400; color: var(--ink-3); transition: transform var(--d3) var(--ease-out); }
.keys:hover + .keys-hint::before { transform: translateX(-3px); }
/* Idle invitation: the arrow nudges toward the keys, then the keys glow softly one after another.
JS adds .is-inviting only while the demo is on screen, before the first recording, and never with
reduced motion. The [data-state="idle"] guard keeps it off during every busy or finished state. */
.key { isolation: isolate; }
.key::before {
content: ""; position: absolute; inset: -1px; z-index: -1;
border-radius: inherit;
border: 1.5px solid var(--accent-fg);
background: color-mix(in srgb, var(--accent-fg) 9%, transparent);
box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent-fg) 10%, transparent);
opacity: 0;
pointer-events: none;
}
.keys-hint { --nudge-x: -4px; --nudge-y: 0px; }
.demo.is-inviting[data-state="idle"] .key::before { animation: key-invite 3.6s var(--ease-in-out) infinite; }
.demo.is-inviting[data-state="idle"] .key:nth-child(2)::before { animation-delay: 110ms; }
.demo.is-inviting[data-state="idle"] .key:nth-child(3)::before { animation-delay: 220ms; }
.demo.is-inviting[data-state="idle"] .keys-hint::before { animation: arrow-invite 3.6s var(--ease-in-out) infinite; }
.demo.is-inviting[data-state="idle"] .keys:hover .key::before,
.demo.is-inviting[data-state="idle"] .keys:focus-visible .key::before { animation-play-state: paused; }
@keyframes key-invite {
0%, 20% { opacity: 0; }
34% { opacity: .9; }
58%, 100% { opacity: 0; }
}
@keyframes arrow-invite {
0% { opacity: .55; transform: translate(0, 0); }
10% { opacity: 1; transform: translate(var(--nudge-x), var(--nudge-y)); }
20% { transform: translate(0, 0); }
30% { opacity: 1; transform: translate(var(--nudge-x), var(--nudge-y)); }
44%, 100% { opacity: .55; transform: translate(0, 0); }
}
.noscript { margin-top: 12px; text-align: center; font-size: 14px; color: var(--ink-2); }
/* ---------- Bento ---------- */
.features { padding: clamp(64px, 9vw, 120px) 0; }
.bento {
display: grid;
grid-template-columns: repeat(6, minmax(0, 1fr));
grid-auto-rows: minmax(220px, auto);
gap: 16px;
}
.cell {
position: relative;
display: flex; flex-direction: column; justify-content: space-between; gap: 20px;
padding: var(--cell-pad);
border-radius: 26px;
background: var(--bg-2);
border: 1px solid var(--line);
overflow: hidden;
transition: border-color var(--d3) var(--ease-out), transform var(--d3) var(--ease-out);
}
.cell:hover { border-color: var(--line-2); }
.cell h3 { font-family: var(--font-display); font-size: 21px; font-weight: 500; letter-spacing: -.012em; line-height: 1.2; }
.cell-text p { margin-top: 6px; font-size: 15px; color: var(--ink-2); max-width: 38ch; text-wrap: pretty; }
.cell-text kbd { font-size: 11.5px; }
.cell-visual { flex: 1; display: grid; place-items: center; min-height: 96px; }
.c-lands { grid-column: span 4; grid-row: span 2; }
.c-keys, .c-enter, .c-sign, .c-private, .c-look, .c-story { grid-column: span 2; }
.c-menubar { grid-column: span 4; }
/* Lands at your cursor */
.vis-lands {
gap: 22px; align-content: center;
background: radial-gradient(color-mix(in srgb, var(--ink) 8%, transparent) 1px, transparent 1.2px) 0 0 / 16px 16px;
margin: calc(var(--cell-pad) * -1) calc(var(--cell-pad) * -1) 0;
padding: 40px var(--cell-pad) 8px;
}
.mini-field {
width: min(440px, 100%);
padding: 18px 20px;
border-radius: 16px;
background: var(--surface);
border: 1px solid var(--line-2);
box-shadow: var(--shadow);
font-size: clamp(16px, 1.9vw, 20px); line-height: 1.45;
}
.mini-hl { border-radius: 5px; background: color-mix(in srgb, var(--accent-fg) 14%, transparent); box-decoration-break: clone; -webkit-box-decoration-break: clone; padding: 1px 2px; }
.mini-caret { display: inline-block; width: 2px; height: 1.1em; margin-left: 2px; vertical-align: -.18em; background: var(--accent-fg); animation: caret 1.1s steps(1) infinite; }
.mini-pill {
display: inline-flex; align-items: center; gap: 9px;
height: 40px; padding: 0 16px 0 14px;
border-radius: 999px;
background: var(--surface);
border: 1px solid color-mix(in srgb, var(--ink) 12%, transparent);
box-shadow: 0 8px 22px -8px rgba(0,0,0,.28);
font-size: 13.5px; font-weight: 500;
}
.c-lands:hover .mini-pill .ok { animation: pop-in 320ms var(--ease-spring); }
/* Keycaps */
.vis-keys { display: flex; gap: 7px; justify-content: center; align-items: center; }
.kc {
display: inline-grid; place-items: center;
width: 50px; height: 46px;
border-radius: 10px;
background: var(--key-top);
border: 1px solid var(--line-2);
box-shadow: 0 3px 0 var(--key-side);
font-size: 18px;
transition: transform 90ms var(--ease-out), box-shadow 90ms var(--ease-out);
}
.kc-wide { width: 104px; }
.c-keys:hover .kc { animation: kc-press 520ms var(--ease-out); }
.c-keys:hover .kc:nth-child(2) { animation-delay: 70ms; }
.c-keys:hover .kc:nth-child(3) { animation-delay: 140ms; }
@keyframes kc-press { 30% { transform: translateY(3px); box-shadow: 0 0 0 var(--key-side); } }
/* Never hits Enter */
.kc-return { position: relative; width: 76px; height: 56px; color: var(--ink-3); }
.kc-return .i { width: 24px; height: 24px; }
.kc-return::after {
content: ""; position: absolute; left: 10px; right: 10px; top: 50%; height: 2px;
border-radius: 2px; background: var(--rec);
transform: rotate(-24deg) scaleX(0);
transition: transform var(--d4) var(--ease-out);
}
/* The slash draws once when the cell scrolls in. */
.c-enter.is-in .kc-return::after, html:not(.js) .kc-return::after { transform: rotate(-24deg) scaleX(1); transition-delay: 350ms; }
/* Sign-in */
.term {
display: inline-flex; align-items: center; gap: 10px;
padding: 12px 16px;
border-radius: 12px;
background: #1C1C1E; color: #ECECEC;
border: 1px solid rgba(255,255,255,.08);
box-shadow: var(--shadow);
}
.term .i { width: 18px; height: 18px; color: #8E8E93; }
.term code { font-size: 15px; }
.term code::before { content: "$ "; color: #62C48C; }
/* Icon disc */
.icon-disc {
width: 76px; height: 76px; border-radius: 50%;
display: grid; place-items: center;
background: var(--surface);
border: 1px solid var(--line);
box-shadow: var(--shadow);
transition: transform var(--d4) var(--ease-spring);
}
.icon-disc .i { width: 30px; height: 30px; }
.c-private:hover .icon-disc { transform: rotate(-8deg) scale(1.04); }
/* Accents */
.mini-swatches { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 200px; }
.mini-swatches button { width: 28px; height: 28px; }
.mini-swatches button::after { content: ""; position: absolute; inset: -8px; }
.mini-swatches button:hover { transform: scale(1.12); }
/* Menu bar shot */
.c-menubar { flex-direction: row; align-items: flex-start; }
.c-menubar .cell-text { flex: 0 0 36%; }
.shot-wrap {
flex: 1;
margin: 8px calc(var(--cell-pad) * -1) calc(var(--cell-pad) * -1) 0;
align-self: flex-end;
}
.shot-wrap img {
width: 100%; height: auto;
border-radius: 12px 0 0 0;
box-shadow: var(--shadow-lg);
transition: transform var(--d4) var(--ease-out);
}
.c-menubar:hover .shot-wrap img { transform: translate(-4px, -4px); }
/* Story */
.c-story { background: var(--ink); color: var(--bg); border-color: transparent; justify-content: flex-end; }
.story-quote { width: 28px; height: 28px; opacity: .45; }
.story { font-family: var(--font-display); font-size: clamp(19px, 1.9vw, 22px); line-height: 1.3; letter-spacing: -.01em; text-wrap: pretty; }
/* ---------- Film ---------- */
.film { padding: clamp(64px, 9vw, 120px) 0; background: var(--bg-2); }
.film-frame {
position: relative;
max-width: 980px; margin: 0 auto;
aspect-ratio: 16 / 9;
border-radius: 24px;
overflow: hidden;
background: #0E0E0F;
box-shadow: var(--shadow-lg);
}
.film-frame video { width: 100%; height: 100%; object-fit: cover; background: #0E0E0F; }
.film-play {
position: absolute; inset: 0;
display: grid; place-items: center;
border: 0; cursor: pointer;
background: rgba(0,0,0,.18);
}
.film-play-disc {
width: 80px; height: 80px; border-radius: 50%;
display: grid; place-items: center;
background: rgba(255,255,255,.94); color: #1C1C1E;
box-shadow: 0 12px 32px -8px rgba(0,0,0,.5);
transition: transform var(--d3) var(--ease-spring);
}
.film-play-disc .i { width: 30px; height: 30px; margin-left: 4px; }
.film-play:hover .film-play-disc, .film-play:focus-visible .film-play-disc { transform: scale(1.08); }
.film-play:focus-visible { outline-offset: -6px; }
.film-frame.is-playing .film-play { display: none; }
.film-missing {
position: absolute; inset: 0;
display: grid; place-content: center; justify-items: center; gap: 14px;
color: #A1A1A6; font-size: 15px; background: #161617;
}
.film-credit { margin-top: 16px; text-align: center; font-size: 12.5px; color: var(--ink-3); text-wrap: balance; }
.film-credit a { color: var(--ink-2); text-underline-offset: 3px; text-decoration-color: var(--line-2); }
.film-credit a:hover { color: var(--ink); text-decoration-color: currentColor; }
/* ---------- Install ---------- */
.install { padding: clamp(64px, 9vw, 120px) 0 clamp(56px, 8vw, 96px); }
.install-grid {
display: grid;
grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
gap: 16px;
align-items: start;
}
.steps { display: grid; gap: 12px; }
.step {
display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start;
padding: 20px;
border-radius: 22px;
background: var(--bg-2);
border: 1px solid var(--line);
}
.step-icon {
width: 44px; height: 44px; border-radius: 12px;
display: grid; place-items: center;
background: var(--surface);
border: 1px solid var(--line);
font-size: 15px; font-weight: 600;
}
.step-icon .i { width: 22px; height: 22px; }
.step h3 { font-size: 16.5px; font-weight: 600; line-height: 1.35; }
.step h3 kbd { font-size: 12px; }
.step p { margin-top: 2px; font-size: 15px; color: var(--ink-2); }
.step a { text-underline-offset: 3px; }
.step-note { display: flex; align-items: center; gap: 8px; margin-top: 8px !important; font-size: 13.5px !important; }
.install-side { display: grid; gap: 12px; }
.gate {
padding: 20px 22px;
border-radius: 22px;
background: var(--bg-2);
border: 1px solid var(--line);
}
.gate h3 { display: flex; align-items: center; gap: 9px; font-size: 16.5px; font-weight: 600; line-height: 1.35; }
.gate p { margin-top: 8px; font-size: 15px; color: var(--ink-2); max-width: 52ch; text-wrap: pretty; }
.gate a { text-underline-offset: 3px; }
.faq {
padding: 4px 22px;
border-radius: 22px;
background: var(--bg-2);
border: 1px solid var(--line);
}
.faq details + details { border-top: 1px solid var(--line); }
.faq summary {
display: flex; align-items: center; justify-content: space-between; gap: 16px;
min-height: 60px;
font-size: 16px; font-weight: 600;
cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq .chev { width: 16px; height: 16px; color: var(--ink-3); transition: transform var(--d3) var(--ease-out); }
.faq details[open] .chev { transform: rotate(180deg); }
.answer { padding: 0 0 18px; }
.answer p { color: var(--ink-2); font-size: 15px; max-width: 52ch; text-wrap: pretty; }
@supports (interpolate-size: allow-keywords) {
.faq { interpolate-size: allow-keywords; }
.faq details::details-content {
height: 0; overflow: clip;
transition: height var(--d3) var(--ease-out), content-visibility var(--d3) allow-discrete;
}
.faq details[open]::details-content { height: auto; }
}
.outro { display: flex; flex-direction: column; align-items: center; margin-top: clamp(56px, 8vw, 96px); }
.outro-icon { width: 64px; height: 64px; filter: drop-shadow(0 10px 20px rgba(0,0,0,.18)); transition: transform var(--d4) var(--ease-spring); }
.outro-icon:hover { transform: rotate(-6deg) scale(1.05); }
.outro .cta-row { margin-top: 24px; }
/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 28px 0 36px; }
.footer-row { display: grid; grid-template-columns: auto 1fr; gap: 12px 24px; align-items: center; }
.footer-brand { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 600; }
.footer-mark { width: 20px; height: 20px; }
.footer-links { display: flex; gap: 18px; justify-self: end; }
.footer-links a { font-size: 14px; color: var(--ink-2); text-decoration: none; }
.footer-links a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.fine { grid-column: 1 / -1; font-size: 12.5px; color: var(--ink-3); }
/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out), border-color var(--d3) var(--ease-out); }
.js .reveal.is-in { opacity: 1; transform: none; }
/* ---------- Responsive ---------- */
@media (max-width: 900px) {
.bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.c-lands, .c-menubar, .c-story { grid-column: span 2; }
.c-lands { grid-row: auto; }
.c-keys, .c-enter, .c-sign, .c-private, .c-look { grid-column: span 1; }
.install-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
.nav { display: none; }
.bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
.bento > .cell { grid-column: auto; }
.cell { min-height: 200px; }
.c-menubar { flex-direction: column; }
.c-menubar .cell-text { flex: none; }
.shot-wrap { width: calc(100% + var(--cell-pad)); }
.c-story { min-height: 0; }
.cta-row { width: 100%; }
.cta-row .btn { flex: 1 1 100%; }
.hide-xs { display: none; }
.stage { border-radius: 20px; }
.ws { width: calc(100% - 20px); }
.voice { padding-inline: 16px; font-size: 14px; }
.keys-row { flex-direction: column; gap: 10px; }
.keys { width: 100%; max-width: 360px; }
.key { width: 60px; height: 54px; }
.key-space { width: auto; flex: 1; }
.keys-hint::before { content: "↑"; }
.keys-hint { --nudge-x: 0px; --nudge-y: -4px; }
.footer-row { grid-template-columns: 1fr; }
.footer-links { justify-self: start; }
}
/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
html { scroll-behavior: auto; }
*, *::before, *::after {
animation-duration: 1ms !important;
animation-iteration-count: 1 !important;
transition-duration: 1ms !important;
}
.caret, .mini-caret { animation: none; }
.spinner { animation: spin 1.6s linear infinite !important; }
.demo[data-state="recording"] .key-space::after,
.demo[data-state="recording"] .mb-app .b,
.demo .key::before,
.demo .keys-hint::before { animation: none !important; }
.demo .key::before { opacity: 0 !important; }
.js .reveal { opacity: 1; transform: none; }
}