/* =============================================
   HOW IT WORKS — v1.0.6
   Same look as Why Zamini v1.0.6 (cold-blue palette from site/css/v1.0.0/zamini-academy.css)
   ============================================= */
#howTab { max-width: 1080px; }

.hiw-hero { text-align: center; background: linear-gradient(145deg, #ffffff, #e6f2fb); border: 2px solid var(--line); border-radius: 14px; padding: 34px 30px 26px; margin-bottom: 26px; box-shadow: 0 4px 18px rgba(31,111,189,.10); }
.hiw-eyebrow { font-size: 11px; font-weight: 700; color: var(--b2); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 10px; }
.hiw-headline { font-size: 24px; font-weight: 800; color: var(--ink); margin: 0 0 12px; line-height: 1.3; }
.hiw-sub { font-size: 15px; color: var(--muted); line-height: 1.7; max-width: 620px; margin: 0 auto 18px; }
.hiw-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.hiw-badge { background: #fff; border: 1.5px solid var(--line); color: var(--deep); font-size: 12.5px; font-weight: 700; padding: 5px 14px; border-radius: 100px; }

.hiw-label { font-size: 11px; font-weight: 700; color: var(--b2); text-transform: uppercase; letter-spacing: .08em; margin: 0 0 14px; }

/* steps */
.hiw-steps { list-style: none; margin: 0 0 30px; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.hiw-step { display: flex; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; box-shadow: 0 3px 10px rgba(22,50,79,.05);  }
.hiw-step:hover { box-shadow: 0 6px 20px rgba(31,111,189,.14); }
.hiw-num { flex: none; width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(180deg, var(--b1), var(--b2)); color: #fff; font-weight: 800; font-size: 18px; display: flex; align-items: center; justify-content: center; box-shadow: 0 3px 8px rgba(21,101,184,.3); }
.hiw-body { min-width: 0; }
.hiw-body h3 { margin: 2px 0 6px; font-size: 17px; }
.hiw-body p { margin: 0 0 8px; color: var(--ink); font-size: 14.5px; line-height: 1.65; }
.hiw-body ul { margin: 0 0 12px; padding-left: 18px; color: var(--muted); font-size: 13.5px; line-height: 1.6; }
.hiw-act { font-size: 14px; padding: 8px 14px; }

/* ---- the two devices ---- */
.hiw-stage { display: flex; justify-content: center; align-items: flex-end; gap: 44px; margin: 0 0 8px; }
.hiw-dev { display: flex; flex-direction: column; align-items: center; min-width: 0; }
.hiw-dev-lap { flex: 1 1 640px; max-width: 700px; }
.hiw-dev-ph { flex: 0 0 270px; }
.hiw-lap { width: 100%; border: 10px solid #16324f; border-bottom-width: 14px; border-radius: 14px 14px 0 0; background: #16324f; box-shadow: 0 10px 26px rgba(22,50,79,.22); }
.hiw-lap-base { height: 14px; width: 112%; background: linear-gradient(#d3dfeb, #b9c8d8); border-radius: 0 0 18px 18px; }
.hiw-lap-screen { position: relative; width: 100%; aspect-ratio: 16 / 10; background: #fff; overflow: hidden; }
.hiw-lap-screen iframe { position: absolute; left: 0; top: 0; width: 1280px; height: 800px; border: 0; background: #fff; transform-origin: 0 0; }
.hiw-phone { width: 100%; border: 9px solid #16324f; border-radius: 36px; background: #16324f; box-shadow: 0 10px 26px rgba(22,50,79,.25); overflow: hidden; }
.hiw-phone-top { height: 18px; background: #16324f; display: flex; justify-content: center; align-items: center; }
.hiw-phone-top span { width: 54px; height: 5px; border-radius: 4px; background: #3b5877; }
.hiw-ph-screen { position: relative; width: 100%; aspect-ratio: 9 / 17.5; background: #fff; border-radius: 0 0 24px 24px; overflow: hidden; }
.hiw-ph-screen iframe { position: absolute; left: 0; top: 0; width: 390px; height: 758px; border: 0; background: #fff; transform-origin: 0 0; }
iframe[hidden] { display: none; }
.hiw-cover { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; padding: 20px; background: linear-gradient(180deg, #e6f2fb, #cfe6f7); }
.hiw-cover[hidden] { display: none; }
.hiw-cover-ico { font-size: 40px; }
.hiw-cover b { font-size: 16px; color: var(--ink); }
.hiw-cover small { color: var(--muted); margin-bottom: 6px; }
.hiw-cap { margin-top: 10px; text-align: center; line-height: 1.4; }
.hiw-cap b { display: block; font-size: 16px; }
.hiw-cap span { display: block; color: var(--muted); font-size: 13px; }
.hiw-cap a { font-size: 13px; color: var(--b2); font-weight: 600; }

.hiw-cta { text-align: center; padding: 22px 0 10px; }
.hiw-cta .btn span { display: block; font-weight: 400; font-size: 12px; opacity: .92; }

/* quick four steps */
.hiw-quick { list-style: none; margin: 0 0 18px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.hiw-quick li { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px; font-size: 13.5px; color: var(--muted); line-height: 1.5; }
.hiw-quick em { display: inline-flex; width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(180deg, var(--b1), var(--b2)); color: #fff; align-items: center; justify-content: center; font-style: normal; font-weight: 800; font-size: 14px; }
.hiw-quick b { display: block; color: var(--ink); font-size: 16px; margin: 6px 0 2px; }
.hiw-quick span { display: block; }

.hiw-more { margin: 0 0 30px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 4px 18px; }
.hiw-more summary { cursor: pointer; font-weight: 700; color: var(--b2); padding: 12px 0; }
.hiw-steps-open { margin: 4px 0 14px; }
.hiw-steps-open .hiw-step { box-shadow: none; border-color: #dbe9f6; }

@media (max-width: 860px) {
  .hiw-stage { flex-direction: column-reverse; align-items: center; gap: 30px; }
  .hiw-dev-lap { flex: none; width: 100%; max-width: 420px; }
  .hiw-dev-ph { flex: none; width: 250px; }
  .hiw-lap-base { display: none; }
  .hiw-lap { border: 0; background: none; box-shadow: none; border-radius: 0; }
  .hiw-lap-screen { aspect-ratio: auto; height: auto; background: transparent; overflow: visible; }
  .hiw-lap-screen iframe { display: none !important; }
  .hiw-lap-screen .hiw-cover { position: static; border-radius: 16px; border: 1px solid var(--line); }
  .hiw-quick { grid-template-columns: 1fr 1fr; }
  .hiw-hero { padding: 26px 18px 20px; }
  .hiw-headline { font-size: 21px; }
}
@media (max-width: 480px) { .hiw-quick { grid-template-columns: 1fr; } }

/* v1.0.6: slim heading so the demo is the first thing on the page */
.hiw-hero { background: none; border: 0; box-shadow: none; padding: 6px 12px 0; margin: 0 0 8px; }
.hiw-headline { font-size: 22px; margin: 0 0 4px; }
.hiw-sub { font-size: 14px; margin: 0 auto 8px; }
.hiw-cta { padding: 16px 0 24px; }
@media (max-width: 860px) { .hiw-headline { font-size: 19px; } }

/* v1.0.6: the labels sit above the devices, so both columns start on the same line */
.hiw-stage { align-items: flex-start; }
.hiw-cap { margin: 0 0 12px; }
.hiw-lap-base { width: 104%; }

/* v1.0.7: label and "Full screen" link on one line */
.hiw-cap{display:flex;flex-direction:row;align-items:baseline;justify-content:center;gap:12px;flex-wrap:wrap}
.hiw-cap b{display:block}
.hiw-cap a{font-size:14px}
