

@font-face {
  font-family: "Pally";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/pally-700.woff2") format("woff2");
}
@font-face {
  font-family: "Caveat";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/caveat-latin-ext.woff2") format("woff2");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Caveat";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/caveat-latin.woff2") format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("assets/fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("assets/fonts/inter-latin.woff2") format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/inter-latin.woff2") format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/inter-latin.woff2") format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/inter-latin.woff2") format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/inter-latin.woff2") format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/jetbrains-mono-latin-ext.woff2") format("woff2");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/jetbrains-mono-latin.woff2") format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/jetbrains-mono-latin-ext.woff2") format("woff2");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/jetbrains-mono-latin.woff2") format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #0a0a0f;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-hover: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);

  --yellow: #f5c842;
  --blue: #4a9eff;
  --pink: #f06292;
  --green: #66bb6a;
  --purple: #ab47bc;

  --text-1: #f0f0f5;
  --text-2: rgba(240, 240, 245, 0.6);
  --text-3: rgba(240, 240, 245, 0.35);

  --accent: #6b8aff;
  --accent-glow: rgba(107, 138, 255, 0.35);

  --manifesto-accent: #f5c842;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", monospace;

  --glass-bg: rgba(255, 255, 255, 0.055);
  --glass-border: rgba(255, 255, 255, 0.11);
  --glass-blur: blur(24px) saturate(1.5);

  --nav-btn-bg: rgba(255, 255, 255, 0.11);
  --nav-btn-bg-hover: rgba(255, 255, 255, 0.18);
  --nav-btn-border: rgba(255, 255, 255, 0.18);
  --nav-btn-border-hover: rgba(255, 255, 255, 0.3);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text-1);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  transition:
    background 0.3s,
    color 0.3s;
}

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

.dot-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.12) 1px,
    transparent 1px
  );
  background-size: 28px 28px;
  mask-image: radial-gradient(
    ellipse 100% 100% at 50% 0%,
    black 0%,
    transparent 80%
  );
  -webkit-mask-image: radial-gradient(
    ellipse 100% 100% at 50% 0%,
    black 0%,
    transparent 80%
  );
}

.ambient {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.18;
  animation: blob-drift 20s ease-in-out infinite alternate;
}

.blob-1 {
  width: 600px;
  height: 600px;
  background: var(--yellow);
  top: -200px;
  left: -100px;
  animation-delay: 0s;
}
.blob-2 {
  width: 500px;
  height: 500px;
  background: var(--blue);
  top: 200px;
  right: -150px;
  animation-delay: -7s;
}
.blob-3 {
  width: 400px;
  height: 400px;
  background: var(--pink);
  bottom: 0;
  left: 30%;
  animation-delay: -14s;
}

@media (max-width: 600px) {
  .blob-1 {
    width: 420px;
    height: 420px;
    top: 90px;
    left: -60px;
  }
}

@keyframes blob-drift {
  0% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(30px, -40px) scale(1.05);
  }
  100% {
    transform: translate(-20px, 30px) scale(0.95);
  }
}

.glass-pill {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-radius: 100px;
}

.glass-pill-sm {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 100px;
  padding: 4px 12px;
  font-size: 13px;
}

.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-radius: var(--radius-lg);
  transition:
    background 0.25s,
    border-color 0.25s,
    transform 0.25s;
}

.glass-card:hover {
  background: var(--surface-hover);
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.glass-card-large {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-radius: var(--radius-xl);
}

.glass-note {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-radius: var(--radius-md);
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}


.nav {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 22px;
  width: min(880px, calc(100vw - 32px));
  padding: 7px 8px 7px 18px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-radius: 100px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
  transition:
    top 0.25s ease,
    padding 0.25s ease,
    box-shadow 0.25s ease,
    width 0.25s ease;
}

.nav.scrolled {
  top: 10px;
  padding: 5px 6px 5px 14px;
  width: min(780px, calc(100vw - 32px));
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.14);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  padding-right: 0;
  height: 32px;
  transition:
    height 0.25s ease,
    gap 0.25s ease;
}

.nav.scrolled .nav-brand {
  height: 28px;
  gap: 10px;
}

.nav-dots {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
  width: 22px;
  transition:
    width 0.25s ease,
    gap 0.25s ease;
}

.nav.scrolled .nav-dots {
  width: 20px;
  gap: 3px;
}

.nav-dots span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--text-1);
  display: block;
  opacity: 0.85;
  transition:
    width 0.25s ease,
    height 0.25s ease;
}

.nav.scrolled .nav-dots span {
  width: 4px;
  height: 4px;
}

.nav-dots span:nth-child(1) {
  animation-delay: 0s;
}
.nav-dots span:nth-child(2) {
  animation-delay: 0.06s;
}
.nav-dots span:nth-child(3) {
  animation-delay: 0.12s;
}
.nav-dots span:nth-child(4) {
  animation-delay: 0.18s;
}
.nav-dots span:nth-child(5) {
  animation-delay: 0.09s;
}
.nav-dots span:nth-child(6) {
  animation-delay: 0.15s;
}
.nav-dots span:nth-child(7) {
  animation-delay: 0.21s;
}
.nav-dots span:nth-child(8) {
  animation-delay: 0.27s;
}

.nav-dots.waving span {
  animation-name: nav-wave;
  animation-duration: 0.85s;
  animation-timing-function: ease-in-out;
}

@keyframes nav-wave {
  0%,
  100% {
    opacity: 0.85;
  }
  40% {
    opacity: 0.4;
  }
  70% {
    opacity: 1;
  }
}

.nav-name {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 700;
  color: var(--text-1);
  letter-spacing: -0.015em;
  transition: font-size 0.25s ease;
}

.nav.scrolled .nav-name {
  font-size: 15px;
}

.nav-links {
  display: flex;
  gap: 26px;
  flex: 1;
  justify-content: center;
}

.nav-links a {
  position: relative;
  color: var(--text-2);
  font-size: 14px;
  font-weight: 400;
  transition: color 0.2s;
  padding: 4px 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -2px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  transform: translateX(-50%) scale(0);
  transition: transform 0.2s;
}

.nav-links a:hover {
  color: var(--text-1);
}
.nav-links a.active {
  color: var(--text-1);
}
.nav-links a.active::after {
  transform: translateX(-50%) scale(1);
}

.nav-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.nav-ctl {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 500;
  font-family: var(--font-body);
  color: var(--text-1);
  background: transparent;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  white-space: nowrap;
  transition:
    background 0.2s,
    transform 0.15s,
    opacity 0.2s;
}

.nav-ctl:hover {
  background: var(--nav-btn-bg-hover);
}

.nav-ctl-primary {
  background: var(--text-1);
  color: var(--bg);
  font-weight: 600;
  padding: 0 20px;
}
.nav-ctl-primary:hover {
  transform: translateY(-1px);
  opacity: 0.92;
  background: var(--text-1);
}

.theme-toggle.nav-ctl {
  width: 34px;
  height: 34px;
  padding: 0;
  color: var(--text-2);
}
.theme-toggle.nav-ctl:hover {
  color: var(--text-1);
}

