:root {
  color-scheme: light;
  --bg: #fafafa;
  --bg-2: #f4f4f5;
  --panel: #fff;
  --fg: #18181b;
  --muted: #6b6b73;
  --faint: #a1a1aa;
  --line: #e4e4e7;
  --on-fg: #fff;
  --brand: #6d4cff;
  --brand-ink: #5f3ef5;
  --brand-soft: #ede9fe;
  --blue: #2563eb;
  --blue-soft: #dbeafe;
  --green: #16a34a;
  --red: #dc2626;
  --nav-bg: rgba(250, 250, 250, 0.78);
  --shadow: 0 1px 2px rgba(24, 24, 27, 0.05), 0 30px 80px -30px rgba(24, 24, 27, 0.25);
  --font: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', system-ui, sans-serif;
  --mono: ui-monospace, 'SF Mono', Menlo, monospace;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
}
:root[data-theme='dark'] {
  color-scheme: dark;
  --bg: #09090b;
  --bg-2: #18181b;
  --panel: #18181b;
  --fg: #f4f4f5;
  --muted: #a1a1aa;
  --faint: #71717a;
  --line: rgba(63, 63, 70, 0.6);
  --on-fg: #09090b;
  --brand: #9b85ff;
  --brand-ink: #9b85ff;
  --brand-soft: rgba(124, 92, 255, 0.18);
  --blue: #60a5fa;
  --blue-soft: rgba(30, 58, 138, 0.4);
  --green: #4ade80;
  --red: #f87171;
  --nav-bg: rgba(9, 9, 11, 0.72);
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 30px 80px -30px rgba(0, 0, 0, 0.9);
}
* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
:where(a, button, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}
html {
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}
body {
  overflow-x: clip;
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 17px/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
body > main {
  flex: 1;
}
a {
  color: inherit;
  text-decoration: none;
}
img,
video {
  display: block;
  max-width: 100%;
}
.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
kbd {
  font: 600 11px var(--mono);
  padding: 1px 6px;
  border-radius: 5px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-bottom-width: 2px;
  color: var(--fg);
}
svg.lucide {
  width: 16px;
  height: 16px;
  flex: none;
}

/* Nav: full width at the top, floating bar once scrolled */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  transition: padding 0.25s var(--ease-out);
}
.nav .bar {
  display: flex;
  align-items: center;
  gap: 26px;
  height: 60px;
  margin: 0 auto;
  max-width: 100%;
  padding: 0 max(24px, calc((100% - 1152px) / 2));
  background: var(--nav-bg);
  backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  transition:
    max-width 0.25s var(--ease-out),
    padding 0.25s var(--ease-out),
    border-radius 0.25s var(--ease-out),
    height 0.25s var(--ease-out),
    box-shadow 0.25s var(--ease-out);
}
.nav.scrolled {
  padding: 12px 24px 0;
}
.nav.scrolled .bar {
  max-width: 1152px;
  height: 52px;
  padding: 0 8px 0 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
}
.nav .brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 650;
  margin-right: auto;
}
.nav .brand {
  gap: 0;
}
.nav .brand img {
  width: 0;
  height: 26px;
  margin-right: 0;
  opacity: 0;
  scale: 0.8;
  transition:
    width 0.25s var(--ease-out),
    margin 0.25s var(--ease-out),
    opacity 0.25s var(--ease-out),
    scale 0.25s var(--ease-out);
}
.nav.scrolled .brand img {
  width: 26px;
  margin-right: 10px;
  opacity: 1;
  scale: 1;
}
.nav .l {
  color: var(--muted);
}
@media (hover: hover) and (pointer: fine) {
  .nav .l:hover {
    color: var(--fg);
  }
}

.switch {
  position: relative;
  width: 52px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg-2);
  cursor: pointer;
  padding: 0;
  flex: none;
}
.switch .ico {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: var(--faint);
  display: grid;
}
.switch .ico svg {
  width: 13px;
  height: 13px;
}
.switch .sun {
  left: 7px;
}
.switch .moon {
  right: 7px;
}
.switch .knob {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--panel);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  transition:
    transform 0.25s cubic-bezier(0.3, 1.4, 0.5, 1),
    width 0.16s var(--ease-out);
  display: grid;
  place-items: center;
  color: var(--fg);
}
.switch .knob svg {
  width: 13px;
  height: 13px;
}
.switch .knob > span {
  display: grid;
}
.switch .knob .k-moon {
  display: none;
}
.switch[aria-checked='true'] .knob {
  transform: translateX(24px);
}
.switch:active .knob {
  width: 26px;
}
.switch[aria-checked='true']:active .knob {
  transform: translateX(20px);
}
.switch[aria-checked='true'] .knob .k-sun {
  display: none;
}
.switch[aria-checked='true'] .knob .k-moon {
  display: grid;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 10px;
  padding: 9px 16px;
  font-weight: 600;
  font-size: 14px;
  background: var(--fg);
  color: var(--on-fg);
  border: 0;
  cursor: pointer;
  transition:
    transform 0.16s var(--ease-out),
    scale 0.16s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .btn:hover {
    transform: translateY(-1px);
  }
}
.btn:active,
.play-btn:active,
.lb-btn:active,
.watch:active,
.react-pill:active,
.react-btn:active {
  scale: 0.97;
}
.tile:active,
.platforms a:active {
  scale: 0.98;
}
.btn.lg {
  padding: 14px 24px;
  font-size: 16px;
  border-radius: 12px;
  background: #6d4cff;
  color: #fff;
}
.btn.outline {
  background: var(--panel);
  color: var(--fg);
  border: 1px solid var(--line);
  box-shadow: none;
}

