/* es-tour.v2.css (20 Nov 2026): es-tour.v1.css (Email Security page tours) plus two things for the Business and
   Families pages: .evt--four (four items, Business "Watch the protection work") sits 2 x 2 on phones instead of one
   tight row; .evt--in (a tour inside another section's tab or column) gets a little air above the Outlook | Gmail switch.
   The Email Security product page keeps es-tour.v1.css. 8px corners, soft shadows, no edge lines, no icon tiles.
   Behaviour: es-tour.v2.js (without it: the markup's app and first item). */
.evt{max-width:1080px;margin:0 auto}
.evt__top{display:flex;justify-content:center;margin:0 0 clamp(22px,3vw,34px)}

/* Outlook | Gmail switch */
.esx-switch{position:relative;display:inline-grid;grid-template-columns:1fr 1fr;padding:4px;border-radius:10px;background:#eef0fb;isolation:isolate}
.esx-switch__b{position:relative;z-index:1;min-width:112px;min-height:40px;padding:8px 18px;border:0;border-radius:7px;background:none;font:inherit;font-size:.95rem;font-weight:600;color:var(--mut,#55607a);cursor:pointer;transition:color .2s ease}
.esx-switch__b[aria-pressed="true"]{color:var(--ink,#0f1827)}
.esx-switch__b:focus-visible,.evt__tab:focus-visible{outline:2px solid #3b6fd8;outline-offset:2px}
.esx-switch__thumb{position:absolute;z-index:0;top:4px;bottom:4px;left:4px;width:calc(50% - 4px);border-radius:7px;background:#fff;box-shadow:0 1px 2px rgba(15,24,39,.08),0 4px 12px rgba(15,24,39,.10);transition:transform .25s cubic-bezier(.2,.7,.2,1)}
.evt[data-client="gmail"] .esx-switch__thumb{transform:translateX(100%)}
[dir="rtl"] .esx-switch__thumb{left:auto;right:4px}
[dir="rtl"] .evt[data-client="gmail"] .esx-switch__thumb{transform:translateX(-100%)}

/* list + stage */
.evt__body{display:grid;grid-template-columns:minmax(0,390px) minmax(0,1fr);gap:clamp(28px,4.5vw,64px);align-items:center}
.evt__side{min-width:0}
.evt__list{display:flex;flex-direction:column;gap:6px}
.evt__tab{display:flex;flex-direction:column;align-items:flex-start;gap:6px;width:100%;padding:18px 20px;border:0;border-radius:8px;background:transparent;font:inherit;text-align:start;cursor:pointer;transition:background .2s ease,box-shadow .2s ease}
.evt__tab:hover{background:#f4f5fb}
.evt__tab[aria-selected="true"]{background:#fff;box-shadow:0 1px 2px rgba(15,24,39,.05),0 10px 28px rgba(15,24,39,.09)}
.evt__word{font-weight:700;font-size:1.08rem;line-height:1.3;color:var(--ink,#0f1827)}
.evt__word--bad{color:#b42318}
.evt__word--warn{color:#9a4d00}
.evt__word--ok{color:#11734b}
.evt__line{font-size:.95rem;line-height:1.55;color:var(--mut,#55607a)}
.evt__desc{display:none}
.evt__note{margin:16px 20px 0;font-size:.85rem;line-height:1.5;color:var(--faint,#8697aa)}
.evt[data-client="outlook"] .evt__note [data-c="gmail"],.evt[data-client="gmail"] .evt__note [data-c="outlook"]{display:none}

.evt__stage{position:relative;height:700px;padding:36px 28px;border-radius:8px;overflow:hidden;display:flex;align-items:center;justify-content:center;
  background:linear-gradient(160deg,#e8ecfb 0%,#f2f4fc 55%,#fafbfe 100%)}
.evt--adv .evt__stage{height:700px}
.evt__shot{display:none;max-height:100%;overflow:hidden;border-radius:8px;background:#fff;
  box-shadow:0 2px 4px rgba(15,24,39,.06),0 20px 44px rgba(15,24,39,.14)}
.evt__shot.is-on{display:block;animation:evtIn .35s ease both}
.evt__shot--tall{align-self:flex-start;
  -webkit-mask-image:linear-gradient(to bottom,#000 calc(100% - 110px),transparent);mask-image:linear-gradient(to bottom,#000 calc(100% - 110px),transparent)}
.evt__shot img{display:block;width:100%;height:auto}
.evt__shot--ol{width:320px}
.evt__shot--gs{width:300px}
.evt__shot--oa{width:360px}
.evt__shot--ga{width:400px}
@keyframes evtIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.evt__shot.is-on{animation:none}.esx-switch__thumb,.esx-switch__b,.evt__tab{transition:none}}

/* phones and small tablets: switch, then the items as a compact row, the selected line, then the screenshot */
@media (max-width:860px){
  .evt__body{grid-template-columns:1fr;gap:18px}
  .evt__list{flex-direction:row;gap:4px;padding:4px;border-radius:10px;background:#f1f3fa}
  .evt__tab{flex:1 1 0;align-items:center;justify-content:center;padding:10px 6px;text-align:center}
  .evt__tab[aria-selected="true"]{box-shadow:0 1px 2px rgba(15,24,39,.08),0 4px 12px rgba(15,24,39,.10)}
  .evt__tab .evt__line{display:none}
  .evt__word{font-size:.98rem}
  .evt--adv .evt__word{font-size:.9rem}
  .evt__desc{display:block;margin:14px 4px 0;font-size:.95rem;line-height:1.55;color:var(--mut,#55607a);text-align:center}
  .evt__desc[hidden]{display:none}
  .evt__note{margin:10px 0 0;text-align:center}
  .evt__stage,.evt--adv .evt__stage{height:540px;padding:26px 16px}
  .evt__shot--ol,.evt__shot--oa{width:min(320px,100%)}
  .evt__shot--gs{width:min(290px,100%)}
  .evt__shot--ga{width:min(340px,100%)}
}

/* v2 additions */
.evt--in{margin-top:clamp(8px,1.5vw,16px)}
@media (max-width:860px){
  .evt--four .evt__list{flex-wrap:wrap}
  .evt--four .evt__tab{flex:1 1 calc(50% - 4px);min-height:44px}
  .evt--four .evt__word{font-size:.92rem}
}