.nav.scrolled .nav-ctl {
  height: 30px;
  padding: 0 14px;
  font-size: 13px;
}
.nav.scrolled .nav-ctl-primary {
  padding: 0 16px;
}
.nav.scrolled .theme-toggle.nav-ctl {
  width: 30px;
  height: 30px;
  padding: 0;
}

.hero {
  min-height: auto;
  max-width: 1200px;
  margin: 0 auto;
  padding: 160px 40px 72px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.hero-heading {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 16px;
  color: var(--text-2);
  font-size: 13px;
}

.hero-badge-tag {
  padding: 0;
  gap: 10px;
  background: none;
  border: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.hero-badge-text {
  font-family: var(--font-body);
  font-size: 26px;
  font-weight: 300;
  color: var(--text-2);
  letter-spacing: -0.01em;
}

.hero-badge-text strong {
  font-weight: 700;
  font-size: 1.3em;
  color: var(--text-1);
  letter-spacing: -0.02em;
  margin-right: 2px;
}

.hero-badge-icon {
  width: 36px;
  height: 36px;
  display: block;
  border-radius: 9px;
  flex-shrink: 0;
}

.hero-app-icon {
  width: 96px;
  height: 96px;
  display: block;
  margin: 0 auto 24px;
  border-radius: 24px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.28);
  position: relative;
  z-index: 1;
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #66bb6a;
  box-shadow: 0 0 6px #66bb6a;
  animation: pulse-dot 2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes pulse-dot {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(0.8);
  }
}

.hero-title {
  font-family: "Pally", var(--font-body);
  font-size: clamp(2.6rem, 5.2vw, 4.8rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
  text-wrap: balance;
}

.title-cluster {
  white-space: nowrap;
}

.title-click {
  display: inline-block;
  width: 0.55em;
  height: 0.55em;
  margin-left: 0.08em;
  vertical-align: middle;
  position: relative;
  top: -0.08em;
  color: var(--text-1);
  transform-origin: left center;
  transition:
    color 0.25s ease,
    transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hero-title:hover .title-click {
  color: var(--yellow);
  transform: scale(1.25);
}

.title-highlight {
  background: linear-gradient(
    135deg,
    var(--yellow) 0%,
    var(--pink) 50%,
    var(--blue) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 17px;
  color: var(--text-2);
  line-height: 1.6;
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
  text-wrap: balance;
}

.hero-sub code {
  font-family: var(--font-mono);
  font-size: 14px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 5px;
  padding: 1px 6px;
  color: var(--text-1);
}

body.light .hero-sub code {
  background: rgba(0, 0, 0, 0.06);
}

.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 0;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--text-1);
  color: var(--bg);
  border: none;
  border-radius: 100px;
  padding: 14px 28px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition:
    opacity 0.2s,
    transform 0.2s,
    box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(240, 240, 245, 0.2);
}

.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  box-shadow: 0 8px 30px rgba(240, 240, 245, 0.3);
}

.btn-large {
  padding: 16px 36px;
  font-size: 16px;
}

.btn-ghost {
  color: var(--text-2);
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s;
  padding: 4px 0;
}
.btn-ghost:hover {
  color: var(--text-1);
}

.hero-footnote {
  font-size: 12px;
  color: var(--text-3);
  font-style: italic;
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}

.snap-stage {
  --t: 0;
  --drift: 32px;
  --drift-y: 6px;
  position: relative;
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  padding: 14px 0;
  min-height: 252px;
  overflow-x: clip;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

.snap-pair {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0;
  padding: 0 20px;
}

.snap-note {
  width: 300px;
  height: 200px;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  background: var(--note-bg);
  border: 1px solid rgba(0, 0, 0, 0.26);
  border-radius: 10px;
  overflow: hidden;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  font-family: var(--font-body);
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  cursor: default;
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.1),
    0 3px 8px rgba(0, 0, 0, 0.1);
  transition:
    transform 0.08s linear,
    box-shadow 0.25s ease;
}

.snap-note * {
  font-family: var(--font-body);
}

.snap-note-yellow {
  --note-bg: #ffcc00;
  color: #000;
}
.snap-note-green {
  --note-bg: #00c95c;
  color: #000;
}
.snap-note-pink {
  --note-bg: #ff3d6a;
  color: #000;
}
.snap-note-blue {
  --note-bg: #0097ff;
  color: #000;
}

.snap-note,
.signoff-note {
  --note-body-bg: color-mix(in srgb, var(--note-bg) 70%, #fff);
}

.snap-note .note-titlebar,
.signoff-note .note-titlebar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  background: var(--note-bg);
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.02);
}

.snap-note .note-title,
.signoff-note .note-title {
  flex: 1;
  min-width: 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.015em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.snap-note .note-pin,
.snap-note .note-dots,
.snap-note .note-close,
.signoff-note .note-pin,
.signoff-note .note-dots,
.signoff-note .note-close {
  flex-shrink: 0;
  color: currentColor;
}

.snap-note .note-pin,
.signoff-note .note-pin {
  display: inline-flex;
  opacity: 0.25;
}

.snap-note .note-dots,
.signoff-note .note-dots {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
  width: 30px;
}

.snap-note .note-dots span,
.signoff-note .note-dots span {
  width: 5px;
  height: 5px;
  display: block;
  opacity: 0.7;
  background: transparent;
}

.snap-note .note-dots span svg,
.signoff-note .note-dots span svg {
  display: block;
  width: 100%;
  height: 100%;
}

.snap-note .note-dots span svg circle,
.signoff-note .note-dots span svg circle {
  fill: currentColor;
}

.snap-note .note-dots.grip {
  width: 30px;
  gap: 3px;
}
.snap-note .note-dots.grip span {
  width: 5px;
  height: 5px;
  background: transparent;
  border-radius: 0;
  opacity: 0.7;
}

.snap-note .note-close,
.signoff-note .note-close {
  font-size: 10px;
  opacity: 0.55;
}

.snap-note .note-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12px;
  line-height: 1.55;
  background: var(--note-body-bg);
  margin-top: -1px;
}

