/* Utter's site. Quiet in light, Graphite in dark, like the app.
   The system font, one big value per card, colour only when it means something.
   Nothing is loaded from anywhere else. */

/* ------------------------------------------------------------------ tokens */
:root {
  --f: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", "Segoe UI", sans-serif;
  --fd: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", "Segoe UI", sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  --bg: #f2f2f2;
  --bg2: #ebebeb;
  --card: #fafafa;
  --card2: #ffffff;
  --ink: #1d1d1f;
  --ink2: #262626;
  --mid: #6e6e73;
  --light: #a1a1a6;
  --line: #dcdcdc;
  --hair: rgba(0, 0, 0, 0.07);
  --sel: #ffffff;
  --selsh: 0 1px 2px rgba(0, 0, 0, 0.06), 0 6px 14px -6px rgba(0, 0, 0, 0.16);
  --mi-bg: #e6f5ec;
  --mi-fg: #23824b;
  --mi-ln: #c3ead2;
  --pe-bg: #fdeee4;
  --pe-fg: #ad4f25;
  --pe-ln: #f6c9aa;
  --bad-fg: #c3372d;
  --acc: #1d1d1f;
  --on-acc: #fafafa;
  --focus: rgba(29, 29, 31, 0.3);
  --key: linear-gradient(#ffffff, #f4f4f4);
  --keysh: 0 0 0 0.5px rgba(0, 0, 0, 0.16), 0 2px 0 rgba(0, 0, 0, 0.1), 0 8px 18px -10px rgba(0, 0, 0, 0.25);
  --cardsh: 0 1px 2px rgba(0, 0, 0, 0.04), 0 0 0 0.5px var(--hair);
  --chrome: linear-gradient(90deg, #6b6b6b, #dcdcdc 45%, #8f8f8f);

  /* The graphite stage looks the same in both appearances. */
  --g-bg: #0e0e0f;
  --g-card: #1b1b1c;
  --g-ink: #f3f3f3;
  --g-mid: #9b9b9b;
  --g-line: rgba(255, 255, 255, 0.1);

  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0b0c;
    --bg2: #111112;
    --card: #161617;
    --card2: #1c1c1e;
    --ink: #f5f5f7;
    --ink2: #f5f5f7;
    --mid: #98989d;
    --light: #5e5e62;
    --line: #2c2c2e;
    --hair: rgba(255, 255, 255, 0.08);
    --sel: #2a2a2c;
    --selsh: inset 0 0 0 0.5px rgba(255, 255, 255, 0.1), 0 6px 14px -6px rgba(0, 0, 0, 0.6);
    --mi-bg: rgba(124, 196, 154, 0.12);
    --mi-fg: #8fdcae;
    --mi-ln: rgba(124, 196, 154, 0.26);
    --pe-bg: rgba(246, 170, 120, 0.12);
    --pe-fg: #f3b48a;
    --pe-ln: rgba(246, 170, 120, 0.26);
    --bad-fg: #ff8f86;
    --acc: #f5f5f7;
    --on-acc: #0b0b0c;
    --focus: rgba(245, 245, 247, 0.35);
    --key: linear-gradient(#2c2c2e, #232325);
    --keysh: inset 0 0.5px 0 rgba(255, 255, 255, 0.12), 0 0 0 0.5px rgba(0, 0, 0, 0.8), 0 2px 0 rgba(0, 0, 0, 0.6), 0 8px 18px -10px rgba(0, 0, 0, 0.8);
    --chrome: linear-gradient(90deg, #8a8a8a, #f2f2f2 45%, #a5a5a5);
  }
}

/* ------------------------------------------------------------------ base */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.47 var(--f);
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img,
svg {
  display: block;
}
a {
  color: inherit;
}
button {
  font: inherit;
  color: inherit;
}
h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
figure,
blockquote {
  margin: 0;
}
ul,
ol {
  padding: 0;
  list-style: none;
}
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 6px;
}
::selection {
  background: rgba(124, 196, 154, 0.35);
}
.sr {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 50;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--acc);
  color: var(--on-acc);
  font-weight: 600;
  text-decoration: none;
}
.skip:focus {
  top: 12px;
}
.wrap {
  width: min(1180px, 100% - 48px);
  margin: 0 auto;
}
.narrow {
  width: min(880px, 100% - 48px);
  margin: 0 auto;
}
.mono {
  font-family: var(--mono);
}
.js .nojs-only,
html:not(.js) .js-only {
  display: none;
}

/* ------------------------------------------------------------------ the mark */
/* Voice bars trailing into a text cursor, on a graphite squircle. One markup at every size. */
.qhex {
  width: 32px;
  height: 32px;
  border-radius: 23%;
  background: linear-gradient(#3a3a3a, #121212);
  box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.16), 0 1px 2px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.qhex b {
  width: 62%;
  height: 62%;
  display: flex;
  align-items: center;
  gap: 6.45%;
}
.qhex b i {
  display: block;
  width: 12.9%;
  border-radius: 99px;
  background: linear-gradient(160deg, #fff, #dadada 55%, #a3a3a3);
  position: relative;
  flex: none;
}
.qhex b i:nth-child(1) {
  height: 32%;
}
.qhex b i:nth-child(2) {
  height: 61%;
}
.qhex b i:nth-child(3) {
  height: 42%;
}
.qhex b i:nth-child(4) {
  height: 19%;
}
.qhex b i:nth-child(5) {
  width: 9.7%;
  height: 87%;
  margin-left: 4%;
  background: #f2f2f2;
}
.qhex b i:nth-child(5)::before,
.qhex b i:nth-child(5)::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 283%;
  height: 11.1%;
  border-radius: 99px;
  background: #f2f2f2;
  transform: translateX(-50%);
}
.qhex b i:nth-child(5)::before {
  top: 0;
}
.qhex b i:nth-child(5)::after {
  bottom: 0;
}

/* The five chrome bars: breathe at rest, follow a voice, run a wave while working. */
.qchr {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  height: 26px;
}
.qchr i {
  display: block;
  width: 4px;
  border-radius: 2px;
  background: var(--chrome);
  animation: breath 2.6s ease-in-out infinite;
}
.qchr i:nth-child(1),
.qchr i:nth-child(5) {
  height: 8px;
}
.qchr i:nth-child(2),
.qchr i:nth-child(4) {
  height: 16px;
}
.qchr i:nth-child(3) {
  height: 24px;
}
.qchr i:nth-child(2) {
  animation-delay: 0.15s;
}
.qchr i:nth-child(3) {
  animation-delay: 0.3s;
}
.qchr i:nth-child(4) {
  animation-delay: 0.45s;
}
.qchr i:nth-child(5) {
  animation-delay: 0.6s;
}
.qchr.work i {
  animation: travel 1s ease-in-out infinite;
}
.qchr.work i:nth-child(2) {
  animation-delay: 0.1s;
}
.qchr.work i:nth-child(3) {
  animation-delay: 0.2s;
}
.qchr.work i:nth-child(4) {
  animation-delay: 0.3s;
}
.qchr.work i:nth-child(5) {
  animation-delay: 0.4s;
}
.qchr.live i {
  animation: talk 0.8s ease-in-out infinite;
}
.qchr.live i:nth-child(2n) {
  animation-duration: 0.6s;
  animation-delay: -0.2s;
}
.qchr.live i:nth-child(3) {
  animation-duration: 1s;
  animation-delay: -0.4s;
}
.qchr.sm {
  height: 14px;
  gap: 2px;
}
.qchr.sm i {
  width: 2.5px;
}
.qchr.sm i:nth-child(1),
.qchr.sm i:nth-child(5) {
  height: 5px;
}
.qchr.sm i:nth-child(2),
.qchr.sm i:nth-child(4) {
  height: 9px;
}
.qchr.sm i:nth-child(3) {
  height: 13px;
}
@keyframes breath {
  0%,
  100% {
    transform: scaleY(1);
  }
  40% {
    transform: scaleY(0.6);
  }
}
@keyframes talk {
  0%,
  100% {
    transform: scaleY(0.35);
  }
  50% {
    transform: scaleY(1.05);
  }
}
@keyframes travel {
  0%,
  60%,
  100% {
    transform: scaleY(0.45);
  }
  30% {
    transform: scaleY(1.1);
  }
}

/* ------------------------------------------------------------------ controls */
.btn {
  appearance: none;
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--card2);
  color: var(--ink);
  font: 600 15px/1 var(--f);
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.14), 0 1px 2px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s var(--ease), background 0.2s, box-shadow 0.2s, opacity 0.2s;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn:active {
  transform: translateY(0) scale(0.98);
}
.btn svg {
  width: 16px;
  height: 16px;
}
.btn.pri {
  background: var(--acc);
  color: var(--on-acc);
  box-shadow: 0 6px 18px -8px rgba(0, 0, 0, 0.45);
}
.btn.lg {
  height: 52px;
  padding: 0 26px;
  font-size: 16.5px;
}
.btn.sm {
  height: 34px;
  padding: 0 15px;
  font-size: 13.5px;
}
.btn.ghost {
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--line);
}
.btn.on-dark {
  background: #f5f5f7;
  color: #0b0b0c;
  box-shadow: 0 10px 30px -12px rgba(255, 255, 255, 0.35);
}
.btn.on-dark-ghost {
  background: transparent;
  color: #f5f5f7;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
}
@media (prefers-color-scheme: dark) {
  .btn {
    box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.12);
  }
  .btn.pri {
    box-shadow: 0 8px 28px -10px rgba(255, 255, 255, 0.25);
  }
}
.link {
  color: var(--ink);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--line);
  transition: text-decoration-color 0.2s;
}
.link:hover {
  text-decoration-color: var(--mid);
}
.arrow::after {
  content: " →";
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  font: 600 13px/1 var(--f);
  white-space: nowrap;
  background: var(--card);
  color: var(--mid);
  box-shadow: inset 0 0 0 1px var(--line);
}
.tag.mi {
  background: var(--mi-bg);
  color: var(--mi-fg);
  box-shadow: inset 0 0 0 1px var(--mi-ln);
}
.tag.pe {
  background: var(--pe-bg);
  color: var(--pe-fg);
  box-shadow: inset 0 0 0 1px var(--pe-ln);
}
.tag .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}
.tag.sm {
  height: 22px;
  padding: 0 9px;
  font-size: 11.5px;
}

