/* The site's header and footer around the React pages (book a demo, security, privacy, terms,
   data processing). site.css goes into a layer here: on those pages its bare element rules
   (h1, a, button, nav) have to sit under the app's utility classes, not over them. */
@layer theme, base, components, utilities;
@import url("site.css") layer(components);

/* the app sets overflow-x:hidden on body. Under the root's clip that makes body the scroll box, and the sticky header scrolls away with it. Clip keeps the viewport as the scroller. */
body:has(.ls-frame){overflow-x:clip}

.ls-site.ls-frame{
  display:flex;flex-direction:column;min-height:100vh;min-height:100svh;
  background:var(--ls-paper);color:var(--ls-ink);font-size:var(--step-0);line-height:1.5;
  --hl-ink:var(--ls-ink);--hl-sub:var(--ls-muted);--hl-line:var(--ls-line);--hl-bg:var(--ls-paper);
}
.ls-frame>main{flex:1 0 auto;width:100%}
.ls-frame-part{display:contents}
/* the page that books the demo ends on the links, not on another ask to book one */
.foot.foot-plain{padding-top:0}
.foot.foot-plain .cols{padding-top:64px}

/* ===== long documents: security, privacy, terms, data processing ===== */
.ls-doc{max-width:1240px;margin:0 auto;padding:28px 16px 96px}
.ls-doc-nav{display:flex;flex-wrap:wrap;column-gap:22px;font-size:15px;color:var(--ls-muted)}
.ls-doc-nav a{display:inline-flex;align-items:center;min-height:44px;transition:color .2s}
.ls-doc-nav a:hover{color:var(--ls-ink)}
.ls-doc-nav a[aria-current]{color:var(--ls-ink);font-weight:500}
.ls-doc h1{font-size:clamp(40px,4.6vw,66px);font-weight:500;letter-spacing:-.025em;line-height:1.04;margin-top:20px}
.ls-doc-date{color:var(--ls-muted);font-size:15px;margin-top:14px}
.ls-doc-intro{font-size:19px;line-height:1.5;max-width:58ch;margin-top:32px}
.ls-doc-body{display:flex;flex-direction:column;gap:44px;max-width:66ch;margin-top:48px}
.ls-doc-body section{display:flex;flex-direction:column;gap:14px}
.ls-doc-body h2{font-size:22px;font-weight:500;letter-spacing:-.015em;line-height:1.2;color:var(--ls-ink);position:relative;text-wrap:pretty}
.ls-doc-body h2 .n{color:var(--ls-muted);font-variant-numeric:tabular-nums;margin-right:12px}
.ls-doc-body p,.ls-doc-body li{font-size:17px;line-height:1.6;color:var(--ls-muted)}
.ls-doc-body ul{display:flex;flex-direction:column;gap:10px;list-style:disc;margin:0;padding-left:20px}
.ls-doc-body li::marker{color:#9FB0A4}
.ls-doc strong{color:var(--ls-ink);font-weight:500}
.ls-doc a:not(.ls-doc-nav a){color:var(--ls-ink);text-decoration:underline;text-decoration-color:#B4C2B6;text-decoration-thickness:1px;text-underline-offset:3px;transition:text-decoration-color .2s}
.ls-doc a:not(.ls-doc-nav a):hover{text-decoration-color:currentColor}
.ls-doc-note{font-size:15px;line-height:1.6;color:var(--ls-muted);max-width:66ch;margin-top:56px}
@media(min-width:1000px){
  .ls-doc{display:grid;grid-template-columns:200px minmax(0,1fr);column-gap:72px;padding:72px 32px 140px}
  .ls-doc-nav{flex-direction:column;align-self:start;position:sticky;top:108px;font-size:16px}
  .ls-doc-nav a{min-height:38px}
  .ls-doc h1{margin-top:0}
  .ls-doc-intro{font-size:21px;margin-top:36px}
  .ls-doc-body{gap:52px;margin-top:64px}
  .ls-doc-body h2{font-size:24px}
  .ls-doc-body h2 .n{position:absolute;right:100%;margin-right:18px}
}
