/* ============================================================
   AstroLabs — Meeting → Task platform · Landing v2
   Linear-quality interaction craft, expressed entirely in the
   AstroLabs light brand (ice / navy / action-blue).
   Loaded AFTER landing.css + landing-fx.css. New components:
     · Hero with a full-fidelity Overview dashboard that fades
       into the page at the bottom (the signature moment)
     · Auto-scrolling stack marquee
     · Scroll-synced sticky feature scrollytelling
     · Vivid interactive board demo (hover / click reacts)
     · ⌘K command palette
   ============================================================ */

/* ============================================================
   HERO v2 — centered text + product dashboard, bottom fade
   ============================================================ */
.lp-hero2 { position: relative; padding: 116px 0 0; text-align: left; overflow: hidden; }
.lp-hero2-inner { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; }
.lp-hero2 h1 { font-family: var(--font-display); font-weight: 800; font-size: clamp(31px, 4vw, 50px);
  line-height: 1.12; letter-spacing: -0.022em; color: var(--al-navy); margin: 0; max-width: 1120px; }
.lp-hero2 h1 .al-hl { color: var(--al-blue); }
.lp-hero2-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; width: 100%; margin-top: 30px; flex-wrap: wrap; }
.lp-hero2-sub { font-size: 17px; line-height: 1.55; color: var(--al-text-2); margin: 0; max-width: 660px; }
.lp-hero2-badge { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 15px; font-weight: 700; color: var(--al-navy); white-space: nowrap; transition: color .15s; }
.lp-hero2-badge .new { color: var(--al-blue); font-weight: 800; }
.lp-hero2-badge i { transition: transform .18s var(--ease-out); }
.lp-hero2-badge:hover { color: var(--al-blue); }
.lp-hero2-badge:hover i { transform: translateX(3px); }
.lp-kbd-hint { display: inline-flex; align-items: center; gap: 7px; }
.lp-kbd { display: inline-flex; align-items: center; gap: 3px; font-family: var(--font-display); font-weight: 700;
  font-size: 11px; color: var(--al-text-2); background: #fff; border: 1px solid var(--al-line-2);
  border-bottom-width: 2px; border-radius: 6px; padding: 3px 7px; }

/* --- the product-shot stage + bottom fade --- */
.hd-stage { position: relative; margin-top: 40px; padding: 0 24px; }
.hd-wrap { position: relative; max-width: 1200px; margin: 0 auto; perspective: 2400px; }
.hd { position: relative; transform-origin: 50% 0%; transform: rotateX(7deg) scale(1.0);
  transition: transform .9s var(--ease-out); will-change: transform; }
.hd-wrap.lifted .hd { transform: rotateX(0deg); }
@media (prefers-reduced-motion: reduce) { .hd { transform: none !important; } }
/* the fade that melts the dashboard into the page bottom — signature */
.hd-fade { position: absolute; left: -40px; right: -40px; bottom: -2px; height: 360px; z-index: 4; pointer-events: none;
  background: linear-gradient(to bottom, rgba(238,243,255,0) 0%, rgba(238,243,255,.55) 42%, var(--al-ice) 86%); }
.hd-glow { position: absolute; z-index: 0; left: 50%; top: 40px; width: 78%; height: 70%; transform: translateX(-50%);
  background: radial-gradient(60% 60% at 50% 30%, rgba(51,92,255,.20), rgba(51,92,255,0) 70%); filter: blur(20px); pointer-events: none; }

/* ============================================================
   HERO DASHBOARD — faithful recreation of the Overview screen
   (own .hd-* namespace, so the landing-fx "mute" rules never
   touch it — this shot stays full-colour & crisp)
   ============================================================ */
.hd-frame { position: relative; z-index: 1; background: #fff; border: 1px solid var(--al-line);
  border-radius: 16px 16px 0 0; box-shadow: var(--shadow-lg), 0 40px 80px -32px rgba(20,23,87,.30); overflow: hidden; }
.hd-bar { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-bottom: 1px solid var(--al-line);
  background: var(--al-paper); }
.hd-bar .d { width: 11px; height: 11px; border-radius: 50%; }
.hd-bar .url { margin: 0 auto; display: inline-flex; align-items: center; gap: 7px; height: 24px; padding: 0 14px;
  background: #fff; border: 1px solid var(--al-line); border-radius: var(--radius-pill);
  font-family: var(--font-display); font-size: 11.5px; font-weight: 600; color: var(--al-text-3); }
.hd-bar .url i { font-size: 12px; color: var(--al-success); }

.hd-app { display: flex; min-height: 660px; }

/* left rail */
.hd-rail { width: 212px; flex: none; border-right: 1px solid var(--al-line); padding: 16px 12px; display: flex; flex-direction: column; gap: 4px; }
.hd-rail-logo { height: 22px; margin: 4px 8px 16px; }
.hd-rail-logo img { height: 100%; display: block; }
.hd-navi { display: flex; align-items: center; gap: 11px; padding: 9px 11px; border-radius: var(--radius-sm);
  font-family: var(--font-display); font-size: 14px; font-weight: 400; color: var(--al-text-2); }