/* Hero */
@keyframes hero-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}
.hero .new,
.hero .icon,
.hero h1,
.hero .lead,
.hero .ctas,
.hero .stage {
  animation: hero-in 0.4s var(--ease-out) backwards;
}
.hero .icon {
  animation-delay: 50ms;
}
.hero h1 {
  animation-delay: 100ms;
}
.hero .lead {
  animation-delay: 150ms;
}
.hero .ctas {
  animation-delay: 200ms;
}
.hero .stage {
  animation-delay: 250ms;
}
.hero {
  position: relative;
  text-align: center;
  padding: 70px 0 0;
  overflow-x: clip;
}
.hero > .wrap {
  position: relative;
}
.new {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  padding: 5px 12px 5px 6px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--panel);
  margin-bottom: 26px;
}
.new[data-released]:not(.on) {
  visibility: hidden;
}
.new .more {
  color: var(--muted);
}
.new b {
  font: 600 11px var(--mono);
  color: var(--brand-ink);
  background: var(--brand-soft);
  padding: 2px 7px;
  border-radius: 999px;
}
@media (hover: hover) and (pointer: fine) {
  .new:hover {
    color: var(--fg);
  }
}
.hero .icon {
  width: 179px;
  height: 179px;
  margin: 0 auto 22px;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.14));
}
.hero h1 {
  margin: 0;
  font-size: clamp(52px, 9vw, 116px);
  line-height: 0.95;
  letter-spacing: -0.05em;
  font-weight: 700;
}
.accent {
  color: var(--brand);
}
.hero .lead {
  max-width: 620px;
  margin: 24px auto 32px;
  color: var(--muted);
  font-size: 21px;
}
.ctas {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.stage {
  position: relative;
  max-width: 1000px;
  margin: 56px auto 0;
}
.poster {
  display: block;
  width: 100%;
  height: auto;
}
.play-btn {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px 10px 10px;
  border-radius: 999px;
  border: 0;
  background: var(--fg);
  color: var(--on-fg);
  font: 600 15px var(--font);
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  transition:
    transform 0.16s var(--ease-out),
    scale 0.16s var(--ease-out);
}
.play-btn {
  white-space: nowrap;
}
@media (hover: hover) and (pointer: fine) {
  .play-btn:hover {
    transform: translate(-50%, -50%) scale(1.04);
  }
}
.play-btn .play {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--brand);
  display: grid;
  place-items: center;
}
.play-btn .play::after {
  content: '';
  border-left: 13px solid #fff;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  margin-left: 3px;
}

/* Sections */
section {
  padding: 120px 0 0;
}
.kicker {
  font: 600 12px/1 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}
h2 {
  margin: 0 0 18px;
  font-size: clamp(36px, 5vw, 62px);
  line-height: 1.02;
  letter-spacing: -0.04em;
}
h2 .dim {
  color: var(--muted);
}

