:root {
  --bg: #ffffff;
  --surface: #f7f7f8;
  --surface-hover: #efeff1;
  --ink: #0a0a0a;
  --ink-secondary: #68686b;
  --ink-tertiary: #a5a5a8;
  --border: #ebebec;
  --border-strong: #dcdcde;
  --accent: #3d5afe;
  --accent-soft: #3d5afe14;
  --danger: #e5484d;
  --danger-soft: #e5484d14;
  --success: #2f9e44;
  --ui: "Inter", sans-serif;
  --mono: "JetBrains Mono", monospace;
  --ease-out: cubic-bezier(0.16, 0.8, 0.24, 1);
  --ease-spring: cubic-bezier(0.32, 1.2, 0.5, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--ui);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::-moz-selection {
  background: var(--accent);
  color: #fff;
}

::selection {
  background: var(--accent);
  color: #fff;
}

@media (prefers-reduced-motion: reduce) {
  *,
*::before,
*::after {
    -webkit-animation-duration: 0.001ms !important;
            animation-duration: 0.001ms !important;
    -webkit-animation-iteration-count: 1 !important;
            animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
kbd {
  font-family: var(--mono);
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  color: var(--ink-secondary);
}

/* ============================================================
   TOP BAR
   ============================================================ */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.topbar-brand {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.topbar-mark {
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.topbar-count {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-tertiary);
}

.jump-trigger {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 10px 7px 14px;
  border-radius: 8px;
  border: 1px solid var(--border-strong);
  background: var(--bg);
  color: var(--ink-secondary);
  font-family: var(--ui);
  font-size: 13px;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.jump-trigger:hover {
  border-color: var(--ink-tertiary);
  background: var(--surface);
}

.jump-trigger kbd {
  background: var(--surface);
}

/* ============================================================
   SIGNATURE: JUMP PALETTE
   A real command-palette pattern, not decoration.
   ============================================================ */
.jump-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.25);
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding-top: 14vh;
}

.jump-overlay.open {
  display: flex;
}

.jump-palette {
  width: 100%;
  max-width: 520px;
  background: var(--bg);
  border-radius: 12px;
  border: 1px solid var(--border-strong);
  box-shadow: 0 20px 50px -12px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  -webkit-animation: palette-in 0.18s var(--ease-out);
          animation: palette-in 0.18s var(--ease-out);
}

@-webkit-keyframes palette-in {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes palette-in {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.jump-input-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  color: var(--ink-tertiary);
}

.jump-input {
  flex: 1;
  border: none;
  outline: none;
  font-family: var(--ui);
  font-size: 15px;
  color: var(--ink);
  background: none;
}

.jump-input::-moz-placeholder {
  color: var(--ink-tertiary);
}

.jump-input:-ms-input-placeholder {
  color: var(--ink-tertiary);
}

.jump-input::placeholder {
  color: var(--ink-tertiary);
}

.jump-list {
  max-height: 360px;
  overflow-y: auto;
  padding: 6px;
}

.jump-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  cursor: pointer;
}

.jump-item.selected {
  background: var(--surface);
}

.jump-item-index {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-tertiary);
  width: 20px;
  flex-shrink: 0;
}

.jump-item-name {
  font-size: 14px;
  color: var(--ink);
  flex: 1;
}

.jump-item-tag {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-tertiary);
}

/* ============================================================
   PROGRESS BAR
   ============================================================ */
.progress-track {
  position: fixed;
  top: 56px;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 49;
  background: var(--border);
}

.progress-fill {
  height: 100%;
  width: 0%;
  background: var(--accent);
  transition: width 0.1s linear;
}

/* ============================================================
   STAGE SECTIONS
   ============================================================ */
#stage-track {
  margin-top: 58px;
}

.stage {
  min-height: calc(100vh - 58px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 32px;
  border-bottom: 1px solid var(--border);
}

.stage-cover {
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding-left: 72px;
  max-width: 900px;
}

.stage-cover-eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--accent);
  margin-bottom: 20px;
  display: block;
}

.stage-cover-title {
  font-weight: 700;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0;
}

.stage-cover-desc {
  margin-top: 24px;
  max-width: 480px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-secondary);
  font-weight: 400;
}