.seg {
  display: inline-flex;
  padding: 3px;
  gap: 2px;
  border-radius: 12px;
  background: var(--bg2);
  box-shadow: inset 0 0 0 0.5px var(--hair);
}
.seg button {
  appearance: none;
  border: 0;
  background: none;
  height: 32px;
  padding: 0 14px;
  border-radius: 9px;
  font: 600 13.5px/1 var(--f);
  color: var(--mid);
  cursor: pointer;
  transition: color 0.15s, background 0.2s, box-shadow 0.2s;
}
.seg button:hover {
  color: var(--ink);
}
.seg button[aria-pressed="true"] {
  background: var(--sel);
  color: var(--ink);
  box-shadow: var(--selsh);
}

/* keycaps: the symbol at the top right, the name at the bottom left */
.keys {
  display: flex;
  align-items: center;
  gap: 10px;
}
.key {
  position: relative;
  width: 76px;
  height: 68px;
  border-radius: 14px;
  background: var(--key);
  box-shadow: var(--keysh);
  color: var(--ink);
  flex: none;
  transition: transform 80ms var(--ease), box-shadow 0.15s;
}
.key .sy {
  position: absolute;
  top: 10px;
  right: 12px;
  font: 400 19px/1 var(--f);
}
.key .nm {
  position: absolute;
  bottom: 10px;
  left: 12px;
  font: 500 11.5px/1 var(--f);
  color: var(--mid);
}
.key.space {
  width: 180px;
}
.key.dn {
  transform: translateY(2px);
  box-shadow: 0 0 0 1.5px var(--ink2), 0 0 0 5px var(--focus);
}
.key.s {
  width: 52px;
  height: 46px;
  border-radius: 11px;
}
.key.s .sy {
  font-size: 15px;
  top: 7px;
  right: 9px;
}
.key.s .nm {
  font-size: 10px;
  bottom: 7px;
  left: 9px;
}
.key.s.space {
  width: 120px;
}
.key .sy.gl {
  font-size: 21px;
}
.k {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 6px;
  background: var(--key);
  box-shadow: 0 0 0 0.5px var(--line), 0 1px 0 var(--line);
  font: 600 12px/1 var(--f);
  color: var(--ink);
  vertical-align: 1px;
  margin: 0 1px;
}

/* ------------------------------------------------------------------ header */
.top {
  position: sticky;
  top: 0;
  z-index: 40;
  transition: background 0.3s, box-shadow 0.3s, backdrop-filter 0.3s;
}
.top.stuck {
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 0.5px 0 var(--hair);
}
.top-in {
  display: flex;
  align-items: center;
  gap: 18px;
  height: 64px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font: 650 18px/1 var(--fd);
  letter-spacing: -0.025em;
}
.top nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 14px;
}
.top nav a:not(.btn) {
  text-decoration: none;
  color: var(--mid);
  transition: color 0.15s;
}
.top nav a:not(.btn):hover {
  color: var(--ink);
}
@media (max-width: 760px) {
  .top nav .wide {
    display: none;
  }
}

/* ------------------------------------------------------------------ hero */
.hero {
  padding: 64px 0 0;
  text-align: center;
  position: relative;
}
.hero::before {
  /* a faint light behind the headline */
  content: "";
  position: absolute;
  inset: -120px 0 auto;
  height: 720px;
  background: radial-gradient(60% 55% at 50% 30%, color-mix(in srgb, var(--card2) 90%, transparent), transparent 70%);
  pointer-events: none;
  z-index: -1;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 34px;
  padding: 0 6px 0 14px;
  border-radius: 999px;
  background: var(--card);
  box-shadow: var(--cardsh);
  font-size: 13.5px;
  color: var(--mid);
  text-decoration: none;
  transition: box-shadow 0.2s;
}
.eyebrow:hover {
  box-shadow: 0 0 0 1px var(--line);
}
.eyebrow b {
  color: var(--ink);
  font-weight: 600;
}
.eyebrow .tag {
  height: 24px;
}
.hero h1 {
  margin: 26px auto 0;
  max-width: 980px;
  font: 700 clamp(48px, 9vw, 112px) / 0.95 var(--fd);
  letter-spacing: -0.055em;
  text-wrap: balance;
}
.hero h1 .soft {
  color: var(--light);
}
.lede {
  margin: 26px auto 0;
  max-width: 640px;
  font-size: clamp(18px, 2.1vw, 22px);
  line-height: 1.45;
  color: var(--mid);
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.lede b {
  color: var(--ink);
  font-weight: 600;
}
.cta {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}
.meta {
  margin-top: 16px;
  font-size: 13.5px;
  color: var(--mid);
}

/* ------------------------------------------------------------------ the stage (hero demo) */
.demo {
  margin: 64px auto 0;
  width: min(1180px, 100% - 32px);
  text-align: left;
}
.stage {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  background:
    radial-gradient(70% 60% at 18% 0%, rgba(255, 255, 255, 0.09), transparent 60%),
    radial-gradient(60% 70% at 100% 100%, rgba(124, 196, 154, 0.08), transparent 60%),
    linear-gradient(160deg, #2a2a2c, #0d0d0e 70%);
  box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.3), 0 50px 100px -40px rgba(0, 0, 0, 0.55), inset 0 0.5px 0 rgba(255, 255, 255, 0.12);
  color: var(--g-ink);
  height: 640px;
  isolation: isolate;
}
.stage::after {
  /* fine grain, so the gradient never bands */
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 3px 3px;
  pointer-events: none;
  z-index: -1;
}
/* the Mac's menu bar, with Utter's icon in it */
.mbar {
  position: absolute;
  inset: 0 0 auto;
  height: 32px;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 0 18px;
  font: 500 13px/1 var(--f);
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.06);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  z-index: 3;
}
.mbar b {
  font-weight: 700;
}
.mbar .r {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 16px;
}
.mbar .faint {
  opacity: 0.55;
}
.mglyph {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 22px;
  border-radius: 6px;
  color: #fff;
}
.mglyph svg {
  width: 17px;
  height: 17px;
}
.mglyph rect {
  transform-box: fill-box;
  transform-origin: center;
}
.mglyph.live rect:nth-child(-n + 4) {
  animation: talk 0.8s ease-in-out infinite;
}
.mglyph.live rect:nth-child(2) {
  animation-duration: 0.6s;
}
.mglyph.live rect:nth-child(3) {
  animation-duration: 1s;
  animation-delay: -0.3s;
}
.mglyph.work rect:nth-child(-n + 4) {
  animation: travel 1s ease-in-out infinite;
}
.mglyph.work rect:nth-child(2) {
  animation-delay: 0.1s;
}
.mglyph.work rect:nth-child(3) {
  animation-delay: 0.2s;
}
.mglyph.work rect:nth-child(4) {
  animation-delay: 0.3s;
}
@media (max-width: 640px) {
  .mbar .hide-sm {
    display: none;
  }
}

