@font-face { font-family: "Instrument Sans"; src: url(/motion/fonts/InstrumentSans-Regular.woff) format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url(/motion/fonts/InstrumentSans-Bold.woff) format("woff"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url(/motion/fonts/IBMPlexMono-Regular.woff) format("woff"); font-weight: 400; font-display: swap; }

:root {
  --k-bg: #0E0F0E; --k-line: #262826; --k-ink: #ECEAE4; --k-ink-2: #A3A39C; --k-ink-3: #6E6E68;
  --k-accent: #9BE3B8;
  --k-sans: "Instrument Sans", system-ui, sans-serif; --k-mono: "Plex Mono", ui-monospace, monospace;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; }
body.kit { background: var(--k-bg); color: var(--k-ink); font-family: var(--k-sans); overflow: hidden; }
.kit button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }

.k-stage { position: fixed; inset: 0; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.k-side { padding: 0 48px; align-self: center; }
.k-side.left { justify-self: end; width: 410px; }
.k-side.right { justify-self: start; width: 360px; }
.k-eyebrow { font-family: var(--k-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--k-ink-3); }
.k-side h1 { font-weight: 400; font-size: 34px; line-height: 1.1; margin: 14px 0 16px; letter-spacing: -.01em; }
.k-side p { color: var(--k-ink-2); font-size: 15px; line-height: 1.6; margin: 0 0 12px; }
.k-tries { list-style: none; padding: 0; margin: 22px 0 0; border-top: 1px solid var(--k-line); }
.k-tries li { border-bottom: 1px solid var(--k-line); padding: 12px 0; font-size: 14px; display: flex; gap: 12px; }
.k-tries li span { font-family: var(--k-mono); font-size: 11px; color: var(--k-accent); padding-top: 2px; }
.k-links { margin-top: 26px; display: flex; gap: 22px; flex-wrap: wrap; }
.k-links a { font-family: var(--k-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--k-ink-2); text-decoration: none; border-bottom: 1px solid var(--k-ink-3); padding-bottom: 3px; }
.k-links a:hover { color: var(--k-ink); }
.k-caption { font-family: var(--k-mono); font-size: 12px; line-height: 1.7; letter-spacing: .04em; color: var(--k-ink-2); min-height: 6em; }
.k-caption b { display: block; color: var(--k-accent); font-weight: 400; letter-spacing: .14em; text-transform: uppercase; font-size: 11px; margin-bottom: 8px; }
.k-legal { position: fixed; left: 24px; bottom: 18px; font-family: var(--k-mono); font-size: 10px; color: var(--k-ink-3); letter-spacing: .08em; }
.k-replay { margin-top: 18px; font-family: var(--k-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--k-accent) !important; border-bottom: 1px solid currentColor !important; padding-bottom: 3px !important; }

/* phone */
.k-device { position: relative; width: calc(var(--w) * var(--s) * 1px); height: calc(var(--h) * var(--s) * 1px); }
.k-frame { position: absolute; left: 0; top: 0; width: calc(var(--w) * 1px); height: calc(var(--h) * 1px); transform: scale(var(--s)); transform-origin: 0 0; }
.k-frame.phone { border-radius: 62px; background: #050506; padding: 8px; box-shadow: 0 0 0 1.5px #2C2E2C, 0 60px 120px -40px rgba(0,0,0,.8); }
.k-frame.phone .k-screen { width: 390px; height: 844px; border-radius: 54px; }
.k-screen { position: relative; overflow: hidden; isolation: isolate; }
.k-island { position: absolute; top: 11px; left: 50%; width: 120px; height: 35px; margin-left: -60px; border-radius: 20px; background: #000; z-index: 60; }

/* browser */
.k-frame.browser { border-radius: 14px; background: #1B1C1B; box-shadow: 0 0 0 1px #2E302E, 0 50px 120px -40px rgba(0,0,0,.8); overflow: hidden; }
.k-chrome { height: 40px; display: flex; align-items: center; gap: 8px; padding: 0 16px; background: #1B1C1B; }
.k-chrome i { width: 11px; height: 11px; border-radius: 50%; background: #3A3C3A; }
.k-chrome .url { margin-left: 18px; flex: 1; max-width: 420px; height: 24px; border-radius: 7px; background: #262826; color: #9A9A94; font: 12px var(--k-sans); display: flex; align-items: center; padding: 0 12px; }
.k-frame.browser .k-screen { width: 100%; height: calc(100% - 40px); }

/* pointers (recording only) */
.kit-finger, .kit-cursor { position: absolute; z-index: 999; pointer-events: none; opacity: 0; }
.kit-finger { width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; background: rgba(120,120,120,.38); border: 1.5px solid rgba(255,255,255,.65); transform: scale(var(--ps, 1)); }
.kit-cursor { margin: -3px 0 0 -5px; transform: scale(var(--ps, 1)); transform-origin: 5px 3px; filter: drop-shadow(0 2px 3px rgba(0,0,0,.3)); }

/* video composition: title and a live caption on the left, the product on the right */
.k-rec-caption { display: none; border-top: 1px solid var(--k-line); padding-top: 22px; font-size: 21px; line-height: 1.5; color: var(--k-ink-2); min-height: 6.5em; }
.k-rec-caption b { display: block; font-family: var(--k-mono); font-weight: 400; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--k-accent); margin-bottom: 12px; }
.recording .k-stage { grid-template-columns: 1fr auto; gap: 0; }
.recording .k-side.right, .recording .k-tries, .recording .k-links, .recording .k-side.left > p { display: none; }
.recording .k-side.left { justify-self: end; width: 620px; padding: 0 96px 0 40px; }
.recording.desk .k-side.left { width: 520px; padding: 0 56px 0 40px; }
.recording .k-side h1 { font-size: 50px; margin-bottom: 38px; }
.recording.desk .k-side h1 { font-size: 42px; }
.recording .k-eyebrow { font-size: 14px; }
.recording .k-rec-caption { display: block; }
.recording.desk .k-rec-caption { font-size: 19px; }
.recording .k-device { justify-self: start; margin-right: 40px; }
.recording .k-legal { left: auto; right: 28px; }
.recording:not(.desk) .k-device { margin-right: 300px; }

@media (max-width: 1180px) { .k-side.right { display: none; } .k-stage { grid-template-columns: 1fr auto; } }
@media (max-width: 900px) {
  .k-stage { grid-template-columns: 1fr; }
  .k-side { display: none; }
  .k-device { margin: 0 auto; }
  .k-legal { display: none; }
}
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Controls that are always reachable: back and start over */
.k-bar { position: fixed; top: max(14px, env(safe-area-inset-top)); right: 16px; z-index: 1000; display: flex; gap: 8px; }
.k-bar .k-bar-btn { font: 500 12px/1 "Plex Mono", ui-monospace, monospace !important; }
.k-bar-btn { font: 500 12px/1 "Plex Mono", ui-monospace, monospace; letter-spacing: .06em; color: #ECEAE4 !important; text-decoration: none; background: rgba(30,32,30,.86); border: 1px solid #333633 !important; border-radius: 99px; padding: 9px 13px !important; cursor: pointer; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.k-bar-btn:hover { background: #2A2D2A; }
.k-bar-btn:focus-visible { outline: 2px solid var(--k-accent, #9BE3B8); outline-offset: 2px; }
.k-wide-note { display: none; position: fixed; left: 16px; right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); margin: 0; font: 13px/1.5 "Instrument Sans", system-ui, sans-serif; color: #A3A39C; text-align: center; }
@media (max-width: 900px) {
  .k-wide-note { display: block; }
  body:not(.recording) .k-stage, body:not(.recording) .stage { top: 60px; bottom: 92px; }
  .k-bar { left: 16px; right: 16px; justify-content: space-between; }
}
/* Safari: make the rounded screen clip its moving layers, so nothing outside it shows through */
.k-screen, .screen { -webkit-mask-image: -webkit-radial-gradient(white, black); }

/* A drag on the product must never turn into an iOS text selection (the grey handle and the
   Copy / Look Up menu). Only real text fields stay selectable. */
.k-stage, .stage, .k-device, .device { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.k-stage input, .k-stage textarea, .stage input, .stage textarea { -webkit-user-select: text; user-select: text; -webkit-touch-callout: default; }
