/* ════════════════════════════════════════════════════════
   SOLACY — Clean professional B2B design
   Inter font · White/off-white · Proper grids · Subtle depth
   ════════════════════════════════════════════════════════ */

/* ═══ LOADER ═══ */

/* Suppress hero entrance animations while loader is active */
body.ldr-active .hero-left > *,
body.ldr-active .hd-thread,
body.ldr-active .hd-slack {
  animation-play-state: paused !important;
}

.ldr {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #faf8f5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
}
.ldr-svg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: visible;
}

/* Curved SVG connecting lines */
.ldr-line {
  stroke: rgba(95,110,51,0.15);
  stroke-width: 1;
  fill: none;
  animation: ldr-draw 0.65s cubic-bezier(0.4,0,0.2,1) forwards;
}
.ldr-line.ln-on {
  stroke: rgba(95,110,51,0.4);
  transition: stroke 0.4s ease;
}
@keyframes ldr-draw { to { stroke-dashoffset: 0; } }

/* Center avatar */
.ldr-av {
  position: relative;
  width: 84px; height: 84px;
  z-index: 2;
  animation: ldr-pop 0.7s cubic-bezier(0.22,1,0.36,1) 1s both;
}
.ldr-av img {
  width: 100%; height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  box-shadow: 0 8px 40px rgba(0,0,0,0.13);
}
.ldr-r1, .ldr-r2 {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid rgba(95,110,51,0.18);
  pointer-events: none;
  animation: ldr-ring 3s ease-in-out infinite;
}
.ldr-r1 { inset: -10px; }
.ldr-r2 { inset: -24px; animation-delay: 0.6s; opacity: 0.4; }
@keyframes ldr-ring {
  0%,100% { transform: scale(1);    opacity: 0.5; }
  50%      { transform: scale(1.05); opacity: 1;   }
}

/* Brand text below avatar */
.ldr-foot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  z-index: 2;
  animation: ldr-pop 0.5s ease 1.2s both;
}
.ldr-name {
  font-family: 'Instrument Serif', Georgia, serif;
  font-style: italic;
  font-size: 22px;
  color: #5F6E33;
  margin: 0;
  line-height: 1;
}
.ldr-status {
  font-size: 11px;
  color: #888;
  margin: 0;
  letter-spacing: 0.01em;
  transition: opacity 0.25s ease;
}

/* Tool nodes — Figma comment bubble style */
.ldr-node {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: 12px;
  padding: 10px 14px 10px 10px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.09), 0 1px 4px rgba(0,0,0,0.05);
  z-index: 3;
  min-width: 130px;
  /* entrance + float handled entirely by JS */
}

/* Logo icon container */
.ldr-node-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: rgba(0,0,0,0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}
.ldr-node-icon svg { display: block; }

/* Text stack */
.ldr-node-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.ldr-node-name {
  font-size: 12px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1;
}
.ldr-node-msg {
  font-size: 10.5px;
  color: #888;
  line-height: 1;
  font-weight: 400;
  white-space: nowrap;
}

/* Connected state glow on node border */
.ldr-node.nd-on {
  border-color: rgba(95,110,51,0.3);
  box-shadow: 0 4px 24px rgba(95,110,51,0.12), 0 1px 4px rgba(0,0,0,0.04);
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}


/* ═══ RESET & TOKENS ═══ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

:root {
  --white:    #ffffff;
  --off:      #faf9f7;
  --sand:     #f4f3ef;
  --ink:      #1a1a1a;
  --ink-2:    #3d3d3d;
  --mid:      #6b6b6b;
  --faint:    #9b9b9b;
  --border:   #e8e8e5;
  --border-2: #d5d5d0;
  --accent:   #5F6E33;
  --accent-h: #4A5527;
  --accent-bg:#eff2e0;
  --rose:     #A68856;
  --rose-soft:#F3EADA;
  --green:    #34A853;
  --red:      #E05D6F;
  --gold:     #F5A623;
  --w:        1200px;
}

body {
  background: var(--white);
  color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }

/* ═══ LAYOUT ═══ */
.container { max-width: var(--w); margin: 0 auto; padding: 0 40px; }
.sec { padding: 120px 0; }
.sec-alt { background: var(--off); }

/* ═══ COMMON ELEMENTS ═══ */
.overline {
  display: block;
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.sec-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 56px;
}
.sec-header-left { text-align: left; max-width: none; }
.sec-h2 {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 14px;
}
.sec-h2 em { font-style: italic; color: var(--accent); }
.sec-desc {
  font-size: 17px; color: var(--mid); line-height: 1.7;
  max-width: 520px; margin: 0 auto;
}
.sec-header-left .sec-desc { margin: 0; }

.pill {
  display: inline-block;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-bg);
  border-radius: 6px;
  padding: 4px 10px;
}

/* ═══ BUTTONS ═══ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  text-decoration: none;
  font-family: inherit;
  font-size: 15px; font-weight: 500;
  padding: 13px 30px;
  border-radius: 100px;
  transition: all 0.25s ease;
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: var(--accent); color: var(--white);
  box-shadow: 0 2px 12px rgba(95,110,51,0.25);
}
.btn-primary:hover {
  background: var(--accent-h);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(95,110,51,0.35);
}
.btn-ghost {
  background: none; color: var(--ink);
  font-weight: 500;
  padding: 13px 16px;
}
.btn-ghost:hover { color: var(--accent); }
.btn-secondary {
  background: var(--white); color: var(--ink);
  border: 1px solid var(--border);
  border-radius: 100px;
}
.btn-secondary:hover {
  border-color: var(--ink);
  transform: translateY(-1px);
}

/* ═══ NAV ═══ */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex; justify-content: center;
  padding: 14px 20px;
  pointer-events: none;
}
.nav-pill {
  display: flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 100px;
  padding: 5px 6px 5px 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 4px 20px rgba(0,0,0,0.06);
  pointer-events: auto;
  transition: box-shadow 0.3s ease, background 0.3s ease;
}
.nav-pill:hover {
  box-shadow: 0 4px 28px rgba(0,0,0,0.1);
  background: rgba(255,255,255,0.92);
}
.nav-logo {
  display: flex; align-items: center; gap: 8px;
  text-decoration: none;
  font-size: 14px; font-weight: 700; color: var(--ink);
  padding: 0 8px 0 4px;
  letter-spacing: -0.01em;
}
.nav-logo img {
  width: 26px; height: 26px; border-radius: 50%;
  object-fit: cover; object-position: center 10%;
  border: 1.5px solid rgba(95,110,51,0.25);
}
.nav-links {
  display: flex; align-items: center; gap: 2px;
}
.nav-links a {
  font-size: 13px; font-weight: 500; color: var(--mid);
  text-decoration: none;
  padding: 7px 14px;
  border-radius: 100px;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: var(--ink); background: rgba(0,0,0,0.04); }
.nav-cta {
  display: inline-flex; align-items: center;
  background: var(--accent); color: var(--white);
  font-size: 12px; font-weight: 600;
  padding: 7px 16px;
  border-radius: 100px;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: background 0.2s, transform 0.2s;
  margin-left: 2px;
}
.nav-cta:hover { background: var(--accent-h); transform: scale(1.04); }

/* ═══ HERO ═══ */
.hero {
  min-height: 100vh;
  background: #faf8f5;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  position: relative;
  overflow: hidden;
}

/* Left: copy */
.hero-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  padding: 120px max(4vw, 48px) 80px max(6vw, 72px);
  z-index: 2;
}

/* Right: product demo */
.hero-right {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px max(3vw, 40px) 80px 0;
}

/* Status badge */
.hero-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  color: var(--mid);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px 16px;
  margin-bottom: 28px;
  animation: fade-up 0.5s ease both 0.1s;
}
.hbadge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #52a852;
  flex-shrink: 0;
  animation: pulse-green 2.5s ease-in-out infinite;
}
@keyframes pulse-green {
  0%, 100% { box-shadow: 0 0 0 0 rgba(82,168,82,0.5); }
  50%       { box-shadow: 0 0 0 5px rgba(82,168,82,0); }
}

/* Headline */
.hero-h1 {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: clamp(40px, 4.8vw, 72px);
  font-weight: 400;
  color: #1a1a1a;
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
  animation: fade-up 0.7s ease both 0.2s;
}
.hero-h1 em {
  font-style: italic;
  color: var(--accent);
}

/* Intro */
.hero-intro {
  font-size: 17px;
  font-weight: 400;
  color: var(--mid);
  line-height: 1.68;
  max-width: 400px;
  margin-bottom: 36px;
  animation: fade-up 0.6s ease both 0.35s;
}

/* ─── Product demo ─── */
.hero-demo {
  position: relative;
  width: 100%;
  max-width: 400px;
}

.hd-thread {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 16px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.1), 0 4px 12px rgba(0,0,0,0.04);
  overflow: hidden;
  animation: fade-up 0.65s cubic-bezier(0.22,1,0.36,1) both 0.45s;
}