.hd-navi i { font-size: 18px; color: var(--al-text-3); }
.hd-navi.on { background: var(--al-blue-50); color: var(--al-blue); position: relative; }
.hd-navi.on i { color: var(--al-blue); }
.hd-navi.on::before { content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 3px; border-radius: 0 3px 3px 0; background: var(--al-blue); }
.hd-rail-lbl { font-family: var(--font-display); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  color: var(--al-text-3); padding: 18px 11px 8px; }
.hd-space { display: flex; align-items: center; gap: 10px; padding: 8px 11px; }
.hd-space .sq { width: 26px; height: 26px; border-radius: 7px; background: var(--al-blue); flex: none; }
.hd-space .nm { font-family: var(--font-display); font-size: 13.5px; font-weight: 600; color: var(--al-navy); }

/* main column */
.hd-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.hd-top { display: flex; align-items: center; gap: 12px; height: 56px; padding: 0 22px; border-bottom: 1px solid var(--al-line); }
.hd-search { flex: 1; max-width: 280px; display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px;
  background: var(--al-paper); border: 1px solid var(--al-line); border-radius: var(--radius-sm); color: var(--al-text-3); font-size: 13px; }
.hd-search i { font-size: 15px; }
.hd-top-sp { flex: 1; }
.hd-invite { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; background: var(--al-blue); color: #fff;
  border-radius: var(--radius-sm); font-family: var(--font-display); font-size: 12.5px; font-weight: 700; }