.stage-cover-desc kbd {
  margin: 0 2px;
}

.stage-inner {
  width: 100%;
  max-width: 440px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stage-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.stage-index {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-tertiary);
}

.stage-question {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 3px 8px;
  border-radius: 5px;
  background: var(--accent-soft);
}

.stage-name {
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 48px;
}

.stage-demo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100px;
  width: 100%;
}

@media (max-width: 720px) {
  .topbar {
    padding: 0 16px;
  }

  .jump-trigger span {
    display: none;
  }

  .stage {
    padding: 60px 20px;
  }

  .stage-cover {
    padding-left: 20px;
  }
}
/* ============================================================
   01. Magnetic Pull
   ============================================================ */
.magnetic-wrap {
  width: 220px;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.magnetic-btn {
  padding: 12px 26px;
  border-radius: 8px;
  border: 1px solid var(--border-strong);
  background: var(--bg);
  color: var(--ink);
  font-family: var(--ui);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: transform 0.15s ease-out, border-color 0.2s ease;
}

.magnetic-wrap:hover .magnetic-btn {
  border-color: var(--accent);
}

/* ============================================================
   02. Cursor Highlight
   ============================================================ */
.spotlight-card {
  position: relative;
  width: 340px;
  height: 150px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.spotlight-label {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-tertiary);
  position: relative;
  z-index: 1;
}

.spotlight-card::before {
  content: "";
  position: absolute;
  top: var(--y, 50%);
  left: var(--x, 50%);
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, var(--accent-soft), transparent 70%);
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

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

/* ============================================================
   03. Border Trace
   ============================================================ */
.trace-input-wrap {
  position: relative;
  width: 100%;
}

.trace-input {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  color: var(--ink);
  padding: 12px 14px;
  font-family: var(--ui);
  font-size: 14px;
  outline: none;
}

.trace-svg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  width: 100%;
  height: 100%;
}

.trace-svg rect {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2;
  stroke-dasharray: 666;
  stroke-dashoffset: 666;
  transition: stroke-dashoffset 0.5s ease;
}

.trace-input:focus ~ .trace-svg rect {
  stroke-dashoffset: 0;
}

/* ============================================================
   04. Row Reveal
   ============================================================ */
.row-wrap {
  width: 320px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-radius: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 14px;
  overflow: hidden;
}

.row-actions {
  display: flex;
  gap: 8px;
  transform: translateX(20px);
  opacity: 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.row-wrap:hover .row-actions {
  transform: translateX(0);
  opacity: 1;
}

.row-action-btn {
  padding: 5px 12px;
  border-radius: 6px;
  border: 1px solid var(--border-strong);
  background: var(--bg);
  color: var(--ink-secondary);
  font-family: var(--ui);
  font-size: 12px;
  cursor: pointer;
}

/* ============================================================
   05. Hold Confirm
   ============================================================ */
.hold-btn {
  position: relative;
  width: 180px;
  height: 44px;
  border-radius: 8px;
  border: 1px solid var(--border-strong);
  background: var(--bg);
  color: var(--ink);
  cursor: pointer;
  overflow: hidden;
  font-family: var(--ui);
  font-size: 14px;
  font-weight: 500;
}

.hold-btn .hold-fill {
  position: absolute;
  inset: 0;
  background: var(--danger);
  transform: scaleX(0);
  transform-origin: left;
  z-index: 0;
}

.hold-btn.holding .hold-fill {
  transition: transform 1.2s linear;
  transform: scaleX(1);
}

.hold-btn.holding {
  color: #fff;
}

.hold-btn span {
  position: relative;
  z-index: 1;
}

/* ============================================================
   06. Swipe Reveal
   ============================================================ */
.swipe-wrap {
  position: relative;
  width: 300px;
  height: 56px;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--border);
}

.swipe-action {
  position: absolute;
  inset: 0;
  background: var(--danger);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 18px;
}

.swipe-action .icon {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: #fff;
  transform: scale(0.6);
  transition: transform 0.1s linear;
}

.swipe-item {
  position: relative;
  height: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 16px;
  font-size: 14px;
  cursor: -webkit-grab;
  cursor: grab;
  touch-action: pan-y;
}

/* ============================================================
   07. Drag Lift
   ============================================================ */