/* the app window on the stage */
.wins {
  position: absolute;
  left: 50%;
  top: 74px;
  width: min(760px, calc(100% - 48px));
  transform: translateX(-50%);
  height: 404px;
}
.win {
  position: absolute;
  inset: 0;
  border-radius: 14px;
  background: #fafafa;
  color: #1d1d1f;
  box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.5), 0 40px 80px -30px rgba(0, 0, 0, 0.75), inset 0 0.5px 0 rgba(255, 255, 255, 0.9);
  overflow: hidden;
  opacity: 0;
  transform: translateY(10px) scale(0.985);
  transition: opacity 0.35s var(--ease), transform 0.45s var(--ease);
  pointer-events: none;
  display: flex;
  flex-direction: column;
}
.win.cur {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.wbar {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 44px;
  padding: 0 14px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  background: linear-gradient(#f6f6f6, #efefef);
  flex: none;
  font-size: 13px;
}
.dots {
  display: flex;
  gap: 7px;
}
.dots i {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ff5f57;
  box-shadow: inset 0 0 0 0.5px rgba(0, 0, 0, 0.18);
}
.dots i:nth-child(2) {
  background: #febc2e;
}
.dots i:nth-child(3) {
  background: #28c840;
}
.wtitle {
  font-weight: 600;
  color: #3a3a3c;
}
.wstyle {
  margin-left: auto;
  font-size: 11.5px;
  font-weight: 600;
  color: #6e6e73;
  height: 22px;
  display: inline-flex;
  align-items: center;
  padding: 0 9px;
  border-radius: 7px;
  background: #fff;
  box-shadow: inset 0 0 0 1px #e2e2e2;
}
.wbody {
  flex: 1;
  min-height: 0;
  padding: 22px 26px;
  font-size: 15.5px;
  line-height: 1.55;
  overflow: hidden;
}
.chatline {
  display: flex;
  gap: 12px;
  margin-bottom: 18px;
}
.av {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font: 700 14px/1 var(--f);
  color: #fff;
  background: linear-gradient(140deg, #7c8a9a, #4a5563);
}
.chatline b {
  font-size: 14.5px;
}
.chatline p {
  color: #3a3a3c;
}
.field {
  position: relative;
  border-radius: 12px;
  min-height: 92px;
  padding: 14px 16px;
  background: #fff;
  box-shadow: inset 0 0 0 1px #dedede;
}
.win[data-app="slack"] .field {
  margin-top: 4px;
}
.out {
  display: none;
}
.out.cur {
  display: block;
}
.out p + p,
.out p + ul,
.out ul + p {
  margin-top: 10px;
}
.out ul {
  list-style: disc;
  padding-left: 22px;
}
.out.flash {
  animation: land 0.9s var(--ease);
}
@keyframes land {
  0% {
    opacity: 0;
    transform: translateY(6px);
    filter: blur(3px);
  }
  100% {
    opacity: 1;
    transform: none;
    filter: none;
  }
}
.caret {
  display: none;
  width: 2px;
  height: 20px;
  border-radius: 1px;
  background: #1d1d1f;
  animation: blink 1s steps(1) infinite;
  vertical-align: -4px;
}
.demo:not([data-phase="done"]) .caret {
  display: inline-block;
}
@keyframes blink {
  50% {
    opacity: 0;
  }
}
.hdrs {
  display: grid;
  gap: 0;
  margin: -6px 0 14px;
  font-size: 14px;
}
.hdrs div {
  display: flex;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid #ececec;
}
.hdrs dt {
  color: #8e8e93;
  width: 62px;
}
.ntitle {
  font: 700 22px/1.2 var(--fd);
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.win[data-app="notes"] .field,
.win[data-app="mail"] .field {
  background: transparent;
  box-shadow: none;
  padding: 0;
}
.win[data-app="xcode"] {
  background: #1f1f24;
  color: #e6e6e6;
}
.win[data-app="xcode"] .wbar {
  background: linear-gradient(#2c2c31, #26262b);
  border-bottom-color: rgba(255, 255, 255, 0.07);
}
.win[data-app="xcode"] .wtitle {
  color: #dcdcdc;
}
.win[data-app="xcode"] .wstyle {
  background: #2f2f35;
  color: #a6a6ad;
  box-shadow: none;
}
.code {
  font: 13.5px/1.75 var(--mono);
}
.cl {
  display: flex;
  gap: 18px;
}
.ln {
  width: 22px;
  text-align: right;
  color: #5d5d66;
  flex: none;
}
.kw {
  color: #fc5fa3;
}
.cmt {
  color: #7fb87a;
}
.code .caret {
  background: #e6e6e6;
}
.code .field {
  background: transparent;
  box-shadow: none;
  padding: 0;
  min-height: 0;
  display: inline;
}
.code .out.cur {
  display: inline;
}

/* what the speech model heard */
.said {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 86px;
  width: min(760px, calc(100% - 48px));
  display: flex;
  gap: 12px;
  align-items: baseline;
  font: 13px/1.6 var(--mono);
  color: var(--g-mid);
}
.said-k {
  font: 600 11.5px/1 var(--f);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.45);
  flex: none;
}
.said .f {
  text-decoration: line-through;
  text-decoration-color: #f3b48a;
  text-decoration-thickness: 1.5px;
  color: rgba(255, 255, 255, 0.35);
}
.said .w {
  opacity: 0.18;
  transition: opacity 0.18s;
}
.said .w.on {
  opacity: 1;
}

/* the status pill, as in the app */
.pillband {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 22px;
  display: flex;
  justify-content: center;
  pointer-events: none;
}
.pill {
  display: inline-flex;
  align-items: center;
  height: 44px;
  border-radius: 22px;
  padding: 0 18px 0 14px;
  background: #1c1c1c;
  color: #f3f3f3;
  box-shadow: inset 0 0.5px 0 rgba(255, 255, 255, 0.12), 0 0 0 0.5px rgba(0, 0, 0, 0.8), 0 16px 40px -14px rgba(0, 0, 0, 0.9);
  font: 600 14px/1 var(--f);
  white-space: nowrap;
  overflow: hidden;
  transition: opacity 0.25s var(--ease), transform 0.35s var(--spring), width 0.35s var(--ease);
}
.pill.off {
  opacity: 0;
  transform: translateY(14px) scale(0.94);
}
.pin {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}
.pill .lw {
  display: none;
  align-items: center;
  gap: 3px;
  height: 26px;
}
.pill .lw i {
  display: block;
  width: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, #8a8a8a, #f2f2f2 45%, #a5a5a5);
  height: 4px;
  transition: height 60ms linear;
}
.pill[data-kind="listen"] .lw {
  display: inline-flex;
}
.pill[data-kind="listen"] .qchr {
  display: none;
}
.pill .pc {
  display: inline-flex;
  align-items: center;
  height: 20px;
  padding: 0 7px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  font: 600 11.5px/1 var(--f);
  color: #a8a8a8;
}
.pill .tm {
  font-weight: 500;
  color: #9b9b9b;
  font-variant-numeric: tabular-nums;
}
.pill [hidden] {
  display: none !important;
}

/* the app windows hold their content, not empty space */
.win[data-app="slack"] .wbody,
.win[data-app="mail"] .wbody {
  display: flex;
  flex-direction: column;
}
.win[data-app="slack"] .field {
  margin-top: auto;
}

/* the controls under the stage */
.dock {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 22px;
  background: var(--card);
  box-shadow: var(--cardsh);
}
.dock .sp {
  flex: 1;
}
.hold {
  appearance: none;
  border: 0;
  background: none;
  padding: 4px;
  margin: -4px;
  display: flex;
  align-items: center;
  gap: 16px;
  border-radius: 18px;
  cursor: pointer;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  text-align: left;
}
.hold .keys {
  gap: 6px;
}
.hold.down .key {
  transform: translateY(2px);
  box-shadow: 0 0 0 1.5px var(--ink2), 0 0 0 5px var(--focus);
}
.hold-text b {
  display: block;
  font-size: 15px;
}
.hold-text span {
  display: block;
  font-size: 13px;
  color: var(--mid);
}
.demo-note {
  margin-top: 12px;
  text-align: center;
  font-size: 13px;
  color: var(--mid);
}
@media (max-width: 860px) {
  .stage {
    height: 620px;
  }
  .wins {
    height: 380px;
  }
  .said {
    bottom: 80px;
    font-size: 12px;
  }
  .hold-text span {
    display: none;
  }
}
@media (max-width: 560px) {
  .stage {
    height: 590px;
    border-radius: 22px;
  }
  .wins {
    top: 52px;
    width: calc(100% - 24px);
    height: 360px;
  }
  .wbody {
    padding: 16px;
    font-size: 14.5px;
  }
  .said {
    width: calc(100% - 28px);
    flex-direction: column;
    gap: 4px;
  }
  .key.s {
    width: 44px;
    height: 40px;
  }
  .key.s.space {
    width: 84px;
  }
  .dock .seg button {
    padding: 0 10px;
  }
}

/* ------------------------------------------------------------------ marquee */
.band {
  margin-top: 96px;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.band-k {
  text-align: center;
  font-size: 13.5px;
  color: var(--mid);
  margin-bottom: 22px;
}
.band-track {
  display: flex;
  width: max-content;
  animation: slide 46s linear infinite;
}
.band ul {
  display: flex;
  gap: 56px;
  padding-right: 56px;
}
.band li {
  font: 650 30px/1 var(--fd);
  letter-spacing: -0.035em;
  color: var(--light);
  white-space: nowrap;
}
@keyframes slide {
  to {
    transform: translateX(-50%);
  }
}

/* ------------------------------------------------------------------ sections */
.sec {
  padding: 140px 0 0;
}
.head {
  max-width: 760px;
}
.head.center {
  margin: 0 auto;
  text-align: center;
}
.kicker {
  font: 600 14px/1 var(--f);
  color: var(--mid);
  margin-bottom: 16px;
}
.h2 {
  font: 700 clamp(38px, 5.6vw, 68px) / 1.02 var(--fd);
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.h2 .soft {
  color: var(--light);
}
.sub {
  margin-top: 18px;
  font-size: clamp(17px, 1.7vw, 20px);
  line-height: 1.5;
  color: var(--mid);
  text-wrap: pretty;
}
.head.center .sub {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.card {
  position: relative;
  border-radius: 28px;
  background: var(--card);
  box-shadow: var(--cardsh);
  padding: 30px 32px;
  overflow: hidden;
}
.lab {
  display: flex;
  align-items: center;
  gap: 8px;
  font: 600 15px/20px var(--f);
}
.lab .r {
  margin-left: auto;
  font-weight: 500;
  font-size: 13.5px;
  color: var(--mid);
}
.big {
  margin-top: 10px;
  font: 650 clamp(52px, 7vw, 84px) / 0.95 var(--fd);
  letter-spacing: -0.055em;
  color: var(--ink2);
  font-variant-numeric: tabular-nums;
}
.big small {
  font-size: 0.42em;
  color: var(--light);
  letter-spacing: -0.02em;
  font-weight: 500;
  margin-left: 4px;
}
.big.md {
  font-size: clamp(40px, 4.6vw, 56px);
}
.p {
  margin-top: 12px;
  font-size: 15.5px;
  line-height: 1.5;
  color: var(--mid);
}
.p b {
  color: var(--ink);
  font-weight: 600;
}

/* the numbers */
.nums {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 56px;
}
.nums .card {
  padding: 26px 26px 28px;
}
@media (max-width: 980px) {
  .nums {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 520px) {
  .nums {
    grid-template-columns: 1fr;
  }
}

/* two hotkeys */
.duo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 56px;
}
.duo .card {
  padding: 34px;
  display: flex;
  flex-direction: column;
}
.duo h3 {
  margin-top: 28px;
  font: 700 30px/1.1 var(--fd);
  letter-spacing: -0.035em;
}
.diff {
  margin-top: 22px;
  padding: 18px 20px;
  border-radius: 18px;
  background: var(--bg);
  font-size: 15.5px;
  line-height: 1.75;
}
.diff del {
  color: var(--mid);
  text-decoration: line-through;
  text-decoration-color: var(--pe-fg);
  text-decoration-thickness: 1.5px;
}
.diff ins {
  text-decoration: none;
  color: var(--mi-fg);
  background: var(--mi-bg);
  border-radius: 5px;
  padding: 1px 3px;
  box-shadow: inset 0 0 0 1px var(--mi-ln);
}
.diff .k {
  margin-right: 6px;
}
.diff-k {
  display: block;
  font: 600 11.5px/1 var(--f);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--light);
  margin-bottom: 8px;
}
.diff + .diff {
  margin-top: 10px;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 22px;
}
.chip {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 13px;
  border-radius: 15px;
  background: var(--bg);
  box-shadow: inset 0 0 0 1px var(--line);
  font: 600 13px/1 var(--f);
  color: var(--mid);
}
.chip.on {
  background: var(--sel);
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--ink2);
}
.fnrow {
  margin-top: 16px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
}
.fnrow .p {
  margin: 0;
}
.fnrow h3 {
  font: 700 26px/1.1 var(--fd);
  letter-spacing: -0.03em;
}
@media (max-width: 860px) {
  .duo {
    grid-template-columns: 1fr;
  }
  .fnrow {
    grid-template-columns: auto 1fr;
  }
  .fnrow .tag {
    grid-column: 1 / -1;
    justify-self: start;
  }
}

/* writes for the app */
.styler {
  margin-top: 56px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 16px;
}
.styler .card {
  padding: 30px;
}
.styler .seg {
  flex-wrap: wrap;
}
.saidbox {
  margin-top: 20px;
  font: 14px/1.7 var(--mono);
  color: var(--mid);
}
.saidbox s {
  text-decoration-color: var(--pe-fg);
  text-decoration-thickness: 1.5px;
  opacity: 0.6;
}
.outcard {
  padding: 0 !important;
  display: flex;
  flex-direction: column;
}
.exbar {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 46px;
  padding: 0 18px;
  border-bottom: 1px solid var(--hair);
  font: 600 13.5px/1 var(--f);
  color: var(--mid);
}
.appout {
  position: relative;
  flex: 1;
  padding: 26px 30px 30px;
}
.appout .ex-body {
  font-size: 19px;
  line-height: 1.55;
  letter-spacing: -0.015em;
}
.appout .ex-body.code {
  font-size: 15px;
}
.appout .ex {
  position: absolute;
  inset: 26px 30px 30px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s var(--ease), transform 0.45s var(--ease);
  pointer-events: none;
}
.appout .ex.cur {
  opacity: 1;
  transform: none;
  position: relative;
  inset: auto;
  pointer-events: auto;
}
.ex-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--mid);
}
.ex-body {
  margin-top: 16px;
  padding: 20px 22px;
  border-radius: 18px;
  background: var(--card2);
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 16px;
  line-height: 1.6;
}
.ex-body p + p,
.ex-body p + ul,
.ex-body ul + p {
  margin-top: 10px;
}
.ex-body ul {
  list-style: disc;
  padding-left: 20px;
}
.ex-body.code {
  font-family: var(--mono);
  font-size: 14px;
  background: #1f1f24;
  color: #7fb87a;
  box-shadow: none;
}
@media (max-width: 900px) {
  .styler {
    grid-template-columns: 1fr;
  }
}

/* the bento of everything else */
.bento {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}
.bento .card {
  display: flex;
  flex-direction: column;
  padding: 0;
  min-height: 440px;
}
.bento .w3 {
  grid-column: span 3;
}
.bento .w2 {
  grid-column: span 2;
}
.bento .w4 {
  grid-column: span 4;
}
.scene {
  position: relative;
  flex: 1;
  min-height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 30px 10px;
  overflow: hidden;
}
.btext {
  padding: 6px 30px 30px;
}
.btext h3 {
  font: 700 24px/1.15 var(--fd);
  letter-spacing: -0.03em;
}
.btext p {
  margin-top: 8px;
  font-size: 15.5px;
  line-height: 1.5;
  color: var(--mid);
}
.btext .needs {
  margin-top: 10px;
  font-size: 13px;
  color: var(--light);
}
@media (max-width: 980px) {
  .bento .w2,
  .bento .w3,
  .bento .w4 {
    grid-column: span 3;
  }
}
@media (max-width: 680px) {
  .bento {
    grid-template-columns: 1fr;
  }
  .bento .w2,
  .bento .w3,
  .bento .w4 {
    grid-column: auto;
  }
  .bento .card {
    min-height: 0;
  }
}

/* mini parts used in the scenes */
.mini {
  width: 100%;
  max-width: 420px;
  border-radius: 18px;
  background: var(--card2);
  box-shadow: 0 0 0 0.5px var(--hair), 0 18px 40px -22px rgba(0, 0, 0, 0.35);
  padding: 18px 20px;
  font-size: 14.5px;
  line-height: 1.55;
}
.mini .mt {
  display: flex;
  align-items: center;
  gap: 8px;
  font: 600 12.5px/1 var(--f);
  color: var(--mid);
  margin-bottom: 12px;
}
.minipill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 36px;
  padding: 0 14px 0 12px;
  border-radius: 18px;
  background: #1c1c1c;
  color: #f3f3f3;
  font: 600 13px/1 var(--f);
  white-space: nowrap;
  box-shadow: 0 12px 30px -12px rgba(0, 0, 0, 0.6);
}
.minipill .pc {
  height: 18px;
  padding: 0 6px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.08);
  color: #a8a8a8;
  font-size: 11px;
  display: inline-flex;
  align-items: center;
}
.minipill .tm {
  color: #9b9b9b;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.ghostpill {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 16px;
  border-radius: 18px;
  outline: 1.5px dashed var(--line);
  outline-offset: -1.5px;
  font: 500 13px/1 var(--f);
  color: var(--mid);
}

/* scene: your words */
.s-words .mini {
  max-width: 400px;
}
.fixline {
  font-size: 16px;
}
.fx {
  position: relative;
  display: inline-grid;
}
.fx > span {
  grid-area: 1 / 1;
  transition: opacity 0.4s var(--ease), transform 0.5s var(--ease);
}
.fx .wrong {
  text-decoration: line-through;
  text-decoration-color: var(--pe-fg);
  text-decoration-thickness: 1.5px;
  color: var(--mid);
}
.fx .right {
  color: var(--mi-fg);
  background: var(--mi-bg);
  border-radius: 5px;
  padding: 0 3px;
  box-shadow: inset 0 0 0 1px var(--mi-ln);
  opacity: 0;
  transform: translateY(4px);
}
.wordrow {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--hair);
}
.wordrow b {
  font-size: 15px;
  min-width: 70px;
}
.hv {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 8px;
  border-radius: 7px;
  background: var(--bg);
  box-shadow: inset 0 0 0 1px var(--line);
  font: 500 12px/1 var(--mono);
  color: var(--mid);
}
.wordrow .tag {
  margin-left: auto;
  transition: opacity 0.4s, transform 0.4s var(--spring);
}
.s-words[data-step="0"] .fx .wrong {
  text-decoration-color: transparent;
  color: var(--ink);
}
.s-words[data-step="0"] .wordrow .tag,
.s-words[data-step="1"] .wordrow .tag {
  opacity: 0;
  transform: scale(0.85);
}
.s-words[data-step="0"] .wordrow .hv,
.s-words[data-step="1"] .wordrow .hv {
  opacity: 0;
}
.s-words[data-step="2"] .fx .wrong,
.s-words[data-step="3"] .fx .wrong {
  opacity: 0;
  transform: translateY(-4px);
}
.s-words[data-step="2"] .fx .right,
.s-words[data-step="3"] .fx .right {
  opacity: 1;
  transform: none;
}
.s-words .hv {
  transition: opacity 0.4s;
}
.s-words .toast {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translate(-50%, 12px);
  opacity: 0;
  transition: opacity 0.35s, transform 0.45s var(--spring);
}
.s-words[data-step="3"] .toast {
  opacity: 1;
  transform: translate(-50%, 0);
}
.minipill .ok {
  color: #8fdcae;
  display: inline-flex;
}
.minipill .ok svg {
  width: 15px;
  height: 15px;
}

