/* =============================================================================
 * 1891 Dinner Table — marketing site
 * Warm, low-light "around the table" theme. Matches the app (app/styles.css).
 * Project tokens prefixed --1891dt-*.
 * ========================================================================== */
:root {
  --1891dt-bg: #1c1410;
  --1891dt-bg-2: #251a14;
  --1891dt-card: #2b201a;
  --1891dt-line: #43342a;
  --1891dt-ink: #f7efe7;
  --1891dt-ink-2: #c8b6a6;
  --1891dt-ink-3: #998472;
  --1891dt-bloom: #e07a5f;   /* terracotta */
  --1891dt-river: #2e5e5c;   /* teal-green */
  --1891dt-amber: #e9b44c;
  --1891dt-ok: #5aa469;
  --1891dt-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --1891dt-serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --1891dt-max: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--1891dt-sans);
  color: var(--1891dt-ink);
  background:
    radial-gradient(1200px 700px at 50% -15%, #2c1f17 0%, var(--1891dt-bg) 62%) fixed;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--1891dt-serif); line-height: 1.15; font-weight: 600; }
a { color: var(--1891dt-amber); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { max-width: var(--1891dt-max); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--1891dt-ink-2); }
.center { text-align: center; }

/* Buttons */
.btn {
  display: inline-block; padding: 13px 22px; border-radius: 12px;
  font-size: 1rem; font-weight: 600; border: 1px solid transparent; cursor: pointer;
  transition: transform .08s ease, border-color .15s ease, background .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--1891dt-bloom); color: #1c1008; border-color: var(--1891dt-bloom); }
.btn-outline { background: transparent; color: var(--1891dt-ink); border-color: var(--1891dt-line); }
.btn-outline:hover { border-color: var(--1891dt-bloom); }
.btn-lg { padding: 16px 28px; font-size: 1.06rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20;
  background: rgba(28,20,16,.78); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--1891dt-line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--1891dt-ink); font-weight: 600; }
.brand:hover { text-decoration: none; }
.brand__mark { width: 30px; height: 30px; }
.brand__name { font-family: var(--1891dt-serif); font-size: 1.15rem; }
.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav a:not(.btn) { color: var(--1891dt-ink-2); font-size: .96rem; }
.site-nav a:not(.btn):hover { color: var(--1891dt-ink); text-decoration: none; }
.nav-toggle { display: none; background: none; border: 1px solid var(--1891dt-line);
  color: var(--1891dt-ink); border-radius: 9px; padding: 7px 12px; font-size: .95rem; cursor: pointer; }

/* Hero */
.hero { padding: 84px 0 56px; text-align: center; }
.kicker { text-transform: uppercase; letter-spacing: .16em; font-size: .76rem;
  color: var(--1891dt-amber); font-weight: 600; margin: 0 0 14px; }
.hero h1 { font-size: clamp(2.1rem, 5.2vw, 3.4rem); margin: 0 auto 18px; max-width: 16ch; }
.hero__sub { font-size: clamp(1.05rem, 2.3vw, 1.3rem); color: var(--1891dt-ink-2);
  max-width: 42ch; margin: 0 auto 30px; }
.hero__ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero__note { margin-top: 20px; font-size: .9rem; color: var(--1891dt-ink-3); }

/* caption mock */
.mock { margin: 48px auto 0; max-width: 560px; text-align: left;
  background: var(--1891dt-card); border: 1px solid var(--1891dt-line);
  border-radius: 18px; padding: 18px 20px; box-shadow: 0 24px 60px rgba(0,0,0,.35); }
.mock__bar { display: flex; align-items: center; gap: 8px; margin-bottom: 14px;
  color: var(--1891dt-ink-3); font-size: .82rem; }
.mock__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--1891dt-ok);
  box-shadow: 0 0 0 0 rgba(90,164,105,.6); animation: pulse 2.4s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(90,164,105,.5)} 70%{box-shadow:0 0 0 8px rgba(90,164,105,0)} 100%{box-shadow:0 0 0 0 rgba(90,164,105,0)} }
.mock__line { margin: 0 0 11px; font-size: 1.06rem; }
.mock__who { font-weight: 700; }