.thread {
  position: relative;
}
.why-stamp {
  position: absolute;
  z-index: 1;
  left: calc(100% - 72px);
  bottom: -70px;
  color: var(--green);
  opacity: 0;
  transform: rotate(27deg);
  pointer-events: none;
}
.why-stamp.in {
  animation: why-stamp 0.9s cubic-bezier(0.2, 0.8, 0.3, 1) forwards;
}
@keyframes why-stamp {
  0% {
    opacity: 0;
    transform: rotate(14deg) scale(2.6);
  }
  40% {
    opacity: 1;
    transform: rotate(27deg) scale(0.92);
  }
  55%,
  100% {
    opacity: 0.9;
    transform: rotate(27deg) scale(1);
  }
}
@media (prefers-reduced-motion: reduce) {
  .why-stamp.in {
    animation: none;
    opacity: 0.9;
  }
}
@media (max-width: 1180px) {
  .why-stamp {
    display: none;
  }
}
.thread {
  margin: 48px auto 0;
  max-width: 760px;
}
#why h2 {
  text-align: center;
}
.cmt {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 20px 18px;
  transition:
    border-color 0.25s,
    box-shadow 0.25s,
    transform 0.25s;
}
.cmt header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  margin-bottom: 10px;
}
@media (hover: hover) and (pointer: fine) {
  .cmt header .name:hover b {
    text-decoration: underline;
  }
}
.cmt .avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--line);
  object-fit: cover;
}
.cmt .role {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 1px 8px 1px 2px;
}
.cmt .role svg {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #16a34a;
}
.cmt p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}
.cmt > p:first-of-type:not(:only-of-type) {
  margin-top: 0;
}
.thread > .cmt p {
  color: var(--fg);
}
.cmt p + p {
  margin-top: 12px;
}
.reactions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
}
.react-pills {
  display: contents;
}
.react-pill,
.react-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-2);
  color: var(--muted);
  font-size: 13px;
  cursor: pointer;
  transition: scale 0.16s var(--ease-out);
}
.react-pill {
  padding: 2px 9px;
}
.react-pill.mine {
  background: rgba(59, 130, 246, 0.12);
  border-color: #93c5fd;
}
.react-menu button.mine {
  background: rgba(59, 130, 246, 0.12);
}
.react-btn {
  width: 26px;
  height: 26px;
  justify-content: center;
  background: transparent;
  color: var(--muted);
}
.react-btn svg {
  width: 16px;
  height: 16px;
}
@media (hover: hover) and (pointer: fine) {
  .react-pill:hover,
  .react-btn:hover {
    border-color: var(--muted);
    color: var(--fg);
  }
}
.react-add {
  position: relative;
}
.react-menu {
  position: absolute;
  z-index: 15;
  bottom: calc(100% + 6px);
  left: 0;
  display: flex;
  gap: 2px;
  padding: 6px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(4px) scale(0.97);
  transform-origin: bottom left;
  pointer-events: none;
  transition:
    opacity 0.18s var(--ease-out),
    transform 0.18s var(--ease-out);
}
@media (max-width: 560px) {
  .reactions {
    position: relative;
  }
  .react-add {
    position: static;
  }
}
.react-add.open .react-menu {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.react-menu button {
  font-size: 18px;
  padding: 3px 5px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
}
.react-menu button.mine {
  background: var(--bg-2);
}
@media (hover: hover) and (pointer: fine) {
  .react-menu button:hover {
    background: var(--bg-2);
  }
}

/* Feature grid: medium tiles span two columns, small ones one; click opens the feature modal */
.grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 270px;
  grid-auto-flow: dense;
  gap: 14px;
  margin-top: 48px;
}
.tile {
  position: relative;
  background: var(--panel);
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  min-width: 0;
  outline: none;
  cursor: pointer;
  transition:
    border-color 0.25s var(--ease-out),
    box-shadow 0.25s var(--ease-out),
    transform 0.25s var(--ease-out),
    scale 0.16s var(--ease-out);
}
.tile.medium {
  grid-column: span 2;
}
.tile .shot {
  flex: 1;
  min-height: 0;
  padding: 18px 18px 0;
}
.tile .shot img,
.tile .shot video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left top;
  border-radius: 10px 10px 0 0;
  border: 1px solid var(--line);
  border-bottom: 0;
  transition: transform 0.25s var(--ease-out);
  transform-origin: center top;
}
.tile .shot img[data-shot$='.svg'] {
  object-fit: contain;
  object-position: center;
}
.tile .label {
  text-align: center;
  padding: 14px 18px 18px;
  text-wrap: balance;
}
.tile .label b {
  display: block;
  font-size: 17px;
  letter-spacing: -0.01em;
}
.tile .tagline {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.25s var(--ease-in-out);
}
.tile .tagline small {
  overflow: hidden;
  color: var(--muted);
  font-weight: 500;
  font-size: 13px;
}
.tile .tagline small::before {
  content: '';
  display: block;
  height: 3px;
}
.tile:focus-visible {
  border-color: color-mix(in srgb, var(--brand) 45%, var(--line));
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.tile:focus-visible .tagline {
  grid-template-rows: 1fr;
}
.tile:focus-visible .shot img,
.tile:focus-visible .shot video {
  transform: scale(1.03);
}
@media (hover: hover) and (pointer: fine) {
  .tile:hover {
    border-color: color-mix(in srgb, var(--brand) 45%, var(--line));
    box-shadow: var(--shadow);
    transform: translateY(-2px);
  }
  .tile:hover .tagline {
    grid-template-rows: 1fr;
  }
  .tile:hover .shot img,
  .tile:hover .shot video {
    transform: scale(1.03);
  }
}

/* Feature modal and video modal */
.lb {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  border: 0;
  display: none;
  place-items: center;
  padding: 24px;
  background: transparent;
  color: inherit;
}
.lb[open] {
  display: grid;
}
.lb,
.video {
  transition:
    display 0.15s allow-discrete,
    overlay 0.15s allow-discrete;
}
.lb::backdrop {
  background: rgba(10, 10, 12, 0.6);
  backdrop-filter: blur(6px);
}
.lb::backdrop,
.video::backdrop {
  opacity: 0;
  transition:
    opacity 0.15s var(--ease-out),
    display 0.15s allow-discrete,
    overlay 0.15s allow-discrete;
}
.lb[open]::backdrop,
.video[open]::backdrop {
  opacity: 1;
  transition-duration: 0.25s;
}
.lb-frame,
.video {
  opacity: 0;
  scale: 0.96;
  transition:
    opacity 0.15s var(--ease-out),
    scale 0.15s var(--ease-out),
    display 0.15s allow-discrete,
    overlay 0.15s allow-discrete;
}
.lb[open] .lb-frame,
.video[open] {
  opacity: 1;
  scale: 1;
  transition-duration: 0.25s;
}
@starting-style {
  .lb[open]::backdrop,
  .video[open]::backdrop {
    opacity: 0;
  }
  .lb[open] .lb-frame,
  .video[open] {
    opacity: 0;
    scale: 0.96;
  }
}
.lb-frame {
  position: relative;
  width: min(1100px, 100% - 2 * 52px);
}
.lb-card {
  display: flex;
  max-height: calc(100vh - 48px);
  border-radius: 24px;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.lb-media {
  position: relative;
  flex: 1.7;
  min-width: 0;
  display: grid;
  place-items: center;
  padding: 28px;
  background: var(--bg-2);
  overflow: auto;
}
.lb-media img,
.lb-media video {
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--line);
}
.lb-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 10px;
  padding: 40px;
}
.lb-text b {
  font-size: 24px;
  letter-spacing: -0.02em;
}
.lb-desc {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}
.lb-desc p {
  margin: 0;
}
.lb-desc p + p {
  margin-top: 10px;
}
.lb-count {
  font: 600 12px var(--mono);
  color: var(--muted);
  letter-spacing: 0.08em;
}
.lb-btn {
  position: absolute;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--fg);
  font: inherit;
  font-size: 18px;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: scale 0.16s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .lb-btn:hover {
    border-color: color-mix(in srgb, var(--brand) 45%, var(--line));
  }
}
.lb-close {
  top: 14px;
  right: 14px;
}
.lb-prev,
.lb-next {
  top: 50%;
  transform: translateY(-50%);
}
.lb-prev {
  left: -52px;
}
.lb-next {
  right: -52px;
}
@media (max-width: 900px) {
  .lb-frame {
    width: 100%;
  }
  .lb-card {
    flex-direction: column;
    overflow: auto;
    max-height: calc(100dvh - 48px - 52px);
  }
  .lb-media {
    flex: none;
    padding: 18px;
  }
  .lb-text {
    padding: 24px;
  }
  .lb-prev,
  .lb-next {
    top: auto;
    bottom: -52px;
    transform: none;
  }
  .lb-prev {
    left: 0;
  }
  .lb-next {
    right: 0;
  }
}
@media (max-width: 640px) {
  .lb-card {
    max-height: calc(100dvh - 48px - 2 * 52px);
  }
  .lb-close {
    top: -52px;
    right: 0;
  }
}

