/* FloatSnap landing — design tokens + layout */
:root {
  /* set by JS, but provide fallbacks */
  --accent: oklch(0.45 0.08 215);
  --accentSoft: oklch(0.92 0.025 215);
  --accentInk: oklch(0.30 0.06 215);
  --bg: oklch(0.985 0.003 85);
  --bgAlt: oklch(0.965 0.004 85);
  --surface: #ffffff;
  --ink: oklch(0.18 0.01 250);
  --inkSoft: oklch(0.45 0.01 250);
  --inkFaint: oklch(0.65 0.008 250);
  --rule: oklch(0.90 0.005 250);
  --ruleSoft: oklch(0.94 0.004 250);

  --sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: 'JetBrains Mono', 'SF Mono', ui-monospace, Menlo, monospace;

  --container: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss01", "cv11";
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; border: none; background: none; padding: 0; cursor: pointer; color: inherit; }
kbd {
  font-family: var(--mono);
  font-size: 0.78em;
  font-weight: 500;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-bottom-width: 2px;
  border-radius: 5px;
  padding: 1px 6px;
  color: var(--ink);
  display: inline-block;
}

/* ---------- container ---------- */
.fs-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}
@media (max-width: 720px) {
  .fs-container { padding: 0 20px; }
}

/* ---------- nav ---------- */
.fs-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklab, var(--bg) 80%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms;
}
.fs-nav.is-scrolled { border-bottom-color: var(--rule); }
.fs-nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.fs-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.01em;
}
.fs-brand-icon { width: 28px; height: 28px; border-radius: 7px; }
.fs-brand-version {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--inkFaint);
  border-left: 1px solid var(--rule);
  padding-left: 10px;
  margin-left: 4px;
}
.fs-nav-links {
  display: flex;
  gap: 28px;
  font-size: 14px;
  color: var(--inkSoft);
}
.fs-nav-links a:hover { color: var(--ink); }
.fs-nav-cta { display: flex; align-items: center; gap: 14px; }
.fs-nav-shortcut {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--inkFaint);
}
@media (max-width: 800px) {
  .fs-nav-links, .fs-nav-shortcut { display: none; }
  .fs-nav-inner { padding: 14px 20px; }
}

/* ---------- buttons ---------- */
.fs-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.005em;
  white-space: nowrap;
  transition: transform 80ms, background 150ms, color 150ms, border-color 150ms;
  border: 1px solid transparent;
}
.fs-btn:active { transform: translateY(1px); }
.fs-btn-primary {
  background: var(--ink);
  color: var(--bg);
}
.fs-btn-primary:hover { background: var(--accentInk); }
.fs-btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--rule);
}
.fs-btn-ghost:hover { border-color: var(--ink); }
.fs-btn-sm { padding: 8px 14px; font-size: 13px; border-radius: 8px; }
.fs-btn-lg { padding: 16px 24px; font-size: 15px; }
.fs-btn-block { display: flex; width: 100%; }
.fs-btn-meta {
  font-family: var(--mono);
  font-weight: 400;
  font-size: 11px;
  opacity: 0.6;
  border-left: 1px solid currentColor;
  padding-left: 10px;
  margin-left: 2px;
}

/* ---------- typography ---------- */
.fs-h1 {
  font-size: clamp(40px, 5.4vw, 68px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.02;
  margin: 16px 0 20px;
  text-wrap: balance;
}
.fs-h1-xl {
  font-size: clamp(54px, 9vw, 132px);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.95;
  margin: 16px 0 32px;
  text-wrap: balance;
}
.fs-h2 {
  font-size: clamp(30px, 3.6vw, 48px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 0 0 16px;
  text-wrap: balance;
}
.fs-lede {
  font-size: 18px;
  color: var(--inkSoft);
  max-width: 48ch;
  margin: 0 0 28px;
  line-height: 1.55;
}

/* ---------- eyebrow ---------- */
.fs-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--inkSoft);
  padding: 6px 12px;
  border: 1px solid var(--rule);
  border-radius: 99px;
  background: var(--surface);
}
.fs-eyebrow-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent) 25%, transparent);
}