.snap-note .md-h1 {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.snap-note .md-text {
  opacity: 0.92;
}

.snap-note kbd {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.85em;
  font-weight: 500;
  padding: 1px 6px;
  background: rgba(0, 0, 0, 0.14);
  border: none;
  border-radius: 4px;
  color: inherit;
  vertical-align: baseline;
}

.snap-note-left {
  transform: translate(
    calc(-1 * var(--drift) * (1 - var(--t))),
    calc(var(--drift-y) * (1 - var(--t)))
  );
}

.snap-note-right {
  transform: translate(
    calc(var(--drift) * (1 - var(--t))),
    calc(-1 * var(--drift-y) * (1 - var(--t)))
  );
  margin-left: -1px;
}

.snap-body {
  display: grid;
  grid-template-columns: 1fr;
}

.snap-body .snap-pre,
.snap-body .snap-post {
  grid-row: 1;
  grid-column: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition:
    opacity 0.28s ease,
    filter 0.28s ease;
}

.snap-body .snap-pre {
  opacity: 1;
  filter: blur(0);
}
.snap-body .snap-post {
  opacity: 0;
  filter: blur(2px);
  pointer-events: none;
}

.snap-stage.snapped .snap-body .snap-pre {
  opacity: 0;
  filter: blur(2px);
  pointer-events: none;
}
.snap-stage.snapped .snap-body .snap-post {
  opacity: 1;
  filter: blur(0);
  pointer-events: auto;
}

.snap-note .note-title {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.note-title.snap-swap .snap-post {
  display: none;
}
.snap-stage.snapped .note-title.snap-swap .snap-pre {
  display: none;
}
.snap-stage.snapped .note-title.snap-swap .snap-post {
  display: inline;
}

.snap-stage.just-snapped .snap-note {
  animation: snap-bounce 0.42s cubic-bezier(0.3, 1.6, 0.4, 1);
}

.snap-impact {
  position: absolute;
  left: 50%;
  width: 14px;
  height: 14px;
  margin-left: -7px;
  margin-top: -7px;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  transform: scale(0);
  opacity: 0;
  pointer-events: none;
  z-index: 12;
}

.snap-impact::before,
.snap-impact::after {
  content: "";
  position: absolute;
  inset: -1.5px;
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  transform: scale(1);
  opacity: 0;
}

.snap-impact-top {
  top: 0;
}
.snap-impact-bottom {
  bottom: 0;
}

.snap-stage.just-snapped .snap-impact {
  animation: impact-ring 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.snap-stage.just-snapped .snap-impact::before {
  animation: impact-ring 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.08s forwards;
}
.snap-stage.just-snapped .snap-impact::after {
  animation: impact-ring 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.16s forwards;
}

@keyframes impact-ring {
  0% {
    transform: scale(0.3);
    opacity: 0.85;
  }
  100% {
    transform: scale(5);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .snap-stage.just-snapped .snap-impact,
  .snap-stage.just-snapped .snap-impact::before,
  .snap-stage.just-snapped .snap-impact::after {
    animation: none !important;
  }
}

@keyframes snap-bounce {
  0% {
    transform: var(--base-tf, none);
  }
  40% {
    transform: scale(1.005);
  }
  100% {
    transform: scale(1);
  }
}

.snap-stage.snapped .snap-pair {
  animation: snap-group-orbit 5.5s ease-in-out infinite;
  animation-delay: 0.6s;
  will-change: transform;
}

@keyframes snap-group-orbit {
  0%,
  40%,
  100% {
    transform: translate(0, 0);
  }
  46.25% {
    transform: translate(4.2px, -1.8px);
  }
  52.5% {
    transform: translate(6px, -6px);
  }
  58.75% {
    transform: translate(4.2px, -10.2px);
  }
  65% {
    transform: translate(0, -12px);
  }
  71.25% {
    transform: translate(-4.2px, -10.2px);
  }
  77.5% {
    transform: translate(-6px, -6px);
  }
  83.75% {
    transform: translate(-4.2px, -1.8px);
  }
  90% {
    transform: translate(0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .snap-note-left,
  .snap-note-right {
    transform: none !important;
  }
  .snap-stage.just-snapped .snap-note {
    animation: none !important;
  }
  .snap-stage.snapped .snap-pair {
    animation: none !important;
  }
}

.mock-note {
  position: relative;
  width: 220px;
  border-radius: var(--radius-md);
  overflow: hidden;

  transition: transform 0.3s ease;
}

.mock-note:not(.snap-note):hover {
  transform: scale(1.02) rotate(-1deg);
}

.note-dots.grip span.ripple {
  animation: grip-ripple 0.52s ease-out;
}

@keyframes grip-ripple {
  0% {
    opacity: 0.1;
    transform: scale(1);
  }
  45% {
    opacity: 0.6;
    transform: scale(1.2);
  }
  100% {
    opacity: 0.1;
    transform: scale(1);
  }
}

.note-titlebar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 2px 8px;
}

.note-dots.grip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5px;
  width: 18px;
  cursor: grab;
}

.note-dots.grip span {
  width: 3.5px;
  height: 3.5px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.5;
  display: block;
}

.note-title {
  flex: 1;
  font-size: 12px;
  font-weight: 500;
  font-family: var(--font-mono);
  opacity: 0.9;
}

.note-close,
.note-pin {
  font-size: 10px;
  opacity: 0.5;
  cursor: pointer;
}

.note-body {
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 11px;
}

.md-task {
  opacity: 0.85;
}
.md-task.done {
  opacity: 0.5;
  text-decoration: line-through;
}
.md-h1 {
  font-weight: 700;
  font-size: 13px;
  opacity: 0.95;
  margin-bottom: 3px;
}
.md-text {
  opacity: 0.75;
}
.md-code {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  padding: 0 4px;
  font-size: 10px;
}

.note-yellow {
  background: rgba(245, 200, 66, 0.17);
  border-color: rgba(245, 200, 66, 0.35) !important;
  color: #f5e8b0;
}
.note-yellow .note-titlebar {
  background: rgba(245, 200, 66, 0.15);
}

.note-blue {
  background: rgba(74, 158, 255, 0.18);
  border-color: rgba(74, 158, 255, 0.35) !important;
  color: #b3d4ff;
}
.note-blue .note-titlebar {
  background: rgba(74, 158, 255, 0.15);
}

.note-pink {
  background: rgba(240, 98, 146, 0.18);
  border-color: rgba(240, 98, 146, 0.35) !important;
  color: #f8c0d0;
}
.note-pink .note-titlebar {
  background: rgba(240, 98, 146, 0.15);
}

.collapsed-note .note-body {
  display: none;
}
.collapsed-note {
  width: 200px;
}

.trigger-preview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  align-items: center;
  justify-items: center;
  padding: 7px 10px;
  width: 60px;
  height: 32px;
  margin-top: 16px;
}

.privacy {
  padding: 44px 0;
}

.privacy-card {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 40px 56px;
  align-items: start;
  max-width: 940px;
  margin: 0 auto;
  padding: 44px 48px;
}

.privacy-card:hover {
  background: var(--glass-bg);
  border-color: var(--glass-border);
  transform: none;
}

.privacy-lead .section-label {
  text-align: left;
  margin-bottom: 14px;
}

.privacy-title {
  font-size: clamp(1.45rem, 2.5vw, 1.95rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 14px;
  text-wrap: balance;
}

.privacy-sub {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-2);
}

.privacy-note {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.6;
  color: var(--text-2);
}
.privacy-note a {
  color: var(--text-2);
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
}

.privacy-grid {
  display: grid;
  gap: 24px;
  align-self: center;
}

.privacy-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 14px;
  align-items: start;
  text-align: left;
}

.privacy-item .privacy-icon {
  grid-row: span 2;
}

.privacy-item h3,
.privacy-item p {
  grid-column: 2;
}

.privacy-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-1);
}
.privacy-icon svg {
  width: 17px;
  height: 17px;
}

.privacy-item h3 {
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text-1);
  margin: 7px 0 2px;
}

.privacy-item p {
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-2);
}

.privacy-item code {
  font-family: var(--font-mono);
  font-size: 12px;
  background: var(--surface-hover);
  border-radius: 4px;
  padding: 0 4px;
  color: var(--text-1);
}

@media (max-width: 860px) {
  .privacy-card {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    padding: 36px 32px;
  }
}