.hd-thread-hd {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: #f5f4f0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  font-size: 11px;
  color: #aaa;
}
.hd-filename { font-weight: 600; color: #666; }
.hd-dot { color: #ddd; margin: 0 1px; }

.hd-comment {
  display: flex;
  gap: 11px;
  padding: 14px;
}
.hd-comment + .hd-comment {
  border-top: 1px solid rgba(0,0,0,0.05);
}
.hd-comment-sol {
  background: rgba(95,110,51,0.028);
}

.hd-av {
  width: 28px; height: 28px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  margin-top: 1px;
}

.hd-comment-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  margin-bottom: 5px;
}
.hd-comment-meta strong { color: #222; font-weight: 600; }
.hd-comment-meta span   { color: #bbb; }
.hd-sol-meta strong     { color: var(--accent); }

.hd-comment-text {
  font-size: 13px;
  color: #333;
  line-height: 1.5;
  margin: 0;
}

.hd-shipped {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 8px;
  font-size: 11px;
  font-weight: 500;
  color: #52a852;
}

/* Slack notification */
.hd-slack {
  position: absolute;
  bottom: -20px;
  right: -18px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: 12px;
  padding: 10px 14px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: fade-up 0.6s ease both 1s, float-b 5s ease-in-out 2.4s infinite;
}
.hd-slack-ch  { font-size: 10.5px; font-weight: 700; color: var(--accent); margin-bottom: 2px; white-space: nowrap; }
.hd-slack-msg { font-size: 12px; color: #555; white-space: nowrap; }

@keyframes float-b {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-7px); }
}

/* SEO capsule — visually hidden */
.answer-capsule {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ═══ CONTENT PAGES ═══ */
.content-nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.9);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.content-nav-inner {
  max-width: 1080px; margin: 0 auto;
  padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.content-nav-logo {
  display: flex; align-items: center; gap: 10px;
  color: var(--ink); text-decoration: none; font-weight: 600;
}
.content-nav-logo img { width: 28px; height: 28px; border-radius: 50%; }
.content-nav-links { display: flex; gap: 24px; font-size: 14px; }
.content-nav-links a { color: var(--mid); text-decoration: none; transition: color 0.2s ease; }
.content-nav-links a:hover { color: var(--ink); }
.content-nav-cta {
  font-size: 14px; font-weight: 600;
  color: var(--white); background: var(--ink);
  padding: 9px 18px; border-radius: 100px;
  text-decoration: none; white-space: nowrap;
}

.content-page {
  max-width: 720px; margin: 0 auto;
  padding: 72px 24px 40px;
}
.content-page .page-header { margin-bottom: 48px; }
.content-page h1 {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: clamp(40px, 6vw, 68px);
  font-weight: 400; font-style: italic;
  color: var(--ink);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.content-page .answer-capsule-page {
  font-size: 19px;
  color: var(--ink-2);
  line-height: 1.55;
  margin-bottom: 20px;
}
.content-page .meta {
  font-size: 12px;
  color: var(--faint);
  font-family: 'Inter', monospace;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.content-page article > section { margin-bottom: 40px; }
.content-page h2 {
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin: 48px 0 16px;
}
.content-page h3 {
  font-size: 19px; font-weight: 600;
  color: var(--ink);
  margin: 28px 0 8px;
}
.content-page p, .content-page li {
  font-size: 17px;
  color: var(--ink-2);
  line-height: 1.7;
  margin-bottom: 14px;
}
.content-page ul, .content-page ol {
  margin: 0 0 16px; padding-left: 22px;
}
.content-page li { margin-bottom: 8px; }
.content-page a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}
.content-page a:hover { color: var(--accent-h); }
.content-page strong { color: var(--ink); font-weight: 600; }

.content-page .related-faq {
  border-top: 1px solid var(--border);
  padding-top: 40px;
  margin-top: 56px;
}
.content-page .related-faq h2 {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: clamp(28px, 4vw, 40px);
  font-style: italic; font-weight: 400;
  margin: 0 0 28px;
  letter-spacing: -0.01em;
}
.content-page .related-faq .faq-item { padding: 22px 0; }

.content-cta {
  margin-top: 56px;
  padding: 36px 32px;
  background: var(--accent-bg);
  border-radius: 20px;
  text-align: center;
}
.content-cta p {
  font-size: 17px;
  color: var(--ink);
  margin-bottom: 22px;
  max-width: 520px; margin-left: auto; margin-right: auto;
}
.content-cta a {
  display: inline-block;
  padding: 12px 28px;
  background: var(--ink);
  color: var(--white);
  border-radius: 100px;
  text-decoration: none;
  font-size: 14px; font-weight: 600;
  transition: transform 0.2s ease;
}
.content-cta a:hover { transform: translateY(-1px); color: var(--white); }

.content-footer {
  background: #faf8f5;
  border-top: 1px solid var(--border);
  padding: 48px 24px 28px;
  margin-top: 60px;
}
.content-footer-inner {
  max-width: 1080px; margin: 0 auto;
  display: flex; flex-wrap: wrap;
  align-items: flex-start; justify-content: space-between;
  gap: 32px;
}
.content-footer-logo {
  display: flex; align-items: center; gap: 10px;
  color: var(--ink); text-decoration: none;
  font-weight: 600; font-size: 16px;
}
.content-footer-logo img { width: 32px; height: 32px; border-radius: 50%; }
.content-footer-links {
  display: flex; flex-wrap: wrap; gap: 22px;
  font-size: 14px;
}
.content-footer-links a { color: var(--mid); text-decoration: none; }
.content-footer-links a:hover { color: var(--ink); }
.content-footer-copy {
  width: 100%;
  color: var(--faint);
  font-size: 13px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  margin-top: 12px;
}
@media (max-width: 640px) {
  .content-nav-links { display: none; }
  .content-page { padding: 44px 20px 28px; }
  .content-page h1 { font-size: 38px; }
}

/* FAQ section */
.faq-section {
  padding: 80px 24px 100px;
  max-width: 820px;
  margin: 0 auto;
}
.faq-section h2 {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 400;
  font-style: italic;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: 48px;
  text-align: center;
}
.faq-item {
  border-top: 1px solid var(--border);
  padding: 28px 0;
}
.faq-item:last-child { border-bottom: 1px solid var(--border); }
.faq-item h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}
.faq-item p {
  font-size: 16px;
  color: var(--mid);
  line-height: 1.65;
}
@media (max-width: 600px) {
  .faq-section { padding: 60px 20px 80px; }
  .faq-item h3 { font-size: 18px; }
  .faq-item p { font-size: 15px; }
}

/* CTA */
.hero-cta {
  font-size: 14px; font-weight: 600;
  color: #fff;
  text-decoration: none;
  padding: 13px 30px;
  background: var(--accent);
  border-radius: 100px;
  transition: all 0.22s ease;
  animation: fade-up 0.5s ease both 0.55s;
  box-shadow: 0 4px 20px rgba(95,110,51,0.3);
}
.hero-cta:hover {
  background: var(--accent-h);
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(95,110,51,0.4);
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ═══ DEMO (HOW IT WORKS) ═══ */
.demo-layout {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 56px;
  align-items: start;
}

.demo-steps {
  display: flex; flex-direction: column;
  gap: 0;
}
.demo-step {
  display: flex; gap: 16px;
  padding: 48px 0;
  border-bottom: 1px solid var(--border);
  opacity: 0.35;
  transition: opacity 0.4s ease;
}
.demo-step:first-child { border-top: 1px solid var(--border); }
.demo-step.ds-active { opacity: 1; }

.step-indicator {
  padding-top: 4px;
  flex-shrink: 0;
}
.step-dot {
  display: block;
  width: 8px; height: 8px; border-radius: 50%;
  transition: box-shadow 0.3s;
}
.demo-step.ds-active .step-dot {
  box-shadow: 0 0 0 4px rgba(95,110,51,0.12);
}
.step-num {
  display: block;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--faint);
  margin-bottom: 4px;
}
.step-h {
  font-size: 18px; font-weight: 600;
  color: var(--ink); margin-bottom: 6px;
}
.step-p {
  font-size: 14px; color: var(--mid); line-height: 1.65;
}
.step-p strong { color: var(--accent); }

/* ══ Demo full-screen pin ══════════════════════════════ */
.demo-full { background: var(--off); }

.demo-full-hd {
  text-align: center;
  padding: 96px 40px 48px;
  background: var(--off);
}
.demo-full-hd .overline { color: var(--accent); }
.demo-full-hd .sec-h2  { margin-bottom: 14px; }
.demo-full-hd .sec-desc { max-width: 480px; margin: 0 auto; }

.demo-pin {
  width: 100%;
  height: 100vh;
  position: relative;
  overflow: hidden;
  background: var(--off);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Single persistent Figma shell wrapper */
.dfsh-wrap {
  width: min(1100px, calc(100vw - 40px));
  height: min(640px, calc(100vh - 100px));
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 48px 120px rgba(0,0,0,0.24), 0 6px 20px rgba(0,0,0,0.08);
  border: 1px solid rgba(0,0,0,0.12);
  will-change: transform, opacity;
}
.dfsh-wrap .fsh { border-radius: 0; border: none; box-shadow: none; }

/* Canvas viewport: stacked content layers */
.dcv-viewport { position: relative; overflow: hidden; }
.dcv {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  will-change: opacity;
}
.dcv-dark { background: #1e1e1e; background-image: none; }
.dcv:not(.dcv-dark) {
  padding: 28px 24px; gap: 14px;
  align-items: flex-start; justify-content: flex-start;
}

/* Solacy cursor in canvas (scene 0) */
.dcv-cursor {
  position: absolute; bottom: 38%; right: 26%;
  display: flex; align-items: center; gap: 3px;
  pointer-events: none; will-change: transform, opacity;
}
.dcv-cursor-tag {
  display: flex; align-items: center; gap: 6px;
  background: #6B47F5; color: #fff;
  font-size: 11px; font-weight: 600;
  padding: 4px 10px 4px 4px; border-radius: 6px;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(107,71,245,0.4);
}
.dcv-cursor-av {
  width: 20px; height: 20px;
  border-radius: 4px;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,0.3);
}

/* Scene 2: magic working */
.dcv2-magic {
  position: absolute; inset: 0;
  padding: 28px 24px;
  display: flex; align-items: flex-start; justify-content: flex-start;
  overflow: hidden;
}
.dcv2-frames { opacity: 0.85; }
.dcv2-frames .ds1-frame { position: relative; }
.dcv2-frames .ds1-frm-body {
  position: relative;
  overflow: hidden;
}
/* Shimmer sweep across active frame */
.dcv2-frame-active .ds1-frm-body::before {
  content: '';
  position: absolute;
  top: 0; left: -100%; width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(107,71,245,0.25), rgba(255,255,255,0.2), rgba(107,71,245,0.15), transparent);
  z-index: 3; pointer-events: none;
  animation: dcv2-shimmer 1.8s ease-in-out infinite;
}
@keyframes dcv2-shimmer {
  0%   { left: -100%; }
  100% { left: 200%; }
}
.dcv2-cursor {
  position: absolute;
  display: flex; align-items: center; gap: 3px;
  pointer-events: none; will-change: transform;
  z-index: 5;
}
.dcv2-cursor span {
  background: #6B47F5; color: #fff;
  font-size: 10px; font-weight: 600;
  padding: 2px 7px; border-radius: 3px; white-space: nowrap;
}
.dcv2-glow {
  position: absolute;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(107,71,245,0.45) 0%, rgba(155,126,253,0.2) 30%, rgba(107,71,245,0.08) 55%, transparent 70%);
  pointer-events: none; will-change: transform;
  z-index: 3;
  filter: blur(20px);
  animation: dcv2-pulse 2s ease-in-out infinite;
}
.dcv2-status {
  position: absolute;
  top: 8px; left: 50%; transform: translateX(-50%);
  background: rgba(107,71,245,0.12);
  color: rgba(107,71,245,0.7);
  font-size: 11px; font-weight: 600;
  padding: 5px 14px; border-radius: 6px;
  white-space: nowrap;
  z-index: 10;
  letter-spacing: 0.01em;
}
.dcv2-frame-active {
  opacity: 1 !important;
  border-radius: 10px;
  position: relative;
  animation: dcv2-border-glow 1.8s ease-in-out infinite;
}
.dcv2-frame-active .ds1-frm-body {
  border-color: rgba(107,71,245,0.35);
  background: #f0ecff;
}
@keyframes dcv2-border-glow {
  0%, 100% {
    box-shadow: 0 0 0 3px rgba(107,71,245,0.6), 0 0 24px rgba(107,71,245,0.25), 0 0 48px rgba(107,71,245,0.1);
  }
  50% {
    box-shadow: 0 0 0 3px rgba(107,71,245,0.9), 0 0 40px rgba(107,71,245,0.4), 0 0 80px rgba(155,126,253,0.2);
  }
}
@keyframes dcv2-pulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50%      { opacity: 1; transform: scale(1.15); }
}
.dcv2-glow { animation: dcv2-pulse 2.2s ease-in-out infinite; }

/* Scene 3: reply popover centered over dimmed frames */
.dcv3-reply {
  position: absolute !important;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0.7);
  width: 300px; z-index: 10;
  opacity: 0;
}
.dslk-r-anim { opacity: 0; transform: scale(0) translateY(6px); }

/* Confetti burst */
.demo-confetti {
  position: absolute; inset: 0;
  pointer-events: none; z-index: 30;
  overflow: hidden;
}
.demo-confetti-dot {
  position: absolute;
  border-radius: 2px;
  top: 50%; left: 50%;
  opacity: 0;
}
@keyframes confetti-burst {
  0%   { transform: translate(0,0) rotate(0deg) scale(1); opacity: 1; }
  100% { transform: translate(var(--cx),var(--cy)) rotate(var(--cr,180deg)) scale(0); opacity: 0; }
}

