/* Watch it work: modal with a pipeline */
.siw-overlay { position: fixed; inset: 0; z-index: 300; background: rgba(11,15,13,.7); display: none; align-items: center; justify-content: center; padding: 18px; }
.siw-overlay.open { display: flex; }
.siw-modal { background: #fff; border-radius: 26px; width: min(980px, 100%); max-height: 94vh; overflow-y: auto; padding: 30px 34px 30px; position: relative; box-shadow: 0 30px 90px rgba(0,0,0,.4); }
.siw-close { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff; font-size: 1.4rem; line-height: 1; cursor: pointer; color: var(--ink); }
.siw-head { text-align: center; max-width: 620px; margin: 0 auto; }
.siw-eyebrow { font-family: var(--font-mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--pine-2); }
.siw-head h2 { font-family: var(--font-display); font-size: clamp(1.5rem, 3.4vw, 2.1rem); letter-spacing: -.03em; line-height: 1.1; color: var(--ink); margin: 8px 0 8px; text-wrap: balance; }
.siw-head p { font-size: .92rem; color: var(--muted); line-height: 1.6; }
.siw-pipe { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); margin: 30px 0 26px; }
.siw-pipe::before { content: ""; position: absolute; left: 10%; right: 10%; top: 23px; height: 10px; border-radius: 999px; background: #E6E8EC; }
.siw-fill { position: absolute; left: 10%; top: 23px; height: 10px; border-radius: 999px; width: calc(var(--p, 0) * 80%); background: repeating-linear-gradient(90deg, #E6A43A 0 14px, #F2BE6A 14px 28px); animation: siwFlow .9s linear infinite; transition: width .12s linear; }
@keyframes siwFlow { to { background-position: 28px 0; } }
.siw-node { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; background: none; border: 0; cursor: pointer; font-family: var(--font-body); padding: 0 4px; }
.siw-dot { width: 56px; height: 56px; border-radius: 50%; background: #fff; border: 3px solid #E6E8EC; display: flex; align-items: center; justify-content: center; color: var(--muted); transition: all .2s; }
.siw-node b { font-size: .84rem; color: var(--ink); font-weight: 600; line-height: 1.25; }
.siw-node small { font-family: var(--font-mono); font-size: .62rem; color: var(--amber-deep); letter-spacing: .06em; }
.siw-node.is-done .siw-dot { border-color: var(--amber); color: var(--ink); }
.siw-node.is-now .siw-dot { background: var(--ink); border-color: var(--ink); color: #fff; box-shadow: 0 0 0 6px rgba(230,164,58,.3); }
.siw-scene { min-height: 330px; display: flex; align-items: center; justify-content: center; background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 26px 18px; }
.siw-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 16px; }
.siw-foot p { font-size: .84rem; color: var(--muted); margin: 0; }
.siw-play { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 18px; font-family: var(--font-body); font-size: .82rem; font-weight: 600; color: var(--slate); cursor: pointer; }
@media (max-width: 720px) {
  .siw-modal { padding: 24px 18px 22px; border-radius: 20px; }
  .siw-pipe { grid-template-columns: 1fr; gap: 14px; margin: 22px 0 18px; }
  .siw-pipe::before { left: 26px; right: auto; top: 28px; bottom: 28px; width: 10px; height: auto; }
  .siw-fill { left: 26px; top: 28px; width: 10px; height: calc(var(--p, 0) * (100% - 56px)); background: repeating-linear-gradient(180deg, #E6A43A 0 14px, #F2BE6A 14px 28px); animation-name: siwFlowV; }
  .siw-node { flex-direction: row; text-align: left; gap: 14px; padding: 0; }
  .siw-node .siw-txt { display: flex; flex-direction: column; }
  .siw-scene { min-height: 0; padding: 18px 12px; }
}
@keyframes siwFlowV { to { background-position: 0 28px; } }
@media (prefers-reduced-motion: reduce) { .siw-fill { animation: none; } }
.wf-sc { width: min(520px, 100%); background: #fff; border: 1px solid #E6E8EC; border-radius: 16px; box-shadow: 0 18px 50px rgba(22,36,30,.12); overflow: hidden; animation: wfIn .45s ease; }
@keyframes wfIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .wf-sc { animation: none; } }
.wf-sc-h { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid #EEF0F3; }
.wf-sc-h .d { display: flex; gap: 5px; } .wf-sc-h .d i { width: 8px; height: 8px; border-radius: 50%; background: #E3E5E9; display: block; }
.wf-sc-h b { display: block; font-size: .92rem; color: #16241E; } .wf-sc-h span { font-size: .72rem; color: #8892A4; }
.wf-sc-b { padding: 14px 18px 18px; font-size: .84rem; color: #16241E; line-height: 1.5; }
.wf-sc-b h5 { font-family: var(--font-mono); font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; color: var(--pine-2); margin: 12px 0 4px; font-weight: 500; }
.wf-sc-b h5:first-child { margin-top: 0; }
.wf-sc-b ul { margin: 0; padding-left: 18px; } .wf-sc-b li { margin: 2px 0; }
.wf-sc-b mark { background: #FBF1DA; color: inherit; padding: 0 4px; border-radius: 3px; }
.wf-sc-btns { display: flex; gap: 8px; margin-top: 14px; }
.wf-sc-btns span { border-radius: 8px; padding: 8px 14px; font-size: .76rem; font-weight: 600; border: 1px solid #E6E8EC; background: #fff; }
.wf-sc-btns span:first-child { background: #1D3F72; color: #fff; border-color: #1D3F72; }
.wf-row { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid #F0F1F4; }
.wf-row:last-child { border-bottom: 0; }
.wf-row i { width: 8px; height: 8px; border-radius: 50%; background: #22C55E; flex: none; }
.wf-row.pend i { background: #E6A43A; }
.wf-row em { margin-left: auto; font-style: normal; font-size: .7rem; color: #8892A4; }
.wf-pill { display: inline-block; background: #E4EBE1; color: #2C5A48; border-radius: 999px; padding: 3px 10px; font-size: .7rem; font-weight: 600; }
.wf-phone { width: 250px; border: 8px solid #101714; border-radius: 34px; background: #f5f6f8; padding: 34px 12px 18px; margin: 0 auto; box-shadow: 0 18px 50px rgba(22,36,30,.2); animation: wfIn .45s ease; }
.wf-phone .n { background: #fff; border-radius: 16px; padding: 12px 14px; font-size: .78rem; box-shadow: 0 4px 14px rgba(22,36,30,.1); }
.wf-phone .n b { display: block; font-size: .82rem; margin-bottom: 3px; } .wf-phone .n span { color: #5a6b61; }
.wf-phone .tap { margin-top: 12px; background: #1D3F72; color: #fff; text-align: center; border-radius: 12px; padding: 11px; font-size: .8rem; font-weight: 600; }
.wf-mail { font-size: .8rem; } .wf-mail .m { display: grid; grid-template-columns: 52px 1fr; padding: 5px 0; border-bottom: 1px solid #EEF0F3; color: #5a6b61; } .wf-mail .m b { color: #16241E; font-weight: 500; }
.wf-mail p { margin: 12px 0; color: #16241E; line-height: 1.55; }