/* ---------- hero ---------- */
.fs-hero {
  position: relative;
  padding: 64px 0 100px;
  overflow: hidden;
}
.fs-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, var(--ruleSoft) 1px, transparent 1px),
    linear-gradient(to bottom, var(--ruleSoft) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, black 30%, transparent 75%);
  pointer-events: none;
  z-index: 0;
}
.fs-hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}
.fs-hero-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 48px;
  align-items: center;
}
@media (max-width: 980px) {
  .fs-hero-stage { grid-template-columns: 1fr; }
}
.fs-hero-copy { min-width: 0; }
.fs-hero-art { min-width: 0; }
.fs-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.fs-hero-buy {
  font-size: 14px;
  color: var(--inkSoft);
  margin: 16px 0 0;
}
.fs-hero-buy a {
  color: var(--accent);
  font-weight: 500;
  border-bottom: 1px dashed color-mix(in oklab, var(--accent) 50%, transparent);
}
.fs-hero-buy a:hover { border-bottom-style: solid; }
.fs-hero-buy strong { font-weight: 700; }
.fs-hero-bullets {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  font-size: 13px;
  color: var(--inkSoft);
}
.fs-hero-bullets li { display: inline-flex; gap: 8px; align-items: center; }

/* editorial variant */
.fs-hero-editorial {
  padding: 24px 0;
}
.fs-hero-editorial-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: end;
  margin-bottom: 48px;
  border-top: 1px solid var(--rule);
  padding-top: 24px;
}
@media (max-width: 800px) {
  .fs-hero-editorial-bottom { grid-template-columns: 1fr; align-items: start; }
}
.fs-hero-strip { margin-top: 16px; }