/* Sections */
section { padding: 60px 0; }
.section-head { text-align: center; max-width: 40ch; margin: 0 auto 40px; }
.section-head h2 { font-size: clamp(1.6rem, 3.6vw, 2.3rem); margin: 0 0 12px; }
.section-head p { color: var(--1891dt-ink-2); margin: 0; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step { background: var(--1891dt-bg-2); border: 1px solid var(--1891dt-line);
  border-radius: 16px; padding: 26px 22px; }
.step__n { display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%; background: var(--1891dt-river);
  color: var(--1891dt-ink); font-weight: 700; margin-bottom: 14px; }
.step h3 { margin: 0 0 8px; font-size: 1.2rem; }
.step p { margin: 0; color: var(--1891dt-ink-2); }

.who { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.who__card { background: var(--1891dt-card); border: 1px solid var(--1891dt-line);
  border-radius: 14px; padding: 20px; }
.who__card h3 { margin: 0 0 6px; font-size: 1.08rem; color: var(--1891dt-amber); }
.who__card p { margin: 0; color: var(--1891dt-ink-2); font-size: .96rem; }

/* Values band */
.band { background: var(--1891dt-bg-2); border-top: 1px solid var(--1891dt-line);
  border-bottom: 1px solid var(--1891dt-line); }
.band .container { max-width: 46ch; }
.band h2 { font-size: clamp(1.5rem, 3.4vw, 2.1rem); }
.band p { color: var(--1891dt-ink-2); font-size: 1.08rem; }

/* Pricing */
.toggle { display: inline-flex; gap: 4px; background: var(--1891dt-bg-2);
  border: 1px solid var(--1891dt-line); border-radius: 999px; padding: 4px; margin: 0 auto 32px; }
.toggle button { border: none; background: none; color: var(--1891dt-ink-2);
  padding: 8px 18px; border-radius: 999px; cursor: pointer; font-size: .95rem; font-weight: 600; }
.toggle button.on { background: var(--1891dt-bloom); color: #1c1008; }
.toggle .save { color: var(--1891dt-ok); font-size: .8rem; margin-left: 4px; }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 1040px; margin: 0 auto; }
.plan { position: relative; background: var(--1891dt-card); border: 1px solid var(--1891dt-line);
  border-radius: 18px; padding: 30px 26px; display: flex; flex-direction: column; }
.plan--paid { border-color: var(--1891dt-bloom); box-shadow: 0 0 0 1px var(--1891dt-bloom) inset; }
.plan--enterprise { border-color: #3d7d79; }
.plan__badge { position: absolute; top: -11px; right: 20px; font-size: .66rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; padding: 4px 11px; border-radius: 999px;
  background: var(--1891dt-river); color: #eafffb; }
.plan__name { font-family: var(--1891dt-serif); font-size: 1.4rem; margin: 0 0 4px; }
.plan--enterprise .plan__name { color: #6fb3b0; }
.plan__tag { color: var(--1891dt-ink-3); font-size: .9rem; margin: 0 0 18px; }
.plan__price { font-size: 2.4rem; font-weight: 700; font-family: var(--1891dt-serif); }
.plan__price small { font-size: 1rem; color: var(--1891dt-ink-2); font-weight: 400; }
.plan__from { font-size: 1rem; font-weight: 400; font-family: var(--1891dt-sans); color: var(--1891dt-ink-3); }
.plan__per { color: var(--1891dt-ink-3); font-size: .85rem; min-height: 1.2em; margin: 2px 0 20px; }
.btn-enterprise { border-color: #3d7d79; }
.btn-enterprise:hover { border-color: #6fb3b0; }
html.anim .btn-enterprise:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(46,94,92,.36); }
.plan ul { list-style: none; padding: 0; margin: 0 0 24px; flex: 1; }
.plan li { padding: 7px 0 7px 28px; position: relative; color: var(--1891dt-ink-2); }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--1891dt-ok); font-weight: 700; }
.plan .btn { width: 100%; text-align: center; }

/* FAQ */
.faq { max-width: 44rem; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--1891dt-line); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 1.05rem; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--1891dt-amber); }
.faq details[open] summary::after { content: "–"; }
.faq p { color: var(--1891dt-ink-2); margin: 12px 0 0; }

/* CTA */
.cta { text-align: center; }
.cta h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); margin: 0 0 22px; }

