:root {
  --bg: #080808;
  --sidebar: #0b0b0b;
  --content: #0e0e0e;
  --card: #141414;
  --elevated: #191919;
  --border: #242424;
  --text: #f2f2f2;
  --secondary: #929292;
  --muted: #626262;
  --accent: #35d69a;
  --on-accent: #07140f;
  --danger: #f07178;
  --font: "Segoe UI Variable Text", "Segoe UI Variable", Inter, "Segoe UI", sans-serif;
  --mono: "Cascadia Mono", "Cascadia Code", Consolas, monospace;
}

* { box-sizing: border-box; }

html { background: var(--bg); color: var(--text); color-scheme: dark; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
  background:
    radial-gradient(880px 420px at 78% -8%, rgba(53, 214, 154, 0.09), transparent 58%),
    radial-gradient(640px 360px at 8% 12%, rgba(53, 214, 154, 0.05), transparent 52%),
    var(--bg);
}

a { color: inherit; text-decoration: none; }

a:hover { color: var(--text); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 28px;
  border-bottom: 1px solid var(--border);
  background: rgba(11, 11, 11, 0.78);
  backdrop-filter: blur(16px);
  position: sticky;
  top: 0;
  z-index: 8;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 0.16em;
  font-size: 12px;
  font-weight: 650;
}

.brand svg { display: block; }

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 22px;
  font-size: 13px;
  color: var(--secondary);
}

.nav-links a {
  position: relative;
  transition: color 0.2s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav-links a:hover { color: var(--text); }

.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after { transform: scaleX(1); }

.nav-links a[aria-current="page"] { color: var(--text); }

.wrap {
  width: min(980px, calc(100% - 48px));
  margin: 0 auto;
}

.hero {
  padding: 72px 0 28px;
}

.kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.18em;
}

.pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(53, 214, 154, 0.55);
  animation: ping 2.4s ease-out infinite;
}

h1 {
  margin: 0;
  font-size: 56px;
  font-weight: 300;
  letter-spacing: 0.04em;
  line-height: 1.05;
}

.lede {
  max-width: 38rem;
  margin: 18px 0 0;
  color: var(--secondary);
  font-size: 18px;
}

.actions {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 16px;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 13px;
  font-weight: 650;
  border-radius: 2px;
  transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
  color: var(--on-accent);
  filter: brightness(1.06);
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(53, 214, 154, 0.22);
}

.ghost {
  color: var(--secondary);
  font-size: 13px;
  transition: color 0.2s ease;
}

.ghost:hover { color: var(--text); }

.stage {
  position: relative;
  width: min(1120px, calc(100% - 32px));
  height: auto;
  margin: 48px auto 0;
  padding: 28px 14px 96px;
  overflow: hidden;
}

.stage-glow {
  position: absolute;
  left: 16%;
  right: 10%;
  top: 12%;
  bottom: 16%;
  background: radial-gradient(ellipse at center, rgba(53, 214, 154, 0.2), transparent 68%);
  filter: blur(10px);
  animation: glow 7s ease-in-out infinite alternate;
  pointer-events: none;
}

.tick {
  position: absolute;
  width: 16px;
  height: 16px;
  z-index: 6;
  pointer-events: none;
}

.tick-nw { top: 0; left: 0; border-top: 1px solid rgba(242, 242, 242, 0.45); border-left: 1px solid rgba(242, 242, 242, 0.45); }
.tick-ne { top: 0; right: 0; border-top: 1px solid rgba(242, 242, 242, 0.45); border-right: 1px solid rgba(242, 242, 242, 0.45); }
.tick-sw { bottom: 0; left: 0; border-bottom: 1px solid rgba(242, 242, 242, 0.45); border-left: 1px solid rgba(242, 242, 242, 0.45); }
.tick-se { bottom: 0; right: 0; border-bottom: 1px solid rgba(242, 242, 242, 0.45); border-right: 1px solid rgba(242, 242, 242, 0.45); }