/* ---------- desktop visual ---------- */
.fs-desktop {
  position: relative;
  aspect-ratio: 4 / 3;
  perspective: 1200px;
}
.fs-desktop-frame {
  position: absolute;
  inset: 0;
  background: color-mix(in oklab, var(--accent) 10%, var(--surface));
  border: 1px solid var(--rule);
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 1px 0 color-mix(in oklab, var(--ink) 5%, transparent),
    0 30px 60px -30px color-mix(in oklab, var(--ink) 30%, transparent),
    0 60px 120px -60px color-mix(in oklab, var(--accent) 40%, transparent);
}
.fs-desktop-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 30px;
  padding: 0 12px;
  background: color-mix(in oklab, var(--bg) 70%, var(--surface));
  border-bottom: 1px solid var(--rule);
  font-size: 11px;
  color: var(--inkSoft);
}
.fs-traffic { display: flex; gap: 6px; }
.fs-traffic span {
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--rule);
}
.fs-traffic span:nth-child(1) { background: #ff5f57; }
.fs-traffic span:nth-child(2) { background: #ffbd2e; }
.fs-traffic span:nth-child(3) { background: #28c840; }
.fs-desktop-title { font-family: var(--mono); font-size: 11px; }
.fs-menubar { display: flex; gap: 10px; align-items: center; font-family: var(--mono); }
.fs-menubar-item { font-size: 11px; color: var(--inkSoft); }
.fs-menubar-item.is-app img { width: 14px; height: 14px; border-radius: 3px; display: block; }
.fs-desktop-canvas {
  position: relative;
  height: calc(100% - 30px);
  padding: 24px;
  background:
    radial-gradient(ellipse at 30% 20%, color-mix(in oklab, var(--accent) 14%, transparent), transparent 60%),
    radial-gradient(ellipse at 80% 90%, color-mix(in oklab, var(--accent) 10%, transparent), transparent 60%),
    linear-gradient(135deg, color-mix(in oklab, var(--accent) 18%, var(--bgAlt)), var(--bgAlt));
}

/* doc behind floats */
.fs-doc {
  position: absolute;
  left: 24px; right: 24px; top: 24px;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: 0 2px 8px -4px color-mix(in oklab, var(--ink) 20%, transparent);
}
.fs-doc-line {
  height: 6px;
  border-radius: 3px;
  background: color-mix(in oklab, var(--ink) 12%, var(--surface));
}
.fs-doc-line.is-soft { background: color-mix(in oklab, var(--ink) 6%, var(--surface)); }

/* floating cards */
.fs-float {
  position: absolute;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 10px;
  overflow: hidden;
  box-shadow:
    0 1px 2px color-mix(in oklab, var(--ink) 10%, transparent),
    0 12px 32px -12px color-mix(in oklab, var(--ink) 30%, transparent);
  transition: transform 200ms, box-shadow 200ms;
}
.fs-float-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 10px;
  background: color-mix(in oklab, var(--bg) 70%, var(--surface));
  border-bottom: 1px solid var(--rule);
}
.fs-float-label {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--inkSoft);
  letter-spacing: 0.01em;
}
.fs-float-pin {
  font-size: 8px;
  color: var(--accent);
}
.fs-float-x {
  font-size: 16px;
  line-height: 1;
  color: var(--inkSoft);
  width: 16px; height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
}
.fs-float-x:hover { background: var(--bgAlt); color: var(--ink); }
.fs-float-body { padding: 12px; min-height: 80px; }

/* card position presets in static hero */
.fs-float-1 { width: 220px; left: 8%;  top: 28%; transform: rotate(-2deg); }
.fs-float-2 { width: 240px; left: 38%; top: 50%; transform: rotate(1deg); }
.fs-float-3 { width: 200px; right: 6%; top: 18%; transform: rotate(2.5deg); }
.fs-float-4 { width: 180px; left: 14%; top: 62%; transform: rotate(-3deg); }
.fs-float-5 { width: 200px; right: 18%; top: 60%; transform: rotate(2deg); }

.is-dense .fs-float-1 { left: 4%; top: 18%; }
.is-dense .fs-float-2 { left: 32%; top: 50%; }
.is-dense .fs-float-3 { right: 4%; top: 12%; }

/* ---------- design content mock ---------- */
.fs-design-mock { display: flex; flex-direction: column; gap: 8px; }
.fs-design-row { display: flex; gap: 8px; align-items: center; }
.fs-design-bubble {
  width: 28px; height: 28px; border-radius: 50%;
  background: color-mix(in oklab, var(--accent) 30%, var(--surface));
}
.fs-design-text { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.fs-design-line {
  height: 5px; border-radius: 3px;
  background: color-mix(in oklab, var(--ink) 10%, var(--surface));
}
.fs-design-input {
  height: 22px;
  border-radius: 5px;
  border: 1px solid var(--rule);
  background: var(--bgAlt);
}
.fs-design-button {
  height: 22px;
  border-radius: 5px;
  background: var(--accent);
  width: 60%;
}

/* ---------- code content mock ---------- */
.fs-code-mock {
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.6;
  color: var(--ink);
}
.fs-code-line { display: flex; gap: 6px; white-space: nowrap; overflow: hidden; }
.fs-code-token { font-weight: 600; }
.fs-code-k { color: var(--inkFaint); }
.fs-code-g { color: oklch(0.55 0.13 155); }
.fs-code-y { color: oklch(0.62 0.13 75); }
.fs-code-r { color: oklch(0.55 0.18 25); }
.fs-code-rest { color: var(--inkSoft); }

/* ---------- OCR mock ---------- */
.fs-ocr-mock { position: relative; padding: 6px 0; }
.fs-ocr-rect {
  position: absolute; inset: 4px;
  border: 1.5px dashed var(--accent);
  border-radius: 4px;
  background: color-mix(in oklab, var(--accent) 8%, transparent);
}
.fs-ocr-text {
  position: relative;
  font-family: var(--mono);
  font-size: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
  color: var(--ink);
}
.fs-ocr-copied {
  margin-top: 4px;
  color: var(--accent);
  font-size: 9px;
}

/* ---------- pitch (two tools in one) ---------- */
.fs-pitch { background: var(--bgAlt); }
.fs-pitch-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 64px;
  align-items: center;
}
@media (max-width: 980px) {
  .fs-pitch-grid { grid-template-columns: 1fr; gap: 48px; }
}
.fs-pitch-em {
  font-style: italic;
  color: var(--accent);
  font-weight: 600;
}
.fs-pitch-lede {
  font-size: 18px;
  color: var(--inkSoft);
  margin: 20px 0 32px;
  max-width: 52ch;
  line-height: 1.6;
}
.fs-pitch-lede em { font-style: italic; color: var(--ink); font-weight: 500; }
.fs-pitch-rows {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-top: 1px solid var(--rule);
  margin-bottom: 24px;
}
.fs-pitch-row {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--rule);
  align-items: start;
}
.fs-pitch-num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent);
  padding-top: 2px;
}
.fs-pitch-row h4 {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 4px;
  letter-spacing: -0.01em;
}
.fs-pitch-row p {
  font-size: 14.5px;
  color: var(--inkSoft);
  margin: 0;
  line-height: 1.55;
}
.fs-mono { font-family: var(--mono); font-size: 0.92em; color: var(--inkFaint); }
.fs-pitch-foot {
  font-size: 14.5px;
  color: var(--inkSoft);
  font-style: italic;
  max-width: 52ch;
  margin: 0;
}