@media (max-width: 520px) {
  .privacy {
    padding: 56px 0;
  }
  .privacy-card {
    padding: 30px 24px;
  }
}

.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 140px 24px 100px;
  position: relative;
  z-index: 1;
}

.legal-header {
  margin-bottom: 44px;
}

.legal h1 {
  font-family: "Pally", var(--font-body);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--text-1);
  margin-bottom: 12px;
}

.legal-meta {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-3);
  line-height: 1.7;
}

.legal-note {
  margin-top: 24px;
  padding: 14px 18px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  background: var(--surface);
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-2);
}

.legal h2 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--text-1);
  margin: 42px 0 14px;
}

.legal p,
.legal li {
  font-size: 15.5px;
  line-height: 1.72;
  color: var(--text-2);
}

.legal p {
  margin-bottom: 16px;
}

.legal ul,
.legal ol {
  margin: 0 0 16px;
  padding-left: 22px;
}

.legal li {
  margin-bottom: 8px;
}

.legal strong {
  color: var(--text-1);
  font-weight: 600;
}

.legal a {
  color: var(--text-1);
  text-decoration: underline;
  text-decoration-color: var(--border-strong);
  text-underline-offset: 2px;
  transition: text-decoration-color 0.2s;
}
.legal a:hover {
  text-decoration-color: currentColor;
}

.legal code {
  font-family: var(--font-mono);
  font-size: 0.88em;
  background: var(--surface-hover);
  border-radius: 4px;
  padding: 1px 5px;
  color: var(--text-1);
}

.legal-back {
  display: inline-block;
  margin-top: 8px;
  font-size: 14px;
  color: var(--text-3);
}

.notfound {
  padding: clamp(150px, 22vh, 240px) 24px clamp(80px, 14vh, 140px);
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.nf-ghost {
  width: 112px;
  height: 112px;
  image-rendering: pixelated;
  opacity: 0.85;
  filter: invert(1);
  animation: nf-bob 1.1s ease-in-out infinite alternate;
}

@keyframes nf-bob {
  from {
    transform: translateY(8px);
  }
  to {
    transform: translateY(-8px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .nf-ghost {
    animation: none;
  }
}

.nf-caption {
  margin-top: 20px;
  font-family: var(--font-mono);
  font-size: clamp(15px, 2.6vw, 19px);
  font-weight: 500;
  letter-spacing: 0.17em;
  line-height: 1.4;
  color: var(--text-2);
  text-indent: 0.17em;
}

.nf-msg {
  margin: 18px auto 0;
  max-width: 440px;
  font-size: 15.5px;
  line-height: 1.72;
  color: var(--text-2);
}

.nf-path {
  font-family: var(--font-mono);
  font-size: 0.88em;
  background: var(--surface-hover);
  border-radius: 4px;
  padding: 1px 5px;
  color: var(--text-1);
  overflow-wrap: anywhere;
}

.nf-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.manifesto {
  padding: 60px 0 60px;
  position: relative;
  text-align: center;
}

.manifesto-inner {
  max-width: 980px;
  margin: 0 auto;
}

.manifesto-statement {
  font-family: "Caveat", var(--font-body);
  font-weight: 700;
  font-size: clamp(2.3rem, 5.2vw, 4.5rem);
  line-height: 1.12;
  letter-spacing: 0.005em;
  color: var(--manifesto-accent);
  margin-bottom: 22px;
  text-wrap: balance;
}

.ms-line {
  display: block;
}

.manifesto-statement.writing .ms-line {
  -webkit-mask-image: linear-gradient(to right, #000 0 33%, transparent 66%);
  mask-image: linear-gradient(to right, #000 0 33%, transparent 66%);
  -webkit-mask-size: 300% 100%;
  mask-size: 300% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: 100% 0;
  mask-position: 100% 0;
  transition:
    -webkit-mask-position 0.95s cubic-bezier(0.33, 0.7, 0.3, 1),
    mask-position 0.95s cubic-bezier(0.33, 0.7, 0.3, 1);
}

.manifesto-statement.writing .ms-line:nth-child(2) {
  transition-delay: 0.28s;
}

.manifesto-statement.writing.written .ms-line {
  -webkit-mask-position: 0 0;
  mask-position: 0 0;
}

@media (prefers-reduced-motion: reduce) {
  .manifesto-statement.writing .ms-line {
    -webkit-mask-image: none;
    mask-image: none;
    transition: none;
  }
}

.manifesto-line {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.6;
  color: var(--text-2);
  max-width: 560px;
  margin: 0 auto;
  text-wrap: balance;
}

@media (max-width: 700px) {
  .manifesto {
    padding: 80px 0;
  }
}

.demo-video {
  padding: 0 0 60px;
  position: relative;
}

.demo-video-inner {
  max-width: 1000px;
}

.demo-video-wrap {
  overflow: hidden;
}

.demo-fallback {
  aspect-ratio: 16 / 9;
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px dashed var(--border-strong);
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-3);
  font-size: 14px;
  text-align: center;
  padding: 24px;
}

.demo-video-wrap video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-xl);
  outline: none;
}

.demo-video-caption {
  text-align: center;
  font-size: 13px;
  color: var(--text-3);
  margin-top: 16px;
  font-style: italic;
}

@media (max-width: 700px) {
  .demo-video {
    padding: 0 0 40px;
  }
}

.feat-card-trigger {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.feat-card-trigger h3,
.feat-card-trigger p {
  align-self: stretch;
  text-align: left;
}

.trigger-screenshot {
  display: block;
  width: auto;
  height: 80px;
  margin: 4px auto 22px;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.45));
}

.trigger-preview span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.65);
  display: block;
}

section {
  position: relative;
}

.section-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 16px;
  text-align: center;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 60px;
  text-align: center;
}

.dimmed {
  color: var(--text-2);
}

.features {
  padding: 80px 0;
}

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

.feat-card {
  padding: 28px;
  position: relative;
  overflow: hidden;
}

.feat-icon {
  font-size: 24px;
  margin-bottom: 16px;
  opacity: 0.85;
  font-family: var(--font-mono);
  letter-spacing: -0.05em;
}

.feat-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.feat-card p {
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.65;
}

.feat-card code {
  font-family: var(--font-mono);
  font-size: 12px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  padding: 1px 6px;
}

.feat-tag-cloud {
  margin-top: 56px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  align-items: center;
}

.feat-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-3);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  padding: 5px 12px;
  position: relative;
  overflow: hidden;
  transition:
    color 0.2s,
    background 0.2s;
}

.feat-tag::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    100deg,
    transparent 20%,
    rgba(255, 255, 255, 0.1) 50%,
    transparent 80%
  );
  transform: translateX(
    calc((var(--sheen, 0) - var(--i, 0) * 0.07) * 600% - 100%)
  );
}

body.light .feat-tag::after {
  background: linear-gradient(
    100deg,
    transparent 20%,
    rgba(0, 0, 0, 0.045) 50%,
    transparent 80%
  );
}

