/* Voxley site. Built on the app icon's ink navy and amber, with the same type and
   structure as the other Protomota app sites. The page's own motif is the recorder:
   a working preview of the dictation card up top, and its idle state at the foot. */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/assets/fonts/bricolage-grotesque-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "Geist";
  src: url("/assets/fonts/geist-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("/assets/fonts/geist-mono-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #0f1218;
  --bg-2: #141821;
  --surface: #191e29;
  --surface-2: #212736;
  --line: #2a3140;
  --line-2: #3d4658;
  --ink: #f6f3eb;
  --ink-2: #c6cbd5;
  --muted: #8e97a7;
  --accent: #ffc977;
  --accent-strong: #ffb347;
  --accent-ink: #1b1407;
  --ok: #7fe0b5;
  --display: "Bricolage Grotesque", "Geist", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Helvetica Neue", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", SFMono-Regular, Menlo, monospace;
  /* Names the shared Protomota block expects from its host site. */
  --paper: var(--ink);
  --signal: var(--accent);
  --rule: var(--line);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
h1, h2, h3, p, dl, dd, ol, ul, figure { margin: 0; }
img, svg { max-width: 100%; }
a { color: var(--accent); text-underline-offset: .22em; }
a:hover { color: var(--ink); }
button { font: inherit; color: inherit; }
:is(a, button):focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
kbd {
  display: inline-block; min-width: 1.7em; padding: .1em .45em; margin-inline: .08em;
  border: 1px solid var(--line-2); border-bottom-width: 2px; border-radius: 5px;
  background: var(--surface); color: var(--ink);
  font: .88em/1.5 var(--mono); text-align: center; white-space: nowrap;
}
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.shell { width: min(1160px, 100% - 48px); margin-inline: auto; }
.skip { position: fixed; z-index: 100; inset: 8px auto auto 8px; padding: 8px 16px; background: var(--surface-2); color: var(--ink); border-radius: 8px; transform: translateY(-200%); }
.skip:focus { transform: none; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav { height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font: 700 1.3rem/1 var(--display); letter-spacing: -.035em; }
.wordmark img { width: 30px; height: 30px; display: block; }
.nav nav { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 28px); }
.nav nav a { color: var(--ink-2); text-decoration: none; font-size: .9rem; font-weight: 500; white-space: nowrap; transition: color .15s; }
.nav nav a:hover { color: var(--accent); }
.nav nav a.nav-cta { display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border: 1px solid var(--line-2); border-radius: 8px; background: var(--surface-2); color: var(--ink); }
.nav nav a.nav-cta:hover { border-color: var(--accent); color: var(--ink); }

/* Buttons */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 46px; padding: 10px 20px;
  border: 1px solid transparent; border-radius: 10px;
  background: var(--accent); color: var(--accent-ink);
  font-weight: 650; font-size: .95rem; text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background .15s, border-color .15s;
}
.button:hover { background: #ffdca6; color: var(--accent-ink); }
.button.secondary { background: transparent; color: var(--ink); border-color: var(--line-2); }
.button.secondary:hover { background: var(--surface); border-color: var(--accent); color: var(--ink); }
.button svg { flex-shrink: 0; }

/* Eyebrows and headings. Each eyebrow opens with a small waveform. */
.mark { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; font: 500 .8rem/1.4 var(--mono); letter-spacing: .02em; color: var(--accent); }
.mark::before {
  content: ""; width: 18px; height: 14px; flex-shrink: 0; opacity: .75;
  background:
    linear-gradient(currentColor, currentColor) 0 50% / 2px 4px,
    linear-gradient(currentColor, currentColor) 4px 50% / 2px 10px,
    linear-gradient(currentColor, currentColor) 8px 50% / 2px 14px,
    linear-gradient(currentColor, currentColor) 12px 50% / 2px 8px,
    linear-gradient(currentColor, currentColor) 16px 50% / 2px 4px;
  background-repeat: no-repeat;
}
h1, h2 { font-family: var(--display); font-weight: 700; line-height: 1.02; letter-spacing: -.045em; text-wrap: balance; }
h2 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); }
h2 em, h1 em { font-style: normal; color: var(--accent); }
.lead { margin-top: 20px; max-width: 58ch; font-size: 1.12rem; line-height: 1.6; color: var(--ink-2); text-wrap: pretty; }
.section { padding-block: clamp(72px, 10vw, 128px); }
.section-head { max-width: 780px; margin-bottom: clamp(36px, 5vw, 56px); }
.band { background: var(--bg-2); border-block: 1px solid var(--line); }