/* pinned scene container */
.fs-pinned {
  position: relative;
  aspect-ratio: 4 / 4;
}
.fs-pinned-frame {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 20%, color-mix(in oklab, var(--accent) 10%, transparent), transparent 60%),
    linear-gradient(135deg, color-mix(in oklab, var(--accent) 10%, var(--bgAlt)), var(--bgAlt));
  border: 1px solid var(--rule);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 60px -30px color-mix(in oklab, var(--ink) 25%, transparent);
}

/* ---------- spreadsheet + screenshots scene ---------- */
.fs-sheet {
  position: absolute;
  inset: 24px;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.fs-sheet-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 12px;
  border-bottom: 1px solid var(--rule);
  background: var(--bgAlt);
  font-family: var(--mono);
  font-size: 11px;
  color: var(--inkSoft);
}
.fs-sheet-title { color: var(--ink); }
.fs-sheet-tabs { display: flex; gap: 2px; margin-left: auto; }
.fs-sheet-tab {
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 10px;
  color: var(--inkFaint);
}
.fs-sheet-tab.is-active {
  background: color-mix(in oklab, var(--accent) 15%, var(--surface));
  color: var(--accent);
}
.fs-sheet-grid {
  flex: 1;
  display: flex;
  flex-direction: column;
  font-family: var(--mono);
  font-size: 10px;
}
.fs-sheet-row {
  display: flex;
  padding: 5px 14px;
  border-bottom: 1px solid var(--ruleSoft);
  color: var(--ink);
  align-items: center;
}
.fs-sheet-row.is-head {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--inkFaint);
  background: var(--bgAlt);
}
.fs-sheet-row span { padding-right: 6px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fs-sheet-num { text-align: right; }
.fs-sheet-status {
  font-size: 9px;
  padding: 1px 6px;
  border-radius: 3px;
  display: inline-flex;
  align-self: center;
  width: auto !important;
  flex-shrink: 0;
}
.fs-sheet-status.is-paid { color: oklch(0.45 0.13 155); background: oklch(0.94 0.05 155); }
.fs-sheet-status.is-pending { color: oklch(0.50 0.10 75); background: oklch(0.94 0.05 75); }
.fs-sheet-status.is-overdue { color: oklch(0.50 0.15 25); background: oklch(0.94 0.05 25); }

/* borderless screenshot snaps */
.fs-snap {
  position: absolute;
  background: var(--surface);
  border-radius: 4px;
  overflow: visible;
  box-shadow:
    0 1px 2px color-mix(in oklab, var(--ink) 14%, transparent),
    0 18px 40px -12px color-mix(in oklab, var(--ink) 32%, transparent);
}
.fs-snap-content { padding: 14px 16px; }
.fs-snap-1 { left: 2%; top: 18%; width: 230px; transform: rotate(-1.5deg); }
.fs-snap-2 { right: 2%; top: 4%; width: 280px; transform: rotate(1deg); z-index: 3; }
.fs-snap-3 { left: 28%; bottom: 8%; width: 240px; transform: rotate(-0.5deg); }

/* invoice header content */
.fs-inv-head { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.fs-inv-logo {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--accent);
}
.fs-inv-co { font-size: 11px; font-weight: 600; color: var(--ink); }
.fs-inv-meta {
  display: flex; align-items: baseline; gap: 6px;
  font-family: var(--mono);
  font-size: 9px;
  color: var(--inkFaint);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.fs-inv-num { font-size: 13px; color: var(--ink); text-transform: none; font-weight: 600; }
.fs-inv-row {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 10px;
  padding: 3px 0;
  color: var(--inkSoft);
  border-top: 1px solid var(--ruleSoft);
}
.fs-inv-row.is-total {
  color: var(--ink);
  font-weight: 600;
  margin-top: 4px;
  padding-top: 6px;
  border-top: 1px solid var(--rule);
}
.fs-inv-line {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 10px;
  padding: 4px 0;
  color: var(--ink);
  border-bottom: 1px solid var(--ruleSoft);
}
.fs-inv-line.is-soft { color: var(--inkFaint); }
.fs-inv-line-amt { font-variant-numeric: tabular-nums; }

/* payment confirmation */
.fs-pay { font-family: var(--mono); }
.fs-pay-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  color: oklch(0.45 0.13 155);
  margin-bottom: 6px;
}
.fs-pay-check {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: oklch(0.55 0.13 155);
  color: white;
  font-size: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.fs-pay-amt {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 4px;
  font-family: var(--sans);
}
.fs-pay-meta { font-size: 9px; color: var(--inkFaint); display: flex; gap: 4px; }

/* right-click context menu */
.fs-ctx {
  position: absolute;
  top: 12%;
  right: -100px;
  width: 200px;
  background: color-mix(in oklab, var(--surface) 96%, transparent);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 4px;
  box-shadow: 0 12px 32px -4px rgba(0,0,0,0.28);
  font-size: 11px;
  z-index: 10;
  transform: rotate(0deg);
}
.fs-ctx-item {
  display: grid;
  grid-template-columns: 16px 1fr auto;
  gap: 8px;
  padding: 5px 8px;
  border-radius: 4px;
  align-items: center;
  color: var(--ink);
}
.fs-ctx-item.is-active {
  background: var(--accent);
  color: white;
}
.fs-ctx-item.is-active .fs-ctx-shortcut { color: rgba(255,255,255,0.7); }
.fs-ctx-item.is-danger { color: oklch(0.55 0.18 25); }
.fs-ctx-icon { font-size: 11px; text-align: center; }
.fs-ctx-shortcut { font-family: var(--mono); font-size: 10px; color: var(--inkFaint); }
.fs-ctx-sep { height: 1px; background: var(--rule); margin: 4px 6px; }

.fs-pin-tooltip {
  position: absolute;
  left: 50%;
  bottom: 3%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--inkSoft);
  z-index: 5;
  white-space: nowrap;
}


.fs-video-stage {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 1px 0 color-mix(in oklab, var(--ink) 5%, transparent),
    0 30px 60px -30px color-mix(in oklab, var(--ink) 30%, transparent),
    0 60px 120px -60px color-mix(in oklab, var(--accent) 40%, transparent);
}
.fs-video-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 32px;
  padding: 0 12px;
  background: color-mix(in oklab, var(--bg) 70%, var(--surface));
  border-bottom: 1px solid var(--rule);
}
.fs-video-title { font-family: var(--mono); font-size: 11px; color: var(--inkSoft); }
.fs-video-meta { font-family: var(--mono); font-size: 11px; color: var(--inkFaint); }
.fs-video-frame {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--bgAlt);
}
.fs-video {
  width: 100%; height: 100%;
  object-fit: cover;
  background: var(--bgAlt);
}
.fs-video-play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: color-mix(in oklab, var(--surface) 90%, transparent);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--ink);
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px -8px rgba(0,0,0,0.3);
  cursor: pointer;
  transition: transform 200ms, background 200ms;
}
.fs-video-stage:hover .fs-video-play { transform: scale(1.05); }
.fs-video-mute {
  position: absolute;
  bottom: 12px; right: 12px;
  width: 32px; height: 32px;
  border-radius: 8px;
  background: color-mix(in oklab, var(--ink) 70%, transparent);
  color: var(--bg);
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 200ms;
}
.fs-video-stage:hover .fs-video-mute { opacity: 1; }

