:root {
  --bg: #07070b;
  --bg-soft: #0b0b11;
  --panel: #0e0e15;
  --text: #f5f4f8;
  --muted: #a3a0ae;
  --muted-2: #7c7987;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --iris: #8e7dff;
  --iris-soft: #c9b8ff;
  --coral: #ff9d6c;
  --mint: #7ee6c3;
  --grad: linear-gradient(96deg, #d3c5ff 0%, #a48fff 32%, #8e7dff 58%, #ff9d6c 100%);
  --font-display: "Be Vietnam Pro", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  --radius: 18px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
  color-scheme: dark;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.032;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection {
  background: rgba(142, 125, 255, 0.4);
  color: #fff;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

p {
  margin: 0;
}

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

button {
  font: inherit;
  color: inherit;
}

img,
svg {
  max-width: 100%;
}

img {
  display: block;
}

.container {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 10px;
  background: #fff;
  color: #0b0b12;
  font-weight: 600;
  font-size: 14px;
  transform: translateY(-150%);
  transition: transform 0.2s ease;
}

.skip-link:focus-visible {
  transform: none;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible {
  outline: 2px solid var(--iris-soft);
  outline-offset: 3px;
}

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.ic {
  width: 16px;
  height: 16px;
  flex: none;
}

/* Header */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: rgba(7, 7, 11, 0.72);
  border-bottom-color: var(--line);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  backdrop-filter: blur(18px) saturate(1.4);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: none;
}

.logo-mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--grad);
  box-shadow: 0 6px 20px rgba(142, 125, 255, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.logo-mark svg {
  width: 22px;
  height: 22px;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-links a {
  padding: 8px 13px;
  border-radius: 9px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-links a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.gh-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 38px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  font-size: 12.5px;
  font-weight: 500;
  color: #d8d5e1;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.gh-pill .ic {
  width: 15px;
  height: 15px;
}

.gh-pill .ic-star {
  width: 12px;
  height: 12px;
  color: #ffd479;
  margin-left: 2px;
}

.gh-pill:hover {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.06);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.btn:active {
  transform: translateY(1px) scale(0.995);
}

.btn-primary {
  background: linear-gradient(135deg, #c9b8ff 0%, #a48fff 38%, #ffab7f 100%);
  color: #140d24;
  box-shadow: 0 10px 34px rgba(142, 125, 255, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 46px rgba(142, 125, 255, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  background: linear-gradient(135deg, #d6c9ff 0%, #b09eff 38%, #ffb992 100%);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line-strong);
  color: var(--text);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.075);
  border-color: rgba(255, 255, 255, 0.24);
  transform: translateY(-1px);
}

.btn-sm {
  height: 38px;
  padding: 0 16px;
  border-radius: 10px;
  font-size: 13px;
}

.menu-btn {
  display: none;
  position: relative;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}

.menu-btn span {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 1.5px;
  border-radius: 2px;
  background: var(--text);
  transition: top 0.3s var(--ease), transform 0.3s var(--ease);
}

.menu-btn span:first-child {
  top: 15px;
}

.menu-btn span:last-child {
  top: 23px;
}

.site-header.nav-open .menu-btn span:first-child {
  top: 19px;
  transform: rotate(45deg);
}

.site-header.nav-open .menu-btn span:last-child {
  top: 19px;
  transform: rotate(-45deg);
}

/* Hero */

.hero {
  position: relative;
  padding: 156px 0 72px;
  overflow: clip;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.55;
  will-change: transform;
}

.blob-a {
  width: 680px;
  height: 680px;
  left: 50%;
  margin-left: -360px;
  top: -300px;
  background: radial-gradient(circle at center, rgba(142, 125, 255, 0.55), transparent 66%);
  animation: drift 22s ease-in-out infinite alternate;
}

.blob-b {
  width: 520px;
  height: 520px;
  right: -140px;
  top: 60px;
  background: radial-gradient(circle, rgba(255, 157, 108, 0.34), transparent 66%);
  animation: drift 27s ease-in-out infinite alternate-reverse;
}

.blob-c {
  width: 440px;
  height: 440px;
  left: -150px;
  top: 260px;
  background: radial-gradient(circle, rgba(126, 230, 195, 0.16), transparent 66%);
  animation: drift 24s ease-in-out infinite alternate;
}

@keyframes drift {
  to {
    transform: translate3d(60px, 44px, 0) scale(1.08);
  }
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 72% 56% at 50% 6%, #000 20%, transparent 76%);
  mask-image: radial-gradient(ellipse 72% 56% at 50% 6%, #000 20%, transparent 76%);
}

.hero-container {
  position: relative;
  z-index: 1;
}

.hero-copy {
  max-width: 1040px;
  margin-inline: auto;
  text-align: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 14px 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font-size: 12.5px;
  color: #cfccda;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.pill:hover {
  border-color: rgba(142, 125, 255, 0.4);
  background: rgba(142, 125, 255, 0.08);
}

.pill .ic {
  width: 14px;
  height: 14px;
  color: var(--iris-soft);
  transition: transform 0.25s var(--ease);
}

.pill:hover .ic {
  transform: translateX(2px);
}

.pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 4px rgba(126, 230, 195, 0.12);
  animation: pulse 2.6s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 4px rgba(126, 230, 195, 0.1);
  }
  50% {
    box-shadow: 0 0 0 7px rgba(126, 230, 195, 0.02);
  }
}

.pill-version {
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: #ece9f5;
}

.pill-sep {
  width: 1px;
  height: 12px;
  background: var(--line-strong);
}

.hero h1 {
  margin-top: 26px;
  font-size: clamp(2.5rem, 5.5vw, 4.65rem);
  line-height: 1.04;
  letter-spacing: -0.045em;
  font-weight: 600;
  text-wrap: balance;
}

.hero h1 .line {
  display: block;
  text-wrap: balance;
}

.lede {
  max-width: 660px;
  margin: 24px auto 0;
  font-size: clamp(1rem, 1.35vw, 1.12rem);
  line-height: 1.7;
  color: var(--muted);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 34px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 26px;
  font-size: 12.5px;
  color: var(--muted-2);
}

.meta-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #504d5c;
}

/* Editor mockup */

.editor-wrap {
  position: relative;
  margin-top: clamp(56px, 7vw, 86px);
  animation: rise 1s 0.42s var(--ease) both;
}

.editor-aura {
  position: absolute;
  inset: 8% -4% -12%;
  z-index: 0;
  background:
    radial-gradient(52% 58% at 30% 24%, rgba(142, 125, 255, 0.35), transparent 70%),
    radial-gradient(46% 52% at 76% 60%, rgba(255, 157, 108, 0.28), transparent 72%);
  filter: blur(70px);
  opacity: 0.55;
  pointer-events: none;
}

.editor {
  position: relative;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  background: #0c0c12;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.07) inset,
    0 60px 140px rgba(0, 0, 0, 0.72),
    0 0 120px rgba(142, 125, 255, 0.1);
  overflow: hidden;
}

.editor::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  pointer-events: none;
}

.editor-top {
  display: flex;
  align-items: center;
  gap: 18px;
  height: 44px;
  padding: 0 15px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.traffic {
  display: flex;
  gap: 7px;
  flex: none;
}

.traffic i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #3c3a46;
}

.traffic .t-red {
  background: #ff5f57;
}

.traffic .t-yellow {
  background: #febc2e;
}

.traffic .t-green {
  background: #28c840;
}

.editor-menus {
  flex: 1;
  display: flex;
  justify-content: center;
  gap: 13px;
  font-size: 11px;
  color: #8f8c9c;
  white-space: nowrap;
  overflow: hidden;
}

.editor-doc {
  flex: none;
  padding: 3px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  color: #8a8796;
  white-space: nowrap;
}

.editor-body {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 286px;
  height: 562px;
}

.tools {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 10px 8px;
  border-right: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.012);
  overflow: hidden;
}

.tool {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex: none;
  border-radius: 8px;
  border: 1px solid transparent;
  color: #908d9c;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.tool svg {
  width: 16px;
  height: 16px;
}

.tool:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #ddd9e9;
}

.tool.active {
  background: linear-gradient(135deg, rgba(142, 125, 255, 0.28), rgba(255, 157, 108, 0.12));
  border-color: rgba(142, 125, 255, 0.38);
  color: #eae5ff;
  box-shadow: 0 0 18px rgba(142, 125, 255, 0.22);
}

.tool-sep {
  width: 22px;
  height: 1px;
  margin: 5px 0;
  background: var(--line);
  flex: none;
}

.tool-swatch {
  position: relative;
  width: 32px;
  height: 32px;
  margin-top: auto;
  flex: none;
}

.tool-swatch i {
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.tool-swatch i:first-child {
  left: 11px;
  top: 11px;
  background: #14121c;
}

.tool-swatch i:last-child {
  left: 3px;
  top: 3px;
  background: linear-gradient(135deg, #ffd1a8, #ff9d6c);
}

.canvas-wrap {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 16px 16px 0;
  background: #0f0f16;
}

.canvas {
  position: relative;
  flex: 1;
  min-height: 0;
  border-radius: 5px;
  overflow: hidden;
  background: #0a0a10;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
}

.canvas img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
}

.canvas-overlay {
  position: absolute;
  left: 11%;
  top: 16%;
  pointer-events: none;
}

.canvas-kicker {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.34em;
  color: rgba(255, 240, 220, 0.78);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
}

.canvas-title {
  margin-top: 8px;
  font-family: var(--font-display);
  font-size: clamp(32px, 4.4vw, 56px);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: 0.03em;
  color: rgba(255, 240, 214, 0.96);
  text-shadow: 0 8px 40px rgba(28, 8, 32, 0.5);
}

.selection {
  position: absolute;
  inset: 12% 9% 24% 9%;
  border: 1px dashed rgba(255, 255, 255, 0.75);
  pointer-events: none;
}

.selection i {
  position: absolute;
  width: 6px;
  height: 6px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35);
}

.selection i:nth-child(1) {
  left: -3px;
  top: -3px;
}

.selection i:nth-child(2) {
  right: -3px;
  top: -3px;
}

.selection i:nth-child(3) {
  left: -3px;
  bottom: -3px;
}

.selection i:nth-child(4) {
  right: -3px;
  bottom: -3px;
}

.canvas-chip {
  position: absolute;
  bottom: 11px;
  padding: 3px 9px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(9, 9, 14, 0.62);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-family: var(--font-mono);
  font-size: 9px;
  color: #d3d0dc;
}

.chip-zoom {
  left: 11px;
}

.chip-rgb {
  right: 11px;
}

.editor-status {
  display: flex;
  align-items: center;
  gap: 18px;
  height: 32px;
  flex: none;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.02em;
  color: #6f6c7b;
}

.editor-status span:last-child {
  margin-left: auto;
  color: #9893a8;
}

.panels {
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.012);
  overflow: hidden;
}

.panel {
  border-bottom: 1px solid var(--line);
  padding: 12px 13px;
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9b97a8;
}

.panel-dots {
  font-size: 9px;
  letter-spacing: 0.1em;
  color: #5f5c6b;
}

.panel-tag {
  padding: 1px 6px;
  border: 1px solid var(--line);
  border-radius: 5px;
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0;
  text-transform: none;
  color: #8b8799;
}

.color-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.swatches {
  position: relative;
  width: 44px;
  height: 40px;
  flex: none;
}

.swatch-bg,
.swatch-fg {
  position: absolute;
  width: 26px;
  height: 26px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.swatch-bg {
  left: 16px;
  top: 14px;
  background: #0b0b12;
}

.swatch-fg {
  left: 0;
  top: 0;
  background: linear-gradient(135deg, #ffd1a8, #ff9d6c);
  box-shadow: 0 4px 14px rgba(255, 157, 108, 0.25);
}

.color-meta strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  color: #d8d4e3;
}

.color-meta span {
  display: block;
  margin-top: 3px;
  font-size: 9.5px;
  color: #6f6c7b;
}

.curve {
  height: 86px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 5px;
  background-color: #0a0a10;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 25% 25%;
}

.curve svg {
  width: 100%;
  height: 100%;
}

.curve-meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 8.5px;
  color: #6f6c7b;
}

.panel-layers {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  border-bottom: none;
  padding-bottom: 9px;
}

.layers-controls {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 7px;
  margin-bottom: 6px;
  border-bottom: 1px solid var(--line);
  font-size: 9.5px;
  color: #77737f;
}

.layers {
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow: hidden;
}

.layer {
  display: grid;
  grid-template-columns: 14px 22px minmax(0, 1fr) 14px;
  align-items: center;
  gap: 7px;
  height: 29px;
  padding: 0 6px;
  border-radius: 6px;
  font-size: 10.5px;
  color: #b6b2c2;
}

.layer:hover {
  background: rgba(255, 255, 255, 0.04);
}

.layer.active {
  background: rgba(142, 125, 255, 0.14);
  box-shadow: inset 2px 0 0 var(--iris);
  color: #efecf8;
}

.layer.locked {
  color: #7c788a;
}

.eye {
  display: grid;
  place-items: center;
  color: #8f8b9b;
}

.eye svg {
  width: 12px;
  height: 12px;
}

.eye.dim {
  opacity: 0.32;
}

.thumb {
  width: 22px;
  height: 22px;
  border-radius: 5px;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.thumb-curves {
  background: linear-gradient(135deg, #8f7bff, #3a2a7a);
}

.thumb-vibrance {
  background: linear-gradient(135deg, #ffb88f, #b44b6f);
}

.thumb-type {
  display: grid;
  place-items: center;
  background: #1c1a26;
  color: #efeaf8;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 600;
}

.thumb-photo {
  background: linear-gradient(135deg, #ffc07f 0%, #d9605d 45%, #55205e 78%, #1b0d2c 100%);
}

.thumb-bg {
  background: conic-gradient(#3a3845 25%, #2a2833 0 50%, #3a3845 0 75%, #2a2833 0) 0 0 / 8px 8px;
}

.layer-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.layer-kind {
  font-size: 9px;
  color: #6f6c7b;
  text-align: center;
}

.layer-kind svg {
  width: 10px;
  height: 10px;
  margin-inline: auto;
}

/* Floating chips */

.float-chip {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(14, 14, 21, 0.82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: #d5d1e0;
  white-space: nowrap;
  animation: floaty 7s ease-in-out infinite;
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex: none;
}

.dot-iris {
  background: var(--iris);
  box-shadow: 0 0 12px rgba(142, 125, 255, 0.8);
}

.dot-mint {
  background: var(--mint);
  box-shadow: 0 0 12px rgba(126, 230, 195, 0.7);
}

.dot-coral {
  background: var(--coral);
  box-shadow: 0 0 12px rgba(255, 157, 108, 0.7);
}

.chip-a {
  left: 6.5%;
  bottom: 14%;
}

.chip-b {
  right: 26%;
  top: 12.5%;
  animation-delay: -2.2s;
}

.chip-c {
  right: 5%;
  bottom: -15px;
  animation-delay: -4.1s;
}

@keyframes floaty {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.hero-copy > * {
  animation: rise 0.85s var(--ease) both;
}

.hero-copy > :nth-child(1) {
  animation-delay: 0.06s;
}

.hero-copy > :nth-child(2) {
  animation-delay: 0.13s;
}

.hero-copy > :nth-child(3) {
  animation-delay: 0.21s;
}

.hero-copy > :nth-child(4) {
  animation-delay: 0.29s;
}

.hero-copy > :nth-child(5) {
  animation-delay: 0.37s;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Stats */

.stats {
  border-block: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.018), transparent);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  padding-block: 42px;
}

.stat + .stat {
  border-left: 1px solid var(--line);
  padding-left: 32px;
}

.stat-num {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 2.8vw, 2.3rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  color: #f7f5fb;
}

.stat-slash {
  margin: 0 2px;
  color: #5d596b;
  font-weight: 500;
}

.stat-label {
  margin-top: 9px;
  font-size: 12.5px;
  color: var(--muted-2);
}

/* Sections */

.section {
  padding-block: clamp(84px, 11vw, 132px);
}

#compare {
  padding-bottom: clamp(48px, 6vw, 64px);
}

#download {
  padding-block: clamp(16px, 2vw, 20px);
}

#download .cta-row {
  margin-top: 0;
  align-items: center;
  justify-content: center;
}

#download .btn {
  width: fit-content;
}

#download + #faq {
  padding-top: clamp(48px, 6vw, 64px);
}

.section-head {
  max-width: 760px;
  margin-bottom: 46px;
}

.section-head.center {
  max-width: 690px;
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: #b8a9ff;
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: linear-gradient(90deg, var(--iris), var(--coral));
}

.section-head.center .eyebrow {
  justify-content: center;
}

.section h2 {
  margin-top: 18px;
  font-size: clamp(1.95rem, 4vw, 3.15rem);
  line-height: 1.06;
}

.section-lede {
  max-width: 620px;
  margin-top: 18px;
  font-size: 15.5px;
  line-height: 1.72;
  color: var(--muted);
}

.section-head.center .section-lede {
  margin-inline: auto;
}

/* Reveal */

.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.8s var(--ease);
  transition-delay: var(--d, 0ms);
}

.js .reveal.in {
  opacity: 1;
  transform: none;
}

/* Features */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feature-card {
  position: relative;
  overflow: hidden;
  padding: 26px 24px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(142, 125, 255, 0.08), transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.014));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
  transition: border-color 0.35s ease, background 0.35s ease, box-shadow 0.35s ease;
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: radial-gradient(320px 170px at 85% 0%, rgba(142, 125, 255, 0.24), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.feature-card:hover {
  border-color: rgba(142, 125, 255, 0.32);
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(142, 125, 255, 0.14), transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(142, 125, 255, 0.26);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(142, 125, 255, 0.2), rgba(255, 157, 108, 0.08));
  color: #d3c7ff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.feature-icon svg {
  width: 21px;
  height: 21px;
}