.also-tags .feat-tag:nth-child(1) {
  --i: 0;
}
.also-tags .feat-tag:nth-child(2) {
  --i: 1;
}
.also-tags .feat-tag:nth-child(3) {
  --i: 2;
}
.also-tags .feat-tag:nth-child(4) {
  --i: 3;
}
.also-tags .feat-tag:nth-child(5) {
  --i: 4;
}
.also-tags .feat-tag:nth-child(6) {
  --i: 5;
}
.also-tags .feat-tag:nth-child(7) {
  --i: 6;
}
.also-tags .feat-tag:nth-child(8) {
  --i: 7;
}
.also-tags .feat-tag:nth-child(9) {
  --i: 8;
}
.also-tags .feat-tag:nth-child(10) {
  --i: 9;
}

@media (prefers-reduced-motion: reduce) {
  .feat-tag::after {
    display: none;
  }
}

.feat-tag:hover {
  color: var(--text-2);
  background: rgba(255, 255, 255, 0.07);
}

.feat-tag kbd {
  font-size: 11px;
  padding: 1px 5px;
  --kbd-drop: 0.06em;
}

body.light .feat-tag {
  background: rgba(0, 0, 0, 0.03);
}

.feat-dots-bg {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 55%;
  background-image: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.12) 1px,
    transparent 1px
  );
  background-size: 20px 20px;
  mask-image: linear-gradient(to right, transparent 0%, black 40%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 40%);
  pointer-events: none;
}

.palette-mockup {
  margin-top: 20px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 12px;
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
}

.pm-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.05);
}

.pm-icon {
  opacity: 0.5;
  font-size: 11px;
}
.pm-text {
  color: var(--text-1);
  flex: 1;
}
.pm-cursor {
  animation: blink 1s step-end infinite;
  color: var(--blue);
}
@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

.pm-results {
  padding: 4px 0;
}
.pm-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 12px;
  gap: 12px;
  cursor: pointer;
}
.pm-row.active {
  background: rgba(107, 138, 255, 0.2);
}
.pm-match-title {
  font-weight: 600;
  color: var(--text-1);
}
.pm-match-body {
  color: var(--text-2);
  font-size: 11px;
}
.pm-match-body mark {
  background: transparent;
  color: var(--yellow);
  font-weight: 600;
}
.pm-tag {
  font-size: 10px;
  color: var(--text-3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  padding: 1px 6px;
}

.code-snippet {
  margin-top: 20px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.7;
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
}
.cs-dim {
  color: var(--text-3);
}
.cs-key {
  color: #9e9eff;
}
.cs-val {
  color: var(--yellow);
}
.cs-h {
  color: var(--text-1);
  font-weight: 700;
}

.snap-demo {
  position: relative;
  margin-top: 20px;
  height: 100px;
}

.snap-block {
  position: absolute;
  border-radius: var(--radius-sm);
  padding: 5px 10px 5px 8px;
  font-size: 11px;
  font-family: var(--font-mono);
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: #1f2030;
  color: var(--text-1);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.snap-block-dots {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5px;
  width: 12px;
  flex-shrink: 0;
}

.snap-block-dots span {
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.6;
  display: block;
  animation: snap-dot-ripple 2.5s ease-in-out infinite;
}

.snap-block-dots span:nth-child(1),
.snap-block-dots span:nth-child(5) {
  animation-delay: 0s;
}
.snap-block-dots span:nth-child(2),
.snap-block-dots span:nth-child(6) {
  animation-delay: 0.08s;
}
.snap-block-dots span:nth-child(3),
.snap-block-dots span:nth-child(7) {
  animation-delay: 0.16s;
}
.snap-block-dots span:nth-child(4),
.snap-block-dots span:nth-child(8) {
  animation-delay: 0.24s;
}

.sb-b .snap-block-dots span:nth-child(1),
.sb-b .snap-block-dots span:nth-child(5) {
  animation-delay: 0.32s;
}
.sb-b .snap-block-dots span:nth-child(2),
.sb-b .snap-block-dots span:nth-child(6) {
  animation-delay: 0.4s;
}
.sb-b .snap-block-dots span:nth-child(3),
.sb-b .snap-block-dots span:nth-child(7) {
  animation-delay: 0.48s;
}
.sb-b .snap-block-dots span:nth-child(4),
.sb-b .snap-block-dots span:nth-child(8) {
  animation-delay: 0.56s;
}

.sb-c .snap-block-dots span:nth-child(1),
.sb-c .snap-block-dots span:nth-child(5) {
  animation-delay: 0.64s;
}
.sb-c .snap-block-dots span:nth-child(2),
.sb-c .snap-block-dots span:nth-child(6) {
  animation-delay: 0.72s;
}
.sb-c .snap-block-dots span:nth-child(3),
.sb-c .snap-block-dots span:nth-child(7) {
  animation-delay: 0.8s;
}
.sb-c .snap-block-dots span:nth-child(4),
.sb-c .snap-block-dots span:nth-child(8) {
  animation-delay: 0.88s;
}

@keyframes snap-dot-ripple {
  0%,
  35%,
  100% {
    opacity: 0.55;
    transform: scale(1);
  }
  8% {
    opacity: 1;
    transform: scale(1.5);
  }
}

.sb-a {
  top: 0;
  left: 0;
  background: #1d3a66;
  border-color: rgba(74, 158, 255, 0.55);
  color: #b3d4ff;
}
.sb-b {
  top: 0;
  left: 120px;
  background: #4a1f38;
  border-color: rgba(240, 98, 146, 0.55);
  color: #f8c0d0;
}
.sb-c {
  top: 0;
  left: 240px;
  background: #1f3d22;
  border-color: rgba(102, 187, 106, 0.55);
  color: #b8e0bb;
}

.snap-connector {
  position: absolute;
  top: 14px;
  height: 1px;
  background: rgba(255, 255, 255, 0.25);
  border-top: 1px dashed rgba(255, 255, 255, 0.2);
}
.sc-ab {
  left: 100px;
  width: 18px;
}
.sc-bc {
  left: 220px;
  width: 18px;
}

.reminder-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  color: var(--text-2);
  font-size: 13px;
}

.reminder-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 8px var(--yellow);
  animation: alarm-pulse 1.2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes alarm-pulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 8px var(--yellow);
  }
  50% {
    transform: scale(1.3);
    box-shadow: 0 0 16px var(--yellow);
  }
}

.url-chip {
  font-family: var(--font-mono);
  font-size: 12px;
  padding: 5px 10px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px) saturate(1.3);
  -webkit-backdrop-filter: blur(12px) saturate(1.3);
  border-radius: 6px;
  color: var(--text-1);
  white-space: nowrap;
}

body.light .url-chip {
  background: rgba(255, 255, 255, 0.75);
  border-color: rgba(0, 0, 0, 0.1);
  color: var(--text-1);
}


.hotkey-stack {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hotkey-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--text-2);
}

.feat-sub {
  margin-top: 14px;
  font-size: 12px;
  color: var(--text-3);
  font-style: italic;
}

.md-demo {
  margin-top: 20px;
  padding: 14px 16px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px) saturate(1.3);
  -webkit-backdrop-filter: blur(12px) saturate(1.3);
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-2);
}

body.light .md-demo {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(0, 0, 0, 0.1);
}

.md-demo-line {
  display: flex;
  align-items: center;
  gap: 8px;
}

.md-demo-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  font-size: 12px;
  line-height: 1;
  color: var(--text-3);
}

