/* =========================================================
   Mule Digital — v1.css
   Page-specific styles for /v1 (Mule¹ V1 product page).
   Adds: Playfair hero wordmark, preview frame, module rows,
   workflow strip, industry list, access panel.
   ========================================================= */

/* ---------- Floating background decorations ---------- */
.v1-float {
  position: absolute;
  pointer-events: none;
  color: var(--fg);
  opacity: .1;
  z-index: 0;
}
@media (prefers-reduced-motion: no-preference) {
  .v1-float { animation: v1FloatY 9s ease-in-out infinite; }
  .v1-float.slow { animation-duration: 14s; }
  .v1-float.reverse { animation-direction: reverse; }
  .v1-float.delay-1 { animation-delay: -2s; }
  .v1-float.delay-2 { animation-delay: -4s; }
  .v1-float.delay-3 { animation-delay: -6s; }
}
@keyframes v1FloatY {
  0%, 100% { transform: translateY(0) rotate(0); }
  50%      { transform: translateY(-20px) rotate(8deg); }
}

/* ---------- V1 HERO (Playfair wordmark) ---------- */
.v1-hero {
  padding: 9rem 0 5rem;
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.v1-hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(10,10,10,.06) 1px, transparent 0);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse 80% 70% at 30% 50%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 30% 50%, #000 30%, transparent 80%);
  pointer-events: none;
  z-index: 0;
}
.v1-hero .container { position: relative; z-index: 1; }
.v1-hero-corner {
  position: absolute; top: 80px;
  font-family: 'Geist Mono', monospace;
  font-size: 11px; letter-spacing: .05em; text-transform: uppercase;
  color: var(--muted);
  padding: 0 var(--gutter);
}
.v1-hero-corner.tl { left: 0; }
.v1-hero-corner.tr { right: 0; text-align: right; }
.v1-hero-corner .live { display: inline-flex; align-items: center; gap: .45rem; }
.v1-hero-corner .live::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: #0a0a0a;
  box-shadow: 0 0 0 0 rgba(10, 10, 10, .5);
  animation: livePulse 2.4s ease-out infinite;
}

.v1-hero-grid { margin-top: 3rem; }
.v1-eyebrow {
  font-family: 'Geist Mono', monospace;
  font-size: 12px; letter-spacing: .05em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 1.25rem;
  display: flex; align-items: center; gap: .6rem;
}
.v1-eyebrow::before { content: "0.0 / V1"; color: var(--fg); }
.v1-eyebrow span { display: inline-flex; align-items: center; gap: .45rem; }
.v1-eyebrow span::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--fg);
}