.fs-demo-stage {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--bgAlt);
  border: 1px solid var(--rule);
  border-radius: 16px;
  overflow: hidden;
  cursor: crosshair;
  user-select: none;
}
.fs-demo-hint {
  position: absolute;
  top: 12px; left: 16px;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--inkFaint);
  z-index: 1;
}
.fs-doc-demo { left: 24px; right: 24px; top: 36px; }
.fs-demo-selrect {
  position: absolute;
  border: 1.5px solid var(--accent);
  background: color-mix(in oklab, var(--accent) 10%, transparent);
  pointer-events: none;
}
.fs-demo-seldim {
  position: absolute;
  bottom: -22px; right: 0;
  font-family: var(--mono);
  font-size: 10px;
  background: var(--accent);
  color: white;
  padding: 2px 6px;
  border-radius: 3px;
}
.fs-float-demo { cursor: grab; }
.fs-float-demo:active { cursor: grabbing; }

/* ---------- marquee ---------- */
.fs-marquee {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 14px 0;
  overflow: hidden;
  background: var(--bgAlt);
}
.fs-marquee-track {
  display: flex;
  gap: 36px;
  width: max-content;
  animation: fs-marq 50s linear infinite;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--inkSoft);
  white-space: nowrap;
}
.fs-marquee-item { display: inline-flex; gap: 10px; align-items: center; }
.fs-marquee-dot { color: var(--accent); font-size: 8px; }
@keyframes fs-marq {
  to { transform: translateX(-50%); }
}