.md-demo-check-done {
  color: var(--accent);
}
.md-demo-line:has(.md-demo-check-done) {
  color: var(--text-3);
  text-decoration: line-through;
}

.md-demo-code {
  color: var(--yellow);
  background: rgba(255, 255, 255, 0.04);
  padding: 4px 8px;
  border-radius: 4px;
  margin-top: 2px;
}

body.light .md-demo-code {
  background: rgba(0, 0, 0, 0.04);
  color: #b06a00;
}

.capture-demo {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.capture-step {
  display: inline-flex;
  align-items: center;
}

.capture-arrow {
  color: var(--text-3);
  font-family: var(--font-mono);
  font-size: 14px;
}

.capture-chip {
  font-family: var(--font-mono);
  font-size: 12px;
  padding: 4px 10px;
  background: rgba(245, 200, 66, 0.15);
  border: 1px solid rgba(245, 200, 66, 0.35);
  border-radius: 6px;
  color: #f5e8b0;
}

body.light .capture-chip {
  background: rgba(245, 200, 66, 0.2);
  border-color: rgba(195, 155, 20, 0.4);
  color: #7a5e05;
}

.color-swatches {
  display: flex;
  gap: 8px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.sw {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  display: block;
  border: 1px solid rgba(0, 0, 0, 0.15);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.color-swatches-inline {
  margin-top: 14px;
  gap: 6px;
}
.color-swatches-inline .sw {
  width: 14px;
  height: 14px;
  border-radius: 4px;
}

.power-users {
  padding: 20px 0 120px;
}

.power-panel {
  padding: 40px 44px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: center;
}

.power-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.power-title {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin-bottom: 14px;
  color: var(--text-1);
}

.power-sub {
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.65;
}

.power-sub code {
  font-family: var(--font-mono);
  font-size: 12px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 5px;
  padding: 1px 6px;
  color: var(--text-1);
}

body.light .power-sub code {
  background: rgba(0, 0, 0, 0.06);
}

.power-url-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-content: flex-start;
}

@media (max-width: 900px) {
  .power-panel {
    grid-template-columns: 1fr;
    padding: 32px 28px;
    gap: 24px;
  }
  .power-title {
    font-size: 19px;
  }
}

kbd {
  display: inline-flex;
  align-items: center;
  font-family:
    -apple-system, BlinkMacSystemFont, "SF Pro Text", var(--font-body);
  font-weight: 600;
  font-size: 0.9em;
  line-height: 1;
  letter-spacing: 0.02em;
  background: #25252c;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom-width: 2px;
  border-radius: 6px;
  padding: 4px 8px;
  --kbd-drop: 0.14em;
  vertical-align: calc(-1 * var(--kbd-drop));
  color: var(--text-1);
  white-space: nowrap;
}

.download {
  padding: 40px 0 120px;
}

.download-card {
  position: relative;
  max-width: 660px;
  margin: 0 auto;
  padding: 52px 44px;
  text-align: center;
  overflow: hidden;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-radius: var(--radius-xl);
  box-shadow: 0 24px 60px -28px rgba(0, 0, 0, 0.3);
}

.dl-content {
  position: relative;
  z-index: 1;
}

.dl-icon-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}

.dl-icon-dots {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
  width: 46px;
}

.dl-icon-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-1);
  display: block;
  animation: dot-wave 1.8s ease-in-out infinite;
}

.dl-icon-dots span:nth-child(1) {
  animation-delay: 0s;
}
.dl-icon-dots span:nth-child(2) {
  animation-delay: 0.1s;
}
.dl-icon-dots span:nth-child(3) {
  animation-delay: 0.2s;
}
.dl-icon-dots span:nth-child(4) {
  animation-delay: 0.3s;
}
.dl-icon-dots span:nth-child(5) {
  animation-delay: 0.15s;
}
.dl-icon-dots span:nth-child(6) {
  animation-delay: 0.25s;
}
.dl-icon-dots span:nth-child(7) {
  animation-delay: 0.35s;
}
.dl-icon-dots span:nth-child(8) {
  animation-delay: 0.45s;
}

@keyframes dot-wave {
  0%,
  100% {
    opacity: 0.3;
    transform: scale(0.9);
  }
  50% {
    opacity: 1;
    transform: scale(1.1);
  }
}

.download-card h2 {
  font-size: 3.5rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  margin-bottom: 12px;
}

.dl-sub {
  color: var(--text-2);
  font-size: 17px;
  margin-bottom: 36px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.55;
}

.dl-sub code {
  font-family: var(--font-mono);
  font-size: 14px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 5px;
  padding: 1px 6px;
  color: var(--text-1);
}

body.light .dl-sub code {
  background: rgba(0, 0, 0, 0.06);
}

.dl-req {
  margin-top: 16px;
  color: var(--text-3);
  font-size: 13px;
}

.beta-form {
  display: flex;
  gap: 10px;
  max-width: 520px;
  margin: 0 auto;
  align-items: stretch;
  flex-wrap: wrap;
  justify-content: center;
}

.hp-field {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.beta-field {
  position: relative;
  flex: 1 1 260px;
  display: flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  border-radius: 100px;
  padding: 4px 18px;
  transition:
    border-color 0.2s,
    background 0.2s;
}

body.light .beta-field {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(0, 0, 0, 0.1);
}

.beta-field:focus-within {
  border-color: var(--accent);
  background: rgba(107, 138, 255, 0.08);
}

.beta-field-label {
  position: absolute;
  left: -9999px;
}

.beta-field input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: none;
  outline: none;
  padding: 12px 0;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-1);
}

.beta-field input::placeholder {
  color: var(--text-3);
}

.beta-submit {
  flex-shrink: 0;
}

.beta-consent {
  position: relative;
  flex: 1 0 100%;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 4px auto 0;
  text-align: left;
  cursor: pointer;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-2);
}

.beta-consent input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.beta-consent-box {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  border: 1.5px solid var(--border-strong);
  border-radius: 5px;
  background: rgba(0, 0, 0, 0.28);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  transition:
    background 0.18s,
    border-color 0.18s,
    color 0.18s;
}

body.light .beta-consent-box {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(0, 0, 0, 0.18);
}

.beta-consent:hover .beta-consent-box {
  border-color: var(--accent);
}