.video {
  width: min(1100px, calc(100vw - 48px));
  max-width: none;
  padding: 0;
  border: 0;
  border-radius: 16px;
  overflow: visible;
  background: #000;
  box-shadow: var(--shadow);
}
.video::backdrop {
  background: rgba(10, 10, 12, 0.75);
  backdrop-filter: blur(6px);
}
.video-frame {
  aspect-ratio: 16/9;
  border-radius: 16px;
  overflow: hidden;
}
.video-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.video .lb-close {
  top: -52px;
  right: 0;
}

.watch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 7px 14px 7px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--fg);
  font: 600 14px var(--font);
  cursor: pointer;
  transition: scale 0.16s var(--ease-out);
}
.watch svg {
  color: var(--brand);
  fill: currentColor;
}
@media (hover: hover) and (pointer: fine) {
  .watch:hover {
    border-color: color-mix(in srgb, var(--brand) 45%, var(--line));
  }
}

.tooltip {
  position: fixed;
  z-index: 200;
  max-width: 360px;
  padding: 6px 10px;
  border-radius: 8px;
  background: #18181b;
  color: #fff;
  font-size: 12px;
  line-height: 1.4;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  pointer-events: none;
  transform-origin: bottom center;
  transition:
    opacity 0.125s var(--ease-out),
    scale 0.125s var(--ease-out);
}
.tooltip[data-below] {
  transform-origin: top center;
}
.tooltip[data-instant] {
  transition: none;
}
@starting-style {
  .tooltip {
    opacity: 0;
    scale: 0.97;
  }
}

.providers {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 18px 0;
}
.providers span {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 6px 12px 6px 6px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--panel);
  font-size: 13px;
  font-weight: 500;
}
.providers img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  border-radius: 6px;
  background: #fff;
}

.compare {
  margin-top: 36px;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: var(--panel);
}
.compare table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.compare :is(td, th) {
  padding: 14px 20px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.compare :is(td, th).rb {
  background: color-mix(in srgb, var(--brand) 6%, transparent);
  font-weight: 500;
}
.compare :is(td, th).gh {
  color: var(--muted);
}
.compare :is(td, th):nth-child(2) {
  width: 28%;
}
.compare :is(td, th):nth-child(3) {
  width: 30%;
}
.compare :is(td, th) b {
  display: block;
  font-weight: 600;
}
.compare :is(td, th) small {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  color: var(--muted);
  font-weight: 400;
}
.compare tr.grp :is(td, th) {
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  background: var(--bg-2);
}
.compare tr.grp :is(td, th).rb {
  color: var(--brand);
}
.compare-nav {
  display: none;
}
.compare tr:last-child :is(td, th) {
  border-bottom: 0;
}
.compare :is(td, th) {
  transition: background-color 0.15s;
}
@media (hover: hover) and (pointer: fine) {
  .compare tbody tr:not(.grp):hover :is(td, th) {
    background: var(--bg-2);
  }
  .compare tbody tr:not(.grp):hover :is(td, th).rb {
    background: color-mix(in srgb, var(--brand) 12%, transparent);
  }
}

.pricing {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 40px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--panel);
  transition:
    border-color 0.25s,
    box-shadow 0.25s,
    transform 0.25s;
}
@media (hover: hover) and (pointer: fine) {
  .pricing:hover {
    border-color: var(--brand);
    box-shadow:
      0 0 0 4px var(--brand-soft),
      var(--shadow);
    transform: translateY(-4px);
  }
  .pricing:hover > div + div {
    background: var(--brand-soft);
  }
}
.pricing > div {
  padding: 40px;
}
.pricing > div + div {
  border-left: 1px solid var(--line);
  border-radius: 0 21px 21px 0;
  background: var(--bg-2);
  transition: background 0.25s;
}
ul.check {
  list-style: none;
  padding: 0;
  margin: 0;
}
ul.check li {
  padding: 8px 0 8px 28px;
  position: relative;
}
ul.check li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}
.amount {
  font-size: 72px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}
.amount small {
  font-size: 19px;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0;
}

