/* ============================================================
   Lindy landing - v4 animated components (Jira-faithful)
   1. Hero form + "Or continue with" Google (match Jira)
   2. Guided walkthrough demo (cursor → space → board → AI task → open → toast)
   3. Capability tiles (connect / schedule / notify / plan)
   4. Animated scenario tab panels
   5. Meeting network graph (people → tasks → back to you, animated)
   All motion transform/opacity, reduced-motion aware.
   ============================================================ */

/* =========================================================
   1 · HERO FORM - Google SSO row
   ========================================================= */
.jhero-help { font-size: 12.5px; color: var(--al-text-3); margin: 8px 0 0; line-height: 1.45; }
.jhero-or { display: flex; align-items: center; gap: 14px; margin: 18px 0 14px; color: var(--al-text-3);
  font-size: 13px; font-weight: 600; font-family: var(--font-display); }
.jhero-or::before, .jhero-or::after { content: ""; height: 1px; background: var(--al-line); flex: 1; }
.jhero-google { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 52px;
  border: 1.5px solid var(--al-line-2); border-radius: var(--radius-pill); background: #fff; color: var(--j-ink);
  font-family: var(--font-display); font-weight: 600; font-size: 15px; cursor: pointer; text-decoration: none;
  transition: background .15s, border-color .15s, transform .18s cubic-bezier(.34,1.35,.5,1); }
.jhero-google:hover { background: var(--al-paper); border-color: var(--al-text-3); }
.jhero-google:active { transform: scale(.98); }
.jhero-google svg { width: 18px; height: 18px; flex: none; }

/* =========================================================
   2 · GUIDED WALKTHROUGH DEMO
   ========================================================= */