.feature-card h3 {
  position: relative;
  margin-top: 20px;
  font-size: 17px;
  letter-spacing: -0.025em;
}

.feature-card p {
  position: relative;
  margin-top: 10px;
  font-size: 13.5px;
  line-height: 1.68;
  color: var(--muted);
}

/* Split */

.split-section {
  padding-block: clamp(60px, 8vw, 96px);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1.02fr;
  gap: clamp(36px, 6vw, 78px);
  align-items: center;
}

.split-copy h2 {
  margin-top: 18px;
  font-size: clamp(1.95rem, 3.8vw, 3rem);
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 13.5px;
  color: #c5c1cf;
}

.check {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  flex: none;
  border-radius: 50%;
  background: rgba(126, 230, 195, 0.1);
  color: var(--mint);
}

.check svg {
  width: 11px;
  height: 11px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 24px;
  font-size: 13.5px;
  font-weight: 500;
  color: #cdc1ff;
  transition: color 0.2s ease;
}

.text-link .ic {
  width: 14px;
  height: 14px;
  transition: transform 0.25s var(--ease);
}

.text-link:hover {
  color: #fff;
}

.text-link:hover .ic {
  transform: translateX(3px);
}

.compare-card {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(180deg, #12111a, #0c0b12);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.compare-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 2px 6px 12px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: #9a96a7;
}

.live-dot {
  position: relative;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mint);
  flex: none;
}