.v1-wordmark {
  font-family: 'Playfair Display', serif; font-weight: 700;
  font-size: clamp(5rem, 18vw, 16rem);
  line-height: .85; letter-spacing: -.05em;
  margin: 0 0 2rem;
  display: flex; align-items: flex-start; flex-wrap: wrap;
  gap: .05em;
}
@media (prefers-reduced-motion: no-preference) {
  .v1-wordmark { animation: v1WordmarkIn 1.4s cubic-bezier(.16,1,.3,1) both; }
  .v1-wordmark .badge { animation: v1BadgePop 1s cubic-bezier(.16,1,.3,1) 1s both; transform: scale(0); }
  .v1-tagline { animation: v1FadeUp .9s cubic-bezier(.16,1,.3,1) .5s both; }
  .v1-meta-item { animation: v1FadeUp .8s cubic-bezier(.16,1,.3,1) both; opacity: 0; }
  .v1-meta-item:nth-child(1) { animation-delay: .8s; }
  .v1-meta-item:nth-child(2) { animation-delay: .95s; }
  .v1-meta-item:nth-child(3) { animation-delay: 1.1s; }
  .v1-meta-item:nth-child(4) { animation-delay: 1.25s; }
  .v1-ctas { animation: v1FadeUp .9s cubic-bezier(.16,1,.3,1) 1.4s both; }
}
@keyframes v1WordmarkIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes v1BadgePop   { to { transform: scale(1); } }
@keyframes v1FadeUp     { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
.v1-wordmark sup {
  font-family: 'Geist Mono', monospace; font-size: .13em; font-weight: 400;
  color: var(--muted); vertical-align: super; margin-left: .05em; letter-spacing: 0;
  position: relative; top: .4em;
}
.v1-wordmark .v {
  font-family: 'Geist', sans-serif; font-weight: 500;
  font-size: .42em; letter-spacing: -.02em;
  color: var(--fg2);
  position: relative; top: .6em;
  margin-left: .15em;
}
.v1-wordmark .badge {
  display: inline-flex; align-items: center;
  font-family: 'Geist Mono', monospace;
  font-size: .085em; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
  color: #fff; background: var(--fg);
  padding: .5em .8em; border-radius: 2px;
  line-height: 1;
  align-self: flex-start;
  margin-top: .5em; margin-left: .4em;
}

.v1-tagline-row {
  display: grid; grid-template-columns: 1fr 1.4fr;
  gap: 3rem; align-items: flex-end;
  margin-bottom: 4rem;
}
.v1-tagline {
  font-family: 'Geist', sans-serif; font-weight: 400;
  font-size: clamp(1.15rem, 1.9vw, 1.55rem);
  line-height: 1.4; letter-spacing: -.015em;
  color: var(--fg); max-width: 38ch;
}
.v1-tagline em { font-style: italic; color: var(--fg2); }
.v1-meta {
  display: flex; flex-direction: column; gap: 1rem;
  align-self: flex-end;
}
.v1-meta-item {
  display: flex; justify-content: space-between; align-items: baseline;
  border-top: 1px solid var(--line);
  padding-top: .6rem;
  font-family: 'Geist Mono', monospace; font-size: 12px;
  color: var(--fg2); letter-spacing: .02em;
}
.v1-meta-item .k {
  color: var(--muted); text-transform: uppercase;
  font-size: 11px; letter-spacing: .05em;
}

.v1-ctas { display: flex; gap: .75rem; flex-wrap: wrap; align-items: center; }

@media (max-width: 760px) {
  .v1-tagline-row { grid-template-columns: 1fr; gap: 2rem; }
  .v1-eyebrow::before { display: none; }
}

/* ---------- PREVIEW STRIP (inbox mockup) ---------- */
.preview {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 5rem 0;
  background: #fafafa;
}
.preview-head {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 2.5rem;
  font-family: 'Geist Mono', monospace; font-size: 11px;
  letter-spacing: .05em; text-transform: uppercase;
  color: var(--muted);
  flex-wrap: wrap; gap: 1rem;
}
.preview-frame {
  background: #0a0a0a; color: #fff;
  border: 1px solid #1a1a1a;
  min-height: 540px;
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
}
.preview-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.25rem; border-bottom: 1px solid #1a1a1a;
  font-family: 'Geist Mono', monospace; font-size: 11px;
  color: rgba(255, 255, 255, .6);
  letter-spacing: .04em; text-transform: uppercase;
}
.preview-tabs { display: flex; gap: 1.5rem; }
.preview-tab { display: inline-flex; align-items: baseline; gap: .4em; }
.preview-tab.active { color: #fff; }
.preview-tab .num { color: rgba(255, 255, 255, .45); }
.preview-body {
  flex: 1; display: grid; grid-template-columns: 280px 1fr;
  overflow: hidden;
}
.preview-side {
  border-right: 1px solid #1a1a1a;
  padding: 1.25rem;
  display: flex; flex-direction: column; gap: .5rem;
  overflow: hidden;
}
.preview-side-h {
  font-family: 'Geist Mono', monospace;
  font-size: 10px; letter-spacing: .05em; text-transform: uppercase;
  color: rgba(255, 255, 255, .4); margin-bottom: .5rem;
}
.preview-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: .6rem 0; border-bottom: 1px solid #141414;
  font-size: 12px; color: rgba(255, 255, 255, .85);
  gap: .75rem;
}
.preview-row .who {
  display: flex; flex-direction: column; gap: .15rem;
  min-width: 0; flex: 1;
}
.preview-row .who .name {
  color: #fff; font-weight: 500;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.preview-row .who .last {
  color: rgba(255, 255, 255, .5); font-size: 11px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.preview-row.active {
  background: rgba(255, 255, 255, .04);
  margin: 0 -1.25rem; padding-left: 1.25rem; padding-right: 1.25rem;
  border-bottom-color: #1a1a1a;
}
.preview-row .pill {
  font-family: 'Geist Mono', monospace; font-size: 9px;
  color: rgba(255, 255, 255, .55); letter-spacing: .04em; text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, .18);
  padding: .18em .42em; flex-shrink: 0;
}
.preview-row .pill.live { color: #fff; border-color: rgba(255, 255, 255, .5); }
.preview-main {
  padding: 1.5rem 1.5rem;
  display: flex; flex-direction: column; gap: 1rem;
  overflow: hidden;
}
.preview-main-bar {
  display: flex; justify-content: space-between; align-items: baseline;
  padding-bottom: .85rem; border-bottom: 1px solid #1a1a1a;
  flex-wrap: wrap; gap: .5rem;
}
.preview-main-bar h4 {
  font-family: 'Playfair Display', serif; font-weight: 700;
  font-size: 1.4rem; letter-spacing: -.025em; line-height: 1;
  color: #fff;
}
.preview-main-bar .stage {
  font-family: 'Geist Mono', monospace; font-size: 10px;
  color: rgba(255, 255, 255, .5);
  letter-spacing: .04em; text-transform: uppercase;
}
.preview-thread { display: flex; flex-direction: column; gap: .85rem; overflow: hidden; }
.preview-msg {
  display: flex; flex-direction: column; gap: .3rem;
  max-width: 80%;
}
.preview-msg .meta {
  font-family: 'Geist Mono', monospace; font-size: 9px;
  color: rgba(255, 255, 255, .5);
  letter-spacing: .04em; text-transform: uppercase;
}
.preview-msg .body {
  font-size: 12px; line-height: 1.4; color: rgba(255, 255, 255, .92);
  border: 1px solid #1a1a1a;
  background: rgba(255, 255, 255, .02);
  padding: .6rem .75rem;
}
.preview-msg.in { align-self: flex-start; }
.preview-msg.out { align-self: flex-end; }
.preview-msg.out .body { background: #fff; color: #0a0a0a; border-color: #fff; }
.preview-msg.out .meta { align-self: flex-end; }

@media (max-width: 760px) {
  .preview-body { grid-template-columns: 1fr; }
  .preview-side { display: none; }
}

/* ---------- MODULES (alternating text + mock) ---------- */
.modules { border-top: 1px solid var(--line2); }
.module {
  display: grid; grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  padding: 5rem 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.module:nth-child(even) { grid-template-columns: 1.2fr 1fr; }
.module:nth-child(even) .module-text { order: 2; }
.module:nth-child(even) .module-mock { order: 1; }
.module-num {
  font-family: 'Geist Mono', monospace; font-size: 11px;
  letter-spacing: .05em; color: var(--muted); text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.module-name {
  font-family: 'Geist', sans-serif; font-weight: 500;
  font-size: clamp(2rem, 4vw, 3.25rem);
  letter-spacing: -.03em; line-height: 1;
  margin-bottom: 1.5rem;
}
.module-name em { font-style: italic; color: var(--fg2); font-weight: 400; }
.module-lede {
  font-family: 'Geist', sans-serif; font-weight: 400;
  font-size: 1.1rem; line-height: 1.55; letter-spacing: -.005em;
  color: var(--fg2); max-width: 42ch; margin-bottom: 2rem;
}
.module-list {
  list-style: none;
  border-top: 1px solid var(--line);
}
.module-list li {
  display: grid; grid-template-columns: 60px 1fr;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  font-size: .95rem; color: var(--fg);
}
.module-list li .ln {
  font-family: 'Geist Mono', monospace; font-size: 11px;
  color: var(--muted); letter-spacing: .04em;
}
.module-list code {
  font-family: 'Geist Mono', monospace; font-size: .85em;
  background: rgba(0, 0, 0, .04);
  padding: .1em .35em; border-radius: 2px;
}

/* module mockups (CSS-only, monochrome) */
.module-mock {
  background: #fafafa; border: 1px solid var(--line);
  aspect-ratio: 4/3;
  overflow: hidden;
  position: relative;
  display: flex; flex-direction: column;
}
.mock-bar {
  display: flex; justify-content: space-between; align-items: center;
  padding: .85rem 1rem; border-bottom: 1px solid var(--line);
  font-family: 'Geist Mono', monospace;
  font-size: 10px; letter-spacing: .04em; text-transform: uppercase;
  color: var(--muted);
}
.mock-body {
  flex: 1; padding: 1.25rem;
  display: flex; flex-direction: column; gap: .75rem;
  overflow: hidden;
}

/* Inbox mockup */
.mock-inbox { background: #0a0a0a; color: #fff; border-color: #1a1a1a; }
.mock-inbox .mock-bar { border-color: #1a1a1a; color: rgba(255, 255, 255, .55); }
.mock-inbox .inbox-list { display: flex; flex-direction: column; }
.mock-inbox .inbox-row {
  display: grid; grid-template-columns: 1fr auto; gap: .75rem; align-items: center;
  padding: .7rem 0; border-bottom: 1px solid #1a1a1a;
}
.mock-inbox .inbox-row.active {
  margin: 0 -1.25rem; padding-left: 1.25rem; padding-right: 1.25rem;
  background: rgba(255, 255, 255, .04);
}
.mock-inbox .who { display: flex; flex-direction: column; gap: .2rem; min-width: 0; }
.mock-inbox .who .n { font-size: 12px; color: #fff; font-weight: 500; }
.mock-inbox .who .l {
  font-size: 10px; color: rgba(255, 255, 255, .55);
  font-family: 'Geist Mono', monospace; letter-spacing: .02em;
}
.mock-inbox .ch {
  font-family: 'Geist Mono', monospace; font-size: 9px;
  color: rgba(255, 255, 255, .55);
  letter-spacing: .05em; text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, .18);
  padding: .18rem .4rem;
}

/* Agent mockup (light) */
.mock-agent .agent-card {
  border: 1px solid var(--line); padding: .85rem;
  display: flex; flex-direction: column; gap: .4rem;
  background: #fff;
}
.mock-agent .agent-card-h {
  display: flex; justify-content: space-between; align-items: center;
  font-family: 'Geist Mono', monospace; font-size: 10px;
  letter-spacing: .04em; text-transform: uppercase; color: var(--muted);
}
.mock-agent .agent-card-t {
  font-size: 13px; color: var(--fg); font-weight: 500;
}
.mock-agent .agent-row {
  display: grid; grid-template-columns: 90px 1fr;
  gap: .85rem;
  padding: .45rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}
.mock-agent .agent-row .k {
  font-family: 'Geist Mono', monospace; font-size: 10px;
  letter-spacing: .04em; text-transform: uppercase; color: var(--muted);
}
.mock-agent .agent-row .v {
  color: var(--fg); font-family: 'Geist Mono', monospace;
  font-size: 11px; letter-spacing: .02em;
}

/* CRM mockup (dark) */
.mock-crm { background: #0a0a0a; color: #fff; border-color: #1a1a1a; }
.mock-crm .mock-bar { border-color: #1a1a1a; color: rgba(255, 255, 255, .55); }
.mock-crm .crm-cols {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: .6rem; flex: 1;
}
.mock-crm .crm-col {
  display: flex; flex-direction: column; gap: .5rem;
  border: 1px solid #1a1a1a; padding: .6rem;
  background: rgba(255, 255, 255, .02);
}
.mock-crm .crm-h {
  font-family: 'Geist Mono', monospace; font-size: 10px;
  color: rgba(255, 255, 255, .5);
  letter-spacing: .04em; text-transform: uppercase;
  margin-bottom: .25rem;
}
.mock-crm .crm-card {
  border: 1px solid #1a1a1a; background: #0f0f0f;
  padding: .5rem;
  display: flex; flex-direction: column; gap: .2rem;
}
.mock-crm .crm-t {
  font-size: 11px; font-weight: 500; line-height: 1.2; color: #fff;
}
.mock-crm .crm-m {
  font-family: 'Geist Mono', monospace; font-size: 9px;
  color: rgba(255, 255, 255, .5); letter-spacing: .04em;
}

@media (max-width: 820px) {
  .module { grid-template-columns: 1fr; gap: 2.5rem; padding: 4rem 0; }
  .module:nth-child(even) { grid-template-columns: 1fr; }
  .module:nth-child(even) .module-text,
  .module:nth-child(even) .module-mock { order: initial; }
}

/* ---------- WORKFLOW (5-step strip) ---------- */
.flow {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  border-top: 1px solid var(--line2);
  padding-top: 3rem;
}
.flow-step {
  display: flex; flex-direction: column;
  border-right: 1px solid var(--line);
  padding: 0 1.25rem 0 0; position: relative;
}
.flow-step:last-child { border-right: none; }
.flow-num {
  font-family: 'Geist Mono', monospace; font-size: 11px;
  color: var(--muted); letter-spacing: .04em;
  margin-bottom: 1rem;
}
.flow-mark {
  font-family: 'Geist', sans-serif; font-weight: 500;
  font-size: clamp(2.25rem, 4.4vw, 3.5rem);
  letter-spacing: -.045em; line-height: .9;
  margin-bottom: 1rem;
}
.flow-mark sup {
  font-family: 'Geist Mono', monospace; font-size: .2em;
  color: var(--muted); font-weight: 400;
  vertical-align: super; margin-left: .05em;
}
.flow-step h4 {
  font-family: 'Geist', sans-serif; font-weight: 500;
  font-size: 1.05rem; letter-spacing: -.015em; line-height: 1.15;
  margin-bottom: .5rem;
}
.flow-step p {
  color: var(--fg2); font-size: .88rem; line-height: 1.5;
  max-width: 24ch;
}
@media (max-width: 980px) {
  .flow { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .flow-step {
    border-right: none; padding-right: 0;
    border-bottom: 1px solid var(--line); padding-bottom: 1.5rem;
  }
}
@media (max-width: 560px) { .flow { grid-template-columns: 1fr; } }

/* ---------- FOR (industry list) ---------- */
.for {
  display: grid; grid-template-columns: 1fr 1.2fr;
  gap: 4rem; align-items: start;
  border-top: 1px solid var(--line2); padding-top: 3rem;
}
.for-text h3 {
  font-family: 'Geist', sans-serif; font-weight: 500;
  font-size: clamp(1.5rem, 2.8vw, 2.4rem);
  letter-spacing: -.025em; line-height: 1.1;
  margin-bottom: 1.5rem;
}
.for-text h3 em { font-style: italic; color: var(--fg2); font-weight: 400; }
.for-text p {
  color: var(--fg2); font-size: 1rem; line-height: 1.65;
  max-width: 46ch; margin-bottom: 1rem;
}
.for-list { border-top: 1px solid var(--line); }
.for-row {
  display: grid; grid-template-columns: 60px 1fr;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
}
.for-row .n {
  font-family: 'Geist Mono', monospace; font-size: 11px;
  color: var(--muted); letter-spacing: .04em;
}
.for-row .t {
  font-family: 'Geist', sans-serif; font-size: 1.05rem;
  color: var(--fg); line-height: 1.4; letter-spacing: -.01em;
}
.for-row .t em { font-style: italic; color: var(--fg2); }
@media (max-width: 820px) { .for { grid-template-columns: 1fr; gap: 2.5rem; } }

/* ---------- ACCESS PANEL (dark CTA) ---------- */
.access {
  background: #0a0a0a; color: #fff;
  border: 1px solid #1a1a1a;
  padding: clamp(2.5rem, 6vw, 5rem);
  position: relative; overflow: hidden;
}
.access-meta {
  display: flex; justify-content: space-between; align-items: baseline;
  font-family: 'Geist Mono', monospace; font-size: 11px;
  letter-spacing: .05em; text-transform: uppercase;
  color: rgba(255, 255, 255, .55);
  margin-bottom: 2.5rem;
  flex-wrap: wrap; gap: 1rem;
}
.access h3 {
  font-family: 'Playfair Display', serif; font-weight: 700;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1; letter-spacing: -.03em;
  margin-bottom: 1.5rem; color: #fff;
  max-width: 18ch;
}
.access h3 em {
  font-style: italic; color: rgba(255, 255, 255, .65); font-weight: 500;
}
.access p {
  font-size: 1.1rem; line-height: 1.55;
  color: rgba(255, 255, 255, .8);
  max-width: 50ch; margin-bottom: 2.5rem;
}
.access-includes {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  border-top: 1px solid rgba(255, 255, 255, .18);
  border-bottom: 1px solid rgba(255, 255, 255, .18);
  padding: 2rem 0;
  margin-bottom: 2.5rem;
}
.access-includes .item {
  display: flex; flex-direction: column; gap: .5rem;
}
.access-includes .item-num {
  font-family: 'Geist Mono', monospace; font-size: 11px;
  letter-spacing: .04em; color: rgba(255, 255, 255, .55);
}
.access-includes .item-t {
  font-family: 'Geist', sans-serif; font-weight: 500; font-size: 1rem;
  letter-spacing: -.01em; color: #fff;
}
.access-includes .item-d {
  font-size: .88rem; line-height: 1.5; color: rgba(255, 255, 255, .7);
}
.access-ctas { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }
.access-ctas .btn { border-color: #fff; color: #fff; }
.access-ctas .btn:hover { background: #fff; color: #0a0a0a; }
.access-ctas .btn-link {
  color: rgba(255, 255, 255, .78);
  border-bottom-color: rgba(255, 255, 255, .4);
}
.access-ctas .btn-link:hover { color: #fff; border-bottom-color: #fff; }
@media (max-width: 820px) { .access-includes { grid-template-columns: 1fr; gap: 1.5rem; } }

/* =========================================================
   PAGE-WIDE ANIMATIONS
   Triggered by .in class added by IntersectionObserver in inline JS.
   ========================================================= */

@media (prefers-reduced-motion: no-preference) {

  /* ---------- Pricing tier slide-in ---------- */
  #pricing.s .tier { opacity: 0; transform: translateY(24px); transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1); }
  #pricing.s.in .tier { opacity: 1; transform: translateY(0); }
  #pricing.s.in .tier:nth-child(1) { transition-delay: 0s; }
  #pricing.s.in .tier:nth-child(2) { transition-delay: .12s; }
  #pricing.s.in .tier:nth-child(3) { transition-delay: .24s; }
  #pricing.s.in .tier.featured { animation: v1TierPulse 6s ease-in-out 2s infinite; }

  /* ---------- Tier list rows stagger ---------- */
  #pricing.s.in .tier .tier-list li { opacity: 0; transform: translateX(-8px); animation: v1ListIn .5s ease both; }
  #pricing.s.in .tier .tier-list li:nth-child(1) { animation-delay: .4s; }
  #pricing.s.in .tier .tier-list li:nth-child(2) { animation-delay: .48s; }
  #pricing.s.in .tier .tier-list li:nth-child(3) { animation-delay: .56s; }
  #pricing.s.in .tier .tier-list li:nth-child(4) { animation-delay: .64s; }
  #pricing.s.in .tier .tier-list li:nth-child(5) { animation-delay: .72s; }
  #pricing.s.in .tier .tier-list li:nth-child(6) { animation-delay: .80s; }
  #pricing.s.in .tier .tier-list li:nth-child(7) { animation-delay: .88s; }
  #pricing.s.in .tier .tier-list li:nth-child(8) { animation-delay: .96s; }
  #pricing.s.in .tier .tier-list li:nth-child(9) { animation-delay: 1.04s; }
  #pricing.s.in .tier .tier-list li:nth-child(10) { animation-delay: 1.12s; }
  @keyframes v1ListIn   { to { opacity: 1; transform: translateX(0); } }
  @keyframes v1TierPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(10,10,10,0); }
    50%      { box-shadow: 0 12px 40px -12px rgba(10,10,10,.35); }
  }

  /* ---------- Preview frame: tabs, rows, messages ---------- */
  .preview .preview-frame { opacity: 0; transform: translateY(20px); transition: opacity .9s cubic-bezier(.16,1,.3,1), transform .9s cubic-bezier(.16,1,.3,1); }
  .preview.in .preview-frame { opacity: 1; transform: translateY(0); }
  .preview.in .preview-tab { opacity: 0; animation: v1FadeUp .5s ease both; }
  .preview.in .preview-tab:nth-child(1) { animation-delay: .4s; }
  .preview.in .preview-tab:nth-child(2) { animation-delay: .55s; }
  .preview.in .preview-tab:nth-child(3) { animation-delay: .70s; }
  .preview.in .preview-tab:nth-child(4) { animation-delay: .85s; }
  .preview.in .preview-row { opacity: 0; transform: translateX(-12px); animation: v1RowIn .55s cubic-bezier(.16,1,.3,1) both; }
  .preview.in .preview-row:nth-child(1) { animation-delay: 1.0s; }
  .preview.in .preview-row:nth-child(2) { animation-delay: 1.12s; }
  .preview.in .preview-row:nth-child(3) { animation-delay: 1.24s; }
  .preview.in .preview-row:nth-child(4) { animation-delay: 1.36s; }
  .preview.in .preview-row:nth-child(5) { animation-delay: 1.48s; }
  .preview.in .preview-row.active { animation: v1RowIn .55s cubic-bezier(.16,1,.3,1) 1s both, v1ActiveGlow 3s ease-in-out 2s infinite; }
  @keyframes v1RowIn { to { opacity: 1; transform: translateX(0); } }
  @keyframes v1ActiveGlow {
    0%, 100% { background: rgba(255,255,255,.04); }
    50%      { background: rgba(255,255,255,.08); }
  }

  /* Inbox channel pills "blink" */
  .preview.in .preview-row .pill.live::after {
    content: ""; position: absolute;
    width: 6px; height: 6px; border-radius: 50%; background: #fff;
    margin-left: -10px; margin-top: 2px;
    animation: v1Blink 2s ease-in-out infinite;
  }
  @keyframes v1Blink { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

  /* Conversation messages: typing dots → message slide-in */
  .preview.in .preview-msg { opacity: 0; transform: translateY(8px); animation: v1MsgIn .6s cubic-bezier(.16,1,.3,1) both; }
  .preview.in .preview-msg:nth-child(1) { animation-delay: 1.7s; }
  .preview.in .preview-msg:nth-child(2) { animation-delay: 2.6s; }
  .preview.in .preview-msg:nth-child(3) { animation-delay: 3.5s; }
  @keyframes v1MsgIn { to { opacity: 1; transform: translateY(0); } }

  /* Typing indicator dots inside an empty bubble */
  .typing-dots { display: inline-flex; gap: 4px; padding: 8px 4px; }
  .typing-dots span {
    width: 6px; height: 6px; border-radius: 50%;
    background: rgba(255,255,255,.7);
    animation: v1Typing 1.4s ease-in-out infinite;
  }
  .typing-dots span:nth-child(2) { animation-delay: .2s; }
  .typing-dots span:nth-child(3) { animation-delay: .4s; }
  @keyframes v1Typing {
    0%, 80%, 100% { opacity: .3; transform: translateY(0); }
    40%           { opacity: 1; transform: translateY(-3px); }
  }

  /* ---------- Why principles ---------- */
  #why .principle { opacity: 0; transform: translateY(20px); transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1); }
  #why.in .principle { opacity: 1; transform: translateY(0); }
  #why.in .principle:nth-child(1) { transition-delay: .1s; }
  #why.in .principle:nth-child(2) { transition-delay: .25s; }
  #why.in .principle:nth-child(3) { transition-delay: .4s; }

  /* ---------- Modules — text + mock both reveal ---------- */
  #modules .module { opacity: 0; transform: translateY(24px); transition: opacity .9s cubic-bezier(.16,1,.3,1), transform .9s cubic-bezier(.16,1,.3,1); }
  #modules .module.in { opacity: 1; transform: translateY(0); }

  /* Module mock cards stagger */
  #modules .module.in .inbox-row,
  #modules .module.in .agent-row,
  #modules .module.in .crm-card {
    opacity: 0;
    animation: v1FadeUp .55s cubic-bezier(.16,1,.3,1) both;
  }
  #modules .module.in .inbox-row:nth-child(1) { animation-delay: .3s; }
  #modules .module.in .inbox-row:nth-child(2) { animation-delay: .42s; }
  #modules .module.in .inbox-row:nth-child(3) { animation-delay: .54s; }
  #modules .module.in .inbox-row:nth-child(4) { animation-delay: .66s; }
  #modules .module.in .agent-row:nth-child(1) { animation-delay: .35s; }
  #modules .module.in .agent-row:nth-child(2) { animation-delay: .47s; }
  #modules .module.in .agent-row:nth-child(3) { animation-delay: .59s; }
  #modules .module.in .agent-row:nth-child(4) { animation-delay: .71s; }
  #modules .module.in .agent-row:nth-child(5) { animation-delay: .83s; }
  #modules .module.in .crm-card:nth-of-type(1) { animation-delay: .35s; }
  #modules .module.in .crm-card:nth-of-type(2) { animation-delay: .50s; }
  #modules .module.in .crm-card:nth-of-type(3) { animation-delay: .65s; }

  /* Module list lines stagger */
  #modules .module.in .module-list li {
    opacity: 0; animation: v1ListIn .5s cubic-bezier(.16,1,.3,1) both;
  }
  #modules .module.in .module-list li:nth-child(1) { animation-delay: .35s; }
  #modules .module.in .module-list li:nth-child(2) { animation-delay: .47s; }
  #modules .module.in .module-list li:nth-child(3) { animation-delay: .59s; }
  #modules .module.in .module-list li:nth-child(4) { animation-delay: .71s; }

  /* Mock-bar status indicator pulse */
  .mock-bar::before {
    content: ""; display: inline-block;
    width: 6px; height: 6px; border-radius: 50%;
    background: currentColor;
    margin-right: 6px;
    animation: v1MockPulse 2.4s ease-in-out infinite;
    vertical-align: middle;
    opacity: .65;
  }
  @keyframes v1MockPulse {
    0%, 100% { opacity: .3; transform: scale(1); }
    50%      { opacity: 1; transform: scale(1.4); }
  }

  /* ---------- Workflow path drawing + step staircase ---------- */
  #workflow .flow-step { opacity: 0; transform: translateY(20px); transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1); }
  #workflow.in .flow-step { opacity: 1; transform: translateY(0); }
  #workflow.in .flow-step:nth-child(1) { transition-delay: .1s; }
  #workflow.in .flow-step:nth-child(2) { transition-delay: .25s; }
  #workflow.in .flow-step:nth-child(3) { transition-delay: .4s; }
  #workflow.in .flow-step:nth-child(4) { transition-delay: .55s; }
  #workflow.in .flow-step:nth-child(5) { transition-delay: .7s; }
  /* Big step numbers count-flicker on entry */
  #workflow.in .flow-mark {
    background: linear-gradient(90deg, var(--fg) 0%, var(--fg) 50%, transparent 50%, transparent 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text; background-clip: text;
    color: transparent;
    animation: v1NumWipe 1.2s cubic-bezier(.16,1,.3,1) both;
    animation-delay: inherit;
  }
  @keyframes v1NumWipe {
    from { background-position: 100% 0; }
    to   { background-position: 0 0; }
  }

  /* Animated line connecting workflow steps */
  .flow-connector {
    position: absolute; left: 0; right: 0; top: 1.2em;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--line2) 8%, var(--line2) 92%, transparent 100%);
    transform: scaleX(0); transform-origin: left;
    transition: transform 1.5s cubic-bezier(.16,1,.3,1) .6s;
  }
  #workflow.in .flow-connector { transform: scaleX(1); }
  .flow-spark {
    position: absolute; top: calc(1.2em - 4px);
    width: 8px; height: 8px;
    border-radius: 50%; background: var(--fg);
    opacity: 0;
    animation: v1Spark 4s ease-in-out 1.5s infinite;
  }
  @keyframes v1Spark {
    0%   { left: 0%;  opacity: 0; }
    10%  { opacity: 1; }
    90%  { opacity: 1; }
    100% { left: 100%; opacity: 0; }
  }

  /* ---------- For: industry rows slide in ---------- */
  #for .for-text { opacity: 0; transform: translateY(20px); transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1); }
  #for.in .for-text { opacity: 1; transform: translateY(0); }
  #for .for-row { opacity: 0; transform: translateX(-16px); transition: opacity .55s cubic-bezier(.16,1,.3,1), transform .55s cubic-bezier(.16,1,.3,1); }
  #for.in .for-row { opacity: 1; transform: translateX(0); }
  #for.in .for-row:nth-child(1) { transition-delay: .15s; }
  #for.in .for-row:nth-child(2) { transition-delay: .25s; }
  #for.in .for-row:nth-child(3) { transition-delay: .35s; }
  #for.in .for-row:nth-child(4) { transition-delay: .45s; }
  #for.in .for-row:nth-child(5) { transition-delay: .55s; }
  #for.in .for-row:nth-child(6) { transition-delay: .65s; }
  #for.in .for-row:nth-child(7) { transition-delay: .75s; }
  #for .for-row:hover { padding-left: .75rem; }
  #for .for-row { transition: opacity .55s, transform .55s, padding-left .35s cubic-bezier(.16,1,.3,1); }

  /* ---------- Questions FAQ stagger ---------- */
  #questions details { opacity: 0; transform: translateY(12px); transition: opacity .55s cubic-bezier(.16,1,.3,1), transform .55s cubic-bezier(.16,1,.3,1); }
  #questions.in details { opacity: 1; transform: translateY(0); }
  #questions.in details:nth-child(1) { transition-delay: .05s; }
  #questions.in details:nth-child(2) { transition-delay: .12s; }
  #questions.in details:nth-child(3) { transition-delay: .19s; }
  #questions.in details:nth-child(4) { transition-delay: .26s; }
  #questions.in details:nth-child(5) { transition-delay: .33s; }
  #questions.in details:nth-child(6) { transition-delay: .40s; }
  #questions.in details:nth-child(7) { transition-delay: .47s; }

  /* ---------- Access shimmer ---------- */
  .access::after {
    content: ""; position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(110deg, transparent 35%, rgba(255,255,255,.05) 50%, transparent 65%);
    animation: v1Shimmer 5s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
  }
  .access > * { position: relative; z-index: 1; }
  @keyframes v1Shimmer {
    0%   { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
  }
  .access-includes .item { opacity: 0; transform: translateY(12px); transition: opacity .6s cubic-bezier(.16,1,.3,1), transform .6s cubic-bezier(.16,1,.3,1); }
  #access.in .access-includes .item { opacity: 1; transform: translateY(0); }
  #access.in .access-includes .item:nth-child(1) { transition-delay: .2s; }
  #access.in .access-includes .item:nth-child(2) { transition-delay: .35s; }
  #access.in .access-includes .item:nth-child(3) { transition-delay: .50s; }

  /* ---------- Hero flow diagram (lead -> agent -> CRM) ---------- */
  .v1-flow-diagram { width: 100%; max-width: 360px; margin-top: 2rem; }
  .v1-flow-diagram .flow-stop { opacity: 0; }
  .v1-flow-diagram .flow-line { stroke-dasharray: 200; stroke-dashoffset: 200; }
  @keyframes v1DrawLine { to { stroke-dashoffset: 0; } }
  @keyframes v1DropIn   { to { opacity: 1; transform: translateY(0) scale(1); } }
  .v1-flow-diagram .flow-stop {
    transform: translateY(8px) scale(.85); transform-origin: center;
    animation: v1DropIn .6s cubic-bezier(.16,1,.3,1) both;
  }
  .v1-flow-diagram .flow-stop.s1 { animation-delay: 1.6s; }
  .v1-flow-diagram .flow-stop.s2 { animation-delay: 2.0s; }
  .v1-flow-diagram .flow-stop.s3 { animation-delay: 2.4s; }
  .v1-flow-diagram .flow-line.l1 { animation: v1DrawLine .9s cubic-bezier(.16,1,.3,1) 1.7s both; }
  .v1-flow-diagram .flow-line.l2 { animation: v1DrawLine .9s cubic-bezier(.16,1,.3,1) 2.1s both; }
  .v1-flow-diagram .flow-pulse {
    animation: v1FlowPulse 3.5s ease-in-out 3.0s infinite;
  }
  @keyframes v1FlowPulse {
    0%   { offset-distance: 0%;   opacity: 0; }
    10%  { opacity: 1; }
    90%  { opacity: 1; }
    100% { offset-distance: 100%; opacity: 0; }
  }
}

/* Always-on subtle live pulse on the inbox status dot */
.preview-tab.active::after {
  content: ""; display: inline-block;
  width: 5px; height: 5px; border-radius: 50%;
  background: #fff;
  margin-left: 6px;
  animation: v1Blink 1.8s ease-in-out infinite;
}

/* =========================================================
   DASHBOARD PREVIEW
   Rich V1 mockup with KPIs, charts, alerts, action buttons.
   Replaces the old single-column inbox view.
   ========================================================= */

.preview-bar-meta {
  display: flex; align-items: center; gap: .8rem;
  flex-shrink: 0;
}
.preview-bar-meta > span {
  color: rgba(255,255,255,.55);
  white-space: nowrap;
}

/* Action buttons in the bar */
.dash-action {
  font-family: 'Geist Mono', monospace; font-size: 10px;
  letter-spacing: .04em; text-transform: uppercase;
  padding: .4rem .7rem;
  background: #fff; color: #0a0a0a;
  border: 1px solid #fff;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.dash-action:hover { background: rgba(255,255,255,.85); }
.dash-action.ghost {
  background: transparent;
  color: rgba(255,255,255,.78);
  border-color: rgba(255,255,255,.2);
}
.dash-action.ghost:hover { color: #fff; border-color: rgba(255,255,255,.5); }

/* ---------- KPI strip ---------- */
.dash-kpis {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: #1a1a1a;
  border-bottom: 1px solid #1a1a1a;
}
.dash-kpi {
  background: #0a0a0a;
  padding: 1.1rem 1.25rem;
  display: flex; flex-direction: column; gap: .35rem;
  position: relative; overflow: hidden;
  min-height: 110px;
}
.dash-kpi-k {
  font-family: 'Geist Mono', monospace;
  font-size: 10px; letter-spacing: .05em; text-transform: uppercase;
  color: rgba(255,255,255,.55);
}
.dash-kpi-v {
  font-family: 'Geist', sans-serif; font-weight: 500;
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  letter-spacing: -.025em; line-height: 1;
  color: #fff;
}
.dash-kpi-v small {
  font-family: 'Geist Mono', monospace;
  font-size: .55em; font-weight: 400;
  color: rgba(255,255,255,.55);
  margin-left: .12em;
}
.dash-kpi-t {
  font-family: 'Geist Mono', monospace;
  font-size: 10px; letter-spacing: .04em;
  color: #fff;
}
.dash-kpi-t.muted { color: rgba(255,255,255,.5); }
.dash-spark {
  position: absolute;
  bottom: .85rem; right: 1rem;
  width: 80px; height: 22px;
  color: rgba(255,255,255,.55);
  pointer-events: none;
}

/* ---------- Split row: chart + alerts ---------- */
.dash-split {
  display: grid; grid-template-columns: 1.4fr 1fr;
  gap: 1px;
  background: #1a1a1a;
  border-bottom: 1px solid #1a1a1a;
  flex: 1;
}
.dash-card {
  background: #0a0a0a;
  padding: 1.25rem;
  display: flex; flex-direction: column; gap: .9rem;
  overflow: hidden;
}
.dash-card-h {
  display: flex; justify-content: space-between; align-items: center;
  font-family: 'Geist Mono', monospace; font-size: 11px;
  letter-spacing: .04em; text-transform: uppercase;
  color: rgba(255,255,255,.6);
  flex-wrap: wrap; gap: .5rem;
}
.dash-card-h em { font-style: normal; color: #fff; }

/* mini segmented control (1d / 24h / 7d) */
.dash-mini-actions {
  display: inline-flex;
  border: 1px solid rgba(255,255,255,.18);
}
.dash-mini-actions button {
  font-family: 'Geist Mono', monospace; font-size: 9px;
  padding: .3rem .55rem;
  letter-spacing: .04em; text-transform: uppercase;
  background: transparent; color: rgba(255,255,255,.55);
  border: none; cursor: pointer;
  border-right: 1px solid rgba(255,255,255,.12);
  transition: background .2s ease, color .2s ease;
}
.dash-mini-actions button:last-child { border-right: none; }
.dash-mini-actions button.active { background: #fff; color: #0a0a0a; }
.dash-mini-actions button:hover { color: #fff; }
.dash-mini-actions button.active:hover { color: #0a0a0a; }

/* Bar chart */
.dash-bars {
  width: 100%; height: 70px;
  color: rgba(255,255,255,.7);
  display: block;
}
.dash-chart-foot {
  display: flex; justify-content: space-between;
  font-family: 'Geist Mono', monospace; font-size: 9px;
  letter-spacing: .04em; text-transform: uppercase;
  color: rgba(255,255,255,.4);
  padding-top: .25rem;
}

/* Pipeline funnel */
.dash-pipeline {
  margin-top: .25rem;
  padding-top: .9rem;
  border-top: 1px solid #1a1a1a;
  display: flex; flex-direction: column; gap: .5rem;
}
.dash-pipe-h {
  font-family: 'Geist Mono', monospace; font-size: 10px;
  letter-spacing: .05em; text-transform: uppercase;
  color: rgba(255,255,255,.55);
  margin-bottom: .35rem;
}
.dash-pipe-row {
  display: grid; grid-template-columns: 80px 1fr 36px;
  gap: .85rem; align-items: center;
}
.dash-pipe-row .k {
  font-family: 'Geist Mono', monospace; font-size: 10px;
  letter-spacing: .04em; text-transform: uppercase;
  color: rgba(255,255,255,.78);
}
.dash-pipe-row .v {
  font-family: 'Geist Mono', monospace; font-size: 11px;
  text-align: right; color: #fff;
}
.dash-pipe-row .bar {
  height: 6px; background: rgba(255,255,255,.08);
  position: relative;
}
.dash-pipe-row .bar > span {
  display: block; height: 100%; background: #fff;
  transform-origin: left center;
}

/* Alerts column */
.dash-alerts { gap: .65rem; }
.dash-alert {
  border: 1px solid #1a1a1a;
  padding: .75rem .85rem;
  display: flex; flex-direction: column; gap: .45rem;
  background: rgba(255,255,255,.02);
}
.dash-alert-h {
  display: flex; justify-content: space-between; align-items: center;
  font-family: 'Geist Mono', monospace; font-size: 10px;
  letter-spacing: .04em; text-transform: uppercase;
}
.dash-alert-pill {
  display: inline-flex; align-items: center; gap: .35rem;
  color: #fff;
  border: 1px solid rgba(255,255,255,.25);
  padding: .15rem .45rem;
  font-size: 9px;
  letter-spacing: .05em;
}
.dash-alert-pill::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%;
  background: currentColor;
}
.dash-alert-pill.warn  { color: #fff; border-color: rgba(255,255,255,.55); }
.dash-alert-pill.warn::before { animation: heroPulse 2.4s ease-out infinite; }
.dash-alert-pill.info  { color: rgba(255,255,255,.78); }
.dash-alert-pill.amber { color: rgba(255,255,255,.78); }
.dash-alert-time { color: rgba(255,255,255,.4); }

.dash-alert-body {
  font-size: 11.5px; line-height: 1.45;
  color: rgba(255,255,255,.85);
}
.dash-alert-body strong { color: #fff; font-weight: 500; }
.dash-alert-body em { font-style: italic; color: rgba(255,255,255,.6); }

.dash-alert-actions {
  display: flex; flex-wrap: wrap; gap: .35rem;
  margin-top: .15rem;
}
.dash-alert-actions button {
  font-family: 'Geist Mono', monospace; font-size: 10px;
  letter-spacing: .04em; text-transform: uppercase;
  padding: .35rem .6rem;
  background: transparent; color: rgba(255,255,255,.78);
  border: 1px solid rgba(255,255,255,.2);
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.dash-alert-actions button.primary {
  background: #fff; color: #0a0a0a;
  border-color: #fff;
}
.dash-alert-actions button:hover {
  background: #fff; color: #0a0a0a; border-color: #fff;
}

/* ---------- Activity feed (compressed inbox with action chips) ---------- */
.dash-activity {
  background: #0a0a0a;
  padding: 1.1rem 1.25rem 1.25rem;
  display: flex; flex-direction: column; gap: .25rem;
}
.dash-feed-actions { display: flex; gap: .35rem; flex-wrap: wrap; }
.dash-feed-actions button {
  font-family: 'Geist Mono', monospace; font-size: 10px;
  letter-spacing: .04em; text-transform: uppercase;
  padding: .35rem .6rem;
  background: transparent; color: rgba(255,255,255,.78);
  border: 1px solid rgba(255,255,255,.2);
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.dash-feed-actions button:hover { background: #fff; color: #0a0a0a; border-color: #fff; }
.dash-feed-actions button.ghost { border-color: rgba(255,255,255,.12); color: rgba(255,255,255,.6); }
.dash-feed-actions button.ghost:hover { background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.5); }

.feed-row {
  display: grid;
  grid-template-columns: 8px 1fr 36px 60px auto;
  gap: 1rem; align-items: center;
  padding: .65rem 0;
  border-bottom: 1px solid #1a1a1a;
}
.feed-row:last-child { border-bottom: none; }
.feed-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255,255,255,.25);
}
.feed-dot.live {
  background: #fff;
  box-shadow: 0 0 0 0 rgba(255,255,255,.4);
  animation: heroPulse 2.4s ease-out infinite;
}
.feed-dot.esc {
  background: #fff;
  outline: 1px solid #fff;
  outline-offset: 2px;
}

.feed-who {
  display: flex; flex-direction: column; gap: .15rem;
  min-width: 0;
}
.feed-who .feed-name {
  font-size: 12px; font-weight: 500; color: #fff;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.feed-who .feed-msg {
  font-family: 'Geist Mono', monospace; font-size: 10px;
  color: rgba(255,255,255,.55); letter-spacing: .02em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.feed-score {
  font-family: 'Geist Mono', monospace; font-size: 12px;
  color: #fff; font-weight: 500; text-align: right;
}
.feed-channel {
  font-family: 'Geist Mono', monospace; font-size: 9px;
  color: rgba(255,255,255,.6);
  letter-spacing: .04em; text-transform: uppercase;
  border: 1px solid rgba(255,255,255,.18);
  padding: .15rem .4rem;
  text-align: center;
  white-space: nowrap;
}
.feed-actions {
  display: flex; gap: .3rem;
  justify-content: flex-end;
}
.feed-actions button {
  font-family: 'Geist Mono', monospace; font-size: 10px;
  letter-spacing: .04em; text-transform: uppercase;
  padding: .35rem .55rem;
  background: transparent; color: rgba(255,255,255,.78);
  border: 1px solid rgba(255,255,255,.18);
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.feed-actions button.primary {
  background: #fff; color: #0a0a0a; border-color: #fff;
}
.feed-actions button:hover {
  background: #fff; color: #0a0a0a; border-color: #fff;
}

/* Bar chart bars staggered grow-in animation */
@media (prefers-reduced-motion: no-preference) {
  .preview.in .dash-bars rect {
    transform-origin: bottom center;
    animation: dashBarRise .7s cubic-bezier(.16,1,.3,1) both;
  }
  .preview.in .dash-bars rect:nth-child(1)  { animation-delay: 1.0s; }
  .preview.in .dash-bars rect:nth-child(2)  { animation-delay: 1.04s; }
  .preview.in .dash-bars rect:nth-child(3)  { animation-delay: 1.08s; }
  .preview.in .dash-bars rect:nth-child(4)  { animation-delay: 1.12s; }
  .preview.in .dash-bars rect:nth-child(5)  { animation-delay: 1.16s; }
  .preview.in .dash-bars rect:nth-child(6)  { animation-delay: 1.20s; }
  .preview.in .dash-bars rect:nth-child(7)  { animation-delay: 1.24s; }
  .preview.in .dash-bars rect:nth-child(8)  { animation-delay: 1.28s; }
  .preview.in .dash-bars rect:nth-child(9)  { animation-delay: 1.32s; }
  .preview.in .dash-bars rect:nth-child(10) { animation-delay: 1.36s; }
  .preview.in .dash-bars rect:nth-child(11) { animation-delay: 1.40s; }
  .preview.in .dash-bars rect:nth-child(12) { animation-delay: 1.44s; }
  .preview.in .dash-bars rect:nth-child(13) { animation-delay: 1.48s; }
  .preview.in .dash-bars rect:nth-child(14) { animation-delay: 1.52s; }
  .preview.in .dash-bars rect:nth-child(15) { animation-delay: 1.56s; }
  .preview.in .dash-bars rect:nth-child(16) { animation-delay: 1.60s; }
  .preview.in .dash-bars rect:nth-child(17) { animation-delay: 1.64s; }
  .preview.in .dash-bars rect:nth-child(18) { animation-delay: 1.68s; }
  .preview.in .dash-bars rect:nth-child(19) { animation-delay: 1.72s; }
  .preview.in .dash-bars rect:nth-child(20) { animation-delay: 1.76s; }
  .preview.in .dash-bars rect:nth-child(21) { animation-delay: 1.80s; }
  .preview.in .dash-bars rect:nth-child(22) { animation-delay: 1.84s; }
  .preview.in .dash-bars rect:nth-child(23) { animation-delay: 1.88s; }
  .preview.in .dash-bars rect:nth-child(24) { animation-delay: 1.92s; }
  @keyframes dashBarRise {
    from { transform: scaleY(0); opacity: .3; }
    to   { transform: scaleY(1); opacity: 1; }
  }

  .preview.in .dash-pipe-row .bar > span {
    transform: scaleX(0);
    animation: dashBarGrow 1s cubic-bezier(.16,1,.3,1) both;
  }
  .preview.in .dash-pipe-row:nth-child(2) .bar > span { animation-delay: 1.1s; }
  .preview.in .dash-pipe-row:nth-child(3) .bar > span { animation-delay: 1.25s; }
  .preview.in .dash-pipe-row:nth-child(4) .bar > span { animation-delay: 1.40s; }
  .preview.in .dash-pipe-row:nth-child(5) .bar > span { animation-delay: 1.55s; }
  @keyframes dashBarGrow { to { transform: scaleX(1); } }

  .preview.in .dash-spark polyline {
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    animation: dashSparkDraw 1.4s cubic-bezier(.16,1,.3,1) both;
  }
  .preview.in .dash-kpi:nth-child(1) .dash-spark polyline { animation-delay: .9s; }
  .preview.in .dash-kpi:nth-child(2) .dash-spark polyline { animation-delay: 1.0s; }
  .preview.in .dash-kpi:nth-child(3) .dash-spark polyline { animation-delay: 1.1s; }
  .preview.in .dash-kpi:nth-child(4) .dash-spark polyline { animation-delay: 1.2s; }
  @keyframes dashSparkDraw { to { stroke-dashoffset: 0; } }

  .preview.in .dash-alert {
    opacity: 0; transform: translateY(8px);
    animation: dashAlertIn .6s cubic-bezier(.16,1,.3,1) both;
  }
  .preview.in .dash-alert:nth-child(2) { animation-delay: 1.2s; }
  .preview.in .dash-alert:nth-child(3) { animation-delay: 1.35s; }
  .preview.in .dash-alert:nth-child(4) { animation-delay: 1.50s; }
  @keyframes dashAlertIn { to { opacity: 1; transform: translateY(0); } }

  .preview.in .feed-row {
    opacity: 0; transform: translateX(-10px);
    animation: dashFeedIn .55s cubic-bezier(.16,1,.3,1) both;
  }
  .preview.in .feed-row:nth-child(1) { animation-delay: 1.5s; }
  .preview.in .feed-row:nth-child(2) { animation-delay: 1.62s; }
  .preview.in .feed-row:nth-child(3) { animation-delay: 1.74s; }
  .preview.in .feed-row:nth-child(4) { animation-delay: 1.86s; }
  @keyframes dashFeedIn { to { opacity: 1; transform: translateX(0); } }
}

/* Responsive */
@media (max-width: 980px) {
  .dash-kpis  { grid-template-columns: repeat(2, 1fr); }
  .dash-split { grid-template-columns: 1fr; }
  .feed-row {
    grid-template-columns: 8px 1fr;
    grid-template-areas:
      "dot who"
      ".   meta"
      ".   acts";
    gap: .5rem;
  }
  .feed-row > .feed-dot   { grid-area: dot; }
  .feed-row > .feed-who   { grid-area: who; }
  .feed-row > .feed-score,
  .feed-row > .feed-channel { display: none; }
  .feed-row > .feed-actions {
    grid-area: acts;
    justify-content: flex-start;
    margin-top: .25rem;
  }
}

/* DARK MODE notes: .preview-frame is *intentionally* a dark surface in
   both themes (it's a screen mockup). No flip needed. */

/* =========================================================
   v1 RESPONSIVE & TOUCH POLISH
   Pairs with the parallel block at the end of site.css.
   ========================================================= */
@media (pointer: coarse) {
  .auth-submit,
  .access-ctas .btn,
  .access-ctas .btn-link { min-height: 44px; padding: .9rem 1.4rem; }
  .auth-field input { padding: 1rem; min-height: 44px; }
  .dash-mini-actions button,
  .dash-alert-actions button,
  .dash-feed-actions button,
  .feed-actions button { min-height: 36px; padding: .4rem .75rem; }
}

/* Small-phone overflow guards on v1 product surface */
@media (max-width: 400px) {
  .auth-card { padding: 1.5rem 1.25rem; }
}