.pane {
  position: absolute;
  margin: 0;
  transition: translate 0.55s cubic-bezier(0.22, 1, 0.36, 1), rotate 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.pane-shot {
  overflow: hidden;
  border: 1px solid #2c2c2c;
  border-radius: 10px;
  background: #080808;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.45);
  transition: aspect-ratio 0.55s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.55s ease;
}

.pane img {
  width: 100%;
  height: auto;
  display: block;
}

.pane figcaption {
  position: absolute;
  top: -20px;
  left: 2px;
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.pane-home {
  position: relative;
  z-index: 2;
  width: 62%;
  margin: 18px 0 0 32%;
  opacity: 0;
  translate: 0 22px;
  animation: arrive 0.9s 0.12s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.pane-home .pane-shot {
  box-shadow:
    0 34px 80px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(53, 214, 154, 0.22);
}

.pane-home .pane-shot { position: relative; }

.pane-home .pane-shot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, 0.07) 50%, transparent 62%);
  translate: -120% 0;
  animation: sheen 1.15s 0.7s ease forwards;
  pointer-events: none;
}

.pane-lib,
.pane-rec {
  z-index: 3;
  opacity: 0;
  animation: arrive 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.pane-lib {
  width: 34%;
  left: 10px;
  top: 22px;
  rotate: -1.6deg;
  animation-delay: 0.22s;
}

.pane-lib .pane-shot { aspect-ratio: 16 / 7.2; }
.pane-rec .pane-shot { aspect-ratio: 16 / 9.2; }

.pane-lib .pane-shot img,
.pane-rec .pane-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.pane-rec {
  width: 36%;
  right: 10px;
  bottom: 12px;
  rotate: 1.4deg;
  animation-delay: 0.34s;
}

.pane-lib:hover,
.pane-rec:hover {
  z-index: 5;
  rotate: 0deg;
  translate: 0 -8px;
}

.pane-lib:hover .pane-shot,
.pane-rec:hover .pane-shot {
  aspect-ratio: 1440 / 954;
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(53, 214, 154, 0.4);
}

.pane-home:hover { translate: 0 -6px; }

.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 56px 0 72px;
}

.facts article {
  padding: 20px 18px 22px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent 42%), var(--card);
  opacity: 0;
  translate: 0 16px;
  animation: arrive 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.facts article:nth-child(1) { animation-delay: 0.15s; }
.facts article:nth-child(2) { animation-delay: 0.25s; }
.facts article:nth-child(3) { animation-delay: 0.35s; }

.facts article:hover {
  border-color: rgba(53, 214, 154, 0.5);
  background: linear-gradient(180deg, rgba(53, 214, 154, 0.06), transparent 46%), var(--card);
}

.facts h2, .block h2, .page h1 {
  font-weight: 400;
}

.facts h2 {
  margin: 0 0 8px;
  font-size: 15px;
  letter-spacing: 0.08em;
}

.facts p, .prose p, .prose li {
  margin: 0;
  color: var(--secondary);
  font-size: 15px;
}

.page { padding: 56px 0 80px; }

.page h1 {
  font-size: 40px;
  letter-spacing: 0.08em;
  font-weight: 300;
}

.list { margin: 36px 0 0; }

.row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  padding: 16px 12px;
  border-top: 1px solid var(--border);
  transition: background 0.25s ease;
}

.row:hover { background: rgba(255, 255, 255, 0.025); }

.row h2 {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.06em;
}

.row p { margin: 0; color: var(--secondary); }

.prose { max-width: 42rem; margin-top: 28px; }

.prose h2 {
  margin: 32px 0 8px;
  font-size: 14px;
  letter-spacing: 0.12em;
  font-weight: 500;
  color: var(--text);
}

.prose p + p { margin-top: 12px; }

.prose a, .credits a {
  color: var(--text);
  border-bottom: 1px solid var(--accent);
}

.credits {
  padding: 8px 0 56px;
  text-align: center;
}

.credits .kicker,
.page.center > .kicker {
  justify-content: center;
}

.credits h2 {
  margin: 28px 0 10px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
}

.credits p {
  max-width: 40rem;
  margin: 0 auto;
  color: var(--secondary);
  font-size: 15px;
}

.page.center { text-align: center; }

.page.center .prose {
  margin-left: auto;
  margin-right: auto;
}

.credits p + p { margin-top: 12px; }

.credits .fine {
  color: var(--muted);
  font-size: 13px;
}

.prose ul { margin: 8px 0 0; padding-left: 18px; }

.prose li + li { margin-top: 6px; }

.req {
  margin-top: 28px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 13px;
}

.note {
  max-width: 40rem;
  margin-top: 14px;
  color: var(--secondary);
  font-size: 14px;
}

.note a {
  color: var(--text);
  border-bottom: 1px solid var(--accent);
}

.stats-form {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 28px;
}

.stats-form input {
  width: min(100%, 320px);
  height: 36px;
  padding: 0 12px;
  background: var(--card);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 2px;
  font: inherit;
  font-size: 14px;
}