.beta-consent input:checked + .beta-consent-box {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.beta-consent input:focus-visible + .beta-consent-box {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.beta-consent-text a {
  color: var(--text-1);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.beta-consent.invalid .beta-consent-box {
  border-color: #f06292;
  animation: consent-nudge 0.3s ease;
}

@keyframes consent-nudge {
  0%,
  100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-4px);
  }
  75% {
    transform: translateX(4px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .beta-consent.invalid .beta-consent-box {
    animation: none;
  }
}

.beta-swap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 112px;
}

.beta-form {
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
}
.beta-form.sent {
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
}

.beta-success {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition:
    opacity 0.45s ease 0.15s,
    transform 0.45s ease 0.15s;
}
.beta-form.sent ~ .beta-success {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.beta-success-check {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #4caf82;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.beta-success-check svg {
  width: 22px;
  height: 22px;
}
.beta-success-text {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.35;
}
.beta-success-title {
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.01em;
  color: var(--text-1);
}
.beta-success-sub {
  font-size: 14px;
  color: var(--text-2);
}

@media (max-width: 540px) {
  .beta-form {
    flex-direction: column;
  }
  .beta-field {
    flex: 0 0 auto;
  }
  .beta-field,
  .beta-submit {
    width: 100%;
    justify-content: center;
  }
}

.signoff {
  padding: 56px 0 84px;
  position: relative;
  z-index: 1;
  text-align: center;
  overflow: hidden;
}

.signoff-note {
  display: inline-block;
  width: 300px;
  max-width: 100%;
  text-align: left;
  overflow: hidden;
  background: var(--note-body-bg);
  border: 1px solid rgba(0, 0, 0, 0.26);
  border-radius: 10px;
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.1),
    0 3px 8px rgba(0, 0, 0, 0.1);
  transform: rotate(-1.6deg);
  transition: transform 0.25s ease;
}

.signoff-note:hover {
  transform: rotate(0deg);
}

.signoff-rise {
  --rise: 1;
  display: inline-block;
  transform: translateY(calc((1 - var(--rise)) * 260px))
    rotate(calc((1 - var(--rise)) * -7deg));

}

.signoff-body {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px 16px;
}

.signoff-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid rgba(0, 0, 0, 0.18);
}

.signoff-text {
  font-size: 14px;
  line-height: 1.5;
  color: rgba(0, 0, 0, 0.72);
  text-wrap: balance;
}

.signoff-text a {
  color: #000;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(0, 0, 0, 0.28);
  text-underline-offset: 2px;
  transition: text-decoration-color 0.2s;
}
.signoff-text a:hover {
  text-decoration-color: currentColor;
}

@media (prefers-reduced-motion: reduce) {
  .signoff-note,
  .signoff-note:hover {
    transition: none;
  }
}

.footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
  position: relative;
  z-index: 1;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 15px;
}

.footer-dots {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
  width: 18px;
}

.footer-dots span {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--text-2);
  display: block;
}

.footer-note {
  color: var(--text-3);
  font-size: 13px;
  font-style: italic;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: var(--text-3);
  font-size: 14px;
  transition: color 0.2s;
}

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

.footer-credit {
  margin-top: 22px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-3);
  text-align: center;
}
.footer-credit a {
  color: var(--text-2);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s;
}
.footer-credit a:hover {
  color: var(--text-1);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.features-grid .feat-card:nth-child(1) {
  transition-delay: 0s;
}
.features-grid .feat-card:nth-child(2) {
  transition-delay: 0.05s;
}
.features-grid .feat-card:nth-child(3) {
  transition-delay: 0.1s;
}
.features-grid .feat-card:nth-child(4) {
  transition-delay: 0.15s;
}
.features-grid .feat-card:nth-child(5) {
  transition-delay: 0.2s;
}
.features-grid .feat-card:nth-child(6) {
  transition-delay: 0.25s;
}
.features-grid .feat-card:nth-child(7) {
  transition-delay: 0.3s;
}
.features-grid .feat-card:nth-child(8) {
  transition-delay: 0.35s;
}


@media (max-width: 1000px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .hero {
    padding: 110px 20px 60px;
    gap: 32px;
  }

  .snap-stage {
    max-width: 620px;
  }
  .snap-note {
    width: 250px;
  }
  .snap-note .note-body {
    padding: 12px 14px;
    font-size: 12px;
  }
  .snap-note .md-h1 {
    font-size: 14px;
  }

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

  .nav {
    gap: 12px;
    padding: 6px 8px 6px 10px;
  }
  .nav-links {
    display: none;
  }
  .nav-name {
    display: none;
  }
  .nav-controls {
    margin-left: auto;
  }
}

@media (max-width: 600px) {
  .section-title {
    margin-bottom: 40px;
  }
  .hero {
    padding-bottom: 28px;
    gap: 24px;
  }
  .features {
    padding: 52px 0 80px;
  }
  .download {
    padding: 80px 0;
  }

  .snap-stage {
    min-height: 0;
    --drift: 14px;
    --drift-y: 3px;
    margin-inline: -20px;
    max-width: none;
    width: auto;
  }
  .snap-note {
    width: min(220px, calc((100vw - 68px) / 2));
    height: auto;
    aspect-ratio: 4 / 3;
  }
  .snap-pair {
    padding: 0 8px;
  }
  .snap-note .note-body {
    padding: 10px 12px;
    font-size: 11.5px;
    line-height: 1.45;
  }
}

.theme-toggle {
  background: none;
  cursor: pointer;
  font-size: 15px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  padding: 7px 0;
  flex-shrink: 0;
}

.theme-icon {
  display: none;
  color: var(--text-1);
}

body:not(.light) .theme-icon-dark {
  display: block;
}

body.light .theme-icon-light {
  display: block;
}

body.light {
  --bg: #f0eeeb;
  --surface: rgba(0, 0, 0, 0.03);
  --surface-hover: rgba(0, 0, 0, 0.055);
  --border: rgba(0, 0, 0, 0.07);
  --border-strong: rgba(0, 0, 0, 0.13);

  --text-1: #18181c;
  --text-2: rgba(24, 24, 28, 0.58);
  --text-3: rgba(24, 24, 28, 0.34);

  --manifesto-accent: #4263eb;

  --glass-bg: rgba(255, 255, 255, 0.55);
  --glass-border: rgba(0, 0, 0, 0.09);
  --glass-blur: blur(24px) saturate(1.8);

  --nav-btn-bg: rgba(0, 0, 0, 0.07);
  --nav-btn-bg-hover: rgba(0, 0, 0, 0.12);
  --nav-btn-border: rgba(0, 0, 0, 0.14);
  --nav-btn-border-hover: rgba(0, 0, 0, 0.22);
}

body.light .nf-ghost {
  filter: none;
}

body.light .dot-grid {
  background-image: radial-gradient(
    circle,
    rgba(0, 0, 0, 0.13) 1px,
    transparent 1px
  );
}

body.light .blob-1 {
  opacity: 0.22;
}
body.light .blob-2 {
  opacity: 0.2;
}
body.light .blob-3 {
  opacity: 0.18;
}


body.light .glass-card {
}

body.light .glass-card:hover {
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(0, 0, 0, 0.14);
}

body.light .glass-card-large {
  background: rgba(255, 255, 255, 0.55);
  border-color: rgba(0, 0, 0, 0.08);
}

body.light .glass-note {
  background: rgba(255, 255, 255, 0.55);
  border-color: rgba(0, 0, 0, 0.1);
}

body.light .note-yellow {
  background: rgba(245, 200, 66, 0.25);
  border-color: rgba(195, 155, 20, 0.4) !important;
  color: #7a5e05;
}
body.light .note-yellow .note-titlebar {
  background: rgba(245, 200, 66, 0.2);
}

body.light .note-blue {
  background: rgba(74, 158, 255, 0.18);
  border-color: rgba(30, 100, 200, 0.35) !important;
  color: #1a4e8a;
}
body.light .note-blue .note-titlebar {
  background: rgba(74, 158, 255, 0.15);
}

body.light .note-pink {
  background: rgba(240, 98, 146, 0.15);
  border-color: rgba(190, 50, 100, 0.3) !important;
  color: #8c1a40;
}
body.light .note-pink .note-titlebar {
  background: rgba(240, 98, 146, 0.12);
}

body.light .floating-trigger {
  background: rgba(255, 255, 255, 0.55);
  border-color: rgba(0, 0, 0, 0.1);
}
body.light .floating-trigger span {
  background: rgba(0, 0, 0, 0.5);
}
body.light .trigger-preview span {
  background: rgba(0, 0, 0, 0.45);
}

body.light .nav-dots span {
  background: var(--text-1);
}


body.light .btn-primary {
  background: #18181c;
  color: #f0f0f5;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}
body.light .btn-primary:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.22);
}