/* scene: edit by voice */
.sel-text {
  background: rgba(10, 132, 255, 0.18);
  border-radius: 3px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  transition: background 0.3s;
}
.swap {
  display: grid;
}
.swap > * {
  grid-area: 1 / 1;
  transition: opacity 0.45s var(--ease), transform 0.5s var(--ease), filter 0.45s;
}
.swap .after {
  opacity: 0;
  transform: translateY(6px);
  filter: blur(3px);
}
.s-edit[data-step="3"] .swap .before {
  opacity: 0;
  transform: translateY(-6px);
  filter: blur(3px);
}
.s-edit[data-step="3"] .swap .after {
  opacity: 1;
  transform: none;
  filter: none;
}
.s-edit .bubble {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.s-edit .says {
  font: 13px/1 var(--mono);
  color: var(--mid);
  opacity: 0;
  transition: opacity 0.3s;
}
.s-edit[data-step="1"] .says,
.s-edit[data-step="2"] .says {
  opacity: 1;
}
.s-edit .minipill {
  transition: opacity 0.3s, transform 0.4s var(--spring);
}
.s-edit[data-step="0"] .minipill,
.s-edit[data-step="3"] .minipill {
  opacity: 0;
  transform: translateY(8px) scale(0.95);
}
.s-edit .l2 {
  display: none;
}
.s-edit[data-step="2"] .l1 {
  display: none;
}
.s-edit[data-step="2"] .l2 {
  display: inline;
}
.s-edit .minipill .qchr {
  height: 18px;
}
.s-edit .minipill .qchr i {
  width: 3px;
}
.s-edit .mini {
  margin-bottom: 64px;
}

/* scene: hands-free */
.s-free {
  flex-direction: column;
  gap: 26px;
}
.s-free .bigtime {
  font: 650 72px/1 var(--fd);
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
}
.taps {
  display: flex;
  align-items: center;
  gap: 14px;
}
.tapkey {
  transition: transform 0.12s var(--ease), box-shadow 0.15s;
}
.s-free[data-step="0"] .tapkey.a,
.s-free[data-step="3"] .tapkey.b {
  transform: translateY(2px);
  box-shadow: 0 0 0 1.5px var(--ink2), 0 0 0 5px var(--focus);
}
.tapwave {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 40px;
}
.tapwave i {
  width: 3px;
  border-radius: 2px;
  background: var(--light);
  height: calc(6px + var(--h) * 32px);
  transform-origin: center;
  transition: background 0.3s;
}
.s-free[data-step="2"] .tapwave i {
  background: var(--ink2);
  animation: talk 0.9s ease-in-out infinite;
  animation-delay: calc(var(--i) * -0.07s);
}

/* scene: history */
.s-hist .mini {
  padding: 14px;
}
.hs {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 12px;
  border-radius: 10px;
  background: var(--bg);
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 14px;
  color: var(--light);
}
.hs svg {
  width: 14px;
  height: 14px;
}
.hs .q {
  color: var(--ink);
}
.hlist li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 6px;
  border-top: 1px solid var(--hair);
  transition: opacity 0.3s;
}
.hlist li:first-child {
  border-top: 0;
}
.hlist .ht {
  flex: 1;
  min-width: 0;
}
.hlist .ht span {
  display: block;
  font-size: 14px;
  line-height: 1.4;
}
.hlist small {
  font-size: 12px;
  color: var(--mid);
}
.hlist mark {
  background: var(--mi-bg);
  color: var(--mi-fg);
  border-radius: 4px;
  padding: 0 2px;
}
.hb {
  font: 600 12.5px/1 var(--f);
  color: var(--mid);
}
.s-hist[data-step="1"] li:not(.hit),
.s-hist[data-step="2"] li:not(.hit),
.s-hist[data-step="3"] li:not(.hit) {
  opacity: 0.25;
}
.s-hist .hb .c2 {
  display: none;
  color: var(--mi-fg);
}
.s-hist[data-step="3"] .hit .hb .c1 {
  display: none;
}
.s-hist[data-step="3"] .hit .hb .c2 {
  display: inline;
}
.s-hist[data-step="0"] .hs .q {
  opacity: 0;
}