.stats-form button {
  border: 0;
  cursor: pointer;
}

.stats-table {
  width: 100%;
  max-width: 36rem;
  margin-top: 28px;
  border-collapse: collapse;
  font-size: 14px;
}

.stats-table th,
.stats-table td {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  text-align: left;
  color: var(--secondary);
}

.stats-table th {
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.stats-table td:nth-child(n + 2),
.stats-table th:nth-child(n + 2) {
  text-align: right;
}

.site-footer {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  padding: 22px 28px 32px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.06em;
}

.site-footer a:hover { color: var(--text); }

.hero > .kicker,
.hero > h1,
.hero > .lede,
.hero > .actions,
.page > .kicker,
.page > h1,
.page > .lede,
.page > .actions {
  animation: fade-up 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero > h1,
.page > h1 { animation-delay: 0.06s; }

.hero > .lede,
.page > .lede { animation-delay: 0.12s; }

.hero > .actions,
.page > .actions { animation-delay: 0.18s; }

@keyframes fade-up {
  from { opacity: 0; translate: 0 14px; }
  to { opacity: 1; translate: 0 0; }
}

@keyframes arrive {
  to { opacity: 1; translate: 0 0; }
}

@keyframes sheen {
  to { translate: 130% 0; }
}

@keyframes glow {
  from { opacity: 0.55; }
  to { opacity: 1; }
}

@keyframes ping {
  0% { box-shadow: 0 0 0 0 rgba(53, 214, 154, 0.5); }
  70% { box-shadow: 0 0 0 7px rgba(53, 214, 154, 0); }
  100% { box-shadow: 0 0 0 0 rgba(53, 214, 154, 0); }
}

.compare-block,
.sources { padding-bottom: 28px; }

.compare-block h2,
.split h2,
.cta h2,
.sources h2 {
  margin: 0;
  font-size: 32px;
  font-weight: 300;
  letter-spacing: 0.03em;
}

.app-rail {
  display: flex;
  gap: 18px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.app-rail li {
  position: relative;
  padding-top: 10px;
}

.app-rail li::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: var(--border);
}

.app-rail .is-nuclip { color: var(--accent); }

.app-rail .is-nuclip::before { background: var(--accent); }

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 22px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  color: var(--secondary);
  font-size: 13px;
}

.legend li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.compare td .cell {
  display: inline-grid;
  grid-template-columns: 14px 16px;
  align-items: center;
  justify-items: center;
  column-gap: 6px;
}

.compare-scroll {
  margin-top: 14px;
  border-top: 1px solid var(--border);
}

.compare {
  width: 100%;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 14px;
}

.compare caption { caption-side: bottom; }

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.compare th,
.compare td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  text-align: center;
  vertical-align: middle;
  background: var(--bg);
}

.compare thead th {
  position: sticky;
  top: 64px;
  z-index: 3;
  padding-top: 18px;
  padding-bottom: 16px;
  font-weight: 500;
  background-color: #080808;
}

.feature-col {
  width: 28%;
  text-align: left !important;
  background: #080808;
}

.compare thead th.app-col,
.compare td[class^="app-"] {
  width: 14.4%;
}

.compare thead .feature-col { z-index: 4; }

.group-row th {
  padding-top: 22px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-align: left !important;
  text-transform: uppercase;
  background: var(--bg);
}

.compare td.app-nuclip {
  background-color: rgba(53, 214, 154, 0.06);
}

.compare thead th.app-nuclip {
  background-color: #0b1411;
  box-shadow: inset 0 2px 0 var(--accent);
}

.compare tbody tr:nth-child(even of :not(.group-row)) > th,
.compare tbody tr:nth-child(even of :not(.group-row)) > td {
  background-color: #121212;
}

.compare tbody tr:nth-child(even of :not(.group-row)) > td.app-nuclip {
  background-color: #13201a;
}

.app-logo {
  display: block;
  height: 28px;
  width: auto;
  max-width: 100%;
  margin: 2px auto 8px;
  object-fit: contain;
  object-position: center;
}

