/* How we work online (/how-it-works/): step timeline with illustrated client-portal screens.
   The screens are drawn in HTML/CSS (no vendor screenshots), so they stay sharp, light and translated. */

.hiw-steps { display:flex; flex-direction:column; gap:72px; max-width:1100px; margin:0 auto; }
.hiw-step { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:48px; align-items:center; }
.hiw-step:nth-child(even) .hiw-text { order:2; }
.hiw-num { display:inline-flex; align-items:center; justify-content:center; width:36px; height:36px; border-radius:50%;
  background:var(--blue); color:#fff; font-family:var(--font-d); font-weight:700; font-size:0.95rem; margin-bottom:14px; }
.hiw-text h2 { font-family:var(--font-d); font-size:clamp(1.35rem,2.2vw,1.7rem); line-height:1.2; color:var(--ink); margin-bottom:12px; letter-spacing:-0.01em; }
.hiw-text p { color:var(--ink-2); line-height:1.7; margin-bottom:12px; }
.hiw-text ul { list-style:none; display:flex; flex-direction:column; gap:8px; margin-top:6px; }
.hiw-text li { position:relative; padding-left:26px; color:var(--ink-2); line-height:1.55; }
.hiw-text li::before { content:""; position:absolute; left:0; top:4px; width:16px; height:16px; border-radius:50%;
  background:var(--blue-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%232563EB' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }

/* ── screen frames ── */
.mock { position:relative; background:#fff; border:1px solid var(--border); border-radius:16px; box-shadow:0 24px 60px rgba(15,23,42,.10), 0 2px 6px rgba(15,23,42,.05);
  overflow:hidden; font-size:0.86rem; color:var(--ink); max-width:460px; width:100%; justify-self:center; }
.mock-bar { display:flex; align-items:center; gap:10px; padding:11px 16px; border-bottom:1px solid var(--border); background:var(--bg-soft); }
.mock-dots { display:flex; gap:5px; }
.mock-dots i { width:9px; height:9px; border-radius:50%; background:#CBD5E1; display:block; }
.mock-brand { font-family:var(--font-d); font-weight:700; font-size:0.85rem; }
.mock-brand span { color:var(--blue); }
.mock-tag { margin-left:auto; font-size:0.72rem; color:var(--muted); display:inline-flex; align-items:center; gap:5px; }
.mock-body { padding:18px; display:flex; flex-direction:column; gap:12px; }
.mock-h { font-family:var(--font-d); font-weight:700; font-size:1rem; }
.mock-sub { color:var(--muted); font-size:0.78rem; }
.mock-field { border:1px solid var(--border); border-radius:8px; padding:9px 12px; color:var(--muted); display:flex; justify-content:space-between; align-items:center; }
.mock-field b { color:var(--ink); font-weight:500; letter-spacing:0.25em; }
.mock-btn { background:var(--blue); color:#fff; border-radius:8px; padding:10px 12px; text-align:center; font-weight:600; }
.mock-btn.ghost { background:#fff; color:var(--blue); border:1px solid var(--blue-mid); }
.mock-row { display:flex; align-items:center; gap:10px; padding:9px 12px; border:1px solid var(--border); border-radius:10px; }
.mock-row .ic { width:30px; height:30px; border-radius:8px; background:var(--blue-light); color:var(--blue); display:flex; align-items:center; justify-content:center; flex:none; }
.mock-row .nm { flex:1; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.mock-row .st { font-size:0.74rem; color:#15803D; font-weight:600; white-space:nowrap; }
.mock-row .st.wait { color:var(--muted); font-weight:500; }
.mock-progress { height:6px; border-radius:3px; background:var(--border); overflow:hidden; }
.mock-progress i { display:block; height:100%; background:var(--blue); border-radius:3px; }
.mock-q { border:1px solid var(--border); border-radius:10px; padding:11px 12px; }
.mock-q p { margin-bottom:8px; font-weight:500; }
.mock-opts { display:flex; gap:8px; }
.mock-opts span { border:1px solid var(--border); border-radius:999px; padding:4px 14px; font-size:0.78rem; color:var(--ink-2); }
.mock-opts span.on { border-color:var(--blue); background:var(--blue-light); color:var(--blue); font-weight:600; }

/* calendar */
.mock-cal { display:grid; grid-template-columns:repeat(7,1fr); gap:5px; text-align:center; font-size:0.74rem; }
.mock-cal b { color:var(--muted); font-weight:500; font-size:0.68rem; }
.mock-cal span { padding:6px 0; border-radius:6px; color:#94A3B8; }
.mock-cal span.av { background:var(--bg-soft); color:var(--ink); font-weight:600; border:1px solid var(--border); }
.mock-cal span.sel { background:var(--blue); color:#fff; font-weight:700; border-color:var(--blue); }
.mock-slots { display:grid; grid-template-columns:repeat(3,1fr); gap:6px; }
.mock-slots span { border:1px solid var(--blue-mid); color:var(--blue); border-radius:8px; padding:6px 0; text-align:center; font-weight:600; font-size:0.78rem; }
.mock-slots span.sel { background:var(--blue); color:#fff; }

/* chat */
.mock-chat { display:flex; flex-direction:column; gap:8px; }
.bub { max-width:82%; padding:9px 12px; border-radius:14px; line-height:1.45; }
.bub.them { background:var(--bg-soft); border:1px solid var(--border); border-bottom-left-radius:4px; }
.bub.me { align-self:flex-end; background:var(--blue); color:#fff; border-bottom-right-radius:4px; }
.bub small { display:block; font-size:0.68rem; opacity:.7; margin-bottom:2px; }
.bub .att { display:inline-flex; align-items:center; gap:6px; margin-top:6px; padding:5px 9px; border-radius:8px; background:rgba(255,255,255,.18); font-size:0.76rem; }

/* signature */
.mock-doc { border:1px solid var(--border); border-radius:10px; padding:14px; background:linear-gradient(#fff,#fff) padding-box; }
.mock-doc .ln { height:7px; border-radius:4px; background:#EEF2F7; margin-bottom:7px; }
.mock-sign { border:1.5px dashed var(--blue-mid); border-radius:8px; padding:8px 12px; display:flex; justify-content:space-between; align-items:center; color:var(--blue); font-weight:600; margin-top:10px; }
.mock-sign em { font-family:'Brush Script MT','Segoe Script',cursive; font-size:1.35rem; font-weight:400; color:var(--ink); font-style:normal; }

/* phone frame for the upload step */
.mock-phone { justify-self:center; width:290px; border:10px solid #0F172A; border-radius:38px; background:#fff; box-shadow:0 24px 60px rgba(15,23,42,.18); overflow:hidden; font-size:0.82rem; }
.mock-phone .notch { height:20px; background:#0F172A; width:120px; margin:0 auto; border-radius:0 0 14px 14px; }
.mock-scan { margin:12px; height:150px; border-radius:12px; background:#1E293B; position:relative; display:flex; align-items:center; justify-content:center; }
.mock-scan .paper { width:62%; height:78%; background:#F8FAFC; border-radius:4px; padding:10px 8px; transform:rotate(-3deg); }
.mock-scan .paper i { display:block; height:5px; background:#CBD5E1; border-radius:3px; margin-bottom:6px; }
.mock-scan::before { content:""; position:absolute; inset:12px 40px; border:2px dashed #60A5FA; border-radius:8px; }
.mock-phone .mock-body { padding:4px 12px 16px; gap:8px; }

.hiw-caption { font-size:0.75rem; color:var(--muted); text-align:center; margin-top:10px; }

/* security facts */
.hiw-sec { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; max-width:1100px; margin:0 auto; }
.hiw-sec div { background:#fff; border:1px solid var(--border); border-radius:var(--radius-md); padding:20px; }
.hiw-sec h3 { font-family:var(--font-d); font-size:1.02rem; margin:10px 0 6px; color:var(--ink); }
.hiw-sec p { color:var(--ink-2); font-size:0.92rem; line-height:1.6; }
.hiw-cta { max-width:760px; margin:0 auto; text-align:center; display:flex; flex-direction:column; align-items:center; gap:14px; }
.hiw-cta p { color:var(--ink-2); line-height:1.7; }

@media (max-width:900px) {
  .hiw-step { grid-template-columns:1fr; gap:28px; }
  .hiw-step:nth-child(even) .hiw-text { order:0; }
  .hiw-sec { grid-template-columns:1fr; }
  .hiw-steps { gap:56px; }
}