/* scene: names on screen */
.s-names .mini {
  max-width: 400px;
}
.thread p {
  font-size: 14px;
  color: var(--mid);
}
.thread p b {
  color: var(--ink);
}
.thread p + p {
  margin-top: 6px;
}
.thread .nm {
  border-radius: 4px;
  transition: background 0.4s, box-shadow 0.4s;
}
.s-names[data-step="1"] .thread .nm,
.s-names[data-step="2"] .thread .nm {
  background: var(--mi-bg);
  box-shadow: 0 0 0 2px var(--mi-bg);
}
.compose {
  margin-top: 14px;
  padding: 10px 12px;
  border-radius: 10px;
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 14.5px;
  min-height: 42px;
}
.compose .typed {
  opacity: 0;
  transition: opacity 0.4s;
}
.s-names[data-step="2"] .compose .typed {
  opacity: 1;
}

/* scene: menu bar */
.s-menu {
  align-items: flex-start;
  padding-top: 26px;
}
.mmenu {
  width: 270px;
  padding: 6px;
  border-radius: 12px;
  background: var(--card2);
  box-shadow: 0 0 0 0.5px var(--hair), 0 20px 44px -16px rgba(0, 0, 0, 0.35);
  font-size: 13.5px;
}
.mmenu .hd {
  padding: 10px 10px 12px;
}
.mmenu .hd b {
  display: flex;
  align-items: center;
  gap: 8px;
  font: 650 19px/1 var(--fd);
  letter-spacing: -0.025em;
}
.mmenu .hd b i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mi-fg);
}
.mmenu .hd span {
  display: block;
  margin-top: 6px;
  font-size: 12.5px;
  color: var(--mid);
}
.mmenu .it {
  display: flex;
  align-items: center;
  height: 26px;
  padding: 0 10px;
  border-radius: 7px;
}
.mmenu .it .kb {
  margin-left: auto;
  color: var(--mid);
  font-size: 12.5px;
}
.mmenu .it.hl {
  background: #2f6fed;
  color: #fff;
}
.mmenu .sep {
  height: 1px;
  margin: 5px 8px;
  background: var(--hair);
}
.mmenu-top {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 8px;
}
.mmenu-top .mglyph {
  color: var(--ink);
  background: var(--bg2);
}