/* Hero */
.hero { position: relative; padding-block: clamp(56px, 8vw, 96px) 0; text-align: center; }
.hero::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 760px; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 55% at 50% 0%, color-mix(in srgb, var(--accent-strong) 17%, transparent), transparent 70%),
    repeating-linear-gradient(to right, transparent 0 15px, color-mix(in srgb, var(--accent) 4%, transparent) 15px 16px);
  -webkit-mask-image: linear-gradient(to bottom, #000 40%, transparent);
  mask-image: linear-gradient(to bottom, #000 40%, transparent);
}
.pill {
  display: inline-flex; align-items: center; gap: 9px; margin-bottom: 26px; padding: 6px 14px;
  border: 1px solid var(--line-2); border-radius: 999px; background: color-mix(in srgb, var(--surface) 70%, transparent);
  font: 500 .75rem/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--accent);
}
.pill i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.hero h1 { font-size: clamp(2.9rem, 8.4vw, 6.4rem); max-width: 12ch; margin-inline: auto; }
.hero .lead { margin-inline: auto; max-width: 56ch; font-size: clamp(1.05rem, 1.7vw, 1.25rem); }
.lead strong { color: var(--ink); font-weight: 600; }
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.fineprint { margin-top: 18px; font: .78rem/1.5 var(--mono); color: var(--muted); }