.live-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid rgba(126, 230, 195, 0.35);
  animation: pulse 2.6s ease-in-out infinite;
}

.chip-mini {
  margin-left: auto;
  padding: 2px 8px;
  border: 1px solid rgba(126, 230, 195, 0.28);
  border-radius: 999px;
  background: rgba(126, 230, 195, 0.08);
  font-size: 8.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mint);
}

.compare {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  overflow: hidden;
  background: #0a0a10;
  isolation: isolate;
}

.compare-layer {
  position: absolute;
  inset: 0;
}

.compare-layer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
  pointer-events: none;
}

.compare-layer.original img {
  filter: saturate(0.18) brightness(0.72) contrast(1.06);
}

.compare-layer.edited {
  clip-path: inset(0 calc(100% - var(--pos, 56%)) 0 0);
}

.compare-layer.edited img {
  filter: saturate(1.12) contrast(1.02);
}

.compare-label {
  position: absolute;
  top: 12px;
  z-index: 3;
  padding: 5px 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(9, 9, 14, 0.62);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #e8e4f0;
}

.label-left {
  left: 12px;
}

.label-right {
  right: 12px;
}

.compare-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos, 56%);
  z-index: 3;
  width: 2px;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 0 24px rgba(255, 255, 255, 0.35);
  transform: translateX(-1px);
  pointer-events: none;
}