/* ------------------------------------------------------------------ privacy (graphite) */
.dark {
  margin-top: 140px;
  padding: 130px 0 140px;
  background:
    radial-gradient(50% 60% at 15% 0%, rgba(255, 255, 255, 0.06), transparent 60%),
    radial-gradient(40% 50% at 100% 100%, rgba(124, 196, 154, 0.07), transparent 60%),
    #0b0b0c;
  color: #f5f5f7;
  --mid: #98989d;
  --light: #5e5e62;
  --hair: rgba(255, 255, 255, 0.08);
  --line: #2c2c2e;
  --ink: #f5f5f7;
  --ink2: #f5f5f7;
  --card: #161617;
  --mi-fg: #8fdcae;
  --mi-bg: rgba(124, 196, 154, 0.12);
  --mi-ln: rgba(124, 196, 154, 0.26);
  --pe-fg: #f3b48a;
  --pe-bg: rgba(246, 170, 120, 0.12);
  --pe-ln: rgba(246, 170, 120, 0.26);
}
.leaves {
  margin-top: 64px;
  border-top: 1px solid var(--hair);
}
.leaves > div {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr) minmax(0, 1.6fr);
  gap: 24px;
  align-items: baseline;
  padding: 26px 0;
  border-bottom: 1px solid var(--hair);
}
.leaves dt {
  font-size: 16px;
  color: var(--mid);
}
.leaves .v {
  font: 650 clamp(26px, 3vw, 36px) / 1.05 var(--fd);
  letter-spacing: -0.035em;
}
.leaves .v.never {
  color: #f5f5f7;
}
.leaves .v.if {
  color: var(--pe-fg);
}
.leaves dd + dd {
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--mid);
}
@media (max-width: 760px) {
  .leaves > div {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

/* ------------------------------------------------------------------ cleanup */
.prov {
  margin-top: 56px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: 16px;
}
.tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}
.tile {
  padding: 14px 14px;
  border-radius: 14px;
  background: var(--bg);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: box-shadow 0.2s, transform 0.2s var(--ease);
}
.tile:hover {
  transform: translateY(-2px);
}
.tile .lg {
  width: 22px;
  height: 22px;
  margin-bottom: 14px;
  color: var(--ink);
}
.tile b {
  display: block;
  font-size: 15px;
}
.tile span {
  display: block;
  font-size: 12.5px;
  color: var(--mid);
  margin-top: 2px;
}
.tile.on {
  background: var(--sel);
  box-shadow: inset 0 0 0 1.5px var(--ink2);
}
.paths {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 18px;
}
.path {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 18px;
  border-radius: 16px;
  background: var(--bg);
}
.path b {
  display: block;
  font-size: 15.5px;
}
.path span {
  font-size: 14px;
  color: var(--mid);
}
.path .tag {
  margin-left: auto;
  flex: none;
}
@media (max-width: 900px) {
  .prov {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 520px) {
  .tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .path {
    flex-wrap: wrap;
  }
  .path .tag {
    margin-left: 0;
  }
}

/* ------------------------------------------------------------------ free */
.free {
  margin-top: 56px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 16px;
}
.struck {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin-top: 22px;
}
.struck li {
  font: 650 34px/1.1 var(--fd);
  letter-spacing: -0.035em;
  color: var(--light);
}
.struck s {
  text-decoration-thickness: 3px;
  text-decoration-color: var(--pe-fg);
}
.licence {
  margin-top: 18px;
  padding: 20px 22px;
  border-radius: 18px;
  background: var(--bg);
  font: 14px/1.7 var(--mono);
  color: var(--mid);
}
.licence mark {
  background: var(--mi-bg);
  color: var(--mi-fg);
  border-radius: 4px;
  padding: 0 3px;
}
.licence figcaption {
  font: 600 12px/1 var(--f);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--light);
  margin-bottom: 10px;
}
@media (max-width: 900px) {
  .free {
    grid-template-columns: 1fr;
  }
}

/* ------------------------------------------------------------------ install */
.steps {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.steps .card {
  padding: 28px;
}
.steps .n {
  font: 650 64px/1 var(--fd);
  letter-spacing: -0.05em;
  color: var(--light);
}
.steps h3 {
  margin-top: 26px;
  font: 700 21px/1.2 var(--fd);
  letter-spacing: -0.025em;
}
.steps p {
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--mid);
}
.build {
  margin-top: 16px;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 28px;
  align-items: center;
}
.build .p code {
  font: 0.92em var(--mono);
}
.term {
  position: relative;
  border-radius: 18px;
  background: #161618;
  color: #e6e6e6;
  box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.6), 0 24px 50px -24px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}