.app-name {
  display: block;
  color: var(--secondary);
  font-size: 13px;
  letter-spacing: 0;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

th.app-nuclip .app-name { color: var(--accent); }

.mark {
  display: inline-block;
  width: 14px;
  height: 14px;
  position: relative;
  flex: 0 0 auto;
}

.mark-yes::before,
.mark-yes::after,
.mark-no::before,
.mark-no::after {
  content: "";
  position: absolute;
  background: currentColor;
}

.mark-yes {
  color: var(--accent);
}

.mark-yes::before {
  left: 2px;
  top: 7px;
  width: 5px;
  height: 2px;
  rotate: 45deg;
}

.mark-yes::after {
  left: 5px;
  top: 6px;
  width: 8px;
  height: 2px;
  rotate: -45deg;
}

.mark-no { color: var(--muted); }

.mark-no::before,
.mark-no::after {
  left: 6px;
  top: 1px;
  width: 2px;
  height: 12px;
}

.mark-no::before { rotate: 45deg; }
.mark-no::after { rotate: -45deg; }

.mark-partial {
  color: var(--secondary);
}

.mark-partial::before {
  content: "";
  position: absolute;
  left: 1px;
  right: 1px;
  top: 6px;
  height: 2px;
  background: currentColor;
}

.mark-unknown {
  color: var(--muted);
  font-size: 13px;
  line-height: 14px;
  text-align: center;
}

.hint {
  width: 16px;
  height: 16px;
  margin-left: 6px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  font: 11px/14px var(--mono);
  cursor: help;
}

.compare td .hint { margin-left: 0; }

.hint:hover,
.hint:focus-visible {
  color: var(--text);
  border-color: var(--accent);
  outline: none;
}

.tip {
  position: fixed;
  z-index: 30;
  max-width: 260px;
  padding: 8px 10px;
  background: var(--card);
  color: var(--text);
  border: 1px solid var(--border);
  font-size: 13px;
  line-height: 1.45;
  pointer-events: none;
}

.tip[hidden] { display: none; }

.feature-col .hint { vertical-align: 1px; }

.feature-marks {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  vertical-align: middle;
}

.prize {
  display: inline-flex;
  margin-left: 6px;
  color: var(--accent);
  vertical-align: -2px;
}

.prize svg {
  display: block;
  fill: currentColor;
}

.split {
  display: grid;
  grid-template-columns: minmax(180px, 0.8fr) 1.4fr;
  gap: 32px;
  padding: 64px 0 8px;
}

.split .prose p,
.cta .lede { color: var(--secondary); }

.split a,
.sources a {
  color: var(--text);
  border-bottom: 1px solid var(--accent);
}

.cta { padding: 72px 0 20px; }

.sources {
  display: grid;
  gap: 16px;
  padding-top: 28px;
}

.sources h2 { margin: 0; font-size: 22px; }

.sources-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
}

.sources-head p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.source-groups {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px 28px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.source-group h3 {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.source-group ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.source-group li + li { margin-top: 3px; }

.source-group a {
  color: var(--secondary);
  font-size: 13px;
  line-height: 1.35;
  border-bottom: 0;
}

.source-group a:hover { color: var(--accent); }

@media (max-width: 760px) {
  h1 { font-size: 40px; }
  .facts, .row { grid-template-columns: 1fr; }
  .nav { padding: 0 16px; }
  .nav-links { gap: 12px 16px; }
  .split { grid-template-columns: 1fr; gap: 14px; padding-top: 48px; }
  .compare-block h2, .split h2, .cta h2 { font-size: 28px; }
  .compare th, .compare td { padding: 10px 4px; }
  .feature-col { width: 30%; }
  .app-name { font-size: 11px; }
  .compare thead th { top: 56px; }
  .sources-head { flex-direction: column; align-items: flex-start; gap: 6px; }
  .source-groups { grid-template-columns: 1fr 1fr; gap: 16px 20px; }
  .wrap { width: min(980px, calc(100% - 32px)); }
  .stage {
    display: grid;
    height: auto;
    gap: 28px;
    margin-top: 36px;
    overflow: visible;
  }
  .pane-home,
  .pane-lib,
  .pane-rec {
    position: relative;
    width: auto;
    height: auto;
    margin: 0;
    inset: auto;
    rotate: none;
  }
  .pane-lib .pane-shot,
  .pane-rec .pane-shot { aspect-ratio: auto; }
  .pane-lib .pane-shot img,
  .pane-rec .pane-shot img { height: auto; object-fit: fill; }
  .pane { display: flex; flex-direction: column; }
  .pane figcaption {
    position: static;
    order: -1;
    display: block;
    margin: 0 0 8px;
  }
  .stage-glow,
  .tick { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .pane-home, .pane-lib, .pane-rec, .facts article { opacity: 1; translate: none; }
}

.sponsor {
  margin: 8px auto 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.sponsor-label {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