.handle-grip {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: rgba(12, 12, 18, 0.88);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #fff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
  transform: translate(-50%, -50%);
}

.handle-grip svg {
  width: 17px;
  height: 17px;
}

.compare input[type="range"] {
  position: absolute;
  inset: 0;
  z-index: 4;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
}

.compare input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 44px;
  height: 100%;
}

.compare input[type="range"]::-moz-range-thumb {
  width: 44px;
  height: 200px;
  border: 0;
  background: transparent;
}

.compare:focus-within {
  outline: 2px solid rgba(142, 125, 255, 0.7);
  outline-offset: 3px;
}

.compare-hint {
  margin: 12px 6px 4px;
  text-align: center;
  font-size: 11.5px;
  color: var(--muted-2);
}

/* Formats */

.formats {
  padding-block: clamp(76px, 10vw, 118px);
  border-block: 1px solid var(--line);
  background: radial-gradient(60% 80% at 50% 0%, rgba(142, 125, 255, 0.06), transparent 70%);
  overflow: hidden;
}

.formats .section-head {
  margin-bottom: 44px;
}

.marquee-row + .marquee-row {
  margin-top: 12px;
}

.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}

.track {
  display: flex;
  width: max-content;
  animation: marquee 48s linear infinite;
}

.track.reverse {
  animation-direction: reverse;
  animation-duration: 58s;
}