/* The working preview: a Mac desktop, a draft, and the Voxley recorder card. */
.stage { position: relative; margin-top: clamp(40px, 6vw, 68px); }
.stage::before {
  content: ""; position: absolute; inset: 8% 6% 4%; z-index: -1; border-radius: 40px;
  background: color-mix(in srgb, var(--accent-strong) 20%, transparent); filter: blur(80px);
}
.desk {
  position: relative; display: flex; flex-direction: column; min-height: 520px;
  border: 1px solid var(--line-2); border-radius: 14px; overflow: hidden; text-align: left;
  background:
    radial-gradient(80% 90% at 85% 100%, #6b4a1e 0%, transparent 60%),
    radial-gradient(70% 80% at 10% 0%, #2c3c5e 0%, transparent 65%),
    #171c28;
  box-shadow: 0 0 0 1px #0006, 0 40px 90px -20px #04060bcc;
  font: 13px/1.5 -apple-system, BlinkMacSystemFont, var(--sans);
  color: #ececec;
}
.menubar { display: flex; align-items: center; gap: 18px; height: 28px; padding-inline: 14px; background: #0b0e1466; -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); font-size: 12.5px; color: #e8e8e8; white-space: nowrap; }
.menubar b { font-weight: 700; }
.menubar .grow { flex: 1; }
.mb-voxley { display: grid; place-items: center; width: 26px; height: 20px; border-radius: 5px; }
.mb-voxley svg { display: block; }
.stage .ico-mic { display: none; }
.stage[data-phase="recording"] .ico-mic { display: block; color: var(--accent); }
.stage[data-phase="recording"] .ico-wave { display: none; }
.win {
  width: min(660px, 100% - 32px); margin: 34px auto 0;
  border: 1px solid #3b3b3b; border-radius: 12px; overflow: hidden;
  background: #1e1e1e; box-shadow: 0 30px 60px -20px #000b;
}
.win-title { display: flex; align-items: center; gap: 8px; height: 36px; padding-inline: 12px; background: #2a2a2a; color: #b4b4b4; font-weight: 600; }
.lights { display: flex; gap: 7px; margin-right: 6px; }
.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; }
.win-field { display: flex; align-items: center; gap: 8px; padding: 8px 16px; border-bottom: 1px solid #333; color: #ececec; }
.win-field span { color: #9a9a9a; }
.win-field b { padding: 1px 9px; border-radius: 999px; background: #2f3d5e; font-weight: 500; }
.win-body { height: 200px; padding: 16px; font-size: 14.5px; line-height: 1.6; white-space: pre-wrap; overflow: hidden; }
.typed.flash { animation: pasted 1.1s ease-out; }
@keyframes pasted { from { background: color-mix(in srgb, var(--accent) 34%, transparent); } to { background: transparent; } }
.cursor { display: inline-block; width: 1.5px; height: 1.15em; margin-left: 1px; vertical-align: -.2em; background: #4aa3ff; animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.recorder {
  position: absolute; left: 50%; bottom: 22px; width: min(386px, 100% - 24px);
  display: flex; flex-direction: column; gap: 7px; padding: 10px 14px;
  border: 1px solid #ffffff2e; border-radius: 17px;
  background: #1f232be6; -webkit-backdrop-filter: blur(24px) saturate(1.4); backdrop-filter: blur(24px) saturate(1.4);
  box-shadow: 0 18px 40px -10px #000c;
  transform: translateX(-50%);
  transition: opacity .25s, transform .25s;
}
.stage:is([data-phase="idle"], [data-phase="done"]) .recorder { opacity: 0; transform: translateX(-50%) translateY(10px); pointer-events: none; }
.rec-text { display: flex; flex-direction: column; justify-content: flex-end; height: 48px; overflow: hidden; }
.rec-text p { font-size: 13px; line-height: 16px; font-weight: 500; color: #fff; }
.rec-text p.is-status { font-weight: 400; color: #ffffff99; align-self: stretch; margin-bottom: auto; }
.rec-row { display: flex; align-items: center; gap: 18px; height: 62px; }
.rec-mic { color: #fff; }
/* The waveform sits between the microphone and Stop, and fades out toward each, as in the app. */
.rec-wave { flex: 1 1 0; min-width: 0; max-width: 220px; margin-inline: auto; height: 60px; mask-image: linear-gradient(to right, transparent, #000 50%, transparent); -webkit-mask-image: linear-gradient(to right, transparent, #000 50%, transparent); }
.rec-mic, .rec-stop, .rec-spin { flex: none; }
.rec-stop { display: grid; place-items: center; width: 34px; height: 24px; border-radius: 6px; background: #ffffff24; }
.rec-stop i { width: 9px; height: 9px; border-radius: 2px; background: #fff; }
.rec-spin { display: none; width: 16px; height: 16px; border: 2px solid #ffffff40; border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(1turn); } }
.stage:not([data-phase="recording"]) :is(.rec-mic, .rec-wave, .rec-stop) { display: none; }
.stage:is([data-phase="transcribing"], [data-phase="refining"]) .rec-spin { display: block; }

.stage-note { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 28px; margin-top: 20px; font-size: .88rem; color: var(--muted); }
.play { display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 12px; }
.keys { display: inline-flex; gap: 2px; padding: 4px 6px; border: 1px solid var(--line-2); border-radius: 9px; background: var(--surface); cursor: pointer; transition: border-color .15s; }
.keys:hover { border-color: var(--accent); }
.keys kbd { background: var(--surface-2); }
.stage[data-phase="recording"] .keys { border-color: var(--accent); }
.chooser { display: inline-flex; align-items: center; gap: 8px; }
.chooser .opts { display: inline-flex; padding: 3px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); }
.chooser button { padding: 4px 12px; border: 0; border-radius: 6px; background: none; color: var(--ink-2); font-size: .82rem; font-weight: 500; cursor: pointer; white-space: nowrap; }
.chooser button[aria-pressed="true"] { background: var(--surface-2); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }

/* Facts */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(56px, 7vw, 88px); border-block: 1px solid var(--line); text-align: left; }
.facts div { padding: 28px 24px 28px 0; }
.facts div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.facts dt { font: 700 clamp(2.2rem, 4vw, 3rem)/1 var(--display); letter-spacing: -.04em; color: var(--accent); font-variant-numeric: tabular-nums; }
.facts dd { margin-top: 10px; font-size: .92rem; line-height: 1.45; color: var(--ink-2); }

/* How it works */
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.step { display: flex; flex-direction: column; padding: 26px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); min-width: 0; }
.step-art { display: grid; place-items: center; height: 148px; margin-bottom: 24px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); overflow: hidden; }
.step-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font: 500 .75rem/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.step-meta span { color: var(--muted); }
.step h3 { font: 650 1.18rem/1.25 var(--sans); letter-spacing: -.015em; margin-bottom: 10px; }
.step p { color: var(--ink-2); font-size: .96rem; line-height: 1.55; }
.step strong { color: var(--ink); font-weight: 600; }
.keycaps { display: inline-flex; gap: 8px; }
.keycaps kbd { min-width: 46px; padding: 10px 12px; margin: 0; border-radius: 9px; border-bottom-width: 4px; background: var(--surface-2); font-size: 1.05rem; }
.keycaps kbd.wide-key { min-width: 104px; color: var(--accent); border-color: color-mix(in srgb, var(--accent) 55%, var(--line-2)); }
.mini-rec { width: min(250px, 100% - 28px); padding: 10px 12px 8px; border: 1px solid #ffffff2e; border-radius: 13px; background: #1f232b; }
.mini-rec p { font-size: 12px; font-weight: 500; line-height: 1.5; color: #fff; }
.mini-rec div { display: flex; align-items: center; gap: 14px; height: 40px; margin-top: 4px; color: #fff; }
.mini-rec div svg { flex: none; }
.mini-wave { flex: 1 1 0; min-width: 0; height: 40px; mask-image: linear-gradient(to right, transparent, #000 50%, transparent); -webkit-mask-image: linear-gradient(to right, transparent, #000 50%, transparent); }
.mini-rec .rec-stop { width: 28px; height: 20px; }
.mini-rec .rec-stop i { width: 7px; height: 7px; }
.mini-field { width: min(250px, 100% - 28px); }
.mini-field p { padding: 10px 12px; border: 1px solid var(--line-2); border-radius: 9px; background: var(--surface); font-size: 12.5px; line-height: 1.5; color: var(--ink); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
.mini-field p i { display: inline-block; width: 1.5px; height: 1.1em; margin-left: 1px; vertical-align: -.2em; background: var(--accent); }
.mini-field > span { display: flex; align-items: center; gap: 8px; margin-top: 12px; font: 11.5px/1.4 var(--mono); color: var(--muted); }
.ok-dot { width: 7px; height: 7px; flex-shrink: 0; border-radius: 50%; background: var(--ok); }

/* Modes */
.split { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.ticks { list-style: none; padding: 0; margin-top: 28px; display: grid; gap: 14px; }
.ticks li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; color: var(--ink-2); }
.ticks li::before { content: ""; width: 6px; height: 6px; margin: .62em auto 0; border-radius: 50%; background: var(--accent); }
.ticks strong { color: var(--ink); font-weight: 600; }
.compare { border: 1px solid var(--line-2); border-radius: 16px; background: var(--bg); overflow: hidden; }
.compare-pane { padding: 22px 24px; }
.compare-pane.after { border-top: 1px solid var(--line); background: color-mix(in srgb, var(--accent) 6%, transparent); }
.compare-label { display: block; margin-bottom: 10px; font: 500 .72rem/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.compare-pane.after .compare-label { color: var(--accent); }
.compare p { font-size: 1.02rem; line-height: 1.65; color: var(--ink-2); }
.compare-pane.after p { color: var(--ink); }
.compare del { color: var(--muted); text-decoration-color: color-mix(in srgb, var(--muted) 80%, transparent); }
.compare ins { text-decoration: none; color: var(--accent); font-weight: 700; }
.compare figcaption { padding: 14px 24px; border-top: 1px solid var(--line); background: var(--surface); font: .78rem/1.5 var(--mono); color: var(--muted); }

/* Features */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.card { grid-column: span 2; display: flex; flex-direction: column; gap: 10px; padding: 26px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); min-width: 0; }
.card.wide { grid-column: span 3; }
.card h3 { font: 650 1.18rem/1.25 var(--sans); letter-spacing: -.015em; }
.card p { color: var(--ink-2); font-size: .96rem; line-height: 1.55; }
.card strong { color: var(--ink); font-weight: 600; }
.card .visual { margin-top: auto; padding-top: 16px; }
.mini { border: 1px solid var(--line-2); border-radius: 10px; background: var(--bg); font: 12.5px/1.5 var(--mono); overflow: hidden; }
.mini-row { display: flex; align-items: center; gap: 10px; padding: 9px 12px; min-width: 0; }
.mini-row + .mini-row { border-top: 1px solid var(--line); }
.mini-row .lbl { width: 58px; flex-shrink: 0; color: var(--muted); }
.mini-row .val { min-width: 0; overflow-wrap: anywhere; color: var(--ink); }
.mini-row .val.dim { color: var(--muted); }
.mini-row .val.out { margin-left: auto; }
.mini-row .val b { font-weight: 500; color: var(--accent); }
.mini-row .end { margin-left: auto; display: flex; gap: 6px; flex-shrink: 0; color: var(--muted); }
.mini-row .end.arrow { margin-left: 0; }
.tog { padding: 1px 8px; border: 1px solid var(--line-2); border-radius: 5px; }
.tog.on { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; }
.chips li { padding: 4px 11px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--bg); font: 12.5px/1.5 var(--mono); color: var(--ink-2); }

/* Privacy trio */
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 48px); }
.trio h3 { display: flex; align-items: center; gap: 10px; font: 650 1.1rem/1.3 var(--sans); margin-bottom: 8px; }
.trio h3::before { content: ""; width: 7px; height: 7px; flex-shrink: 0; border-radius: 50%; background: var(--ok); }
.trio p { color: var(--ink-2); font-size: .96rem; }

/* Download and install */
.install { align-items: start; }
.install .actions { justify-content: flex-start; }
.install-steps { list-style: none; padding: 0; display: grid; gap: 0; counter-reset: step; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.install-steps li { counter-increment: step; display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 16px; padding: 20px 24px; color: var(--ink-2); }
.install-steps li + li { border-top: 1px solid var(--line); }
.install-steps li::before { content: counter(step); display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid var(--line-2); border-radius: 8px; background: var(--bg); font: 500 .8rem var(--mono); color: var(--accent); }
.install-steps li > span { padding-top: 2px; min-width: 0; }
.install-steps strong { color: var(--ink); font-weight: 600; }

/* Newsletter and coffee, as on the other Protomota sites */
.about-protomota { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding-bottom: clamp(40px, 6vw, 72px); }
.about-card { padding: 32px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.about-icon { display: block; color: var(--accent); }
.about-card h2 { margin: 20px 0 12px; font: 650 1.75rem/1.15 var(--sans); letter-spacing: -.03em; }
.about-card p { max-width: 440px; margin-bottom: 22px; color: var(--ink-2); }
.about-card p.about-note { margin: 20px 0 0; font-size: .8125rem; line-height: 1.6; color: var(--muted); }

.feedback-section { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.feedback-section h3 { margin: 0 0 6px; font: 650 1.1rem/1.3 var(--sans); }
.feedback-section p { margin: 0 0 14px; color: var(--ink-2); font-size: .92rem; }
.download-support .feedback-section .button { margin-top: 0; }

/* Footer, with the recorder's idle state underneath */
.footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; padding-block: 28px; border-top: 1px solid var(--line); color: var(--muted); font-size: .92rem; }
.footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer a { color: var(--ink-2); text-decoration: none; }
.footer a:hover { color: var(--accent); }
.footer-credit { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 18px; padding-block: 0 28px; font: .75rem/1.4 var(--mono); color: var(--muted); }
.footer .product-credit, .footer-credit .product-credit { display: inline-flex; align-items: center; flex-shrink: 0; gap: 10px; padding: 9px 16px 9px 10px; border: 1px solid #1d2230; border-radius: 999px; background: #000; color: #fff; font: 600 13.5px/1.4 var(--sans); white-space: nowrap; text-decoration: none; transition: transform .15s; }
:is(.footer, .footer-credit) .product-credit:hover { color: #fff; transform: translateY(-1px); }
.product-credit img { display: block; flex-shrink: 0; width: 22px; height: 22px; border-radius: 6px; object-fit: contain; }
.statusbar { border-top: 1px solid var(--line); background: var(--bg-2); font: .72rem/1 var(--mono); color: var(--muted); }
.statusbar .shell { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 22px; padding-block: 10px; }
.statusbar .grow { flex: 1; }
.statusbar i { display: inline-block; width: 6px; height: 6px; margin-right: 8px; border-radius: 50%; background: var(--ok); vertical-align: 1px; }

@media (max-width: 960px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card, .card.wide { grid-column: span 1; }
  .split { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .step { display: grid; grid-template-columns: minmax(0, 240px) minmax(0, 1fr); column-gap: 24px; align-content: center; }
  .step-art { grid-row: span 3; height: 100%; min-height: 148px; margin-bottom: 0; }
}
@media (max-width: 720px) {
  .shell { width: calc(100% - 32px); }
  .nav nav a.nav-hide { display: none; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts div { padding: 22px 16px 22px 0; }
  .facts div + div { padding-left: 16px; }
  .facts div:nth-child(3) { padding-left: 0; border-left: 0; }
  .facts div:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .bento { grid-template-columns: minmax(0, 1fr); }
  .trio { grid-template-columns: minmax(0, 1fr); }
  .about-protomota { grid-template-columns: minmax(0, 1fr); }
  .about-card { padding: 24px 20px; }
  .step { display: flex; }
  .step-art { height: 148px; margin-bottom: 24px; }
  .desk { min-height: 500px; }
  .menubar span:not(.grow, .mb-voxley) { display: none; }
  .win { margin-top: 18px; }
  .win-body { height: 190px; font-size: 13.5px; }
  .install-steps li { padding: 18px; }
}
@media (max-width: 420px) {
  .nav nav a.nav-hide-sm { display: none; }
  .chooser #mode-label { display: none; }
  .chooser button { padding: 4px 9px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cursor, .typed.flash { animation: none; }
  .rec-spin { animation-duration: 2.4s; }
  * { transition: none !important; }
}

/* Download page. As on the other Protomota app sites, the support card and the
   download sit side by side: support card on the left, download on the right. On narrow screens they stack: title, support
   card, download. The amber download button stays the loudest thing on the page. */
.download-intro {
  display: grid; grid-template-columns: minmax(0, 432px) minmax(0, 1fr);
  grid-template-areas: "card head" "card get";
  column-gap: clamp(40px, 6vw, 88px); align-items: center;
  max-width: 1040px; padding-block: clamp(56px, 8vw, 104px) clamp(48px, 7vw, 88px);
  text-align: left;
}
.download-head { grid-area: head; align-self: end; }
.download-intro h1 { max-width: 16ch; margin-inline: 0; font-size: clamp(2.7rem, 5.6vw, 4.5rem); }
.download-intro .lead { margin-inline: 0; max-width: 34ch; text-wrap: balance; }
.download-get { grid-area: get; align-self: start; margin-top: 32px; }
.download-button {
  min-height: 62px; padding: 14px 32px; gap: 12px; border-radius: 14px;
  font-size: 1.14rem; font-weight: 700; letter-spacing: -.01em;
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 45%, transparent), 0 14px 44px -10px color-mix(in srgb, var(--accent-strong) 60%, transparent);
}
.download-button svg { margin-top: -3px; }
.download-get .fineprint + .fineprint { margin-top: 4px; }

.download-support {
  grid-area: card; position: relative; overflow: hidden;
  padding: 30px 30px 28px;
  border: 1px solid var(--line-2); border-radius: 20px;
  background:
    radial-gradient(120% 90% at 100% 0%, color-mix(in srgb, var(--accent-strong) 13%, transparent), transparent 60%),
    var(--surface);
  box-shadow: 0 30px 70px -30px #04060bcc;
}
.download-support::before { content: ""; position: absolute; inset: 0 0 auto; height: 2px; background: linear-gradient(to right, var(--accent-strong), transparent 85%); opacity: .8; }
.support-icon { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 18px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--bg); color: var(--accent); }
.download-support h2 { font: 650 1.6rem/1.15 var(--sans); letter-spacing: -.03em; text-wrap: initial; }
.download-support h2 span { display: block; color: var(--accent); }
.support-copy { margin-top: 12px; font-size: .95rem; line-height: 1.55; color: var(--ink-2); }
.download-support .button { min-height: 44px; margin-top: 20px; padding: 8px 20px; border-radius: 999px; font-size: .92rem; }
.support-note { margin-top: 14px; font-size: .9rem; line-height: 1.45; font-weight: 500; color: var(--ink); }

@media (max-width: 900px) {
  .download-intro { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "card" "get"; max-width: 560px; padding-top: 36px; text-align: center; }
  .download-intro h1, .download-intro .lead { margin-inline: auto; }
  .download-intro .lead { margin-top: 14px; max-width: 56ch; }
  .download-support { margin-top: 24px; padding: 18px 18px 16px; border-radius: 16px; text-align: left; }
  .support-icon { display: none; }
  .download-support h2 { font-size: 1.1rem; line-height: 1.3; }
  .download-support h2 span { display: inline; }
  .support-copy { margin-top: 6px; font-size: .9rem; line-height: 1.5; }
  .download-support .button { width: 100%; min-height: 42px; margin-top: 14px; }
  .support-note { margin-top: 10px; text-align: center; font-size: .875rem; }
  .download-get { margin-top: 16px; }
  .download-button { width: 100%; }
  .download-get .fineprint { margin-inline: auto; }
}
.download-guide { max-width: 1040px; padding-top: clamp(32px, 5vw, 56px); border-top: 1px solid var(--line); padding-bottom: clamp(56px, 8vw, 96px); }
.download-guide h2 { margin-bottom: 22px; }
.download-guide .install-steps li > div { min-width: 0; }
.download-guide .install-steps p { margin-block: 8px 0; }
.install-preview { max-width: 640px; margin: 20px 0 0; }
.install-preview img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 12px; }
.install-preview figcaption { color: var(--muted); margin-top: 8px; }
.download-verification { margin: 20px 0 0; }
.download-verification summary { cursor: pointer; }
.download-verification code { overflow-wrap: anywhere; }

/* Help and missing pages */
.help-hero, .missing-hero { padding-bottom: clamp(48px, 7vw, 84px); }
.help-hero h1, .missing-hero h1 { max-width: 17ch; }
.help-topics { padding-bottom: clamp(48px, 7vw, 84px); scroll-margin-top: 92px; }
.help-topics > h2 { margin-bottom: 24px; }
.help-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.help-grid h3 { margin-bottom: 12px; font: 650 1.2rem/1.3 var(--sans); }
.help-grid p, .help-feedback p { max-width: 64ch; }
.help-grid p:last-child { margin-bottom: 0; }
.help-feedback { margin-top: 16px; }
.help-feedback h2, .help-support h2 { margin-top: 0; }
.help-support { margin-bottom: clamp(32px, 5vw, 64px); border-color: var(--line-2); }
.missing-page { display: flex; min-height: 100svh; flex-direction: column; }
.missing-page main { flex: 1 0 auto; padding-top: clamp(48px, 13vh, 124px); }
.missing-hero img { border-radius: 16px; margin-bottom: 23px; }

@media (max-width: 720px) {
  .help-grid { grid-template-columns: minmax(0, 1fr); }
}