/* (cursor styles moved above) */

/* Scene 3 scroll container */
.dcv3-scroll {
  flex: 1; padding: 14px 16px;
  overflow-y: auto; scrollbar-width: none;
  display: flex; flex-direction: column; gap: 12px;
}
.dcv3-scroll::-webkit-scrollbar { display: none; }

/* Sidebar helper icons */
.dfsh-flag { color: #f5a623; font-size: 9px; font-weight: 700; margin-left: auto; flex-shrink: 0; }
.dfsh-chk { color: #34A853; font-size: 10px; font-weight: 700; margin-left: auto; flex-shrink: 0; transition: opacity 0.4s ease; }

/* Slack floating card */
/* Slack pop notification — slides down from top-right like macOS */
.demo-slack {
  position: absolute; top: 80px; right: 32px;
  width: 340px; background: #1A1D21;
  border-radius: 14px; border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 4px 16px rgba(0,0,0,0.15);
  z-index: 20; overflow: hidden; will-change: transform, opacity;
}
.dslk-hd {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px; background: #121316;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.dslk-ch { font-size: 12px; font-weight: 700; color: rgba(255,255,255,0.72); }
.dslk-time { font-size: 10px; color: rgba(255,255,255,0.24); margin-left: auto; }
.dslk-msg { display: flex; gap: 10px; padding: 12px 14px; }
.dslk-av { width: 32px; height: 32px; border-radius: 6px; object-fit: cover; flex-shrink: 0; }
.dslk-body { flex: 1; min-width: 0; }
.dslk-meta { display: flex; align-items: baseline; gap: 6px; margin-bottom: 5px; flex-wrap: wrap; }
.dslk-meta strong { font-size: 13px; color: rgba(255,255,255,0.9); }
.dslk-badge { font-size: 9px; font-weight: 700; color: rgba(255,255,255,0.9); background: rgba(46,182,125,0.85); border-radius: 3px; padding: 1px 5px; letter-spacing: 0.04em; }
.dslk-ts { font-size: 10px; color: rgba(255,255,255,0.28); }
.dslk-text { font-size: 12px; color: rgba(255,255,255,0.72); line-height: 1.55; margin: 0; }
.dslk-link { display: inline-block; margin-top: 7px; font-size: 11px; color: #1D9BD1; text-decoration: none; font-weight: 500; }
.dslk-reactions { display: flex; gap: 6px; margin-top: 10px; }
.dslk-react { font-size: 11px; color: rgba(255,255,255,0.56); background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1); border-radius: 12px; padding: 3px 8px; white-space: nowrap; }

/* Scene 1 — wireframe onboarding frames */
.ds1-frames-row {
  display: flex; gap: 14px;
  align-items: flex-start;
}
.ds1-frame { width: 152px; flex-shrink: 0; }
.ds1-frm-lbl {
  font-size: 9px; color: rgba(255,255,255,0.22);
  margin-bottom: 6px; font-family: monospace;
  display: flex; align-items: center; gap: 6px;
}
.ds1-flag {
  font-size: 8.5px; color: #f5a623;
  background: rgba(245,166,35,0.12);
  border: 1px solid rgba(245,166,35,0.28);
  border-radius: 3px; padding: 1px 5px;
  font-family: inherit;
}
.ds1-frm-body {
  background: var(--off);
  border-radius: 8px; height: 216px;
  border: 1px solid rgba(255,255,255,0.06);
  padding: 12px; display: flex;
  flex-direction: column; gap: 8px; overflow: hidden;
}
.ds1-wf-topbar { height: 5px; background: #ddd; border-radius: 3px; width: 50%; }
.ds1-wf-hero {
  flex: 1; background: linear-gradient(135deg, #ede9fc 0%, #e8f5f0 100%);
  border-radius: 4px; min-height: 60px;
}
.ds1-wf-line { height: 6px; background: #ddd; border-radius: 3px; }
.ds1-wf-field {
  height: 22px; border: 1.5px solid #d5d5d5;
  border-radius: 4px; background: #fff;
}
.ds1-wf-field-err { border-color: #e05d6f; background: #fff5f6; }
.ds1-wf-cta { height: 26px; background: var(--accent); border-radius: 5px; }
.ds1-wf-integrations { display: flex; gap: 8px; }
.ds1-wf-int-icon {
  width: 36px; height: 36px; border-radius: 8px;
  background: linear-gradient(135deg, #e8e4ff, #f0f8ff); border: 1px solid #e0e0e0;
}
.ds1-wf-check {
  width: 40px; height: 40px; border-radius: 50%;
  background: #34A853; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 700; flex-shrink: 0;
}

/* Floating comment popover anchored in canvas */
.ds1-cmt-pop {
  position: absolute !important;
  top: 20px; right: 16px;
  width: 280px; z-index: 10;
}

/* Scene label — top center of pin */
.demo-scene-lbl {
  position: absolute;
  top: 32px; left: 50%;
  transform: translateX(-50%);
  z-index: 30;
  display: flex; align-items: center; gap: 10px;
  white-space: nowrap;
  pointer-events: none;
}
.dsl-step {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.14em; color: var(--accent);
  text-transform: uppercase; min-width: 20px;
}
.dsl-txt { font-size: 13px; color: #888; font-weight: 500; }

/* Bottom dot nav */
.demo-dot-nav {
  position: absolute;
  bottom: 30px; left: 50%;
  transform: translateX(-50%);
  z-index: 30;
  display: flex; gap: 7px; align-items: center;
  pointer-events: none;
}
.d-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(95,110,51,0.18);
  transition: all 0.4s ease;
}
.d-dot.on {
  background: var(--accent);
  width: 22px; border-radius: 3px;
}

/* Compat — keep old classes from erroring */
.demo-panel { display: none; }
.demo-screen { display: none; }

/* ══ Full Figma Shell ══════════════════════════════════ */
.fsh {
  display: flex; flex-direction: column;
  height: 100%;
  background: #1e1e1e;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.07);
  box-shadow: 0 12px 56px rgba(0,0,0,0.22), 0 2px 6px rgba(0,0,0,0.14);
}
.fsht {
  height: 44px; flex-shrink: 0;
  background: #2c2c2c;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 14px; gap: 8px;
}
.fsht-l { display: flex; align-items: center; overflow: hidden; }
.fsh-flogo { flex-shrink: 0; margin-right: 10px; }
.fsht-fname { font-size: 12px; font-weight: 500; color: rgba(255,255,255,0.78); flex-shrink: 0; }
.fsht-fsep { color: rgba(255,255,255,0.2); margin: 0 6px; flex-shrink: 0; }
.fsht-fpage { font-size: 12px; color: rgba(255,255,255,0.4); flex-shrink: 0; }
.fsht-c { display: flex; align-items: center; flex-shrink: 0; }
.fsht-tools { display: flex; align-items: center; gap: 2px; }
.fshtool {
  width: 30px; height: 30px; display: flex; align-items: center; justify-content: center;
  border-radius: 6px; cursor: default; color: rgba(255,255,255,0.38); user-select: none;
}
.fshtool-on { background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.85); }
.fshtool-text { font-size: 12px; font-weight: 700; }
.fshtool-cmt.fshtool-on { background: rgba(95,110,51,0.24); color: var(--rose); }
.fsht-divider { width: 1px; height: 18px; background: rgba(255,255,255,0.1); margin: 0 4px; flex-shrink: 0; }
.fsht-r { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.fsht-collabs { display: flex; align-items: center; }
.fsht-av {
  width: 24px; height: 24px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 700; color: white;
  border: 2px solid #2c2c2c;
  margin-left: -5px; flex-shrink: 0; position: relative; overflow: hidden;
}
.fsht-av:first-child { margin-left: 0; }
.fsht-av img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fsht-av-sol { border-color: var(--accent); }
.fsht-live {
  position: absolute; bottom: -1px; right: -1px;
  width: 7px; height: 7px; border-radius: 50%;
  background: #34A853; border: 1.5px solid #2c2c2c; z-index: 2;
}
.fsht-share {
  border: 1px solid rgba(255,255,255,0.16); border-radius: 6px;
  padding: 4px 12px; font-size: 11px; color: rgba(255,255,255,0.65);
  cursor: default; white-space: nowrap; background: transparent;
}
.fsh-mid { flex: 1; display: flex; overflow: hidden; min-height: 0; }
.fsh-sp {
  width: 184px; flex-shrink: 0; background: #252525;
  border-right: 1px solid rgba(255,255,255,0.05);
  display: flex; flex-direction: column; overflow: hidden;
}
.fshs-tabs { display: flex; flex-shrink: 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
.fshs-tab {
  flex: 1; text-align: center; padding: 8px 4px;
  font-size: 11px; color: rgba(255,255,255,0.3); cursor: default;
  border-bottom: 2px solid transparent;
}
.fshs-tab-on { color: rgba(255,255,255,0.75); border-bottom-color: rgba(255,255,255,0.4); }
.fshs-tree { flex: 1; overflow-y: auto; padding: 6px 0; scrollbar-width: none; }
.fshs-tree::-webkit-scrollbar { display: none; }
.fshs-row {
  display: flex; align-items: center; gap: 2px;
  padding: 3px 6px 3px 8px; font-size: 11px; color: rgba(255,255,255,0.38);
  cursor: default; white-space: nowrap; overflow: hidden;
  border-radius: 3px; margin: 0 4px 1px;
}
.fshs-sel { background: rgba(24,160,251,0.16); color: rgba(255,255,255,0.88); }
.fshs-child { padding-left: 22px; }
.fshs-arr { font-size: 7px; flex-shrink: 0; color: rgba(255,255,255,0.2); width: 10px; }
.fshs-open { color: rgba(255,255,255,0.45); }
.fshs-ic { font-size: 9px; flex-shrink: 0; margin-right: 3px; }
.fshs-nm { overflow: hidden; text-overflow: ellipsis; flex: 1; }
.fshs-row .fc-layer-tag { margin-left: auto; flex-shrink: 0; font-size: 9px; color: #34A853; }
.fsh-cv {
  flex: 1; position: relative;
  background: #1a1a1a;
  background-image: radial-gradient(circle, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 20px 20px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.fshcv-frame-grp { position: relative; }
.fshcv-frm-lbl { position: absolute; top: -20px; left: 0; font-size: 10px; color: rgba(255,255,255,0.3); }
.fshcv-frm-body {
  background: #272727; border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px; padding: 18px 20px;
  display: flex; flex-direction: column; gap: 10px;
}
.fshcv-col-hd { display: flex; gap: 10px; padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,0.06); }
.fshcv-col-hd span {
  flex: 1; text-align: center; font-size: 9px; color: rgba(255,255,255,0.2);
  letter-spacing: 0.06em; text-transform: uppercase;
}
.fshcv-row { display: flex; gap: 10px; align-items: center; }
.fshcv-btn {
  flex: 1; text-align: center; font-size: 12px; font-family: 'Inter', sans-serif;
  padding: 9px 4px; border-radius: 7px; cursor: default;
  white-space: nowrap; overflow: hidden; position: relative;
}
.fshcv-pri { background: var(--accent); color: #fff; }
.fshcv-pri.fshcv-hov { background: var(--accent-h); }
.fshcv-pri.fshcv-dis { opacity: 0.28; }
.fshcv-sec { background: transparent; color: rgba(255,255,255,0.58); border: 1px solid rgba(255,255,255,0.14); }
.fshcv-sec.fshcv-hov { border-color: rgba(255,255,255,0.28); color: rgba(255,255,255,0.78); }
.fshcv-sec.fshcv-dis { opacity: 0.28; }
.fshcv-gho { background: transparent; color: rgba(255,255,255,0.32); }
.fshcv-gho.fshcv-hov { background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.52); }
.fshcv-gho.fshcv-dis { opacity: 0.28; }
.fshcv-sel-item { position: relative; }
.fshcv-sel-ring {
  position: absolute; inset: -3px; border: 1.5px solid #18a0fb;
  border-radius: 10px; pointer-events: none;
  animation: sel-pulse 2s ease-in-out infinite;
}
.fshcv-sol-cursor {
  position: absolute; bottom: calc(100% + 6px); left: 0;
  display: flex; align-items: center; gap: 4px; pointer-events: none; z-index: 3;
}
.fshcv-sol-cursor svg { flex-shrink: 0; }
.fshcv-sol-cursor span {
  font-size: 10px; background: var(--accent); color: white;
  padding: 2px 7px; border-radius: 4px; white-space: nowrap;
}
.fshcv-edit-tip {
  position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%);
  background: #18a0fb; color: #fff; font-size: 11px; padding: 4px 12px; border-radius: 6px;
  display: flex; align-items: center; gap: 6px;
  box-shadow: 0 2px 10px rgba(24,160,251,0.35); white-space: nowrap;
}
.fshcv-edit-dot { width: 5px; height: 5px; border-radius: 50%; background: rgba(255,255,255,0.9); animation: blink 0.8s step-end infinite; }
.fshcv-zoom-hud { position: absolute; bottom: 10px; right: 12px; font-size: 11px; color: rgba(255,255,255,0.2); pointer-events: none; }
.fshcv-cmt { position: absolute; top: 14px; right: 14px; z-index: 10; }
.fshcv-cmt-pin {
  width: 28px; height: 28px; background: #18a0fb;
  border-radius: 50% 50% 50% 4px;
  display: flex; align-items: center; justify-content: center;
  margin-left: auto; box-shadow: 0 2px 8px rgba(24,160,251,0.45);
}
.fshcv-cmt-av { width: 18px; height: 18px; border-radius: 50%; object-fit: cover; }
.fshcv-cmt-pop {
  background: #2a2a2a; border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px; width: 272px;
  box-shadow: 0 10px 32px rgba(0,0,0,0.35); overflow: hidden; margin-top: 4px;
}
.fshcv-cmt-hd {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 14px; background: #333;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  font-size: 12px; color: rgba(255,255,255,0.72); font-weight: 500;
}
.fshcv-cmt-ctrl { font-size: 10px; color: rgba(255,255,255,0.25); letter-spacing: 4px; }
.fshcv-cmt-thread {
  padding: 10px 14px; display: flex; flex-direction: column;
  max-height: 300px; overflow-y: auto; scrollbar-width: none;
}
.fshcv-cmt-thread::-webkit-scrollbar { display: none; }
.fsh-cv-plugin { background: #1e1e1e; background-image: none; align-items: stretch; justify-content: flex-start; }
.fshcv-plugin-panel { width: 100%; height: 100%; display: flex; flex-direction: column; }
.fshcv-plugin-hd {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px; background: #252525;
  border-bottom: 1px solid rgba(255,255,255,0.06); flex-shrink: 0;
}
.fshcv-plugin-av { width: 22px; height: 22px; border-radius: 5px; object-fit: cover; flex-shrink: 0; }
.fshcv-plugin-title { font-size: 12px; color: rgba(255,255,255,0.58); }
.fshcv-plugin-live { width: 6px; height: 6px; border-radius: 50%; background: #34A853; margin-left: auto; box-shadow: 0 0 5px rgba(52,168,83,0.6); }
.fshcv-plugin-body { flex: 1; padding: 22px 20px; overflow-y: auto; display: flex; flex-direction: column; gap: 20px; scrollbar-width: none; }
.fshcv-plugin-body::-webkit-scrollbar { display: none; }
.fsh-rp {
  width: 184px; flex-shrink: 0; background: #252525;
  border-left: 1px solid rgba(255,255,255,0.05);
  padding: 10px 12px; display: flex; flex-direction: column; overflow: hidden;
}
.fsh-rp-hd { font-size: 9px; font-weight: 600; color: rgba(255,255,255,0.3); letter-spacing: 0.1em; text-transform: uppercase; padding: 8px 0; }
.fsh-rp-row { display: flex; align-items: center; justify-content: space-between; padding: 5px 0; font-size: 11px; color: rgba(255,255,255,0.4); border-bottom: 1px solid rgba(255,255,255,0.04); }
.fsh-rp-val { color: rgba(255,255,255,0.72); font-size: 11px; display: flex; align-items: center; gap: 4px; }
.fsh-rp-swatch-dot { width: 10px; height: 10px; border-radius: 2px; flex-shrink: 0; }
.fsh-rp-status { display: flex; align-items: center; gap: 7px; padding: 12px 0; }
.fsh-rp-status-dot { width: 6px; height: 6px; border-radius: 50%; background: #34A853; flex-shrink: 0; box-shadow: 0 0 4px rgba(52,168,83,0.6); animation: blink 1.2s step-end infinite; }
.fsh-bot {
  height: 28px; flex-shrink: 0; background: #2c2c2c;
  border-top: 1px solid rgba(255,255,255,0.05);
  display: flex; align-items: center; padding: 0 12px; gap: 14px;
  font-size: 11px; color: rgba(255,255,255,0.3);
}
.fsh-bot-dot { width: 6px; height: 6px; border-radius: 50%; background: #34A853; flex-shrink: 0; animation: blink 1.2s step-end infinite; }

/* ═══ FIGMA PANEL ═══ */
.fp-panel {
  background: #1e1e1e;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.1);
  box-shadow: 0 8px 40px rgba(0,0,0,0.12), 0 1px 3px rgba(0,0,0,0.08);
  display: flex; flex-direction: column;
  max-height: 460px;
  width: 100%; max-width: 520px;
}
.fp-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px;
  background: #2a2a2a;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  flex-shrink: 0;
}
.fp-title-bar { font-size: 13px; font-weight: 500; color: rgba(255,255,255,0.75); }
.fp-controls { display: flex; align-items: center; gap: 14px; font-size: 14px; color: rgba(255,255,255,0.35); }
.fp-ctrl-icon { cursor: pointer; }
.fp-thread {
  flex: 1; overflow-y: auto; padding: 18px;
  display: flex; flex-direction: column;
  scrollbar-width: none;
}
.fp-thread::-webkit-scrollbar { display: none; }
.fp-comment {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 12px 0;
  opacity: 0; animation: fp-appear 0.4s cubic-bezier(0.22,1,0.36,1) forwards;
}
.fp-comment:first-child { opacity: 1; animation: none; }
.fp-comment + .fp-comment { border-top: 1px solid rgba(255,255,255,0.05); }
.fp-av { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.fp-av-sm { width: 24px; height: 24px; }
.fp-cbody { flex: 1; }
.fp-meta { display: flex; align-items: baseline; gap: 8px; margin-bottom: 5px; }
.fp-name { font-size: 12px; font-weight: 600; color: rgba(255,255,255,0.85); }
.fp-name-sol { color: var(--rose); }
.fp-time { font-size: 10px; color: rgba(255,255,255,0.25); }
.fp-time-live { color: rgba(52,168,83,0.7); }
.fp-more { margin-left: auto; color: rgba(255,255,255,0.2); font-size: 12px; }
.fp-text { font-size: 13px; color: rgba(255,255,255,0.7); line-height: 1.6; margin: 0; }
.fp-text strong { color: rgba(255,255,255,0.9); font-weight: 600; }
.fp-mention { color: #18a0fb; }
.fp-actions-list { margin: 10px 0 4px; display: flex; flex-direction: column; gap: 6px; }
.fp-action-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 11px; color: rgba(255,255,255,0.45);
  opacity: 0; animation: fp-appear 0.35s cubic-bezier(0.22,1,0.36,1) forwards;
}
.fp-action-dot { width: 5px; height: 5px; border-radius: 50%; background: #34A853; flex-shrink: 0; }
.fp-link {
  display: inline-block; margin-top: 10px;
  font-size: 11px; color: #18a0fb; text-decoration: underline;
  opacity: 0; animation: fp-appear 0.4s ease forwards;
}
.fp-typing { display: flex; gap: 10px; align-items: center; padding: 10px 0; border-top: 1px solid rgba(255,255,255,0.05); }
.fp-typing-dots { display: flex; gap: 4px; background: rgba(255,255,255,0.06); border-radius: 10px; padding: 8px 12px; }
.fp-typing-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: rgba(255,255,255,0.4);
  animation: fp-bounce 1.2s ease-in-out infinite;
}
.fp-typing-dot:nth-child(2) { animation-delay: 0.15s; }
.fp-typing-dot:nth-child(3) { animation-delay: 0.3s; }
@keyframes fp-bounce { 0%,60%,100% { transform:translateY(0); opacity:0.4; } 30% { transform:translateY(-4px); opacity:1; } }
.fp-reply-row {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px;
  border-top: 1px solid rgba(255,255,255,0.05);
  flex-shrink: 0;
}
.fp-reply-input {
  flex: 1; font-size: 12px; color: rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.04); border-radius: 8px; padding: 8px 12px;
}
.fp-reply-send {
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(255,255,255,0.06); border: none;
  color: rgba(255,255,255,0.3); font-size: 14px;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
}
@keyframes fp-appear { from { opacity:0; transform:translateY(5px); } to { opacity:1; transform:translateY(0); } }

/* ═══ SCREEN 1 — Memory Context Loader ═══ */
.mlp-panel {
  background: #1e1e1e;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 8px 40px rgba(0,0,0,0.14), 0 1px 3px rgba(0,0,0,0.1);
  display: flex; flex-direction: column;
  height: 100%;
}
.mlp-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px;
  background: #2a2a2a;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  flex-shrink: 0;
}
.mlp-bar-left { display: flex; align-items: center; gap: 8px; }
.mlp-status-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #34A853;
  box-shadow: 0 0 6px rgba(52,168,83,0.6);
}
.mlp-title { font-size: 12px; color: rgba(255,255,255,0.6); }
.mlp-layers-tag {
  font-size: 10px; font-weight: 600;
  color: rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.05);
  padding: 2px 8px; border-radius: 4px;
  letter-spacing: 0.05em;
}
.mlp-body {
  flex: 1; padding: 22px 20px;
  display: flex; flex-direction: column; gap: 20px;
  overflow: hidden;
}
.mlp-cmd {
  font-family: 'SF Mono', 'Fira Code', 'Courier New', monospace;
  font-size: 12px; color: rgba(255,255,255,0.35);
}
.mlp-acc { color: var(--rose); }
.mlp-cursor { color: rgba(255,255,255,0.25); animation: blink 0.8s step-end infinite; }
.mlp-layer {
  display: flex; align-items: center; gap: 12px;
}
.mlp-layer-icon {
  font-size: 13px; color: rgba(255,255,255,0.25);
  flex-shrink: 0; width: 16px; text-align: center;
}
.mlp-layer-info { flex: 1; }
.mlp-layer-name {
  display: block; font-size: 12px;
  color: rgba(255,255,255,0.5); margin-bottom: 7px;
  transition: color 0.3s ease;
}
.mlp-layer.loaded .mlp-layer-name { color: rgba(255,255,255,0.8); }
.mlp-progress {
  height: 3px; background: rgba(255,255,255,0.07); border-radius: 2px; overflow: hidden;
}
.mlp-bar-fill {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--rose));
  border-radius: 2px;
  transition: width 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}
.mlp-layer.loaded .mlp-bar-fill { width: 100%; }
.mlp-layer-count {
  font-size: 11px; color: rgba(255,255,255,0.25);
  flex-shrink: 0; font-family: monospace;
  min-width: 32px; text-align: right;
  transition: color 0.3s ease;
}
.mlp-layer.loaded .mlp-layer-count { color: #34A853; }
.mlp-ready {
  font-family: monospace; font-size: 12px; color: #34A853;
  opacity: 0; transition: opacity 0.4s ease;
  padding-top: 4px;
}
.mlp-ready.visible { opacity: 1; }

/* ═══ SCREEN 2 — Figma Canvas ═══ */
.fc-panel {
  background: #1e1e1e;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 8px 40px rgba(0,0,0,0.14), 0 1px 3px rgba(0,0,0,0.1);
  display: flex; flex-direction: column;
  height: 100%;
}
.fc-toolbar {
  height: 40px; flex-shrink: 0;
  background: #2c2c2c;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 12px;
}
.fc-tb-left { display: flex; align-items: center; gap: 0; }
.fc-figma-logo { margin-right: 10px; flex-shrink: 0; }
.fc-file { font-size: 12px; color: rgba(255,255,255,0.7); }
.fc-slash { font-size: 12px; color: rgba(255,255,255,0.2); margin: 0 5px; }
.fc-page { font-size: 12px; color: rgba(255,255,255,0.4); }
.fc-collab { display: flex; align-items: center; gap: 6px; }
.fc-collab-av {
  width: 22px; height: 22px; border-radius: 50%;
  object-fit: cover; border: 2px solid var(--accent);
}
.fc-collab-name {
  font-size: 11px; color: var(--rose);
  background: rgba(95,110,51,0.12); padding: 2px 7px; border-radius: 4px;
}
.fc-collab-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #34A853;
  box-shadow: 0 0 5px rgba(52,168,83,0.7);
}
.fc-body { flex: 1; display: flex; overflow: hidden; }
.fc-layers {
  width: 156px; flex-shrink: 0;
  background: #252525;
  border-right: 1px solid rgba(255,255,255,0.05);
  display: flex; flex-direction: column;
}
.fc-layers-hd {
  padding: 10px 12px 6px;
  font-size: 10px; font-weight: 600;
  color: rgba(255,255,255,0.25);
  letter-spacing: 0.08em; text-transform: uppercase;
  flex-shrink: 0;
}
.fc-layer {
  display: flex; align-items: center; gap: 4px;
  padding: 4px 10px; font-size: 11px;
  color: rgba(255,255,255,0.45); cursor: default;
  white-space: nowrap; overflow: hidden;
}
.fc-layer-child { padding-left: 22px; }
.fc-layer-sel {
  background: rgba(95,110,51,0.18);
  color: rgba(255,255,255,0.9);
}
.fc-caret { font-size: 7px; color: rgba(255,255,255,0.25); flex-shrink: 0; }
.fc-caret-r { transform: rotate(0deg); }
.fc-layer-ic { font-size: 10px; color: rgba(255,255,255,0.25); flex-shrink: 0; }
.fc-layer-nm { flex: 1; overflow: hidden; text-overflow: ellipsis; }
.fc-layer-tag {
  font-size: 9px; color: #34A853; margin-left: auto;
  flex-shrink: 0; transition: opacity 0.3s ease;
}
.fc-canvas {
  flex: 1; background: #1a1a1a;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.fc-canvas-inner { display: flex; flex-direction: column; align-items: flex-start; }
.fc-comp { position: relative; display: inline-block; }
.fc-btn-primary {
  background: var(--accent); color: #fff;
  border-radius: 8px; padding: 11px 24px;
  font-size: 13px; font-weight: 500; font-family: 'Inter', sans-serif;
  cursor: default;
}
.fc-btn-secondary {
  background: transparent; color: rgba(255,255,255,0.6);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 8px; padding: 10px 24px;
  font-size: 13px; font-family: 'Inter', sans-serif;
  cursor: default;
}
.fc-comp-sel .fc-sel-box {
  position: absolute; inset: -3px;
  border: 1.5px solid #18a0fb; border-radius: 10px;
  pointer-events: none;
  animation: sel-pulse 2s ease-in-out infinite;
}
@keyframes sel-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(24,160,251,0.3); }
  50% { box-shadow: 0 0 0 4px rgba(24,160,251,0.1); }
}
.fc-edit-tip {
  position: absolute; top: calc(100% + 7px); left: 0;
  background: #18a0fb; color: #fff;
  font-size: 10px; padding: 3px 9px; border-radius: 4px;
  white-space: nowrap; display: flex; align-items: center; gap: 5px;
  box-shadow: 0 2px 8px rgba(24,160,251,0.3);
}
.fc-edit-blink {
  width: 5px; height: 5px; border-radius: 50%;
  background: rgba(255,255,255,0.9);
  animation: blink 0.8s step-end infinite;
}
.fc-statusbar {
  height: 28px; flex-shrink: 0;
  background: #2c2c2c;
  border-top: 1px solid rgba(255,255,255,0.05);
  display: flex; align-items: center; gap: 8px;
  padding: 0 12px;
}
.fc-status-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #34A853; flex-shrink: 0;
  animation: blink 1.2s step-end infinite;
}
#fc-status-text {
  font-size: 11px; color: rgba(255,255,255,0.45); flex: 1;
  font-family: monospace;
  transition: opacity 0.2s ease;
}
.fc-zoom { font-size: 11px; color: rgba(255,255,255,0.2); margin-left: auto; }

/* ═══ SCREEN 3 — Audit + Slack ═══ */
.audit-wrap {
  display: flex; flex-direction: column; gap: 10px;
  height: 100%;
}
.fp-panel-compact {
  flex: 1; min-height: 0;
  max-height: none !important; max-width: none !important;
  width: 100% !important;
}
.fp-panel-compact .fp-thread { overflow-y: auto; }
.slack-notif {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
  flex-shrink: 0;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.slack-notif.visible { opacity: 1; transform: translateY(0); }
/* In new demo scene 3, slack is always visible */
.dscene-3 .slack-notif { opacity: 1; transform: translateY(0); }
.slack-notif-top {
  display: flex; align-items: center; gap: 6px;
  margin-bottom: 10px;
}
.slack-logo-svg { flex-shrink: 0; }
.slack-channel { font-size: 12px; font-weight: 600; color: var(--ink); }
.slack-time-tag { font-size: 11px; color: var(--faint); margin-left: auto; }
.slack-notif-body { display: flex; gap: 10px; align-items: flex-start; }
.slack-av {
  width: 28px; height: 28px; border-radius: 6px;
  object-fit: cover; flex-shrink: 0;
}
.slack-sender {
  display: block; font-size: 12px; font-weight: 600;
  color: var(--ink); margin-bottom: 3px;
}

/* ═══ USE CASES — HORIZONTAL SCROLL CARDS ═══ */
.uc-scroll {
  overflow-x: auto;
  overflow-y: visible;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding: 0 0 24px;
}
.uc-scroll::-webkit-scrollbar { display: none; }

.uc-track {
  display: flex;
  gap: 20px;
  padding: 0 max(40px, calc((100vw - 1200px) / 2));
  width: max-content;
}

.uc-card {
  width: 340px;
  flex-shrink: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.uc-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.07);
}

.uc-badge {
  display: inline-block;
  width: fit-content;
  font-size: 10px; font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 10px;
  border-radius: 5px;
  margin-bottom: 14px;
}
.uc-badge-des { background: #ede9fc; color: #6B47F5; }
.uc-badge-pm { background: #e8f5e9; color: #2e7d32; }

.uc-q {
  font-size: 17px; font-weight: 600;
  color: var(--ink); line-height: 1.4;
  margin: 0;
}

.uc-divider {
  width: 32px; height: 2px;
  background: var(--border);
  margin: 16px 0;
}

.uc-a {
  font-size: 14px; color: var(--mid);
  line-height: 1.55; margin: 0;
  flex: 1;
}

.uc-meta {
  font-size: 11px; color: var(--faint);
  margin-top: 12px;
}

/* ═══ FEATURE ROWS ═══ */
.ft-rows {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border);
}
.ft-row {
  display: grid;
  grid-template-columns: 36px 200px 1fr;
  gap: 0 20px;
  align-items: baseline;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.ft-n {
  font-size: 12px; font-weight: 500;
  color: var(--faint); font-family: monospace;
}
.ft-row h4 {
  font-size: 15px; font-weight: 700;
  color: var(--ink); margin: 0;
}
.ft-row p {
  font-size: 14px; color: var(--mid);
  line-height: 1.6; margin: 0;
}

/* ═══ ASK SOLACY ═══ */
.ask-layout {
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 48px;
  align-items: start;
}
.ask-sub {
  font-size: 15px; color: var(--mid); line-height: 1.7;
  margin-bottom: 24px;
}
.ask-prompts { display: flex; flex-direction: column; gap: 6px; }
.ask-prompt {
  display: block; width: 100%; text-align: left;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 18px;
  font-family: inherit;
  font-size: 14px; color: var(--mid);
  cursor: pointer;
  transition: all 0.2s ease;
}
.ask-prompt:hover {
  border-color: var(--accent);
  color: var(--ink);
  background: var(--accent-bg);
}
.ask-prompt.ask-prompt-used { opacity: 0.35; pointer-events: none; }

.ask-chat {
  border: 1px solid var(--border);
  background: var(--white);
  border-radius: 16px;
  display: flex; flex-direction: column;
  height: 520px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}
.ask-chat-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 10px;
  flex-shrink: 0;
}
.ask-chat-av { width: 32px; height: 32px; border-radius: 8px; object-fit: cover; object-position: center 10%; }
.ask-chat-name { display: block; font-size: 14px; font-weight: 600; color: var(--ink); line-height: 1.2; }
.ask-chat-status { font-size: 12px; color: var(--faint); }
.ask-chat-online {
  margin-left: auto;
  display: flex; align-items: center; gap: 5px;
  font-size: 11px; font-weight: 600; color: var(--green);
}
.ask-online-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }

.ask-chat-body {
  flex: 1; overflow-y: auto;
  padding: 20px;
  display: flex; flex-direction: column; gap: 14px;
}
.ask-chat-body::-webkit-scrollbar { width: 3px; }
.ask-chat-body::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

.ask-msg { display: flex; gap: 10px; max-width: 90%; }
.ask-msg-user { align-self: flex-end; flex-direction: row-reverse; }
.ask-msg-sol { align-self: flex-start; }
.ask-msg-av { width: 28px; height: 28px; border-radius: 8px; object-fit: cover; object-position: center 10%; flex-shrink: 0; margin-top: 2px; }
.ask-bubble { padding: 12px 16px; font-size: 14px; line-height: 1.65; }
.ask-bubble p { margin-bottom: 10px; }
.ask-bubble p:last-child { margin-bottom: 0; }
.ask-bubble-user {
  background: var(--ink); color: var(--white);
  border-radius: 16px 16px 4px 16px;
}
.ask-bubble-sol {
  background: var(--off);
  border: 1px solid var(--border);
  color: var(--ink);
  border-radius: 4px 16px 16px 16px;
}

.ask-typing { display: flex; gap: 10px; align-self: flex-start; max-width: 90%; }
.ask-typing-dots {
  display: flex; gap: 4px; align-items: center;
  padding: 14px 18px;
  background: var(--off);
  border: 1px solid var(--border);
  border-radius: 4px 16px 16px 16px;
}
.ask-typing-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  animation: dot-pulse 1.4s ease infinite;
}
.ask-typing-dot:nth-child(2) { animation-delay: 0.2s; }
.ask-typing-dot:nth-child(3) { animation-delay: 0.4s; }
@keyframes dot-pulse { 0%,60%,100% { opacity:0.25; transform:scale(0.8); } 30% { opacity:1; transform:scale(1.1); } }

/* ═══ MEMORY ═══ */
.mem-area {
  position: relative;
  height: 520px;
  overflow: hidden;
  border-radius: 16px;
  background: var(--white);
}
.mem-dust {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none; z-index: 1;
}
.mem-center {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  z-index: 5;
}
.mem-dp {
  width: 72px; height: 72px; border-radius: 50%;
  object-fit: cover; object-position: center 10%;
  border: 2px solid var(--border);
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  animation: mem-pulse 3s ease-in-out infinite;
}
@keyframes mem-pulse {
  0%,100% { box-shadow: 0 0 0 4px rgba(95,110,51,0.06), 0 4px 20px rgba(0,0,0,0.08); }
  50% { box-shadow: 0 0 0 8px rgba(95,110,51,0.1), 0 4px 30px rgba(95,110,51,0.12); }
}

.mem-progress {
  position: absolute;
  bottom: 56px; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 12px;
  width: 240px; z-index: 10;
}
.mem-bar-track {
  flex: 1; height: 3px;
  background: var(--border);
  border-radius: 2px; overflow: hidden;
}
.mem-bar-fill {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--gold));
  border-radius: 2px;
  transition: width 0.6s cubic-bezier(0.22,1,0.36,1);
}
.mem-bar-label {
  font-size: 11px; font-weight: 600;
  color: var(--faint); white-space: nowrap;
}

.mem-card-zone { position: absolute; inset: 0; z-index: 3; }
.mem-fly {
  position: absolute;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
  width: 200px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  opacity: 0;
  transition: opacity 0.35s ease, transform 0.5s cubic-bezier(0.22,1,0.36,1);
}
.mem-fly.show { opacity: 1; }
.mem-fly.absorbing {
  opacity: 0 !important;
  transform: scale(0.4) translate(var(--tx), var(--ty)) !important;
  transition: all 0.7s cubic-bezier(0.4,0,0.2,1) !important;
}
.mem-fly-pill {
  display: inline-block;
  font-size: 9px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  border-radius: 4px; padding: 2px 8px;
  margin-bottom: 6px;
}
.mem-fly-pill-pattern { color: var(--accent); background: var(--accent-bg); }
.mem-fly-pill-context { color: var(--green); background: #edf7ef; }
.mem-fly-pill-system  { color: #b8860b; background: #fef8ec; }
.mem-fly-pill-copy    { color: var(--red); background: #fdf0f2; }
.mem-fly-text { font-size: 13px; color: var(--ink); line-height: 1.5; margin-bottom: 4px; }
.mem-fly-src { font-size: 10px; color: var(--faint); }

.mem-tabs {
  position: absolute;
  bottom: 16px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 4px; z-index: 10;
}
.mem-tab {
  font-family: inherit;
  font-size: 12px; font-weight: 500;
  color: var(--faint);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 7px 16px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.mem-tab:hover { color: var(--ink); border-color: var(--ink); }
.mem-tab.active {
  background: var(--ink); color: var(--white);
  border-color: var(--ink);
}

/* ═══ WORK — CASE STUDIES ═══ */
.cases {
  display: flex; flex-direction: column;
  gap: 64px;
}
.case {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
/* Alternate: even cases flip image to right */
.case:nth-child(even) { direction: rtl; }
.case:nth-child(even) > * { direction: ltr; }

.case-img {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.case-img img {
  width: 100%;
  display: block;
  object-fit: cover;
  aspect-ratio: 4/3;
}

.case-content { display: flex; flex-direction: column; gap: 12px; }
.case-n {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 36px;
  font-style: italic;
  color: var(--accent);
  line-height: 1;
}
.case-h {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 26px; font-weight: 400;
  color: var(--ink);
  line-height: 1.2;
}
.case-comment {
  font-size: 14px; font-style: italic;
  color: var(--mid);
  line-height: 1.6;
  padding-left: 14px;
  border-left: 2px solid var(--accent);
}
.case-result {
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.7;
}
.case-stats {
  display: flex; gap: 20px;
  margin-top: 4px;
}
.case-stats span {
  font-size: 12px; font-weight: 600;
  color: var(--faint);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ═══ FLOATING PROOF BUBBLES ═══ */
/* (rendered inside footer) */

/* ═══ LETTER ═══ */
.letter-scene {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  perspective: 1400px;
}

.letter-paper {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
  background:
    repeating-linear-gradient(
      180deg,
      transparent 0,
      transparent 29px,
      rgba(110,90,60,0.042) 29px,
      rgba(110,90,60,0.042) 30px
    ),
    repeating-linear-gradient(
      118deg,
      transparent 0,
      transparent 5px,
      rgba(110,90,60,0.016) 5px,
      rgba(110,90,60,0.016) 6px
    ),
    #fdf3df;
  border: 1px solid #d9ccb4;
  border-radius: 2px;
  padding: 52px 60px 48px;
  box-shadow:
    0 1px 3px rgba(0,0,0,0.08),
    0 6px 20px rgba(0,0,0,0.09),
    0 32px 80px rgba(0,0,0,0.12),
    inset 0 1px 0 rgba(255,255,255,0.65),
    inset 0 0 120px rgba(160,130,90,0.05);
  transform: rotate(-0.5deg);
  transform-style: preserve-3d;
  will-change: transform;
}

/* Paper grain overlay */
.letter-noise {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none; border-radius: 2px;
  overflow: hidden; display: block;
}

/* Vintage stamp */
.letter-stamp {
  position: absolute;
  top: 38px; right: 52px;
  transform: rotate(4deg);
  transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1);
  cursor: default; z-index: 2;
}
.letter-stamp:hover { transform: rotate(0deg) scale(1.06); }
.letter-postmark {
  position: absolute;
  top: -12px; right: -14px;
  opacity: 0.75;
  mix-blend-mode: multiply;
  pointer-events: none;
}

/* Wax seal */
.letter-wax-seal {
  margin-left: auto;
  flex-shrink: 0;
  transform: rotate(-9deg);
  transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1);
  cursor: default;
  filter: drop-shadow(0 3px 8px rgba(91,61,212,0.35));
}
.letter-wax-seal:hover { transform: rotate(0deg) scale(1.12); }

/* Decorative rules */
.letter-rule-wrap { margin-bottom: 28px; }
.letter-rule-wrap-bottom { margin-top: 32px; margin-bottom: 14px; }
.letter-rule { display: block; width: 100%; }

/* Date */
.letter-date {
  font-size: 13px; color: var(--mid);
  margin-bottom: 24px;
  padding-right: 110px; /* clear stamp */
}

/* Salutation */
.letter-salutation {
  font-family: 'Caveat', cursive;
  font-size: 19px; line-height: 1.5;
  color: var(--ink-2); margin-bottom: 24px;
}

/* Body */
.letter-body {
  display: flex; flex-direction: column; gap: 20px;
  margin-bottom: 28px;
}
.letter-body p {
  font-family: 'Caveat', cursive;
  font-size: 19px; line-height: 1.7;
  color: var(--ink-2);
}
.letter-body em { font-style: italic; color: var(--accent); }

/* Closing */
.letter-closing {
  font-family: 'Caveat', cursive;
  font-size: 19px; color: var(--ink-2);
  margin-bottom: 22px;
}

/* Letter line (fade-in targets) */
.letter-line { position: relative; }

/* Second stamp (bottom-right, inside paper) */
.letter-stamp-2 {
  position: absolute;
  bottom: 56px; right: 52px;
  transform: rotate(-7deg);
  transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1);
  cursor: default; z-index: 2; opacity: 0.75;
}
.letter-stamp-2:hover { transform: rotate(0deg) scale(1.08); opacity: 1; }

/* Signature */
.letter-sig { display: flex; align-items: center; gap: 18px; }
.letter-sig-hidden { opacity: 0; transform: translateY(8px); transition: opacity 0.6s ease, transform 0.6s ease; }
.letter-sig-hidden.letter-sig-show { opacity: 1; transform: translateY(0); }
.letter-sig-text { display: flex; flex-direction: column; gap: 3px; }

/* Wink */
.letter-wink {
  display: inline-block; margin-left: 4px;
  opacity: 0; transform: scale(0.3) rotate(-20deg);
  transition: opacity 0.4s cubic-bezier(0.34,1.56,0.64,1), transform 0.4s cubic-bezier(0.34,1.56,0.64,1);
  font-style: normal;
}
.letter-wink.show { opacity: 1; transform: scale(1) rotate(0deg); }
.letter-name {
  display: block;
  font-family: 'Caveat', cursive;
  font-size: 22px; color: var(--ink);
}
.letter-role {
  display: block;
  font-size: 11px; font-weight: 600;
  color: var(--faint);
  letter-spacing: 0.06em; text-transform: uppercase;
}

/* Letter footer */
.letter-foot {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 11px; color: var(--faint);
}
.letter-foot-url { font-weight: 500; color: var(--mid); }

/* Floating deco elements */
.lf-el {
  position: absolute;
  pointer-events: none;
  z-index: 3;
}
.lf-plane { top: -24px; left: -20px; --lf-rot: 14deg; animation: lf-drift 7s ease-in-out infinite; }
.lf-star  { top: -28px; right: -10px; --lf-rot: -6deg; animation: lf-bob 4.5s ease-in-out infinite 0.3s; }
.lf-squiggle { bottom: 80px; left: -24px; animation: lf-bob 5.5s ease-in-out infinite 1.1s; }
.lf-ink   { bottom: -18px; right: -12px; animation: lf-drift 8s ease-in-out infinite 0.7s; }
.lf-pen   { top: 42%; right: -18px; --lf-rot: -16deg; animation: lf-drift 9s ease-in-out infinite 1.8s; }

@keyframes lf-bob {
  0%,100% { transform: translateY(0px); }
  50%      { transform: translateY(-7px); }
}
@keyframes lf-drift {
  0%,100% { transform: translateY(0px) translateX(0px) rotate(var(--lf-rot, 0deg)); }
  33%     { transform: translateY(-6px) translateX(4px) rotate(calc(var(--lf-rot, 0deg) + 3deg)); }
  66%     { transform: translateY(3px) translateX(-3px) rotate(calc(var(--lf-rot, 0deg) - 2deg)); }
}

/* ═══ CTA / WAITLIST ═══ */
.cta-section { border-top: 1px solid var(--border); }
.cta-layout {
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: 80px;
  align-items: start;
}
.cta-left { padding-top: 12px; }
.cta-h2 {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: clamp(36px, 4.5vw, 52px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 16px;
}
.cta-sub {
  font-size: 16px; color: var(--mid);
  line-height: 1.7; max-width: 380px;
  margin-bottom: 28px;
}
.cta-links { display: flex; align-items: center; gap: 12px; }
.cta-link {
  font-size: 13px; font-weight: 500;
  color: var(--faint); text-decoration: none;
  transition: color 0.15s;
}
.cta-link:hover { color: var(--accent); }
.cta-dot { color: var(--border); }

/* Conversational form */
.conv-chat { display: flex; flex-direction: column; }
.conv-messages {
  padding: 0 0 20px;
  display: flex; flex-direction: column; gap: 14px;
  min-height: 260px; max-height: 480px;
  overflow-y: auto; scrollbar-width: none;
}
.conv-messages::-webkit-scrollbar { display: none; }
.conv-chat::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 48px;
  background: linear-gradient(to bottom, var(--white), transparent);
  pointer-events: none; z-index: 5;
  opacity: 0; transition: opacity 0.3s;
}
.conv-chat.has-scroll::before { opacity: 1; }

.conv-msg-sol {
  display: flex; gap: 10px; align-items: flex-start;
  max-width: 90%;
  opacity: 0; animation: conv-in 0.4s cubic-bezier(0.22,1,0.36,1) forwards;
}
.conv-msg-av {
  width: 30px; height: 30px; border-radius: 8px;
  object-fit: cover; object-position: center 10%;
  border: 1px solid var(--border);
  flex-shrink: 0; margin-top: 2px;
}
.conv-msg-bubble {
  font-size: 14px; color: var(--ink); line-height: 1.65;
  background: var(--off);
  border: 1px solid var(--border);
  border-radius: 4px 14px 14px 14px;
  padding: 12px 16px;
}
.conv-msg-user {
  align-self: flex-end; max-width: 70%;
  opacity: 0; animation: conv-in 0.3s ease forwards;
}
.conv-msg-user .conv-msg-bubble {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
  border-radius: 14px 14px 4px 14px;
}
.conv-typing {
  display: flex; gap: 10px; align-items: flex-start;
  opacity: 0; animation: conv-in 0.3s ease forwards;
}
.conv-typing-dots {
  display: flex; gap: 4px; align-items: center;
  padding: 14px 18px;
  background: var(--off);
  border: 1px solid var(--border);
  border-radius: 4px 14px 14px 14px;
}
.conv-typing-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--accent);
  animation: dot-pulse 1.2s ease infinite;
}
.conv-typing-dot:nth-child(2) { animation-delay: 0.15s; }
.conv-typing-dot:nth-child(3) { animation-delay: 0.3s; }
@keyframes conv-in { from { opacity:0; transform:translateY(6px); } to { opacity:1; transform:translateY(0); } }
@keyframes conv-shake { 0%,100%{transform:translateX(0)} 20%{transform:translateX(-6px)} 40%{transform:translateX(6px)} 60%{transform:translateX(-4px)} 80%{transform:translateX(4px)} }

.conv-input-row {
  display: flex; gap: 8px;
  padding: 16px 0 0;
  border-top: 1px solid var(--border);
}
.conv-input {
  flex: 1;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--ink);
  font-family: inherit; font-size: 14px;
  padding: 13px 16px;
  outline: none;
  transition: border-color 0.2s;
}
.conv-input::placeholder { color: var(--faint); }
.conv-input:focus { border-color: var(--accent); }
.conv-send {
  width: 46px; height: 46px;
  border-radius: 10px;
  background: var(--accent); border: none;
  color: var(--white); font-size: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.conv-send:hover { background: var(--accent-h); }
.conv-send:disabled { opacity: 0.3; cursor: not-allowed; }

.conv-done { text-align: center; padding: 48px 20px; position: relative; }
.conv-done-emoji { font-size: 48px; margin-bottom: 16px; animation: pop 0.5s cubic-bezier(0.34,1.56,0.64,1) both; }
@keyframes pop { from { transform:scale(0) rotate(-20deg); opacity:0; } to { transform:scale(1) rotate(0); opacity:1; } }
.conv-done-text { font-size: 26px; font-weight: 600; color: var(--ink); margin-bottom: 10px; }
.conv-done-sub { font-size: 14px; color: var(--mid); }
.conv-confetti { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.conf-dot {
  position: absolute; border-radius: 50%;
  top: 30%; left: 50%;
  animation: conf-fly 1.4s cubic-bezier(0.22,1,0.36,1) forwards;
}
@keyframes conf-fly { 0% { transform:translate(0,0) scale(1); opacity:1; } 100% { transform:translate(var(--tx),var(--ty)) scale(0); opacity:0; } }

/* ═══ FOOTER ═══ */
.site-footer {
  position: relative;
  border-top: 1px solid var(--border);
  overflow: hidden;
}

/* Floating bubbles zone */
.footer-bubbles {
  position: relative;
  height: 260px;
  max-width: var(--w);
  margin: 0 auto;
}
.fb {
  position: absolute;
  left: var(--fb-x);
  top: var(--fb-y);
  transform: rotate(var(--fb-rot, 0deg));
  max-width: 220px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px 16px 16px 4px;
  padding: 14px 16px;
  text-decoration: none;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.3s ease;
  z-index: 1;
  animation: fb-float 5s ease-in-out infinite;
  animation-delay: var(--fb-delay, 0s);
}
.fb:hover {
  transform: rotate(0deg) translateY(-6px) scale(1.04);
  box-shadow: 0 12px 32px rgba(95,110,51,0.14);
  z-index: 10;
}
.fb-av {
  width: 24px; height: 24px; border-radius: 50%;
  object-fit: cover; margin-bottom: 8px;
}
.fb-text {
  display: block;
  font-size: 12.5px; color: var(--ink-2); line-height: 1.55;
  margin-bottom: 6px;
}
.fb-text strong { font-weight: 600; color: var(--ink); }
.fb-handle {
  font-size: 11px; font-weight: 500;
  color: var(--faint);
}
@keyframes fb-float {
  0%,100% { transform: rotate(var(--fb-rot, 0deg)) translateY(0); }
  50%     { transform: rotate(var(--fb-rot, 0deg)) translateY(-8px); }
}

/* Glow strip */
.footer-glow {
  position: relative;
  overflow: hidden;
  padding: 36px 0 32px;
}
/* Ambient glow orb */
.fg-orb {
  position: absolute;
  top: 50%; left: 50%;
  width: 420px; height: 120px;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse, rgba(95,110,51,0.15) 0%, rgba(95,110,51,0) 70%);
  filter: blur(40px);
  pointer-events: none;
  animation: fg-breathe 4s ease-in-out infinite;
}
@keyframes fg-breathe {
  0%,100% { opacity: 0.55; transform: translate(-50%,-50%) scale(1); }
  50%     { opacity: 1; transform: translate(-50%,-50%) scale(1.15); }
}
.fg-content {
  position: relative;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  z-index: 2;
}
.fg-faces {
  display: flex; align-items: center;
}
.fg-face {
  position: relative;
  width: 40px; height: 40px;
  border-radius: 50%;
  margin-left: -10px;
  opacity: 0;
  transform: scale(0) translateY(12px);
}
.fg-face:first-child { margin-left: 0; }
.fg-face img {
  width: 100%; height: 100%; border-radius: 50%;
  object-fit: cover;
  border: 2.5px solid var(--white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
/* Solacy face has a glow ring */
.fg-face-sol img {
  border-color: rgba(95,110,51,0.5);
  box-shadow:
    0 0 0 3px rgba(95,110,51,0.15),
    0 0 18px rgba(95,110,51,0.3),
    0 2px 10px rgba(0,0,0,0.1);
}
/* Ghost faces (waiting seats) */
.fg-face-ghost {
  background: var(--off);
  border: 2px dashed var(--border-2);
  display: flex; align-items: center; justify-content: center;
}
.fg-face-ghost span {
  font-size: 16px; font-weight: 600;
  color: var(--border-2);
  line-height: 1;
}
.fg-face-ghost img { display: none; }
/* Pulse ring on each face after pop-in */
.fg-face::after {
  content: '';
  position: absolute; inset: -4px;
  border-radius: 50%;
  border: 1.5px solid rgba(95,110,51,0.25);
  opacity: 0;
  animation: fg-ring 3s ease-out infinite;
  animation-delay: calc(var(--fg-i, 0) * 0.5s + 1.5s);
}
@keyframes fg-ring {
  0%   { transform: scale(0.8); opacity: 0.6; }
  100% { transform: scale(1.6); opacity: 0; }
}
.fg-label {
  font-size: 13px; color: var(--mid);
  text-align: center;
}
.fg-label strong { color: var(--ink); font-weight: 600; }

/* Footer bar */
.footer-bar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 0;
}
.foot-copy, .foot-url {
  font-size: 13px; font-weight: 500;
  color: var(--faint); text-decoration: none;
}
.foot-url:hover { color: var(--accent); }

/* ═══ SOLACY CURSOR ═══ */
.sol-cursor {
  position: fixed;
  top: 0; left: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: 0;
  will-change: transform;
  transition: opacity 0.3s ease;
}
.sol-cursor.visible { opacity: 1; }
.sol-cursor-ptr {
  display: block;
  filter: drop-shadow(0 1px 3px rgba(95,110,51,0.35));
}
.sol-cursor-pill {
  display: flex; align-items: center; gap: 6px;
  background: var(--accent);
  padding: 4px 10px 4px 4px;
  border-radius: 20px;
  margin-top: -2px;
  margin-left: 10px;
  box-shadow:
    0 2px 12px rgba(95,110,51,0.35),
    0 4px 16px rgba(0,0,0,0.08);
}
.sol-cursor-dp {
  width: 24px; height: 24px;
  border-radius: 50%;
  object-fit: cover; object-position: center 10%;
  border: 2px solid rgba(255,255,255,0.5);
  flex-shrink: 0;
}
.sol-cursor-name {
  font-size: 11px; font-weight: 600;
  color: #fff;
  white-space: nowrap;
  letter-spacing: 0.01em;
}
@media (max-width: 768px) {
  .sol-cursor { display: none !important; }
}

/* ═══ FAB ═══ */
.fab {
  position: fixed; bottom: 24px; right: 24px; z-index: 90;
  display: flex; align-items: center; gap: 10px;
  background: var(--ink); color: var(--white); border: none;
  border-radius: 12px;
  padding: 10px 20px 10px 10px;
  cursor: pointer;
  font-family: inherit;
  font-size: 13px; font-weight: 600;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
  opacity: 0; transform: translateY(20px);
  pointer-events: none;
}
.fab.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.fab:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.2); }
.fab-av {
  width: 28px; height: 28px; border-radius: 8px;
  object-fit: cover; object-position: center 10%;
}
.fab-label { white-space: nowrap; }
.fab.at-cta { opacity: 0; transform: translateY(20px); pointer-events: none; }

/* ══ Lives in your stack ════════════════════════════════ */
.sec-stack { background: var(--off); padding-bottom: 80px; }

.stack-scene {
  position: relative;
  max-width: 1200px;
  margin: 56px auto 0;
  padding: 0 40px;
  height: 720px;
  overflow: visible;
}
.stack-scene::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 55% 55% at 50% 48%, rgba(95,110,51,0.04) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.stack-scene > * { position: relative; z-index: 1; }

@keyframes sc-float {
  0%, 100% { transform: rotate(var(--rot,0deg)) translateY(0px); }
  50%       { transform: rotate(var(--rot,0deg)) translateY(-8px); }
}

.sc-card {
  position: absolute;
  animation: sc-float 7s ease-in-out var(--float-delay,0s) infinite;
  box-shadow: 0 20px 60px rgba(0,0,0,0.12), 0 3px 10px rgba(0,0,0,0.06);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.06);
  z-index: 2;
}

/* Shared Figma / Slack chrome */
.sc-chrome-bar {
  display: flex; align-items: center; gap: 7px;
  padding: 9px 12px;
  background: #2c2c2c;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 11px; font-weight: 500; color: rgba(255,255,255,0.44);
}
.sc-chrome-live {
  width: 6px; height: 6px; border-radius: 50%;
  background: #34A853; margin-left: auto;
  box-shadow: 0 0 6px rgba(52,168,83,0.7);
  animation: blink 1.4s step-end infinite;
}
.sc-cmt-thread { padding: 12px; display: flex; flex-direction: column; gap: 10px; }

/* ── 1. Figma trigger (big, top-left) ── */
.sc-figma-trigger {
  left: 2%; top: 28px;
  width: 340px;
  background: #252525;
  border-color: rgba(255,255,255,0.06);
  z-index: 4;
}

/* ── 2. Figma reply (overlaps below-right) ── */
.sc-figma-reply {
  left: 22%; top: 220px;
  width: 360px;
  background: #252525;
  border-color: rgba(255,255,255,0.06);
  z-index: 5;
}

/* ── 3. Slack #design (right side, upper) ── */
.sc-slack-design {
  right: 2%; top: 20px;
  width: 310px;
  background: #1a1f2e;
  border-color: rgba(255,255,255,0.06);
  z-index: 3;
}
.sc-slack-hdr {
  display: flex; align-items: center; gap: 7px;
  padding: 9px 12px;
  background: #151a26;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 11px; font-weight: 600;
}
.sc-slack-ch { color: rgba(255,255,255,0.62); }
.sc-slack-row {
  display: flex; gap: 9px;
  padding: 12px;
}
.sc-slack-av { width: 28px; height: 28px; border-radius: 6px; object-fit: cover; flex-shrink: 0; }
.sc-slack-body2 { flex: 1; min-width: 0; }
.sc-slack-meta2 { display: flex; align-items: baseline; gap: 7px; margin-bottom: 4px; }
.sc-slack-meta2 strong { font-size: 12px; color: rgba(255,255,255,0.82); }
.sc-slack-meta2 span { font-size: 10px; color: rgba(255,255,255,0.24); }
.sc-slack-body2 > p { font-size: 11.5px; color: rgba(255,255,255,0.52); margin: 0; line-height: 1.5; }
.sc-slack-figlink { font-size: 10.5px; color: #5bc4bf; text-decoration: none; display: block; margin-top: 7px; }

/* ── 4. Slack DM ── */
.sc-slack-dm {
  left: 0; top: 490px;
  width: 310px;
  background: #1a1f2e;
  border-color: rgba(255,255,255,0.06);
  z-index: 3;
}

/* ── 5. iPhone mockup ── */
.sc-iphone {
  position: absolute;
  right: 2%; top: 180px;
  animation: sc-float 7s ease-in-out var(--float-delay,0s) infinite;
  z-index: 4;
}
.sc-iphone-frame {
  width: 220px;
  background: #1a1a1a;
  border-radius: 38px;
  border: 3px solid #3a3a3c;
  box-shadow: 0 24px 60px rgba(0,0,0,0.28), 0 4px 12px rgba(0,0,0,0.1), inset 0 0 0 1px rgba(255,255,255,0.04);
  overflow: hidden;
  position: relative;
}
.sc-iphone-island {
  position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
  width: 72px; height: 22px;
  background: #000; border-radius: 20px; z-index: 10;
}
.sc-iphone-screen {
  background: linear-gradient(175deg, #1c1c22 0%, #0f0f14 100%);
  margin: 4px; border-radius: 34px;
  overflow: hidden; display: flex; flex-direction: column;
}
.sc-ios-status {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 24px 0;
  font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.85);
}
.sc-ios-icons { display: flex; gap: 4px; align-items: center; }
.sc-ios-lock-time {
  text-align: center; font-size: 64px; font-weight: 200; letter-spacing: -3px;
  color: rgba(255,255,255,0.92); line-height: 1; margin-top: 20px;
}
.sc-ios-lock-date {
  text-align: center; font-size: 13px; color: rgba(255,255,255,0.4);
  margin-bottom: 24px; font-weight: 400;
}
.sc-ios-notifs { padding: 0 12px; display: flex; flex-direction: column; gap: 8px; }
.sc-ios-notif {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-radius: 16px; padding: 11px 13px;
}
.sc-ios-notif-hd { display: flex; align-items: center; gap: 7px; margin-bottom: 5px; }
.sc-ios-app-icon { width: 20px; height: 20px; border-radius: 5px; overflow: hidden; flex-shrink: 0; }
.sc-ios-app-icon img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sc-ios-app-name { font-size: 11px; color: rgba(255,255,255,0.55); font-weight: 500; flex: 1; }
.sc-ios-time { font-size: 10px; color: rgba(255,255,255,0.26); }
.sc-ios-title { font-size: 12.5px; font-weight: 600; color: rgba(255,255,255,0.9); margin-bottom: 3px; line-height: 1.3; }
.sc-ios-body { font-size: 11px; color: rgba(255,255,255,0.45); line-height: 1.45; }
.sc-ios-home-bar {
  width: 100px; height: 4px; background: rgba(255,255,255,0.18);
  border-radius: 2px; margin: 20px auto 8px;
}

/* ── Cursor pill ── */
.sc-cursor-pill {
  position: absolute; left: 50%; top: 4px; transform: translateX(-50%);
  display: flex; align-items: center; gap: 5px;
  background: var(--accent); color: #fff;
  font-size: 11px; font-weight: 600;
  padding: 5px 12px 5px 8px; border-radius: 20px;
  box-shadow: 0 4px 16px rgba(95,110,51,0.42);
  animation: sc-float 5s ease-in-out 0.2s infinite;
  --rot: 0deg; z-index: 6; pointer-events: none;
}

/* ═══ RESPONSIVE ═══ */
@media (max-width: 900px) {
  .stack-scene { height: auto; overflow: visible; display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 0 20px; }
  .sc-card { position: static !important; animation: none !important; transform: rotate(0deg) !important; width: 100% !important; max-width: 340px; }
  .sc-cursor-pill { position: static; transform: none; animation: none; margin-bottom: 8px; }
  .sc-iphone { position: static !important; animation: none !important; }
  .stack-scene::before { display: none; }
  .who-grid { grid-template-columns: 1fr; }
  .who-metrics { grid-template-columns: repeat(2, 1fr); }
  .demo-full-hd { padding: 72px 24px 40px; }
  .dfsh-wrap { height: min(440px, calc(100vh - 140px)); }
  .ds1-frames-row { gap: 10px; }
  .ds1-frame { width: 110px; }
  .demo-slack { width: 260px; right: 12px; top: 72px; }
  .ds1-cmt-pop { width: 240px; }
  .demo-layout { grid-template-columns: 1fr; gap: 40px; }
  .demo-panel { position: static; height: 400px; }
  .demo-step { padding: 28px 0; }
  .ask-layout  { grid-template-columns: 1fr; gap: 28px; }
  .cta-layout  { grid-template-columns: 1fr; gap: 40px; }
  .case { grid-template-columns: 1fr; gap: 24px; }
  .case:nth-child(even) { direction: ltr; }
  .case-h { font-size: 22px; }
  .metrics-grid { grid-template-columns: 1fr; }
  .footer-bubbles { height: 220px; }
  .fb { max-width: 190px; }
  .metrics-grid { grid-template-columns: 1fr 1fr; }
  .metric-n { font-size: 40px; }
  .metric:nth-child(2) { border-right: none; }
  .metric:nth-child(1), .metric:nth-child(2) { border-bottom: 1px solid var(--border); }
}

@media (max-width: 720px) {
  .demo-full { display: none; }
  .container { padding: 0 20px; }
  .sec { padding: 72px 0; }

  nav { padding: 10px 14px; }
  .nav-pill { gap: 4px; padding: 4px 5px 4px 6px; }
  .nav-links { display: none; }
  .nav-cta { margin-left: auto; font-size: 11px; padding: 6px 14px; }

  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-left { padding: 100px 24px 32px; align-items: center; text-align: center; }
  .hero-intro { max-width: 100%; }
  .hero-right { padding: 0 24px 60px; }
  .hero-demo { max-width: 360px; }
  .hd-slack { right: -4px; }
  .hero-h1 { font-size: clamp(36px, 9vw, 54px); }

  .orbit-stage { max-width: 100%; aspect-ratio: auto; min-height: 520px; }
  .ob { width: 160px; font-size: 11.5px; padding: 10px 12px; }
  .feat-grid { grid-template-columns: 1fr; }

  /* Features: stack on mobile */
  .ft-row { grid-template-columns: 1fr; gap: 4px; }
  .ft-n { margin-bottom: 2px; }

  .ask-layout { grid-template-columns: 1fr; }
  .ask-chat { height: 380px; }

  .mem-area { height: 440px; }
  .mem-dp { width: 56px; height: 56px; }
  .mem-fly { width: 130px; padding: 10px 12px; }
  .mem-fly-text { font-size: 11px; }
  .mem-tabs { flex-wrap: wrap; justify-content: center; }
  .mem-tab { padding: 5px 12px; font-size: 10px; }

  .cases { gap: 40px; }
  .case-img img { aspect-ratio: 16/9; }
  .case-stats { flex-wrap: wrap; }
  .footer-bubbles { display: none; }
  .fg-face { width: 34px; height: 34px; margin-left: -8px; }
  .fg-orb { width: 260px; }

  .letter-paper { padding: 32px 28px; }
  .letter-stamp { top: 24px; right: 20px; }
  .letter-stamp-2 { display: none; }
  .letter-salutation, .letter-body p, .letter-closing { font-size: 17px; }
  .lf-el { display: none; }
  .letter-foot { flex-direction: column; align-items: flex-start; gap: 4px; }

  .cta-layout { grid-template-columns: 1fr; gap: 32px; }
  .cta-h2 { font-size: 32px; }

  .footer-bar { flex-direction: column; gap: 8px; text-align: center; }

  .stack-scene {
    height: auto; overflow: visible;
    display: flex; flex-direction: column; align-items: center;
    gap: 18px; padding: 0 20px;
  }
  .sc-card {
    position: static !important;
    animation: none !important;
    transform: rotate(0deg) !important;
    width: 100% !important; max-width: 320px;
  }
  .sc-cursor-pill { position: static; transform: none; animation: none; }
  .stack-scene::before { display: none; }
  .stack-scene { height: auto; overflow: visible; display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 0 20px; }
  .sc-iphone { position: static !important; animation: none !important; }
}