.drag-card {
  width: 220px;
  padding: 16px;
  border-radius: 10px;
  background: var(--bg);
  border: 1px solid var(--border);
  cursor: -webkit-grab;
  cursor: grab;
  font-size: 14px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.2s ease, transform 0.15s ease, border-color 0.2s ease;
}

.drag-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
  border-color: var(--border-strong);
}

.drag-card.dragging {
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.14);
  transform: scale(1.03) translateY(-4px);
  cursor: -webkit-grabbing;
  cursor: grabbing;
  border-color: var(--accent);
}

/* ============================================================
   08. Elastic Scroll
   ============================================================ */
.scroll-box {
  width: 260px;
  height: 160px;
  overflow-y: scroll;
  border-radius: 8px;
  background: var(--bg);
  border: 1px solid var(--border);
}

.scroll-inner {
  transition: transform 0.3s var(--ease-spring);
  padding: 12px;
}

.scroll-inner p {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  margin: 0;
  font-size: 13px;
  color: var(--ink-secondary);
}

/* ============================================================
   09. Skeleton
   ============================================================ */
.skeleton-group {
  width: 280px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.skeleton-block {
  height: 14px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--surface) 25%, var(--border-strong) 37%, var(--surface) 63%);
  background-size: 400% 100%;
  -webkit-animation: skeleton-shimmer 1.4s ease infinite;
          animation: skeleton-shimmer 1.4s ease infinite;
}

@-webkit-keyframes skeleton-shimmer {
  0% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes skeleton-shimmer {
  0% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
/* ============================================================
   10. Morph Spinner
   ============================================================ */
.morph-btn {
  width: 144px;
  height: 44px;
  border-radius: 8px;
  border: none;
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  font-family: var(--ui);
  font-weight: 500;
  font-size: 14px;
  position: relative;
}

.morph-btn .label,
.morph-btn .spinner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s ease;
}

.morph-btn .spinner {
  opacity: 0;
}

.morph-btn.loading .label {
  opacity: 0;
}

.morph-btn.loading .spinner {
  opacity: 1;
}

.spinner-ring {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  -webkit-animation: spin 0.6s linear infinite;
          animation: spin 0.6s linear infinite;
}

@-webkit-keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
/* ============================================================
   11. Staged Progress
   ============================================================ */
.stage-progress-wrap {
  width: 280px;
}

.stage-progress-bar {
  width: 100%;
  height: 5px;
  border-radius: 999px;
  background: var(--surface);
  overflow: hidden;
  margin-bottom: 12px;
}

.stage-progress-fill {
  height: 100%;
  width: 0%;
  background: var(--accent);
  transition: width 0.6s ease;
}

.stage-label {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-secondary);
  margin-bottom: 16px;
}

.stage-btn {
  padding: 10px 18px;
  border-radius: 8px;
  border: 1px solid var(--border-strong);
  background: var(--bg);
  color: var(--ink);
  cursor: pointer;
  font-family: var(--ui);
  font-size: 13px;
  font-weight: 500;
}

/* ============================================================
   12. Optimistic UI
   ============================================================ */