/* ---------- sections ---------- */
.fs-section { padding: 96px 0; }
.fs-section-alt { background: var(--bgAlt); }
.fs-section-head { margin-bottom: 56px; max-width: 720px; }
.fs-align-center { margin-left: auto; margin-right: auto; text-align: center; }
.fs-section-eyebrow {
  display: inline-block;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent);
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}
.fs-section-bracket { color: var(--inkFaint); margin: 0 4px; }

/* ---------- features grid ---------- */
.fs-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}
.fs-feature {
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 36px 32px 40px;
  position: relative;
  transition: background 200ms;
}
.fs-feature:hover { background: var(--bgAlt); }
.fs-feature-tag {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--inkFaint);
  margin-bottom: 24px;
}
.fs-feature-title {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin: 24px 0 8px;
}
.fs-feature-desc {
  font-size: 14.5px;
  color: var(--inkSoft);
  margin: 0;
  line-height: 1.55;
}
@media (max-width: 900px) {
  .fs-feature-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .fs-feature-grid { grid-template-columns: 1fr; }
}

/* glyphs */
.fs-glyph {
  position: relative;
  width: 56px;
  height: 56px;
}
.fs-glyph-card {
  position: absolute;
  border: 1.5px solid var(--ink);
  border-radius: 6px;
}
.fs-gc-1 { width: 36px; height: 28px; left: 0; top: 14px; background: var(--surface); }
.fs-gc-2 { width: 36px; height: 28px; right: 0; top: 4px; background: var(--accent); border-color: var(--accent); }
.fs-gc-3 { width: 36px; height: 28px; left: 10px; top: 24px; background: var(--accentSoft); }
.fs-glyph-pen .fs-gc-1 { width: 44px; height: 32px; left: 0; top: 10px; }
.fs-glyph-stroke {
  position: absolute;
  width: 28px; height: 2px;
  background: var(--accent);
  top: 28px; left: 12px;
  transform: rotate(-25deg);
  border-radius: 2px;
}
.fs-glyph-ocr .fs-gc-1 { width: 48px; height: 36px; left: 4px; top: 8px; background: var(--surface); }
.fs-glyph-line {
  position: absolute;
  height: 2px;
  background: var(--ink);
  left: 12px;
  border-radius: 2px;
}
.fs-glyph-screen .fs-gc-1.is-large { width: 48px; height: 36px; left: 0; top: 6px; background: var(--surface); }
.fs-glyph-screen .fs-gc-2.is-mini { width: 22px; height: 18px; right: 0; bottom: 0; background: var(--accent); border-color: var(--accent); }
.fs-glyph-spark .fs-glyph-dot {
  position: absolute;
  width: 12px; height: 12px;
  background: var(--accent);
  border-radius: 50%;
  left: 22px; top: 22px;
}
.fs-glyph-spark .fs-glyph-ring {
  position: absolute;
  width: 36px; height: 36px;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  left: 10px; top: 10px;
}