.marquee:hover .track {
  animation-play-state: paused;
}

.group {
  display: flex;
  gap: 12px;
  padding-right: 12px;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

.fmt {
  display: inline-flex;
  align-items: center;
  padding: 9px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: #b6b2c4;
  white-space: nowrap;
  transition: border-color 0.25s ease, color 0.25s ease, background 0.25s ease;
}

.fmt:hover {
  border-color: rgba(142, 125, 255, 0.35);
  background: rgba(142, 125, 255, 0.07);
  color: #fff;
}

/* Compare table */

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  -webkit-overflow-scrolling: touch;
}

.compare-table {
  width: 100%;
  min-width: 840px;
  border-collapse: collapse;
  font-size: 13px;
}

.compare-table th,
.compare-table td {
  padding: 15px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}

.compare-table thead th {
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0;
  color: #ded9e8;
  background: rgba(255, 255, 255, 0.025);
  white-space: nowrap;
}

.compare-table thead th:first-child {
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--muted-2);
}

.compare-table tbody th {
  font-weight: 500;
  color: #d3cfdc;
}

.compare-table tbody tr:hover td,
.compare-table tbody tr:hover th {
  background: rgba(255, 255, 255, 0.018);
}

.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td {
  border-bottom: none;
}

.compare-table .ours {
  background: rgba(142, 125, 255, 0.055);
  color: #e6e0ff;
}