/* Footer */
.site-footer { border-top: 1px solid var(--1891dt-line); padding: 40px 0; margin-top: 30px; }
.site-footer__inner { display: flex; flex-wrap: wrap; gap: 18px; justify-content: space-between; align-items: center; }
.site-footer a { color: var(--1891dt-ink-2); margin-right: 18px; font-size: .92rem; }
.site-footer a:hover { color: var(--1891dt-ink); }
.site-footer__line { color: var(--1891dt-ink-3); font-size: .85rem; width: 100%; }

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0; padding: 8px 20px 16px;
    background: var(--1891dt-bg); border-bottom: 1px solid var(--1891dt-line); }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: 12px 0; width: 100%; }
  .site-nav .btn { margin-top: 8px; }
  .steps, .who, .plans { grid-template-columns: 1fr; }
}

/* three plans get cramped on mid-width screens — stack them sooner */
@media (max-width: 900px) {
  .plans { grid-template-columns: 1fr; max-width: 460px; }
}

/* =============================================================================
 * Motion & hover — make it live and breathe.
 * Ambient/entrance motion is gated behind html.anim, which the page only adds
 * when the visitor has NOT asked for reduced motion. So reduced-motion users
 * get a calm, fully-visible, static page; everyone else gets the life.
 * (Color/border hover feedback below is global — it carries no motion.)
 * ========================================================================== */

/* ---- global, motion-free hover feedback (safe for everyone) ---- */
.site-nav a:not(.btn) { position: relative; }
.site-nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -4px; height: 2px;
  background: var(--1891dt-bloom); transition: right .25s ease;
}
.site-nav a:not(.btn):hover::after { right: 0; }
.site-footer a { transition: color .2s ease; }
.faq summary { transition: color .2s ease; }
.faq summary:hover { color: var(--1891dt-amber); }
.toggle button { transition: background .2s ease, color .2s ease; }
.site-header { transition: box-shadow .3s ease, background .3s ease; }
.site-header.scrolled { box-shadow: 0 8px 30px rgba(0,0,0,.38); }

/* ---- everything below requires html.anim ---- */
html.anim .btn { transition: transform .14s ease, box-shadow .22s ease, border-color .15s ease, background .15s ease, color .15s ease; }
html.anim .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(224,122,95,.38); }
html.anim .btn-outline:hover { transform: translateY(-2px); }
html.anim .btn:active { transform: translateY(0); }

html.anim .step, html.anim .who__card, html.anim .plan {
  transition: transform .22s cubic-bezier(.2,.7,.2,1), box-shadow .25s ease, border-color .2s ease,
              opacity .6s ease;
}
html.anim .step:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(0,0,0,.32); border-color: var(--1891dt-river); }
html.anim .who__card:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(0,0,0,.32); border-color: var(--1891dt-bloom); }
html.anim .plan:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(0,0,0,.40); }
html.anim .step__n { transition: transform .25s ease; }
html.anim .step:hover .step__n { transform: scale(1.14) rotate(-5deg); }
html.anim .brand__mark { transition: transform .4s cubic-bezier(.2,.8,.2,1); }
html.anim .brand:hover .brand__mark { transform: rotate(-8deg) scale(1.08); }

/* paid plan: a slow ambient glow that pauses on hover (hover does the lift) */
html.anim .plan--paid { animation: dt-breathe 6s ease-in-out infinite; }
html.anim .plan--paid:hover { animation: none; }
@keyframes dt-breathe {
  0%, 100% { box-shadow: inset 0 0 0 1px var(--1891dt-bloom), 0 0 0 0 rgba(224,122,95,0); }
  50%      { box-shadow: inset 0 0 0 1px var(--1891dt-bloom), 0 0 36px -6px rgba(224,122,95,.45); }
}

/* the hero caption card gently floats; its live dot already pulses */
html.anim .mock { animation: dt-float 7s ease-in-out infinite; }
@keyframes dt-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