.term .tbar {
  height: 36px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 12.5px;
  color: #8e8e93;
}
.term pre {
  margin: 0;
  padding: 18px 20px 20px;
  font: 13.5px/1.8 var(--mono);
  overflow-x: auto;
}
.term pre .pr {
  color: #6b6b70;
  user-select: none;
}
.term .copy {
  margin-left: auto;
  appearance: none;
  border: 0;
  height: 24px;
  padding: 0 10px;
  border-radius: 7px;
  background: #2a2a2d;
  color: #f2f2f2;
  font: 600 12px/1 var(--f);
  cursor: pointer;
  transition: background 0.15s;
}
.term .copy:hover {
  background: #36363a;
}
@media (max-width: 900px) {
  .steps,
  .build {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 520px) {
  #brew .term pre {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
  }
}

/* ------------------------------------------------------------------ last word */
.last {
  margin: 140px auto 0;
  width: min(1180px, 100% - 32px);
}
.last-in {
  position: relative;
  border-radius: 34px;
  padding: 110px 32px 100px;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(50% 70% at 50% 0%, rgba(255, 255, 255, 0.12), transparent 60%),
    radial-gradient(40% 50% at 50% 110%, rgba(124, 196, 154, 0.14), transparent 60%),
    linear-gradient(170deg, #2b2b2d, #0c0c0d 70%);
  color: #f5f5f7;
  box-shadow: 0 50px 100px -40px rgba(0, 0, 0, 0.5);
}
.last .qhex {
  width: 108px;
  height: 108px;
  margin: 0 auto;
  box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.2), 0 30px 60px -20px rgba(0, 0, 0, 0.8), 0 0 80px rgba(255, 255, 255, 0.08);
}
.last h2 {
  margin-top: 36px;
  font: 700 clamp(40px, 7vw, 88px) / 0.98 var(--fd);
  letter-spacing: -0.055em;
}
.last p {
  margin: 20px auto 0;
  max-width: 520px;
  font-size: 19px;
  color: #a1a1a6;
}
.last .meta {
  color: #8e8e93;
}

/* ------------------------------------------------------------------ footer */
.foot {
  padding: 64px 0 56px;
}
.foot-in {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid var(--hair);
}
.foot .brand {
  font-size: 16px;
}
.foot ul {
  display: flex;
  gap: 24px;
  margin-left: auto;
  font-size: 14px;
}
.foot ul a {
  color: var(--mid);
  text-decoration: none;
}
.foot ul a:hover {
  color: var(--ink);
}
.foot .fine {
  flex-basis: 100%;
  font-size: 12.5px;
  color: var(--light);
}

/* ------------------------------------------------------------------ arriving */
.rv-on .rv {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease), transform 1s var(--ease);
}
.rv-on .rv.in {
  opacity: 1;
  transform: none;
}
.rv-on .rv.d1 {
  transition-delay: 0.08s;
}
.rv-on .rv.d2 {
  transition-delay: 0.16s;
}
.rv-on .rv.d3 {
  transition-delay: 0.24s;
}

/* ------------------------------------------------------------------ 404 */
.lost {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 40px 24px;
  text-align: center;
}
.lost h1 {
  font: 700 clamp(48px, 9vw, 96px) / 0.95 var(--fd);
  letter-spacing: -0.055em;
}
.lost .p {
  max-width: 440px;
  margin: 0;
}

/* ------------------------------------------------------------------ reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .band-track {
    animation: none;
  }
}

/* ------------------------------------------------------------------ film */
.film-frame {
  position: relative;
  margin: 34px auto 0;
  max-width: 1080px;
  border-radius: 24px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 0 0 1px var(--hair), 0 40px 90px -40px rgba(0, 0, 0, 0.55);
  isolation: isolate;
}
.film-frame video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  background: #000;
}

/* The player (film.js). Glass on a dark picture, white marks, nothing else coloured. */
.film-frame:not(.fp-on) .fp-ui {
  display: none;
}
.fp-ui {
  position: absolute;
  inset: 0;
  pointer-events: none;
  color: #fff;
}
.fp-ui > * {
  pointer-events: auto;
}
.fp-on video {
  cursor: pointer;
}
.fp-on[data-idle],
.fp-on[data-idle] video {
  cursor: none;
}
/* A soft vignette while the poster or the end frame is showing, so the button reads. */
.fp-ui::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.5));
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}
[data-state="ready"] .fp-ui::before,
[data-state="ended"] .fp-ui::before {
  opacity: 1;
}
/* The last frame is the title card; blur it back so "Watch again" is not read as part of it. */
[data-state="ended"] .fp-ui::before {
  background: rgba(0, 0, 0, 0.45);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.fp-ui svg {
  fill: currentColor;
}

/* The big button over the poster */
.fp-big {
  appearance: none;
  position: absolute;
  left: 50%;
  top: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
  transform: translate(-50%, -50%);
  transition: opacity 0.35s var(--ease), transform 0.5s var(--ease);
}
.fp-disc {
  display: grid;
  place-items: center;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28), 0 18px 50px -12px rgba(0, 0, 0, 0.6);
  -webkit-backdrop-filter: blur(18px) saturate(1.6);
  backdrop-filter: blur(18px) saturate(1.6);
  transition: transform 0.45s var(--spring), background 0.25s;
}
.fp-disc svg {
  width: 38px;
  height: 38px;
}
.fp-disc .i-play {
  margin-left: 4px;
}
.fp-big:hover .fp-disc {
  transform: scale(1.07);
  background: rgba(255, 255, 255, 0.22);
}
.fp-big:active .fp-disc {
  transform: scale(0.97);
}
.fp-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  font: 600 14px/1 var(--f);
  letter-spacing: -0.005em;
}
.fp-label-d {
  color: rgba(255, 255, 255, 0.62);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.fp-big .i-replay,
[data-state="ended"] .fp-big .i-play {
  display: none;
}
[data-state="ended"] .fp-big .i-replay {
  display: block;
}
/* Paused: the disc stays as a quiet way back in; playing: it goes. */
[data-state="paused"] .fp-big .fp-label {
  display: none;
}
[data-state="paused"] .fp-disc {
  width: 76px;
  height: 76px;
}
[data-state="paused"] .fp-disc svg {
  width: 30px;
  height: 30px;
}
[data-state="playing"] .fp-big {
  opacity: 0;
  transform: translate(-50%, -50%) scale(1.15);
  pointer-events: none;
}

/* Buffering */
.fp-spin {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 44px;
  height: 44px;
  margin: -22px 0 0 -22px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.2);
  border-top-color: #fff;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
  animation: fp-spin 0.8s linear infinite;
}
[data-waiting][data-state="playing"] .fp-spin {
  opacity: 1;
  transition-delay: 0.25s;
}
@keyframes fp-spin {
  to {
    transform: rotate(360deg);
  }
}

