/* Styles added after the move from the artifacts. Loaded on every page, after the page's own stylesheet. */

/* The logo: drawn on the same grid as the text it replaced (2.05em wide, 1.26em tall, same baseline), so nothing around it moves. The box is 0.05em wider than that, pulled back by the margin, because the "s" reaches past the text width and a narrower box cuts it off. */
/* The viewBox inside logo.njk carries a small vertical correction; see tools/make-brand.js. */
.logo-svg{display:inline-block;width:2.1em;margin-right:-.05em;height:1.26em;vertical-align:-.222em;overflow:visible}

/* Customers page: links such as /customers/#customers-education land on the "All customer stories" list, just below the sticky menu. */
.cu-lib{position:relative}
.cu-lib .cu-anc{top:-96px}

/* Podcast, webinar and essay pages (the pages brought over from the old site). They reuse the blog post column and the Insights Hub cards. */
.ep-video{margin-top:28px}
.ep-play{position:relative;display:block;width:100%;aspect-ratio:16/9;border:0;padding:0;border-radius:20px;overflow:hidden;cursor:pointer;background:#0E1726}
.ep-play img{width:100%;height:100%;object-fit:cover;display:block}
.ep-play .xh-pl{right:auto;bottom:auto;left:50%;top:50%;transform:translate(-50%,-50%);width:72px;height:72px;transition:transform .2s}
.ep-play .xh-pl svg{width:30px;height:30px}
.ep-play:hover .xh-pl{transform:translate(-50%,-50%) scale(1.08)}
.ep-play:focus-visible{outline:3px solid var(--c);outline-offset:3px}
.ep-video iframe{display:block;width:100%;aspect-ratio:16/9;border:0;border-radius:20px}
.ep-listen{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:24px;color:var(--muted);font-size:.92rem}
.ep-people{display:grid;gap:16px;margin-top:18px}
.bl-post .xh-ho p{font-size:.95rem;line-height:1.6;margin-top:10px}
.bl-post .xh-ho h3{margin-top:0}
.ep-back{margin-top:36px}
.bl-post .ep-back a{color:var(--ink);font-weight:600;text-decoration:none;font-size:.95rem}
.bl-post h3{font-size:1.15rem;margin-top:28px}
.bl-post figure{margin:28px 0 0}
.bl-post figure img{display:block;width:100%;height:auto;border-radius:16px}
.bl-post figcaption{margin-top:10px;font-size:.86rem;line-height:1.5;color:var(--muted)}
.bl-table{margin-top:24px;overflow-x:auto;border:1px solid var(--line);border-radius:16px}
.bl-table table{width:100%;border-collapse:collapse;font-size:.92rem;line-height:1.5}
.bl-table th,.bl-table td{padding:12px 14px;text-align:left;vertical-align:top;border-bottom:1px solid var(--line)}
.bl-table th{font-family:var(--display);background:var(--surface)}
.bl-table tr:last-child td{border-bottom:0}

/* About page: larger portraits than the Insights Hub host cards */
#p-about .xh-hav{width:132px;height:132px}
/* Blog index: essay cards use the essay's first picture */
.bl-art img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}

/* Cookie banner: a small card in the bottom-left corner, with the radius and shadow of the form pop-ups and the site's own buttons. Its colours are the page's, swapped (ink as the surface, the page colour as the text, as the toast messages do), so it stands out: dark on a light page, light on a dark one. It sits above the page and below the form pop-ups. */
.ck{position:fixed;left:max(20px,env(safe-area-inset-left,0px));bottom:calc(20px + env(safe-area-inset-bottom,0px));z-index:1000;width:min(400px,calc(100vw - 32px));background:var(--ink);color:var(--bg);border:1px solid var(--ink);border-radius:20px;padding:20px 22px;box-shadow:0 24px 60px -20px rgba(10,15,24,.55);font-family:var(--body);animation:ckUp .25s cubic-bezier(.2,.8,.2,1)}
#ck h3{color:var(--bg);font-family:var(--display);font-size:1.05rem;line-height:1.3;letter-spacing:-.01em;margin:0}
#ck p{margin:6px 0 0;font-size:.9rem;line-height:1.55;color:color-mix(in srgb,var(--bg) 78%,var(--ink));max-width:none}
#ck p a{color:var(--bg);text-underline-offset:3px}
.ck-b{display:flex;gap:8px;margin-top:16px}
.ck-b .btn{flex:1;justify-content:center;width:auto;margin:0;padding:10px 16px;font-size:.9rem}
#ck .btn.primary{background:var(--bg);color:var(--ink);border-color:var(--bg)}
#ck .btn.ghost{background:transparent;color:var(--bg);border-color:color-mix(in srgb,var(--bg) 35%,var(--ink))}
#ck .btn.ghost:hover{border-color:var(--bg)}
.ck-b .btn:focus-visible{outline:2px solid var(--bg);outline-offset:2px}
/* The entrance moves but does not fade: the site's contrast check runs while it plays and would recolour half-transparent text. */
@keyframes ckUp{from{transform:translateY(14px)}}
@media (max-width:560px){.ck{left:max(16px,env(safe-area-inset-left,0px));right:max(16px,env(safe-area-inset-right,0px));width:auto;bottom:calc(12px + env(safe-area-inset-bottom,0px))}}
@media (prefers-reduced-motion:reduce){.ck{animation:none}}
/* "Cookie settings" in the footer's last row reads like the links beside it. */
.legal .ck-open{font:inherit;color:inherit;background:none;border:0;padding:0;cursor:pointer}
.legal .ck-open:hover{text-decoration:underline;text-underline-offset:3px}