.faq {
  margin: 40px 0 0;
}
details {
  border-bottom: 1px solid var(--line);
  padding: 20px 16px;
  margin: 0 -16px;
  interpolate-size: allow-keywords;
  transition: background-color 0.15s;
}
details::details-content {
  block-size: 0;
  opacity: 0;
  overflow: clip;
  transition:
    block-size 0.25s var(--ease-in-out),
    opacity 0.25s var(--ease-in-out),
    content-visibility 0.25s allow-discrete;
}
details[open]::details-content {
  block-size: auto;
  opacity: 1;
}
@media (hover: hover) and (pointer: fine) {
  details:hover {
    background: var(--bg-2);
  }
  details:hover summary::after {
    color: var(--fg);
  }
}
details:first-child {
  border-top: 1px solid var(--line);
}
summary {
  cursor: pointer;
  font-size: 19px;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
summary::-webkit-details-marker {
  display: none;
}
summary::after {
  content: '+';
  color: var(--muted);
  font-weight: 400;
}
details[open] summary::after {
  content: '−';
}
details p {
  color: var(--muted);
  margin: 10px 0 0;
}
details code {
  font: 14px var(--mono);
  background: var(--bg-2);
  padding: 1px 5px;
  border-radius: 4px;
}

.final {
  text-align: center;
  padding-bottom: 120px;
}
.final .icon {
  width: 149px;
  height: 149px;
  margin: 0 auto 28px;
}
.final .ctas {
  margin-top: 30px;
}
.pricing-cta {
  margin-top: 28px;
}
footer {
  border-top: 1px solid var(--line);
  padding: 32px 0 56px;
  color: var(--muted);
  font-size: 13px;
}
footer .wrap {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
footer .wrap span {
  margin-right: auto;
}
footer a {
  text-decoration: underline transparent;
  text-underline-offset: 3px;
  transition:
    color 0.15s,
    text-decoration-color 0.15s;
}
@media (hover: hover) and (pointer: fine) {
  footer a:hover {
    color: var(--fg);
    text-decoration-color: currentColor;
  }
}

/* Download split button: detected platform + menu with the others */
.dl {
  position: relative;
  display: inline-flex;
}

.dl .dl-toggle {
  gap: 0;
  padding: 0;
}
.dl .lbl {
  padding: 9px 16px;
}
.dl .dl-toggle.lg .lbl {
  padding: 15px 26px;
}
.dl .chev {
  align-self: stretch;
  display: flex;
  align-items: center;
  padding: 0 16px;
  border-left: 1px solid rgba(255, 255, 255, 0.28);
}
.dl .nav-dl {
  height: 28px;
  overflow: hidden;
  white-space: nowrap;
  max-width: 0;
  opacity: 0;
  pointer-events: none;
  transition:
    max-width 0.25s var(--ease-out),
    opacity 0.2s var(--ease-out),
    scale 0.16s var(--ease-out);
}
.nav .dl {
  margin-left: -26px;
  transition: margin 0.25s var(--ease-out);
}
.nav.scrolled .dl {
  margin-left: 0;
}
.nav.scrolled .nav-dl {
  max-width: 140px;
  opacity: 1;
  pointer-events: auto;
}
.dl .chev svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s;
}
.dl.open .chev svg {
  transform: rotate(180deg);
}
.dl-menu {
  position: absolute;
  z-index: 15;
  top: calc(100% + 6px);
  left: 0;
  min-width: 100%;
  padding: 6px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
  text-align: left;
  opacity: 0;
  transform: translateY(-4px) scale(0.97);
  transform-origin: top left;
  pointer-events: none;
  transition:
    opacity 0.18s var(--ease-out),
    transform 0.18s var(--ease-out);
}
.dl.end .dl-menu {
  left: auto;
  right: 0;
  transform-origin: top right;
}
.dl.open .dl-menu {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.dl-menu a {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 14px;
  white-space: nowrap;
}
.dl-menu a span {
  color: var(--muted);
}
.dl-menu a:focus-visible {
  background: var(--bg-2);
}
@media (hover: hover) and (pointer: fine) {
  .dl-menu a:hover {
    background: var(--bg-2);
  }
}

/* Features: the list on the left sticks while its sections scroll by on the right */
.fscroll {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 48px;
  margin-top: 48px;
}
.fnav-list {
  position: sticky;
  top: 96px;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.fnav-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 11px 16px;
  border-radius: 14px;
  border: 1px solid transparent;
  color: var(--fg);
  text-decoration: none;
  transition:
    background 0.2s,
    border-color 0.2s,
    box-shadow 0.2s,
    scale 0.16s var(--ease-out);
}
.fnav-item svg.lucide {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  color: var(--muted);
  transition: color 0.2s;
}
.fnav-item span {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.fnav-item b {
  font-size: 15px;
  font-weight: 600;
}
.fnav-item small {
  color: var(--muted);
  font-size: 14px;
}
@media (hover: hover) and (pointer: fine) {
  .fnav-item:hover {
    background: var(--panel);
  }
}
.fnav-item:active {
  scale: 0.98;
}
.fnav-item.on {
  background: var(--panel);
  border-color: var(--line);
  box-shadow: var(--shadow);
}
.fnav-item.on svg.lucide {
  color: var(--brand);
}
.fsections {
  padding-top: 6px;
}
.fsection + .fsection {
  padding-top: 120px;
  scroll-margin-top: -88px;
}
.fsection h3 {
  margin: 0;
  font-size: 26px;
  letter-spacing: -0.02em;
}
.fsection h3 svg.lucide {
  display: none;
}
.fdesc {
  max-width: 64ch;
  margin-top: 24px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}
.fdesc p {
  margin: 0;
}
.fdesc p + p,
.fdesc .providers {
  margin-top: 12px;
}
.fdesc code,
.lb-desc code {
  font: 13px var(--mono);
  background: var(--bg-2);
  padding: 1px 4px;
  border-radius: 4px;
}
.fdesc a,
.lb-desc a {
  color: var(--fg);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: text-decoration-color 0.15s;
}
@media (hover: hover) and (pointer: fine) {
  .fdesc a:hover,
  .lb-desc a:hover {
    text-decoration-color: transparent;
  }
}
.fpreview {
  margin-top: 20px;
  padding: 22px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: var(--bg-2);
  box-shadow: var(--shadow);
}
.fpreview img,
.fpreview video {
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--line);
}
.fpreview video {
  display: block;
  cursor: pointer;
}
[data-shot][data-loading] {
  background: linear-gradient(100deg, var(--bg-2) 30%, var(--line) 50%, var(--bg-2) 70%) 0 0 / 300% 100%;
  animation: shot-loading 1.4s linear infinite;
}
@keyframes shot-loading {
  from {
    background-position: 100% 0;
  }
  to {
    background-position: 0 0;
  }
}
/* Touch screens get no bar; a tap opens the full-screen viewer instead. Hover devices show
   the controls in the card's bottom padding, below the video, while the card is hovered. */
.fpreview {
  position: relative;
}
.fbar {
  display: none;
}
@media (hover: hover) and (pointer: fine) {
  .fbar {
    position: absolute;
    right: 22px;
    bottom: 2px;
    left: 22px;
    display: flex;
    align-items: center;
    gap: 8px;
    height: 18px;
    opacity: 0;
    transition: opacity 0.15s;
  }
  .fpreview:hover .fbar,
  .fbar:has(:focus-visible) {
    opacity: 1;
  }
  .fbar-play {
    display: grid;
    flex-shrink: 0;
    place-items: center;
    width: 18px;
    height: 18px;
    padding: 0;
    border: 0;
    color: var(--muted);
    background: none;
    cursor: pointer;
  }
  .fbar-play:hover {
    color: var(--fg);
  }
  .fbar-play svg {
    width: 10px;
    height: 10px;
  }
  .fbar-time {
    flex: 1;
    height: 18px;
    margin: 0;
    padding: 7px 0;
    box-sizing: border-box;
    background: none;
    cursor: pointer;
    appearance: none;
  }
  .fbar-time::-webkit-slider-runnable-track {
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(to right, var(--fg) var(--progress, 0%), var(--line) var(--progress, 0%));
  }
  .fbar-time::-moz-range-track {
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(to right, var(--fg) var(--progress, 0%), var(--line) var(--progress, 0%));
  }
  .fbar-time::-webkit-slider-thumb {
    width: 10px;
    height: 10px;
    margin-top: -4px;
    border-radius: 50%;
    background: var(--fg);
    appearance: none;
  }
  .fbar-time::-moz-range-thumb {
    width: 10px;
    height: 10px;
    border: 0;
    border-radius: 50%;
    background: var(--fg);
  }
}

/* The touch-screen video player: the video fills the screen above a bar, and pinch zoom moves it with a
   transform from its top-left corner. */
.mplayer-open {
  overflow: hidden;
}
.mplayer {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  color: #fff;
  background: #000;
}
.mplayer[open] {
  display: flex;
  flex-direction: column;
}
.mplayer::backdrop {
  background: #000;
}
.mplayer-stage {
  position: relative;
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  min-height: 0;
  overflow: hidden;
  touch-action: none;
}
.mplayer-media {
  transform-origin: 0 0;
  will-change: transform;
}
.mplayer-media video,
.mplayer-media img {
  display: block;
  max-width: 100vw;
  max-height: calc(100dvh - 72px - env(safe-area-inset-bottom));
  border-radius: 0;
}
.mplayer-close {
  position: absolute;
  top: calc(12px + env(safe-area-inset-top));
  right: calc(12px + env(safe-area-inset-right));
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
}
.mplayer-close svg {
  width: 20px;
  height: 20px;
}
.mplayer .fbar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px calc(16px + env(safe-area-inset-right)) calc(16px + env(safe-area-inset-bottom))
    calc(16px + env(safe-area-inset-left));
}
.mplayer .fbar-play {
  display: grid;
  flex-shrink: 0;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
}
.mplayer .fbar-play svg {
  width: 18px;
  height: 18px;
}
.mplayer .fbar-time {
  flex: 1;
  height: 32px;
  margin: 0;
  background: none;
  appearance: none;
}
.mplayer .fbar-time::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(to right, #fff var(--progress, 0%), rgba(255, 255, 255, 0.3) var(--progress, 0%));
}
.mplayer .fbar-time::-moz-range-track {
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(to right, #fff var(--progress, 0%), rgba(255, 255, 255, 0.3) var(--progress, 0%));
}
.mplayer .fbar-time::-webkit-slider-thumb {
  width: 18px;
  height: 18px;
  margin-top: -7px;
  border-radius: 50%;
  background: #fff;
  appearance: none;
}
.mplayer .fbar-time::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border: 0;
  border-radius: 50%;
  background: #fff;
}

/* Touch screens: a badge on each screenshot says a tap opens it full screen, and the lightbox shot is
   pinched in place, so it must not scroll. */
.zoom-badge {
  display: none;
}
@media not all and (hover: hover) and (pointer: fine) {
  .zoom-badge {
    position: absolute;
    top: 30px;
    right: 30px;
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: #fff;
    background: rgba(9, 9, 11, 0.55);
    backdrop-filter: blur(4px);
    opacity: 0.45;
  }
  .zoom-badge svg {
    width: 16px;
    height: 16px;
  }
  .stage .zoom-badge {
    top: 10px;
    right: 10px;
  }
  .lb-media {
    overflow: hidden;
  }
}

/* Release notes */
.notes {
  padding-top: 80px;
  padding-bottom: 120px;
}
.notes h1 {
  margin: 0 0 56px;
  font-size: clamp(44px, 6vw, 76px);
  line-height: 1;
  letter-spacing: -0.045em;
}
.release {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 32px;
  padding: 36px 0;
  border-top: 1px solid var(--line);
}
.release header {
  align-self: start;
  position: sticky;
  top: 96px;
}
.release h2 {
  margin: 0 0 4px;
  font-size: 26px;
  letter-spacing: -0.02em;
}
.release time {
  color: var(--muted);
  font-size: 14px;
}
.release ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.release li {
  display: flex;
  gap: 12px;
  align-items: baseline;
}
.release code {
  font: 14px var(--mono);
  background: var(--bg-2);
  padding: 1px 5px;
  border-radius: 4px;
}
.kind {
  flex: none;
  width: 64px;
  text-align: center;
  padding: 2px 0;
  border-radius: 999px;
  font: 600 11px var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  background: var(--bg-2);
}
.kind.feature {
  color: var(--brand);
  background: var(--brand-soft);
}
.kind.fix {
  color: var(--green);
  background: color-mix(in srgb, var(--green) 14%, transparent);
}
.kind.ui {
  color: var(--blue);
  background: var(--blue-soft);
}
.subhead {
  margin: 110px 0 0;
  font-size: clamp(26px, 3vw, 36px);
  letter-spacing: -0.03em;
}
.subhead + .grid {
  margin-top: 28px;
}

@media (max-width: 900px) {
  .pricing,
  .fscroll {
    grid-template-columns: 1fr;
  }
  .fnav-list {
    display: none;
  }
  .fsection + .fsection {
    padding-top: 64px;
  }
  .fdesc {
    margin-top: 16px;
  }
  .fsection h3 {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .fsection h3 svg.lucide {
    display: block;
    flex: none;
    width: 24px;
    height: 24px;
  }
  .fpreview {
    margin-top: 16px;
    padding: 0;
    border: 0;
    background: none;
    box-shadow: none;
  }
  .fpreview .zoom-badge {
    top: 8px;
    right: 8px;
  }
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .release {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .release header {
    position: static;
  }
  .pricing > div + div {
    border-left: 0;
    border-top: 1px solid var(--line);
    border-radius: 0 0 21px 21px;
  }
  .nav .l {
    display: none;
  }
}
@media (max-width: 560px) {
  footer .wrap span {
    order: 1;
    width: 100%;
    margin-right: 0;
  }
  .pricing > div:first-child {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 240px;
  }
  .tile.medium {
    grid-column: auto;
  }
  .compare {
    margin-top: 28px;
    border: 0;
    border-radius: 0;
    overflow: visible;
    background: none;
  }
  .compare table,
  .compare tr,
  .compare :is(td, th) {
    display: block;
    width: auto !important;
  }
  .compare tbody {
    display: flex;
    gap: 12px;
    margin: 0 -16px;
    padding: 0 10vw;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .compare tbody::-webkit-scrollbar {
    display: none;
  }
  .compare tr.grp {
    display: none;
  }
  .compare tr:not(.grp) {
    display: flex;
    flex: 0 0 80vw;
    flex-direction: column;
    gap: 10px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--panel);
    scroll-snap-align: center;
  }
  .compare tr:not(.grp) :is(td, th) {
    padding: 0;
    border: 0;
    background: none;
  }
  .compare :is(td, th) b {
    font-size: 18px;
    letter-spacing: -0.01em;
  }
  .compare :is(td, th).rb::before {
    content: 'Review Box: ';
    color: var(--brand);
    font-weight: 600;
  }
  .compare :is(td, th).gh {
    color: var(--fg);
    font-weight: 500;
  }
  .compare :is(td, th).gh::before {
    content: 'GitHub: ';
    font-weight: 600;
  }
  .compare :is(td, th).gh.none {
    font-size: 0;
  }
  .compare :is(td, th).gh.none::before {
    content: 'Not on GitHub';
    font-size: 15px;
  }
  .compare-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 16px;
    color: var(--muted);
    font: 500 13px var(--mono);
  }
  .compare-nav button {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: var(--panel);
    color: var(--fg);
    font: inherit;
    font-size: 16px;
    cursor: pointer;
  }
  .compare-nav button:disabled {
    opacity: 0.35;
    cursor: default;
  }
  .wrap {
    padding: 0 16px;
  }
  .new {
    display: inline-block;
    text-align: left;
    font-size: 12px;
    line-height: 1.5;
    padding: 10px 14px;
    border-radius: 16px;
    margin-bottom: 20px;
  }
  .new b {
    margin-right: 6px;
  }
  .new .go {
    display: block;
    margin-top: 6px;
  }
  .cmt {
    padding: 14px 14px 16px;
  }
  .cmt header {
    flex-wrap: wrap;
    row-gap: 6px;
    font-size: 13px;
  }
  .cmt header .name {
    white-space: nowrap;
  }
  .cmt .role {
    white-space: nowrap;
    font-size: 11px;
  }
  .cmt p,
  .cmt li {
    font-size: 15px;
  }
  .thread > .cmt ol,
  .thread > .cmt ul {
    padding-left: 22px;
  }
  .play-btn {
    padding: 8px;
  }
  .play-btn .play-label {
    display: none;
  }
  .nav.scrolled {
    padding: 8px 12px 0;
  }
}
@keyframes fade-in {
  from {
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after,
  ::backdrop {
    transition-property: opacity, color, background-color, border-color, box-shadow !important;
  }
  details::details-content {
    transition-property: opacity !important;
  }
  .hero .new,
  .hero .icon,
  .hero h1,
  .hero .lead,
  .hero .ctas,
  .hero .stage {
    animation-name: fade-in;
  }
}

/* Terms and privacy */
.legal {
  padding-top: 80px;
  padding-bottom: 120px;
}
.legal h1 {
  margin: 0;
  font-size: clamp(44px, 6vw, 76px);
  line-height: 1;
  letter-spacing: -0.045em;
}
.legal .lead {
  margin: 18px 0 40px;
  color: var(--muted);
  font-size: 19px;
}
.legal h2 {
  margin: 40px 0 10px;
  font-size: 22px;
  letter-spacing: -0.02em;
}
.legal p {
  margin: 0 0 14px;
  color: var(--muted);
}
.legal a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Download page */
.download {
  padding-top: 80px;
  padding-bottom: 120px;
  text-align: center;
}
.download .icon {
  width: 119px;
  height: 119px;
  margin: 0 auto 22px;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.14));
}
.download h1 {
  margin: 0;
  font-size: clamp(44px, 6vw, 76px);
  line-height: 1;
  letter-spacing: -0.045em;
}
.download .lead {
  margin: 18px auto 32px;
  color: var(--muted);
  font-size: 19px;
}
.download-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
}
.platforms {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  max-width: 880px;
  margin: 56px auto 0;
  padding: 0;
}
.platforms a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  height: 100%;
  padding: 18px 20px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--panel);
  text-align: left;
  transition:
    border-color 0.25s var(--ease-out),
    box-shadow 0.25s var(--ease-out),
    transform 0.25s var(--ease-out),
    scale 0.16s var(--ease-out);
}
.platforms b {
  font-size: 17px;
  letter-spacing: -0.01em;
}
.platforms span {
  color: var(--muted);
  font-size: 13px;
}
@media (hover: hover) and (pointer: fine) {
  .platforms a:hover {
    border-color: color-mix(in srgb, var(--brand) 45%, var(--line));
    box-shadow: var(--shadow);
    transform: translateY(-2px);
  }
}
@media (max-width: 900px) {
  .platforms {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  .platforms {
    grid-template-columns: 1fr;
  }
}

/* Notices: checkout and missing downloads */
.notice {
  padding-top: 120px;
  padding-bottom: 160px;
  text-align: center;
}
.notice h1 {
  margin: 0;
  font-size: clamp(40px, 5vw, 56px);
  line-height: 1;
  letter-spacing: -0.045em;
}
.notice .lead {
  margin: 18px 0 32px;
  color: var(--muted);
  font-size: 19px;
}
.notice .note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
}
.notice .note a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.notice .key {
  display: block;
  margin: 0 0 24px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  font: 600 18px/1.4 var(--mono);
  letter-spacing: 0.04em;
  user-select: all;
}
.notice [data-copy] span {
  display: inline-block;
  transition:
    opacity 0.1s ease,
    filter 0.1s ease;
}
.notice [data-copy] span.swap {
  opacity: 0;
  filter: blur(2px);
}
.lost {
  padding-top: 96px;
}
.lost h1 {
  font-size: clamp(72px, 12vw, 128px);
  background: linear-gradient(180deg, var(--fg), var(--brand));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lost-review {
  position: relative;
  display: grid;
  gap: 16px;
  margin: 0 0 40px;
  text-align: left;
}
.lost-file {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  box-shadow: var(--shadow);
}
.lost-file header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
  font-size: 13px;
}
.lost-badge {
  flex: none;
  padding: 1px 8px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--red) 14%, transparent);
  color: var(--red);
  font-weight: 600;
  font-size: 12px;
}
.lost-path {
  overflow: hidden;
  min-width: 0;
  font: 13px var(--mono);
  text-overflow: ellipsis;
  white-space: nowrap;
  text-decoration: line-through;
  text-decoration-color: color-mix(in srgb, var(--red) 60%, transparent);
}
.lost-count {
  margin-left: auto;
  color: var(--red);
  font: 600 13px var(--mono);
}
.lost-file table {
  width: 100%;
  border-collapse: collapse;
  font: 13px/1.7 var(--mono);
}
.lost-file td {
  padding: 0 14px;
  white-space: pre;
}
.lost-file td:first-child {
  width: 1%;
  color: var(--faint);
  text-align: right;
  user-select: none;
}
.lost-file tr:not(.hunk) {
  background: color-mix(in srgb, var(--red) 9%, transparent);
}
.lost-file tr:not(.hunk) td:last-child {
  overflow: hidden;
  max-width: 0;
  text-overflow: ellipsis;
}
.lost-file tr:not(.hunk) td:last-child::before {
  content: '- ';
  color: var(--red);
}
.lost-file .hunk td {
  color: var(--blue);
  background: var(--blue-soft);
}
.lost-stamp {
  position: absolute;
  z-index: 1;
  top: -36px;
  right: -96px;
  color: var(--red);
  opacity: 0;
  pointer-events: none;
  animation: lost-stamp 0.9s 0.35s cubic-bezier(0.2, 0.8, 0.3, 1) forwards;
}
@keyframes lost-stamp {
  0% {
    opacity: 0;
    transform: rotate(-4deg) scale(2.6);
  }
  40% {
    opacity: 1;
    transform: rotate(-16deg) scale(0.92);
  }
  55%,
  100% {
    opacity: 0.85;
    transform: rotate(-16deg) scale(1);
  }
}
@media (prefers-reduced-motion: reduce) {
  .lost-stamp {
    animation: none;
    opacity: 0.85;
    transform: rotate(-16deg);
  }
}
@media (max-width: 820px) {
  .lost-stamp {
    top: 56px;
    right: -6px;
    width: 120px;
    height: 120px;
  }
}