.optimistic-wrap {
  width: 280px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.optimistic-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.optimistic-item {
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 14px;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.optimistic-item.pending {
  opacity: 0.5;
}

.optimistic-item.pending::after {
  content: " (sending...)";
  color: var(--ink-tertiary);
  font-size: 12px;
  font-family: var(--mono);
}

.optimistic-add-btn {
  margin-top: 6px;
  padding: 9px 16px;
  border-radius: 8px;
  border: none;
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  font-family: var(--ui);
  font-weight: 500;
  font-size: 13px;
  align-self: flex-start;
}

/* ============================================================
   13. Checkmark Morph
   ============================================================ */
.confirm-btn {
  width: 144px;
  height: 44px;
  border-radius: 8px;
  border: 1px solid var(--border-strong);
  background: var(--bg);
  color: var(--ink);
  cursor: pointer;
  font-family: var(--ui);
  font-size: 14px;
  font-weight: 500;
  position: relative;
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.confirm-btn.success {
  background: var(--success);
  border-color: var(--success);
  color: #fff;
}

.confirm-icon {
  display: none;
  width: 16px;
  height: 16px;
}

.confirm-btn.success .confirm-icon {
  display: inline-block;
}

.confirm-btn.success .confirm-label {
  display: none;
}

/* ============================================================
   14. Toast Exit
   ============================================================ */
.toast-trigger {
  padding: 12px 20px;
  border-radius: 8px;
  border: none;
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  font-family: var(--ui);
  font-weight: 500;
  font-size: 14px;
}

.toast {
  position: fixed;
  top: 72px;
  right: 24px;
  z-index: 60;
  padding: 13px 18px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  font-family: var(--ui);
  font-size: 13px;
  font-weight: 500;
  box-shadow: 0 12px 28px -8px rgba(0, 0, 0, 0.25);
  transform: translateY(-40px);
  opacity: 0;
  transition: transform 0.35s ease, opacity 0.35s ease;
  pointer-events: none;
}

.toast.enter {
  transform: translateY(0);
  opacity: 1;
}

.toast.exit {
  transform: translateY(20px);
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

/* ============================================================
   15. Undo Bar
   ============================================================ */
.undo-trigger {
  padding: 12px 20px;
  border-radius: 8px;
  border: none;
  background: var(--danger);
  color: #fff;
  cursor: pointer;
  font-family: var(--ui);
  font-weight: 500;
  font-size: 14px;
}

.undo-bar {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translate(-50%, 20px);
  z-index: 60;
  width: 300px;
  padding: 14px 16px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  box-shadow: 0 12px 28px -8px rgba(0, 0, 0, 0.25);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  pointer-events: none;
}

.undo-bar.show {
  transform: translate(-50%, 0);
  opacity: 1;
  pointer-events: auto;
}

.undo-bar-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  margin-bottom: 10px;
}

.undo-btn {
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  font-family: var(--ui);
  font-size: 13px;
  font-weight: 600;
  text-decoration: underline;
}

.undo-countdown-track {
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  overflow: hidden;
}

.undo-countdown-fill {
  height: 100%;
  width: 100%;
  background: #fff;
  transform-origin: left;
}

.undo-countdown-fill.running {
  -webkit-animation: countdown-shrink 5s linear forwards;
          animation: countdown-shrink 5s linear forwards;
}

@-webkit-keyframes countdown-shrink {
  from {
    transform: scaleX(1);
  }
  to {
    transform: scaleX(0);
  }
}

@keyframes countdown-shrink {
  from {
    transform: scaleX(1);
  }
  to {
    transform: scaleX(0);
  }
}
/* ============================================================
   SHARED CARD SYSTEM
   Two elevation tiers used deliberately, not per-card guesswork:
   - .surface-card: default, calm, most cards
   - .surface-card--emphasis: raised, for higher-stakes or
     primary-action surfaces (pricing, destructive confirm)
   Spacing scale: 8 / 12 / 16 / 20 / 24 / 32, nothing ad hoc.
   ============================================================ */
.surface-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(10, 10, 10, 0.03);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.surface-card--emphasis {
  border-color: var(--border-strong);
  box-shadow: 0 4px 16px -4px rgba(10, 10, 10, 0.08), 0 1px 2px rgba(10, 10, 10, 0.04);
}

.card-icon-badge {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.card-icon-badge svg {
  width: 16px;
  height: 16px;
}

.card-icon-badge--neutral {
  background: var(--surface);
  color: var(--ink-secondary);
}

.card-icon-badge--accent {
  background: var(--accent-soft);
  color: var(--accent);
}

.card-icon-badge--danger {
  background: var(--danger-soft);
  color: var(--danger);
}

.card-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-tertiary);
  margin: 0 0 4px;
}

/* ============================================================
   PRODUCT SURFACE: Pricing Card (wraps 01. Magnetic Pull)
   ============================================================ */
.pricing-card {
  width: 280px;
  padding: 24px;
  border-radius: 14px;
}

.pricing-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.pricing-plan {
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
}

.pricing-badge {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.03em;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 3px 8px;
  border-radius: 999px;
}

.pricing-amount {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 20px;
}

.pricing-currency {
  font-size: 22px;
  font-weight: 600;
  vertical-align: top;
  margin-right: 1px;
}

.pricing-period {
  font-size: 14px;
  font-weight: 400;
  color: var(--ink-tertiary);
}

.pricing-features {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pricing-features li {
  font-size: 13px;
  color: var(--ink-secondary);
  padding-left: 20px;
  position: relative;
}

.pricing-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent-soft);
}

.pricing-features li::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 7px;
  width: 6px;
  height: 3px;
  border-left: 1.5px solid var(--accent);
  border-bottom: 1.5px solid var(--accent);
  transform: rotate(-45deg);
}