/* hero entrance on load */
html.anim .hero .kicker, html.anim .hero h1, html.anim .hero__sub,
html.anim .hero__ctas, html.anim .hero__note {
  opacity: 0; animation: dt-rise .7s cubic-bezier(.2,.7,.2,1) forwards;
}
html.anim .hero h1 { animation-delay: .05s; }
html.anim .hero__sub { animation-delay: .13s; }
html.anim .hero__ctas { animation-delay: .22s; }
html.anim .hero__note { animation-delay: .3s; }
html.anim .mock { animation: dt-float 7s ease-in-out infinite, dt-rise .7s cubic-bezier(.2,.7,.2,1) .34s both; }
@keyframes dt-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* scroll-reveal: hidden first (so no flash), shown when scrolled into view.
   No !important — so the :hover transform above (higher specificity) still wins. */
html.anim .section-head,
html.anim .step,
html.anim .who__card,
html.anim .plan,
html.anim .band .container,
html.anim .faq details,
html.anim .cta .container {
  opacity: 0; transform: translateY(22px);
  transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1);
}
/* Reveal-visible. The descendant variants match the specificity of their hidden
   rules above (.band .container etc.) so is-in actually wins; the plain .is-in
   stays low-specificity so :hover transforms still beat it on cards. */
html.anim .is-in,
html.anim .band .container.is-in,
html.anim .faq details.is-in,
html.anim .cta .container.is-in { opacity: 1; transform: none; }

/* live caption ticker (JS appends rows) */
.mock__lines { min-height: 7.4em; }
html.anim .mock__line.enter { animation: dt-mockin .5s cubic-bezier(.2,.7,.2,1); }
html.anim .mock__line.leave { animation: dt-mockout .4s ease forwards; }
@keyframes dt-mockin { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes dt-mockout { to { opacity: 0; transform: translateY(-6px); } }

/* safety: if the visitor flips reduced-motion on after load, calm everything */
@media (prefers-reduced-motion: reduce) {
  html.anim .mock, html.anim .plan--paid, html.anim .mock__dot { animation: none !important; }
  html.anim .section-head, html.anim .step, html.anim .who__card, html.anim .plan,
  html.anim .band .container, html.anim .faq details, html.anim .cta .container,
  html.anim .hero .kicker, html.anim .hero h1, html.anim .hero__sub,
  html.anim .hero__ctas, html.anim .hero__note {
    opacity: 1 !important; transform: none !important; animation: none !important;
  }
}

/* =============================================================================
 * Name chips, device frames & the side-conversation demo.
 * The product, shown not said. Live motion is gated behind html.anim; the
 * static fallback (no-anim / reduced-motion) shows a complete, readable frame.
 * ========================================================================== */

/* ---- the brand mark breathes: one seat gently pulses, like a voice ---- */
.brand__mark { width: 32px; height: 32px; }
html.anim .brand__mark .seat--live {
  transform-box: fill-box; transform-origin: center;
  animation: dt-seat 2.8s ease-in-out infinite;
}
@keyframes dt-seat { 0%, 100% { opacity: .8; transform: scale(1); } 50% { opacity: 1; transform: scale(1.22); } }

/* ---- name chip (shared: hero roster + demo) ---- */
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--1891dt-card); border: 1px solid var(--1891dt-line);
  padding: 6px 12px; border-radius: 999px; font-size: .9rem; font-weight: 600;
  color: var(--1891dt-ink); line-height: 1.2;
}
button.chip { font-family: inherit; cursor: pointer; }
.cdot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.chip.speaking { border-color: var(--1891dt-bloom); box-shadow: 0 0 0 2px rgba(224,122,95,.18); }
html.anim button.chip { transition: border-color .15s ease, transform .12s ease, box-shadow .2s ease; }
html.anim button.chip:hover { border-color: var(--1891dt-bloom); transform: translateY(-1px); }
html.anim .chip.speaking .cdot { animation: dt-dotpulse 1.1s ease-in-out infinite; }
@keyframes dt-dotpulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.5); } }

