/* catch-demo.v2.css (18 Nov 2026): catch-demo.v1.css without one-sided borders; lines became backgrounds, shading or spacing. */
/* =====================================================================
   "Caught before you type" (Browser Security, under the hero, Nov 2026)
   A desktop browser opens a scam sign-in page; the visitor starts typing; SafeToOpen steps in with its real
   warnings: the look-alike warning (with More information) and the "This page may not be safe" findings toast.
   Product surfaces keep the extension's own look and wording.
   ===================================================================== */
.cd{max-width:920px;margin:0 auto;font-family:system-ui,-apple-system,"Segoe UI",Roboto,sans-serif}
.cd__tabs{display:flex;justify-content:center;gap:6px;margin:0 0 16px}
.cd__tabs button{all:unset;cursor:pointer;padding:7px 14px;border-radius:4px;font-size:13.5px;font-weight:600;color:#55607a;background:#f1f2f8}
.cd__tabs button[aria-pressed="true"]{background:#0f1827;color:#fff}
.cd__tabs button:focus-visible{outline:2px solid #0441a8;outline-offset:2px}

/* the window */
.cd__win{position:relative;border:1px solid #d6dbe8;border-radius:10px;overflow:hidden;background:#fff;box-shadow:0 40px 90px -40px rgba(15,24,39,.45)}
.cd__strip{display:flex;align-items:flex-end;gap:8px;height:38px;padding:0 12px;background:#e9ecf3}
.cd__dots{display:flex;gap:7px;align-self:center;margin-right:8px}
.cd__dots i{width:11px;height:11px;border-radius:50%;background:#cfd4df}
.cd__tab{display:flex;align-items:center;gap:8px;height:30px;padding:0 14px;max-width:230px;border-radius:8px 8px 0 0;background:#fff;font-size:12.5px;color:#1e293b;white-space:nowrap;overflow:hidden}
.cd__fav{width:14px;height:14px;border-radius:3px;flex:none}
.cd__bar{display:flex;align-items:center;gap:10px;height:42px;padding:0 12px;background:#f5f6fa}
.cd__nav{display:flex;gap:12px;color:#9aa3b5}
.cd__nav svg{width:16px;height:16px}
.cd__addr{flex:1;display:flex;align-items:center;gap:8px;height:30px;padding:0 12px;border-radius:15px;background:#f1f3f7;font-size:13px;color:#1e293b;min-width:0}
.cd__addr svg{width:13px;height:13px;flex:none;color:#55607a}
.cd__addr span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cd__ext{position:relative;width:26px;height:26px;border-radius:6px;display:flex;align-items:center;justify-content:center}
.cd__ext svg{width:18px;height:15px}
.cd__ext i{position:absolute;right:-3px;bottom:-2px;min-width:14px;height:14px;padding:0 3px;border-radius:7px;font:700 9px/14px system-ui,sans-serif;color:#fff;text-align:center;opacity:0;transform:scale(.6);transition:all .3s}
.cd__ext i.on{opacity:1;transform:none}
.cd__prog{position:absolute;left:0;top:0;height:2px;width:0;background:#0b57d0;z-index:3}
.cd__prog.run{transition:width 1s ease-out;width:100%}

/* the page */
.cd__page{position:relative;height:560px;overflow:hidden;background:#f6f7fb}
.cd__site{position:absolute;inset:0;opacity:0;transition:opacity .4s}
.cd__site.on{opacity:1}
.cs-mail{display:flex;align-items:center;justify-content:center;height:100%;background:linear-gradient(160deg,#eef0fa 0%,#f7f8fc 60%)}
.cs-mail .box{width:360px;background:#fff;border-radius:8px;box-shadow:0 10px 30px rgba(15,24,39,.10);padding:34px 36px}
.cs-logo{display:flex;align-items:center;gap:9px;font-weight:700;font-size:16px;color:#1c1c6c;margin-bottom:18px}
.cs-logo i{width:24px;height:24px;border-radius:6px;display:block}
.cs-mail h4{margin:0 0 4px;font-size:22px;font-weight:600;color:#0f1827}
.cs-mail p{margin:0 0 18px;font-size:13.5px;color:#55607a}
.cs-fld{position:relative;height:40px;border:1px solid #cfd4e2;border-radius:6px;margin-bottom:12px;display:flex;align-items:center;padding:0 12px;font-size:14px;color:#0f1827;transition:border-color .2s,box-shadow .2s}
.cs-fld.focus{border-color:#5b4cd2;box-shadow:0 0 0 3px rgba(91,76,210,.15)}
.cs-fld .ph{color:#8a90a0}
.cs-fld .caret{display:inline-block;width:1.5px;height:17px;background:#0f1827;margin-left:1px;animation:cdBlink 1s steps(1) infinite;vertical-align:-3px}
@keyframes cdBlink{50%{opacity:0}}
.cs-btn{height:42px;border-radius:6px;color:#fff;font-weight:600;font-size:14px;display:flex;align-items:center;justify-content:center;margin-top:6px}
.cs-small{margin-top:14px;font-size:12.5px;color:#0441a8}
.cs-social{display:grid;grid-template-columns:1.1fr 1fr;gap:40px;align-items:center;height:100%;padding:0 56px;background:#f3f4f8}
.cs-social .cs-brand{font-size:40px;font-weight:800;letter-spacing:-.02em;color:#5b4cd2;margin-bottom:10px}
.cs-social .cs-tagline{font-size:19px;line-height:1.35;color:#1e293b;max-width:320px}
.cs-social .box{background:#fff;border-radius:8px;box-shadow:0 10px 30px rgba(15,24,39,.12);padding:20px}

/* SafeToOpen: dim + the look-alike warning */
.cd__dim{position:absolute;inset:0;background:rgba(15,24,39,.38);-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);opacity:0;transition:opacity .35s;z-index:10}
.cd__dim.on{opacity:1}
.cw{position:absolute;left:50%;top:50%;width:380px;transform:translate(-50%,-46%) scale(.94);opacity:0;background:#fff;border-radius:16px;box-shadow:0 30px 70px rgba(0,0,0,.35);overflow:hidden;z-index:11;transition:opacity .35s,transform .5s cubic-bezier(.34,1.35,.42,1)}
.cw.on{opacity:1;transform:translate(-50%,-50%) scale(1)}
.cw::before{content:"";position:absolute;right:-40px;top:-40px;width:120px;height:120px;border-radius:50%;background:#fbd5d5}
.cw__in{position:relative;padding:18px 20px 12px;text-align:center}
.cw__ring{position:relative;width:60px;height:60px;margin:0 auto 8px}
.cw__ring svg.arc{position:absolute;inset:0;width:60px;height:60px;animation:cdSpin 1.2s cubic-bezier(.3,.8,.3,1) both}
@keyframes cdSpin{from{transform:rotate(-200deg)}to{transform:rotate(0)}}
.cw__ring svg.logo{position:absolute;left:16px;top:18px;width:28px;height:24px}
.cw__t{font-size:12px;font-weight:700;letter-spacing:.04em!important;color:#c92a2a;margin-bottom:8px}
.cw__b{font-size:13.5px;line-height:1.5;color:#333}
.cw__b b{color:#111}
.cw__more{display:inline-flex;align-items:center;gap:4px;margin-top:10px;font-size:13px;font-weight:600;color:#003ea4}
.cw__more svg{transition:transform .3s}
.cw.open .cw__more svg{transform:rotate(180deg)}
.cw__info{max-height:0;overflow:hidden;transition:max-height .6s ease;text-align:left}
.cw.open .cw__info{max-height:200px}
.cw__box{margin-top:10px;border:1px solid #dfe5f2;border-radius:10px;padding:10px 12px}
.cw__box b{font-size:12.5px}
.cw__box p{margin:4px 0 0;font-size:12px;color:#55607a}
.cw__row{display:flex;justify-content:space-between;gap:8px;font-size:12px;padding:8px 8px;border-radius:4px}
.cw__row:nth-child(even){background:#f8f9fc}
.cw__row span:last-child{color:#55607a}
.cw__acts{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:12px}
.cw__acts span{border:1.5px solid #003ea4;border-radius:8px;padding:8px 4px;font-size:12px;font-weight:600;color:#003ea4}
.cw__close{margin-top:7px;border-radius:8px;padding:9px;font-size:13px;font-weight:600;color:#c92a2a;background:#fde8e8;border:1.5px solid #f3b4b4;transition:background .15s}
.cw__close.hot{background:#fbd5d5}
.cw__mis{display:block;margin-top:10px;font-size:12px;font-weight:600;color:#003ea4}

/* SafeToOpen: the findings toast (top right) */
.ct{position:absolute;right:16px;top:16px;width:340px;background:#fff;border-radius:14px;box-shadow:0 18px 44px rgba(15,24,39,.28),0 0 0 1px rgba(15,24,39,.06);overflow:hidden;z-index:11;opacity:0;transform:translateY(-14px);transition:opacity .35s,transform .45s cubic-bezier(.3,.8,.3,1)}
.ct.on{opacity:1;transform:none}
.ct__hd{display:flex;gap:10px;padding:14px 14px 10px}
.ct__hd svg{width:26px;height:22px;flex:none;margin-top:1px}
.ct__hd b{display:block;font-size:14.5px;color:#0f1827}
.ct__hd small{display:block;font-size:12.5px;color:#55607a;line-height:1.4}
.ct__list{max-height:0;overflow:hidden;transition:max-height .7s ease}
.ct.open .ct__list{max-height:440px}
.ct__f{margin:0 12px 7px;border-radius:8px;padding:9px 11px;opacity:0;transform:translateY(6px);transition:opacity .35s,transform .35s}
.ct.open .ct__f{opacity:1;transform:none}
.ct.open .ct__f:nth-child(2){transition-delay:.15s}.ct.open .ct__f:nth-child(3){transition-delay:.3s}
.ct__f.r{background:#fde8e8}.ct__f.a{background:#fdf3e2}
.ct__f b{display:block;font-size:12.5px;line-height:1.35;color:#111}
.ct__f small{display:block;font-size:11.5px;line-height:1.4;color:#4c5568;margin-top:3px}
.ct__ft{display:flex;gap:7px;padding:4px 12px 12px}
.ct__ft span{border-radius:8px;padding:8px 12px;font-size:12px;font-weight:600}
.ct__ft .p{background:#003ea4;color:#fff}
.ct__ft .s{border:1px solid #d5dbe8;color:#0f1827}

/* closed tab */
.cd__closed{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;background:#fff;opacity:0;transition:opacity .4s;z-index:12;color:#55607a;font-size:14px}
.cd__closed.on{opacity:1}
.cd__closed b{font-size:18px;color:#0f1827;font-weight:600}

/* pointer */
.cd__cur{position:absolute;width:22px;height:22px;left:70%;top:85%;z-index:20;opacity:0;transition:left .9s cubic-bezier(.3,.8,.3,1),top .9s cubic-bezier(.3,.8,.3,1),opacity .25s;pointer-events:none}
.cd__cur.on{opacity:1}
.cd__cur.click svg{animation:cdClick .3s ease}
@keyframes cdClick{50%{transform:scale(.8)}}

/* steps under the window */
.cd__steps{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:18px 0 0;padding:0;list-style:none}
.cd__steps li{padding:10px 12px;border-radius:8px;font-size:13.5px;line-height:1.45;color:#8a93a8;transition:color .3s,background .3s}
.cd__steps li b{display:block;font-size:14px;color:inherit;font-weight:600}
.cd__steps li.on{color:#55607a;background:#eef2fb}
.cd__steps li.on b{color:#0f1827}

@media (max-width:760px){
  .cd__page{height:540px}
  .cd__tab{max-width:150px}
  .cd__nav{display:none}
  .cs-mail .box{width:auto;margin:0 16px;padding:26px 22px}
  .cs-social{grid-template-columns:1fr;padding:24px 18px;gap:16px;align-content:start}
  .cs-social .cs-brand{font-size:28px}.cs-social .cs-tagline{font-size:15px}
  .cw{width:calc(100% - 28px)}
  .ct{left:12px;right:12px;width:auto}
  .cd__steps{grid-template-columns:1fr;gap:8px}
}
@media (prefers-reduced-motion:reduce){.cd *{animation:none!important;transition:none!important}}

/* the original brands: a Microsoft look-alike and Facebook on github.io (their own logos and colours) */
.cd__fav.fav-ms{background:linear-gradient(90deg,#f25022 0 46%,transparent 46% 54%,#7fba00 54%) top/100% 46% no-repeat,linear-gradient(90deg,#00a4ef 0 46%,transparent 46% 54%,#ffb900 54%) bottom/100% 46% no-repeat!important;border-radius:0!important}
.cd__fav.fav-fb{background:#1877f2!important;border-radius:50%!important}
.cs-ms{display:flex;align-items:center;justify-content:center;height:100%;background:#f2f2f2}
.cs-ms .box{width:440px;background:#fff;box-shadow:0 2px 6px rgba(0,0,0,.2);padding:44px 44px 36px;font-family:"Segoe UI","Segoe UI Web",-apple-system,sans-serif}
.ms-logo{display:flex;align-items:center;gap:8px;font-size:17px;font-weight:600;color:#5e5e5e;margin-bottom:16px}
.ms-sq{display:grid;grid-template-columns:10px 10px;gap:2px}
.ms-sq i{display:block;width:10px;height:10px}
.cs-ms h4{margin:0 0 14px;font-size:24px;font-weight:600;color:#1b1b1b}
.cs-fld.ms-fld{border:0;border-radius:4px;background:#f3f4f6;padding:0 10px}
.cs-fld.ms-fld.focus{box-shadow:0 0 0 1.5px #0067b8}
.ms-row{font-size:13px;color:#1b1b1b;margin-top:12px}
.ms-row em{font-style:normal;color:#0067b8}
.ms-act{display:flex;justify-content:flex-end;margin-top:24px}
.ms-next{background:#0067b8;color:#fff;font-size:14px;padding:8px 34px;min-width:108px;text-align:center}
.fb-logo{font-family:Helvetica,Arial,sans-serif;font-size:52px;font-weight:700;letter-spacing:-.04em!important;color:#1877f2;margin-bottom:6px}
.cs-social .box .cs-btn{font-size:17px;font-weight:700}
.fb-sep{height:1px;background:#dadde1;margin:16px 0}
.fb-create{width:max-content;margin:0 auto;padding:9px 16px;border-radius:6px;background:#42b72a;color:#fff;font-weight:700;font-size:14px}
@media (max-width:760px){.cs-ms .box{width:auto;margin:0 14px;padding:30px 24px}.fb-logo{font-size:36px}}

/* SafeToOpen's "analysis progress" ribbon (alerts.css .SafeToOpen_analysis_progress): a 3px brand-blue bar across the
   top of the page with two sweeping stripes, shown while the page is being checked */
.cd__scan{position:absolute;left:0;right:0;top:0;height:3px;background:rgba(0,62,165,.18);overflow:hidden;z-index:13;opacity:0;transition:opacity .2s ease-out;pointer-events:none}
.cd__scan.on{opacity:1}
.cd__scan::before,.cd__scan::after{content:"";position:absolute;top:0;height:100%;background:#003ea5;box-shadow:0 0 6px rgba(0,62,165,.7),0 0 3px rgba(0,62,165,.9);border-radius:1.5px}
.cd__scan.on::before{animation:cdStripe1 2.2s cubic-bezier(.65,.815,.735,.395) infinite}
.cd__scan.on::after{animation:cdStripe2 2.2s cubic-bezier(.165,.84,.44,1) 1.1s infinite}
@keyframes cdStripe1{0%{left:-35%;width:35%}60%{left:100%;width:90%}100%{left:100%;width:10%}}
@keyframes cdStripe2{0%{left:-100%;width:100%}60%{left:107%;width:10%}100%{left:107%;width:10%}}
/* catch-demo.v3.css (18 Nov 2026): no progress bars */
.cd__prog,.cd__scan{display:none!important}