.compare-table thead .ours {
  background: rgba(142, 125, 255, 0.1);
  color: #fff;
}

.brand-mini {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 5px;
  border-radius: 3px;
  background: var(--grad);
  vertical-align: 0;
}

.yes,
.no {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.yes {
  color: var(--mint);
}

.yes svg,
.no svg {
  width: 14px;
  height: 14px;
  flex: none;
}

.no {
  color: #8b8797;
}

.table-note {
  margin-top: 16px;
  text-align: center;
  font-size: 11.5px;
  color: #6f6c7b;
}

/* Download */

.dl-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.dl-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px 22px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.038), rgba(255, 255, 255, 0.012));
  transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.dl-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
}

.dl-card-accent {
  border-color: rgba(142, 125, 255, 0.35);
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(255, 157, 108, 0.12), transparent 60%),
    linear-gradient(180deg, rgba(142, 125, 255, 0.14), rgba(142, 125, 255, 0.03));
}

.dl-card-accent:hover {
  border-color: rgba(142, 125, 255, 0.55);
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(255, 157, 108, 0.16), transparent 60%),
    linear-gradient(180deg, rgba(142, 125, 255, 0.18), rgba(142, 125, 255, 0.045));
}

.dl-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 3px 8px;
  border: 1px solid rgba(126, 230, 195, 0.3);
  border-radius: 999px;
  background: rgba(126, 230, 195, 0.08);
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mint);
}

.dl-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  color: #ded9ea;
}

.dl-icon svg {
  width: 19px;
  height: 19px;
}

.dl-card-accent .dl-icon {
  border-color: rgba(142, 125, 255, 0.3);
  background: rgba(142, 125, 255, 0.14);
  color: #e2d9ff;
}

.dl-card h3 {
  margin-top: 18px;
  font-size: 16px;
}

.dl-card p {
  margin-top: 6px;
  font-size: 12.5px;
  color: var(--muted);
}

.dl-meta {
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.02em;
  color: #747180;
}

.dl-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  font-weight: 600;
  color: #e6e0ff;
  transition: color 0.2s ease;
}

.dl-link .ic {
  width: 14px;
  height: 14px;
  transition: transform 0.25s var(--ease);
}

.dl-link:hover {
  color: #fff;
}

.dl-link:hover .ic {
  transform: translateX(3px);
}