/* ---- hero caption card: roster row above the live feed ---- */
.mock__roster { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.mock__who { margin-right: 4px; }

/* ---- showcase layout: a working demo beside a line of copy ---- */
.showcase {
  display: grid; grid-template-columns: 1.02fr .98fr; gap: 38px; align-items: center;
  max-width: 960px; margin: 0 auto; padding: 14px 0;
}
.showcase + .showcase { margin-top: 18px; }
.showcase__demo { min-width: 0; }
.showcase--reverse .showcase__demo { order: 2; }
.showcase__copy h3 { font-size: 1.5rem; margin: 0 0 10px; }
.showcase__copy p { color: var(--1891dt-ink-2); margin: 0; }
.showcase--mini { grid-template-columns: 1fr; max-width: 600px; }
.showcase__copy--center { text-align: center; }
.spark { color: var(--1891dt-amber); }
.tag {
  display: inline-block; margin-top: 16px; font-size: .72rem; font-weight: 700;
  letter-spacing: .05em; text-transform: uppercase; color: var(--1891dt-bloom);
  border: 1px solid rgba(224,122,95,.5); border-radius: 999px; padding: 4px 12px;
}

/* ---- the device frame ---- */
.frame {
  background: var(--1891dt-bg-2); border: 1px solid var(--1891dt-line);
  border-radius: 16px; overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,.34);
}
.frame__bar {
  display: flex; align-items: center; gap: 8px; padding: 10px 14px; font-size: .78rem;
  color: var(--1891dt-ink-3); background: var(--1891dt-card);
  border-bottom: 1px solid var(--1891dt-line);
}
.frame__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--1891dt-ok); flex: none;
  box-shadow: 0 0 0 0 rgba(90,164,105,.5); }
html.anim .frame__dot { animation: pulse 2.4s infinite; }
.frame__roster { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 14px 4px; }
.frame__lines { padding: 12px 16px 18px; min-height: 5em; }
.fline { margin: 0 0 11px; line-height: 1.36; font-size: 1.02rem; color: var(--1891dt-ink); }
.fline:last-child { margin-bottom: 0; }
.spk { font-weight: 700; margin-right: 6px; }
.spk::after { content: ":"; color: inherit; }
html.anim .showcase__demo .frame { transition: transform .28s cubic-bezier(.2,.7,.2,1), box-shadow .28s ease; }
html.anim .showcase__demo:hover .frame { transform: translateY(-5px); box-shadow: 0 28px 60px rgba(0,0,0,.44); }
html.anim .fline.enter { animation: dt-mockin .5s cubic-bezier(.2,.7,.2,1); }

/* ---- side-conversation split demo ---- */
.frame--tall .frame__lines { min-height: 0; }
.splitbar {
  display: flex; align-items: center; gap: 9px; margin: 12px 14px; padding: 8px 12px;
  background: rgba(46,94,92,.18); border: 1px solid rgba(46,94,92,.5); border-radius: 11px;
  color: var(--1891dt-ink); font-size: .82rem;
}
.splitbar__ico { flex: none; }
.frame__joined { padding: 14px 16px 18px; }
.frame__panes { display: flex; gap: 10px; padding: 0 12px 14px; }
.pane {
  flex: 1 1 0; min-width: 0; border: 1px solid var(--1891dt-line); border-radius: 12px;
  background: var(--1891dt-bg); overflow: hidden;
}
.pane__head {
  display: flex; flex-wrap: wrap; align-items: center; gap: 5px; padding: 8px 12px;
  font-size: .74rem; font-weight: 700; color: var(--1891dt-ink-2);
  background: var(--1891dt-card); border-bottom: 1px solid var(--1891dt-line);
}
.pane__head .cdot { width: 8px; height: 8px; }
.pane__amp { color: var(--1891dt-ink-3); font-weight: 400; }
.pane__lines { padding: 11px 13px; }
.pane__lines .fline { font-size: .92rem; margin-bottom: 9px; }

/* split <-> joined toggle. Default state (no JS) = split, so the feature shows. */
.frame__panes { display: none; }
.frame__joined { display: block; }
.splitbar { display: none; }
.frame--tall.is-split .frame__joined { display: none; }
.frame--tall.is-split .frame__panes { display: flex; }
.frame--tall.is-split .splitbar { display: flex; }
html.anim .frame--tall.is-split .splitbar { animation: dt-splitbar .45s ease both; }
html.anim .frame--tall.is-split .pane { animation: dt-paneopen .5s cubic-bezier(.2,.7,.2,1) both; }
html.anim .frame--tall.is-split .pane:nth-child(2) { animation-delay: .07s; }
html.anim .frame--tall:not(.is-split) .frame__joined { animation: dt-rise .5s ease both; }
@keyframes dt-splitbar { from { opacity: 0; transform: translateY(-7px); } to { opacity: 1; transform: none; } }
@keyframes dt-paneopen { from { opacity: 0; transform: translateY(12px) scale(.97); } to { opacity: 1; transform: none; } }

