/* Diwan page · hero picture: the web app open on one meeting, its transcript and an Ask answer laid over it,
   bleeding off the page edge and fading out at the foot (after the ClickUp boards hero).
   The stage is drawn at 960 x 660 and scaled by dhero.js (--k). Product chrome stays English and left-to-right. */
.phero.comp .grid{grid-template-columns:11fr 13fr;gap:clamp(32px,4vw,64px);align-items:center}
.phero.comp h1{font-size:clamp(36px,3.7vw,54px)}
.phero.comp .grid>.rv{position:relative;z-index:1}
.dh{--bleed:calc((100vw - min(100vw, var(--max)))/2 + var(--gutter));position:relative;margin-inline-end:calc(-1*var(--bleed));height:calc(640px*var(--k,.8));}
.dh .dh-clip{-webkit-mask-image:linear-gradient(to bottom,#000 78%,transparent 100%);mask-image:linear-gradient(to bottom,#000 78%,transparent 100%)}
.dh-clip{position:absolute;inset:-40px 0 0 -40px;overflow:hidden}
.dh-stage{position:absolute;left:40px;top:40px;width:960px;height:660px;transform:scale(var(--k,.8));transform-origin:0 0;direction:ltr;text-align:left;
  --p:#3F51B5;--pc:#DEE0FF;--onpc:#11186B;--g:#146C2E;--gc:#C4EED0;--ai:linear-gradient(90deg,#9B6CF0,#6F8CFF 50%,#22D3EE);
  --t1:#1B1B21;--t2:#46464F;--t3:#777680;--well:#F1F1F6;--side:#F7F7FB;--ln:rgba(27,27,33,.08);--ln2:rgba(27,27,33,.06);
  font:400 13px/1.4 'Archivo',system-ui,sans-serif;color:var(--t1);font-variant-numeric:tabular-nums;-webkit-font-smoothing:antialiased}
html[dir=rtl] .dh-stage{left:auto;right:40px;transform-origin:100% 0}
html[dir=rtl] .dh-clip{inset:-40px -40px 0 0}
.dh .ms{font-family:'Material Symbols Outlined';font-weight:400;font-style:normal;font-size:18px;line-height:1;letter-spacing:normal;text-transform:none;white-space:nowrap;direction:ltr;
  font-feature-settings:'liga';font-variation-settings:'FILL' 0,'wght' 400,'GRAD' 0,'opsz' 20;display:inline-flex;align-items:center;justify-content:center;flex:none;width:1em;overflow:hidden;color:var(--t2)}
.dh .ms.f{font-variation-settings:'FILL' 1,'wght' 400,'GRAD' 0,'opsz' 20}
.dh .ms.s{font-size:15px}
.dh b{font-weight:500}
/* the app window */

.dh-sp{flex:1}
.dh-av{display:inline-grid;place-items:center;border-radius:50%;font-weight:500;flex:none;width:28px;height:28px;font-size:11px}
.dh-av.mona{background:#f3daff;color:#5b1c7a}.dh-av.omar{background:#dee0ff;color:#26338f}.dh-av.sara{background:#ffdbcb;color:#7a2e00}.dh-av.you{background:#c4eed0;color:#0b4d1f}
.dh-av.sm{width:22px;height:22px;font-size:9px}
.dh-pile{display:inline-flex}.dh-pile .dh-av{box-shadow:0 0 0 2px #fff}.dh-pile .dh-av+.dh-av{margin-left:-6px}
.dh-ri{display:grid;justify-items:center;gap:4px;padding:6px 0;font-size:10.5px;color:var(--t2);position:relative}
.dh-ri i{display:grid;place-items:center;width:40px;height:28px;border-radius:14px}
.dh-ri.on i{background:var(--pc)} .dh-ri.on .ms{color:var(--onpc)} .dh-ri.on{color:var(--t1);font-weight:500}
.dh-ri img{width:18px;height:18px}
.dh-badge{position:absolute;left:calc(50% + 4px);top:4px;min-width:16px;height:16px;padding:0 4px;border-radius:8px;background:#BA1A1A;color:#fff;font-size:10px;line-height:16px;text-align:center;font-weight:500}
/* overlay: the meeting's report */

.dh-oh{display:flex;align-items:center;gap:8px;height:42px;padding:0 14px;border-bottom:1px solid var(--ln2);font-size:12.5px;color:var(--t2)}
.dh-oh .ms{color:var(--p)}
.dh-oh .dh-sp+span{color:var(--t3);font-size:11.5px}
.dh-sh{font-size:12px;font-weight:500;color:var(--t3);margin-top:2px}
.dh-ai{display:grid;border-radius:10px;box-shadow:inset 0 0 0 1px var(--ln)}
.dh-air{display:flex;align-items:center;gap:10px;height:40px;padding:0 12px;font-size:13px}
.dh-air+.dh-air{border-top:1px solid var(--ln2)}
.dh-box{width:16px;height:16px;border-radius:4px;box-shadow:inset 0 0 0 1.5px #C9C9D4;flex:none}
.dh-air .dh-av{margin-left:auto}
.dh-due{font-size:11.5px;color:var(--t3);width:34px;text-align:right}

/* overlay: an Ask Diwan AI answer, done */
.dh-ask{position:absolute;left:690px;top:110px;width:330px;background:#fff;border-radius:14px;
  box-shadow:0 0 0 1px rgba(27,27,33,.08),0 28px 56px -18px rgba(40,44,80,.3),0 6px 16px -6px rgba(40,44,80,.1)}
.dh-ask .dh-oh img{width:18px;height:18px}
.dh-ask .dh-oh b{color:var(--t1)}
.dh-ab{padding:14px 14px 16px;display:grid;gap:10px}
.dh-q{justify-self:end;max-width:240px;padding:9px 12px;border-radius:14px 14px 4px 14px;background:var(--well);font-size:12.5px;line-height:18px;color:var(--t1)}
.dh-ak{display:flex;align-items:center;gap:6px;font-size:11.5px;color:var(--t3)}
.dh-ak img{width:15px;height:15px}
.dh-a{margin:0;font-size:14px;line-height:20px;font-weight:500;color:var(--t1)}
.dh-li{display:grid;gap:6px;padding-left:12px;position:relative;font-size:12.5px;line-height:18px;color:var(--t2)}
.dh-li::before{content:"";position:absolute;left:2px;top:7px;width:4px;height:4px;border-radius:50%;background:var(--p)}
.dh-src{justify-self:start;display:inline-flex;align-items:center;gap:5px;height:24px;padding:0 8px 0 6px;border-radius:7px;background:var(--pc);color:var(--onpc);font-size:11.5px}
.dh-src .ms{color:var(--onpc);font-size:15px}
.dh-src em{font-style:normal;opacity:.75}
/* the overlays rise in once the picture is on screen */
.dh .dh-ask{transition:opacity .7s cubic-bezier(.25,.8,.25,1),transform .9s cubic-bezier(.25,.8,.25,1)}
.dh:not(.in) .dh-ask{opacity:0;transform:translateY(24px)}
.dh.in .dh-ask{transition-delay:.25s}

@media (max-width:820px){
  .phero.comp .grid{grid-template-columns:1fr}
  .dh{height:calc(600px*var(--k,.5))}
}
/* phones: closer in, the rail slides off the edge so the meeting page and the cards read */
@media (max-width:600px){
  .dh-stage{left:calc(40px - 70px*var(--k,.6))}
  html[dir=rtl] .dh-stage{left:auto;right:calc(40px - 70px*var(--k,.6))}
}
@media (prefers-reduced-motion:reduce){
  .dh .dh-ask{transition:none;opacity:1!important;transform:none}
}

/* ===== only what the product has: the web app open on one meeting ===== */
.dh{height:calc(720px*var(--k,.8))}
.dhb{height:760px}
.dhb .b-win{position:absolute;left:0;top:0;width:860px;height:760px;background:#fff;border-radius:14px;overflow:hidden;display:grid;grid-template-columns:76px 1fr;
  box-shadow:0 0 0 1px rgba(27,27,33,.07),0 18px 48px -12px rgba(40,44,80,.16),0 4px 12px -4px rgba(40,44,80,.06)}
.dhb .b-rail{background:var(--side);border-right:1px solid var(--ln2);display:grid;align-content:start;justify-items:center;gap:2px;padding:14px 0}
.dhb .b-logo{width:30px;height:30px;margin-bottom:14px}
.dhb .b-rail .dh-ri{width:68px}
.dhb .b-div{width:36px;height:1px;background:var(--ln);margin:8px 0}
.dhb .b-tag .ms{font-size:16px}
.dhb .b-tag.biz .ms{color:#9B6CF0}.dhb .b-tag.prod .ms{color:#2E9E5B}
.dhb .b-main{min-width:0;display:flex;flex-direction:column}
.dhb .b-top{display:flex;align-items:center;gap:10px;height:56px;padding:0 18px}
.dhb .b-link{display:flex;align-items:center;gap:8px;width:420px;height:36px;padding:0 6px 0 12px;border-radius:18px;background:var(--well);color:var(--t3);font-size:12.5px}
.dhb .b-qj{margin-left:auto;display:inline-flex;align-items:center;gap:5px;height:26px;padding:0 10px;border-radius:13px;background:#fff;color:var(--t2);font-size:11.5px;box-shadow:0 0 0 1px var(--ln)}
.dhb .b-gen{display:inline-flex;align-items:center;gap:6px;height:36px;padding:0 14px 0 10px;border-radius:18px;background:var(--pc);color:var(--onpc);font-size:12.5px;font-weight:500}
.dhb .b-gen .ms{color:var(--onpc)}
.dhb .b-page{flex:1;margin:0 12px;border-radius:14px 14px 0 0;box-shadow:inset 0 0 0 1px var(--ln2);display:flex;flex-direction:column;min-height:0}
.dhb .b-head{padding:14px 22px 0;display:grid;gap:8px}
.dhb .b-crumb{display:flex;align-items:center;gap:6px;font-size:12px;color:var(--t3)}
.dhb .b-crumb .ms{font-size:16px;color:var(--t3)}
.dhb .b-title{display:flex;align-items:center;gap:10px}
.dhb .b-title b{font-size:20px;letter-spacing:-.01em}
.dhb .b-chip{display:inline-flex;align-items:center;gap:4px;height:24px;padding:0 9px 0 7px;border-radius:8px;background:#F3EDFF;color:#5B3AA8;font-size:11.5px;font-weight:500}
.dhb .b-chip .ms{font-size:14px;color:#9B6CF0}
.dhb .b-meta{display:flex;align-items:center;gap:14px;font-size:12px;color:var(--t2)}
.dhb .b-meta span{display:inline-flex;align-items:center;gap:5px}
.dhb .b-meta .ms{font-size:15px;color:var(--t3)}
.dhb .b-tabs{display:flex;gap:22px;height:40px;align-items:flex-end;padding:0 22px;margin-top:6px;border-bottom:1px solid var(--ln2);font-size:13px;color:var(--t2)}
.dhb .b-tabs span{position:relative;height:36px;display:inline-flex;align-items:center}
.dhb .b-tabs .on{color:var(--t1);font-weight:500}
.dhb .b-tabs .on::after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:2px;border-radius:2px 2px 0 0;background:var(--p)}
.dhb .b-split{flex:1;display:grid;grid-template-columns:470px 1fr;min-height:0}
.dhb .b-side{visibility:hidden}
.dhb .b-sum{padding:16px 22px;display:grid;gap:12px;align-content:start}
.dhb .b-tpl{justify-self:start;display:inline-flex;align-items:center;gap:6px;height:28px;padding:0 10px;border-radius:14px;box-shadow:inset 0 0 0 1px #D9D9E2;font-size:11.5px;color:var(--t3)}
.dhb .b-tpl b{color:var(--t1);font-weight:500}
.dhb .b-tpl .ms{font-size:15px;color:var(--t3)}
.dhb .b-sum p{margin:0;font-size:13.5px;line-height:21px;color:var(--t1)}
.dhb .b-sh{font-size:12px;font-weight:500;color:var(--t3);margin-top:2px}
.dhb .b-dec{display:grid;gap:7px}
.dhb .b-dec div{display:flex;gap:8px;font-size:13px;line-height:19px;color:var(--t1)}
.dhb .b-dec .ms{font-size:16px;color:var(--g)}
.dhb .b-dec em{font-style:normal;margin-left:auto;font-size:11.5px;color:var(--p);white-space:nowrap}
.dhb .b-side{padding:16px 16px 0 0;display:grid;gap:10px;align-content:start}
.dhb .b-video{position:relative;height:150px;border-radius:12px;background:#2B2D38;overflow:hidden}
.dhb .b-screen{position:absolute;left:14px;top:14px;bottom:14px;width:150px;border-radius:6px;background:#fff;padding:10px;display:grid;gap:6px;align-content:start}
.dhb .b-screen i{display:block;height:6px;border-radius:3px;background:#E4E4EB}
.dhb .b-screen i:first-child{width:60%;height:8px;background:#C9CDFA}
.dhb .b-pip{position:absolute;right:10px;top:10px;width:58px;height:44px;border-radius:8px;background:#3A3D4C;display:grid;place-items:center}
.dhb .b-pip .dh-av{width:24px;height:24px}
.dhb .b-play{position:absolute;right:14px;bottom:12px;width:34px;height:34px;border-radius:50%;background:var(--p);display:grid;place-items:center;box-shadow:0 6px 16px -6px rgba(63,81,181,.6)}
.dhb .b-play .ms{color:#fff}
.dhb .b-pills{display:flex;gap:4px}
.dhb .b-pills span{height:26px;padding:0 10px;border-radius:13px;font-size:11.5px;display:inline-flex;align-items:center;color:var(--t2)}
.dhb .b-pills .on{background:var(--pc);color:var(--onpc)}
.dhb .b-times{display:flex;justify-content:space-between;font-size:11px;color:var(--t1)}
.dhb .b-times span+span{color:var(--t3)}
.dhb .b-trk{position:relative;height:4px;border-radius:2px;background:#E4E4EB}
.dhb .b-trk i{position:absolute;left:0;top:0;bottom:0;width:16%;border-radius:2px;background:var(--p)}
.dhb .b-trk b{position:absolute;left:16%;top:50%;width:12px;height:12px;margin:-6px 0 0 -6px;border-radius:50%;background:var(--p);box-shadow:0 0 0 3px rgba(63,81,181,.18)}
.dhb .b-trk u{position:absolute;top:-3px;width:2px;height:10px;border-radius:1px;background:#fff;box-shadow:0 0 0 1px #C9C9D4}
.dhb .b-spk{display:grid;gap:9px;padding-top:6px}
.dhb .b-spk div{display:flex;align-items:center;gap:8px}
.dhb .b-spk s{position:relative;flex:1;height:6px;border-radius:3px;background:#EDEDF2;text-decoration:none}
.dhb .b-spk s i{position:absolute;top:0;height:100%;border-radius:3px}
.dhb .b-spk .mo i{background:#D6A8F0}.dhb .b-spk .om i{background:#A9B3F2}.dhb .b-spk .sa i{background:#F5B48F}

/* where the picture is cut on the text side (Arabic, and phones), the cut edge fades instead of slicing words */
html[dir=rtl] .dh .dh-clip{-webkit-mask-image:linear-gradient(to bottom,#000 78%,transparent 100%),linear-gradient(to right,transparent 0,#000 14%);mask-image:linear-gradient(to bottom,#000 78%,transparent 100%),linear-gradient(to right,transparent 0,#000 14%);-webkit-mask-composite:source-in;mask-composite:intersect}
@media (max-width:600px){.dh .dh-clip{-webkit-mask-image:linear-gradient(to bottom,#000 78%,transparent 100%),linear-gradient(to right,transparent 0,#000 12%);mask-image:linear-gradient(to bottom,#000 78%,transparent 100%),linear-gradient(to right,transparent 0,#000 12%);-webkit-mask-composite:source-in;mask-composite:intersect}html[dir=rtl] .dh .dh-clip{-webkit-mask-image:linear-gradient(to bottom,#000 78%,transparent 100%),linear-gradient(to left,transparent 0,#000 12%);mask-image:linear-gradient(to bottom,#000 78%,transparent 100%),linear-gradient(to left,transparent 0,#000 12%)}
}
/* its transcript and an Ask Diwan AI answer laid over it */
.dhb .b-win{width:980px}
.dhb .b-tx{position:absolute;left:66px;top:452px;width:450px;background:#fff;border-radius:14px;
  box-shadow:0 0 0 1px rgba(63,81,181,.22),0 28px 56px -18px rgba(40,44,80,.32),0 6px 16px -6px rgba(40,44,80,.12)}
.dhb .b-tx .dh-oh .ms{color:var(--p)}
.dhb .tx-play{display:flex;align-items:center;gap:10px;padding:12px 16px 4px}
.dhb .tx-pp{width:28px;height:28px;border-radius:50%;background:var(--p);display:grid;place-items:center;flex:none}
.dhb .tx-pp .ms{color:#fff;font-size:18px}
.dhb .tx-trk{position:relative;flex:1;height:4px;border-radius:2px;background:#E4E4EB}
.dhb .tx-trk i{position:absolute;left:0;top:0;bottom:0;width:16%;border-radius:2px;background:var(--p)}
.dhb .tx-trk b{position:absolute;left:16%;top:50%;width:12px;height:12px;margin:-6px 0 0 -6px;border-radius:50%;background:var(--p);box-shadow:0 0 0 3px rgba(63,81,181,.18)}
.dhb .tx-trk u{position:absolute;top:-3px;width:2px;height:10px;border-radius:1px;background:#fff;box-shadow:0 0 0 1px #C9C9D4}
.dhb .tx-tm{font-size:11.5px;color:var(--t3);white-space:nowrap}
.dhb .tx-tm b{color:var(--t1)}
.dhb .tx-seg{display:flex;gap:10px;padding:10px 16px}
.dhb .tx-seg.now{background:#F5F6FF}
.dhb .tx-seg .dh-av{margin-top:1px}
.dhb .tx-b{display:grid;gap:3px;min-width:0}
.dhb .tx-who{font-size:12px;font-weight:500;color:var(--t1);display:flex;gap:8px;align-items:baseline}
.dhb .tx-who em{font-style:normal;font-weight:400;font-size:11.5px;color:var(--t3)}
.dhb .tx-b p{margin:0;font-size:13px;line-height:20px;color:var(--t2)}
.dhb .tx-seg.now p{color:var(--t1)}
.dhb .tx-w{border-radius:3px;background:var(--pc);color:var(--onpc);box-shadow:0 0 0 2px var(--pc)}
.dhb .tx-foot{display:flex;align-items:center;gap:8px;padding:10px 16px 14px;border-top:1px solid var(--ln2);font-size:12px;color:var(--t3)}
.dhb .tx-dec{display:inline-flex;align-items:center;gap:5px;height:26px;padding:0 10px 0 8px;border-radius:8px;background:var(--gc);color:#0b4d1f;font-size:12px;font-weight:500}
.dhb .tx-dec .ms{color:#0b4d1f;font-size:15px}
.dhb .dh-ask{left:590px;top:136px}
.dh .b-tx{transition:opacity .7s cubic-bezier(.25,.8,.25,1),transform .9s cubic-bezier(.25,.8,.25,1)}
.dh:not(.in) .b-tx{opacity:0;transform:translateY(24px)}
@media (prefers-reduced-motion:reduce){.dh .b-tx{transition:none;opacity:1!important;transform:none}}
/* the meeting-link field stretches so Generate ends at the picture's visible edge */
.dhb .b-top{padding-right:196px}
.dhb .b-link{flex:1;width:auto}
.dhb .b-top>.dh-sp,.dhb .b-top>.dh-av{display:none}
/* attendee pile: three faces and a count, each face clear of the next */
.dh-av{font-weight:600;line-height:1}
.dh-av.mona{background:#EBD7FF;color:#5B1C7A}.dh-av.omar{background:#CDD2FF;color:#1F2A80}.dh-av.sara{background:#FFD3BF;color:#7A2E00}.dh-av.you{background:#BFEBCB;color:#0B4D1F}
.dh-av.sm{font-size:10px}
.dhb .b-meta .dh-pile{align-items:center}
.dhb .b-meta .dh-pile .dh-av{width:24px;height:24px;font-size:11px;box-shadow:0 0 0 2px #fff}
.dhb .b-meta .dh-pile .dh-av+.dh-av{margin-left:-6px}
.dhb .b-meta .dh-pile .more{background:#E4E4EB;color:var(--t2);font-size:10px;font-weight:500}
/* each face sits in front of the next, so every circle reads whole and its letter centred */
.dh-pile .dh-av{position:relative}
.dh-pile .dh-av:nth-child(1){z-index:4}.dh-pile .dh-av:nth-child(2){z-index:3}.dh-pile .dh-av:nth-child(3){z-index:2}.dh-pile .dh-av:nth-child(4){z-index:1}
.dhb .b-meta .dh-pile,.dhb .b-meta .dh-pile .dh-av{gap:0}
.dhb .b-meta .dh-pile .dh-av{display:inline-grid;place-items:center}
.dhb .b-meta .dh-pile .dh-av+.dh-av{margin-left:-4px}
.dhb .b-meta .dh-pile .dh-av.more{margin-left:4px;box-shadow:none}