.source-card {
  display: grid;
  grid-template-columns: 0.85fr 1.3fr;
  gap: 32px;
  align-items: center;
  margin-top: 18px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.012));
}

.source-copy h3 {
  font-size: 19px;
}

.source-copy p {
  margin-top: 10px;
  max-width: 360px;
  font-size: 13.5px;
  line-height: 1.68;
  color: var(--muted);
}

.source-copy .text-link {
  margin-top: 16px;
}

.terminal {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #08080d;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.terminal-head {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 38px;
  padding: 0 12px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.terminal-dots {
  display: flex;
  gap: 6px;
}

.terminal-dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34323c;
}

.terminal-title {
  font-family: var(--font-mono);
  font-size: 9.5px;
  color: #6f6c7b;
}

.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  padding: 4px 9px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.04);
  font-size: 10.5px;
  color: #b3aec0;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.copy-btn:hover {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
}

.copy-btn.copied {
  border-color: rgba(126, 230, 195, 0.4);
  color: var(--mint);
}

.copy-btn .ic {
  width: 12px;
  height: 12px;
}

.terminal pre {
  margin: 0;
  padding: 16px 18px 20px;
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.85;
  color: #c9c4d6;
}

.t-prompt {
  color: var(--mint);
  user-select: none;
}

/* FAQ */

.faq-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(36px, 6vw, 76px);
  align-items: start;
}

.faq-copy {
  position: sticky;
  top: 108px;
}

.faq-copy h2 {
  margin-top: 18px;
  font-size: clamp(1.95rem, 3.8vw, 3rem);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.022);
  transition: border-color 0.25s ease, background 0.25s ease;
}

.faq-item[open] {
  border-color: rgba(142, 125, 255, 0.28);
  background: rgba(255, 255, 255, 0.035);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  list-style: none;
  cursor: pointer;
  font-size: 14.5px;
  font-weight: 500;
  color: #e8e5f0;
  transition: color 0.2s ease;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary:hover {
  color: #fff;
}

.plus {
  position: relative;
  width: 18px;
  height: 18px;
  flex: none;
  color: #a9a4b8;
  transition: transform 0.3s var(--ease), color 0.3s ease;
}

.plus::before,
.plus::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 2px;
  background: currentColor;
  transform: translate(-50%, -50%);
}

.plus::before {
  width: 13px;
  height: 1.6px;
}

.plus::after {
  width: 1.6px;
  height: 13px;
}

.faq-item[open] .plus {
  transform: rotate(45deg);
  color: var(--iris-soft);
}

.faq-body {
  animation: fadeIn 0.3s ease;
}

.faq-body p {
  padding: 0 20px 20px;
  max-width: 96%;
  font-size: 13.5px;
  line-height: 1.72;
  color: var(--muted);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Final CTA */

.final-cta {
  padding-block: 0 clamp(84px, 10vw, 120px);
}

.cta-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(56px, 8vw, 92px) clamp(24px, 5vw, 64px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  background:
    radial-gradient(85% 130% at 16% 0%, rgba(142, 125, 255, 0.3), transparent 58%),
    radial-gradient(80% 120% at 86% 100%, rgba(255, 157, 108, 0.2), transparent 56%),
    linear-gradient(180deg, #12111b, #0a0a10);
  text-align: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 40px 100px rgba(0, 0, 0, 0.4);
}

.cta-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 60% 80% at 50% 40%, #000 10%, transparent 72%);
  mask-image: radial-gradient(ellipse 60% 80% at 50% 40%, #000 10%, transparent 72%);
  pointer-events: none;
}

.cta-panel > * {
  position: relative;
  z-index: 1;
}

.cta-panel h2 {
  margin-top: 18px;
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  line-height: 1.05;
}

.cta-panel > p {
  max-width: 520px;
  margin: 18px auto 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
}

.cta-panel .cta-row {
  margin-top: 30px;
}

.cta-panel .cta-note {
  margin-top: 22px;
  font-size: 11.5px;
  color: var(--muted-2);
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.014), transparent 45%);
  padding-top: 62px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 0.75fr 0.75fr 0.75fr;
  gap: 40px;
}

.footer-brand p {
  max-width: 320px;
  margin-top: 18px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted-2);
}

.socials {
  display: flex;
  gap: 8px;
  margin-top: 20px;
}