/* Book a demo: the line under the times, for visitors none of the times suit. */
.fl-alt{margin:16px 0 0;font-size:.88rem}
.fl-alt a{color:var(--ink);font-weight:600;text-underline-offset:3px}

/* Product video overlay, on every page. The 4:5 version is sized by height; the 16:10 one ("wide") by width. */
.ov{position:fixed;inset:0;z-index:90;display:grid;place-items:center;padding:24px;background:rgba(10,15,24,.72);backdrop-filter:blur(6px);animation:ovIn .2s ease-out}
.ov[hidden]{display:none}
.ov-wrap{position:relative}
.ov-box{position:relative;height:min(82vh,720px);aspect-ratio:4/5;max-width:100%;border-radius:20px;overflow:hidden;background:#F5F6F8;box-shadow:0 40px 80px -30px rgba(0,0,0,.6)}
.ov-box.wide{height:auto;aspect-ratio:16/10;width:min(1180px,calc(100vw - 160px),calc(82vh * 1.6))}
.ov-box video{width:100%;height:100%;display:block;object-fit:contain;background:#F5F6F8}
.ov-x{position:absolute;top:-4px;right:-52px;width:40px;height:40px;border-radius:50%;border:0;background:#fff;color:#0E1726;font-size:1.3rem;cursor:pointer;display:grid;place-items:center}
@keyframes ovIn{from{opacity:0}}
@media (max-width:700px){.ov-box{height:auto;width:100%}.ov-x{top:-52px;right:0}}
@media (prefers-reduced-motion:reduce){.ov{animation:none}}
/* Home page: "Watch product video" above the headline, in the style of the "product tour" link under it. */
.hero .tour-link.hero-video{margin:0 0 11px}

/* Home page product video: the cover, then the video in its place. Same corners and shadow as the product mock-ups. */
/* Equal space above and below: the stories section ends with 96px (72px under 900px wide), so the video has no padding of its own and the section after it starts with the same 96px or 72px. */
.pv-sec{padding-block:0}
.pv-sec + section{padding-top:96px}
@media (max-width:900px){.pv-sec + section{padding-top:72px}}
.pv-play,.pv-video{display:block;width:100%;aspect-ratio:16/10;border-radius:24px;overflow:hidden;background:#F5F6F8;box-shadow:0 30px 70px -40px rgba(14,23,38,.45)}
.pv-play{position:relative;border:1px solid var(--line);padding:0;cursor:pointer}
.pv-play picture,.pv-play img{display:block;width:100%;height:100%;object-fit:cover}
.pv-pl{position:absolute;left:50%;top:50%;width:84px;height:84px;margin:-42px 0 0 -42px;border-radius:50%;background:#0E1726;color:#fff;display:grid;place-items:center;box-shadow:0 16px 36px -12px rgba(14,23,38,.6);transition:transform .2s}
.pv-pl svg{width:34px;height:34px;margin-left:4px}
.pv-play:hover .pv-pl{transform:scale(1.08)}
.pv-play:focus-visible{outline:3px solid #7C5CFF;outline-offset:4px}
@media (max-width:760px){.pv-play,.pv-video{aspect-ratio:4/5;border-radius:18px}.pv-pl{width:68px;height:68px;margin:-34px 0 0 -34px}.pv-pl svg{width:28px;height:28px}}
@media (prefers-reduced-motion:reduce){.pv-pl{transition:none}}