/* The control bar */
.fp-bar {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  height: 52px;
  padding: 0 8px;
  border-radius: 18px;
  background: rgba(22, 22, 24, 0.5);
  box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.16), 0 14px 40px -14px rgba(0, 0, 0, 0.7);
  -webkit-backdrop-filter: blur(22px) saturate(1.5);
  backdrop-filter: blur(22px) saturate(1.5);
  transition: opacity 0.35s var(--ease), transform 0.45s var(--ease);
}
[data-state="ready"] .fp-bar,
.fp-on[data-idle] .fp-bar {
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
}
.fp-btn {
  appearance: none;
  flex: none;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: inherit;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s var(--ease);
}
.fp-btn:hover {
  background: rgba(255, 255, 255, 0.12);
}
.fp-btn:active {
  transform: scale(0.92);
}
.fp-btn svg {
  width: 22px;
  height: 22px;
}
.fp-ui :focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.85);
  outline-offset: 2px;
}
.fp-btn .i-pause,
.fp-btn .i-muted,
.fp-btn .i-exit,
[data-state="playing"] .fp-btn .i-play,
[data-muted] .fp-btn .i-sound,
[data-full] .fp-btn .i-full {
  display: none;
}
[data-state="playing"] .fp-btn .i-pause,
[data-muted] .fp-btn .i-muted,
[data-full] .fp-btn .i-exit {
  display: block;
}
.fp-time {
  flex: none;
  padding: 0 8px 0 4px;
  font: 500 13px/1 var(--f);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.fp-of,
[data-fp="dur"] {
  color: rgba(255, 255, 255, 0.55);
}

/* Scrubber: a drawn track with an invisible range input over it, so it keeps
   the keyboard and screen-reader behaviour of a real slider. */
.fp-seek {
  position: relative;
  flex: 1;
  height: 38px;
  min-width: 60px;
}
.fp-track {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 4px;
  margin-top: -2px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.18);
  overflow: hidden;
  transition: height 0.2s var(--ease), margin-top 0.2s var(--ease);
}
.fp-seek:hover .fp-track {
  height: 6px;
  margin-top: -3px;
}
.fp-buf,
.fp-done {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  border-radius: inherit;
}
.fp-buf {
  background: rgba(255, 255, 255, 0.22);
}
.fp-done {
  background: #fff;
}
.fp-ui input[type="range"] {
  appearance: none;
  -webkit-appearance: none;
  margin: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
}
.fp-seek input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.fp-ui input[type="range"]::-webkit-slider-runnable-track {
  height: 100%;
  background: transparent;
}
.fp-ui input[type="range"]::-moz-range-track {
  background: transparent;
}
.fp-ui input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
  margin-top: 12px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
  transform: scale(0);
  transition: transform 0.2s var(--spring);
}
.fp-ui input[type="range"]::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
  transform: scale(0);
  transition: transform 0.2s var(--spring);
}
.fp-seek:hover input::-webkit-slider-thumb,
.fp-seek input:focus-visible::-webkit-slider-thumb,
.fp-seek input:active::-webkit-slider-thumb {
  transform: scale(1);
}
.fp-seek:hover input::-moz-range-thumb,
.fp-seek input:focus-visible::-moz-range-thumb,
.fp-seek input:active::-moz-range-thumb {
  transform: scale(1);
}
.fp-tip {
  position: absolute;
  left: 0;
  bottom: 40px;
  padding: 5px 8px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.72);
  font: 600 12px/1 var(--f);
  font-variant-numeric: tabular-nums;
  transform: translateX(-50%) translateY(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s, transform 0.2s var(--ease);
}
.fp-seek:hover .fp-tip {
  opacity: 1;
  transform: translateX(-50%);
}

/* Volume: the slider slides out from the speaker on hover */
.fp-vol {
  flex: none;
  display: flex;
  align-items: center;
}
.fp-vol input {
  width: 0;
  height: 38px;
  opacity: 0;
  --p: 100%;
  transition: width 0.3s var(--ease), opacity 0.2s, margin 0.3s var(--ease);
}
.fp-vol:hover input,
.fp-vol input:focus-visible {
  width: 76px;
  margin: 0 8px 0 2px;
  opacity: 1;
}
.fp-ui .fp-vol input[type="range"]::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, #fff var(--p), rgba(255, 255, 255, 0.22) var(--p));
}
.fp-ui .fp-vol input[type="range"]::-moz-range-track {
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, #fff var(--p), rgba(255, 255, 255, 0.22) var(--p));
}
.fp-ui .fp-vol input[type="range"]::-webkit-slider-thumb {
  margin-top: -5px;
  transform: scale(1);
  width: 12px;
  height: 12px;
}
.fp-ui .fp-vol input[type="range"]::-moz-range-thumb {
  transform: scale(1);
  width: 12px;
  height: 12px;
}
/* Touch screens have a volume rocker, and no hover to reveal the slider. */
@media (hover: none) {
  .fp-vol input {
    display: none;
  }
}

/* Full screen: the frame fills it, the picture letterboxes. */
.film-frame:fullscreen {
  max-width: none;
  border-radius: 0;
  display: grid;
  place-items: center;
}
.film-frame:fullscreen video {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: contain;
}
.film-frame:-webkit-full-screen {
  max-width: none;
  border-radius: 0;
}
.film-frame:-webkit-full-screen video {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: contain;
}
[data-full] .fp-bar {
  left: 50%;
  right: auto;
  width: min(880px, 100% - 48px);
  bottom: 28px;
  transform: translateX(-50%);
}
.fp-on[data-full][data-idle] .fp-bar {
  transform: translateX(-50%) translateY(12px);
}

@media (max-width: 640px) {
  .film-frame {
    border-radius: 16px;
  }
  .fp-disc {
    width: 72px;
    height: 72px;
  }
  .fp-disc svg {
    width: 30px;
    height: 30px;
  }
  .fp-label {
    display: none;
  }
  [data-state="paused"] .fp-disc {
    width: 60px;
    height: 60px;
  }
  /* A small frame has room for one thing at the end: the replay button. */
  [data-state="ended"] .fp-bar {
    opacity: 0;
    pointer-events: none;
  }
  .fp-bar {
    left: 8px;
    right: 8px;
    bottom: 8px;
    height: 44px;
    padding: 0 4px;
    border-radius: 14px;
    gap: 2px;
  }
  .fp-btn {
    width: 34px;
    height: 34px;
  }
  .fp-of,
  [data-fp="dur"] {
    display: none;
  }
}

/* ------------------------------------------------------------------ inside the app */
.shots {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.shot {
  margin: 0;
  padding: 10px 10px 18px;
  overflow: hidden;
}
.shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 0 0 1px var(--hair);
}
.shot figcaption {
  margin: 14px 8px 0;
  font-size: 15px;
  line-height: 1.45;
  color: var(--mid);
}
.shot figcaption b {
  color: var(--ink);
  font-weight: 600;
}
@media (max-width: 760px) {
  .shots {
    grid-template-columns: 1fr;
  }
}