.socials a {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  color: #a8a4b4;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.socials a:hover {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.footer-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-col h4 {
  margin-bottom: 13px;
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6f6c7b;
}

.footer-col a {
  padding: 5px 0;
  font-size: 13px;
  color: var(--muted);
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 48px;
  padding-block: 22px 26px;
  border-top: 1px solid var(--line);
  font-size: 11.5px;
  color: #666371;
}

/* Responsive */

@media (max-width: 1120px) {
  .float-chip {
    display: none;
  }

  .editor-body {
    grid-template-columns: 52px minmax(0, 1fr) 262px;
  }

  .panel {
    padding-inline: 11px;
  }
}

@media (max-width: 980px) {
  .nav-links {
    position: fixed;
    top: 76px;
    left: 16px;
    right: 16px;
    z-index: 99;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 14px;
    border: 1px solid var(--line-strong);
    border-radius: 18px;
    background: rgba(11, 11, 17, 0.96);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.25s var(--ease), visibility 0.25s;
  }

  .site-header.nav-open .nav-links {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav-links a {
    padding: 12px 14px;
    font-size: 15px;
    border-radius: 10px;
  }

  .menu-btn {
    display: block;
  }

  .editor-body {
    grid-template-columns: 52px minmax(0, 1fr);
    height: 512px;
  }

  .panels {
    display: none;
  }

  .hero {
    padding-top: 138px;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .split {
    grid-template-columns: 1fr;
  }

  .compare-card {
    max-width: 640px;
    margin-inline: auto;
    width: 100%;
  }

  .dl-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .source-card {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .faq-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .faq-copy {
    position: static;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .gh-pill {
    display: none;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 26px 24px;
    padding-block: 34px;
  }

  .stat + .stat {
    border-left: 0;
    padding-left: 0;
  }

  .stat:nth-child(even) {
    border-left: 1px solid var(--line);
    padding-left: 24px;
  }

  .editor-menus {
    display: none;
  }

  .editor-doc {
    margin-left: auto;
  }

  .hero {
    padding-top: 124px;
  }
}

@media (max-width: 640px) {
  .container {
    width: calc(100% - 40px);
  }

  .nav {
    height: 68px;
  }

  .nav-links {
    top: 68px;
  }

  .hero h1 {
    font-size: clamp(2.1rem, 8.6vw, 2.8rem);
  }

  .hero-copy .lede {
    font-size: 15px;
  }

  .cta-row .btn {
    flex: 1 1 auto;
  }

  .editor-top {
    height: 40px;
  }

  .editor-body {
    grid-template-columns: 1fr;
    height: 400px;
  }

  .tools {
    display: none;
  }

  .canvas-wrap {
    padding: 10px 10px 0;
  }

  .editor-status span:nth-child(3) {
    display: none;
  }

  .canvas-title {
    font-size: clamp(30px, 9vw, 42px);
  }

  .section-head {
    margin-bottom: 34px;
  }

  .feature-grid,
  .dl-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    padding: 22px 20px 24px;
  }

  .stats-grid {
    gap: 24px 20px;
  }

  .stat-num {
    font-size: 1.7rem;
  }

  .faq-item summary {
    padding: 16px;
    font-size: 13.8px;
  }

  .faq-body p {
    padding: 0 16px 18px;
  }

  .source-card {
    padding: 20px;
  }

  .terminal pre {
    font-size: 10.5px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px 24px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .cta-panel .btn {
    width: 100%;
  }
}

@media (max-width: 460px) {
  .nav-actions .btn-sm {
    display: none;
  }

  .pill {
    gap: 7px;
    font-size: 11.5px;
    padding-inline: 10px;
  }

  .pill-sep,
  .pill > span:nth-of-type(3) {
    display: none;
  }

  .hero-meta {
    gap: 6px 14px;
    font-size: 11.5px;
  }

  .hero-meta .meta-dot {
    display: none;
  }

  .cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-row .btn {
    width: 100%;
  }

  .compare-label {
    font-size: 8.5px;
    padding: 4px 8px;
  }

  .editor-status span:nth-child(2) {
    display: none;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .stat:nth-child(even) {
    border-left: 0;
    padding-left: 0;
  }

  .stat + .stat {
    border-top: 1px solid var(--line);
    padding-top: 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0s !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }

  .hero-copy > *,
  .editor-wrap {
    opacity: 1;
    transform: none;
  }
}