/* ---------- steps ---------- */
.fs-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.fs-step { position: relative; padding-right: 24px; }
.fs-step-num {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--accent);
  border: 1px solid var(--accent);
  width: 32px; height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-bottom: 20px;
}
.fs-step-title { font-size: 18px; font-weight: 600; margin: 0 0 8px; letter-spacing: -0.01em; }
.fs-step-body { font-size: 14.5px; color: var(--inkSoft); margin: 0 0 16px; line-height: 1.55; }
.fs-step-keys { display: flex; gap: 6px; flex-wrap: wrap; }
.fs-step-arrow {
  position: absolute;
  right: -8px; top: 8px;
  color: var(--inkFaint);
  font-size: 18px;
}
@media (max-width: 900px) {
  .fs-steps { grid-template-columns: 1fr 1fr; }
  .fs-step-arrow { display: none; }
}
@media (max-width: 540px) {
  .fs-steps { grid-template-columns: 1fr; }
}

/* ---------- showcase ---------- */
.fs-showcase {
  border: 1px solid var(--rule);
  border-radius: 16px;
  overflow: hidden;
  background: var(--surface);
}
.fs-showcase-tabs {
  display: flex;
  border-bottom: 1px solid var(--rule);
  background: var(--bgAlt);
}
.fs-showcase-tab {
  padding: 14px 24px;
  font-size: 13px;
  font-family: var(--mono);
  color: var(--inkSoft);
  border-right: 1px solid var(--rule);
  position: relative;
}
.fs-showcase-tab:hover { color: var(--ink); }
.fs-showcase-tab.is-active {
  color: var(--ink);
  background: var(--surface);
}
.fs-showcase-tab.is-active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
  background: var(--accent);
}
.fs-showcase-stage {
  position: relative;
  aspect-ratio: 16 / 8;
  background:
    radial-gradient(ellipse at 50% 30%, color-mix(in oklab, var(--accent) 8%, transparent), transparent 60%),
    var(--bgAlt);
  overflow: hidden;
}
.fs-showcase-doc {
  position: absolute;
  left: 32px; right: 32px; top: 32px; bottom: 32px;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
}
.fs-showcase-docbar {
  font-family: var(--mono);
  font-size: 11px;
  padding: 8px 14px;
  border-bottom: 1px solid var(--rule);
  color: var(--inkSoft);
  background: var(--bgAlt);
}
.fs-showcase-doctext {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
}
.fs-float-show { width: 220px; }
.fs-float-show-0 { transform: rotate(-1.5deg); }
.fs-float-show-1 { transform: rotate(2deg); }