.hd-invite i { font-size: 15px; }
.hd-av { width: 32px; height: 32px; border-radius: 50%; background: #1F3BAD; color: #fff; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 12px; font-weight: 800; }
.hd-content { padding: 22px; display: flex; flex-direction: column; gap: 18px; }

/* the blue welcome hero card */
.hd-welcome { position: relative; overflow: hidden; border-radius: var(--radius-2xl); padding: 26px 30px;
  background: linear-gradient(118deg, #1F3BAD 0%, #335CFF 56%, #5986FF 100%); box-shadow: var(--shadow-md); }
.hd-welcome .rings { position: absolute; inset: 0; pointer-events: none; }
.hd-welcome .rings i { position: absolute; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.14); }
.hd-welcome .rings i:nth-child(1) { width: 360px; height: 360px; top: -150px; right: -60px; }
.hd-welcome .rings i:nth-child(2) { width: 230px; height: 230px; top: -80px; right: 30px; border-color: rgba(255,255,255,.20); }
.hd-w-eyebrow { font-family: var(--font-display); font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.75); }
.hd-w-title { font-family: var(--font-display); font-size: 30px; font-weight: 800; letter-spacing: -.02em; color: #fff; margin: 8px 0 0; }
.hd-w-sub { font-size: 14px; line-height: 1.55; color: rgba(255,255,255,.86); margin: 9px 0 0; max-width: 560px; }
.hd-w-sub b { color: #fff; font-weight: 700; }
.hd-w-mets { display: flex; flex-wrap: wrap; gap: 26px 34px; margin-top: 20px; }
.hd-w-met { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-display); font-size: 13.5px; font-weight: 600; color: rgba(255,255,255,.82); }
.hd-w-met i { font-size: 16px; }
.hd-w-met b { font-family: var(--font-display); font-size: 17px; font-weight: 800; color: #fff; margin-left: 3px; }

/* overview lower grid */
.hd-grid { display: grid; grid-template-columns: 1.45fr 1fr; gap: 16px; }
.hd-card { background: #fff; border: 1px solid var(--al-line); border-radius: var(--radius-lg); padding: 16px 18px; }
.hd-card-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.hd-card-t { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-size: 15px; font-weight: 800; color: var(--al-navy); white-space: nowrap; }
.hd-card-t i { font-size: 17px; color: var(--al-blue); }
.hd-badge { font-family: var(--font-display); font-size: 11px; font-weight: 700; color: var(--al-text-3); background: var(--al-paper); white-space: nowrap;
  border: 1px solid var(--al-line); border-radius: var(--radius-pill); padding: 4px 10px; }
.hd-tabs { display: inline-flex; gap: 2px; background: var(--al-paper); border: 1px solid var(--al-line); border-radius: var(--radius-pill); padding: 2px; }
.hd-tab { font-family: var(--font-display); font-size: 11.5px; font-weight: 700; color: var(--al-text-3); padding: 5px 11px; border-radius: var(--radius-pill); display: inline-flex; gap: 5px; align-items: center; }
.hd-tab .n { background: var(--al-line); color: var(--al-text-3); border-radius: var(--radius-pill); font-size: 10px; padding: 1px 6px; }
.hd-tab.on { background: #fff; color: var(--al-blue); box-shadow: var(--shadow-xs); }
.hd-tab.on .n { background: var(--al-blue-50); color: var(--al-blue); }

/* coming-up timeline */
.hd-cu { display: flex; flex-direction: column; }
.hd-cu-row { display: flex; gap: 16px; padding: 12px 0; border-top: 1px solid var(--al-line); }
.hd-cu-row:first-child { border-top: none; padding-top: 2px; }
.hd-cu-date { width: 56px; flex: none; display: flex; gap: 9px; align-items: baseline; }
.hd-cu-num { font-family: var(--font-display); font-size: 26px; font-weight: 800; color: var(--al-navy); line-height: 1; letter-spacing: -.02em; }
.hd-cu-md { line-height: 1.2; }
.hd-cu-mo { font-family: var(--font-display); font-size: 12px; font-weight: 700; color: var(--al-navy); display: flex; align-items: center; gap: 5px; }
.hd-cu-mo .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--al-blue); }
.hd-cu-wd { font-size: 11px; color: var(--al-text-3); }
.hd-cu-evs { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.hd-ev { display: flex; gap: 11px; align-items: flex-start; }
.hd-ev .bar { width: 3px; align-self: stretch; border-radius: 3px; background: var(--al-blue); flex: none; min-height: 36px; }
.hd-ev.empty .bar { background: var(--al-line-2); }
.hd-ev .t { font-family: var(--font-display); font-size: 13.5px; font-weight: 700; color: var(--al-navy); }
.hd-ev.empty .t { color: var(--al-text-3); font-weight: 600; }
.hd-ev-meta { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; margin-top: 4px; }
.hd-ev-time { font-size: 11.5px; color: var(--al-text-3); font-weight: 600; }
.hd-chip { display: inline-flex; align-items: center; gap: 4px; font-family: var(--font-display); font-size: 10.5px; font-weight: 700; }
.hd-chip i { font-size: 13px; }
.hd-chip.first { color: var(--al-text-3); }
.hd-chip.recur { color: var(--al-blue); }

/* epics breakdown */
.hd-epics { display: flex; flex-direction: column; gap: 11px; }
.hd-epic { display: grid; grid-template-columns: 124px 1fr 22px; gap: 10px; align-items: center; }
.hd-epic-nm { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-display); font-size: 12.5px; font-weight: 600; color: var(--al-navy); }
.hd-epic-nm .d { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.hd-epic-top { font-family: var(--font-display); font-size: 9px; font-weight: 800; color: var(--al-blue); background: var(--al-blue-50); border-radius: var(--radius-pill); padding: 2px 6px; }
.hd-epic-track { height: 8px; border-radius: 5px; background: var(--al-paper); border: 1px solid var(--al-line); overflow: hidden; }
.hd-epic-fill { height: 100%; border-radius: 5px; }
.hd-epic-n { font-family: var(--font-display); font-size: 12.5px; font-weight: 800; color: var(--al-text-2); text-align: right; }

/* agent run */
.hd-agent-sum { font-size: 12.5px; line-height: 1.55; color: var(--al-text-2); }
.hd-agent-sum b { color: var(--al-navy); font-weight: 700; }
.hd-agent-lbl { font-family: var(--font-display); font-size: 10px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--al-text-3); margin: 13px 0 8px; }
.hd-skip { display: flex; gap: 8px; align-items: flex-start; padding: 9px 11px; border: 1px dashed var(--al-line-2); border-radius: var(--radius-md); background: rgba(247,249,255,.7); }
.hd-skip i { color: var(--al-text-3); font-size: 15px; margin-top: 1px; }
.hd-skip-t { font-family: var(--font-display); font-size: 12px; font-weight: 700; color: var(--al-text-2); }
.hd-skip-d { font-size: 11px; color: var(--al-text-3); margin-top: 1px; }

/* ============================================================
   STACK MARQUEE — "works with your stack", auto-scrolling
   ============================================================ */
.lp-marquee-sec { padding: 56px 0 8px; position: relative; }
.lp-marquee-lead { text-align: center; font-family: var(--font-display); font-size: 13px; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase; color: var(--al-text-3); margin-bottom: 30px; }
.lp-marquee { position: relative; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.lp-marquee-track { display: flex; width: max-content; gap: 18px; animation: lpMarquee 38s linear infinite; }
.lp-marquee:hover .lp-marquee-track { animation-play-state: paused; }
@keyframes lpMarquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .lp-marquee-track { animation: none; } }
.lp-mq-item { display: inline-flex; align-items: center; gap: 11px; flex: none; height: 56px; padding: 0 22px;
  background: transparent; border: 1px solid var(--al-line-2); border-radius: var(--radius-md); box-shadow: none;
  transition: border-color .18s var(--ease-out), background .18s, transform .18s, box-shadow .18s; }
.lp-mq-item:hover { border-color: var(--al-blue); background: rgba(255,255,255,.7); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.lp-mq-item:hover .lp-mq-name { color: var(--al-blue); }
.lp-mq-item img { width: 24px; height: 24px; object-fit: contain; }
.lp-mq-item i { font-size: 22px; }
.lp-mq-name { font-family: var(--font-display); font-size: 15px; font-weight: 700; color: var(--al-navy); white-space: nowrap; }

/* ============================================================
   SCROLLYTELLING — sticky feature demo that swaps as you scroll
   ============================================================ */
.fs { position: relative; padding: 0 0 40px; }
.fs-grid { display: grid; grid-template-columns: 1fr 1.08fr; gap: 56px; align-items: start; }
.fs-steps { display: flex; flex-direction: column; }
.fs-step { padding: 24px 0; min-height: 62vh; display: flex; flex-direction: column; justify-content: center;
  opacity: .42; transition: opacity .4s var(--ease-out); cursor: pointer; }
.fs-step.on { opacity: 1; }
.fs-step-n { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-display); font-size: 13px; font-weight: 800; color: var(--al-blue); }
.fs-step-n .num { width: 26px; height: 26px; border-radius: 8px; background: var(--al-blue-50); display: inline-flex; align-items: center; justify-content: center; font-size: 12px; transition: background .3s, color .3s; }
.fs-step.on .fs-step-n .num { background: var(--al-blue); color: #fff; }
.fs-step h3 { font-family: var(--font-display); font-size: clamp(24px, 3vw, 32px); font-weight: 800; letter-spacing: -.02em; color: var(--al-navy); margin: 14px 0 0; }
.fs-step p { font-size: 16px; line-height: 1.6; color: var(--al-text-2); margin: 12px 0 0; max-width: 440px; }
.fs-step-bar { margin: 12px 0 2px; height: 3px; width: 46px; background: var(--al-line); border-radius: 3px; overflow: hidden; }
.fs-step-bar span { display: block; height: 100%; width: 0; background: var(--al-blue); border-radius: 3px; transition: width .35s var(--ease-out); }
.fs-step.on .fs-step-bar span { width: 100%; }

.fs-sticky { position: sticky; top: calc(50vh - 245px); height: auto; }
.fs-screen { position: relative; width: 100%; height: 478px; background: linear-gradient(165deg, #F4F7FF, #E7EEFF);
  border: 1px solid var(--al-line); border-radius: var(--radius-2xl); box-shadow: var(--shadow-lg); overflow: hidden; }
.fs-panel { position: absolute; inset: 0; padding: 28px; display: flex; flex-direction: column; gap: 14px;
  opacity: 0; transform: translateY(16px) scale(.985); pointer-events: none; transition: opacity .5s var(--ease-out), transform .5s var(--ease-out); }
.fs-panel.on { opacity: 1; transform: none; pointer-events: auto; }
.fs-panel-h { display: flex; align-items: center; gap: 12px; }
.fs-panel-ic { width: 42px; height: 42px; flex: none; border-radius: var(--radius-md); background: var(--al-blue-50); color: var(--al-blue);
  display: flex; align-items: center; justify-content: center; font-size: 21px; }
.fs-panel-t { font-family: var(--font-display); font-size: 15px; font-weight: 800; color: var(--al-navy); }
.fs-panel-s { font-size: 12.5px; color: var(--al-text-3); }

/* ---- animated skeleton-mock components (panels come alive) ---- */
.fsm-tasks { margin-left: auto; font-family: var(--font-display); font-size: 12px; font-weight: 700; color: var(--al-text-2);
  background: var(--al-paper); border: 1px solid var(--al-line); border-radius: var(--radius-pill); padding: 5px 11px; white-space: nowrap; }
.fsm-tasks b { color: var(--al-blue); font-weight: 800; }
.fsm-rows { display: flex; flex-direction: column; gap: 9px; }
.fsm-row { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--al-line); border-radius: var(--radius-md); padding: 12px 14px; box-shadow: var(--shadow-xs); }
.fsm-ric { width: 30px; height: 30px; border-radius: 8px; flex: none; background: var(--al-blue-50); color: var(--al-blue); display: flex; align-items: center; justify-content: center; font-size: 15px; }
.fsm-lines { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.fsm-bar { height: 8px; border-radius: 5px; background: var(--al-line-2); }
.fsm-bar.sm { height: 6px; background: var(--al-line); }
.fsm-bar.w80 { width: 80%; } .fsm-bar.w75 { width: 75%; } .fsm-bar.w70 { width: 70%; } .fsm-bar.w60 { width: 60%; } .fsm-bar.w45 { width: 45%; }
.fsm-chip { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 10px; border-radius: var(--radius-pill);
  font-family: var(--font-display); font-size: 11px; font-weight: 700; white-space: nowrap; flex: none; }
.fsm-chip i { font-size: 13px; }
.fsm-chip.ok { background: #E6F7EE; color: var(--al-success); }
.fsm-chip.ai { background: var(--al-blue-50); color: var(--al-blue); }
.fsm-chip.drafting { background: var(--al-paper); color: var(--al-text-3); border: 1px solid var(--al-line); }
.fsm-chip.prio.hi { background: #FDECEC; color: var(--al-danger); }
.fsm-chip.prio.md { background: #FFF3E0; color: var(--al-warning); }
.fsm-chip.prio.lo { background: var(--al-blue-50); color: var(--al-blue-400); }
.fsm-chip.due { background: #FFF3E0; color: var(--al-warning); }
.fsm-col { background: var(--al-paper); border: 1px solid var(--al-line); border-radius: var(--radius-lg); padding: 12px; display: flex; flex-direction: column; gap: 10px; }
.fsm-col-h { display: flex; align-items: center; gap: 8px; padding: 2px 2px 0; }
.fsm-col-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--al-text-3); }
.fsm-col-dot.blue { background: var(--al-blue); }
.fsm-col-nm { font-family: var(--font-display); font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--al-text-2); }
.fsm-col-n { margin-left: auto; font-family: var(--font-display); font-size: 11px; font-weight: 700; color: var(--al-text-3);
  background: var(--al-line); border-radius: var(--radius-pill); min-width: 20px; height: 20px; padding: 0 6px; display: inline-flex; align-items: center; justify-content: center; }
.fsm-cards { display: flex; flex-direction: column; gap: 9px; }
.fsm-card { position: relative; background: #fff; border: 1px solid var(--al-line); border-radius: 10px; padding: 11px 12px 11px 14px; box-shadow: var(--shadow-xs); display: flex; flex-direction: column; gap: 9px; }
.fsm-stripe { position: absolute; left: 0; top: 10px; bottom: 10px; width: 3px; border-radius: 0 3px 3px 0; background: var(--al-line-2); transition: background .35s var(--ease-out); }
.fsm-stripe.hi { background: var(--al-danger); } .fsm-stripe.md { background: var(--al-warning); } .fsm-stripe.lo { background: var(--al-blue-400); }
.fsm-cardrow { display: flex; align-items: center; gap: 10px; }
.fsm-cardrow .fsm-bar { flex: 1; }
.fsm-chips { display: flex; flex-wrap: wrap; gap: 5px; }
@keyframes fsmIn { from { transform: translateY(-10px); } to { transform: none; } }
.fsm-enter { animation: fsmIn .45s var(--ease-out); }
@keyframes fsmPop { 0% { transform: scale(.6); } 70% { transform: scale(1.12); } 100% { transform: scale(1); } }
.fsm-pop { animation: fsmPop .4s var(--ease-out); }
@keyframes fsmSpin { to { transform: rotate(360deg); } }
.fsm-chip .spin { display: inline-block; animation: fsmSpin .9s linear infinite; }
@media (prefers-reduced-motion: reduce) { .fsm-enter, .fsm-pop, .fsm-slide, .fsm-drop, .ib-card.ib-in { animation: none !important; } .fsm-chip .spin { animation: none !important; } }

/* ---- 01 review: meeting summaries slide in from the right edge ---- */
@keyframes fsmSlideIn { from { transform: translateX(46px); } to { transform: none; } }
.fsm-row.fsm-slide, .fsb-log-row.fsm-slide { animation: fsmSlideIn .5s var(--ease-out); }
@keyframes fsmFadeOut { to { opacity: 0; transform: translateX(-12px); } }
.fsm-row.fsm-out, .fsm-card.fsm-out { animation: fsmFadeOut .35s var(--ease-out) forwards; }

/* ---- 02 capture: cards dropped in, as if dragged ---- */
@keyframes fsmDrop { 0% { transform: translateY(-52px) rotate(-4deg) scale(1.06); }
  62% { transform: translateY(5px) rotate(0deg) scale(1); } 100% { transform: translateY(0) scale(1); } }
.fsm-card.fsm-drop { animation: fsmDrop .55s var(--ease-out); }
@keyframes fsmLand { 0% { box-shadow: 0 14px 30px -8px rgba(51,92,255,.5); } 100% { box-shadow: var(--shadow-xs); } }
.fsm-card.fsm-drop { box-shadow: var(--shadow-xs); animation: fsmDrop .55s var(--ease-out), fsmLand .5s var(--ease-out) .5s; }
.fsm-card .fsm-grab { position: absolute; right: 9px; top: 9px; font-size: 14px; color: var(--al-blue-300); }

/* ---- 03 prioritize: two columns (This Week vs Backlog) ---- */
.fsm-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-items: start; }
.fsm-2col .fsm-col { min-height: 232px; }
.fsm-card.lo-dim { opacity: .82; }

/* ---- 04 prepare: skeleton multi-stakeholder brief ---- */
.fsb { display: flex; flex-direction: column; gap: 11px; }
.fsb-people { display: flex; gap: 8px; flex-wrap: wrap; }
.fsb-chip { display: inline-flex; align-items: center; gap: 7px; padding: 4px 12px 4px 5px; border-radius: var(--radius-pill);
  background: #fff; border: 1px solid var(--al-line); transition: border-color .25s, background .25s, transform .25s; }
.fsb-chip .av { width: 22px; height: 22px; border-radius: 50%; color: #fff; font-family: var(--font-display); font-size: 9px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.fsb-chip .nm { font-family: var(--font-display); font-size: 12px; font-weight: 700; color: var(--al-text-2); }
.fsb-chip.on { border-color: var(--al-blue); background: var(--al-blue-50); transform: translateY(-2px); }
.fsb-chip.on .nm { color: var(--al-blue); }
.fsb-card { background: #fff; border: 1px solid var(--al-line); border-radius: var(--radius-lg); padding: 14px 15px; display: flex; flex-direction: column; gap: 13px; box-shadow: var(--shadow-xs); }
.fsb-person { display: flex; align-items: center; gap: 11px; }
.fsb-av { width: 38px; height: 38px; border-radius: 50%; flex: none; color: #fff; font-family: var(--font-display); font-size: 13px; font-weight: 800; display: flex; align-items: center; justify-content: center; background: var(--al-blue); transition: background .3s; }
.fsb-id-name { display: block; font-family: var(--font-display); font-size: 14px; font-weight: 800; color: var(--al-navy); }
.fsb-id-role { display: block; font-size: 11.5px; color: var(--al-text-3); margin-top: 1px; }
.fsb-row { display: flex; flex-direction: column; gap: 7px; }
.fsb-lbl { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-display); font-size: 10.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--al-text-3); }
.fsb-lbl i { font-size: 13px; color: var(--al-blue); }
.fsb-bars { display: flex; flex-direction: column; gap: 6px; }
.fsb-log { background: var(--al-paper); border: 1px solid var(--al-line); border-radius: var(--radius-md); padding: 10px 12px; }
.fsb-log-h { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-display); font-size: 10.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--al-text-3); margin-bottom: 9px; }
.fsb-log-h i { color: var(--al-blue); font-size: 13px; }
.fsb-log-rows { display: flex; flex-direction: column; gap: 8px; }
.fsb-log-row { display: flex; align-items: center; gap: 9px; }
.fsb-log-row .av { width: 20px; height: 20px; border-radius: 50%; flex: none; color: #fff; font-family: var(--font-display); font-size: 8.5px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.fsb-log-row .ln { flex: 1; height: 7px; border-radius: 4px; background: var(--al-line-2); }
.fsb-log-row .tm { font-family: var(--font-display); font-size: 10px; font-weight: 700; color: var(--al-text-3); flex: none; }

/* ============================================================
   INTERACTIVE BOARD DEMO — vivid, hover/click reacts
   own .ib-* namespace so it stays full-colour
   ============================================================ */
.ib-wrap { background: #fff; border: 1px solid var(--al-line); border-radius: var(--radius-2xl); box-shadow: var(--shadow-md); overflow: hidden; }
.ib-top { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--al-line); background: var(--al-paper); }
.ib-top-t { font-family: var(--font-display); font-size: 15px; font-weight: 800; color: var(--al-navy); display: inline-flex; align-items: center; gap: 8px; }
.ib-top-t i { color: var(--al-blue); font-size: 18px; }
.ib-top-sub { font-family: var(--font-ui); font-size: 12.5px; font-weight: 500; color: var(--al-text-3); margin-left: 6px; }
.hd-rail-logo.lindy-lock { height: auto; font-size: 16px; margin: 4px 8px 16px; }
.hd-rail-logo.lindy-lock img { height: 1.18em; }
.hd-rail-logo.lindy-lock b { color: var(--al-navy); }
.ib-hint { margin-left: auto; font-size: 12.5px; color: var(--al-text-3); display: inline-flex; align-items: center; gap: 6px; }
.ib-hint i { font-size: 15px; color: var(--al-blue); }
.ib-board { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; padding: 20px; }
.ib-board.four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1080px) { .ib-board.four { grid-template-columns: repeat(2, 1fr); } }
@keyframes ibIn { from { opacity: 0; transform: translateY(-12px) scale(.96); } to { opacity: 1; transform: none; } }
.ib-card.ib-in { animation: ibIn .5s var(--ease-out); }
.ib-col { display: flex; flex-direction: column; gap: 10px; }
.ib-col-h { display: flex; align-items: center; gap: 8px; padding: 0 2px; }
.ib-col-dot { width: 8px; height: 8px; border-radius: 50%; }
.ib-col-nm { font-family: var(--font-display); font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--al-text-2); }
.ib-col-n { margin-left: auto; font-family: var(--font-display); font-size: 11px; font-weight: 700; color: var(--al-text-3);
  background: var(--al-line); border-radius: var(--radius-pill); min-width: 20px; height: 20px; padding: 0 6px; display: inline-flex; align-items: center; justify-content: center; }
.ib-card { position: relative; background: #fff; border: 1px solid var(--al-line); border-radius: 11px; padding: 12px 13px 11px;
  box-shadow: var(--shadow-xs); cursor: pointer; transition: transform .18s var(--ease-out), box-shadow .18s, border-color .18s; }
.ib-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--al-line-2); }
.ib-card.done { opacity: .62; }
.ib-stripe { position: absolute; left: 0; top: 11px; bottom: 11px; width: 3px; border-radius: 0 3px 3px 0; background: var(--al-blue); transition: background .2s; }
.ib-stripe.hi { background: var(--al-danger); }
.ib-stripe.md { background: var(--al-warning); }
.ib-stripe.lo { background: var(--al-blue-400); }
.ib-card-top { display: flex; align-items: flex-start; gap: 9px; }
.ib-check { width: 18px; height: 18px; flex: none; border: 2px solid var(--al-line-2); border-radius: 6px; margin-top: 1px;
  display: flex; align-items: center; justify-content: center; color: #fff; font-size: 12px; transition: background .18s, border-color .18s; }
.ib-check i { opacity: 0; transition: opacity .15s; }
.ib-card.done .ib-check { background: var(--al-success); border-color: var(--al-success); }
.ib-card.done .ib-check i { opacity: 1; }
.ib-sum { font-family: var(--font-display); font-size: 13.5px; font-weight: 600; color: var(--al-navy); line-height: 1.35; }
.ib-card.done .ib-sum { text-decoration: line-through; text-decoration-color: var(--al-text-3); }
.ib-chips { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 9px; }
.ib-chip { display: inline-flex; align-items: center; gap: 4px; height: 21px; padding: 0 9px; border-radius: var(--radius-pill);
  font-family: var(--font-display); font-size: 10.5px; font-weight: 700; cursor: pointer; transition: filter .15s, transform .12s; user-select: none; }
.ib-chip i { font-size: 12px; }
.ib-chip:hover { filter: brightness(.96); }
.ib-chip:active { transform: scale(.94); }
.ib-chip.prio.hi { background: #FDECEC; color: var(--al-danger); }
.ib-chip.prio.md { background: #FFF3E0; color: var(--al-warning); }
.ib-chip.prio.lo { background: var(--al-blue-50); color: var(--al-blue-400); }
.ib-chip.ai { background: var(--al-blue-50); color: var(--al-blue); cursor: default; }
.ib-foot { display: flex; align-items: center; gap: 8px; margin-top: 10px; }
.ib-key { font-family: var(--font-display); font-size: 11px; font-weight: 700; color: var(--al-text-3); display: inline-flex; align-items: center; gap: 4px; }
.ib-key i { color: var(--al-blue); font-size: 13px; }
.ib-foot-sp { flex: 1; }
.ib-av { width: 23px; height: 23px; border-radius: 50%; color: #fff; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 9.5px; font-weight: 800; }
/* expand on click */
.ib-detail { max-height: 0; overflow: hidden; opacity: 0; transition: max-height .35s var(--ease-out), opacity .3s, margin-top .35s; }
.ib-card.open .ib-detail { max-height: 160px; opacity: 1; margin-top: 11px; }
.ib-detail-src { font-size: 11.5px; line-height: 1.5; color: var(--al-text-2); padding: 10px 11px; background: var(--al-paper);
  border: 1px solid var(--al-line); border-left: 2px solid var(--al-blue); border-radius: 8px; }
.ib-detail-src b { color: var(--al-navy); font-weight: 700; }
.ib-flash { animation: ibFlash .5s var(--ease-out); }
@keyframes ibFlash { 0% { box-shadow: 0 0 0 0 rgba(51,92,255,.35); } 100% { box-shadow: 0 0 0 12px rgba(51,92,255,0); } }

/* ============================================================
   COMMAND PALETTE — ⌘K
   ============================================================ */
.cmd-scrim { position: fixed; inset: 0; z-index: 600; background: rgba(20,23,87,.32); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
  opacity: 0; pointer-events: none; transition: opacity .2s var(--ease-out); display: flex; align-items: flex-start; justify-content: center; padding: 14vh 20px 20px; }
.cmd-scrim.open { opacity: 1; pointer-events: auto; }
.cmd { width: min(620px, 100%); background: #fff; border: 1px solid var(--al-line); border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg), 0 40px 80px -24px rgba(20,23,87,.4); overflow: hidden;
  transform: translateY(-12px) scale(.98); transition: transform .22s var(--ease-out); }
.cmd-scrim.open .cmd { transform: none; }
.cmd-in { display: flex; align-items: center; gap: 11px; padding: 16px 18px; border-bottom: 1px solid var(--al-line); }
.cmd-in i { font-size: 20px; color: var(--al-blue); }
.cmd-in input { flex: 1; border: none; outline: none; font-family: var(--font-body); font-size: 16px; color: var(--al-navy); background: none; }
.cmd-in input::placeholder { color: var(--al-placeholder); }
.cmd-esc { font-family: var(--font-display); font-size: 10.5px; font-weight: 700; color: var(--al-text-3); background: var(--al-paper); border: 1px solid var(--al-line); border-radius: 6px; padding: 3px 7px; }
.cmd-list { max-height: 340px; overflow-y: auto; padding: 8px; }
.cmd-group { font-family: var(--font-display); font-size: 10.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase;
  color: var(--al-text-3); padding: 10px 12px 6px; }
.cmd-item { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: var(--radius-md); cursor: pointer; }
.cmd-item .ic { width: 30px; height: 30px; flex: none; border-radius: 8px; background: var(--al-blue-50); color: var(--al-blue);
  display: flex; align-items: center; justify-content: center; font-size: 16px; }
.cmd-item .lbl { display: block; font-family: var(--font-display); font-size: 14px; font-weight: 600; color: var(--al-navy); }
.cmd-item .sub { display: block; font-size: 11.5px; color: var(--al-text-3); margin-top: 1px; }
.cmd-item .k { margin-left: auto; font-family: var(--font-display); font-size: 10.5px; font-weight: 700; color: var(--al-text-3); display: flex; gap: 4px; }
.cmd-item .k kbd { background: var(--al-paper); border: 1px solid var(--al-line); border-radius: 5px; padding: 2px 6px; }
.cmd-item.sel { background: var(--al-blue-50); }
.cmd-item.sel .ic { background: var(--al-blue); color: #fff; }
.cmd-empty { padding: 30px; text-align: center; color: var(--al-text-3); font-size: 14px; }

/* nav ⌘K affordance */
.lp-nav-link, .lp-nav-login { white-space: nowrap; }
/* Linear-style sticky glass header: logo left · nav centered · auth right */
.lp-nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(238,243,255,.45); -webkit-backdrop-filter: saturate(180%) blur(22px); backdrop-filter: saturate(180%) blur(22px); border-bottom: 1px solid rgba(201,211,240,.45); }
.lp-nav.scrolled { background: rgba(255,255,255,.6); }
.lp-nav-cta .lp-btn { white-space: nowrap; }
.lp-logo { flex: 1; }
.lp-nav-links { margin-left: 0; flex: none; justify-content: center; }
.lp-nav-cta { flex: 1; justify-content: flex-end; }
.lp-nav-spacer { display: none; }
.lp-nav-div { width: 1px; height: 24px; background: var(--al-line-2); margin: 0 4px; flex: none; }
@media (max-width: 980px) { .lp-nav-div { display: none; } }
.lp-nav-cmd { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 12px;
  background: #fff; border: 1px solid var(--al-line-2); border-radius: var(--radius-sm); cursor: pointer; color: var(--al-text-3);
  transition: border-color .15s, color .15s, background .15s; }
.lp-nav-cmd:hover { border-color: var(--al-blue); color: var(--al-blue); background: var(--al-blue-50); }
.lp-nav-cmd i { font-size: 17px; }
@media (max-width: 980px) { .lp-nav-cmd { display: none; } }

/* ============================================================
   SECTION RHYTHM TWEAKS for v2
   ============================================================ */
.lp-hero2 + .lp-marquee-sec { margin-top: -40px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .fs-grid { grid-template-columns: 1fr; gap: 8px; }
  .fs-sticky { position: relative; top: 0; height: auto; display: block; order: -1; margin-bottom: 8px; }
  .fs-screen { height: 400px; }
  .fs-step { min-height: 0; padding: 18px 0; opacity: 1; }
  .fs-step:not(.on) { display: none; }
  .hd-app { min-height: 0; }
  .hd-rail { display: none; }
}
@media (max-width: 720px) {
  .lp-hero2 { padding: 120px 0 0; }
  .hd-stage { padding: 0 14px; }
  .hd-frame { border-radius: 12px 12px 0 0; }
  .hd-grid { grid-template-columns: 1fr; }
  .hd-content { padding: 14px; }
  .hd-welcome { padding: 20px; }
  .hd-w-title { font-size: 24px; }
  .ib-board, .ib-board.four { grid-template-columns: 1fr; }
  .hd-fade { height: 240px; }
  /* Preview topbar: drop the search pill and keep Invite on one line so the
     row doesn't wrap/overflow on a phone-width dashboard mock. */
  .hd-top { padding: 0 14px; gap: 10px; }
  .hd-search { display: none; }
  .hd-invite { flex: none; white-space: nowrap; }
}