.demo { position: relative; background: #fff; border: var(--card-border); border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-lg); overflow: hidden; max-width: 1060px; margin: 0 auto; }
.demo-bar { height: 42px; display: flex; align-items: center; gap: 7px; padding: 0 16px; border-bottom: 1px solid var(--al-line); background: var(--al-paper); }
.demo-bar .d { width: 11px; height: 11px; border-radius: 50%; }
.demo-url { margin-left: 12px; font-size: 12px; color: var(--al-text-3); display: inline-flex; align-items: center; gap: 6px; }
.demo-app { display: grid; grid-template-columns: 208px 1fr; height: 452px; position: relative; }

.demo-rail { border-right: 1px solid var(--al-line); padding: 16px 12px; display: flex; flex-direction: column; gap: 3px; background: #fff; }
.demo-rail-logo { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 700; font-size: 17px; color: var(--j-ink); padding: 4px 8px 12px; }
.demo-rail-logo img { height: 20px; }
.demo-nav { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 9px; font-size: 13.5px; font-weight: 600; color: var(--al-text-2); }
.demo-nav i { font-size: 17px; }
.demo-nav.on { background: var(--al-blue-50); color: var(--al-blue); }
.demo-rail-lbl { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--al-text-3); padding: 14px 10px 6px; }
.demo-space { display: flex; align-items: center; gap: 9px; padding: 9px 10px; border-radius: 9px; font-size: 13.5px; font-weight: 600; color: var(--j-ink); transition: background .25s, box-shadow .25s; }
.demo-space .sq { width: 18px; height: 18px; border-radius: 5px; background: linear-gradient(135deg,#6b3fe0,#335cff); flex: none; display: inline-flex; align-items: center; justify-content: center; line-height: 1; }
.demo-space.hot { background: var(--al-blue-50); box-shadow: 0 0 0 2px var(--al-blue) inset; }

.demo-main { position: relative; overflow: hidden; background: var(--al-ice); }
.demo-view { position: absolute; inset: 0; padding: 20px; opacity: 0; transform: translateY(10px);
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-out); pointer-events: none; }
.demo-view.on { opacity: 1; transform: none; pointer-events: auto; }
.demo-vtitle { font-family: var(--font-display); font-weight: 800; font-size: 16px; color: var(--j-ink); margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.demo-vtitle .pill { margin-left: auto; font-size: 11px; font-weight: 800; color: var(--al-blue); background: var(--al-blue-50); border-radius: 20px; padding: 4px 10px; }

.demo-ov-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.demo-ov-card { background: #fff; border: var(--card-border); border-radius: 12px; padding: 14px; }
.demo-ov-card { position: relative; overflow: hidden; }
.demo-ov-card .k { font-size: 12px; color: var(--al-text-3); font-weight: 600; }
.demo-ov-card .v { font-family: var(--font-display); font-weight: 800; font-size: 28px; color: var(--j-ink); margin-top: 4px; letter-spacing: -.01em; }
.demo-ov-card .spark { position: absolute; right: 12px; bottom: 10px; display: flex; align-items: flex-end; gap: 3px; height: 26px; }
.demo-ov-card .spark i { width: 4px; border-radius: 2px; background: var(--al-blue-100); }
.demo-ov-list { margin-top: 14px; background: #fff; border: var(--card-border); border-radius: 12px; padding: 4px 6px 6px; box-shadow: var(--shadow-xs); }
.demo-ov-list-h { display: flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 800; font-size: 12px; color: var(--j-ink); padding: 10px 10px 7px; }
.demo-ov-list-h i { color: var(--al-blue); font-size: 15px; }
.demo-ov-list-h .n { margin-left: auto; font-size: 11px; font-weight: 700; color: var(--al-text-3); }
.demo-ov-row { display: flex; align-items: center; gap: 11px; padding: 10px; border-radius: 9px; }
.demo-ov-row + .demo-ov-row { border-top: 1px solid var(--al-line); }
.demo-ov-rt { flex: 1; min-width: 0; display: flex; flex-direction: column; font-family: var(--font-display); font-weight: 700; font-size: 13px; color: var(--j-ink); }
.demo-ov-rt span { font-family: var(--font-body); font-weight: 500; font-size: 11.5px; color: var(--al-text-3); margin-top: 2px; }

.demo-board-cols { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; height: 100%; }
.demo-col { background: rgba(255,255,255,.55); border-radius: 12px; padding: 10px; }
.demo-col-h { display: flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 800; color: var(--j-ink); margin-bottom: 9px; }
.demo-col-h .dot { width: 7px; height: 7px; border-radius: 50%; }
.demo-card { background: #fff; border: var(--card-border); border-radius: 10px; padding: 11px; box-shadow: var(--shadow-xs); margin-bottom: 8px; }
.demo-card .sum { font-size: 12.5px; font-weight: 700; color: var(--j-ink); line-height: 1.35; }
.demo-card .meta { display: flex; align-items: center; gap: 6px; margin-top: 8px; }
.demo-chip { font-size: 10.5px; font-weight: 800; border-radius: 20px; padding: 3px 8px; display: inline-flex; align-items: center; gap: 4px; }
.demo-chip.ai { background: var(--al-blue-50); color: var(--al-blue); }
.demo-chip.hi { background: #FDECEC; color: var(--al-danger); }
.demo-chip.md { background: #FFF4E0; color: var(--al-warning); }
.demo-card .foot { display: flex; align-items: center; gap: 8px; margin-top: 9px; }
.demo-card .foot .sp { flex: 1; }
.demo-check { width: 16px; height: 16px; border-radius: 4px; border: 2px solid var(--al-blue); flex: none; display: flex; align-items: center; justify-content: center; color: var(--al-blue); font-size: 11px; }
.demo-key { font-size: 11px; font-weight: 700; color: var(--al-text-3); }
.demo-av2 { width: 20px; height: 20px; border-radius: 50%; flex: none; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 9px; font-weight: 800; font-family: var(--font-display); }
.demo-col .create { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--al-text-3); padding: 6px 4px; }
.demo-toolbar { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.demo-search { flex: 1; max-width: 220px; height: 30px; border: var(--card-border); border-radius: 8px; background: #fff; display: flex; align-items: center; gap: 7px; padding: 0 10px; font-size: 12px; color: var(--al-text-3); }
.demo-avstack { display: flex; }
.demo-avstack span { width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--al-ice); margin-left: -8px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 9px; font-weight: 800; font-family: var(--font-display); }
.demo-filter { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--al-text-2); border: var(--card-border); border-radius: 8px; padding: 6px 10px; background: #fff; }

.demo-newcard { opacity: 0; transform: translateY(-8px) scale(.96); transition: opacity .5s var(--ease-out), transform .5s var(--ease-out); position: relative; }
.demo-newcard.in { opacity: 1; transform: none; }
.demo-newcard.in::after { content: ""; position: absolute; inset: -2px; border-radius: 12px; box-shadow: 0 0 0 2px var(--al-blue); opacity: 0; animation: demoPulse 1.1s ease-out; }
@keyframes demoPulse { 0% { opacity: .9; } 100% { opacity: 0; } }
.demo-newcard .src { max-height: 0; overflow: hidden; opacity: 0; font-size: 11.5px; color: var(--al-text-2); line-height: 1.4;
  transition: max-height .45s var(--ease-out), opacity .35s, margin-top .45s; border-left: 2px solid var(--al-blue); padding-left: 0; }
.demo-newcard.open .src { max-height: 80px; opacity: 1; margin-top: 8px; padding-left: 9px; }

.demo-cursor { position: absolute; left: 0; top: 0; width: 24px; height: 24px; z-index: 20; pointer-events: none;
  transform: translate(40px, 300px); transition: transform 1s cubic-bezier(.5,0,.2,1); filter: drop-shadow(0 2px 5px rgba(0,0,0,.35)); }
.demo-cursor svg { width: 100%; height: 100%; }
.demo-cursor.click::after { content: ""; position: absolute; left: 2px; top: 2px; width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--al-blue); animation: demoClick .5s ease-out; }
@keyframes demoClick { 0% { transform: scale(.3); opacity: .85; } 100% { transform: scale(1.5); opacity: 0; } }

.demo-toast { position: absolute; left: 50%; bottom: 22px; transform: translate(-50%, 20px); z-index: 22;
  background: var(--j-ink); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 14px;
  padding: 12px 20px; border-radius: var(--radius-pill); box-shadow: var(--shadow-lg); display: inline-flex; align-items: center; gap: 9px;
  opacity: 0; pointer-events: none; transition: opacity .5s, transform .5s var(--ease-out); white-space: nowrap; }
.demo-toast i { color: var(--al-blue-300); font-size: 17px; }
.demo-toast.on { opacity: 1; transform: translate(-50%, 0); }

/* =========================================================
   3 · CAPABILITY TILE MOCKS
   ========================================================= */
.jw-conn { width: 100%; display: flex; flex-direction: column; gap: 8px; }
.jw-conn-row { display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); border-radius: 10px; padding: 8px 11px; }
.jw-conn-row img { width: 20px; height: 20px; }
.jw-conn-row i { font-size: 18px; }
.jw-conn-row .nm { color: #fff; font-size: 12.5px; font-weight: 700; font-family: var(--font-display); flex: 1; }
.jw-conn-row .ok { font-size: 10px; font-weight: 800; color: #35c07f; background: rgba(53,192,127,.16); border-radius: 20px; padding: 3px 8px; }

.jw-sched { align-self: center; width: 100%; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: 16px; }
.jw-sched-h { font-family: var(--font-display); font-weight: 800; font-size: 13px; color: var(--j-ink); display: flex; align-items: center; gap: 8px; }
.jw-sched-h i { color: var(--al-blue); }
.jw-sched-row { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; font-size: 12.5px; color: var(--j-ink-2); }
.jw-sched-time { font-family: var(--font-display); font-weight: 800; color: var(--al-blue); }
.jw-toggle { width: 38px; height: 22px; border-radius: 20px; background: var(--al-blue); position: relative; flex: none; }
.jw-toggle::after { content: ""; position: absolute; top: 2px; right: 2px; width: 18px; height: 18px; border-radius: 50%; background: #fff; }

.jw-notif { align-self: center; width: 100%; display: flex; flex-direction: column; gap: 9px; }
.jw-notif-card { background: #fff; border-radius: 12px; box-shadow: var(--shadow-md); padding: 12px; display: flex; gap: 10px; align-items: flex-start; }
.jw-notif-ic { width: 30px; height: 30px; border-radius: 8px; background: var(--al-blue); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 15px; flex: none; }
.jw-notif-t { font-family: var(--font-display); font-weight: 800; font-size: 12.5px; color: var(--j-ink); }
.jw-notif-d { font-size: 11.5px; color: var(--al-text-2); margin-top: 2px; line-height: 1.4; }

.jw-plan { width: 100%; align-self: center; background: #fff; border-radius: var(--radius-lg); box-shadow: 0 10px 24px rgba(10,20,60,.18); padding: 14px; }
.jw-plan-h { display: flex; align-items: center; justify-content: space-between; font-family: var(--font-display); font-weight: 800; font-size: 12.5px; color: var(--j-ink); margin-bottom: 10px; }
.jw-plan-week { display: grid; grid-template-columns: repeat(5,1fr); gap: 6px; }
.jw-plan-day .dn { font-size: 10px; font-weight: 700; color: var(--al-text-3); text-align: center; }
.jw-plan-day .bar { height: 42px; border-radius: 6px; margin-top: 5px; background: var(--al-blue-50); display: flex; flex-direction: column; gap: 3px; padding: 4px; }
.jw-plan-day .bar .t { height: 6px; border-radius: 3px; background: var(--al-blue-200); }
.jw-plan-day.busy .bar { background: var(--al-blue); }
.jw-plan-day.busy .bar .t { background: rgba(255,255,255,.7); }

/* =========================================================
   4 · ANIMATED SCENARIO PANELS (layer onto .jt-panel)
   ========================================================= */
.jt-panel .a-item { opacity: 0; transform: translateY(10px); }
.jt-panel.on .a-item { animation: aItemIn .5s var(--ease-out) both; }
@keyframes aItemIn { to { opacity: 1; transform: none; } }
.jt-transcript { background: #fff; border: var(--card-border); border-radius: var(--radius-lg); padding: 14px; box-shadow: var(--shadow-sm); }
.jt-tline { display: flex; align-items: flex-start; gap: 9px; padding: 6px 0; font-size: 12.5px; color: var(--j-ink-2); line-height: 1.45; }
.jt-tline .av { width: 22px; height: 22px; border-radius: 50%; flex: none; color: #fff; font-size: 10px; font-weight: 800; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); }
.jt-tline mark { background: rgba(51,92,255,.14); color: var(--al-blue); border-radius: 3px; padding: 0 3px; font-weight: 700; }
.jt-insights { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.jt-ins { background: #fff; border: var(--card-border); border-radius: var(--radius-lg); padding: 15px; box-shadow: var(--shadow-sm); }
.jt-ins .n { font-family: var(--font-display); font-weight: 800; font-size: 30px; color: var(--j-ink); line-height: 1; }
.jt-ins .l { font-size: 12px; color: var(--al-text-2); margin-top: 5px; }
.jt-ins .track { height: 6px; border-radius: 4px; background: var(--al-line); margin-top: 11px; overflow: hidden; }
.jt-ins .fill { height: 100%; border-radius: 4px; background: var(--al-blue); width: 0; transition: width 1s var(--ease-out) .3s; }
.jt-panel.on .jt-ins .fill { width: var(--w, 70%); }

/* =========================================================
   5 · MEETING NETWORK GRAPH
   ========================================================= */
.jgraph { background: var(--j-cta); border-radius: var(--radius-3xl); overflow: hidden; position: relative; padding: clamp(32px,4.5vw,64px); }
.jgraph-inner { position: relative; z-index: 1; display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(24px,4vw,48px); align-items: center; }
.jgraph .j-eyebrow { color: var(--al-blue-300); }
.jgraph h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(30px,3.6vw,42px); line-height: 1.1; letter-spacing: -.012em; color: #fff; margin: 0; }
.jgraph h2 .al-hl { color: var(--al-blue-300); }
.jgraph p { font-size: 17px; line-height: 1.55; color: rgba(255,255,255,.72); margin: 18px 0 0; max-width: 380px; }
.jgraph-cta { margin-top: 26px; }

.jgraph-stage { position: relative; height: clamp(360px, 40vw, 500px); }
.jgraph-edges { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.jgraph-edges .edge { fill: none; stroke: rgba(255,255,255,.16); stroke-width: 1.5; }
.jgraph-edges .flow { fill: none; stroke: var(--al-blue); stroke-width: 2; stroke-dasharray: 4 9; stroke-linecap: round;
  animation: edgeFlow 1s linear infinite; }
@keyframes edgeFlow { to { stroke-dashoffset: -26; } }
.reveal .jgraph-edges .edge { stroke-dasharray: 1; stroke-dashoffset: 1; }
.reveal.in .jgraph-edges .edge { animation: edgeDraw 1.1s var(--ease-out) forwards; }
@keyframes edgeDraw { to { stroke-dashoffset: 0; } }

.jnode { position: absolute; transform: translate(-50%,-50%); z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 7px; }
.jnode .av { border-radius: 50%; background-size: cover; background-position: center; border: 2px solid rgba(255,255,255,.25);
  display: flex; align-items: center; justify-content: center; color: #fff; font-family: var(--font-display); font-weight: 800; }
.jnode-person .av { width: 46px; height: 46px; font-size: 15px; }
.jnode-task { font-family: var(--font-display); font-weight: 700; font-size: 11px; color: #fff; background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.16); border-radius: 20px; padding: 4px 10px; white-space: nowrap; backdrop-filter: blur(4px); }
.jnode-person .av { animation: nodeBob 4s ease-in-out infinite; }

.jnode-center { z-index: 3; }
.jnode-center .ring { position: absolute; left: 50%; top: 42%; width: 108px; height: 108px; transform: translate(-50%,-50%); border-radius: 50%; border: 2px solid var(--al-blue); opacity: 0; animation: centerPulse 2.6s ease-out infinite; }
.jnode-center .av { width: 92px; height: 92px; font-size: 26px; border: 3px solid var(--al-blue); box-shadow: 0 0 0 6px rgba(51,92,255,.18); }
.jnode-center .lock { margin-top: -14px; display: inline-flex; align-items: center; gap: 6px; background: #fff; color: var(--j-ink);
  font-family: var(--font-display); font-weight: 800; font-size: 12px; border-radius: 20px; padding: 4px 11px 4px 8px; box-shadow: var(--shadow-md); }
.jnode-center .lock img { height: 15px; }
@keyframes centerPulse { 0% { transform: translate(-50%,-50%) scale(.9); opacity: .5; } 100% { transform: translate(-50%,-50%) scale(1.7); opacity: 0; } }
@keyframes nodeBob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 860px) {
  .jgraph-inner { grid-template-columns: 1fr; }
  .jgraph-stage { height: 380px; }
}
@media (max-width: 700px) {
  .demo-app { grid-template-columns: 1fr; }
  .demo-rail { flex-direction: row; overflow-x: auto; border-right: none; border-bottom: 1px solid var(--al-line); padding: 10px; }
  .demo-rail-logo, .demo-rail-lbl { display: none; }
  .demo-app { height: 400px; }
  .jhero-google { font-size: 14px; }
}

/* ============================================================
   PREMIUM CRAFT LAYER - depth, material, atmosphere, motion.
   Shared tokens lift every card/frame/section at once.
   ============================================================ */

/* refined layered shadows (override DS tokens, landing only) */
:root {
  --shadow-xs: 0 1px 2px rgba(16,18,20,.05);
  --shadow-sm: 0 1px 2px rgba(16,18,20,.05), 0 2px 6px rgba(16,18,20,.05);
  --shadow-md: 0 2px 4px rgba(16,18,20,.04), 0 8px 20px rgba(16,18,20,.08);
  --shadow-lg: 0 6px 14px rgba(16,18,20,.06), 0 22px 50px rgba(16,18,20,.13);
  --spring: cubic-bezier(.34,1.42,.5,1);
}

/* subtle page grain for atmosphere */
body.lp::after {
  content: ""; position: fixed; inset: 0; z-index: 9998; pointer-events: none; opacity: .035; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* hero: atmospheric mesh instead of a flat gradient */
.jhero { background: #fff; }
.jhero::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(58% 52% at 6% -10%, rgba(51,92,255,.16), transparent 60%),
    radial-gradient(42% 46% at 102% -4%, rgba(107,63,224,.11), transparent 62%),
    linear-gradient(180deg, #eef2ff 0%, #ffffff 68%);
}

/* colored product frames: depth gradients + inner highlight */
.jwher-frame { position: relative; box-shadow: var(--shadow-md); }
.jwher-frame.f-dark { background: radial-gradient(130% 130% at 15% -10%, #2a2f3e 0%, #14161f 62%); }
.jwher-frame.f-lav  { background: linear-gradient(155deg, #dde5fc 0%, #c2cef4 100%); }
.jwher-frame.f-gray { background: linear-gradient(155deg, #f2f4f9 0%, #e4e8f1 100%); }
.jwher-frame.f-blue { background: radial-gradient(130% 130% at 15% -10%, #5379ff 0%, #2846e2 64%); }
.jwher-frame::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 3;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.16), inset 0 0 0 1px rgba(255,255,255,.05);
}

/* richer tab stage material */
.jt-stage { background: linear-gradient(155deg, #e4ebff 0%, #eef1ff 46%, #f2ecff 100%); box-shadow: var(--shadow-lg); }

/* demo: real product depth + spring entrance + drafting state */
.demo { box-shadow: 0 2px 6px rgba(16,18,20,.06), 0 34px 64px -22px rgba(16,18,20,.30); }
.demo-main { background: radial-gradient(120% 80% at 100% -10%, #eef2ff, #f6f8ff 58%); }
.demo-card { box-shadow: 0 1px 2px rgba(16,18,20,.05), 0 3px 9px rgba(16,18,20,.05); }
.demo-av2 { box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 1px 2px rgba(16,18,20,.22); }
.demo-newcard.in { animation: demoSpringIn .6s var(--spring); }
@keyframes demoSpringIn { 0% { opacity: 0; transform: translateY(-10px) scale(.94); } 55% { transform: translateY(0) scale(1.02); } 100% { opacity: 1; transform: none; } }
.demo-typing { display: none; align-items: center; gap: 8px; background: #fff; border: var(--card-border); border-radius: 10px; padding: 11px 12px; box-shadow: var(--shadow-xs); margin-bottom: 8px; }
.demo-typing.show { display: flex; }
.demo-typing .lbl { font-size: 11.5px; font-weight: 800; color: var(--al-blue); font-family: var(--font-display); }
.demo-typing .dots { display: inline-flex; gap: 3px; margin-left: auto; }
.demo-typing .dots i { width: 5px; height: 5px; border-radius: 50%; background: var(--al-blue); opacity: .3; animation: typingDot 1s infinite; }
.demo-typing .dots i:nth-child(2) { animation-delay: .15s; }
.demo-typing .dots i:nth-child(3) { animation-delay: .3s; }
@keyframes typingDot { 0%,100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }

/* graph: atmospheric glow + node depth */
.jgraph { box-shadow: var(--shadow-lg); }
.jgraph::before { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0; background: radial-gradient(52% 62% at 76% 42%, rgba(51,92,255,.20), transparent 62%); }
.jnode-person .av { box-shadow: 0 8px 20px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.25); }
.jnode-task { box-shadow: 0 6px 16px rgba(0,0,0,.35); }
.jnode-center .av { box-shadow: 0 0 0 6px rgba(51,92,255,.18), 0 12px 30px rgba(51,92,255,.4); }

/* tabular figures for numeric displays */
.demo-ov-card .v, .jt-ins .n, .lp-stat-num, .jwher .jw-sched-time { font-variant-numeric: tabular-nums; }

/* =========================================================
   HERO - exact Jira treatment: white, form on background, pill input
   ========================================================= */
.jhero { background: #fff; }
.jhero::before { display: none; }
.jhero-glow { display: none; }
.jhero h1 { line-height: 1.04; letter-spacing: -.018em; color: var(--j-ink); font-size: clamp(42px, 5.8vw, 64px); }
/* .jhero .jhero-sub (0,2,0) beats the global `.lp p { margin:0 }` (0,1,1) that
   was zeroing the gap - this is what actually spaces the title from the sub. */
.jhero .jhero-sub { color: var(--j-ink-2); max-width: 470px; margin-top: 40px; }
.jhero-inner { gap: clamp(48px, 8vw, 150px); align-items: center; }

/* form sits directly on the white background - no card, narrower */
.jhero-form-wrap { width: 100%; max-width: 360px; margin-left: auto; }
.jhero-form-wrap .jhero-label { font-family: var(--font-display); font-size: 14px; font-weight: 700; color: var(--j-ink); margin-bottom: 8px; }
.jhero-form-wrap .jhero-input { border-radius: var(--radius-pill); height: 54px; padding: 0 22px; background: #fff; border: 1.5px solid var(--al-line-2); font-size: 16px; }
.jhero-form-wrap .jhero-input:focus { border-color: var(--al-blue); box-shadow: 0 0 0 4px var(--al-blue-50); }
.jhero-form-wrap .jhero-help { color: var(--al-text-2); font-size: 13px; margin-top: 9px; }
.jhero-form-wrap .jhero-form .lp-btn { margin-top: 16px; height: 54px; font-size: 16px; font-weight: 700; }
.jhero-form-wrap .jhero-or { margin: 18px 0 14px; }
.jhero-form-wrap .jhero-google { height: 54px; }

@media (max-width: 980px) {
  .jhero-form-wrap { margin-left: 0; max-width: 480px; }
}

/* =========================================================
   4-UP TILE MOCKS (Jira "wherever" treatments, Lindy content)
   ========================================================= */
/* 1 · dark agent terminal */
.jwt-term { width: 100%; font-family: var(--font-mono, monospace); font-size: 11.5px; line-height: 1.75; color: #c9d1d9; }
.jwt-term .p { color: #6b7280; }
.jwt-term .g { color: #3fb950; }
.jwt-term .b { color: #7fb4ff; }
.jwt-term .w { color: #fff; }
/* 2 · lavender status card */
.jwt-status { align-self: center; width: 100%; }
.jwt-status .q { display: inline-block; background: #1b1e28; color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 12px; padding: 7px 12px; border-radius: 10px; margin-bottom: 11px; }
.jwt-status .card { background: #fff; border-radius: 12px; box-shadow: var(--shadow-md); padding: 13px; }
.jwt-status .row1 { display: flex; align-items: center; gap: 8px; }
.jwt-status .st { font-size: 11px; font-weight: 800; color: var(--al-blue); background: var(--al-blue-50); border-radius: 7px; padding: 3px 9px; }
.jwt-status .lm { margin-left: auto; width: 22px; height: 22px; border-radius: 6px; background: var(--al-blue); display: flex; align-items: center; justify-content: center; }
.jwt-status .lm img { width: 13px; }
.jwt-status .t { font-family: var(--font-display); font-weight: 700; font-size: 13px; color: var(--j-ink); margin-top: 11px; }
.jwt-status .foot { display: flex; align-items: center; gap: 8px; margin-top: 11px; }
.jwt-status .ck { width: 16px; height: 16px; border-radius: 4px; border: 2px solid var(--al-blue); flex: none; }
.jwt-status .key { font-size: 11px; font-weight: 700; color: var(--al-text-3); }
.jwt-status .av { width: 20px; height: 20px; border-radius: 50%; color: #fff; font-size: 9px; font-weight: 800; font-family: var(--font-display); display: flex; align-items: center; justify-content: center; flex: none; }
/* 3 · integration hexagons */
.jwt-hex { display: flex; align-items: center; gap: 11px; background: #fff; border-radius: 44px; padding: 12px 18px; box-shadow: var(--shadow-md); }
.jwt-hex .hx { width: 44px; height: 50px; flex: none; display: flex; align-items: center; justify-content: center; background: #1b1e28; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.jwt-hex .hx img { width: 22px; height: 22px; object-fit: contain; }
.jwt-hex .hx i { color: #fff; font-size: 20px; }
.jwt-hex .more { font-family: var(--font-display); font-weight: 800; font-size: 13px; color: var(--al-text-2); }
/* 4 · field pills */
.jwt-fields { display: flex; flex-direction: column; gap: 8px; width: 100%; align-self: center; }
.jwt-fields .f { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 10px; padding: 10px 13px; box-shadow: 0 6px 16px rgba(10,20,60,.14); }
.jwt-fields .f i { font-size: 16px; color: var(--j-ink); }
.jwt-fields .f span { font-family: var(--font-display); font-weight: 700; font-size: 13.5px; color: var(--j-ink); }

/* 4-up: single horizontal row (Jira layout), heading left-aligned */
.jwher { grid-template-columns: repeat(4, 1fr); gap: 20px; }
.jwher-frame { height: 268px; padding: 18px; }
.jwher-cap-t { font-size: clamp(18px, 1.5vw, 22px); margin-top: 18px; }
.jwher-cap-d { font-size: 14px; }
.jwt-term { font-size: 10.5px; line-height: 1.7; }
.jwt-hex { gap: 8px; padding: 10px 13px; border-radius: 40px; }
.jwt-hex .hx { width: 38px; height: 44px; }
.jwt-hex .hx img { width: 18px; height: 18px; }
.jwt-hex .hx i { font-size: 17px; }
.jwt-hex .more { font-size: 11px; }
@media (max-width: 980px) { .jwher { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .jwher { grid-template-columns: 1fr; } }

/* =========================================================
   DEMO - real Lindy dashboard (Overview) replica
   ========================================================= */
.dov-hero { position: relative; overflow: hidden; border-radius: 14px; padding: 15px 18px; color: #fff; margin-bottom: 12px;
  background: linear-gradient(135deg, #24379e 0%, #335CFF 58%, #5878ff 100%); box-shadow: var(--shadow-sm); }
.dov-hero::after { content: ""; position: absolute; width: 190px; height: 190px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.14); top: -86px; right: -30px; }
.dov-plan { position: absolute; top: 13px; right: 14px; display: inline-flex; align-items: center; gap: 7px; background: rgba(255,255,255,.14); border-radius: 10px; padding: 6px 10px; font-size: 11px; }
.dov-plan i { color: #FFD98A; font-size: 14px; } .dov-plan b { font-weight: 800; } .dov-plan span { opacity: .8; }
.dov-eyebrow { font-size: 11px; opacity: .82; font-weight: 600; }
.dov-greet { font-family: var(--font-display); font-weight: 800; font-size: 20px; margin-top: 3px; letter-spacing: -.01em; }
.dov-sub { font-size: 12px; line-height: 1.5; opacity: .9; margin-top: 6px; max-width: 84%; }
.dov-sub b { font-weight: 800; }
.dov-mets { display: flex; gap: 15px; margin-top: 13px; flex-wrap: wrap; }
.dov-met { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; opacity: .94; }
.dov-met i { font-size: 15px; }
.dov-met b { font-family: var(--font-display); font-weight: 800; margin-left: 2px; }
.dov-grid { display: grid; grid-template-columns: 1.06fr .94fr; gap: 12px; }
.dov-col { display: flex; flex-direction: column; gap: 12px; }
.dov-card { background: #fff; border: var(--card-border); border-radius: 12px; padding: 12px; box-shadow: var(--shadow-xs); }
.dov-card-h { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.dov-card-h .t { display: flex; align-items: center; gap: 7px; font-family: var(--font-display); font-weight: 800; font-size: 12.5px; color: var(--j-ink); }
.dov-card-h .t i { color: var(--al-blue); font-size: 15px; }
.dov-badge { margin-left: auto; font-size: 10.5px; font-weight: 700; color: var(--al-text-2); background: var(--al-paper); border: 1px solid var(--al-line); border-radius: 20px; padding: 3px 9px; }
.dov-badge.blue { color: var(--al-blue); background: var(--al-blue-50); border-color: transparent; }
.dov-tabs { margin-left: auto; display: flex; gap: 4px; font-size: 11px; font-weight: 700; }
.dov-tabs span { color: var(--al-text-3); padding: 3px 8px; border-radius: 7px; }
.dov-tabs span.on { color: var(--al-blue); background: var(--al-blue-50); }
.dov-tabs b { margin-left: 4px; }
.dov-ev { display: flex; align-items: center; gap: 9px; padding: 7px 0; border-top: 1px solid var(--al-line); }
.dov-ev:first-of-type { border-top: none; padding-top: 2px; }
.dov-ev .bar { width: 3px; height: 30px; border-radius: 3px; flex: none; }
.dov-ev .m { flex: 1; min-width: 0; }
.dov-ev .mt { font-family: var(--font-display); font-weight: 700; font-size: 12px; color: var(--j-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dov-ev .ms { display: flex; align-items: center; gap: 6px; margin-top: 3px; font-size: 10.5px; color: var(--al-text-3); }
.dov-echip { display: inline-flex; align-items: center; gap: 3px; font-size: 9.5px; font-weight: 700; border-radius: 20px; padding: 2px 6px; }
.dov-epic { display: flex; align-items: center; gap: 9px; margin-top: 9px; }
.dov-epic:first-of-type { margin-top: 2px; }
.dov-epic .d { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.dov-epic .nm { font-size: 11px; font-weight: 700; color: var(--j-ink); width: 118px; flex: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: flex; align-items: center; gap: 5px; }
.dov-epic .most { font-size: 8.5px; font-weight: 800; color: var(--al-blue); background: var(--al-blue-50); border-radius: 10px; padding: 1px 5px; }
.dov-epic .track { flex: 1; height: 6px; border-radius: 4px; background: var(--al-line); overflow: hidden; }
.dov-epic .fill { height: 100%; border-radius: 4px; }
.dov-epic .n { font-size: 11px; font-weight: 800; color: var(--al-text-2); width: 13px; text-align: right; }
.dov-run { font-size: 11.5px; line-height: 1.5; color: var(--j-ink-2); }
.dov-run b { color: var(--j-ink); font-weight: 800; }
.demo-space .sq i { color: #fff; display: block; line-height: 1; font-size: 11px; }
.demo-space .sq i::before { display: block; }

/* =========================================================
   DEMO - colorful torn-paper frame on all four sides (Jira)
   ========================================================= */
.demo-shell { position: relative; max-width: 1060px; margin: 0 auto 14px; }
.demo-shell .demo { position: relative; z-index: 1; margin: 0; }
.demo-shell-frame { position: absolute; inset: -30px; z-index: 0; border-radius: 36px; overflow: hidden; }
.demo-shell-frame .c { position: absolute; width: 66%; height: 66%; animation: frameDrift 9s ease-in-out infinite; }
.demo-shell-frame .c1 { top: -11%; left: -11%; background: #335CFF; clip-path: polygon(0 0, 100% 20%, 60% 100%, 0 68%); }
.demo-shell-frame .c2 { top: -11%; right: -11%; background: #14b8a6; clip-path: polygon(30% 0, 100% 0, 100% 80%, 0 36%); animation-delay: .8s; }
.demo-shell-frame .c3 { bottom: -11%; left: -11%; background: #8a3ffc; clip-path: polygon(0 24%, 70% 0, 100% 100%, 0 100%); animation-delay: 1.4s; }
.demo-shell-frame .c4 { bottom: -11%; right: -11%; background: #f5a623; clip-path: polygon(0 78%, 100% 0, 100% 100%, 28% 100%); animation-delay: .5s; }
@keyframes frameDrift { 0%,100% { transform: translate(0,0) rotate(0); } 50% { transform: translate(6px,-7px) rotate(1.4deg); } }

/* =========================================================
   DEMO - colorful "AI agent" moment (Jira agents aesthetic)
   ========================================================= */
.demo-app { height: 500px; transition: transform .85s cubic-bezier(.5,0,.15,1); transform-origin: center; will-change: transform; }
.demo-cursor { transition: transform 1s cubic-bezier(.5,0,.2,1), opacity .35s; }
.demo-cursor.hide { opacity: 0; }
/* colorful "agent" screen - shape variations cycle each loop */
.demo-agent.v2 .s1 { background: #14b8a6; } .demo-agent.v2 .s2 { background: #f5a623; } .demo-agent.v2 .s3 { background: #335CFF; } .demo-agent.v2 .s4 { background: #8a3ffc; }
.demo-agent.v3 .s1 { background: #e0457b; } .demo-agent.v3 .s2 { background: #8a3ffc; } .demo-agent.v3 .s3 { background: #14b8a6; } .demo-agent.v3 .s4 { background: #f5a623; }
.demo-agent.v4 .s1 { background: #f5a623; } .demo-agent.v4 .s2 { background: #335CFF; } .demo-agent.v4 .s3 { background: #e0457b; } .demo-agent.v4 .s4 { background: #14b8a6; }
.demo-agent { position: absolute; inset: 0; z-index: 16; display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .45s var(--ease-out); overflow: hidden; background: #0b0d13; }
.demo-agent.on { opacity: 1; }
.demo-agent .shape { position: absolute; }
.demo-agent .s1 { left: -38px; top: -26px; width: 240px; height: 260px; background: #335CFF; clip-path: polygon(0 0, 100% 22%, 66% 100%, 0 68%); animation: agFloat 5s ease-in-out infinite; }
.demo-agent .s2 { right: -46px; top: -32px; width: 260px; height: 215px; background: #14b8a6; clip-path: polygon(28% 0, 100% 0, 100% 82%, 0 36%); animation: agFloat 5.6s ease-in-out .4s infinite; }
.demo-agent .s3 { left: -46px; bottom: -46px; width: 250px; height: 235px; background: #8a3ffc; clip-path: polygon(0 26%, 70% 0, 100% 100%, 0 100%); animation: agFloat 5.2s ease-in-out .8s infinite; }
.demo-agent .s4 { right: -38px; bottom: -36px; width: 260px; height: 225px; background: #f5a623; clip-path: polygon(0 56%, 100% 0, 100% 100%, 18% 100%); animation: agFloat 4.8s ease-in-out .6s infinite; }
@keyframes agFloat { 0%,100% { transform: translate(0,0) rotate(0); } 50% { transform: translate(8px,-10px) rotate(3deg); } }
.demo-agent-inner { position: relative; z-index: 2; text-align: center; color: #fff; padding: 22px 30px; }
.demo-agent-badge { display: inline-flex; align-items: center; gap: 7px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); border-radius: 20px; padding: 5px 13px 5px 8px; font-family: var(--font-display); font-weight: 800; font-size: 12px; }
.demo-agent-badge img { height: 15px; }
.demo-agent-t { font-family: var(--font-display); font-weight: 800; font-size: 24px; margin-top: 15px; letter-spacing: -.01em; }
.demo-agent-t b { background: linear-gradient(90deg, #c69bff, #7fb4ff, #a6e07a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.demo-agent-sub { font-size: 13px; color: rgba(255,255,255,.72); margin-top: 7px; }
.demo-agent-bar { width: 210px; height: 6px; border-radius: 4px; background: rgba(255,255,255,.15); margin: 17px auto 0; overflow: hidden; }
.demo-agent-bar i { display: block; height: 100%; width: 42%; border-radius: 4px; background: linear-gradient(90deg,#a34cf0,#2684ff,#8bc34a); animation: agBar 1.35s ease-in-out infinite; }
@keyframes agBar { 0% { transform: translateX(-120%); } 100% { transform: translateX(320%); } }

/* =========================================================
   DEMO - realistic overview dashboard
   ========================================================= */
.demo-ov-head { display: flex; align-items: center; margin-bottom: 12px; }
.demo-ov-hi { font-family: var(--font-display); font-weight: 800; font-size: 16px; color: var(--j-ink); display: flex; align-items: center; gap: 8px; }
.demo-ov-hi i { color: var(--al-blue); }
.demo-ov-when { margin-left: auto; font-size: 11px; font-weight: 700; color: var(--al-blue); background: var(--al-blue-50); border-radius: 20px; padding: 4px 11px; }
.demo-ov-summary { display: flex; align-items: center; gap: 10px; background: linear-gradient(120deg, #eef2ff, #e6ecff); border: 1px solid var(--al-blue-100); border-radius: 12px; padding: 11px 13px; font-size: 12.5px; color: var(--j-ink-2); margin-bottom: 12px; }
.demo-ov-summary .ic { width: 27px; height: 27px; border-radius: 7px; background: var(--al-blue); color: #fff; display: flex; align-items: center; justify-content: center; flex: none; font-size: 15px; }
.demo-ov-summary b { color: var(--j-ink); }
.demo-overview .demo-ov-cards { grid-template-columns: repeat(4, 1fr); gap: 10px; }
.demo-overview .demo-ov-card { padding: 12px; }
.demo-overview .demo-ov-card .v { font-size: 23px; margin-top: 2px; }
.demo-overview .demo-ov-card .spark { display: none; }
.demo-ov-cols { display: grid; grid-template-columns: 1.08fr .92fr; gap: 12px; margin-top: 12px; }
.demo-ov-cols .demo-ov-list { margin-top: 0; }
.demo-proj { background: #fff; border: var(--card-border); border-radius: 12px; padding: 12px; box-shadow: var(--shadow-xs); }
.demo-proj-h { font-family: var(--font-display); font-weight: 800; font-size: 12px; color: var(--j-ink); margin-bottom: 6px; display: flex; align-items: center; gap: 7px; }
.demo-proj-h i { color: var(--al-blue); font-size: 15px; }
.demo-proj-row { display: flex; align-items: center; gap: 9px; margin-top: 9px; }
.demo-proj-row .nm { font-size: 11.5px; font-weight: 700; color: var(--j-ink); width: 82px; flex: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.demo-proj-row .track { flex: 1; height: 6px; border-radius: 4px; background: var(--al-line); overflow: hidden; }
.demo-proj-row .fill { height: 100%; border-radius: 4px; }
.demo-proj-row .n { font-size: 11px; font-weight: 800; color: var(--al-text-2); width: 14px; text-align: right; }

/* =========================================================
   DEMO - click "pop" burst lines + filter menu
   ========================================================= */
.demo-cursor .pop { position: absolute; left: 7px; top: 7px; width: 0; height: 0; opacity: 0; }
.demo-cursor.click .pop { animation: popBurst .5s ease-out; }
.demo-cursor .pop i { position: absolute; left: -1.5px; top: -1.5px; width: 3.5px; height: 13px; border-radius: 2px; background: #101214; }
.demo-cursor .pop i:nth-child(1) { transform: rotate(0deg) translateY(-15px); }
.demo-cursor .pop i:nth-child(2) { transform: rotate(45deg) translateY(-15px); }
.demo-cursor .pop i:nth-child(3) { transform: rotate(90deg) translateY(-15px); }
.demo-cursor .pop i:nth-child(4) { transform: rotate(135deg) translateY(-15px); }
.demo-cursor .pop i:nth-child(5) { transform: rotate(180deg) translateY(-15px); }
.demo-cursor .pop i:nth-child(6) { transform: rotate(225deg) translateY(-15px); }
.demo-cursor .pop i:nth-child(7) { transform: rotate(270deg) translateY(-15px); }
.demo-cursor .pop i:nth-child(8) { transform: rotate(315deg) translateY(-15px); }
@keyframes popBurst { 0% { opacity: 0; transform: scale(.3); } 30% { opacity: 1; } 100% { opacity: 0; transform: scale(1.85); } }

.demo-fmenu { position: absolute; z-index: 14; top: 46px; right: 16px; width: 196px; background: #fff; border: var(--card-border);
  border-radius: 12px; box-shadow: var(--shadow-lg); padding: 6px; opacity: 0; transform: translateY(-6px) scale(.97); transform-origin: top right;
  pointer-events: none; transition: opacity .25s var(--ease-out), transform .25s var(--ease-out); }
.demo-fmenu.on { opacity: 1; transform: none; }
.demo-fmenu-h { font-size: 11px; font-weight: 800; color: var(--al-text-3); text-transform: uppercase; letter-spacing: .04em; padding: 8px 10px 5px; }
.demo-fmenu-row { display: flex; align-items: center; gap: 9px; padding: 8px 10px; border-radius: 8px; font-size: 12.5px; font-weight: 600; color: var(--j-ink); }
.demo-fmenu-row i { font-size: 15px; color: var(--al-text-3); }
.demo-fmenu-row.sel { background: var(--al-blue-50); color: var(--al-blue); }
.demo-fmenu-row.sel i, .demo-fmenu-row .ck { color: var(--al-blue); }
.demo-fmenu-row .ck { margin-left: auto; }
.demo-filter.hot { background: var(--al-blue-50); border-color: var(--al-blue); color: var(--al-blue); }

/* =========================================================
   DEMO - narrated value caption + pre-meeting brief beat
   ========================================================= */
.demo-cap { position: absolute; left: 50%; bottom: 16px; transform: translate(-50%, 12px); z-index: 15;
  background: rgba(16,18,20,.94); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 13px;
  padding: 9px 16px 9px 13px; border-radius: var(--radius-pill); box-shadow: var(--shadow-lg); display: inline-flex; align-items: center; gap: 8px;
  opacity: 0; pointer-events: none; transition: opacity .35s, transform .35s var(--ease-out); white-space: nowrap; max-width: 92%; }
.demo-cap.on { opacity: 1; transform: translate(-50%, 0); }
.demo-cap i { color: var(--al-blue-300); font-size: 16px; }

.demo-brief-top { display: flex; align-items: center; gap: 11px; margin-bottom: 14px; }
.demo-brief-ic { width: 40px; height: 40px; border-radius: 11px; background: var(--al-blue-50); color: var(--al-blue); display: flex; align-items: center; justify-content: center; font-size: 20px; flex: none; }
.demo-brief-top .t { font-family: var(--font-display); font-weight: 800; font-size: 15px; color: var(--j-ink); }
.demo-brief-top .s { font-size: 12px; color: var(--al-text-3); margin-top: 1px; }
.demo-brief-badge { margin-left: auto; font-size: 11px; font-weight: 700; color: var(--al-blue); background: var(--al-blue-50); border-radius: 20px; padding: 5px 11px; }
.demo-brief-list { display: flex; flex-direction: column; gap: 9px; }
.demo-brief-row { display: flex; align-items: flex-start; gap: 11px; background: #fff; border: var(--card-border); border-radius: 12px; padding: 12px 14px; box-shadow: var(--shadow-xs); }
.demo-brief-row .av { width: 34px; height: 34px; border-radius: 50%; color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 13px; display: flex; align-items: center; justify-content: center; flex: none; }
.demo-brief-row .bd { flex: 1; min-width: 0; }
.demo-brief-row .nm { font-family: var(--font-display); font-weight: 800; font-size: 13.5px; color: var(--j-ink); display: flex; align-items: center; gap: 8px; }
.demo-brief-row .nm .rl { font-family: var(--font-body); font-weight: 500; font-size: 11px; color: var(--al-text-3); }
.demo-brief-row .pt { display: flex; align-items: center; gap: 7px; font-size: 12px; color: var(--al-text-2); margin-top: 5px; line-height: 1.35; }
.demo-brief-row .pt i { font-size: 14px; flex: none; }
.demo-brief-row .pt.care i { color: #1F8A5B; }
.demo-brief-row .pt.push i { color: var(--al-danger); }
.demo-brief-row .pt b { color: var(--j-ink); font-weight: 700; }
.demo-brief .a-item { opacity: 0; transform: translateY(10px); }
.demo-brief.on .a-item { animation: aItemIn .5s var(--ease-out) both; }

/* =========================================================
   DEMO - mobile
   ========================================================= */
@media (max-width: 760px) {
  .demo-shell-frame { inset: -16px; border-radius: 24px; }
  .demo-app { height: 460px; }
  .demo-overview .demo-ov-cards { grid-template-columns: 1fr 1fr; }
  .demo-ov-cols { grid-template-columns: 1fr; }
  .demo-ov-cols .demo-proj { display: none; }
  .demo-agent-t { font-size: 19px; }
  .demo-agent-inner { padding: 16px; }
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  .demo-cursor { display: none; }
  .demo-view, .demo-newcard, .demo-newcard .src, .demo-toast { transition: none; }
  .jgraph-edges .flow, .jnode-person .av, .jnode-center .ring { animation: none; }
  .reveal.in .jgraph-edges .edge { animation: none; stroke-dashoffset: 0; }
  .jt-panel.on .a-item { animation: none; opacity: 1; transform: none; }
  .demo-agent .shape, .demo-agent-bar i, .demo-shell-frame .c { animation: none; }
  .demo-app { transition: none; }
}

/* =========================================================
   6 · JIRA-STYLE INTERACTIVE BOARD  (.ib-wrap.jira)
   Rebuilt to read like a real project board: app header + tabs,
   a working toolbar, and four status columns of cards. Reuses the
   .ib-* JS hooks (check / prio chip / detail / data-col / data-alive).
   ========================================================= */
.ib-wrap.jira { background: #fff; border: 1px solid var(--al-line); border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-lg); overflow: hidden; }

/* app header: space name + view tabs */
.ibx-head { display: flex; align-items: center; gap: 18px; padding: 14px 18px 0; }
.ibx-space { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-display);
  font-size: 16px; font-weight: 800; color: var(--j-ink); letter-spacing: -.01em; }
.ibx-space-ic { width: 26px; height: 26px; flex: none; border-radius: 7px; display: flex; align-items: center;
  justify-content: center; color: #fff; font-size: 15px; background: linear-gradient(150deg, #5379ff, #2846e2); }
.ibx-tabs { display: flex; gap: 2px; margin-left: 6px; overflow-x: auto; scrollbar-width: none; }
.ibx-tabs::-webkit-scrollbar { display: none; }
.ibx-tab { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 8px 8px 0 0;
  font-family: var(--font-display); font-size: 13.5px; font-weight: 700; color: var(--al-text-3); white-space: nowrap;
  position: relative; }
.ibx-tab i { font-size: 15px; }
.ibx-tab.on { color: var(--al-blue); }
.ibx-tab.on::after { content: ""; position: absolute; left: 8px; right: 8px; bottom: -1px; height: 2.5px;
  border-radius: 3px; background: var(--al-blue); }

/* toolbar */
.ibx-bar { display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-top: 1px solid var(--al-line);
  border-bottom: 1px solid var(--al-line); background: #fff; }
.ibx-search { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 13px; min-width: 210px;
  border: 1.5px solid var(--al-line-2); border-radius: 8px; color: var(--al-text-3); font-size: 13.5px; background: var(--al-paper); }
.ibx-search i { font-size: 16px; }
.ibx-avs { display: flex; align-items: center; }
.ibx-av { width: 28px; height: 28px; border-radius: 50%; margin-left: -8px; border: 2px solid #fff; color: #fff;
  font-family: var(--font-display); font-weight: 800; font-size: 11px; display: flex; align-items: center; justify-content: center; }
.ibx-av:first-child { margin-left: 0; }
.ibx-av.more { background: var(--al-blue-50); color: var(--al-blue); }
.ibx-btn { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: 8px;
  border: 1.5px solid var(--al-line-2); font-family: var(--font-display); font-size: 13px; font-weight: 700; color: var(--j-ink-2); background: #fff; }
.ibx-btn i { font-size: 16px; color: var(--al-text-3); }
.ibx-sp { flex: 1; }
.ibx-icons { display: inline-flex; gap: 4px; color: var(--al-text-3); font-size: 18px; }
.ibx-icons i { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border-radius: 7px; }

/* board surface + columns */
.ib-board.jira { display: grid; grid-template-columns: repeat(4, minmax(232px, 1fr)); gap: 14px; padding: 18px;
  background: var(--al-paper); overflow-x: auto; align-items: start; }
.ib-board.jira .ib-col { background: transparent; }
.ib-board.jira .ib-col-h { display: flex; align-items: center; gap: 7px; padding: 4px 6px 2px; margin-bottom: 2px; }
.ib-board.jira .ib-col-nm { font-family: var(--font-display); font-size: 11.5px; font-weight: 800; letter-spacing: .06em;
  text-transform: uppercase; color: var(--al-text-2); }
.ib-board.jira .ib-col-n { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 18px;
  padding: 0 6px; border-radius: 6px; background: #e6eaf3; color: var(--al-text-2); font-family: var(--font-display);
  font-size: 11px; font-weight: 800; margin-left: 2px; }
.ib-col-h.done .ib-col-ck { color: var(--al-success); font-size: 15px; margin-left: 2px; }
.ib-col-h.done .ib-col-nm { color: var(--al-success); }

/* Jira cards */
.ib-board.jira .ib-card { position: relative; background: #fff; border: 1px solid var(--al-line);
  border-radius: 10px; padding: 12px 13px; box-shadow: 0 1px 1px rgba(16,18,20,.04);
  cursor: pointer; transition: box-shadow .18s var(--ease-out), transform .18s var(--ease-out), border-color .18s; }
.ib-board.jira .ib-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--al-line-2); }
.ib-board.jira .ib-stripe { top: 12px; bottom: 12px; }
.ib-board.jira .ib-sum { font-family: var(--font-display); font-size: 14px; font-weight: 700; color: var(--j-ink);
  line-height: 1.4; margin-left: 4px; }
.ib-board.jira .ib-card.done .ib-sum { color: var(--al-text-3); text-decoration: line-through; text-decoration-color: var(--al-line-2); }
.ib-board.jira .ib-chips { margin: 9px 0 0 4px; }
.ib-board.jira .ib-foot { display: flex; align-items: center; gap: 8px; margin-top: 12px; margin-left: 4px; }
/* the check-square doubles as the Jira task-type glyph and the complete toggle */
.ib-board.jira .ib-check { width: 20px; height: 20px; flex: none; border-radius: 5px; border: none;
  background: var(--al-blue-50); color: var(--al-blue); display: flex; align-items: center; justify-content: center;
  font-size: 13px; margin: 0; transition: background .15s, color .15s, transform .1s; }
.ib-board.jira .ib-check i { opacity: .32; transition: opacity .15s; }
.ib-board.jira .ib-check:hover { background: var(--al-blue-100); }
.ib-board.jira .ib-check:hover i { opacity: .8; }
.ib-board.jira .ib-check:active { transform: scale(.9); }
.ib-board.jira .ib-card.done .ib-check { background: var(--al-success); color: #fff; }
.ib-board.jira .ib-card.done .ib-check i { opacity: 1; }
.ib-board.jira .ib-key { font-family: var(--font-display); font-size: 12px; font-weight: 800; color: var(--al-text-3);
  letter-spacing: .01em; }
.ib-board.jira .ib-av { width: 24px; height: 24px; border-radius: 50%; color: #fff; display: flex; align-items: center;
  justify-content: center; font-family: var(--font-display); font-weight: 800; font-size: 10.5px; }
.ib-board.jira .ib-detail-src { background: var(--al-paper); border: 1px solid var(--al-line); }

/* "Create" ghost row + user hint */
.ibx-add { display: flex; align-items: center; gap: 7px; width: 100%; margin-top: 4px; padding: 9px 11px;
  border: none; background: transparent; border-radius: 8px; cursor: default; font-family: var(--font-display);
  font-size: 13px; font-weight: 700; color: var(--al-text-3); transition: background .15s; }
.ibx-add:hover { background: #eef0f6; color: var(--j-ink-2); }
.ibx-add i { font-size: 17px; }
.ibx-hint { display: flex; align-items: center; gap: 7px; padding: 12px 18px; border-top: 1px solid var(--al-line);
  font-size: 12.5px; color: var(--al-text-3); background: #fff; }
.ibx-hint i { font-size: 15px; color: var(--al-blue); }

@media (max-width: 1080px) {
  .ib-board.jira { grid-template-columns: repeat(4, minmax(228px, 78vw)); }
}
@media (max-width: 640px) {
  .ibx-tabs { margin-left: auto; }
  .ib-board.jira { grid-template-columns: repeat(4, 82vw); }
  .ibx-search { min-width: 0; flex: 1; }
}

/* =========================================================
   7 · "AN AGENT FOR YOUR DAY-TO-DAY" - Jira-style treatment
   Patterned on Jira's "Accelerate your team's vision with AI":
   a stacked lead, a left tab list (grey inactive headings, active
   heading in ink with a blue rail + description), and the animation
   floating as white cards on a coloured gradient frame that changes
   tone per scenario (blue / gold / teal), like Jira's work-item frames.
   ========================================================= */

/* lead: stack the heading + subtitle, left-aligned (Jira layout) */
.jt-lead { flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 14px; }
.jt-lead .j-sub { max-width: 560px; margin: 0; }

/* left rail: big headings, drop the eyebrow + icon for Jira fidelity */
.jt { align-items: start; }
.jt-tab { padding: 20px 18px 20px 26px; transition: none; }
.jt-tab:not(.on) { opacity: 1; }
.jt-tab-k { display: none; }
.jt-tab-t { font-size: 23px; line-height: 1.2; color: #8a8f9c; transition: color .2s var(--ease-out); }
.jt-tab.on .jt-tab-t { color: var(--j-ink); }
.jt-tab:not(.on):hover .jt-tab-t { color: #5b6070; }
.jt-tab-d { font-size: 15.5px; color: var(--j-ink-2); max-width: 420px; }
.jt-tab.on .jt-tab-d { max-height: 160px; }
/* left rail bar: hidden when idle, faint-blue track on the active tab, bright fill = progress */
.jt-tab::before { background: transparent; width: 3.5px; }
.jt-tab.on::before { background: var(--al-blue-100); }
.jt-prog { width: 3.5px; }
.jt-prog span { background: var(--al-blue); }

/* pause control: soft grey circle (Jira) */
.jt-pause { width: 40px; height: 40px; border: none; background: #eceef4; color: var(--j-ink-2); box-shadow: none;
  margin-bottom: 18px; }
.jt-pause:hover { background: #e2e5ee; }

/* the stage is the coloured product frame; a full white app window fills it */
.jt-stage { min-height: 512px; box-shadow: 0 8px 20px rgba(16,18,20,.10), 0 30px 60px -24px rgba(16,18,20,.30); }
/* each scenario carries its own gradient tone; panels crossfade so the tone changes with the tab */
.jt-panel { padding: 22px; background: linear-gradient(158deg, #6d93ff 0%, #2e50cf 100%);
  /* clean opacity crossfade - no vertical slide, so switching a stage does not jump/flicker */
  transform: none !important; transition: opacity .4s var(--ease-out); }
#ho-p1 { background: linear-gradient(158deg, #e7b65e 0%, #b06f27 100%); }
#ho-p2 { background: linear-gradient(158deg, #34c3a7 0%, #1c7a80 100%); }

/* the animation is ONE full-body product surface (not scattered cards) */
.jt-win { flex: 1; min-height: 0; display: flex; flex-direction: column; background: #fff;
  border-radius: 14px; overflow: hidden; box-shadow: 0 2px 8px rgba(16,18,20,.14), 0 26px 50px -20px rgba(16,18,20,.36); }
.jt-winbar { display: flex; align-items: center; gap: 7px; padding: 11px 15px; border-bottom: 1px solid var(--al-line);
  background: #fbfcfe; flex: none; }
.jt-winbar .dot { width: 9px; height: 9px; border-radius: 50%; background: #d7dbe6; flex: none; }
.jt-winbar-t { margin-left: 6px; display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display);
  font-size: 12px; font-weight: 700; color: var(--al-text-3); }
.jt-live { width: 7px; height: 7px; border-radius: 50%; background: var(--al-success); flex: none;
  box-shadow: 0 0 0 0 rgba(31,138,91,.5); animation: jtLive 1.9s ease-out infinite; }
@keyframes jtLive { 0% { box-shadow: 0 0 0 0 rgba(31,138,91,.5); } 70%,100% { box-shadow: 0 0 0 7px rgba(31,138,91,0); } }
.jt-winbody { flex: 1; min-height: 0; padding: 20px; display: flex; flex-direction: column; gap: 12px; overflow: hidden; }
/* a mock area grows to fill the window so there is no empty gradient */
.jt-winbody .jt-mock:last-child, .jt-winbody .jt-note:last-child { margin-top: auto; }

/* continuous motion - the surface is alive even between tab switches */
.jt-typing { display: inline-flex; gap: 3px; margin-left: 5px; vertical-align: middle; }
.jt-typing i { width: 4px; height: 4px; border-radius: 50%; background: var(--al-blue); opacity: .35; animation: jtDot 1s infinite; }
.jt-typing i:nth-child(2) { animation-delay: .16s; }
.jt-typing i:nth-child(3) { animation-delay: .32s; }
@keyframes jtDot { 0%,100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-2px); } }
.jt-transcript { position: relative; overflow: hidden; }
.jt-scan { position: absolute; left: 0; right: 0; top: 0; height: 46px; pointer-events: none; opacity: 0;
  background: linear-gradient(180deg, rgba(51,92,255,0), rgba(51,92,255,.14), rgba(51,92,255,0)); }
.jt-panel.on .jt-scan { animation: jtScan 2.8s ease-in-out infinite; }
@keyframes jtScan { 0% { transform: translateY(-46px); opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { transform: translateY(240px); opacity: 0; } }
/* insight bars keep a soft shimmer running */
.jt-ins .track { position: relative; overflow: hidden; }
.jt-panel.on .jt-ins .fill::after { content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent); transform: translateX(-100%);
  animation: jtShimmer 2.2s ease-in-out infinite; }
.jt-ins .fill { position: relative; overflow: hidden; }
@keyframes jtShimmer { 0% { transform: translateX(-100%); } 60%,100% { transform: translateX(180%); } }
/* scenario 02 - the insights visibly rebuild every time the panel becomes active:
   bars grow from zero and the numbers pop in (not a static image) */
.jt-panel.on .jt-ins .fill { animation: jtGrow 1.1s var(--ease-out) both; }
@keyframes jtGrow { from { width: 0; } to { width: var(--w); } }
.jt-panel.on .jt-ins .n { animation: jtPop .55s var(--spring) both; }
.jt-ins:nth-child(2) .n { animation-delay: .1s; }
.jt-ins:nth-child(3) .n { animation-delay: .2s; }
@keyframes jtPop { 0% { opacity: 0; transform: translateY(7px) scale(.82); } 100% { opacity: 1; transform: none; } }

/* skeleton + focus - the panel reads as a live surface where only the thing
   that just changed is rendered in full; everything else is a shimmering
   placeholder, the same way the hero demo pulls the eye to one spot */
.jt-sk { display: flex; align-items: center; gap: 10px; padding: 9px 11px; border-radius: var(--radius-md); background: #f2f4fa; }
.jt-sk-av { width: 26px; height: 26px; border-radius: 50%; flex: none; background: #e2e7f2; position: relative; overflow: hidden; }
.jt-sk-lines { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.jt-sk-lines i { display: block; height: 8px; border-radius: 4px; background: #e2e7f2; position: relative; overflow: hidden; }
.jt-sk-lines i.w1 { width: 64%; } .jt-sk-lines i.w2 { width: 40%; }
.jt-panel.on .jt-sk-av::after, .jt-panel.on .jt-sk-lines i::after {
  content: ""; position: absolute; inset: 0; transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.75), transparent);
  animation: jtShimmer 2.2s ease-in-out infinite; }
.jt-panel.on .jt-sk-lines i:nth-child(2)::after { animation-delay: .3s; }
/* the focus row - the real, data-rich card the skeletons frame */
.jt-focus { position: relative; box-shadow: 0 0 0 2px var(--al-blue), var(--shadow-md); border-radius: var(--radius-md); }
.jt-panel.on .jt-focus { animation: demoSpringIn .6s var(--spring) both; }
.jt-focus-tag { font-family: var(--font-display); font-size: 10px; font-weight: 800; letter-spacing: .02em; color: #fff; background: var(--al-blue); padding: 2px 8px; border-radius: 999px; align-self: center; }

@media (max-width: 860px) {
  .jt-tab-t { font-size: 20px; }
  .jt-panel { padding: 14px; }
  .jt-winbody { padding: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .jt-live, .jt-typing i, .jt-panel.on .jt-scan, .jt-panel.on .jt-ins .fill::after,
  .jt-panel.on .jt-ins .fill, .jt-panel.on .jt-ins .n,
  .jt-panel.on .jt-sk-av::after, .jt-panel.on .jt-sk-lines i::after, .jt-panel.on .jt-focus { animation: none; }
  .jt-panel.on .jt-ins .fill { width: var(--w); }
  .jt-scan { opacity: 0; }
}
/* Manual tab switch (root gets .jt-still from the click/keyboard handlers): render the
   incoming panel's content already-settled instead of replaying the one-shot entrance
   animations. Replaying them on a display:none->flex swap makes Chrome paint the panel's
   end-state for one frame before rewinding each animation - the flicker. Ambient loops
   (live pulse, caret, scan, typing) are left alone; only the entrance one-shots are cut. */
.jt-still .jt-panel.on .a-item { animation: none !important; opacity: 1 !important; transform: none !important; }
.jt-still .jt-panel.on .jt-focus,
.jt-still .jt-panel.on .jt-meet-tasks .jt-focus,
.jt-still .jt-panel.on .jt-ins .n,
.jt-still .jt-panel.on .jt-ins .fill::after,
.jt-still .jt-panel.on .jt-sk-av::after,
.jt-still .jt-panel.on .jt-sk-lines i::after { animation: none !important; }
.jt-still .jt-panel.on .jt-ins .fill { animation: none !important; width: var(--w) !important; }

/* =========================================================
   8 · TEAMWORK GRAPH - reimplemented from Jira's "Teamwork Graph"
   Dark canvas + blueprint grid, labeled node pills, coloured
   app/source tiles, avatar rings, and colour-coded edges that
   all lead back to the centre ("You" / your board).
   ========================================================= */
.jgraph-copy h2 br { display: block; }
/* blueprint grid behind the graph */
.jgraph-stage::before { content: ""; position: absolute; inset: -12%; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 38px 38px;
  -webkit-mask-image: radial-gradient(78% 78% at 58% 46%, #000 52%, transparent 100%);
          mask-image: radial-gradient(78% 78% at 58% 46%, #000 52%, transparent 100%); }
.jgraph-edges { z-index: 1; }

/* colour-coded edges (default .edge stays faint grey for cross-links) */
.jgraph-edges .edge.g { stroke: rgba(47,203,126,.55); }
.jgraph-edges .edge.b { stroke: rgba(120,160,255,.6); }
.jgraph-edges .edge.p { stroke: rgba(190,120,245,.55); }
.jgraph-edges .edge.o { stroke: rgba(245,166,35,.55); }
.jgraph-edges .edge.y { stroke: rgba(245,192,67,.55); }

/* labeled node pills */
.jnode-pill { flex-direction: row; gap: 8px; padding: 8px 13px; border-radius: 11px;
  background: #15171f; border: 1.5px solid rgba(255,255,255,.14); color: #fff;
  font-family: var(--font-display); font-weight: 700; font-size: 13.5px; letter-spacing: -.01em;
  white-space: nowrap; box-shadow: 0 8px 20px rgba(0,0,0,.4); }
.jnode-pill i { font-size: 16px; }
.jnode-pill.g { border-color: rgba(47,203,126,.75); } .jnode-pill.g i { color: #33d081; }
.jnode-pill.b { border-color: rgba(120,160,255,.8); }  .jnode-pill.b i { color: #7ca0ff; }
.jnode-pill.p { border-color: rgba(190,120,245,.8); }  .jnode-pill.p i { color: #c89bff; }
.jnode-pill.o { border-color: rgba(245,166,35,.85); }  .jnode-pill.o i { color: #f7b84b; }

/* app / source tiles */
.jnode-app { width: 44px; height: 44px; border-radius: 12px; background: #15171f;
  border: 1.5px solid rgba(255,255,255,.14); display: flex; align-items: center; justify-content: center;
  color: #cdd3e0; font-size: 21px; box-shadow: 0 8px 20px rgba(0,0,0,.4); }
.jnode-app.g { border-color: rgba(47,203,126,.75); color: #33d081; }
.jnode-app.b { border-color: rgba(120,160,255,.8); color: #7ca0ff; }
.jnode-app.p { border-color: rgba(190,120,245,.8); color: #c89bff; }
.jnode-app.o { border-color: rgba(245,166,35,.85); color: #f7b84b; }
.jnode-app.y { border-color: rgba(245,192,67,.85); color: #f5c043; }
.jnode-app.d { background: #0e0f13; border-color: rgba(255,255,255,.18); color: #fff; }
.jnode-app.n { border-color: rgba(255,255,255,.18); color: #cdd3e0; }
.jnode-app:hover { transform: translate(-50%,-50%) translateY(-3px); transition: transform .2s var(--ease-out); }

/* avatar rings match their cluster colour */
.jnode-person.y .av { border: 3px solid #f5c043; }
.jnode-person.o .av { border: 3px solid #f5a623; }
.jnode-person.p .av { border: 3px solid #be78f5; }

@media (max-width: 860px) {
  .jnode-pill { font-size: 12px; padding: 6px 10px; }
  .jnode-app { width: 38px; height: 38px; font-size: 18px; }
}

/* =========================================================
   8b · TEAMWORK GRAPH - screenshot-faithful refinements
   Curved glowing edges, mono-label pills, solid-colour app
   tiles alongside dark brand tiles, thick glowing avatar
   rings, and the exact Jira-graph palette.
   ========================================================= */
:root {
  --tg-green: #7ac043; --tg-blue: #2d7ff9; --tg-purple: #b56cf5;
  --tg-orange: #f5a623; --tg-yellow: #f5b301;
}

/* smooth, rounded, gently glowing connectors */
.jgraph-edges path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.jgraph-edges .edge { stroke: rgba(255,255,255,.22); stroke-width: 3; }
.jgraph-edges .edge.g { stroke: rgba(122,192,67,.8); }
.jgraph-edges .edge.b { stroke: rgba(45,127,249,.85); }
.jgraph-edges .edge.p { stroke: rgba(181,108,245,.8); }
.jgraph-edges .edge.o { stroke: rgba(245,166,35,.8); }
.jgraph-edges .edge.y { stroke: rgba(245,179,1,.8); }
/* animated pulse rides the coloured spokes.
   SEAMLESS LOOP: edgeFlow shifts stroke-dashoffset by exactly -26 per cycle,
   so the dash period (dash+gap) must divide 26 or the pattern jumps/flickers
   at every loop restart. 3 + 10 = 13, and 26 = 2×13 → continuous, no sticking. */
.jgraph-edges .flow { stroke-width: 3.4; stroke-dasharray: 4 9; stroke-linecap: round;
  animation: edgeFlow 1.4s linear infinite; }
.jgraph-edges .flow.g { stroke: var(--tg-green); }
.jgraph-edges .flow.b { stroke: var(--tg-blue); }
.jgraph-edges .flow.p { stroke: var(--tg-purple); }
.jgraph-edges .flow.o { stroke: var(--tg-orange); }
.jgraph-edges .flow.y { stroke: var(--tg-yellow); }
/* no drop-shadow filter and no will-change: stroke-dashoffset isn't GPU-compositable,
   so those only add main-thread repaint churn - removing them steadies the motion. */

/* node pills - mono/code label + coloured glow, matching Jira's chips */
.jnode-pill { font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  font-weight: 600; font-size: 14px; letter-spacing: -.01em; padding: 9px 15px; border-radius: 13px;
  background: #101218; border-width: 2px; }
.jnode-pill.g { box-shadow: 0 8px 22px rgba(0,0,0,.45), 0 0 20px rgba(122,192,67,.28); }
.jnode-pill.b { box-shadow: 0 8px 22px rgba(0,0,0,.45), 0 0 20px rgba(45,127,249,.30); }
.jnode-pill.p { box-shadow: 0 8px 22px rgba(0,0,0,.45), 0 0 20px rgba(181,108,245,.30); }
.jnode-pill.o { box-shadow: 0 8px 22px rgba(0,0,0,.45), 0 0 20px rgba(245,166,35,.30); }
.jnode-pill.g { border-color: var(--tg-green); } .jnode-pill.g i { color: var(--tg-green); }
.jnode-pill.b { border-color: var(--tg-blue); }  .jnode-pill.b i { color: #6fa2ff; }
.jnode-pill.p { border-color: var(--tg-purple); } .jnode-pill.p i { color: #cfa4ff; }
.jnode-pill.o { border-color: var(--tg-orange); } .jnode-pill.o i { color: var(--tg-orange); }

/* app / source tiles - bigger, rounded, glowing; SOLID variants for brand-colour tiles */
.jnode-app { width: 46px; height: 46px; border-radius: 13px; border-width: 2px; font-size: 22px;
  background: #101218; box-shadow: 0 8px 22px rgba(0,0,0,.5); }
.jnode-app.g { border-color: var(--tg-green);  color: var(--tg-green); }
.jnode-app.b { border-color: var(--tg-blue);   color: #6fa2ff; }
.jnode-app.p { border-color: var(--tg-purple); color: #cfa4ff; }
.jnode-app.o { border-color: var(--tg-orange); color: var(--tg-orange); }
.jnode-app.y { border-color: var(--tg-yellow); color: var(--tg-yellow); }
.jnode-app.solid { border: none; color: #fff; }
.jnode-app.g.solid { background: linear-gradient(160deg, #8ed158, #6fae37); box-shadow: 0 8px 22px rgba(0,0,0,.5), 0 0 20px rgba(122,192,67,.4); }
.jnode-app.b.solid { background: linear-gradient(160deg, #4b90ff, #2d7ff9); box-shadow: 0 8px 22px rgba(0,0,0,.5), 0 0 20px rgba(45,127,249,.42); }
.jnode-app.p.solid { background: linear-gradient(160deg, #c07df7, #a94ff0); box-shadow: 0 8px 22px rgba(0,0,0,.5), 0 0 20px rgba(181,108,245,.42); }
.jnode-app.o.solid { background: linear-gradient(160deg, #f7b24b, #f5a623); box-shadow: 0 8px 22px rgba(0,0,0,.5), 0 0 20px rgba(245,166,35,.42); }

/* avatars - larger, thick glowing coloured rings */
.jnode-person .av { width: 60px; height: 60px; font-size: 17px; border: 4px solid rgba(255,255,255,.9); }
.jnode-person.y .av { border-color: var(--tg-yellow); box-shadow: 0 0 22px rgba(245,179,1,.4); }
.jnode-person.o .av { border-color: var(--tg-orange); box-shadow: 0 0 22px rgba(245,166,35,.4); }
.jnode-person.p .av { border-color: var(--tg-purple); box-shadow: 0 0 22px rgba(181,108,245,.42); }
.jnode-center .av { border-color: var(--tg-blue); box-shadow: 0 0 0 6px rgba(45,127,249,.18), 0 0 30px rgba(45,127,249,.5); }
.jnode-center .ring { border-color: var(--tg-blue); }

@media (prefers-reduced-motion: reduce) {
  .jgraph-edges .flow { animation: none; }
}

/* =========================================================
   8c · TEAMWORK GRAPH - full-bleed, photo avatars, brand tiles
   Full-screen dark canvas with the copy overlaid top-left.
   ========================================================= */
.tg-sec { position: relative; padding: 0; overflow: hidden;
  background: radial-gradient(120% 95% at 68% 42%, #14161f 0%, #0a0b0f 62%); }
.tg-stage { position: relative; width: 100%; height: min(92vh, 940px); }
.tg-stage::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(82% 82% at 62% 45%, #000 55%, transparent 100%);
          mask-image: radial-gradient(82% 82% at 62% 45%, #000 55%, transparent 100%); }
.tg-sec .jgraph-edges { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; overflow: visible; }

/* left-side scrim keeps the overlaid copy readable without dimming the graph */
.tg-scrim { position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: linear-gradient(90deg, rgba(10,11,15,.94) 0%, rgba(10,11,15,.62) 24%, rgba(10,11,15,0) 46%); }
.tg-copy { position: absolute; z-index: 5; left: clamp(20px, 6vw, 116px); top: clamp(40px, 13vh, 160px); max-width: 400px; }
.tg-copy .j-eyebrow { color: var(--al-blue-300); }
.tg-copy h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(34px, 4.4vw, 52px);
  line-height: 1.08; letter-spacing: -.015em; color: #fff; margin: 12px 0 0; }
.tg-copy h2 .al-hl { color: var(--al-blue-300); }
.tg-copy p { color: rgba(255,255,255,.72); font-size: 17px; line-height: 1.55; margin: 18px 0 0; max-width: 360px; }
.tg-copy .jgraph-cta { margin-top: 26px; }

/* photo avatars */
.tg-stage .jnode { z-index: 2; }
.jnode-person .av { background-size: cover; background-position: center; }
.jnode-hub .av { width: 92px; height: 92px; }
.tg-lock { margin-top: -12px; display: inline-flex; align-items: center; gap: 6px; background: #fff; color: var(--j-ink);
  font-family: var(--font-display); font-weight: 800; font-size: 11.5px; border-radius: 20px; padding: 4px 10px 4px 7px;
  box-shadow: var(--shadow-md); }
.tg-lock img { height: 14px; }

/* brand-logo (dark) tiles */
.jnode-app.d { background: #111319; border: 2px solid rgba(255,255,255,.16); color: #fff; box-shadow: 0 8px 22px rgba(0,0,0,.5); }
.jnode-app img { width: 26px; height: 26px; object-fit: contain; display: block; }

@media (max-width: 860px) {
  /* stack the copy (centred) above a shrunken graph */
  .tg-sec { padding: 44px 0 0; }
  .tg-scrim { display: none; }
  .tg-copy { position: relative; left: auto; top: auto; max-width: 640px; margin: 0 auto;
    text-align: center; padding: 0 6px; }
  .tg-copy p { margin-left: auto; margin-right: auto; }
  .tg-stage { height: 520px; }
  .jnode-pill { font-size: 11px; padding: 6px 9px; }
  .jnode-app { width: 34px; height: 34px; font-size: 16px; }
  .jnode-hub .av { width: 64px; height: 64px; }
  .jnode-person .av { width: 42px; height: 42px; }
}
@media (max-width: 640px) {
  /* keep the full graph on phones, scaled down to fit (per reference) */
  .tg-sec { padding: 44px 0 40px; }
  .tg-stage { display: block; height: 460px; }
  .jnode-pill { font-size: 9.5px; padding: 5px 8px; border-radius: 9px; }
  .jnode-pill i { font-size: 13px; }
  .jnode-app { width: 28px; height: 28px; font-size: 14px; border-radius: 9px; }
  .jnode-app img { width: 17px; height: 17px; }
  .jnode-hub .av { width: 52px; height: 52px; }
  .jnode-person .av { width: 34px; height: 34px; border-width: 3px; }
  .tg-lock { font-size: 10px; padding: 3px 8px 3px 6px; }
  .tg-lock img { height: 12px; }
}

/* =========================================================
   9 · TEAMWORK GRAPH - neutral Lindy hub at the centre
   (Private-by-design security-panel styles removed with the section.)
   ========================================================= */
.jnode-hub .av { width: 84px; height: 84px; }
.jnode-lindy .av { overflow: hidden; background: radial-gradient(120% 120% at 30% 20%, #5a8cff, #2b52c9);
  border: 4px solid var(--tg-blue); box-shadow: 0 0 0 6px rgba(45,127,249,.16), 0 0 34px rgba(45,127,249,.5);
  display: flex; align-items: center; justify-content: center; }
.jnode-lindy .av img { width: 42%; height: 42%; object-fit: contain; display: block; }

/* =========================================================
   10 · USE CASES - Jira "Every team starts with Jira" layout
   Left-aligned heading, then a 4-across row of columns with
   plain colour-line icons (no tile), bold titles, descriptions.
   ========================================================= */
.juse.row { grid-template-columns: repeat(4, 1fr); gap: clamp(22px, 3vw, 44px); margin-top: clamp(40px, 5vw, 72px); }
.juse.row .juse-ic { width: auto; height: auto; background: none !important; border-radius: 0;
  font-size: 34px; justify-content: flex-start; margin-bottom: 14px; }
.juse.row .juse-t { font-size: 24px; margin: 0; }
.juse.row .juse-d { font-size: 15.5px; margin-top: 10px; max-width: none; }
@media (max-width: 980px) { .juse.row { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .juse.row { grid-template-columns: 1fr; } }

/* =========================================================
   11 · HERO email field - underline (bottom-line) style
   Scoped to the hero form so the dark closing-CTA input keeps its box.
   ========================================================= */
.jhero-form .jhero-input { height: 46px; padding: 0 2px; background: transparent;
  border: none; border-bottom: 2px solid var(--al-line-2); border-radius: 0; box-shadow: none; }
.jhero-form .jhero-input:focus { background: transparent; box-shadow: none; border-bottom-color: var(--al-blue); }
.jhero-form .jhero-input.err { box-shadow: none; border-bottom-color: var(--al-danger); }
.jhero-form .jhero-help { font-size: 13px; color: var(--al-text-3); margin: 9px 0 0; }

/* =========================================================
   12 · "SLOTS INTO HOW YOU WORK" tiles - Atlassian collage
   Brand colour block + grayscale photo + hand-drawn doodle +
   a crisp floating UI chip. Human-designed, not AI-native.
   ========================================================= */
.jwx { position: relative; height: 268px; border-radius: var(--radius-2xl); overflow: hidden; box-shadow: var(--shadow-md); }
.jwx.tone-blue   { background: linear-gradient(150deg, #3b63f6 0%, #2238bf 100%); }
.jwx.tone-purple { background: linear-gradient(150deg, #8b5cf6 0%, #6a34d6 100%); }
.jwx.tone-green  { background: linear-gradient(150deg, #39a663 0%, #237c49 100%); }
.jwx.tone-amber  { background: linear-gradient(150deg, #f2b23e 0%, #dd8a1c 100%); }
/* grayscale photo cut into the lower-right, colour panel shows top-left */
.jwx-photo { position: absolute; right: 0; bottom: 0; width: 74%; height: 90%;
  background-size: cover; background-position: center 18%; filter: grayscale(1) contrast(1.04);
  border-top-left-radius: 22px; box-shadow: -10px -10px 26px rgba(0,0,0,.14); }
/* floating UI chip (crisp CSS, keeps text sharp) */
.jwx-chip { position: absolute; top: 16px; left: 16px; z-index: 2; display: inline-flex; align-items: center; gap: 9px;
  background: #fff; border-radius: 12px; box-shadow: 0 10px 24px rgba(10,20,60,.22); padding: 9px 11px; max-width: 68%; }
.jwx-ic { width: 26px; height: 26px; flex: none; border-radius: 7px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 15px; }
.jwx-ic.ok { background: var(--al-success); } .jwx-ic.q { background: #7c4ff0; } .jwx-ic.bd { background: var(--al-blue); }
.jwx-tx { min-width: 0; }
.jwx-t { font-family: var(--font-display); font-weight: 800; font-size: 12.5px; color: var(--j-ink); line-height: 1.2; white-space: nowrap; }
.jwx-s { font-size: 10.5px; color: var(--al-text-3); margin-top: 2px; white-space: nowrap; }
.jwx-logos { display: inline-flex; gap: 7px; align-items: center; }
.jwx-logos img { width: 22px; height: 22px; object-fit: contain; display: block; }
/* hand-drawn doodles */
.jwx-doodle { position: absolute; z-index: 2; pointer-events: none; }
.jwx-doodle.dd1 { top: 13px; right: 13px; height: 34px; width: auto; fill: rgba(255,255,255,.94); }
.jwx-doodle.dd2 { bottom: 13px; left: 13px; height: 40px; width: auto; fill: none; stroke: rgba(255,255,255,.94);
  stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 560px) { .jwx { height: 240px; } }

/* =========================================================
   13 · HERO doodle accents (Atlassian collage style)
   ========================================================= */
.jhero-stage { position: relative; }
.demo-doodle { position: absolute; z-index: 3; pointer-events: none; }
.demo-doodle.dd-a { top: -10px; left: -6px; width: 40px; fill: var(--al-blue); animation: doodleFloat 6s ease-in-out infinite; }
.demo-doodle.dd-b { right: -4px; bottom: 6%; width: 98px; fill: none; stroke: var(--j-ink); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.demo-doodle.dd-c { top: 4%; right: 6%; width: 82px; fill: none; stroke: var(--al-blue-400); stroke-width: 2.4; stroke-linecap: round; }
@keyframes doodleFloat { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-6px) rotate(8deg); } }

/* =========================================================
   14 · HERO demo - scale-to-fit "mini device" on mobile
   Keep the full desktop app layout and scale the whole shell to the
   phone width so nothing clips and the walkthrough still animates.
   ========================================================= */
@media (max-width: 700px) {
  /* JS (fitDemo) sets demo-shell width/transform and the stage height, since
     scale() needs a unitless number that CSS calc can't derive from the viewport. */
  .jhero-stage { overflow: hidden; }
  .demo-shell { transform-origin: top left; }
  /* keep the desktop app intact (undo the rail-collapse + short heights) so scaling looks right */
  .demo-app { grid-template-columns: 208px 1fr; height: 500px; }
  .demo-rail { flex-direction: column; overflow: visible; border-right: 1px solid var(--al-line); border-bottom: none; padding: 16px 12px; }
  .demo-rail-logo, .demo-rail-lbl { display: flex; }
  .demo-doodle { display: none; }
}
@media (prefers-reduced-motion: reduce) { .demo-doodle { animation: none; } }

/* =========================================================
   15 · CLOSING CTA - underline (bottom-line) input on dark
   ========================================================= */
.jcta2-form .jhero-input { background: transparent; border: none; border-bottom: 2px solid rgba(255,255,255,.35);
  border-radius: 0; box-shadow: none; color: #fff; padding: 0 2px; }
.jcta2-form .jhero-input::placeholder { color: rgba(255,255,255,.5); }
.jcta2-form .jhero-input:focus { background: transparent; box-shadow: none; border-bottom-color: #fff; }
.jcta2-form .jhero-input.err { box-shadow: none; border-bottom-color: var(--al-danger); }

/* =========================================================
   16 · HOW-IT-WORKS layout - tab+panel items
   Desktop: tabs stack left, the active panel fills a right stage.
   Mobile (<=980): accordion - the active panel drops inline under
   its active tab (matches Jira mobile). Structure = .jt > .jt-item
   (display:contents) each holding a .jt-tab + its .jt-panel.
   ========================================================= */
.jt { display: block; position: relative; min-height: 512px; align-items: initial; }
.jt-item { display: contents; }
.jt-pause { position: relative; z-index: 2; }
.jt-tab { width: 42%; }
.jt-panel { position: absolute; top: 0; right: 0; left: auto; bottom: auto; width: 56%; height: 100%;
  border-radius: var(--radius-2xl); overflow: hidden;
  box-shadow: 0 8px 20px rgba(16,18,20,.10), 0 30px 60px -24px rgba(16,18,20,.30); }

@media (max-width: 980px) {
  .jt { min-height: 0; }
  .jt-tab { width: 100%; }
  .jt-panel { position: static; left: auto; right: auto; top: auto; width: 100%; height: auto;
    opacity: 1; transform: none; display: none; margin-top: 14px; }
  .jt-panel.on { display: flex; }
  /* only the active tab's description (undo the base "expand all" at <=980) */
  .jt-tab-d { max-height: 0; opacity: 0; margin-top: 0; }
  .jt-tab.on .jt-tab-d { max-height: 220px; opacity: 1; margin-top: 9px; }
}


/* =========================================================
   17 · Late overrides (must win over base .jnode-hub .av declared
   after the earlier mobile blocks) - graph hub size on phones.
   ========================================================= */
@media (max-width: 640px) {
  .jnode-hub .av { width: 52px; height: 52px; }
}

/* =========================================================
   TESTIMONIALS - Jira-style solid colored cards (grid).
   Each card is a full-bleed brand color with white text, a big
   open-quote mark, the quote, then avatar + name + role.
   ========================================================= */
.jtestg { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; }
.jtestg-card { margin: 0; position: relative; overflow: hidden; display: flex; flex-direction: column;
  background: var(--tc, var(--al-blue)); color: #fff; border-radius: var(--radius-2xl);
  padding: clamp(28px, 3.4vw, 44px); box-shadow: var(--shadow-lg); isolation: isolate;
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out); }
.jtestg-card::after { content: ""; position: absolute; right: -40px; bottom: -60px; width: 200px; height: 200px;
  border-radius: 50%; background: rgba(255,255,255,.08); z-index: -1; }
.jtestg-card:hover { transform: translateY(-4px); box-shadow: 0 30px 60px rgba(16,18,20,.22); }
.jtestg-mark { font-family: var(--font-display); font-size: 64px; font-weight: 800; line-height: .5;
  height: 34px; color: rgba(255,255,255,.55); }
.jtestg-text { font-family: var(--font-display); font-size: clamp(18px, 1.7vw, 23px); font-weight: 700;
  line-height: 1.4; letter-spacing: -.01em; margin: 18px 0 0; color: #fff; }
.jtestg-by { display: flex; align-items: center; gap: 13px; margin-top: 26px; }
.jtestg-av { width: 46px; height: 46px; border-radius: 50%; flex: none; display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.22); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 15px; }
.jtestg-meta { display: flex; flex-direction: column; }
.jtestg-name { font-family: var(--font-display); font-weight: 800; font-size: 15px; color: #fff; }
.jtestg-role { font-size: 13px; color: rgba(255,255,255,.8); margin-top: 1px; }
@media (max-width: 560px) {
  .jtestg { grid-template-columns: 1fr; gap: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .jtestg-card { transition: none; }
  .jtestg-card:hover { transform: none; }
}

/* =========================================================
   TILE ART - hand-built animated visuals (replace photos).
   1) art-thread: a tangled ball of thread (the follow-ups you
      juggle in your head) resolving into neat, dated task rows.
   2) jwx-stack: your tools linking into Lindy at the center.
   Motion echoes the hero - a continuous, low-key loop.
   ========================================================= */
/* hero - hand-drawn doodle underline on one word (draws itself in) */
.hl-doodle { position: relative; display: inline-block; white-space: nowrap; }
.hl-uline { position: absolute; left: -3%; bottom: -.14em; width: 106%; height: .42em; overflow: visible; pointer-events: none; }
.hl-uline path { fill: none; stroke: var(--al-blue); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 260; stroke-dashoffset: 260; animation: hlDraw 1.1s var(--ease-out) .55s forwards; }
@keyframes hlDraw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .hl-uline path { animation: none; stroke-dashoffset: 0; } }

.jwx-art { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; }
/* static: a call card (waveform + AI sparkle) connected to all three
   drafted, checked task rows. No motion by request. */
.art-thread .trow { opacity: 1; }
.art-thread .draft-spark { opacity: .9; }

/* Jira-style integrations row: bold solid-color hexagons (honeycomb) with
   white mono logos, tightly overlapping on a white pill, then a circular
   "+more". Uses Lindy's real tools (no false count). */
.jwx-hexrow { position: absolute; left: 50%; top: 47%; transform: translate(-50%,-50%); z-index: 1;
  max-width: calc(100% - 32px); display: inline-flex; align-items: center; background: #fff; border-radius: 999px;
  padding: 6px 10px; box-shadow: 0 14px 30px rgba(10,30,20,.22); }
.jwx-hex { width: 42px; height: 47px; margin-left: -12px; flex: none; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(160deg, #262a36 0%, #0b0d13 100%);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  animation: hexPop .5s var(--spring) both; }
.jwx-hex:first-child { margin-left: 0; }
.jwx-hex img { width: 21px; height: 21px; object-fit: contain; display: block; }
.jwx-more { width: 42px; height: 42px; margin-left: -6px; flex: none; border-radius: 50%; background: var(--j-band);
  display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 800; font-size: 10.5px; color: var(--al-text-2);
  box-shadow: inset 0 0 0 1px var(--al-line); animation: hexPop .5s var(--spring) both; }
.reveal.in .jwx-hex:nth-child(1) { animation-delay: .04s; }
.reveal.in .jwx-hex:nth-child(2) { animation-delay: .12s; }
.reveal.in .jwx-hex:nth-child(3) { animation-delay: .2s; }
.reveal.in .jwx-hex:nth-child(4) { animation-delay: .28s; }
.reveal.in .jwx-hex:nth-child(5) { animation-delay: .36s; }
.reveal.in .jwx-more { animation-delay: .44s; }
@keyframes hexPop { 0% { opacity: 0; transform: translateY(8px) scale(.85); } 100% { opacity: 1; transform: none; } }
@media (max-width: 560px) {
  .jwx-hexrow { padding: 6px 9px; }
  .jwx-hex { width: 40px; height: 45px; } .jwx-hex img { width: 20px; height: 20px; }
  .jwx-more { width: 40px; height: 40px; font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .art-thread .draft-wave rect, .art-thread .draft-spark, .art-thread .thread-link, .art-thread .trow, .jwx-hex, .jwx-more { animation: none; }
  .art-thread .trow, .jwx-hex, .jwx-more { opacity: 1; transform: none; }
}

/* =========================================================
   #how · SCENARIO 01 - Lindy READS the meeting notes your tools
   already captured and drafts the tasks. No bot in the call:
   a source-notes card with a scan sweep, a "scanning → drafting"
   pill, resolving into a drafted task + more on the way.
   ========================================================= */
.jt-cap { gap: 12px; }
.jt-src { background: #fff; border: var(--card-border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); overflow: hidden; }
.jt-src-h { display: flex; align-items: center; gap: 10px; padding: 11px 13px; border-bottom: 1px solid var(--al-line); }
.jt-src-ic { width: 30px; height: 30px; border-radius: 8px; background: var(--j-band); display: flex; align-items: center; justify-content: center; flex: none; }
.jt-src-ic img { width: 18px; height: 18px; object-fit: contain; }
.jt-src-tx { min-width: 0; flex: 1; }
.jt-src-tx b { display: block; font-family: var(--font-display); font-weight: 800; font-size: 13px; color: var(--j-ink); line-height: 1.2; }
.jt-src-tx small { font-size: 10.5px; color: var(--al-text-3); }
.jt-src-badge { font-family: var(--font-display); font-weight: 800; font-size: 9.5px; letter-spacing: .05em; text-transform: uppercase; color: var(--al-text-3); background: var(--j-band); padding: 3px 8px; border-radius: 999px; }
.jt-src-body { position: relative; overflow: hidden; padding: 13px; display: flex; flex-direction: column; gap: 9px; }
.jt-note-l { margin: 0; font-size: 13px; line-height: 1.42; color: var(--j-ink); }
.jt-notepill { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; background: var(--al-blue-50);
  color: var(--al-blue); font-family: var(--font-display); font-weight: 700; font-size: 12.5px; padding: 7px 13px; border-radius: 999px; }
.jt-nt-spin { width: 13px; height: 13px; border-radius: 50%; border: 2px solid var(--al-blue-200); border-top-color: var(--al-blue); animation: jtSpin .8s linear infinite; }
@keyframes jtSpin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .jt-nt-spin { animation: none; }
}

/* =========================================================
   #how · SCENARIO 01 - ONE-SCREEN Capture story. A live meeting
   is transcribed (LEFT = two-person video call over a scenic
   backdrop; RIGHT = notes typing in) and Lindy drafts tasks into
   the SAME screen. Cream / parchment surface, serif title.
   ========================================================= */
/* colour sits BEHIND the card; the card itself is clean white */
#ho-p0 { background: linear-gradient(158deg, #e7ddc7 0%, #d8c6a6 100%); }
.jt-meetwin { background: #fff; border: 1px solid rgba(30,30,40,.07);
  box-shadow: 0 2px 8px rgba(40,34,20,.12), 0 26px 50px -20px rgba(40,34,20,.34); }
.jt-meetbar { background: transparent; border-bottom: none; padding: 13px 16px 2px; }
.jt-meetbar .dot { background: #d9dbe1; }

.jt-meet { flex-direction: row; gap: 16px; padding: 6px 18px 18px; align-items: stretch; overflow: visible; }

/* LEFT · video call column over scenic backdrop */
.jt-meet-video { position: relative; flex: none; width: 39%; min-width: 148px; }
.jt-meet-cam { position: absolute; inset: 0; border-radius: 16px; overflow: hidden; background: #0f1115;
  box-shadow: 0 14px 30px -12px rgba(40,30,10,.45); }
.jt-meet-scenic { position: absolute; inset: 0;
  background: linear-gradient(180deg,#bcd6e8 0%,#cdba90 33%,#8fb3a4 60%,#3f8f86 100%); }
.jt-meet-cam .jt-call-tile { position: absolute; left: 0; right: 0; height: 50%; }
.jt-meet-cam .jt-call-tile:first-of-type { top: 0; }
.jt-meet-cam .jt-call-tile:nth-of-type(2) { top: 50%; border-top: 3px solid #0f1115; }
.jt-meet-cam .jt-call-tile .av { position: absolute; inset: 0; background-size: cover; background-position: center 25%; }
.jt-call-ctrl { position: absolute; left: 0; right: 0; bottom: 10px; z-index: 3;
  display: flex; align-items: center; justify-content: center; gap: 8px; }
.jt-call-ctrl .c { width: 27px; height: 27px; border-radius: 50%; display: flex; align-items: center;
  justify-content: center; font-size: 12px; color: #fff; background: rgba(18,18,22,.6); backdrop-filter: blur(3px); }
.jt-call-ctrl .c.end { background: #E5484D; }

/* dark "Transcribing" pill floats over the video's bottom edge */
.jt-notepill.dark { position: absolute; left: 50%; bottom: -13px; transform: translateX(-50%); z-index: 4;
  background: #1c1d22; color: #fff; box-shadow: 0 8px 20px -6px rgba(0,0,0,.45); white-space: nowrap; }
.jt-notepill.dark .jt-eq i { background: #fff; }
.jt-notepill .jt-eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 13px; }
.jt-notepill .jt-eq i { width: 3px; height: 5px; border-radius: 2px; background: var(--al-blue); }
.jt-panel.on .jt-eq i { animation: jtEq .9s ease-in-out infinite; }
.jt-panel.on .jt-eq i:nth-child(2) { animation-delay: .2s; }
.jt-panel.on .jt-eq i:nth-child(3) { animation-delay: .4s; }
@keyframes jtEq { 0%,100% { height: 5px; } 50% { height: 13px; } }

/* RIGHT · notes being transcribed + tasks Lindy drafts (same screen) */
.jt-meet-right { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 12px; padding-top: 4px; }
.jt-meet-head { display: flex; flex-direction: column; gap: 9px; }
.jt-meet-title { margin: 0; font-family: Georgia, 'Times New Roman', 'Tiempos Text', serif;
  font-weight: 500; font-size: 26px; line-height: 1.08; color: #2b2b2b; letter-spacing: .004em; }
.jt-meet-pill { align-self: flex-start; display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-display); font-weight: 600; font-size: 12.5px; color: #6b6455;
  border: 1px solid rgba(120,100,70,.28); padding: 5px 12px; border-radius: 999px; }
.jt-meet-pill i { font-size: 14px; color: #8a8271; }
.jt-meet-dv { width: 1px; height: 12px; background: rgba(120,100,70,.28); }

.jt-meet-notes { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 7px; }
.jt-meet-notes .jt-doc-l { margin: 0; font-size: 14px; line-height: 1.4; color: #57534a; }
.jt-meet-notes .jt-doc-l b { font-family: var(--font-display); font-weight: 700; margin-right: 6px; }
.jt-meet-notes .jt-doc-l b.s1 { color: #B4531F; }   /* Jack */
.jt-meet-notes .jt-doc-l b.s2 { color: #2F6F5F; }   /* Priya */
.jt-meet-notes .jt-doc-l.live { color: #2b2b2b; }
.jt-caret { display: inline-block; width: 2px; height: 15px; margin-left: 1px; vertical-align: -2px; background: #2b2b2b; }
.jt-panel.on .jt-caret { animation: jtCaret 1s steps(1) infinite; }
@keyframes jtCaret { 0%,50% { opacity: 1; } 51%,100% { opacity: 0; } }

.jt-meet-tasks { margin-top: auto; display: flex; flex-direction: column; gap: 8px; }
.jt-tasks-cap { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  font-family: var(--font-display); font-weight: 700; font-size: 12px; color: var(--al-blue);
  background: var(--al-blue-50); padding: 6px 12px; border-radius: 999px; }
.jt-meet-tasks .jt-mrow { background: #fff; border-color: rgba(120,100,70,.16); }
.jt-panel.on .jt-meet-tasks .jt-focus { animation: demoSpringIn .6s var(--spring) both; }

/* tint the scan-line to the parchment ink instead of blue */
.jt-meet-notes .jt-scan { background: linear-gradient(180deg, rgba(43,43,43,0), rgba(43,43,43,.08), rgba(43,43,43,0)); }

@media (max-width: 860px) {
  .jt-meet { flex-direction: column; }
  .jt-meet-video { width: 100%; height: 190px; }
  .jt-meet-cam .jt-call-tile { top: 0; left: 0; width: 50%; height: 100%; right: auto; }
  .jt-meet-cam .jt-call-tile:nth-of-type(2) { top: 0; left: 50%; border-top: none; border-left: 3px solid #0f1115; }
  .jt-call-ctrl { bottom: 40px; }          /* lift controls so the pill clears them */
  .jt-notepill.dark { bottom: -13px; }     /* pill overlaps the video's bottom edge */
}
@media (prefers-reduced-motion: reduce) {
  .jt-panel.on .jt-caret, .jt-panel.on .jt-eq i { animation: none; }
}

/* =========================================================
   #how · SCENARIO 01b - "Humans in the room, not bots".
   No AI bot joins - a live grid of people talking while Lindy
   records + transcribes in the background. Same cream/white
   window; a 6-up video grid with a Record CTA.
   ========================================================= */
.jt-meet-grid { align-items: stretch; }
.jt-meet-doc { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 11px; padding-top: 4px; }
.jt-meet-doc .jt-meet-title { display: inline-flex; align-items: baseline; }
.jt-meet-write { margin: 4px 0 0; font-size: 14.5px; color: #a7a294; }   /* empty-note placeholder */
/* USP band under the meeting window - full-width horizontal strip, warm tones to
   match the card's cream/gold palette (no blue, no icon - reads as a plain note) */
.jt-meet-usp { margin: 2px 18px 18px; padding: 13px 16px; border-radius: 13px;
  background: rgba(120,100,70,.06);
  border: 1px solid rgba(120,100,70,.16); }
.jt-meet-usp-c { margin: 0; font-size: 13.5px; line-height: 1.55; color: #6b6455; }
.jt-meet-usp-c b { color: #2b2b2b; font-weight: 700; }

.jt-vgrid { position: relative; flex: none; width: 58%; display: flex; flex-direction: column; }
.jt-vg-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px;
  background: #0f1115; padding: 8px; border-radius: 15px; box-shadow: 0 14px 30px -12px rgba(20,16,8,.4); }
.jt-gtile { position: relative; aspect-ratio: 1 / 1; border-radius: 9px; overflow: hidden;
  background-size: 118%; background-position: 50% 16%; }
/* "who's talking" cue - a soft brightness + lift, NO coloured stroke */
.jt-panel.on .jt-gtile { animation: gtileSpeak 5.4s ease-in-out infinite; }
.jt-gtile:nth-child(1) { animation-delay: 1.3s; }
.jt-gtile:nth-child(2) { animation-delay: 2.2s; }
.jt-gtile:nth-child(3) { animation-delay: 3.1s; }
.jt-gtile:nth-child(4) { animation-delay: 4s; }
.jt-gtile:nth-child(5) { animation-delay: 4.9s; }
.jt-gtile:nth-child(6) { animation-delay: 5.8s; }
@keyframes gtileSpeak {
  0%, 14%, 100% { filter: brightness(1); transform: scale(1); }
  3%, 11% { filter: brightness(1.12); transform: scale(1.03); } }

/* recording badge over the grid */
.jt-vg-rec { position: absolute; top: 16px; left: 16px; z-index: 3; display: inline-flex; align-items: center; gap: 6px;
  background: rgba(15,17,21,.74); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 11px;
  padding: 4px 9px 4px 8px; border-radius: 999px; }
.jt-vg-rec .rdot { width: 7px; height: 7px; border-radius: 50%; background: #FF4D4D; }
.jt-panel.on .jt-vg-rec .rdot { animation: recPulse 1.4s ease-in-out infinite; }
@keyframes recPulse { 0%,100% { opacity: 1; } 50% { opacity: .3; } }

/* controls sit below the grid; Record is the clear CTA (no hangup) */
.jt-call-ctrl.vg { position: static; margin-top: 12px; }
.jt-call-ctrl .c.recbtn { position: relative; width: auto; gap: 6px; padding: 0 14px; height: 30px; border-radius: 999px;
  background: #E5484D; font-family: var(--font-display); font-weight: 700; font-size: 12.5px;
  transition: transform .15s var(--ease-out), filter .15s var(--ease-out); }
.jt-call-ctrl .c.recbtn i.ri-record-circle-fill { font-size: 15px; }
/* the Record button reacts to the demo cursor: hover-lift, then a click dip */
.jt-panel.on .c.recbtn { animation: recPress 5.4s ease-in-out infinite; }
@keyframes recPress {
  0%, 26% { transform: translateY(0) scale(1); filter: brightness(1); }
  32%, 40% { transform: translateY(-2px) scale(1.04); filter: brightness(1.06); }  /* hover */
  44% { transform: translateY(0) scale(.93); filter: brightness(.92); }             /* click */
  50%, 100% { transform: translateY(0) scale(1); filter: brightness(1); } }
/* click ripple */
.c.recbtn::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: 0 0 0 0 rgba(229,72,77,.5); opacity: 0; }
.jt-panel.on .c.recbtn::after { animation: recRipple 5.4s ease-out infinite; }
@keyframes recRipple {
  0%, 43% { box-shadow: 0 0 0 0 rgba(229,72,77,.5); opacity: 0; }
  45% { opacity: 1; }
  60%, 100% { box-shadow: 0 0 0 12px rgba(229,72,77,0); opacity: 0; } }

/* the demo cursor that moves in, hovers, and clicks Record */
.jt-rec-cursor { position: absolute; left: 50%; top: 50%; z-index: 5; pointer-events: none;
  color: #fff; font-size: 17px; line-height: 1; filter: drop-shadow(0 1px 2px rgba(0,0,0,.45)); opacity: 0; }
.jt-panel.on .jt-rec-cursor { animation: recCursor 5.4s ease-in-out infinite; }
@keyframes recCursor {
  0% { transform: translate(30px, 26px) scale(1); opacity: 0; }
  8% { opacity: 1; }
  32% { transform: translate(-1px, -1px) scale(1); opacity: 1; }   /* arrive + hover */
  44% { transform: translate(-1px, 1px) scale(.86); opacity: 1; }  /* press */
  50% { transform: translate(-1px, -1px) scale(1); opacity: 1; }
  66% { transform: translate(24px, 20px) scale(1); opacity: 0; }
  100% { transform: translate(30px, 26px); opacity: 0; } }

@media (max-width: 860px) {
  .jt-vgrid { width: 100%; }
  .jt-meet-grid { gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .jt-panel.on .jt-gtile, .jt-panel.on .jt-vg-rec .rdot,
  .jt-panel.on .c.recbtn, .jt-panel.on .c.recbtn::after, .jt-panel.on .jt-rec-cursor { animation: none; }
  .jt-rec-cursor { opacity: 0; }
}

/* =========================================================
   #how · SCENARIO 02 - the actual board: To do / In progress /
   Done columns with real task cards, so pending vs done is
   visible at a glance (mirrors the in-app board).
   ========================================================= */
.jt-boardview { gap: 12px; }
.jt-bd-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.jt-bd-title { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-display); font-weight: 800; font-size: 14px; color: var(--j-ink); }
.jt-bd-title i { color: var(--al-blue); font-size: 16px; }
.jt-bd-sum { font-size: 12px; color: var(--al-text-3); font-family: var(--font-display); font-weight: 600; }
.jt-bd-sum b { color: var(--j-ink); }
.jt-bd-sum .od { color: var(--al-danger); font-weight: 700; }
.jt-bd-dv { color: var(--al-line-2); margin: 0 2px; }
.jt-bd-cols { flex: 1; min-height: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; align-content: start; }
.jt-bd-col { background: var(--j-band); border-radius: var(--radius-md); padding: 9px; display: flex; flex-direction: column; gap: 8px; }
.jt-bd-colh { display: flex; align-items: center; gap: 7px; font-family: var(--font-display); font-weight: 800; font-size: 11.5px; color: var(--j-ink); }
.jt-bd-colh .dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.jt-bd-colh .dot.todo { background: var(--al-text-3); }
.jt-bd-colh .dot.doing { background: var(--al-blue); }
.jt-bd-colh .dot.done { background: var(--al-success); }
.jt-bd-colh .n { margin-left: auto; color: var(--al-text-3); font-weight: 700; }
.jt-bd-card { background: #fff; border: 1px solid var(--al-line); border-radius: 10px; box-shadow: var(--shadow-xs); padding: 9px 10px; }
.jt-bd-card.jt-focus { box-shadow: 0 0 0 2px var(--al-blue), var(--shadow-sm); border-color: transparent; }
.jt-bd-sumtx { font-family: var(--font-display); font-weight: 700; font-size: 12px; line-height: 1.3; color: var(--j-ink); }
.jt-bd-card.done .jt-bd-sumtx { color: var(--al-text-3); text-decoration: line-through; }
.jt-bd-foot { display: flex; align-items: center; gap: 6px; margin-top: 9px; }
.jt-bd-key { font-family: var(--font-mono, monospace); font-size: 9.5px; font-weight: 700; color: var(--al-text-3); }
.jt-bd-flag { display: inline-flex; align-items: center; gap: 3px; font-family: var(--font-display); font-weight: 700; font-size: 9.5px; padding: 2px 6px; border-radius: 5px; }
.jt-bd-flag.hi { color: var(--al-danger); background: rgba(193,48,48,.1); }
.jt-bd-flag i { font-size: 10px; }
.jt-bd-due { font-size: 10px; color: var(--al-text-3); font-weight: 600; }
.jt-bd-od { font-size: 10px; color: var(--al-danger); font-weight: 700; }
.jt-bd-av { width: 20px; height: 20px; border-radius: 50%; margin-left: auto; flex: none; display: flex; align-items: center; justify-content: center; color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 9px; }
.jt-bd-check { width: 16px; height: 16px; border-radius: 50%; background: var(--al-success); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; flex: none; }
@media (max-width: 700px) {
  .jt-bd-cols { grid-template-columns: 1fr; }
  .jt-bd-col { flex-direction: row; flex-wrap: wrap; align-items: center; }
  .jt-bd-colh { width: 100%; }
  .jt-bd-card { flex: 1; min-width: 140px; }
}

/* ============================================================
   MOBILE HEADER COVERAGE FIX
   The glass nav relies on backdrop-filter:blur to hide content behind it, but
   iOS Safari drops backdrop-filter when an ancestor uses overflow:clip (body.lp
   does, for the kinetic/hero bands). The blur then fails and the ~45% translucent
   tint lets the hero headline bleed through the bar. On mobile, use an OPAQUE
   background so coverage never depends on backdrop-filter. Desktop keeps the glass.
   ============================================================ */
@media (max-width: 980px) {
  .lp-nav,
  .lp-nav.scrolled {
    background: #ffffff;
    -webkit-backdrop-filter: none;
            backdrop-filter: none;
    border-bottom: 1px solid var(--al-line, rgba(201, 211, 240, 0.6));
    /* Own compositor layer: without it iOS repaints the fixed bar a frame late
       during momentum scroll, flashing hero content at its edge ("not fully
       covered while scrolling"). */
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
            backface-visibility: hidden;
    will-change: transform;
  }
  .lp-nav.scrolled { box-shadow: 0 1px 0 var(--al-line, rgba(201, 211, 240, 0.6)), 0 6px 18px rgba(16, 24, 64, 0.06); }
}
