/* The desk pages (desk-build.mjs), on top of persona.css and usecase.css. Built on
   the brochure's tokens (--line, --bg-2, --surface, --violet-*, .btn); every rule
   is scoped to dk-. */
.dk-article{max-width:none}

/* ── the hero: words and buttons, then the screenshot at the page's full width ── */
.dk-head{max-width:820px;margin:0 0 30px}
.dk-head h1{font-size:clamp(36px,5vw,62px);line-height:1.03;letter-spacing:-.03em;margin:0 0 18px;text-wrap:balance}
.dk-head .pe-lede{margin-bottom:26px}
.dk-get{display:flex;flex-wrap:wrap;align-items:center;gap:10px 12px}
.dk-get .bl-dl{display:inline-grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.dk-get .btn{min-width:132px;text-decoration:none}
.dk-get .btn.pri{color:#fff}
.dk-account{background:transparent}
.dk-free{margin:14px 0 0;font-size:15px;color:var(--muted)}
.dk-free span{margin-left:6px;font-size:13px;color:var(--faint)}

.dk-hero{margin:0 0 64px}
.dk-hero a{display:block;border-radius:16px;overflow:hidden;border:1px solid var(--line);box-shadow:var(--shadow);background:#f7f7f8}
.dk-hero img{display:block;width:100%;height:auto}
.dk-hero a:hover{border-color:var(--violet-hi)}
.dk-hero figcaption,.dk-frame figcaption{margin:12px 2px 0;font-size:14px;line-height:1.55;color:var(--faint)}
.dk-frame figcaption a{color:var(--muted)}
.dk-frame figcaption .i{width:13px;height:13px;margin:0 4px -2px 2px}
.dk-size{white-space:nowrap}

/* ── sections ── */
.dk-sec{margin-bottom:64px}
.dk-wide{max-width:none}
.dk-intro{max-width:720px}

/* What is on the desk: one card per tile. */
.dk-items{list-style:none;margin:20px 0 0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.dk-items li{display:flex;flex-direction:column;align-items:flex-start;padding:16px 18px 14px;border:1px solid var(--line);border-radius:14px;background:var(--bg-2)}
.dk-items h3{font:600 17px/1.25 var(--f-display);letter-spacing:-.01em;margin:0 0 8px;color:var(--text)}
.dk-items p{font-size:14.5px!important;line-height:1.5!important;color:var(--muted)!important;margin:10px 0 0!important}
.dk-chip{display:inline-flex;align-items:center;gap:6px;padding:3px 10px 3px 8px;border-radius:999px;background:var(--violet-wash);color:var(--violet-ink);font-size:12.5px;font-weight:600;line-height:1.4;white-space:nowrap}
.dk-chip .i{width:13px;height:13px}
.dk-note{max-width:720px;margin-top:16px!important}
.dk-note a{color:var(--muted)!important}

/* The whole desk: a tall screenshot in a frame that scrolls. */
.dk-frame{margin:20px 0 0}
.dk-scroll{position:relative;max-height:min(78vh,880px);overflow-y:auto;overscroll-behavior:contain;border-radius:16px;border:1px solid var(--line);background:#f7f7f8;box-shadow:var(--shadow);scrollbar-gutter:stable}
.dk-scroll img{display:block;width:100%;height:auto}
.dk-scroll:focus-visible{outline:2px solid var(--violet-hi);outline-offset:3px}

/* Build this desk: a short numbered list, one work widget a line. */
.dk-steps{list-style:none;counter-reset:dk;margin:18px 0 0;padding:0;display:grid;gap:8px}
.dk-steps li{counter-increment:dk;position:relative;display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 10px;padding:12px 16px 12px 54px;border:1px solid var(--line-soft);border-radius:12px;background:var(--bg-2)}
.dk-steps li::before{content:counter(dk);position:absolute;left:14px;top:11px;width:26px;height:26px;border-radius:8px;display:grid;place-items:center;background:var(--violet-wash);color:var(--violet-ink);font-weight:600;font-size:14px}
.dk-steps p{flex:1 1 320px;margin:0!important;font-size:16px!important;line-height:1.55!important}
.dk-steps p a{white-space:nowrap}

/* The end call to action sits at the article's width; the small print under it. */
.dk-cta{margin-top:8px}
.dk-cta .bl-trial .i{width:15px;height:15px}
.dk-fine{max-width:720px;margin:40px 0 0;padding-top:22px;border-top:1px solid var(--line-soft)}
.dk-fine h2{font-size:13px;letter-spacing:.06em;text-transform:uppercase;color:var(--faint);margin:0 0 10px}
.dk-fine p{font-size:13.5px;line-height:1.6;color:var(--faint);margin:0 0 8px}

@media (max-width:1100px){.dk-items{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:560px){
  .dk-items{grid-template-columns:1fr}
  .dk-get{display:grid;grid-template-columns:1fr}
  .dk-get .bl-dl{display:grid}
  .dk-get .btn{min-width:0}
  .dk-free span{display:block;margin:4px 0 0}
  .dk-hero{margin-bottom:48px}
  .dk-hero a,.dk-scroll{border-radius:12px}
  .dk-scroll{max-height:70vh}
  .dk-steps li{padding:12px 14px 12px 48px}
  .dk-steps li::before{left:12px}
}

.dk-try{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;margin:0 0 14px}
.dk-try .btn{text-decoration:none;color:#fff}
.dk-try span{font-size:14px;color:var(--muted)}
.dk-try-end{margin:4px 0 18px}