.pricing-card .magnetic-btn {
  width: 100%;
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
  padding: 12px;
}

.pricing-card:hover .magnetic-btn {
  border-color: var(--ink);
}

/* ============================================================
   PRODUCT SURFACE: Feature Card (wraps 02. Cursor Highlight)
   ============================================================ */
.feature-card {
  position: relative;
  width: 300px;
  padding: 24px;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: var(--y, 50%);
  left: var(--x, 50%);
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, var(--accent-soft), transparent 70%);
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

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

.feature-card .card-icon-badge {
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.feature-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 8px;
  position: relative;
  z-index: 1;
}

.feature-desc {
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink-secondary);
  margin: 0;
  position: relative;
  z-index: 1;
}

/* ============================================================
   PRODUCT SURFACE: Sign-in Card (wraps 03. Border Trace)
   ============================================================ */
.signin-card {
  width: 340px;
  padding: 28px;
}

.signin-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 20px;
}

.signin-label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-secondary);
  margin-bottom: 6px;
}

.signin-btn {
  width: 100%;
  margin-top: 14px;
  padding: 11px;
  border-radius: 8px;
  border: none;
  background: var(--ink);
  color: #fff;
  font-family: var(--ui);
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
}

/* ============================================================
   PRODUCT SURFACE: File Row (wraps 04. Row Reveal)
   ============================================================ */
.file-row-wrap {
  width: 360px;
}

.file-row-head {
  display: flex;
  justify-content: space-between;
  padding: 0 16px 8px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-tertiary);
}

.file-row-wrap .row-wrap {
  width: 100%;
  justify-content: space-between;
}

.file-info {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  flex: 1;
  min-width: 0;
}

.file-info svg {
  color: var(--ink-tertiary);
  flex-shrink: 0;
}

.file-row-right {
  position: relative;
  height: 20px;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.file-modified {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-tertiary);
  transition: opacity 0.15s ease;
  white-space: nowrap;
}

.row-wrap:hover .file-modified {
  opacity: 0;
}

.file-row-right .row-actions {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translate(20px, -50%);
}

.row-wrap:hover .file-row-right .row-actions {
  transform: translate(0, -50%);
}

/* ============================================================
   PRODUCT SURFACE: Settings Row Card (wraps 05. Hold Confirm)
   ============================================================ */
.settings-row-card {
  width: 380px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  flex-direction: column;
  text-align: center;
}

.settings-row-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  flex: 1;
}

.settings-row-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.settings-row-desc {
  font-size: 12px;
  color: var(--ink-tertiary);
}

/* ============================================================
   PRODUCT SURFACE: Inbox Row (wraps 06. Swipe Reveal, 15. Undo Bar)
   ============================================================ */
.inbox-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-family: var(--ui);
  font-weight: 600;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.inbox-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}

.inbox-sender {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

.inbox-preview {
  font-size: 12px;
  color: var(--ink-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.inbox-time {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-tertiary);
  flex-shrink: 0;
}

.swipe-item {
  gap: 12px;
}

.swipe-action .icon {
  font-family: var(--ui);
  font-weight: 600;
  font-size: 12px;
}

.inbox-action-card {
  width: 380px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
}

.inbox-action-card .undo-trigger {
  background: var(--bg);
  border: 1px solid var(--border-strong);
  color: var(--ink-secondary);
  flex-shrink: 0;
  padding: 9px 16px;
  font-size: 13px;
}

.inbox-action-card .undo-trigger:hover {
  border-color: var(--ink-tertiary);
  color: var(--ink);
}

/* ============================================================
   PRODUCT SURFACE: Kanban Card (wraps 07. Drag Lift)
   ============================================================ */
.drag-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.kanban-tag {
  align-self: flex-start;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.03em;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 3px 8px;
  border-radius: 999px;
}

.kanban-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.4;
  margin: 0;
}

.kanban-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
}