/* ---------- pricing ---------- */
.fs-pricing {
  display: grid;
  grid-template-columns: minmax(0, 460px) minmax(0, 320px);
  gap: 40px;
  justify-content: center;
  align-items: start;
}
@media (max-width: 800px) {
  .fs-pricing { grid-template-columns: 1fr; }
}
.fs-pricing-card {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 16px;
  padding: 40px;
  position: relative;
  box-shadow: 0 4px 20px -10px color-mix(in oklab, var(--ink) 20%, transparent);
}
.fs-pricing-tag {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent);
  margin-bottom: 12px;
}
.fs-pricing-price { display: flex; align-items: baseline; gap: 4px; margin-bottom: 12px; }
.fs-pricing-currency { font-size: 28px; font-weight: 600; color: var(--inkSoft); }
.fs-pricing-amount { font-size: 88px; font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
.fs-pricing-period { font-family: var(--mono); font-size: 14px; color: var(--inkSoft); margin-left: 8px; }
.fs-pricing-sub { color: var(--inkSoft); font-size: 14.5px; margin: 0 0 28px; }
.fs-pricing-list { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-direction: column; gap: 12px; }
.fs-pricing-list li { display: flex; gap: 10px; align-items: center; font-size: 14.5px; }
.fs-check {
  width: 18px; height: 18px;
  display: inline-flex; align-items: center; justify-content: center;
  background: color-mix(in oklab, var(--accent) 15%, var(--surface));
  color: var(--accent);
  border-radius: 50%;
  font-size: 11px;
  flex-shrink: 0;
}
.fs-pricing-foot { text-align: center; font-size: 13px; color: var(--inkSoft); margin: 16px 0 0; }
.fs-pricing-foot a { color: var(--accent); }
.fs-pricing-foot a:hover { text-decoration: underline; }
.fs-pricing-side {
  padding: 20px;
  border-left: 2px solid var(--accent);
  font-size: 14px;
  color: var(--inkSoft);
}
.fs-pricing-side-title { font-size: 16px; color: var(--ink); margin: 0 0 12px; font-weight: 600; }
.fs-pricing-side p { margin: 0 0 14px; }
.fs-pricing-side-sig { font-family: var(--mono); font-size: 12px; color: var(--inkFaint); }

/* ---------- FAQ ---------- */
.fs-faq {
  max-width: 820px;
  margin: 0 auto;
  border-top: 1px solid var(--rule);
}
.fs-faq-item {
  border-bottom: 1px solid var(--rule);
}
.fs-faq-q {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 24px 0;
  cursor: pointer;
  list-style: none;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.fs-faq-q::-webkit-details-marker { display: none; }
.fs-faq-num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--inkFaint);
  flex-shrink: 0;
}
.fs-faq-text { flex: 1; }
.fs-faq-icon {
  font-size: 22px;
  font-weight: 300;
  color: var(--inkSoft);
  transition: transform 200ms;
}
.fs-faq-item[open] .fs-faq-icon { transform: rotate(45deg); }
.fs-faq-a {
  padding: 0 0 24px 56px;
  font-size: 15px;
  color: var(--inkSoft);
  max-width: 60ch;
  line-height: 1.6;
}
@media (max-width: 600px) {
  .fs-faq-a { padding-left: 0; }
}

/* ---------- final CTA ---------- */
.fs-cta {
  padding: 120px 0;
  background: var(--ink);
  color: var(--bg);
  position: relative;
  overflow: hidden;
}
.fs-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 80%, color-mix(in oklab, var(--accent) 30%, transparent), transparent 50%),
    radial-gradient(ellipse at 80% 20%, color-mix(in oklab, var(--accent) 20%, transparent), transparent 50%);
  pointer-events: none;
}
.fs-cta-inner { text-align: center; max-width: 640px; margin: 0 auto; position: relative; }
.fs-cta-title { color: var(--bg); }
.fs-cta-sub { color: color-mix(in oklab, var(--bg) 70%, var(--ink)); font-size: 18px; margin: 0 0 32px; }
.fs-cta-ctas { justify-content: center; }
.fs-cta .fs-btn-primary { background: var(--bg); color: var(--ink); }
.fs-cta .fs-btn-primary:hover { background: var(--accentSoft); }
.fs-cta .fs-btn-ghost { color: var(--bg); border-color: color-mix(in oklab, var(--bg) 30%, transparent); }
.fs-cta .fs-btn-ghost:hover { border-color: var(--bg); }

/* ---------- footer ---------- */
.fs-footer {
  background: var(--bg);
  border-top: 1px solid var(--rule);
  padding: 72px 0 36px;
}
.fs-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
@media (max-width: 800px) {
  .fs-footer-grid { grid-template-columns: 1fr 1fr; }
}
.fs-footer-brand .fs-brand { margin-bottom: 16px; }
.fs-footer-tagline { color: var(--inkSoft); font-size: 14px; max-width: 32ch; margin: 0 0 12px; }
.fs-footer-meta { font-family: var(--mono); font-size: 11px; color: var(--inkFaint); margin: 0; }
.fs-footer-h {
  font-size: 12px;
  font-family: var(--mono);
  font-weight: 500;
  color: var(--inkFaint);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 16px;
}
.fs-footer-grid > div > a {
  display: block;
  font-size: 14px;
  color: var(--inkSoft);
  margin-bottom: 10px;
}
.fs-footer-grid > div > a:hover { color: var(--ink); }
.fs-footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  font-size: 13px;
  color: var(--inkFaint);
}
.fs-footer-mono { font-family: var(--mono); }