/* ---- names & places: vocab chips (echoes the app's vocabulary chips) ---- */
.vocabstrip { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 18px; }
.vchip {
  display: inline-flex; align-items: center; gap: 6px; background: var(--1891dt-card);
  border: 1px solid var(--1891dt-line); border-radius: 9px; padding: 6px 11px;
  font-size: .86rem; color: var(--1891dt-ink-2);
}
.vchip .cdot { width: 8px; height: 8px; }
.vchip.is-name { border-color: var(--1891dt-river); color: var(--1891dt-ink); }
html.anim .vchip { transition: transform .14s ease, border-color .15s ease; }
html.anim .vchip:hover { transform: translateY(-2px); border-color: var(--1891dt-amber); }
html.anim .spark { display: inline-block; animation: dt-twinkle 3s ease-in-out infinite; }
@keyframes dt-twinkle { 0%, 100% { opacity: .55; transform: scale(.9); } 50% { opacity: 1; transform: scale(1.12); } }

/* ---- Room Read demo: the table's mood chip + a per-person tone flag ---- */
.moodrow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 12px 14px 2px; }
.moodroom {
  display: inline-flex; align-items: center; gap: 7px; padding: 4px 11px; border-radius: 999px;
  border: 1px solid var(--1891dt-line); background: var(--1891dt-card); font-weight: 600; font-size: .86rem;
}
.moodroom__tag { font-size: .62rem; text-transform: uppercase; letter-spacing: .12em;
  color: var(--1891dt-ink-3); font-weight: 700; }
.moodroom[data-state="warm"]  { border-color: rgba(90,164,105,.5); background: rgba(90,164,105,.12); }
.moodroom[data-state="tense"] { border-color: rgba(224,80,58,.5);  background: rgba(224,80,58,.12); }
.mlabel { color: var(--1891dt-ink); }
.moodnote { color: var(--1891dt-ink-3); font-size: .8rem; }
/* a small flag on the chip of whoever's tone is off from the room */
.cbadge { margin-left: 6px; font-size: .66rem; font-weight: 700; padding: 1px 7px; border-radius: 999px;
  color: var(--1891dt-amber); border: 1px solid rgba(233,180,76,.5); background: rgba(233,180,76,.12); }
/* the sarcasm/mismatch tell, right on the line */
.markwarn { color: var(--1891dt-amber); margin: 0 5px; cursor: help; }
html.anim .moodroom.pulse { animation: dt-moodpulse 1.2s ease-out; }
@keyframes dt-moodpulse { 0% { box-shadow: 0 0 0 0 rgba(233,180,76,.5); }
  70% { box-shadow: 0 0 0 9px rgba(233,180,76,0); } 100% { box-shadow: 0 0 0 0 rgba(233,180,76,0); } }

/* scroll-reveal for the new showcases (matches the section pattern above) */
html.anim .showcase {
  opacity: 0; transform: translateY(22px);
  transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1);
}
html.anim .showcase.is-in { opacity: 1; transform: none; }

@media (max-width: 760px) {
  .showcase, .showcase--reverse { grid-template-columns: 1fr; gap: 22px; }
  .showcase--reverse .showcase__demo { order: 0; }
  .showcase__copy { text-align: center; }
  .showcase__demo { width: 100%; max-width: 440px; margin: 0 auto; }
}

/* reduced-motion: freeze the new life, keep the frames fully shown */
@media (prefers-reduced-motion: reduce) {
  html.anim .brand__mark .seat--live, html.anim .chip.speaking .cdot, html.anim .frame__dot,
  html.anim .spark, html.anim .frame--tall.is-split .splitbar,
  html.anim .frame--tall.is-split .pane, html.anim .fline.enter,
  html.anim .moodroom.pulse { animation: none !important; }
  html.anim .showcase { opacity: 1 !important; transform: none !important; }
}
