/* Provaniq website v3.5 — calmer home hero (sources dock + peeking P), new
   how-it-works flow, merged vision scope. Loaded last. */

/* ---------- home hero ---------- */
.live { padding: 58px 8px 96px 8px; }
.live .app { transform: none !important; }
.live .app-search { height: 52px; font-size: 16px; }
.live .result { transition: opacity .45s var(--ease), transform .45s var(--ease); transform: translateY(14px); }
.live .result.is-on { transform: none; }
.live .result.dim { opacity: 0; filter: none; transform: translateY(-10px); }
.peek { position: absolute; z-index: 4; right: 30px; top: 0; width: 76px; height: 76px; border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-lift); display: grid; place-items: center; animation: peek-in .8s cubic-bezier(.3,1.6,.5,1) both .6s; }
.peek svg { width: 52px; height: 52px; }
@keyframes peek-in { from { transform: translateY(40px) scale(.7); opacity: 0; } to { transform: none; opacity: 1; } }
.live .toasts { right: 120px; top: 6px; bottom: auto; justify-items: end; }
.live .toast { border-radius: 16px 16px 4px 16px; }
.dock { position: absolute; z-index: 3; left: 50%; bottom: 18px; transform: translateX(-50%); display: flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 8px 6px 14px; box-shadow: var(--sh-lift); white-space: nowrap; }
.dock > span.lbl { font: 600 12px var(--f-ui); color: var(--text-2); margin-right: 4px; }
.dk { position: relative; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--paper); transition: background .3s, transform .3s var(--ease), box-shadow .3s; }
.dk img { width: 20px; height: 20px; }
.dk img.wide { width: 26px; height: auto; }
.dk.hot { background: var(--peach); transform: translateY(-6px); box-shadow: 0 0 0 2px var(--coral); }
.dk.hot::after { content: ""; position: absolute; left: 50%; bottom: 100%; width: 2px; height: 24px; transform: translateX(-50%); background: linear-gradient(to top, var(--coral), transparent); animation: beam .9s var(--ease) infinite; }
@keyframes beam { 0% { opacity: 0; transform: translate(-50%, 6px); } 50% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, -10px); } }
.dk .tip { position: absolute; bottom: calc(100% + 10px); left: 50%; transform: translateX(-50%); font: 600 11px var(--f-ui); background: var(--aub); color: #fff; padding: 3px 8px; border-radius: 8px; opacity: 0; pointer-events: none; transition: opacity .2s; }
.dk:hover .tip { opacity: 1; }

/* ---------- how it works: flow hero ---------- */
.flow2 { position: relative; width: min(520px, 100%); margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 26px; box-shadow: var(--sh-lift); padding: 20px; overflow: hidden; }
.flow2-file { display: flex; align-items: center; gap: 12px; }
.flow2-file b { display: block; font-size: 14.5px; }
.flow2-file span { font-size: 12.5px; color: var(--text-2); }
.flow2-file .p-mini { margin-left: auto; width: 46px; height: 46px; border-radius: 15px; background: var(--peach); display: grid; place-items: center; }
.flow2-file .p-mini svg { width: 32px; height: 32px; }
.lane { position: relative; height: 92px; margin: 18px 0 8px; }
.lane::before { content: ""; position: absolute; left: 22px; right: 22px; top: 22px; height: 3px; border-radius: 3px; background: var(--line-2); }
.lane .st { position: absolute; top: 0; width: 44px; transform: translateX(-50%); display: grid; justify-items: center; gap: 6px; }
.lane .st i { width: 44px; height: 44px; border-radius: 14px; background: #fff; border: 1.5px solid var(--line-2); display: grid; place-items: center; transition: border-color .3s, background .3s, transform .3s var(--ease); }
.lane .st i .ai { width: 20px; height: 20px; }
.lane .st small { font: 600 11px/1.2 var(--f-ui); color: var(--text-2); text-align: center; white-space: nowrap; }
.lane .st.on i { border-color: var(--coral); background: var(--peach); transform: scale(1.1); }
.lane .rowpill { position: absolute; top: 15px; left: 22px; height: 16px; padding: 0 7px; border-radius: 99px; background: var(--aub); color: #fff; font: 700 9px/16px var(--f-ui); white-space: nowrap; opacity: 0; z-index: 2; }
.lane .rowpill.go { animation: travel-row 4.2s cubic-bezier(.45,.05,.55,.95) forwards; }
@keyframes travel-row { 0% { left: 4%; opacity: 0; } 8% { opacity: 1; } 92% { opacity: 1; } 100% { left: 90%; opacity: 0; } }
.buckets { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 4px; }
.bk { border-radius: 14px; padding: 10px; background: var(--paper); text-align: center; transition: transform .3s var(--ease), box-shadow .3s; }
.bk b { display: block; font: 800 22px/1 var(--f-display); letter-spacing: -.03em; }
.bk span { display: block; font: 600 11px var(--f-ui); color: var(--text-2); margin-top: 4px; }
.bk.bump { transform: translateY(-4px); box-shadow: 0 0 0 2px var(--c); }
.flow2-note { margin-top: 12px; font-size: 12px; color: var(--text-2); display: flex; justify-content: space-between; }

/* ---------- vision: merged scope + phases ---------- */
.phase-list { display: grid; gap: 8px; margin-top: 22px; }
.phase-list div { display: grid; grid-template-columns: 74px 1fr auto; gap: 12px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px; font: 600 14.5px var(--f-ui); }
.phase-list div.now { border-color: #F3B9AC; background: var(--peach-soft); }
.phase-list small { font: 700 12px var(--f-ui); color: var(--text-2); }
.phase-list img { width: 26px; vertical-align: middle; margin-left: 6px; }

@media (max-width: 860px) {
  .live { padding: 70px 0 110px; }
  .peek { right: 10px; width: 62px; height: 62px; }
  .peek svg { width: 42px; height: 42px; }
  .live .toasts { right: 84px; }
  .dock { padding: 5px 6px; gap: 4px; }
  .dock > span.lbl { display: none; }
  .dk { width: 34px; height: 34px; }
  .lane .st small { font-size: 9.5px; }
  .buckets { grid-template-columns: repeat(2, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .peek, .dk.hot::after, .lane .rowpill.go { animation: none !important; }
}
/* the hero search shares a class name with the chat typing dots; keep it full width */
.live .app-search.typing { display: flex; width: 100%; padding: 0 14px; border-radius: 14px; border: 1.5px solid var(--coral); }
.lane .rowpill { height: 18px; padding: 0 8px; font: 700 9.5px/18px var(--f-mono); background: var(--coral); color: var(--aub); box-shadow: 0 0 0 3px #fff; }
.live .result.dim { opacity: .4; transform: none; filter: saturate(.4); }
.lane .rowpill { position: absolute; top: 13px; left: 22px; opacity: 0; z-index: 2; height: 18px; padding: 0 8px; border-radius: 99px; font: 700 9.5px/18px var(--f-mono); background: var(--coral); color: var(--aub); box-shadow: 0 0 0 3px #fff; white-space: nowrap; }
.lane .rowpill.go { animation: travel-row 4.2s cubic-bezier(.45,.05,.55,.95) forwards; }