body.light kbd {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.18);
  border-bottom-color: rgba(0, 0, 0, 0.28);
  color: var(--text-1);
}

body.light .feat-card code,
body.light .step p code {
  background: rgba(0, 0, 0, 0.07);
}

body.light .code-snippet {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(0, 0, 0, 0.1);
}
body.light .cs-dim {
  color: rgba(0, 0, 0, 0.3);
}
body.light .cs-key {
  color: #3a3aaa;
}
body.light .cs-val {
  color: #b06a00;
}
body.light .cs-h {
  color: var(--text-1);
}

body.light .palette-mockup {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(0, 0, 0, 0.1);
}
body.light .pm-bar {
  background: rgba(0, 0, 0, 0.04);
  border-bottom-color: rgba(0, 0, 0, 0.07);
}
body.light .pm-row.active {
  background: rgba(107, 138, 255, 0.12);
}
body.light .pm-tag {
  border-color: rgba(0, 0, 0, 0.1);
  color: var(--text-3);
}

body.light .snap-block {
  color: var(--text-1);
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.12);
}
body.light .sb-a {
  background: #e0edff;
  border-color: rgba(74, 158, 255, 0.55);
}
body.light .sb-b {
  background: #ffe4ee;
  border-color: rgba(240, 98, 146, 0.55);
}
body.light .sb-c {
  background: #e1f3e3;
  border-color: rgba(102, 187, 106, 0.55);
}
body.light .snap-connector {
  border-top-color: rgba(0, 0, 0, 0.22);
}

body.light .dl-icon-dots span {
  background: var(--text-1);
}

body.light .feat-dots-bg {
  background-image: radial-gradient(
    circle,
    rgba(0, 0, 0, 0.12) 1px,
    transparent 1px
  );
}

body.light .footer {
  border-top-color: rgba(0, 0, 0, 0.08);
}
body.light .footer-dots span {
  background: var(--text-2);
}

body.light .section-label {
  color: var(--text-3);
}

body.light .pm-match-body mark {
  color: #b06a00;
}

body.light .snap-line line {
  stroke: rgba(0, 0, 0, 0.2);
}


.pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.pillar {
  padding: 32px 28px;
}
.pillar-glyph {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  font-family: var(--font-mono);
  font-size: 21px;
  letter-spacing: -0.04em;
  color: var(--c, var(--accent));
  background: color-mix(in srgb, var(--c, var(--accent)) 16%, transparent);
  border: 1px solid color-mix(in srgb, var(--c, var(--accent)) 34%, transparent);
  margin-bottom: 20px;
}
.pillar h3 {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.pillar p {
  color: var(--text-2);
  font-size: 14.5px;
  line-height: 1.65;
}
.pillar-visual {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1010 / 630;
  object-fit: contain;
  object-position: center;
  margin-top: 20px;
}

.pillar-visual img {
  display: block;
  width: 100%;
  height: auto;
}

.pillar-visual-light {
  display: none;
}
.pillar-visual-dark {
  display: block;
}
body.light .pillar-visual-light {
  display: block;
}
body.light .pillar-visual-dark {
  display: none;
}

video.pillar-visual {
  aspect-ratio: auto;
  border-radius: var(--radius-sm);
}

.pillar code {
  font-family: var(--font-mono);
  font-size: 12px;
  background: rgba(128, 128, 128, 0.16);
  border-radius: 5px;
  padding: 1px 6px;
}
.shot-placeholder {
  margin-bottom: 48px;
  min-height: 300px;
  border-radius: var(--radius-lg);
  border: 1px dashed var(--border-strong);
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-3);
  font-size: 14px;
  text-align: center;
  padding: 24px;
}

.app-shot {
  display: block;
  width: 100%;
  max-width: 1014px;
  height: auto;
  margin: 0 auto 48px;
}

.app-shot img {
  display: block;
  width: 100%;
  height: auto;
}

.app-shot-light {
  display: none;
}
.app-shot-dark {
  display: block;
}
body.light .app-shot-light {
  display: block;
}
body.light .app-shot-dark {
  display: none;
}
.edges {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px 48px;
}

.edge {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 16px;
  align-items: start;
}

.edge h3 {
  grid-column: 2;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 9px;
  margin-top: 2px;
}

.edge-icon {
  display: block;
  grid-row: span 2;
  width: 34px;
  height: 34px;
  color: var(--text-1);
}
.edge-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.edge-grad-def {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.edge-grad-1 {
  stop-color: var(--yellow);
}
.edge-grad-2 {
  stop-color: var(--pink);
}
.edge-grad-3 {
  stop-color: var(--blue);
}

.edge p {
  grid-column: 2;
  color: var(--text-2);
  font-size: 14.5px;
  line-height: 1.65;
}

@media (max-width: 900px) {
  .edges {
    grid-template-columns: 1fr;
    gap: 26px;
  }
}

.also {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.also-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
}
.also-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  max-width: 660px;
}
@media (max-width: 760px) {
  .pillars {
    grid-template-columns: 1fr;
  }
}

.faq {
  padding: 40px 0 100px;
}
.faq-inner {
  max-width: 760px;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  padding: 0;
  overflow: hidden;
}
.faq-item.glass-card:hover {
  transform: none;
  background: var(--surface-hover);
}
.faq-q {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text-1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-q::-webkit-details-marker {
  display: none;
}
.faq-q::after {
  content: "+";
  font-size: 22px;
  font-weight: 400;
  color: var(--text-3);
  line-height: 1;
  flex-shrink: 0;
  transition:
    transform 0.25s ease,
    color 0.25s ease;
}
.faq-item[open] .faq-q::after {
  transform: rotate(45deg);
  color: #ff5470;
}
.faq-a {
  padding: 0 24px 20px;
  color: var(--text-2);
  font-size: 14.5px;
  line-height: 1.7;
}
.faq-a p {
  margin: 0;
}
.faq-a code {
  font-family: var(--font-mono);
  font-size: 12.5px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 5px;
  padding: 1px 6px;
}
body.light .faq-a code {
  background: rgba(0, 0, 0, 0.06);
}
.faq-a a {
  color: var(--accent);
  text-decoration: none;
}
.faq-a a:hover {
  text-decoration: underline;
}
@media (max-width: 600px) {
  .faq {
    padding: 20px 0 72px;
  }
  .faq-q {
    font-size: 15px;
    padding: 18px 18px;
  }
  .faq-a {
    padding: 0 18px 18px;
  }
}