.kanban-due {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-tertiary);
}

.kanban-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  color: var(--ink-secondary);
  font-family: var(--ui);
  font-weight: 600;
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============================================================
   PRODUCT SURFACE: Notification Feed (wraps 08. Elastic Scroll)
   ============================================================ */
.notif-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

.notif-row:last-child {
  border-bottom: none;
}

.notif-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 5px;
  flex-shrink: 0;
}

.notif-dot.read {
  background: var(--border-strong);
}

.notif-text {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex: 1;
  font-size: 13px;
  color: var(--ink-secondary);
}

.notif-text strong {
  color: var(--ink);
  font-weight: 600;
}

.notif-text span {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-tertiary);
  flex-shrink: 0;
}

/* ============================================================
   PRODUCT SURFACE: Profile Skeleton Card (wraps 09. Skeleton)
   ============================================================ */
.profile-skeleton-card {
  width: 300px;
  display: flex;
  gap: 16px;
  padding: 20px;
}

.skeleton-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  flex-shrink: 0;
}

.profile-skeleton-card .skeleton-group {
  flex: 1;
  justify-content: center;
  gap: 8px;
}

/* ============================================================
   PRODUCT SURFACE: Deploy Card (wraps 10. Morph Spinner)
   ============================================================ */
.deploy-card {
  width: 300px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.deploy-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.deploy-branch {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--ink);
  background: var(--surface);
  padding: 4px 8px;
  border-radius: 6px;
}

.deploy-commit {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-tertiary);
}

.deploy-card .morph-btn {
  width: 100%;
}

/* ============================================================
   PRODUCT SURFACE: Upload Card (wraps 11. Staged Progress)
   ============================================================ */
.upload-card {
  width: 300px;
  padding: 20px;
}

.upload-file-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.upload-file-row .card-icon-badge {
  margin: 0;
}

.upload-file-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.upload-filename {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.upload-filesize {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-tertiary);
}

.upload-card .stage-progress-bar {
  margin-bottom: 10px;
}

.upload-card .stage-label {
  margin-bottom: 14px;
}

.upload-card .stage-btn {
  width: 100%;
}

/* ============================================================
   PRODUCT SURFACE: To-do Card (wraps 12. Optimistic UI)
   ============================================================ */
.todo-card {
  width: 300px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.todo-card-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.todo-card-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

.todo-card-count {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-tertiary);
}

.optimistic-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  transition: color 0.2s ease;
}

.optimistic-item.done {
  color: var(--ink-tertiary);
  text-decoration: line-through;
}

.todo-check {
  width: 16px;
  height: 16px;
  border-radius: 5px;
  border: 1.5px solid var(--border-strong);
  flex-shrink: 0;
  cursor: pointer;
  position: relative;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.optimistic-item.done .todo-check {
  background: var(--accent);
  border-color: var(--accent);
}

.optimistic-item.done .todo-check::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 2px;
  width: 5px;
  height: 8px;
  border-right: 1.5px solid #fff;
  border-bottom: 1.5px solid #fff;
  transform: rotate(45deg);
}

/* ============================================================
   PRODUCT SURFACE: Invite Card (wraps 13. Checkmark Morph)
   ============================================================ */
.invite-card {
  width: 340px;
  padding: 20px;
}

.invite-label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-secondary);
  margin-bottom: 10px;
}

.invite-row {
  display: flex;
  gap: 8px;
  align-items: center;
}

.invite-url {
  flex: 1;
  min-width: 0;
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--surface);
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.invite-card .confirm-btn {
  width: 90px;
  flex-shrink: 0;
}

/* ============================================================
   PRODUCT SURFACE: Toast Demo Card (wraps 14. Toast Exit)
   ============================================================ */
.toast-demo-card {
  width: 300px;
  padding: 20px;
  text-align: left;
}

.toast-demo-title {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}

.toast-demo-desc {
  font-size: 13px;
  color: var(--ink-secondary);
  margin: 0 0 16px;
  line-height: 1.5;
}

.toast-demo-card .toast-trigger {
  width: 100%;
}